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

learn more… | top users | synonyms

1
vote
1answer
57 views

How to keep running a process in Android when disconnecting adb terminal? command “nohup” not found

I'm trying to analyze the reason for random reboots of my phone (see here). Therefore I wanted to record the logcat and kernel messages till the restart to see the logs even after the usb disconnects, ...
3
votes
1answer
5k 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 ...
0
votes
1answer
5k views

How to make mk809III run linux like picuntu?

I bought a mini pc Android stick called "mk809 III" which is quad core and has 2 gig's of ram. I want to make it as my web server with Apache and MySql, to do this I got to install some linux distro ...
4
votes
2answers
83 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 ...
1
vote
0answers
39 views

Cannot connect PC and Android through bluetooth

I want to create a simple client/server app using bluetooth. I want to use an android as client and a Linux Mint 17 Cinnamon 64 bit as server. I found and adapted this script : import os import ...
0
votes
1answer
414 views

Java/malloc memory corruption error when running SDK Android Manager

I want to install Android SDK, so I manually installed Java JDK 7u51, downloaded SDK ADT bundle for Linux x64, and tried to run it. When I run android, the SDK manager windows hangs halfway through ...
0
votes
0answers
10 views

Android 4.4 x86 on Dell N5110 - Video issue

I am trying to run androidx86 (4.4) on Dell N5110. Here are the issues I have: No Sound: I found the solution from another forum. I will have to run the following as an executable script: ...
0
votes
0answers
6 views

when I use ptrace to attach another process , the process I want to attached Crashed, Why? [migrated]

On Andorid device, i have got root permission. Then I use ptrace to attach another process , some application can be attached, and I can read its' memory successful, but some application will crash ...
2
votes
1answer
394 views

Syncronising Calendar and Contacts between Thunberbird and Android using Linux Software

I am looking for software to sync my Calendar and my Contacts between Thunderbird, my Android phones and probably other clients like KDEs Kalendar and Kontacts. I want to have both parts available ...
2
votes
1answer
51 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set ...
1
vote
1answer
431 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
0
votes
1answer
38 views

localhost vs hostname

I am confused with localhost(127.0.0.1) and hostname(127.0.1.1) ,when I try for $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 JAZZ and in case of ifconfig also I got about localhost(lo:local ...
9
votes
4answers
17k 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 ...
2
votes
0answers
68 views

How to use chroot'd desktop environment on Android with external display, mouse and keyboard?

I have a chroot'd Arch Linux environment set up on my Android phone (a OnePlus One) and I would like to connect it to a monitor (directly or with use of some sort of passthrough/adapter eg. Raspberry ...
2
votes
4answers
2k views

File sharing between Windows, Linux and Android over network

I have a desktop running Windows 7, a laptop running OpenSUSE 13.1 and an Android 4.1 Tablet, all connected to the same network via a router (the desktop through a LAN cable and the others via WiFi). ...
0
votes
0answers
20 views

Installing Cyanongen Mod from a linux host

Is there a way to install cyanogenmod to any android device from a linux host? Currently, cyanogenmod only provides a windows installer and a beta OSX installer. I suspect there is a manual method ...
3
votes
1answer
119 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 ...
1
vote
1answer
221 views

Why can't I connect to my Linux bluetooth serial port?

I have a USB bluetooth dongle on a Linux 3.12.5 ARM system. I've been attempting to make a bluetooth serial connection from my android phone to the USB dongle on Linux. I've referenced this question ...
2
votes
2answers
2k views

How to fix this error? make: *** [obj/local/armeabi/libgstaudioflinger.so] Error 1

I am trying to install this following framework from my Linux Fedora box to Android using there SDK/NDK. But after following all instruction its getting still failed to get build. Any idea how to fix ...
0
votes
1answer
382 views

Run android app on debian without emulator

I'm trying to install a few android games on Debian. I've tried Bluestacks (via WINE), Genymotion, AndroVM, Android-x86 and I still can't get these few games (Samurai Siege, and Clash of the Clans). ...
3
votes
2answers
171 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 ...
6
votes
1answer
513 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 ...
0
votes
0answers
41 views

Why does Android crash when stressed on Memory where as GNU-Linux keeps running?

I have two devices, an Android phone with an eGlibC stack running side by side with Bionic, and an old HP tower with Debian. My HP tower has 512 MB of RAM. My phone has 2GB of RAM. I run top on ...
3
votes
1answer
290 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: ...
0
votes
1answer
105 views

Terminal emulator for Android that supports viewing images?

I am planning on logging into my unix desktop via an Anroid tablet. Is there a terminal emulator that will allow me to view images, such as making plots in ipython, via X11 protocol?
1
vote
1answer
265 views

Using scp to transfer files to an android device

I have a file on a remote server that I want to transfer to my android device over ssh, only using the android device in the process. Using this setup, I tried an scp from the android device ...
0
votes
0answers
210 views

-bash: android: command not found

I'm on a Mac running Mavericks trying to learn how to develop Android apps (in the process I'm learning bash too). To run on the emulator they suggest the command android avd. I always get the error ...
0
votes
1answer
26 views

kernel config with strange dependancies

I am trying to build the Android Linux kernel from source following this README. The instructions very clearly state: 1.1 Required enabled config options: After building a standard defconfig, ...
2
votes
0answers
125 views

Android w/ Glibc stack, how can I set-up audio w/ nvlc? Is it possible with ALSA(Debian)?

With the help of the book "Embedded Android" by Karim Yaghmour I managed to learn enough about Android's build process last fall. With enough fiddling around and Google'ing I learned a sufficient ...
2
votes
8answers
11k views

Is transferring files between android phone and linux supposed to be a 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 ...
1
vote
0answers
95 views

Has anyone got the Android NDK toolchains to run on ARM instead of x86 or x86_64?

I have been going over the "dev scripts" in the $NDK/build/tools directory of the Android NDK and have been modifying them to build host/build tool-chains that run on ARM instead of x86 or x86_64. For ...
1
vote
0answers
135 views

Input/output error using jmtpfs not saving file when copying to device

I'm trying to mount an Android device on Debian using: jmtpfs /media/mobile But when I try to copy a file from my system to the device I get an input/output error saying that the file can't be ...
5
votes
0answers
76 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 ...
1
vote
1answer
504 views

NFS file owner(uid) = 4294967294, can't do much with my mount, How do I fix this?

I have a somewhat strange setup going on here, I have Android as the client and it's kernel does not support NFSv4, also my /etc/exports file on the server side has no NFSv4 style entries. I am ...
2
votes
1answer
1k views

Running make with vermagic kernel string with parentheses causes /bin/sh syntax error

I am on Ubuntu Server 12.04 x86_64 and I need to build Android CyanogenMod 7.2 kernel module. My phone has custom ROM and a patched kernel: adb shell cat /proc/version yields Linux version ...
1
vote
1answer
140 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 ...
1
vote
0answers
356 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 ...
3
votes
0answers
798 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 ...
2
votes
1answer
383 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 ...
1
vote
1answer
518 views

ssh ubuntu to android : No route to host

I am trying to log into my android phone (running sshdroid), using my laptop (ubuntu 12.04). I am on a university sub-network (on wifi), and so is my phone. I tried the following command: ssh ...
0
votes
1answer
364 views

full linux (not android) 7-inch tablet?

are there any 7-inch tablets that can boot natively into a full version of linux? I want to remove Android. All traces of it. I don't want a jail. I want to program the hardware fully, without ...
1
vote
1answer
177 views

Compiling OpenSSH client or Dropbear for Android

I have an interesting problem. I'd like to use a private SSH key with my Android Terminal Emulator (jackpal.androidterm). I'd like to install the private key in a fairly-secure location and be able ...
1
vote
1answer
96 views

How do I allow non-root access to Nexus 7 2013 LTE (deb) over adb and fastboot?

I need to access my Nexus 7 2013 LTE (deb) over adb and fastboot, but it seems that it's required to be root to be able to run the adb server to be able to access the device due to USB rules. How can ...
1
vote
0answers
318 views

Why does this iptables rule doesn't get configured after a reboot once in a while? [closed]

On my Android network device, iptables firewall rules service script is started by the init.rc scripts during boot time. One of the firewall INPUT chain rules doesn't get configured in the iptables ...
2
votes
0answers
248 views

How does SELinux / SEAndroid prevent or allow pseudo terminal allocation?

I'm trying to resolve an SSH connection issue on an Android phone running SELinux in "Enforcing" mode. The problem is that any SSH connection that tries to allocate a pseudo-terminal (/dev/pts etc) is ...
1
vote
1answer
107 views

Use a Linux directory as a USB-OTG device to an Android phone?

I have a really strange idea and I was wondering if I could do it. Many Android custom recoveries allow placing backups in both the internal storage, the external (ie: microSD) storage, and ...
2
votes
1answer
3k 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. ...
0
votes
0answers
126 views

libusb problems trying to run FlashTool

I have been trying to run FlashTool on my 32 bit Ubuntu system, but I get this complaint: # ./FlashTool1 Running as root. libusb.LibUsbException: Libusb not found. Minimum libusb version is 1.0.15. ...
1
vote
2answers
786 views

How can I know if patch command is working?

I am trying to apply a patch that is provided by the seek-for-android project to code I downloaded from Cyanogenmod. The code compiled successfully with make, so I know all the files are there. I just ...
5
votes
0answers
3k 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 ...