Questions tagged [android]
An operating system running on top of the Linux kernel, targeting mobile devices such as smartphones and tablets.
617 questions
1
vote
0
answers
63
views
How to fix selinux error: avc: denied { write } because the source level (s0:c145,c256,c512,c768) and target level (s0) are different
My Android app is trying to write to the /dev/video0 file but is getting the following AVC denial:
10-31 08:31:42.987 4786 4786 W com.my.app: type=1400 audit(0.0:41): avc: denied { write } for name=&...
0
votes
0
answers
46
views
Android Studio emulator gamepad support
I've installed Android Studio using flatpak on Debian. I've tried connecting my gamepad both by bluetooth and USB, but the apps in the Android Studio emulator don't react to its buttons. Is there a ...
0
votes
1
answer
95
views
mount Android Studio's system.img
I want to customize boot process of Android in emulator.
system.img runs normally in Android Studio Emulator. This file in
https://dl.google.com/android/repository/sys-img/google_apis/x86_64-26_r16....
1
vote
1
answer
211
views
Adb is giving an undefined symbol: libusb_get_ssplus_usb_device_capability_descriptor error, and I am unsure how to solve this?
I am trying to run adb, in order to backup my android device. I installed android tools via dnf (sudo dnf install android-tools), but adb is giving a symbol error, specifically:
adb: symbol lookup ...
2
votes
2
answers
203
views
Android pings wrong network
My phone (Google Pixel 6 and Android 15) is connected to both 4G and a Wifi network with no Internet. The wifi network gives me IP address 192.168.4.2 and I know there's a WIFI Access point on 192.168....
-3
votes
1
answer
1k
views
How to Install Kali Linux Nethunter on SD Card
I am a user of kali linux for ~1 year and I usually boot it on a virtual machine.
Now, I recently found my very old Samsung J2 (Android 5.1.1) which is still in mint condition; and I decided to ...
1
vote
0
answers
122
views
Unable to Mount USB Drive on Nethunter Terminal
I’m trying to copy files from my Nethunter terminal (running on a rooted Android tablet) to a USB drive, but I’m encountering issues when attempting to mount the USB drive.
The USB drive is detected ...
0
votes
1
answer
128
views
data directory for PostgreSQL is owned by the kali user instead of the postgres user, on unrooted Android phone which cause service to fail to start
I’m new to Kali Linux and Termux, and I’m trying to set up Kali NetHunter on my unrooted Samsung Galaxy S10 running Android 12. I have installed Kali NetHunter and am currently using the latest ...
3
votes
1
answer
179
views
tar compress inside android adb su root -c sub command produces empty tar file
I just stumbled upon a weird behavior on android:
echo test>/data/local/tmp/test.txt
su root -c "cat /data/local/tmp/test.txt && \
tar -cvzf /data/local/tmp/test.tar.gz /data/local/...
0
votes
0
answers
3k
views
Plugin "null" could not be loaded, do you want to remove it from xfce4-panel configuration?
I have nethunter android tablet. I set up the local Kex server, when i start the KEX client I get this error:
Plugin "null" could not be loaded, do you want to remove it from xfce4-panel ...
0
votes
0
answers
76
views
Getting these make command errors while compiling an android kernel
──(root㉿kali)-[~/Documents/kernel-source-alioth-stock]
└─# make -j2 CC=clang O=output/ $config
make[1]: Entering directory '/root/Documents/kernel-source-alioth-stock/output'
....
HOSTLD scripts/...
1
vote
1
answer
175
views
How to connect to a bluetooth device already connected to a smartphone
I have a Bluetooth headset (Soundcore Q30), and when it is connected to my computer, I can still connect to it via my Android smartphone and play sound on it.
However, if I want to do the opposite and ...
-4
votes
1
answer
137
views
Thousands of Linux distros that have an UI offer a Terminal going on a shell. But on Android it seems that such Terminal cannot exist. Why?
My question will depict that I can't figure the real distance between an Android operating system and a Linux distro.
When I try most distros that have an UI, from the earliest to the most recent one, ...
0
votes
0
answers
104
views
How to get detailed diagnostics of WiFi connection problems from the terminal?
I've been trying for days to connect a live Tails system to a mobile WiFi hotspot on an Android 9.0 device without success. What I have done so far:
Set up a mobile WiFi hotspot in Android protected ...
0
votes
0
answers
467
views
Help with IKEv2 VPN Connection Error: NO_PROPOSAL_CHOSEN
I’m currently having trouble setting up an IKEv2 VPN connection on an Android device using strongSwan as the VPN server. Despite having a valid certificate and key setup on both ends, I keep getting ...
0
votes
2
answers
157
views
Device name of a Linux system required for identifying it as an "allowed device" on a WiFi hotspot?
I want to add a Linux system to the white list of a WiFi mobile hotspot running on Android. Doing hostnamectl returns, amongst other information, a Static hostname, an Icon name, a Machine ID, and a ...
0
votes
0
answers
62
views
Two different versions of the same program
I ended up needing to download android studio (AS) multiple times as I downloaded a old version first accidentally. Now whenever I start AS via the terminal ( I type cd /usr/local/android-studio/bin ...
0
votes
1
answer
71
views
Flash drive won't mount after rsync
After using rsync to copy mp3 files to a micro-sd card, the card will not mount on Mac or Android. The rsync command was
rsync -aP source destination
Why would this have messed up the drive?
Disk ...
0
votes
1
answer
549
views
Android's emulator command crashes with Segmentation fault on Linux Mint 21.3 Cinnamon
I have Linux Mint 21.3 Cinnamon running and installed Android studio including its emulator.
Now a lot of people run into all sorts of problems when trying to actually emulate a device, but for me the ...
0
votes
0
answers
90
views
OpenVPN works on Android mobile but doesn't work on Arch Linux
I have OpenVPN with username/password on my Android mobile which works perfectly. I installed OpenVPN on my Arch Linux and created a username/password file in home directory and wrote it terminal:
...
0
votes
2
answers
395
views
git clone error: bad line length character
I am trying to set up a GIT server in my LAN & use it with my Android phone through Termux.
My PC runs Fedora Silverblue 40.
Some tracelogs:
On my PC (all as user git):
$> ip addr show wlp5s0 ...
0
votes
4
answers
2k
views
Is it possible to use bluetooth for transferring files between an Android phone and a Linux computer?
I was wondering if it is possible to use bluetooth for transferring files between an Android phone and a Linux computer? Is it a bad idea, compared to FTP and abd, because no one has mentioned using ...
-1
votes
1
answer
350
views
What is this permission problem with adb?
I would like to transfer files between a phone (Harmony 2.0.0) and a Linux laptop with USB connection between them.
I try to use adb by following https://www.reddit.com/r/linuxquestions/comments/...
0
votes
0
answers
272
views
How to dualboot oneplus 7 pro
I have an extra mobile (one plus 7 pro) lying around, it has really good processor and alot of storage
I am thinking of making it remote server type something in which I can ssh into. Store my files ...
0
votes
1
answer
793
views
How do you export client certificate for Android to make it work with server?
I posted here earlier today regarding my certificate issue. This is the last one I have. I have setup a new self-signed certificate chain with setup below by following this guide https://dev.to/berk/...
2
votes
0
answers
863
views
How to sync contacts between a GNU Linux desktop and an Android smartphone?
I currently use Google Contacts to manage my contacts on Android and PC (web app). But I'm trying to get rid of Google for FOSS solutions (I already replaced Gmail and Google Agenda).
The first step ...
0
votes
1
answer
122
views
New added android kernel bpf helpers are not detected
I'm trying to patch an android kernel 4.9 to support probe_read_{user, kernel} and probe_read_{user, kernel} helpers. For the backporting I took example from another patch that adds bpf_probe_read_str ...
1
vote
1
answer
197
views
Any way to send to an android phone a notification with an attached picture uploaded from local directory?
I have a picture that is regularly updated by my local server. I would need a tool to send a regular notification on my android phone that I can trigger from my local raspberry pi 4 server and receive ...
1
vote
1
answer
614
views
Android studio's android virtual device does not open in Arch after update
I tried using android virtual device which worked before but now it stops running after updating it.
Error message:
❯ android-studio
CompileCommand: exclude com/intellij/openapi/vfs/impl/...
0
votes
0
answers
352
views
How to use AFWall+ to forward packets through a wireguard VPN to a tethered device?
situation is pretty simple, but I've spending the last 3 days trying to find a solution to this with no luck.
I have a printer at home that I need to have access to from my laptop. The printer is in a ...
0
votes
1
answer
99
views
Starting point for linux kernel update
My android device runs on Linux localhost 4.14.193+-ab517 #1 SMP PREEMPT Fri Dec 8 03:28:21 CST 2023 armv8l Android (info from uname -a). I humbly request the community for the suggestions on how ...
0
votes
0
answers
51
views
getting satellite video stream for Android/windows app
I have an Android satellite receiver in my house. The device has an app that enables me to play live video that is playing on the device to be displayed on my phone. I traced the app packets and found ...
4
votes
1
answer
5k
views
What reasonable value of swappiness should I config to get better performance?
In the process of optimizing the Android system, the configuration of the 'swappiness' value is crucial. The value path is /proc/sys/vm/swappiness. Some sources suggest setting it to 60, while others ...
0
votes
1
answer
96
views
Displays a user input pop-up on the Android screen
Currently I'm interested in Bash and also the Android phone I have...
I'm wondering if there is a way to display popup as text input on the android screen and then receive data from that user-...
1
vote
0
answers
94
views
why some android elf file has interpreter path?
I am learning the elf file format for Android, but I have found that some elf files can specify the loader through the interpreter path in the program header. However, the elf test file I wrote myself ...
0
votes
1
answer
234
views
What package manager do I use under TermUX (Android Unix/Linux terminal app)
In the old days when Debian, Red Hat, Suse, Caldera, Slackware, and then in the more modern days, with, Ubuntu, there used to be different package managers, that could be used to dowload and install ...
0
votes
0
answers
2k
views
Unisoc T606 smartphone
Oukitel WP23Pro specs: https://www.gsmarena.com/oukitel_wp23pro-12650.php
This has to be the hardest platform I come across for unlocking bootloader and rooting.
There is no downloadable firmware, so ...
1
vote
0
answers
571
views
Cannot mknod tun file, /dev/net/tun inaccessible
I have successfully chrooted Fedora among other distros in my Android but I've run in a problem I cannot overcome.
I am trying to use openvpn on a .ovpn file, however I am unable to open /dev/net/tun ...
2
votes
1
answer
309
views
sshd: Authentication refused: bad ownership or modes for directory /data
I'm trying ssh-ing into a rooted Android phone, but it gives me an error Permission denied (publickey)., and the log says Authentication refused: bad ownership or modes for directory, despite of the ...
0
votes
0
answers
2k
views
I'm not able install android studio sdk files in my Pop OS
I have installed android studio in Pop OS. I actually wanted flutter and for that i needed android studio also. i was following the official guide from flutter website for linux. when i launched ...
0
votes
0
answers
81
views
Trouble loading CyanogenMod using rEFInd manager
So, I'm getting this error when using rEFInd and trying to load Android. Here is a picture of the error as displayed.
The Android entry in /boot/efi/EFI/refind/refind.conf is as follows:
menuentry ...
0
votes
1
answer
5k
views
Removing GitHub tools on termux?
I don't know if i can ask this question here or not. I have cloned some tools from GitHub on my termux. Then i ran the bash file "install.sh" that was a customized login with password tool. ...
-3
votes
5
answers
30k
views
Kali nethunter installation error on android using Termux (404 not found)
I was trying to install kali nethunter on my android mobile (android 13) and when i ran the
./install-nethunter-termux
command, I got the following response :
--2023-09-25 13:33:06-- https://kali....
1
vote
0
answers
235
views
Android refuses to connect to AVRCP service (BlueZ-5.69)
I have an old car with no native Bluetooth for audio, so to use my phone for music, I have a Bluetooth receiver connected to the 3.5mm aux jack in my car. The problem is controlling the playback on ...
0
votes
1
answer
664
views
When copying files from Android to Linux via mtp datetime unadvertently changes by diffrence of mobile's and Linux time zones
Edit 2:
Issue:
Modification time of file as shown by stat in Linux for files copied from Android via usb is effected by changing of time zone setting on Android after file was created.
Reperformance:
...
0
votes
0
answers
1k
views
Network bridge between Termux and Alpine Linux QEMU
I have an Android phone with Termux. Using Termux I downloaded Alpine Linux x86 QEMU.
The problem: Other devices on the network cannot ping and communicate with the Alpine Linux QEMU. So that's why I ...
0
votes
1
answer
783
views
In dm-verity, why does the entire hash tree need to be verified?
Based on this answer, apparently dm-verity attempts to verify a block when a block is attempted to be accessed. When verifying a block, it goes up the hash tree to verify the root hash.
Why not just ...
0
votes
0
answers
147
views
Bridged NIC is unreachable via my host PC
I have an ethernet connection between my AOSP device and host PC, once I set ipv4 for both on the same subnet i can connect between them but once I create a bridge on my AOSP device and make its NIC ...
0
votes
0
answers
270
views
Geo-spoofing (a desktop app for Debian)?
I want to spoof my location on my Android device without jailbreaking.
I saw this post about desktop software that can spoof mobile device via USB. Can you please help me find a free alternative that ...
1
vote
0
answers
445
views
SELinux policy for Android emulator
The Google Android emulator requires execheap permissions, otherwise it segfaults when SElinux is in enforcing mode. For those who are not familiar with the Android emulator: It uses a forked version ...