An operating system running on top of the Linux kernel, targeting mobile devices such as smartphones and tablets.

learn more… | top users | synonyms

22
votes
2answers
22k views

Booting native Arch Linux on an Android device

I have a Galaxy Note 10.1 (n8010) and I want to make it boot Arch Linux natively. I mean boot Arch Linux instead of android. All that I need is to alter the initramfs, which I can't find anywhere in ...
19
votes
3answers
17k views

How to run a command in the background with a delay?

Can somebody show me how to make a program to do this action: after 5 minutes echo "80" > /sys/class/leds/blue/brightness I want this program run in the background (like rngd service) I can't do ...
12
votes
4answers
12k views

why does sudo work on Linux but not Android?

I have not had the chance to read enough about Android, Linux, or UNIX to answer this myself. sudo works on a Linux machine but doesn't work on Android unless you root the mobile device (e.g. Samsung ...
11
votes
3answers
25k views

Ubuntu 12.04 hotspot wifi network not visible to Android 4.1.2

I'm running Ubuntu 12.04 LTS on my notebook, and I've got a Motorola Razr which I updated to Android 4.1.2. Before updating, I connected my smartphone to my hotspot wifi very quickly, but after the ...
10
votes
2answers
29k views

Where do installed RPMs go?

I download and install packages on my Red Hat Enterprise Linux Server 6 machine using YUM package manager in command-line mode. When I install apk files on my Android phone, they go to /data/app ...
10
votes
5answers
6k views

Note taking app that can sync both android and Linux

I've been looking high and low for an Evernote alternative for Linux. I know I can use Everpad or Evernote in WINE but they don't work natively. Any note-taking app would be fine as long as it can ...
9
votes
1answer
630 views

Use desktop as bluetooth headset

My desktop's speaker is much better than my phones, so I want to use my desktop speakers in place of my cellphone's. It is inconvenient for me to use USB or the audio jack, so I am left with Bluetooth....
8
votes
2answers
20k views

Sending function keys (F1-F12) over SSH

I have a Fedora machine that I can SSH to. One of the programs I'd like to use occasionally uses the function keys. The problem is that I'm SSH'ing from an Android tablet (ASUS Transformer Infinity) ...
8
votes
9answers
33k views

Is transferring files between Android phone and Linux supposed to be an easy task?

I want to copy some movie files from my Linux PC to my Android phone, however, it is much more easy to copy from Windows to my Android phone. In Windows, my phone would mount its internal memory card ...
8
votes
3answers
3k views

Is there a convenient small Unix virtual machine I can install as an Android app?

Ubuntu for Android seems to be missing in action. I'm travelling tomorrow and I need to take a basic Linux machine with me. I'd rather just take my tablet than a laptop. So is there a reasonable ...
7
votes
4answers
1k views

Linking /proc/mnt to /proc/mounts

I understand that /proc filesystem reflects the output of various processes. Unfortunately, I have a propietary (romdump) binary that expects the mount table to appear as /proc/mtd, while my Android ...
7
votes
3answers
18k views

How to run 32 bit programs on 64 bit Fedora 17?

Although the Android Development Tools (ADT) bundle is available as a zip package for 'Linux 64 Bit' it states following requirements: 64-bit distributions must be capable of running 32-bit ...
7
votes
2answers
27k views

How to extract boot.img?

I am trying to see the content in a boot.img file from an Android image. I googled and found this article to extract system.img, but it doesn't work for boot.img. When trying to do this for boot.img, ...
7
votes
1answer
184 views

How can semi-proprietary software be based on the Linux Kernel?

I hope this isn't OT, sorry if it is. If I understand correctly, the Linux Kernel is licensed under the GPL, which means that if anyone bases anything on it, they have to also license the entire ...
7
votes
1answer
12k views

Mounting an MTP enabled device on Ubuntu 12.04.3 LTS 32-bit

My aim is to perform file operations on my Samsung Galaxy Note 10.1 (older edition) using Ubuntu 12.04.3 LTS 32-bit. This does not work out of the box as I plugged my device and saw myself. In order ...
7
votes
2answers
551 views

Command-line software for playlist syncing to Android Phone?

I'm looking for a way to sync music to my Android Phone without having to load something like banshee. I know there are plenty of ways to sync files, but I'm interested in syncing playlists and having ...
7
votes
5answers
4k views

Unable to connect to a wifi network with an SSID containing diacritics

My current WiFi network (and i'm writing this with the help of Windows -.- ) has a diacritic in it's SSID: "รถ". If changing the SSID is not an option, how to connect to such a network? This does not ...
6
votes
2answers
3k views

How to compile extra files into the root directory of an Android ROM

I'm building a custom Android kernel based on the Cyanogenmod ROM's kernel source code. I'd like to add folders and files into the root folder of the OS (/). For instance, after having compiled my ...
6
votes
2answers
1k views

How do I get most of my standard Linux utilities and commands on Android 3.1?

By standard, I mean just what users often get by default with one of the popular distros. For example, uname, finger, vim, tmux, etc. I have a Galaxy Tab 10.1 (Android version 3.1, already rooted) ...
6
votes
2answers
1k views

groupadd failure while writing changes to /etc/group

I have been following this guide on installing debian-kit on my Sony Xperia Tablet Z and the installation goes fine until I try to apt-get install andromize which fails with the error groupadd: ...
6
votes
1answer
787 views

Route VPN traffic through socks proxy [closed]

There is no way to set proxy on an unrooted Android, but there is an option to connect to VPN. In my network VPN connection is not allowed! so I am looking for a way to run a local VPN server on my ...
5
votes
2answers
1k views

Is Android compatible with the Linux Standard Base?

Moved from Stack Overflow, where I realize it was off-topic since it was asking for sources - far as I can tell, the rules forbid that there but not here. I know that the kernel in Android is now ...
5
votes
2answers
280 views

Why is compatibility with Android not a common feature in Linux distributions?

Since Android is based on Linux (and I understand is only a Java layer on top of Linux), I wonder why Linux does not generally run Android applications. Why is an Android compatibility layer, either ...
5
votes
1answer
787 views

How to understand Hot plugin mechanism for a USB in an Android stack?

I want to know where I could get some material to study USB hot plug-in mechanism in Android Stack. I tried googling many a times, but din't find anything useful.
5
votes
1answer
621 views

What is the meaning of the contents of /proc/net/unix?

On my Android device there is the file called /proc/net/unix who's content does not conform to that of any standard linux distribution (which show the unix domain sockets.) First few lines: Num ...
5
votes
0answers
124 views

Does Android's implementation of SELinux's M.A.C. inhibit root apps with root privileges from accessing app data? [closed]

Starting with Android 4.4 SELinux's MAC is enforced. Does this mean that if an app somehow can get installed and exploit the kernel to get root privileges, that MAC will still prevent that app with ...
4
votes
1answer
113 views

Why can't I execute Android x86 executables on Linux

I am trying to port Android apps to Linux (don't laugh :) and I have come across a problem. When trying to execute an Android executable (app_process) after adding the executable permission with ./...
4
votes
3answers
2k views

Is it impossible to run as `root` if the machine isn't rooted?

By default, the user of the device does not have access to certain root objects (e.g. the /data directory). Even though these objects are off-limits, however, it would seem to me that these objects ...
4
votes
1answer
6k views

Unable to run a device in GenyMotion emulator

I have installed GenyMotion and its dependencies(Virtual Box, ...) from AUR. Now I'm trying to run a device in GenyMotion emulator but gets me following error: Unable to load VirtualBox engine. ...
4
votes
2answers
18k views

Mount MTP Android Device in Linux Mint 17.1

I need help in mounting my ASUS Android device in Linux Mint 17.1 (MTP). My pc didn't see my device, so I tried following the answer in this page: http://forum.xda-developers.com/showthread.php?t=...
4
votes
2answers
10k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
4
votes
1answer
1k views

Cross-compiling OpenSSH for Android

I'm working on compiling OpenSSH for Android based on this answer at Stack Overflow. Here's what I've done so far: Building on Ubuntu 14.04 amd64. apt-get install build-essential gcc-arm-linux-...
4
votes
2answers
489 views

unable to back-up data from android tablet to laptop using tar!

I'm using tar to back-up data from my android tablet to laptop. But it is showing some error. ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/9$ tar -cvf ...
4
votes
1answer
5k views

Gentoo Linux Still Popular Today? [closed]

I have installed Gentoo Linux on a Thinkpad T42 and an earlier version Acer Laptop. But it has been years, installation on one laptop after another. I even planned to go further to install Funtoo ...
4
votes
3answers
1k views

How similar are Android and QNX?

The root of the question is really: "Can you run the Android OS on a BlackBerry PlayBook?" Since one is a Linux derivative and the other is a Unix derivative, it seems a natural fit for here.
4
votes
1answer
308 views

What utilities do I need to begin android development on Ubuntu?

I already would work by some Cortex-A boards(for instance Cubieboard, Marsboard,...) I've already started working with integrated circuits: Cubieboard Marsboard I've been directed to learn linux, ...
4
votes
1answer
1k views

Eclipse not executable

I have just downloaded the Android SDK for Linux. I am running OpenSuse 12.3. When I try to run Eclipse, there is an error that says that there is no program to run executable files. So, I use the ...
4
votes
1answer
1k views

Is it possible to install a custom Linux on an Android phone?

I have an Xperia X8 phone, and I'd like to know if I can install a non-Android Linux OS on it? I would like to have a light Linux Distro, like Kolibri or something like that.
4
votes
1answer
1k views

Can I spoof the MAC address in Android?

Is it possible to spoof the MAC address of the wireless interface using wpa_supplicant.conf in Android when I connect as a client to an access point? Edit Unfortunately, Android doesn't support ...
4
votes
3answers
890 views

Is there a way to run an ssh server on an Android device?

I'm looking to install Debian over my Android installation so as to be able to use openssh-server, as it's so much better than Dropbear. Is there an easy way to do this, or just to simply install ...
4
votes
1answer
2k views

How do I set up my android as extra monitor?

I'm trying to make my android tablet work as a second monitor to my laptop running Linux Mint. Since I want it to work as if i just plug in my monitor at home into VGA, I tried following the ...
4
votes
0answers
65 views

Block device naming, how to enable by-name and by-uuid?

While building and using linux kernel for custom boards, when Android is used, usually the MMC partitions appear in /dev/block/mmcblkXpY. And there are also symbolic links created in /dev/block/**/<...
4
votes
0answers
100 views

Replace webcam transmission with an image from the hard drive

I'm working with an Android app installed in my Arch Linux using the emulator Genymotion. This app is not mine and I have not access to the source code, I'm just working with it. In some part of the ...
3
votes
2answers
2k views

How to mount a filesystem from a given USB bus:device

Recently I bought a new smartphone (with Android). When I connect it to my laptop, the (gui)file manager (PCManFM) recognize it and show me the filesystem at route gphoto2://[usb:001,003]. But I can't ...
3
votes
2answers
5k views

Arch Linux 64bit Android ADB?

I am trying to use the Android SDK on Arch Linux 64bit but when I try to run ADB from the correct dirrectory it says the file does not exist, but it is there. On Ubuntu when you have this problem you ...
3
votes
2answers
1k views

How can I test a kernel module in a mobile device?

I'm writing a module for the Linux kernel. When this module is ready, I'd like it to run in any device running the kernel. How can I test it in an Android phone? Do I need to recompile the whole tree ...
3
votes
1answer
356 views

Fake linux as android device

How can I let my GNU/linux completely mimic an android device when connecting to a wireless Access Point? I explain: I moved to another location and it seems that my android phone and tablet have a ...
3
votes
1answer
719 views

PulseAudio server on Android

I want to stream audio from my Linux box to an Android device, with smallest delay possible, so I thought about using PulseAudio with module-opensl-sink (found here). I don't want to replace ...
3
votes
1answer
2k views

How do I redirect all writes and reads from /sdcard/whatsapp/ to /sdcard/shared/ on android?

I am using bluestacks appplayer beta with a rooted android, I want to redirect all writes and reads from one directory to another, how do I do that? I have a terminal available to put commands in..
3
votes
1answer
1k views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...