Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
1
votes
1
answers
4585
views
How to download and emulate the official android x86 image from Android Studio?
Android studio downloads x86 images from google and emulate them so I can test my apps. I tried downloading and unzipping the thing it downloads but it doesn't look like an image that can be run with virt-manager. Which images are downloaded by Android Studio and how can I emulate them in Ubuntu?
Android studio downloads x86 images from google and emulate them so I can test my apps. I tried downloading and unzipping the thing it downloads but it doesn't look like an image that can be run with virt-manager.
Which images are downloaded by Android Studio and how can I emulate them in Ubuntu?
Poperton
(112 rep)
Jan 5, 2018, 09:48 PM
• Last activity: Sep 16, 2025, 07:56 PM
1
votes
3
answers
12972
views
Rooting Samsung Galaxy S II GT-i9100
How does one root a Samsung Galaxy S II GT-i9100 (with its original Android 2.3 Gingerbread), preferably under Linux Mint? This questions pertains specifically the GT-i9100 version (not GT-i9100G nor GT-i9100T, et cetera), which currently has no entry under the [rooting index][1]. I am particularly...
How does one root a Samsung Galaxy S II GT-i9100 (with its original Android 2.3 Gingerbread), preferably under Linux Mint?
This questions pertains specifically the GT-i9100 version (not GT-i9100G nor GT-i9100T, et cetera), which currently has no entry under the rooting index .
I am particularly looking for a rooting method which does not wipe the data on the phone, as [I am hoping to recover data afterwards](https://android.stackexchange.com/questions/89133/data-recovery-on-boot-looped-samsung-galaxy-s-ii-gt-i9100) . I have an 8GB external SD card.
Timotheos
(155 rep)
Nov 24, 2014, 02:49 PM
• Last activity: Sep 16, 2025, 12:00 AM
6
votes
4
answers
31303
views
Send files from Linux to Android via ssh
I want to send some specific files from my linux PC to my android device. I'd like to send it automatically using terminal commands, so there will be no drag and drop files. I don't know what is the best communication way to send file via wifi. I understand how to send using ftp by downloading 'ftp...
I want to send some specific files from my linux PC to my android device. I'd like to send it automatically using terminal commands, so there will be no drag and drop files.
I don't know what is the best communication way to send file via wifi. I understand how to send using ftp by downloading 'ftp server' app on my android, but that's not suitable to my work since it needs to open an internet browser on my PC and transfer like a file manager. So I tried using ssh:
scp /home/user/picture1.jpg u0_a167@192.168.1.117:/storage/emulated/0
but always ended up error:
ssh: connect to host 192.168.1.117 port 22: Connection refused
lost connection
How to solve this problem? or does anyone have any other recommendation which communication way should I use?
user19
(63 rep)
May 15, 2014, 10:02 AM
• Last activity: Sep 14, 2025, 05:42 AM
1
votes
1
answers
1399
views
Some apps are not able to access internet when connected to Laptop's shared wifi on Ubuntu
In my office my mobile used to be connected to the office Wi-Fi. There I didn't face any internet problem, all apps work fine. But in my home my mobile is connected to my Laptop's shared Wi-Fi and Laptop is running on Kubuntu 15.10. In this case some apps like Play Store, youtube, telegram, WhatsApp...
In my office my mobile used to be connected to the office Wi-Fi. There I didn't face any internet problem, all apps work fine.
But in my home my mobile is connected to my Laptop's shared Wi-Fi and Laptop is running on Kubuntu 15.10. In this case some apps like Play Store, youtube, telegram, WhatsApp and all browsers, etc. work well, but some apps do not work, sometimes partially work or otherwise show the message
>No internet connection.
What's wrong with connection from my laptop to my mobile, and why are some apps working and some are not? How can I solve this?
Alok
(151 rep)
Dec 19, 2015, 08:32 AM
• Last activity: Sep 4, 2025, 04:08 AM
1
votes
2
answers
2548
views
Install/Run Android Skype on ARM LInux?
I have a Chromebook with an ARM processor. I have installed Ubuntu on that Chromebook. However, since there is no Skype-binary for ARM Linux, is it possible to use the version of Skype of the android APK, and run that on my ARM Linux ? Is there some kind of Dalvik enviroment or converter for ARM Ubu...
I have a Chromebook with an ARM processor.
I have installed Ubuntu on that Chromebook.
However, since there is no Skype-binary for ARM Linux, is it possible to use the version of Skype of the android APK, and run that on my ARM Linux ?
Is there some kind of Dalvik enviroment or converter for ARM Ubuntu ?
What would be the minimal emulation environment, if I wanted to emulate android ?
What would be the minimal emulation environment, if I wanted to emulate android ?
Quandary
(615 rep)
Aug 7, 2015, 11:10 AM
• Last activity: Aug 27, 2025, 11:59 AM
0
votes
0
answers
46
views
ADB On Linux Failing To Push Any Folder
## The issue I needed to push a folder to my phone and I just ran the following command which always worked fine: ```bash adb push ~/some_folder sdcard/some_folder ``` For some reason however it just didn't respond and stayed quiet in the terminal. After a while my system started lagging, then I loo...
## The issue
I needed to push a folder to my phone and I just ran the following command which always worked fine:
adb push ~/some_folder sdcard/some_folder
For some reason however it just didn't respond and stayed quiet in the terminal. After a while my system started lagging, then I looked at the RAM usage and was shocked when saw that 30GB of RAM was allocated. After looking back at the terminal, it also showed
>Exception occured ... std::bad_alloc
.
It also didn't respond to my Ctrl+C
, so I crashed the terminal which freed the memory.
To make the final test I ran the following two commands to exclude the possibility of folder being to large
mkdir test
adb push ~/test sdcard/
Yet the result were the same.
## Pc Info
1. OS: Arch Linux 6.16.3-arch1-1
2. ADB: comes from package android-tools-35.0.2-17
from arch linux repository.
## Phone Info
1. Make: Xiaomi
2. Model: POCO X6 Pro 5G
3. Android version: 15 AP3A.240905.015.A2
## Some additional info
1. Never experienced something like this before, Always was fine with pushing/pulling any file, including folders.
2. My adb also sometimes just freezes without responding (but without any else negative effect i listed above) on pushing regular files, but reconnecting the USB helps (for folders it doesn't)
Anyone else experienced the same issue? Would be glad for any help!
NeKon
(101 rep)
Aug 27, 2025, 05:30 AM
• Last activity: Aug 27, 2025, 08:15 AM
1
votes
0
answers
27
views
Linux kernel sources for Redmi A2+
I see, Linux kernel sources for Redmi A2+(water) are unavailable. Have anybody this sources? Maybe somebody write kernel drivers for this smartphone?
I see, Linux kernel sources for Redmi A2+(water) are unavailable.
Have anybody this sources?
Maybe somebody write kernel drivers for this smartphone?
Igor.23457
(11 rep)
Aug 19, 2025, 03:31 PM
1
votes
1
answers
4575
views
Block Instagram for Android to access the Internet, using a software like SQUID on my Laptop/Desktop
Is there any way I could block Android Apps for example Instagram from accessing the Internet, using the SQUID software or something similar on my Personal Computer?
Is there any way I could block Android Apps for example Instagram from accessing the Internet, using the SQUID software or something similar on my Personal Computer?
deadshotpro
(21 rep)
Apr 11, 2019, 07:41 AM
• Last activity: Aug 9, 2025, 01:27 AM
0
votes
2
answers
752
views
Bluetooth is not turning on NetHunter Android
I am using Kali NetHunter on a rooted Android device, and I'm encountering an issue with Bluetooth. Whenever I try to enable Bluetooth through the GUI or using the command line, it simply doesn't turn on. I can see the Bluetooth icon, but it stays stuck on "Turning on." It was working in the beginni...
I am using Kali NetHunter on a rooted Android device, and I'm encountering an issue with Bluetooth. Whenever I try to enable Bluetooth through the GUI or using the command line, it simply doesn't turn on. I can see the Bluetooth icon, but it stays stuck on "Turning on."
It was working in the beginning, I could connect to headphone, I sent a video file from PC to tablet via Bluetooth.
service bluetooth status
>bluetooth is not running ... failed!
Then I started
service bluetooth restart
>Stopping bluetooth: /usr/sbin/bluetoothd.\
>Starting bluetooth: bluetoothd.
but this does not restart the Bluetooth. Right after start command, service Bluetooth status
still says "Bluetooth is not running ... failed!"
I already ran these commands:
sudo apt-get update
sudo apt-get install bluetooth bluez
sudo systemctl start bluetooth
sudo systemctl enable bluetooth
lsusb
command shows this:
>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub\
>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It does not show anything about the Bluetooth adapter
I also added kali-tools-bluetooth
, but this did not help either.
Yilmaz
(101 rep)
Dec 29, 2024, 02:08 AM
• Last activity: Jul 31, 2025, 08:29 AM
19
votes
4
answers
173619
views
Why can't I get root access from shell?
> adb shell sh-4.1$ su Permission denied I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called [SD Maid][1] that is able to operate with root permissions. [1]: https://play.google.com/store/apps/details?id=eu.thedarken.sdm&hl=en
> adb shell
sh-4.1$ su
Permission denied
I have rooted my phone successfully. I know this because I'm able to install apps on SD card and I have a program called SD Maid that is able to operate with root permissions.
Kshitiz Sharma
(489 rep)
Feb 21, 2013, 10:16 AM
• Last activity: Jul 29, 2025, 09:37 AM
5
votes
1
answers
4537
views
MTP not working under Android 6
I am running out of Ideas how to get MTP working _again_... I am simply not getting the dialog again on my android, asking me wether I want just charging, or MTP or Picture mode... **Until most recently, it was easy: Use a USB cable, concect it to my Ubuntu 16.04 Laptop, get the mentioned choice/app...
I am running out of Ideas how to get MTP working _again_... I am simply not getting the dialog again on my android, asking me wether I want just charging, or MTP or Picture mode...
**Until most recently, it was easy: Use a USB cable, concect it to my Ubuntu 16.04 Laptop, get the mentioned choice/approval box...** and voilà the Tablet appeared as an MTP device in the Ubuntu ‚file explorer‘ (caja) nicely auto-mounted.
* got an Samsung Galaxy S2 tablet
* running Android 6.01
* it worked until recently in this configuration
I already followed some advice:
* I made the developer options visible (by tapping the about device info thrice)
* enabled USB debugging (which some sources say, is something to watch out for)
* dialed on the phone menu *#0808# → which shows I'am on
(o)AP
and on MTP + ADB mode
just like I should (this radio box btw only holds its state, if USB debugging is enabled)
also...
* tried different USB ports
* tried different cables
* tried with another device (MacBook. Thus I have no reason to believe, I messed something up on the host machine OS side... Ubuntu is very stable anyway)
* External Store (4kb) under Settings→Applications→“Show System Apps” is on
well, one last clue:
* Settings → Tethering has the USB switch grayed out „USB cable not connected“. Althoug it clearly is. And I can recharge my tablet through it (otherwise I would have certainly noted...)
Device is not rooted. No other glitches.
Are there maybe some log files (now that Dev mode is enabled) to check out what might got wrong?
Not looked/understood ADB yet. So I couldn't tell you, if that works. Anyway, no dialog to choose upon connecting.
I am out of ammo :-( **Thank you for any piece of advice...**
Frank N
(151 rep)
Oct 26, 2016, 04:30 AM
• Last activity: Jul 13, 2025, 03:11 AM
1
votes
3
answers
2731
views
How to use terminal on Android to ssh access my server?
Can I ssh into a Linux Server from my Android device?
Can I ssh into a Linux Server from my Android device?
NINJA
(29 rep)
Jun 9, 2015, 03:13 PM
• Last activity: Jun 26, 2025, 07:38 AM
7
votes
3
answers
24208
views
How to Play Sound from Termux when using Linux?
I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment. However it works if I export the audio to XSDL. But the problem is that after I exit the application the sound does not work in the background. I know that Pulseaudio on...
I have a problem with audio streaming that I can not listen audio from Pulseaudio when using VNC with a Linux Desktop Environment.
However it works if I export the audio to XSDL. But the problem is that after I exit the application the sound does not work in the background.
I know that Pulseaudio only supports Xorg servers, so how to stream audio to VNC or any other application on Android and to run it in the background.
I know that there is an application Simple Protocol Player that listens to pulseaudio sound from Xorg Server, but it does not work for me and I do not know the reason.
Maher_2000
(113 rep)
Dec 24, 2018, 08:08 AM
• Last activity: Jun 17, 2025, 10:40 PM
2
votes
3
answers
2515
views
Modifications of vendor image on Android 10
There is a vendor image in my device I want to change (unpack/mount, doing changes, pack/umount). My purpose is to update `boot.img` with my new kernel (in a rooted device). Unfortunately, it does not work due to incompatible versions between a newly compiled kernel (my compilation) to the previous...
There is a vendor image in my device I want to change (unpack/mount, doing changes, pack/umount). My purpose is to update
boot.img
with my new kernel (in a rooted device). Unfortunately, it does not work due to incompatible versions between a newly compiled kernel (my compilation) to the previous kernel modules stored in vendor.img
. As I figure it, I need to update the old ko
executables stored in vendor.img
in my product.
The first step is to do dd
from my device and adb pull
it out to my build environment. While I tried to do a mount on vendor.img
, I discovered it not working due share_blocks
attribute blocking it to mount as RW (dmesg
wrote: "...unsupported optional features (4000)"), To solve it, running the following command
e2fsck -y -E unshare_blocks vendor.img
will disable the share_blocks
feature that prevented me to do mount as RW. Of course, doing mount RW works correctly.
In the last phase, I tried to replace files in the vendor
filesystem and then I discovered another challenge into my way, Unfortunately, there was a problem with limited space in the file system,
For example: In case I want to replace the kernel module called abc.ko
, deleting the file doesn't show any new free space in the file system. At this point, I can't update the old kernel modules with the new ones (compatible with the newly compiled kernel). Of course, running df -h .
returned no free space and 100% used.
Does anyone have any idea what I need to do?
sivandahan
(43 rep)
Sep 19, 2021, 11:28 AM
• Last activity: Mar 27, 2025, 03:25 PM
8
votes
1
answers
9612
views
How to boot Ubuntu persistent live USB on Android?
I'm discovering the possibilities offered by persistent live USB using Ubuntu 19.10 and I was wondering if it would be possible to boot with Ubuntu on Android (i.e. using your computer capabilities through your smartphone) using those multi-plug USB sticks which have both USB3 and micro-USB2. In oth...
I'm discovering the possibilities offered by persistent live USB using Ubuntu 19.10 and I was wondering if it would be possible to boot with Ubuntu on Android (i.e. using your computer capabilities through your smartphone) using those multi-plug USB sticks which have both USB3 and micro-USB2.
In other way: can I get some kind of a boot menu on an Android device in order to boot with a persistent live USB in order to access my Linux computer tools and setup from a wider range of devices?
Etsaf
Jan 12, 2020, 11:01 AM
• Last activity: Feb 9, 2025, 04:42 PM
1
votes
1
answers
394
views
How to install Ubuntu OS on an Android phone?
I am not sure where to start all help is welcome. I have a Samsung Phone and computer for flashing.
I am not sure where to start all help is welcome. I have a Samsung Phone and computer for flashing.
Thomas
Feb 7, 2025, 03:10 PM
• Last activity: Feb 7, 2025, 04:55 PM
55
votes
10
answers
425712
views
Use an Android tablet as a Wacom drawing tablet for a PC?
Since a nice Wacom tablet is a bit pricey, especially for someone like me who doesn't do much graphic editing, I was wondering if it is possible to use a tablet (i.e. my Nexus 7) as a Wacom-esque drawing tablet when connected to a Linux computer? I did a bit of searching, however most of the info I...
Since a nice Wacom tablet is a bit pricey, especially for someone like me who doesn't do much graphic editing, I was wondering if it is possible to use a tablet (i.e. my Nexus 7) as a Wacom-esque drawing tablet when connected to a Linux computer?
I did a bit of searching, however most of the info I found is for using a Wacom tablet on an Android device. I've never used a Wacom device, however I have been doing some graphic editing in Gimp, and think it would be much easier than just using a mouse. And since I have a Nexus 7, it seemed like the logical place to start. I would have to use the Nexus as a USB peripheral for the computer, and I don't know if it is possible to transmit the touch screen coordinates to the PC.
If anyone can point me in the right direction, I'd appreciate it!
Garrett Fogerlie
(705 rep)
Mar 6, 2013, 04:10 PM
• Last activity: Feb 5, 2025, 02:54 PM
6
votes
0
answers
20382
views
How to install Google Play or other repo's on Waydroid?
Having just installed [`waydroid`][1], how is the Google Play Store installed? ``` $ sudo waydroid shell /system/bin/sh: No controlling tty: open /dev/tty: No such file or directory /system/bin/sh: warning: won't have full job control :/ # whoami root :/ # exit ``` ``` $ waydroid status Session: RUN...
Having just installed
waydroid
, how is the Google Play Store installed?
$ sudo waydroid shell
/system/bin/sh: No controlling tty: open /dev/tty: No such file or directory
/system/bin/sh: warning: won't have full job control
:/ # whoami
root
:/ # exit
$ waydroid status
Session: RUNNING
Container: RUNNING
Vendor type: MAINLINE
Session user: nicholas(1000)
Wayland display: wayland-0
$ waydroid --version
1.3.1
The directions are:
waydroid app install xyz.apk
Which is easy enough. However, there's no mention per se of installing the Google Play Store and secondary sources would indicate that alternates must be used. Looking to install some sort of repository to pull in mainstream apps like gmail
.
What repo's can be installed?
Nicholas Saunders
(191 rep)
Sep 11, 2022, 07:46 AM
• Last activity: Jan 31, 2025, 04:10 AM
1
votes
1
answers
242
views
Termux Running easyrsa as `sudo -u root` gives me No such file or directory
I'm trying to run a sh script (easyrsa) while being in `sudo -u root` environment. sudo -u root sh /data/data/com.termux/files/home/openvpn/easy-rsa/easyrsa3/easyrsa This gives me an error telling me that OpenSSL is not present (I assume because I'm running it in a different environment) And when I...
I'm trying to run a sh script (easyrsa) while being in
sudo -u root
environment.
sudo -u root sh /data/data/com.termux/files/home/openvpn/easy-rsa/easyrsa3/easyrsa
This gives me an error telling me that OpenSSL is not present (I assume because I'm running it in a different environment)
And when I try
sudo -u root /data/data/com.termux/files/home/openvpn/easy-rsa/easyrsa3/easyrsa
It gives me "No such file or directory".
I tried every possible combination of commands but just can't seem to get it right.
The main issue is I'm trying to run easyrsa from a web dashboard for generating certificates, and this dashboard is running as sudo -u root
and for some strange reason, it just can't find the files in termux home.
/data/data/com.termux/files/home/openvpn/easy-rsa/easyrsa3/easyrsa
is my location of the easyrsa shell file
xMidNight-.
(21 rep)
Dec 18, 2024, 10:14 PM
• Last activity: Dec 20, 2024, 03:38 AM
1
votes
1
answers
3318
views
Blank screen when accessing Kali Linux
I'm trying to access Linux Deploy, Kali Linux via a VNC Client on my Android phone. I could access it, but I get a blank screen. How to fix it?
I'm trying to access Linux Deploy, Kali Linux via a VNC Client on my Android phone. I could access it, but I get a blank screen.
How to fix it?
DrWongKC
(121 rep)
Jan 26, 2017, 02:45 PM
• Last activity: Dec 14, 2024, 10:00 AM
Showing page 1 of 20 total questions