Use this tag when your issue involves a Linux laptop/PC, or addresses Linux specific topics of your Android device. (Note that running Linux distros on Android is off-topic.) In the latter case, consider if other tags like e.g. 'command-line' or 'shell' might be better fitting. See the full tag wiki ...

learn more… | top users | synonyms (1)

2
votes
0answers
13 views

Easy and efficient way to run GNU/Linux on top of Android on an x86 device?

I have a quite powerful x86-64 Android phone. I want to run a GNU/Linux desktop distro (preferably Debian-based) on top of Android. I have the stock firmware, but rooted and with Xposed Framework. I ...
0
votes
0answers
11 views

How to compile a dynamically linked C program with the standalone toolchain and run it with QEMU usermode? [on hold]

I want to run some simple userland ARM programs to learn the ISA. Reusing Android's toolchain would be a simple option, but after I do: ${ANDROID_NDK}/build/tools/make_standalone_toolchain.py \ --...
2
votes
2answers
7k views

TWRP USB-OTG won't work?

I have a nexus 7 (2012). I have installed the most ercent version of TWRP for it, and TWRP seems to work. Im trying to do this, and have reached the part where it says Once Team Win boots, go ...
1
vote
0answers
32 views

Data recovery from android device with broken screen

Situation Summary - I have an Android device with a broken screen, LCD and touch I have an android phone (BQ Aquaris E4.5 Ubuntu Edition, which I have flashed with the Android firmware for the E4.5 - ...
3
votes
2answers
5k views

Mounting a remote folder as local folder

I have spent hours researching this and unable to come up with a solution, if anyone knows of one please let me know. I am looking for a way to mount a remote folder on a server (using either WebDAV, ...
0
votes
1answer
21 views

Phone is plugged into computer via USB, charging but not entering adb mode

I am on Linux, so this is not a driver problem. I have a Huawei Union, USB Debugging is enabled in developer options, and I have previously been able to use ADB when the device is plugged in via USB. ...
0
votes
0answers
9 views

How to distinguish two usb printers in an android device

There are two printers plugged into an android board by usb ports. I was trying to print doc from the android device. when the first printer plug in, there will be a path "dev/usb/lp0" show up. and ...
0
votes
0answers
35 views

Android keeps reloading when mounting internal SD card

running CM13 here on an Galaxy S5. Until yesterday, it worked pretty fine. Due to some error the phone crashes and now the FS on the SD card seems to be damaged. It's a 64 GByte Sandisk, formatted as ...
6
votes
1answer
1k views

Airdroid modifies timestamps of copied files

MTP does not work in Ubuntu so I am using Airdroid to copy photos off my phone (Galaxy Nexus) to my computer (Ubuntu 12.04). My problem is that the files downloaded via Airdroid all have modification ...
0
votes
0answers
50 views

No connection to wifi - automatic connection

I've hosted a wifi network using hostapd and isc-dhcp-server on my pi. This works pretty well, but unfortunately there's a problem: If I click on the "connect" button manually in the wifi settings ...
0
votes
2answers
5k views

Need one-line adb shell su push & pull to access /data from Windows batch file

I've been struggling for two days. Hope for help here. I wrote a Windows batch file that replaces Amazon lockscreen ads with user images on rooted kindle fire hd 7", 2013 (kfsowi). Just learned I ...
0
votes
1answer
2k views

Unable to see all folders on Moto G using FTP

I have set up an FTP server on my Moto G, and I'm trying to copy (music) files from my laptop (running Ubuntu 12.04) using FileZilla. I understand that user data appears in the /data folder, but ...
1
vote
1answer
8k views

Linux Deploy - Fail to make disk image

I am trying to use Linux Deploy on my rooted Galaxy S4 with stock Android 4.4 rom. But when I press install: Updating configuration file ... done >>> begin install Checking mount points ... ...
0
votes
1answer
374 views

Reinstall AVD on Ubuntu 16.04

Emulator was not installed upon installing Android Studio. Here is the error when I call tools/android/avdmanager: sh: 1: glxinfo: not found sh: 1: glxinfo: not found libGL error: unable to load ...
1
vote
1answer
9k views

How to root MTK based mobile devices using a Linux PC?

It is easy to root an MTK device in MS Windows using powerful tool like SP Flash Tools, or a one-click root solution. Can it be done (especially with that flash tool) using a Linux machine? I've ...
1
vote
2answers
524 views

Android Micro SD Card Show Wrong Size

I have a 32GB Lexas Micro SD card in my Samsung Galaxy S2 i9100. For some reason, the card consistently shows 12gb as the size of the card. It just randomly started doing this about 2 weeks ago. I ...
1
vote
1answer
28 views

Nexus 5 unable to reflash

I have a nexus 5 which has ubuntu touch on it. The OS is broken and won't boot. I am trying to flash CyanogenMod to it, i've hooked it up to my ubuntu server, and am following this: https://wiki....
0
votes
1answer
25 views

Use mobile internet though connected to WLAN

On an Linux based system I created a WLAN Hotspot. I want to provide a single webpage via a webserver on this system. When I connect my Android devices to it they expect to get internet over this ...
2
votes
1answer
137 views

How do I get my device detected by ADB on Linux?

I just got my shiny new Wileyfox Swift – and before putting it to use I want to oem unlock and root it (as I usually do with new devices ;) Trouble is, though usb-debugging is enabled on the device, ...
2
votes
1answer
8k views

Rooting Samsung Galaxy S II GT-i9100

How does one root a Samsung Galaxy S II GT-i9100 (with its original Android 2.3 Gingerbread), preferably under Linux Mint? This questions pertains specifically the GT-i9100 version (not GT-i9100G nor ...
0
votes
0answers
22 views

can't get monitor mode for my galaxy alpha's wifi in stock rom

so i am trying to do the monitor mode for my phone's wifi which is samsung galaxy alpha sm-g850f running stock 5.0.2, and i used the bcmon app and it says no firmware detected . also i installed kali ...
2
votes
1answer
4k views

Enable USB debugging for Android at Android Linux command

OS: Android JB. HW Platform 1: sama5d31-ek (ATMEL ARM) HW Platform 2: TI-Sitara SK Enable USB debugging for android at android Linux command prompt. Usually USB debugging for android is enabled ...
0
votes
0answers
43 views

DNS name resolution with manual setup (USB boot)

I'm running Android 6 on my laptop x86. I couldn't figure out the GUI so on the cmd line I setup networking by doing: ifconfig eth0 192.168.1.10 up #to setup the NIC with an IP ip route add default ...
0
votes
1answer
3k views

Installing Ubuntu 14.04 on Sony XPERIA Model C5303

So, I read somewhere recently (I read it here) that you can install Linux (in my case, Ubuntu) onto an Android running phone by rooting the device and overriding the software. I'm going back and forth ...
4
votes
1answer
127 views

what do the numbers after the : /dev/block/vold/179:xx mean?

I've been trying to figure out an micro sd card issue and just stumbled upon a page where someone mentioned that the numbers after the colon would represent xyz and if they are something different ...
8
votes
2answers
12k views

How to find the pathname of the swap partition on SD card?

As this warns, you should not enable swap on the wrong partition or you can destroy your phone: OK before we go any further! previous phones had a partition layout where mmcblck0 was the SDcard (...
-1
votes
1answer
1k views

How do I install Cyanogenmod on my LG L65 Using a Linux PC?

I don't know if my device is supported, or how I install Cyanogen mod with a Linux PC (Kubuntu 14.04) Edit1: One year has passed now, and im wondering if this is possible now, with the same phone (...
0
votes
0answers
66 views

Android device as usb‑bluetooth adapter for desktop computer

Ok, just the matter of being simple, my desktop computer doesn’t have bluetooth hardware right know, so I can’t use bluetooth joysticks on it. Would it be possible to use my tablet as a usb‑bluetooth ...
2
votes
1answer
2k views

Eclipse AVD emulator stops at black screen with time

I've downloaded the latest Eclipse ADT bundle for linux and now I'm trying to run the "Hello world" project. Whenever I run the application the emulator shows android splash screen and then stops at ...
0
votes
0answers
40 views

How can I run linux debian under my android phone without root?

Is this possible? Emulate it via vm or chroot it in some way? Wich trusted app can I run for this purpose (even paid but must work flawlessy). The problem is that I use the stock rom of my phone and ...
0
votes
0answers
19 views

Access bluetooth RFCOMM through android terminal

I would like to access to RFCOMM to set up a bluetooth virtual serial port on my Android device using the terminal. I do have root permissions on my android device. When I type "rfcomm" in the ...
7
votes
1answer
1k views

Why do Linux commands not work properly on Android?

> adb shell sh-4.1$ ls -F -F: No such file or directory -F switch works fine on my Ubuntu. Why doesn't it work on Android? Is there a way to make it work?
2
votes
0answers
19 views

Why not autostart PPP?

In the adb docs, under PPP it says "Note that you should not automatically start a PPP connection." Anybody know why this is discouraged? I'd like to do exactly that when I plug my tablet into my ...
0
votes
1answer
3k views

Flashing Samsung Galaxy Note 3 with Android on Linux

Is there a way to flash my Samsung Galaxy Note 3 with stock rom(Android KitKat 4.4.2) in Linux(any distribution)? EDIT: I can't figure out how to flash this firmware with Heimdall. All I can find is ...
3
votes
1answer
90 views

Running a Debian installation on Android as a NAS / VPN - what would I lose as compared to a Raspberry Pi or similar comp? [closed]

I have a rooted Android phone that is no longer in use. I have currently been using Linux Deploy on an Android tablet to run a Debian installation in chroot, and have found it so useful that this (...
1
vote
0answers
2k views

fastboot oem unlock: hangs with `…'

First of all, I am a newbie to Android. I am using Ubuntu Gnome 14.10 to run all the commads. I am trying to unlock the bootloader of my Lenovo A536 (stock Android 4.4.2 aka KitKat). Here is what I ...
15
votes
2answers
8k views

Is it possible to run Android applications on (normal) Linux?

Since Android is a forked Linux kernel plus software stack I am wondering whether there are any projects or ideas regarding creating a version of Android that can be added to a Linux system to allow a ...
0
votes
0answers
58 views

Nexus 5 softbricked bootloader not working

I tried installing Ubuntu Touch on Nexus 5 ( not the 5x). It failed (hangs in the splash screen.) I then tried to wipe it with Ubuntu's own recovery. The phone went bang. It boots to the Ubuntu ...
-1
votes
1answer
42 views

Synch a phone to Linux PC without Google

Is there a way to synch the SMS/Calendar/Contacts/what not (I am not talking about files, and pictures, etc.) to a Linux (Ubuntu) PC? The quirk is to bypass Google in the process.So I would envision ...
1
vote
0answers
33 views

linux kernel not seen from android filesystem?

I'm reading 'embedded linux' and in chp.6 "filesystems" there is a figure that I do not understand. here it says that the 'linux kernel' is not seen from android filesystem. This give me some ...
1
vote
2answers
972 views

Attempting to update ADB from 1.0.31 to 1.0.32

I'm trying to update Android debugging software from version 1.0.31 to 1.0.32 on Ubuntu 14.04. I have consulted an earlier Stack Exchange post on the same topic here but it has not helped. I've been ...
0
votes
1answer
2k views

Reverse Tethering over USB with non rooted Android 5.1 Phone and Linux PC

I have a PC running Slackware Linux and a non rooted Motorola Moto-G with Android 5.1. Following this guide I should be able to share PC internet connection with my phone. But when I finally launch ...
-5
votes
2answers
93 views

device not showing in fastboot

I have a Samsung Galaxy Tab 3 (GT-P5210GNYXAR) currently with NO OS (I completely wiped the tablet in TWRP.) However, I did root the device, so now it has the TWRP thing. I tried installing the ...
0
votes
0answers
42 views

Intermittent micro SD with complications

I have read several threads about intermittent SD cards on here. I have a Motorola XT1505 and a 128 gig Sandisk micro SD I bought about November 2015. I partitioned the card with Gparted and ...
1
vote
1answer
1k views

Why does android init not die?

As I read from the book Embedded Android (Karim Yaghmour), android init does not die. However, Linux init systems usually die. Why doesn't the android init? And also, why does android not use / need ...
0
votes
0answers
53 views

LinuxMint not detecting Nexus 5

I'm trying to test a custom ROM for my Nexus 5 however I can't get started because my computer can't detect my phone. I've switched on USB debugging and downloaded adb/fastboot however my adb devices ...
6
votes
3answers
11k views

No-name i.onik android tablet not recognized by adb — adb devices empty

I have followed various instructions and finally was able to connect my ZTE Blade to my Ubuntu laptop for USB debugging. The same setup does not work when I exchange the phone by my "no-name" i.onik ...
0
votes
1answer
96 views

How do you backup your stock recovery from an unrooted Android device?

TL;DR Okay, so for the past month I have been researching how to do this, either on Windows or Linux.. I have yet to find a direct answer, or anything which is relevant. I am a lot more comfortable ...
0
votes
0answers
69 views

Stuck on “Switch_root” command trying to follow tutorial on “How to run Debian on Android” on my Samsung Galaxy Mini 2

I'm trying to install debian on my Samsung Galaxy Mini 2 (where previously I've installed android 4.4) using this tutorial as reference : http://whiteboard.ping.se/Android/Debian I need your help ...
2
votes
1answer
2k views

Linux ADB Driver for LG Viper (LG-LS840)

On most devices I've run across I can plug the device into a Linux machine and no additional drivers are needed in order for ADB to communicate with the device. However on two LG devices from last ...