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

learn more… | top users | synonyms

2
votes
2answers
57 views

How to return 0 if a pattern is matched from a file? [duplicate]

I have a binary that repacks android kernel (not mkbootimg). I'm making a script to automate the process. I don't want any output on the screen. So I have redirected the output to a file named ...
1
vote
0answers
13 views

Mount android device 4.0.4 on linux

I am trying to mount a Samsung Galaxy S2 as a mass storage device onto an uptodate Arch Linux setup. On the Android phone I have done the following Settings -> More -> USB Utilities -> USB mass ...
2
votes
1answer
31 views

connecting linux device to a tablet via usb

I can connect my Linux device (an embedded device) to a tablet in the following way: Use a micro USB to Ethernet cable converter use a USB to Ethernet on my Linux device. connect the two device to ...
1
vote
1answer
47 views

install two operating systems on a smartphone

An exam question I had this morning: If a telephone manufacturer would like to install both Android and iOS operating systems on a smartphone, would that be possible? If yes, what changes should ...
1
vote
0answers
10 views

Android 4.0.3 on mini210s ts_config: No such device

Trying to install and run Android 4.0.3 on FriendlyARM mini210s to which I attached a 7inch touch screen. FriendlyARM.ini ################### Android 4.0.3 #################### Android-BootLoader = ...
0
votes
0answers
18 views

Change / add file in “Read only file system” [migrated]

I want to add new command to my android 4.4.2. to do that I need to add alias line in the /system/etc/mkshrc file (bashrc in regular linux), or make symlink in the system/bin or system/xbin. but when ...
1
vote
0answers
38 views

Which packages should I install to make Fedora 21 connect to internet by Android Phone?

In the past I used Ubuntu 14.04 and when I want to connect to internet by my Android phone, I connect it directly using USB cable without installing drivers or some packages like using the Huawei ...
1
vote
0answers
19 views

Reason for interrupt in device driver

In my Audio driver I have Interrupt handlers for Download audio i.e., Audio playback and Upload i.e., Audio Record Sometimes when music is playing smoothly I am getting interrupt because of which i ...
0
votes
1answer
10 views

Combining parts of original Android with newer sources to create a new image [closed]

Hi I wanted to talk to the pros on the compiling and decompiling Android source and binaries respectively. Is it possible to decompile an Android OS running in a device and get its source, so that you ...
0
votes
1answer
62 views

linux/shell command to control screen brightness in android

I am working on a kiosk project using an android tablet.If there is no input power to the kiosk for a long time then, the tablet will eventually shutdown.In order to auto-reboot the tab when the power ...
0
votes
1answer
14 views

Where are the Android Users and Groups?

Android uses a linux kernel with each installed app getting its own user. I was expecting to find them in /etc/passwd but I couldn't. Where are they stored?
1
vote
0answers
22 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 ...
0
votes
1answer
22 views

Linux bash commands in android 4.1.2?

Is there a way to run linux bash commands in android (particularly 4.1.2 rooted or not rooted)? Will it void the warranty from phone manufacturers?
1
vote
1answer
28 views

SoundWire streaming but no sound

I installed SoundWire client + server. The server communicates with the client sending evenly sized packets every few milliseconds. The server's status goes to green "Connected". The connect button ...
0
votes
0answers
55 views

Analyze backtrace of kernel panic on Android

I have this problem on my Samsung Galaxy Note 2 LTE with random reboots and kind of clean restarts in the kernel logs (no oops / panic, even though some usb errors) and now I got a kernel panic in the ...
0
votes
0answers
27 views

Suspend Crash in android 4.4

During suspend clocks are not turning off, meanwhile when we resume clocks are not getting turning on. I am getting crash like <4>[ 216.945252] WARNING: at ...
1
vote
1answer
158 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
100 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
25 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
96 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 ...
2
votes
1answer
140 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
51 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
126 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
25 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
158 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
531 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
341 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
45 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
443 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
156 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
371 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
336 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
33 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
158 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
113 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
208 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
77 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
647 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
0answers
460 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
440 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
615 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
256 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
108 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
418 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
346 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
185 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
131 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
296 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
142 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. ...
2
votes
2answers
958 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 ...