Questions tagged [android]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

What is the link to the android site? [migrated]

URL link needed for the Android site for these questions same as Linux. Thank you.
0 votes
0 answers
121 views

Wifite on Termux in Android device doesn't find wireless interfaces

I try to run and start Wifite on Termux on my Android phone but received this error: . . ...
0 votes
0 answers
48 views

Android not use DNS personal! (Spoofing ipv6 DNS possible?)

I have a personal DNS server (use ubound) in my network. I disabled my home wifi router's DNS to use my own and pass my personal router's DNS parameters for ads blocking. All home devices work ...
0 votes
0 answers
39 views

no output of su shell

I am running this command in android 1. pkgName=#some package name su -c "cmd A && cmd B && am force-stop $pkgName" > /storage/emulated/0/log.txt 2>&1 the commands ...
  • 140
0 votes
0 answers
132 views

How fix "No rule to make target 'arch/arm64/boot/dts/kona-rumi.dtb', needed by '__build'. Stop

Previously, I had the same error related to the file: arch/arm64/boot/dts/qcom/apq8016-sbc.dtb, but I solved it by deleting the line subdir-y += qcom from the arch/arm64/boot/dts/Makefile. Now a new ...
0 votes
0 answers
18 views

Can't enable IPv4 forwarding via adb shell

I've got a rooted Android phone and am trying to enable IPv4 forwarding via adb shell. If I do host$ adb shell phone$ su -c "echo 1 > /proc/sys/net/ipv4/ip_forward" then it works just ...
0 votes
0 answers
25 views

bash: sdkmanager: command not found (chrome os linux)

I tried to install Android SDK Command-Line Tools: unzipped commandlinetools-linux-9477386_latest.zip made directory a/cmdline-tools/latest and put there command line tools files After I tried to ...
  • 1
0 votes
2 answers
35 views

Can you assign a host user to an application within a virtual machine?

As I was reading the Android Developer Guides, I was confronted with the following statements: The Android operating system is a multi-user Linux system in which each app is a different user. Each ...
0 votes
0 answers
115 views

unrecognized option '-EL'

I'm trying to build an android kernel. On every build I get a few errors: /usr/bin/as: unrecognized option '-EL' clang-16: error: assembler command failed with exit code 1 (use -v to see invocation) ...
0 votes
0 answers
54 views

Freeing memory before running command

Issue When I launch PowerShell under Ubuntu in UserLAnd for Android, it oftentimes will result in the following error: Failed to create CoreCLR, HRESULT: 0x8007000E If I retry a few times, it ...
0 votes
0 answers
14 views

Is there any user friendly 64-bit android emulators on Pop_OS?

I have recently switched to Pop_OS and am currently in the process of trying to get an android gaming emulation experience similar to Bluestacks. I just tried Genymotion, which ran really well, ...
0 votes
0 answers
68 views

Everytime I try run anything Android studio related Java-related errors show up

for example when I run sdkmanager this error displays: Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api....
  • 1
0 votes
0 answers
20 views

udev: ID_MODEL is missing at the remove event

When the phone is connected to the computer, udev determines variables by the "add" event. But for some reason, when the "remove" event occurs, there are no variables such as ...
2 votes
2 answers
586 views

Script to start Android LineageOS with Waydroid in an X11 session

I would like to make a script to start the Waydroid Android container (LineageOS). Currently, I can start a LineageOS virtual phone without issues with: sudo systemctl start waydroid-container weston ...
  • 1,311
2 votes
0 answers
36 views

nmap is unable to find all android tablets connected to network

nmap is unable to find all android tablets connected to network There are around 40 tablets connected to the same wifi in 192.168.100.0/24. I used nmap to ping all devices in the subnet and find their ...
  • 11
0 votes
1 answer
55 views

How to use whatsapp messenger in androvm?

I am trying to use whatsapp in androvm and when I open the application instead of asking for my mobile number, it shows me the QR code that appears in whatsapp web. I have tried with older versions of ...
1 vote
1 answer
51 views

How to run linux distributions on android tablets?

I heard that android uses a linux kernel. Does that mean android tablets can run linux distributions like debian or arch? How can I replace stock android with linux on a tablet?
1 vote
0 answers
23 views

Accubattery for linux

I use Accubattery [1] app on my Android, to (try) improve phone's battery health over time; I'd like to have a software like that on Linux; Do you know something similar? Basically it a timer that ...
  • 2,967
0 votes
0 answers
61 views

Sound crackling on Arch after installing android-studio

I installed android studio for flutter app development and after that sound from any source starts crackling every 5-10s. Sounds starts crackling only when I open something that is related with ...
  • 1
0 votes
1 answer
30 views

Why did rsync hose my root file system when trying to merge in drivers?

On a computer I've been working on trying to get going for a LONG time now and still have not completely managed to do so, I tried the following, based on a suggestion from here: How to copy-merge two ...
0 votes
1 answer
91 views

How can I create a 'rewrite' for a path in Termux

Problem I'm on Termux, and on Termux it's not /usr, it's /data/data/com.termux/files/usr. This causes problems at times when running scripts (mostly bash and make) that weren't designed with Termux in ...
-1 votes
2 answers
161 views

Restart currently focused app using android ADB

I tried on android ADB Command: dumpsys activity activities | grep mFocusedApp Output: mFocusedApp=ActivityRecord{u0 com.some.app/.some.AppActivity} Expected: com.some.app I need the package name ...
  • 5
1 vote
1 answer
1k views

No network in Waydroid: network is unreachable

I've followed Waydroid arch-wiki page and have installed waydroid, binder_linux-dkms and waydroid-image-gapps. When I run waydroid it works perfectly except for the network part. I do have new ...
  • 1,062
0 votes
1 answer
58 views

Wi-Fi DHCP debugging for cell phone needed

Every then and now, my android cell phone cannot connect to my Wi-Fi and says: unable to obtain IP address. After some time (sometimes minutes, sometimes hours) connection is back to normal. This is ...
0 votes
0 answers
39 views

Found multiple files with the same name in the same directory on my Android phone

I just discovered the following interestingness (after some confused spelunking) when my backup script crashed after its "number of files indexed == number of files transferred" assertion ...
  • 949
-5 votes
1 answer
101 views

Installing kali on android

Its my 6th time trying to install Kali on my Android last errors i capitalized it and fixed it but now It hang up on configuring netHunter on termux. I do the same procedure and restart doing all but ...
0 votes
1 answer
155 views

How to add boot entry in systemd for android x86 in arch linux?

I have my kernal, ramdisk.img, initrd.img, system.img and data folder, all in one folder named android in my root directory, as mentioned in several tutorials on dual booting android x86 with linux. ...
1 vote
0 answers
248 views

Where is my Android device mounted inside my Linux?

I am trying to run a bash script on certain folder inside an Android phone, mounted in my Fedora Linux box. I can see that the phone is there with adb devices (no, I do not want to use ADB for this!), ...
0 votes
0 answers
19 views

dpkg dpkg-split invocation problem on armhf

I'm trying to make a bullseye debian chroot work on an old arm phone (Archos Titanium 40C) running kitkat (rooted). It seems to works pretty well (including openssh-server), but dpkg doesn't work on ...
0 votes
0 answers
20 views

How to perform 2 fFactor authentication (Password + PublicKey) using libssh2 client libary?

I am trying implement 2 factor authentication(ie. password + public key ) in libssh2 library. libssh2_userauth_password(pSftp->session, pSftp->user, pSftp->passwd) ...
0 votes
0 answers
12 views

What chipset options are available for engineering a new Android IoT device with long term support?

I'm interested in modern chipsets for use in developing a custom IoT device that can run Android. There are many chipsets and SoC's available, but they seem to be targeting smartphone development. ...
  • 101
0 votes
0 answers
29 views

How to use terminal in android to disable big cores on samsung s9+ snapdragon 845?

How to use terminal in android to disable big cores on samsung s9+ snapdragon 845? I'm looking to create a script using SManager to return to stock and a script to disable core 4,5,6,7 because core 0,...
0 votes
0 answers
221 views

Temporary failure in name resolution, only in apt

I'm using Kali nethunter on my A12 phone. Network is supposed to work out of the box. apt update gives: Ign:1 http://http.kali.org/kali kali-rolling InRelease Ign:1 http://http.kali.org/kali kali-...
  • 1
0 votes
0 answers
50 views

"Could not enter folder" on Android device connected by usb

I'm using: Debian GNU/Linux 10 KDE Frameworks 5.54.0 Qt 5.11.3 (built against 5.11.3) When I connect my Xiaomi Mi A1 by USB to the laptop, a notification appears For some reason, there's a ...
0 votes
1 answer
71 views

How to send text file content with xmppc command?

In the Termux app on Android I get a text file with all the SMSs like this: termux-sms-list >sms.txt And I need to send its content over xmpp automatically by script. The available command is ...
2 votes
0 answers
129 views

Quirky USB Tethering

On my Arch Linux machine I have selectively slow connections to some particular resources, for example: to Arch repositories (100 KiB/s, tops), to a Minecraft server or to anything—I couldn't find the ...
0 votes
1 answer
113 views

bash script which runs fine gives read -p no coprocess under sh

This multi select menu works fine under bash, but when i try and it under sh on android it fails with the error "read -p no coprocess" Any suggestions are welcome... options=("AAA" ...
0 votes
1 answer
656 views

Is it possible to install a linux based OS on an android tablet as dual boot exactly like a desktop?

My problematic is the following. I have a desktop (Ubuntu 18.04) where there is my databases and it can be used as a server. With a trivial laptop using a Linux OS I can easily communicate with my ...
  • 103
2 votes
0 answers
45 views

Overlapping address ranges in /proc/.../maps

On some Android devices (possibly only on Android 10 and newer), looking at /proc/self/maps, I observed entries like the following two lines: 79cfd4d000-79cfff5000 --xp 0012e000 fd:00 286 /apex/com....
0 votes
0 answers
2k views

How to run ARM Android apps smoothly in x86 Unix-like OS?

I also mean AMD64, x86_64 and i386 PCs by saying x86. Many common apps only support Android and iOS. That may cause inconvenience to Linux users. I wonder if there is any way to run ARM Android apps ...
user avatar
0 votes
1 answer
2k views

how to make `mkfs.ext4 /dev/block/sda1` quickly?

I develop an application on Android, need to manage the disk, my program is root permission to run in the background of Android.One problem is that formatting disk partitions is so slow that it takes ...
1 vote
1 answer
1k views

How can I connect from Linux computer to a network created by "USB tethering" of an Android phone?

I turned on "USB tethering" on an Android phone with mobile service, and connected the phone to a Linux computer using a USB cable. On the computer, which network interface is used for ...
  • 95.8k
0 votes
1 answer
2k views

Why can't I connect to a wifi hotspot using wpa_supplicant?

I turned on "Wi-Fi hotspot" on an Android phone with mobile service, and why can't I connect to the wifi on my computer? Thanks. $ wpa_passphrase "moto g pure" "mypassword&...
  • 95.8k
0 votes
0 answers
75 views

Forward Traffic to virtual box (Genymotion)

I am running an Android virtual machine (Samsung Galaxy S10 & android 10.0 API29) using Genymotion. I have a VPN running there (OpenVPN protocol). Now I am running all this over my Debian based ...
0 votes
1 answer
31 views

Is it possible for data to be persisted when redeploying a parition table to a previously used disk?

I am currently working on a project which uses a custom Android operating system, the project requires going back and forth between different versions of this OS (android 5 and android 9 respectively)....
0 votes
1 answer
340 views

USB Tethering shows as Ethernet

I have NetworkManager on my Arch Linux machine. Output of ifconfig: enp0s18f2u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.241.167 netmask 255.255.255.0 ...
1 vote
1 answer
82 views

Is there a command to get the current memory address of the current shell script/command?

I wanted to do some protection against the memory dumping when users can recover my shell script's commands using the (delete) tag and then recover it from its memory address. So I thought it could ...
  • 111
1 vote
0 answers
26 views

get all the files to be compiled from .config file

I have an old kernel and I didn't manage to get the toolchain to cross compile it. So I decided to upgrade this version of the kernel. My question is how can I know all the files(source, blobs and ...
  • 27
0 votes
0 answers
62 views

xedit fails and exits with fileMenu error

So I am trying to run xedit version 1.2.2 in Termux on my phone. I am using XServer XSDL for my X11 Server. ~ $ export DISPLAY=:0 ~ $ export PULSE_SERVER=tcp:127.0.0.1:4713 ~ $ export XEDIT=xedit-1.2....
0 votes
1 answer
3k views

/proc won't mount in kali linux running under Android

I'm now using kali Linux on termux. I had several problems like /proc is not mounted, /proc permission denied, etc. ps -auxtells this: > root@localhost:~# ps -aux > > Error: /proc must be ...

1
2 3 4 5
12