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, ...
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 ...
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: ...
1
vote
0answers
39 views
+100

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
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
95 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 ...
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
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 ...
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
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
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 ...
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 ...
1
vote
1answer
121 views

Where is my tablet's memory card mounted on laptop?

I connected my Asus fonepad7 tablet to my laptop via usb. My laptop automatically detects it & opens. But I'm unable to find where the memory card of my tablet mounted on laptop. Just see below, ...
0
votes
0answers
30 views

No answer on Broadcastping

Actually I'm making an android app, but as the problem appears by using android's Linux runtime, I'm asking my question here. The thing is, that I need to ping the network's broadcast address to ...
0
votes
0answers
28 views

How to run Plasma on VPN server without leaving terminal?

How do I run KDE Plasma on local VPN server on Arch Linux on another VPN client without running it on the hosting server or leaving its terminal?
1
vote
1answer
32 views

How to run another installed system from within Linux?

I have Windows Server and Android X86 triple-booting with Kubuntu. How can I run either of them directly from within Kubuntu (without using virtual image files)?
0
votes
0answers
50 views

How to generate a new rootfs and add blobs

Before reading this question please take two seconds to read my last questions : How to add folders and file before compiling kernel To sum up I want to add a folder @ rootfs which one has to hold ...
3
votes
2answers
620 views

How to add folders and file before compiling kernel

I'm building custom Android Kernel based on Cyanogenmod ROM' kernel source code. What I need to do is to add folders and files into the root folder of the OS ("/"). For instance, after having ...
-1
votes
1answer
649 views

ADT bundle not installed in ubuntu 12.04

I downloaded ADT bundle from android developer site. Bundle name is :- adt-bundle-linux-x86_64-2014031.zip It contains eclipse, and sdk folder. In eclipse folder, there is one eclipse executable ...
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 ...
1
vote
0answers
455 views

How to redirect tun SSL VPN through HTTP CONNECT proxy, using iptables?

I use a VPN under SSL solution (Firepass) on Android. VPN opens an SSL connection on port 443 of remote VPN server. My mobile carrier doesn't allow direct connections on port 443 but allow SSL ...
2
votes
1answer
3k views

Linux Mint 16: Android Device not listed with lsusb

I've installed Linux Mint 16 on my new PC and found out that my plugged in Huawei U8850 Android 2.3.5 device is not listed with the lsusb command: phone plugged in: $ lsusb Bus 002 Device 002: ID ...
1
vote
1answer
32 views

Installing a package

I am running crunchbang linux and I would like to know if there is a way to install the Android Developent Tools as a package on my computer. I already have it extracted to a folder in my ~/downloads ...
1
vote
0answers
201 views

Making an Android container with Ubuntu 12.04 on the Samsung ARM Chromebook : initrd file not found

I'm trying to run Android as guest OS with LXC containers on Ubuntu 12.04 LTS on the ARM Chromebook, reading this tutorial. At some point of the tutorial, it says: Then get the initrd for your ...
2
votes
1answer
98 views

How much time do user => kernel mode transitions take?

I'm running Android-on-Linux, and communication of OpenGL ES calls over the QEMU pipe is very slow. QEMU pipes should be the fastest possible way to do this; could this be due to the repeated ...
0
votes
1answer
201 views

Kernel 3.13 on Ubuntu ARM + Android kernel options compatibility

I've installed ubuntu 12.04 LTS with the kernel 3.13 on my ARM Samsung / Google Chromebook,using this tutorial : http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/ I have to ...