Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [linux]

Use this tag when your issue involves a Linux laptop/PC or addresses Linux-specific topics on your Android device. In the latter case, consider if other tags like e.g. 'command-line' or 'shell' might be better fitting. See the full tag wiki for additional details and hints. Note that questions purely about operating Linux-based OS on Android devices are off-topic.

Filter by
Sorted by
Tagged with
81 votes
3 answers
14k 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)?
lamcro's user avatar
  • 1,251
54 votes
9 answers
422k 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 ...
Garrett Fogerlie's user avatar
39 votes
3 answers
110k 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, ...
Izzy's user avatar
  • 91.2k
26 votes
5 answers
107k views

How do I run Windows or Linux as a virtual machine on Android?

I would like to run Windows XP as a virtual machine on my Android tablet. Since Android is based on Linux, is it possible to compile VirtualBox to run in Android? If not possible, is it possible to ...
StackOverflowed's user avatar
25 votes
4 answers
3k 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?...
Jonas's user avatar
  • 5,047
24 votes
1 answer
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 ...
jadkik94's user avatar
  • 577
21 votes
4 answers
1k views

Is there a "Linux friendly" handset manufacturer for Android phones?

My current situation is this: I use Mac OS X at home and Ubuntu Linux at work. My phone is a Samsung Galaxy S. Whenever I want to update my firmware the intended way (i.e. using Kies, I am aware of ...
bjoernz's user avatar
  • 536
19 votes
4 answers
165k 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 ...
Kshitiz Sharma's user avatar
19 votes
4 answers
28k 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 ...
bluegray's user avatar
  • 317
18 votes
11 answers
100k views

How to transfer files from an Android phone to a Ubuntu PC by using a USB cable?

Im completely new user and inexpert. I made a video with the phone. How do l transfer it to an ubuntu pc? I plugged in the usb cable but apparenntly my pc does not see the phone. Thanks for help
user57210's user avatar
  • 181
18 votes
3 answers
20k 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 ?
trish's user avatar
  • 191
18 votes
4 answers
9k 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 ...
Andrew J. Brehm's user avatar
17 votes
3 answers
7k 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 have ...
Yajo's user avatar
  • 273
16 votes
4 answers
2k views

Is Android based upon Linux?

Is Android based upon Linux?
user avatar
16 votes
4 answers
16k views

Can you run Linux command line apps on Android?

I'm brand new to Android; in fact I've never owned one. But I'm traveling all this summer, and I'm very interested in doing some programming while I'm on the run. QUESTION: Is it possible to run a ...
themirror's user avatar
  • 501
15 votes
3 answers
62k views

How to unpack/repack system.img of android ROM?

I have OnePlus 6T device which has A/B partition system and has a ROM of user type i.e [ro.build.type]: [user]. This device is rooted with Magisk. I have a requirement(Want to place customized ...
Vatish Sharma's user avatar
13 votes
3 answers
27k 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 ...
personne3000's user avatar
13 votes
6 answers
14k 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?
kirill_igum's user avatar
13 votes
5 answers
38k views

Where to find "adb" version 1.0.32 to install on Ubuntu?

My laptop has Ubuntu 14.04 as OS. I installed latest version of "android-adb-tools" available in "Synaptic Package Manager". After installation, adb command --help says that adb's version is 1.0.31. ...
PHP Learner's user avatar
12 votes
1 answer
6k views

Device not shown on ADB even after pairing for wireless debugging on Linux

Wireless debugging seems to pair, but then the device just does not show up. I tried it on Mac and it works, but it does not work on Linux. I am on a Samsung phone. I run adb pair [IP]:[PORT] [CODE]. ...
synti-chocolate's user avatar
12 votes
4 answers
8k views

Linux program to transfer file from/to an android device? [closed]

Do you know if there is a linux program (possibly nautilus plugin) to transfer file from/to an android device? What is in my mind is a program which does "adb push", "adb pull", and "adb shell ls" in ...
Mohammad Moghimi's user avatar
12 votes
4 answers
25k 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, ...
S Gregg's user avatar
  • 121
11 votes
6 answers
55k views

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

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 botched the adb commands because I was running "...
sjoy's user avatar
  • 211
11 votes
1 answer
2k views

How to get a more Linux like experience on Android?

Are there projects (e.g. ROMs) out there that offers a more Linux like experience on Android? Here are some things that I hope for easy installation on similar platforms shell access development ...
Tianyang Li's user avatar
11 votes
6 answers
24k 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 ...
jul's user avatar
  • 111
11 votes
2 answers
9k views

How to install the official Android 2.2 (froyo) on Samsung Galaxy S without Windows/Kies [duplicate]

Possible Duplicate: How do I upgrade Firmware on my Samsung Galaxy S without windows Froyo has been finally released for Samsung Galaxy S. The update seems to be only available via a Windows ...
auramo's user avatar
  • 211
11 votes
3 answers
6k views

Extract TWRP backups made with adb

I have a Samsung Galaxy S2 GT-I9100 smartphone with LineageOS and TWRP. Every week I make a backup with the following command: adb backup -f twrp-20170322.ab --twrp boot data system I may optionally ...
user avatar
11 votes
3 answers
3k 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. ...
hemantsb's user avatar
  • 393
10 votes
1 answer
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" ...
emeraldhieu's user avatar
9 votes
2 answers
16k 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 (...
endolith's user avatar
  • 3,045
9 votes
3 answers
2k views

Lots of "Input/output error" after connecting Samsung Galaxy S2 via USB

I'm trying to connect my Samsung Galaxy S2 (GT-9100, Android 2.3.4, I9100XXKI1) with my Linux box (Ubuntu 11.10 oneiric). I'm using the USB storage mode (Settings ➔ Wireless and network ➔ USB ...
Aaron Digulla's user avatar
8 votes
2 answers
4k 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 ...
Reflection's user avatar
8 votes
7 answers
14k 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 ...
Aaron Miller's user avatar
8 votes
2 answers
53k views

How to disable dm-verity on Android with "user" build type ROM?

I have One Plus 6T Android device which has a ROM of build type user. This device is rooted with Magisk and I want to disable dm-verity on this device. I have tried to run adb disable-verity but I got ...
Vatish Sharma's user avatar
8 votes
1 answer
21k views

How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable? Using adb shell, I am able to ...
Vatish Sharma's user avatar
8 votes
1 answer
2k 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?
Kshitiz Sharma's user avatar
8 votes
4 answers
27k 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 ...
airbornemihir's user avatar
8 votes
4 answers
15k 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 ....
Lespaul86's user avatar
8 votes
2 answers
12k 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 ...
starblue's user avatar
  • 388
8 votes
5 answers
15k 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 ...
peoro's user avatar
  • 199
8 votes
2 answers
333 views

Linux on Android and HW support

I see that there are some projects about installing Linux on an Android Device, but how is the Hardware support? If I install linux, can I have access to the hardware via Python, like in Android?
Mascarpone's user avatar
8 votes
2 answers
1k views

Do you have to root an Android device to install Ubuntu?

Just as the title says. In order to install another ARM based Operating System or to dual boot your phone, do you have to have root access? I'm currently using a Motorola Atrix, not sure if that ...
Mat Nadrofsky's user avatar
8 votes
2 answers
955 views

Offline safe sync directory on sd card on non-rooted Android with Ubuntu PC

Is there a way how to offline safely synchronize directories between sd card on Android which is not rooted and PC with Ubuntu? Safely = using secured connection between the devices (for example ...
Tom's user avatar
  • 211
8 votes
1 answer
7k views

adb backup hangs and never finishes (Linux)

Whenever I run adb backup for a full backup, it never finishes. In Terminal, the command hangs indefinitely, and on the device, the backup cycles through a few apps before hanging on one (more about ...
GreenRaccoon23's user avatar
7 votes
2 answers
10k views

Telnet from Linux to Android devices

I am attempting to telnet from my Ubuntu commandline to my Android phone and pad using the following syntax: > telnet 192.168.0.4 Trying 192.168.0.4... telnet: Unable to connect to remote host:...
sisko's user avatar
  • 179
7 votes
3 answers
17k views

Is there any Netcat like application available in Android OS by default, like most of the Linux systems?

In most Linux systems Netcat is installed by default. Is any Netcat-like application installed by default in Android OS?
Racs Chisty's user avatar
7 votes
1 answer
8k views

How to boot Ubuntu persistent live USB on Android?

I'm discovering the possibilities offered by persistent live USB using Ubuntu 19.10 and I was wondering if it would be possible to boot with Ubuntu on Android (i.e. using your computer capabilities ...
user avatar
7 votes
3 answers
20k views

X Window with GNURoot

I have installed GNURoot (Fedora flavour) on my Samsung Galaxy Note Pro 10.1 (2014 edition). I am trying to get GUI applications to work (gvim, for starters), but I've been unsuccessful so far. I've ...
Vedran Šego's user avatar
7 votes
3 answers
13k 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 ...
krlmlr's user avatar
  • 173
7 votes
7 answers
37k 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 ...
Questioner's user avatar
  • 3,729

1
2 3 4 5
13