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)

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
2answers
16 views

Unable to paste files on sd card on ubuntu

I am unable to paste files on SD card of my phone connected to Ubuntu pc in MTP mode. When I try to paste files, it shows the following error. There was an error creating the directory in mtp://[usb:...
0
votes
0answers
6 views

Add user System to group [on hold]

I'm developing an ICS application along with a custom Android ROM that requires me to access a certain folder in the Android file system. The application has System privileges and the user System ...
0
votes
0answers
31 views

Lock and unlock andoird lockscreen using script

Is it possible to lock and unlock the android lock-screen using shell script ?. I am planning to run these scripts as cron job at my desired time.(I am doing this because of my crazy addiction level. ...
0
votes
0answers
33 views

Soft Bricked Nexus 9 - fastboot finds device, adb does not

I am running Ubuntu 16.04, and have a soft bricked Nexus 9. I have been in this state before and used this guide to get back to normal. Not learning my lesson about applying OTAs through the OS aside, ...
1
vote
1answer
110 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 - ...
0
votes
0answers
35 views

chroot: can't execute /init.sh: Permission denied - Error while want to start linux on Android

Introduction: I formatted a SDCard in ext4 and copied an ArchVersion on it to run it from Android like in this guide (step 7). Of course my device is rooted and I am running the following scripts and ...
2
votes
2answers
3k views

How to play/record sound from Debian chroot?

There's big file with ext2 with ARM Debian where I can chroot to. There's functional mplayer (I can -ao pcm or -vo yuv4mpegpipe) there. How to record/play sound (or video) from this Debian? Is there ...
0
votes
0answers
26 views

Access Laptop Webcam from Android Phone

I'm on Elementary OS Freya (Linux) and I have an Android device. I leave my laptop on all the time. Is there a way for me to access my laptop camera from my Android phone? It should not require the ...
0
votes
0answers
44 views

Unable to install kali linux using linux deploy

[14:47:05] Removing environment ... done [14:47:12] Updating environment ... done [14:47:20] Updating configuration file ... done [14:47:20] >>> install [14:47:20] The container is already ...
16
votes
3answers
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 ...
2
votes
3answers
1k views

Running Linux on Android with a rooted OPO

I tried to run Linux on Android and I had some issues setting up Debian. The VM is running, but I can't connect via VNC. I already searched the FAQ & Google what to do, but I found no answers. My ...
0
votes
1answer
34 views

fastboot responds, except that it won't flash my recovery image

I have installed Cyanogenmod (v13) on a Xiaomi Redmi 2 phone. So, it all worked, but then I tried a manual update. I booted into recovery (TWRP), and flashed the new cyanogenmod ZIP file; then flashed ...
4
votes
2answers
120 views

Why does Android differ so much from Linux?

I have read all related questions here, but they don't answer my questions or are not up-to-date since Android is particularly included in Linux kernel ( > 3.x.x). Why didn't Google just take a Linux ...
3
votes
1answer
100 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 ...
1
vote
2answers
102 views

android VNC and linux installing

I was thinking of using Linux Deploy to install Ubuntu in Nexus 9 (2014) Device. I Would be using the VNC viewer by "realvncunlimited" and Linux deploy by "meefik". My question is, how secure will the ...
1
vote
2answers
241 views

How to upgrade Android kernel version

I am running a Android device with a kernel version of 3.4.5 on a soc made by mediatek (MT6582). Now recently I found a within post with the stock untouched KitKat based kernel for MT6582. This new ...
0
votes
2answers
6k 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 ...
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 ...
2
votes
1answer
9k 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 ...
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 ... ...
1
vote
0answers
12 views

I was able to run backtrack 5 on my nook simple touch. I want to be able to encrypt my ubuntu.img file on my sdcard like hdd ecnryption

I was able to run backtrack 5 on my nook simple touch(which runs android). I am currently in the process of trying to encrypt the "ubuntu.img" file as an hdd. My kernel is old and I can only be able ...
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 ...
2
votes
2answers
9k 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 ...
0
votes
1answer
34 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
10 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
48 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
55 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
1answer
714 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 ...
2
votes
1answer
10k 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
537 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
34 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
27 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
239 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, ...
0
votes
0answers
31 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 ...
0
votes
0answers
53 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
135 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
76 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
42 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
20 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
21 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
98 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
3k 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 ...