Stack Exchange Network

Stack Exchange network consists of 175 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
7 views

Support TI WL18xx WiFi/Bluetooth module on iMX7 Running Android 8.0.0

I am using AOSP. I have a task to load Android onto an eSOMiMX7 board, which runs, among other things, an iMX7 processor and a TI wl18xx WiFi/bluetooth module. When I was brought on, the Linux and ...
0
votes
0answers
9 views

Is it possible to make bash support UTF-8 without any locale files installed?

I have installed the bash binary into an Android device (with sh as the filename), using an app that I don't fully trust. It interprets non-ASCII Unicode characters as random control codes, or has no ...
-1
votes
2answers
44 views

What is the bare minimum needed to run an android GUI program on ubuntu?

I have grabbed an android x86 ubuntu "app" that runs android on top of linux. How would I run that from a CLI only install of ubuntu, like ubuntu server? Or what is the bare minimum needed to ...
0
votes
0answers
23 views

Configuring virtio vsock for android (aosp)

I want to use virtio vsock for communication between host machine and vm. My host is running ubuntu. I understand by default virtio vsock module is enabled for ubuntu so I don't need to do any ...
0
votes
0answers
39 views

Genymotion unable to start because of VBoxManage error?

I installed VirtualBox and Genymotion on Ubuntu 18.04 But, when I run Genymotion it starts to boot and it shows me that it's not able to find VirtualBox, but looking at logs this fails: 2019-03-...
0
votes
1answer
40 views

Can the phone storage device of an android phone be shown when connected to Lubuntu?

My Android phone has 1GB Phone space, and 2GB MicroSD card. When I connect the phone to my computer (Ubuntu) via a USB cable, only the 2GB MicroSD card is shown in sudo parted -l and df -l commands. ...
0
votes
1answer
20 views

Does the Modifications Made In GNU Parted Affect the File System Table File?

My Nexus 7 (2013 WiFi) tablet PC has a corrupted partition table. I would now like to troubleshoot into Linux. After loading GNU Parted on the tablet and making a new GPT table with 30 partitions ...
0
votes
0answers
36 views

Debugging android kernel goldifish emulator under Mac OS Mojave

I need to debug android kernel goldfish under MacOS Mojave. So i cloned android-goldfish-3.18 and android-aosp-9.0.0_r22. I built aosp under macos while the kernel under debian. Obviously I built ...
1
vote
0answers
80 views

OpenConnect (ocserv) android app has TLS error on client side

I have a centos 7.6 vps as server with public ip address. Also i have an android phone + windows 7 os as clients with wireless internet. I installed OpenConnect (ocserv) on server machine & config ...
0
votes
0answers
20 views

X11 can run on ereader via ssh -X, but unable to use the touch-screen as the main display

I have successfully accessed X11 on a nook touch via ssh -X and started lxsession on a debian chroot. I tried being clever by making use of the omapflb driver. My intentions are to be able to use ...
1
vote
0answers
26 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
24 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
35 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
17 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
36 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
123 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
1k 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
2answers
43 views

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

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
99 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
24 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
48 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
69 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
57 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
93 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
9 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
3k 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
98 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
98 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
346 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
149 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
133 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
53 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
27 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
1k 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
70 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
89 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
42 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
287 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
153 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
354 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
156 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
412 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
128 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
120 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
642 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
40 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
223 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 ...