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.

What is Linux?

Linux is a computer operating system with is based on free and open-source software. Android shares some components with the Linux operating system, where the Linux kernel is the most popular and important shared component.

Related tags

  • : a text interface to enter commands interactively
  • : the core component of the underlying Linux system
  • : the shell usually provides a command-line interface to the underlying operating system
  • : on Android, a terminal app provides command-line access to the shell
635 questions
82
votes
3 answers

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
  • 1,261
  • 1
  • 11
  • 14
55
votes
10 answers

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 drawing tablet when connected to a Linux computer? I…
Garrett Fogerlie
  • 705
  • 1
  • 7
  • 11
40
votes
3 answers

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, and a corresponding line in…
Izzy
  • 91,536
  • 76
  • 351
  • 968
26
votes
5 answers

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 run WinXP as a virtual machine in any way on an…
StackOverflowed
  • 313
  • 1
  • 3
  • 10
25
votes
4 answers

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
  • 5,087
  • 8
  • 37
  • 47
24
votes
1 answer

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 or a custom ROM (I doubt it) or just if it's…
jadkik94
  • 577
  • 7
  • 15
21
votes
4 answers

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 Odin), I have to boot into an old Windows XP…
bjoernz
  • 536
  • 3
  • 13
19
votes
3 answers

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
  • 301
  • 1
  • 2
  • 4
19
votes
4 answers

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 with root permissions.
Kshitiz Sharma
  • 489
  • 2
  • 5
  • 13
19
votes
4 answers

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 select internet pass-through from the usb menu,…
bluegray
  • 317
  • 1
  • 2
  • 8
18
votes
11 answers

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
  • 181
  • 1
  • 1
  • 3
18
votes
4 answers

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 Linux system to run Android applications…
Andrew J. Brehm
  • 367
  • 1
  • 4
  • 8
17
votes
3 answers

Why are there not generic phone OS installers?

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 to tweak a bit the BIOS first). The only…
Yajo
  • 273
  • 2
  • 4
16
votes
4 answers

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 sepolicy file under system_root directory) to modify…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
16
votes
4 answers

Is Android based upon Linux?

Is Android based upon Linux?
jason
1
2 3
42 43