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)

4
votes
2answers
18k views

Configuring ADB for Nexus 4 on Ubuntu 11.10

I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to ...
8
votes
3answers
2k views

Why are there not generic phone OS installers? [duplicate]

I am used to install and remove various operating systems in my PCs, even having several at a time. Usually, to install a new OS means: Burn the ISO to a CD/DVD/USB. Insert it. Boot. (Maybe you ...
3
votes
1answer
4k views

How to delete a file (e.g. malware app) that cannot be even removed with root access?

I have root access in my device, but there is a malware in /system/app/ that I can't delete. This malware installs TimeService, MonkeyTest, and also some other apps like DR battery and privacy guard, ...
5
votes
4answers
6k views

Linux fails to mount Android device in USB MSC mode

I wish to mount my Sony Xperia ST21i (Android 4.0.4) under Linux (Debian) via USB. However, I get this error: # mount /dev/sdb /mnt mount: no medium found on /dev/sdb What I did so far: On the ...
64
votes
1answer
5k views

What linux distribution is Android based on?

Did Google use some existing distribution (Debian, Red Hat, etc.) to create Android, or did they use the bare essentials (kernel, file system and some mandatory files)?
21
votes
8answers
144k views

Use an Android tablet as a Wacom drawing tablet for a PC?

Since a nice Wacom tablet is a bit pricey, especially for someone like me who doesn't do much graphic editing, I was wondering if it is possible to use a tablet (i.e. my Nexus 7) as a Wacom-esque ...
5
votes
4answers
7k views

How do I make my Linux PC mount my Android 4.2.2 phone using MTP?

I have just purchased a new TCL (S950) Idol x phone and I'm figuring out some issue to make it visible on my system. This phone uses Android 4.2.2 and I guess this is the cause of the issue: my ...
10
votes
2answers
5k views

What is the difference between the Linux Kernel and the Android Kernel?

What are the modifications done in linux kernel to make it an android kernel ? By this question I mean what are the differences between linux kernel and android kernel ?
4
votes
1answer
3k views

Rooting GT-i9100G under linux

What is the safest method to root a Samsung Galaxy S 2 i9100 G under a GNU/Linux system? (ArchLinux). I am a programmer (without android programming experience, only desktop and web), it does not ...
6
votes
4answers
12k views

ADB on Ubuntu does not recognize Nexus 4

I'm unable to get my Nexus 4 phone recognized by ADB on Ubuntu (12.04 with a newer kernel installed: 3.8.0-30-generic). Developer mode is enabled on the phone. The device shows up in lsusb: $ lsusb ...
2
votes
1answer
151 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, ...
23
votes
4answers
2k views

How can I use shell commands and interact with the Linux system underneath?

Android is based on Linux and has a Linux kernel underneath. Is there any way I can use shell commands and interact directly with the Linux system? E.g. A shell app that has access to the Linux system?...
19
votes
4answers
24k views

How do you set up internet pass-through (reverse-tether) on linux?

I have an HTC Desire S that has the option to connect through usb, and use the computer's internet connection. This works fine on Windows, but I'm struggling to set it up in Ubuntu. When I plug in and ...
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 ...
1
vote
2answers
999 views

Mount Android encrypted data partition on PC

My Nexus 4 screen met a tragic end due to violent contact with flooring tiles. Everything works except the touchscreen (which displays fine but does not react to touch any more). I would like to get ...
5
votes
2answers
3k views

How to flash Samsung devices from a GNU/Linux host running on ARM architecture?

To flash a Samsung Galaxy S (where do not have root access in the currently running OS, and with a stock recovery) with a new firmware (OS), I need to connect it with a USB cable to another computer ...
5
votes
1answer
3k views

How to Remote Control Android smartphone, if not in same subnet

I'd like to "Remote Control" my Android 2.3.x (Oxygen 2.3.2 ROM) from my PC. I know that there are VNC servers available and also apps like "Remote Web Desktop". This works fine, but only if the ...
0
votes
1answer
577 views

Mount /system and /data partition of an android phone in Windows/Linux

How can I mount the /system and /data partition of an Android Phone via USB on a computer? It will need to work with Windows and Linux. I have a Samsung Galaxy S4 with CyanogenMod 12 and working ADB. ...
7
votes
2answers
8k views

How to sync contacts and calendar with Linux system, without using Gmail?

How can I sync my contacts and calendar with a Linux system? I'd prefer to sync with my desktop, but setting up a server on the internet would also be possible. I want to avoid Google mail for ...
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 (...
10
votes
1answer
3k views

Nexus 7 doesn't have sdcard folder when connected to PC

I've just bought a Nexus 7. When I plugged it into my laptop, it shows the media folder, I'd like to access the sdcard folder just like the other devices. How to transfer files? I think "adb push" ...
7
votes
7answers
32k views

How do I get my phone to connect the internal SD by USB?

I recently rooted and upgraded my Samsung Galaxy S2 to version 4, ICS. Since doing so, when I connect my device by USB to my Ubuntu computer, only the 12GB internal storage shows up on my desktop and ...
4
votes
5answers
8k views

File Transfer: How to transfer files betwen my Xperia Neo (Android 2.3) and Kubuntu Linux?

I have bought a Xperia Neo which runs Android 2.3 and I'm running Kubuntu Linux on my Laptop. I just connected the Phone using a USB Cable and set it to Mass Storage Mode. I expected to have the ...
1
vote
1answer
2k views

Cannot access local storage on HTC Desire HD with Linux

If I set my new HTC Desire HD to connect to PC in disk drive mode, a Windows computer can see the internal storage as a Removable Disk. If I attempt the same with my Linux system, "HTC Android Phone" ...
7
votes
4answers
25k views

Can't explore files on my Sony Xperia U using my Ubuntu 12.10 laptop

I previously used Ubuntu 12.04. When I connected my phone (Sony Xperia U) in MTP mode, I would be able to see it in Nautilus as a "SEMC HSUSB device" and browse files, copy files, and so on. Now, I ...
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 ...
3
votes
4answers
2k views

Client-Server Android audio remote

I'd like to get a low power pc (arm or atom) running linux and control the music that it plays through an android app, effectively becoming androids version of Logitech's Squeezebox. I'd prefer not to ...
2
votes
1answer
5k views

Turn a Android Phone with broken screen into dedicated Web server

I have a Nexus 4 with a broken LCD/Digitizer, I have no control via touch at all. The other parts of the phone are functional. Now, what I want to do and hope is possible is to clear the phone and ...
2
votes
1answer
2k views

Android chroot ubuntu - is it possible to get ubuntu to recognise usb devices

I've managed to setup the chroot but I'm unsure how to get the chroot to recognise usb devices. I'll be doing so work with microcontrollers hence I neeed to to recognise my usb based programmer. For ...
0
votes
1answer
171 views

Transfer root to SDcard with switch_root didn't work

I'm trying to install Debian on the Android 4.4 (modded with cyanogenmod) that's installed on my nexus 10 to one external sd card. I'm reading this tutorial : http://whiteboard.ping.se/Android/Debian ...
0
votes
1answer
1k views

Use 3G connection on my Android in Ubuntu

I would like to use the 3G connection on my android with my Ubuntu. Is there any method to do so?
24
votes
1answer
7k views

How does the Ubuntu Phone OS relate to the Android OS?

I've read that the new announced Ubuntu Phone OS was heavily inspired by Android, while not using Java and the Dalvik VM for its apps. However, it was also not clear whether it's a fork of the AOSP ...
8
votes
5answers
10k views

Install custom ROM from Linux on a LG GT540

I'd like to install a custom ROM on my LG GT540. It looks like that in order to enable fastboot and make the whole process a lot easier, a custom ROM must be installed the first time with a program ...
7
votes
2answers
10k views

How do I set up a VPN from Android 2.3 to my home Ubuntu desktop?

I want to configure a VPN from my Nexus S (2.3.4) to my home Ubuntu desktop. Has anyone tried this yet? I would deeply appreciate tips on which VPN server to use (e.g., is openVPN support native ...
11
votes
6answers
6k views

Stream Sound from Ubuntu to Android

I got tired of replugging my headset between a desktop and Android when someone calls me. Is there a way to stream sound from Ubuntu (I use Pulseaudio) to Android phone over wifi or usb?
7
votes
2answers
1k views

Optimal Linux Distro to Install to SD card to use as USB-Bootloader for PC?

Many people install Linux-based distros on USB drives to use for, largely, basic PC troubleshooting. Has anyone tried installing such a thing on their Android phone's SD card? That way instead of ...
2
votes
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 ...
10
votes
3answers
2k views

Why do we need Kies (ADB driver) in Windows but not in Linux?

Why do we need an ADB driver in Windows but not in Linux? I have been working on Android for the past few months in Windows. To run my project on my Samsung device I had to install Kies first. ...
14
votes
3answers
1k views

Is Android based upon Linux?

Is Android based upon Linux?
7
votes
2answers
54k views

Why can't I get root access from shell?

> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate ...
6
votes
1answer
573 views

Can Applications With Root Access Modify Their Own Permissions?

For rooted phones, there are several apps which require root privileges. Knowing this, the user does allow the app to get root. Now, the app would have been installed with a set of x permissions, say ...
5
votes
3answers
12k views

How do I access .img files with yaffs2?

I've tried mounting them in Ubuntu, no luck, mount does not recognize the yaffs2 file system. I've tried yaffs2utils and ./unyaffs2 but it doesn't actually unpack the img files, I've posted an issue ...
10
votes
6answers
20k views

Can't transfer file from Ubuntu to Samsung Galaxy tab 10.1

when connecting my Samsung Galaxy tab 10.1 (USB debugging off) to my PC running Ubuntu 10.10 the device seems to be mounted properly, but I can't transfer any file (I always get "Error creating ...
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?
6
votes
2answers
13k views

What are my options for connecting my Android to Ubuntu?

I have a Samsung Galaxy S2 running rooted Jelly Bean 4.1.2. My computer is running Ubuntu 12.10. Before, in Android 4.0, I simply plugged the USB in, and a notification would pop up, and I was ...
6
votes
2answers
1k views

Given that every application runs as a separate user, what happens when you want to add a new user account?

According to this, every application in Android runs as a separate kernel-level user, with a unique user ID and group ID. So, what happens under the hood when you add a new user (e.g. to your shared ...
3
votes
1answer
226 views

Is it possible to reinstall stock Android on the Nexus 7

I'm new to rooting my phone, but I was thinking of trying out the KDE tablet interface on my Nexus 7. I'm probably not going to keep using this, since I like the huge app ecosystem on Android, so is ...
3
votes
1answer
377 views

How to root Samsung S6 using Linux?

All the guides that I can find online refer to the Windows-only "Odin" software. I also found an open-source alternative "Heimdall" but the Samsung S6 is not supported (and apparently it's not ...
2
votes
3answers
875 views

Non-root tethering app with Ubuntu client for Moto Droid on Verizon

I love PDAnet for android, works great on my Windows machine. Unfortunately, I just found out (after installing Ubuntuon my HP mini) that there's no Linux client. Can anyone recommend a tethering app, ...
1
vote
0answers
929 views

Heimdall/JOdin: “We could not obtain the PIT file. We tried, but it didn't work.”

I'm trying to root my Samsung S6, but I don't have a Windows computer. Luckily, JOdin works on Linux too and it connects to my phone, so I am now much closer to my goal. But now I am facing a new ...