Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [android]

An operating system running on top of the Linux kernel, targeting mobile devices such as smartphones and tablets.

0
votes
0answers
3 views

Inverse of hciattach (got HCI over usb, want HCI over UART)

The previous default Bluetooth stack in Android was Bluedroid, which for some odd reason only supports HCI UART and not HCI USB. I have a BT interface that speaks HCI that I've integrated on the ...
0
votes
0answers
8 views

Why can't I see my mobile device on DevTools while running adb on a Docker container?

I'm trying to debug an app (or simply inspect pages in the Chrome browser) on my mobile device and I'm trying to use docker containers for housing adb. Everything goes well while starting up the adb ...
1
vote
0answers
17 views

How are Linux kernel modules installed into the Android system.img

I have a question relating to building OS images for devboards such as the Hikey960 and Hikey970. When building a Debian image one has to install the kernel modules built in the kernel into the ...
0
votes
0answers
9 views

Linux Deploy - LMMS and Audacity

I'm using Linux Deploy on an Android phone, here are the installation and device specs: My device is SM-G900F, LineageOS 15.1, Debian stable, XFCE, installed as folder, using XSDL, chroot container, ...
0
votes
0answers
17 views

Selective Sync between Android folder and server [closed]

i'm looking for a solution to keep latest files (mostly photos and videos) on my android phone while keeping the old ones available via server. The behavior i'm looking for would be : a folder (or ...
0
votes
0answers
13 views

unknown value 'cortex-a73.cortex-a53' for -mcpu

Im trying to compile an android kernel. Im using the sourcecode from https://github.com/tytydraco/hex_jasmine . As suggested from the developer i installed a fresh Arch linux box on VmWare 6.5. with ...
0
votes
0answers
18 views

No battery files created. Cannot determine battery state

I'm trying out Phoenix OS (Android port for PC). I really like it. One big problem is, that somehow, I do not have any battery information. In /sys/class/power_supply is see the folder for the adapter ...
1
vote
1answer
54 views

Corrupted SD card is readonly and not mounting

I'm having issues trying to recover a corrupted micro-SD card (not the data, just the card). I think it was formated to be part of the internal storage of an Android phone when that was an option. # ...
0
votes
0answers
5 views

Chrome OS: How to cross reference a process to an active application

Short Question: How can I find the process ID of an app running an open window on my Chrome OS device. Background: I'm using Android Apps on Chrome OS. An Android adware app is popping up two ...
0
votes
0answers
392 views

Add Prime OS (Android_x86_x64) to grub menu

I have debian dual boot with windows and try to install prime os also, while install it i didn't install it's grub because i have debian grub, but after installation i can't found it in grub . ...
1
vote
1answer
16 views

Confluence Site viewing via Android-Chrome Redirects URL to many times but Desktop Chrome and other Browsers do not [closed]

I just posted a URL and tested viewing it I noticed that in Chrome on Android it redirects too many times to the following URL. I tried clearing my cookies and browsing data but it still did the same ...
1
vote
2answers
71 views

Where is the network data is stored on linux system?

is there a way I can find information about my wifi connections? Which networks I was connected to and when? I had tried to look for this information under proc/net but found nothing. (To be more ...
2
votes
0answers
23 views

How to read information about wifi connection from proc - net? [duplicate]

Is there a way I can get information about my current WiFi connection on my android? Information like the name of the WiFi network, connection start time, connection duration etc.? I looked inside ...
1
vote
1answer
41 views

I cannot enter into an wlan ap created on raspberry with my android phone, but it works on windows

I have a Raspberry PI Zero W with Raspbian on it. I have created with it a WLAN-AP. I can access it with my Windows 10 computer without any problems, with my Android 8.1.0 phone it don't work. The ...
1
vote
0answers
44 views

What is needed to make a busybox init boot to a shell on an arm device/phone?

I compiled busybox with arm-linux-gnueabihf for and Cortex-A/armv7-a arm device/phone. When I run the binary on android it works well. I decided to modify the android boot image. In the boot image ...
-1
votes
1answer
51 views

Bash command “reset” — dash (sh) equivalent?

When the fonts get messed up in dash (jackpal.androidterm), how do I reset that one? When printing contents of binary files, special characters can mess up the terminal character set. How can this be ...
1
vote
0answers
63 views

How to dump stack trace for all processes in Linux?

I am trying to track down a bug on an Android device that involves IPC between several native processes. At a given point in time I would like to dump native stack traces for all threads in some or ...
0
votes
0answers
6 views

Using Android FOTA system on general Linux systems

The Android FOTA API is really great imo, even though I really dislike almost everything else about Android. Here's why it's great: built-in authentication and integrity checks inter-OS communication ...
-1
votes
1answer
753 views

How to solve error of missing destination file operand after '/sdcard/ngrok/ngrok ' in termux [closed]

I am using termux in my android but I get the following error when I want to copy some data from sdcard to $HOME IN TERMUX the following error shows up: missing destination file operand after '/sdcard/...
0
votes
1answer
62 views

Android kernel compiling error

When compiling the kernel, if I choose Ethernet Gadget (with CDC Ethernet support) or Network Control Model (NCM) instead of the Android composite device, I get an error: drivers/built-in.o:coresight-...
1
vote
1answer
55 views

Moving .android on Linux

Android Studio complains that it can't launch the emulator due to a lack of space. The folder ~/.android contains (among others) the virtual devices and is therefore quite big. I would like to move it ...
0
votes
1answer
181 views

Android Serial Port is being used for no permission to open

I have a Wandboard IMX 6 with Android OS. I can't read RS232 data. I was wrote an app for this on QtCreator with C++. I have an issue. When i pressed the connect button i take serial port is being ...
1
vote
3answers
1k views

Does “Linux” require Python? [closed]

One of my friends told me that without Python, Linux cannot get ip, cannot open network stack and can't make "port switching", even he thinks kernel can't boot without Python. Is python really a ...
1
vote
1answer
131 views

How to adjust headphone gain in /sys/kernel/sound_control/headphone_gain?

I want to increase headphone gain. So I have found the file location at /sys/kernel/sound_control/headphone_gain. cat /sys/kernel/sound_control/headphone_gain shows 0 0 For writing some desired ...
1
vote
1answer
49 views

Output of `ip route show` seems incomplete: no default route, but internet is reachable anyway

On my Android phone, where I have a Debian system running in userspace (apt, GNU tools, and other software runs in a chroot, accessible through ssh), the routing table seems incomplete. Output of ip ...
-2
votes
1answer
50 views

Obtain information on encrypted android card image

For several days now I have tried to recover the key for an encrypted android-container (android_expand, used as internal storage) without success. As all kinds of stuff of the past years is on that ...
0
votes
0answers
25 views

Bluetooth Simple Secure Paring issues

I have a bluetooth capable chip and an android, I am trying to have the two communicate over RFCOMM. I have an android app and a python server on linux that works, the only issue is my pairing ...
-2
votes
1answer
789 views

How to mount USB device using jmtpfs on Linux (Debian 9)? [duplicate]

Device Information Settings -> System -> About device SAMSUNG-SM-G900R4, Android version 6.0.1 Computer System Information (Terminal command: uname -a) Linux debian 4.9.0-8-amd64 #1 SMP ...
0
votes
0answers
46 views

errors while compiling android kernel

I'm trying to compile the android kernel which I have patched it with some application patch file, which have changed the kernel. here is the the compilation error: androtrace/androtrace.c: In ...
2
votes
2answers
70 views

Cannot list contents of directory with 0755 and owned by current user

The platform is a rooted Android 8.1 phone (Magisk) with the Termux Android terminal emulator and Linux environment app installed. I use this as a server on the go. After connecting a USB smart card ...
1
vote
0answers
35 views

Can't format Samsung SD Card Android-Meta [closed]

I have a Xiaomi A1 with Android on it and I use my Samsung MicroSD Card Evo+ 129 GB, as as an internal storage. For no reason, it's stopped working and asking me to format it. The issue is, the ...
2
votes
1answer
180 views

How does Magisk on Android work as su without setuid and capabilities?

I've read in another answer that on Android the su binaries avoid needing to be setuid by using filesystem capabilities like cap_setuid. But then I tried to check this, and to my surprise, I found no ...
3
votes
1answer
139 views

Serial port ignoring custom divisor

I am trying to run a serial port at 3.25Mb/s by applying a divisor of 2 to a baud base of 6.5Mb/s. I am using an IoT device (Telit HE922-3GR) running android 6 with built in serial ports, the proc/tty/...
0
votes
1answer
253 views

insufficient permissions for device

While using the command adb root the output I obtained is adb: unable to connect for root: insufficient permissions for device: verify udev rules. See [http://developer.android.com/tools/device.html]...
1
vote
2answers
129 views

Bash replace string with command

I have a command (logcat) which outputs a long log like this: 07-27 09:26:22.416 17574 17886 D SurfaceControl: Excessive delay in setPowerMode() 07-27 09:26:22.421 17574 17599 I PowerManagerService: ...
0
votes
0answers
304 views

Android does not boot properly and services can't start due to read only

I have a sabresd based reference board and I have ported android O from official source. I am facing a problem that none of the service works. All are getting killed. In my case adb is not present as ...
1
vote
0answers
113 views

Error in mounting rootfs in android

Failed to make and chown /acct/uid_0: Read-only file system I have a i.xm6q sabresd reference board and another is a development board based on i.mx6. I'm trying to port Android O on development ...
1
vote
0answers
84 views

Disappearing android studio from the menu [closed]

I'm new to Linux and using Mint 19 Cinnamon, I've tried to make a menu shortcut of the android studio by passing this way in the android studio: Tools → Create desktop entry after these ...
0
votes
0answers
508 views

How to prevent “Unable to open MTP device” popups from opening?

System: Linux Mint 18.3 Cinnamon 64-bit which is based on Ubuntu 16.04. Cell phone: Samsung Galaxy S II (Android 4.1.2 Jelly Bean (API 16)) Problem: There is an unstoppable amount of popups on one ...
0
votes
0answers
39 views

How can I set up openVPN on Ubuntu 16.04 and which app do I need to connect to it on Android?

I tried this but I was unable to start NetworkManager after setting up the new interface. How can I set up openVPN on a GUI-less Ubuntu 16.04 and which app do I need to connect to it on Android?
2
votes
1answer
143 views

Install Linux and Android in a x86_64 device with preinstalled android

I have a tablet with a x86-64 intel processor, which is a Chuwi Hi12. This tablet can boot an USB device, so I can boot Linux (ArchLinux) in this tablet. Also, I can install Linux in this device ...
0
votes
0answers
69 views

How to set up fakechroot along fakeroot using mostly only system commands?

Situation I downloaded an android Terminal App which gives access only to system commands (there’s no app with native aarch64 support yet). Neverless, as I’m having more 24Gb of free ext4 space in ...
0
votes
0answers
450 views

AFT - Where is Android device mounted automatically on Arch Linux?

Having read this page, I decided to give AFT a try, so I installed it by sudo pacman -S android-file-transfer, connected the device (OnePlus 3T) to the computer through USB, set it to "Transfer files ...
27
votes
2answers
3k views

Why there are `/lib` and `/lib64` but only `/bin`?

In my laptop: $ cat /etc/issue Ubuntu 18.04 LTS \n \l There are two different folders for libraries x86 and x86_64: ~$ ls -1 / bin lib lib64 sbin ... Why for binaries exists only one ...
0
votes
2answers
268 views

Copying folders from MTP device using libmtp (over USB) [duplicate]

My question is very closely related to this question: How do I download complete folders (not only single files) with libmtp from an Android device to my laptop? I'm on Debian 9. There is a blog ...
2
votes
0answers
150 views

Accessing Android smartphone (Galaxy S3) via an unstable USB connection

I'm attempting to connect to an Android smartphone (Samsung Galaxy S3) whose screen is broken (i.e. completely black) in order to save all files on it. The whole phone is (almost) completely beyond ...
0
votes
0answers
35 views

Android's touchscreen key events on Linux

I am working on a Halium port for an Android device that has a Synaptics touchscreen (synaptics_dsx driver). The port is on a mature stage, has a Wayland compositor running, and the apps are provided ...
0
votes
1answer
226 views

How to unencrypt a micro SD card?

Few days ago I had to reformat my smartphone (Moto G5 with Android 7.0) but after, I received a very bad surprise when Android put me a message telling me the micro SD card was unreadable because ...
0
votes
1answer
74 views

Is it technically possible to install Ubuntu Server on a Android Device? [closed]

Can I install a normal Ubuntu Server on a Android device? Do I have to compile it first?
0
votes
1answer
189 views

How to change hostname on GNUroot debian?

I have installed GNURoot Debian on my Android phone and I ran a server in it. Then I tried to change hostname and also assing a name to my IP. I have changed both files in /etc/hosts/ and /etc/...