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.

1
vote
0answers
11 views

How to run single application in permissive mode and remaing all in enforcement mode for SEAndroid?

I want to allow single application to run in permissive and remaining all enforcement mode for SEAndroid. For setting up that what needs to do.. Please suggest me solution for SEAndroid. Thanks,
0
votes
0answers
17 views

How to paste data from external clipboard

I use termux and want to use Vim editor. After installing it i can not paste in vim data from external clipboard. I checked that my vim support this functionality vim --version It returns +...
1
vote
0answers
14 views

KDE Connect Not Working [Ubuntu 16.04] : KDE Connect is not discovering phone and vice versa

I have installed the KDE Connect application on my desktop and also on my phone [Xiaomi Redmi 3S Prime]. But the desktop application would not detect my phone and vice versa. I have checked the ports. ...
0
votes
0answers
9 views

Can i remove Android-x86 only by deleting its folder?, installed above another Linux distro?

By accident i made an installation of Android-x86 in my /dev/sda1 partition, i have an installation of Fedora in that partition (luckily i did not reformatted the partition). So i did a reboot and ...
1
vote
1answer
28 views

How to disable dontaudit denials in SEAndroid

My application is working in permissive mode, but not in Enforcing mode for SEAndroid. Here i cleared (allowed) all denials,so now there is no denial logs coming in my logcat logs.So it might be ...
2
votes
1answer
44 views

How to get GPS data from Android phone to Debian?

I want to use my phone as a GPS receiver on Debian. I can connect the phone via usbc and wifi, but I have no Bluetooth on the pc. Anyone can explain how to get GPS data from the phone? The best thing ...
0
votes
0answers
8 views

Run the Ubuntu operating system compiled for the ARM64 platform from the microSD card on Android smartphone?

I have a Sony Xperia Z5 smartphone. Is it possible to run the Ubuntu operating system compiled for the ARM64 platform from the microSD card on it? Is it safe for the device? It's just about running in ...
0
votes
0answers
24 views

Print from Peppermint 9 networked through tethered Android phone

I have an 11 year old ACER Aspire One zg5 netbook running Peppermint 9 with a dead WiFi card, so I use an Android phone (Motorola One) to tether via USB to another PC; everything works with no issues (...
-1
votes
0answers
25 views

Kernel not detecting system files

I'm currently part of a small team developing a kernel for an Android wearable. We're tempting to add NFC support to a smartwatch which has the hardware required, just no kernel or Android support for ...
0
votes
0answers
13 views

I want ideas to trace which app is rebooting my android [migrated]

Some process is rebooting my phone every time it connects to Wi-Fi. I thought of connecting it to the PC and do an strace in init or zygote or the system server, but I don't know what to look for in ...
0
votes
0answers
16 views

lsusb shows USB WIFI NIC connected but no power to WIFI NIC

I have the following output with lsusb. What do i need to do to get power to my wifi card? iwconfig & ifconfig shows no wlan1 and i have no power going to the NIC. For more info see (detail on ...
0
votes
1answer
15 views

Alt-tab window list displays Android virtual devices as “Unknown”

I'm running multiple Android virtual devices at the same time. Although all of them have proper names in AVD Manager, on Alt-Tab list all of them are displayed as "Unknown". Is there any way to ...
0
votes
0answers
7 views

HDMI on 400px x 400px Displays Only Static

I am currently working on a small embedded display (400x400) which communicates via MIPI but I have an HDMI->MIPI adapter board. Using HDMI from a Mac computer runs the display perfectly fine. However,...
0
votes
1answer
22 views

Why can't echo and printf output variables that have only whitespace characters? [duplicate]

var1=$(printf "\n\x0A\n") var2=$(printf "\na\nb\nc") Using Android Terminal, the output of echo -e "$var1" (same for echo and printf) iss nothing, not even the 3 new lines. But echo -e "$var2" or ...
0
votes
0answers
9 views

Bluetooth file transfer PC-to-Android fails

on sending a file from a debian machine to an android device over bluetooth using the blueman-sendto command it finishes with an error: _on_properties_changed (usr/lib/python3/dist-packages/blueman/...
0
votes
1answer
138 views

Error executing 'msfconsole and bundle install' on termux - Android

I am getting the below error when executing the 'bundle install' command. So I run 'msfconsole' and get this: $ msfconsole waiting for server to shut down.......
0
votes
0answers
13 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
12 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
48 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
37 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
132 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
43 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
27 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
48 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
100 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
25 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
36 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
57 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
45 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
18 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
44 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
19 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
231 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
8 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
1answer
2k 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
50 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
137 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
52 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
80 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 ...
0
votes
1answer
61 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
115 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
15 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
6k 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
112 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
154 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
466 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
163 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
302 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 ...