Skip to main content

Questions tagged [linux]

Use this tag when your issue involves a Linux laptop/PC or addresses Linux-specific topics on your Android device. In the latter case, consider if other tags like e.g. 'command-line' or 'shell' might be better fitting. See the full tag wiki for additional details and hints. Note that questions purely about operating Linux-based OS on Android devices are off-topic.

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

Installing Alpine Linux using Fastboot

I have a Lenovo TAB 10 (TB-X103F) with TWRP installed, but no OS. I am attempting to install alpine linux but to my knowledge, the tablet is unable to boot from EFI, so im confused on what to do next ...
jamesYValley's user avatar
-1 votes
1 answer
30 views

How Can I Resolve a Persistent Security Breach on My Devices Despite Multiple Measures? [closed]

I’ve been experiencing a severe security breach where individuals have hacked into both my Android and Linux devices. They have access to all my online and offline activities, including my social ...
aniket sahu's user avatar
1 vote
0 answers
36 views

fastboot commands are not executed, although device is being recognized

I am trying to flash a TWRP recovery onto a Blackview BV5500 (MT6580) in Manjaro Linux. Android Platform Tools and Android udev Rules are installed. I have no access to the system, so I can't unlock ...
tom's user avatar
  • 11
1 vote
0 answers
22 views

Files inside random directories are not readable by ls or any binary in linux

This is from my Android mobile. I am using a terminal app similar to ubuntu which is installed in my mobile. I am doing copy of my files to laptop and some are being skipped randomly. When doing ls ...
iamsmith41's user avatar
0 votes
0 answers
72 views

Pixel 6: how to flash Sailfish/Ubuntu without a desktop (just unlocked bootloader + On-the-Go flash)?

Ubuntu Touch (alternative to Sailfish): https://devices.ubuntu-touch.io/ Sailfish: https://docs.sailfishos.org/Reference/Android_Compatibility/#hardware-support Definition/instructions of flash: https:...
Swudu Susuwu's user avatar
1 vote
0 answers
44 views

How to disable 'Malicious app' warning?

Termux Screenshot I'm trying to install Ubuntu on my Android 14 OnePlus Pad 2 tablet via Termux app. It's partially installed and viewable via VNC. But 'apt install' or 'apt upgrade' causes a warning ...
Robin Singh's user avatar
0 votes
1 answer
44 views

How to see my Android partitions via Linux machine terminal?

When I connect my Android device via USB into a Linux machine (be it Debian, Ubuntu, Arch, etc.) I am unable to find any trace of the device or partitions using cmds fdisk -l, lsblk, etc. This is ...
Rachel1983's user avatar
0 votes
0 answers
58 views

Android Virtual A/B OTA - Post Reboot merge failed during update_engine snapshot merge

So we have been trying Android OTA and AFAIK starting with Android 12 (which is what I am using now), android uses concept of virtual A/B where the super partition is dynamically sized during OTA. And ...
neevan's user avatar
  • 1
1 vote
0 answers
44 views

Can a "proper" Linux userspace run on an Android kernel?

I've been reading about the challenges of getting Android phones to boot up using a close to mainline Linux kernel, and it got me thinking, manufacturers have their own kernels with all the correct ...
Yonatan Avhar's user avatar
0 votes
0 answers
25 views

USB Type-C Port stops working on Google Pixel 6 Pro when flashing Kernel built using official docs

Using the official docs, I built a Kernel for my Pixel 6 Pro codenamed "Raven" or "Raviole". After flashing the Kernel, the USB Type-C port stopped working. The phone charges fine ...
SK73106's user avatar
  • 101
2 votes
1 answer
123 views

Unable to connect via adb on a firewalled Android device

Connecting from Linux, using an older adb (downloaded at tried 1.0.41 just to troubleshoot this - no difference, except that the messages now do include "Connection refused"), and the ...
confused's user avatar
1 vote
1 answer
67 views

Can I mount dead phone's partitions in VM?

Dead phone. Have all partitions saved/read off internal memory including data partitions, all not encrypted, phone was rooted. Android 11 custom ROM, crDroid. Need to mount data partition if possible, ...
Jeff7's user avatar
  • 63
0 votes
0 answers
207 views

Termux and Termux11 change root/home directory

as default termux use /data/data/.../home as home directory and we access file in home, but we can't use or see (permission) for other subdirectory, that which make sense application like intelij or ...
FarHooD's user avatar
0 votes
0 answers
34 views

error when compilling TWRP for VTR P10

i'm using manjaro linux i/m trying to compile TWRP for Huawei p10 vtr-l09 i'm using this repo: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni?tab=readme-ov-file and this is the ...
DD.Zz's user avatar
  • 1
0 votes
1 answer
460 views

Unlock Unisoc bootloader on Linux

I need a Linux command to unlock my Unisoc bootloader using modified fastboot. The command ./fastboot devices keeps telling me permission is denied. joseph@penguin:~/modified_fastboot$ ./fastboot ...
Joseph 's user avatar
0 votes
0 answers
81 views

Intel Atom powered tablet running android. Can It run a Linux Distro?

I recently got my hands onto a Neso N810 i7 (ECS TA80TA1 rebranded) tablet, powered by an Intel Atom Z3735E processor, 1GB of DDR3, and 16GB of internal storage. It runs Android 4.2.2, and given the ...
fpp's user avatar
  • 43
0 votes
0 answers
108 views

Access Pixel 2 XL "taimen" through ADB (while in the process of installing lineageOS)

I followed this guide until fastboot flash boot boot.img included and OK Then reboot in recovery mode Then "Now tap Factory Reset, then Format data / factory reset" included and OK /!\ BUT ...
St3an's user avatar
  • 111
0 votes
0 answers
107 views

How to recover files from Android device on bootloop?

I have an old Android device that is stuck on bootloop. I found on another website that you can use adb for this purpose. I installed adb and found the device through adb devices command but when I ...
Kermilli's user avatar
0 votes
1 answer
90 views

Android/Linux system is changing the audio drivers on boot with USB mic attached

I have logged the proc/asound/cards for sound drivers below. You can see the first one is before I attach the mic array, the second one is after I attach it at runtime, and the third is after ...
Lloyd Hussell's user avatar
0 votes
0 answers
55 views

Export Recorder tracks preserve file dates

I need to copy tracks from the system app Recorder (apk: com.android.soundrecorder) onto Google Drive and/or Linux PC with file dates preserved. I've tried Send and Save options to phone SD and Google ...
noname7619's user avatar
0 votes
0 answers
45 views

Can't recover Storage Taken By Linux Deploy

I used the Linux Deploy app to install Linux on my phone using root Access. It seems to make a partition on my device to install Linux which took up some storage on my Phone. Now I want to recover ...
Forest Fire 7's user avatar
0 votes
1 answer
886 views

Can I run an Android emulator (with GUI) on a headless Linux server?

I have a hosted server that runs the Ubuntu server, and I was wondering if there was a way to run Android applications and get access to the Android GUI remotely, such as with a remote desktop. Also, ...
Sreckcep's user avatar
0 votes
1 answer
133 views

Samsung Galaxy Tab 2 running Lineage OS not rebooting properly after `adb reboot` unless USB disconnect

I am currently facing an issue with my Samsung Galaxy Tab 2 tablet running Lineage OS. Whenever I attempt to reboot the device using the adb reboot command through adb, it enters a strange hanging ...
kyrlon's user avatar
  • 139
0 votes
0 answers
274 views

FakeGPS apps on android are not affecting on other apps

I downloaded some fakeGPS app. enabled mock location (developer options) but some app won't take the fake location. For example tiner. The above solutions did not work for me because I was testing on ...
Elad Benda's user avatar
-2 votes
1 answer
80 views

How to make my PC become an "psudo/fake" external display for android phone via USB ports (without using any USB to HDMI dongles)

I want my Android phone to recognize my PC as its external display (psuedo/fake or virtual displays) via USB connection (USB-C - USB-A cable or TCP connection) without using any USB to HDMI dongles or ...
Loc Huynh's user avatar
  • 119
1 vote
0 answers
1k views

ADB | How do I Authorise Amazon FireTV Stick via. USB? - to run shell script on boot

Goal: Follow this tutorial, to run a shell script on boot. Despite following the tutorial and trying various solutions, I am still unable to authorise the ADB connection. I'd greatly appreciate any ...
StressedBoi_69420's user avatar
2 votes
0 answers
1k views

Android: how to use adb commands to block/unblock specific app from using the Internet, on rooted device if needed?

Background I want to temporarily block a specific app from using the Internet on my Android device, using a batch file. The device is rooted, so it should be possible via the PC. The problem I ...
android developer's user avatar
0 votes
1 answer
118 views

Does Termux have media folder?

I am running a Java application using Termux. I need a media folder to store a folder named DSKEYS with pfx key file because the Java application needs that pfx file from media/DSKEYS/. I could not ...
Joe Rakhimov's user avatar
1 vote
0 answers
556 views

Unable to use Ctrl+A+D to exit screen session of Termius

I am using Termius Android app on my phone to SSH connect my server. When I get in a screen session, it can't input Ctrl+A+D to leave this session, only Ctrl + one key can be input. Also, my program ...
ham's user avatar
  • 11
2 votes
0 answers
125 views

Hardening android to use it as a Linux Server

I want to convert a set of relatively old Android devices into Linux servers, while avoiding too many device specific actions, to make this an easily repeatable and shareable action. This means ...
Udinanon's user avatar
1 vote
0 answers
52 views

How to notify Android that MicroSD is mounted?

I manually mount MicroSD like this: nsenter -t 104 -m mount -t sdfat -o rw,gid=9997,noatime /dev/block/mmcblk0p4 /storage/extSD As a result, file managers can work with it. But Android still thinks ...
Сергей Евтухов's user avatar
-1 votes
1 answer
106 views

Anyone know what rooting an android device actually does? [duplicate]

I am wondering about what rooting my android device actually does. I know quite a lot about linux and android, so I think it just uses an exploit to install a su binary onto the android rootfs. I'd ...
Pxlmastr's user avatar
0 votes
0 answers
65 views

Run avdmanager with sudo

I am running avdmanager create avd from my python script that I start with sudo -E to make my script be able to do priveldged stuff. But for some reason avdmanager created AVD inside /root/.android/...
Euler-Maskerony's user avatar
1 vote
1 answer
182 views

Mount a MicroSD to all namespaces on Android 11

I'm trying to mount a MicroSD. As I understand it, this should be done in the global namespace. Root - Magisk. I tried: su --mm -c mount -t sdfat /dev/block/mmcblk0p1 /storage/0123-4567 nsenter -t 1 -...
Сергей Евтухов's user avatar
2 votes
0 answers
142 views

How to mount full image backup properly?

Did a full backup mmcblk0.img of a Redmi Note 7 (codename lavender) running Android 10. However, I'm not sure how exactly to mount it or view files. Worth noting that I was suffering from an ...
Yrevocer's user avatar
1 vote
0 answers
24 views

How to dig deep into mmcblk0? [duplicate]

I've got an old backup file: mmcblk0.img I'm wondering if there is any specific tool that can work with this file, as no standard partition tool has been able to view it. I think there's a chance it ...
Yrevocer's user avatar
0 votes
0 answers
272 views

VM acceleration is not working on another VM for Android Emulator

We want to run our instrumented tests on Gitlab. We've created a Linux runner(amd64,Ubuntu 22.04) to execute connectedAndroidTest gradle task. However we've come across some obstacles. I have two ...
tugceaktepe's user avatar
1 vote
0 answers
865 views

Attempting to extract .img files from a Samsung Rom, how?

So far i have extracted the files out of system.img and cache.img, but the others dont work, they dont seem to be ext4 or something, i tried 2 roms of different phones and tablets, i was able to ...
user avatar
1 vote
0 answers
495 views

Final steps to repair corrupted F2FS SD Card - How to fix "can't read superblock"

[I modified the question to reflect the progress] The TLDR version is, the card is adopted storage that says corrupted f2fs. I used the process detailed Here but when I tried to mount the decrypted SD ...
Captain-Science's user avatar
0 votes
0 answers
148 views

Why does the emulator perform so many writes?

I'm using the Android Emulator from IntelliJ on Kubuntu. I noticed in plasma-systemmonitor that qemu-system-x86_64 continuously does on the order of a few MB/s of disk writes even as I'm not using the ...
Nahoj's user avatar
  • 101
1 vote
0 answers
4k views

How do I have a Mediatek USB driver for Linux to flash a smart phone?

I am a Linux beginner, I just wanted to know how I properly download and use a "Mediatek USB driver". I am using a Linux Mint MATE, and I cannot turn on the USB debugging of that phone ...
LinuxNovice1's user avatar
2 votes
2 answers
114 views

adb server stutters ubuntu desktop

My environment is: Ubuntu 20.04.2 LTS (xubuntu to be more specific), NVidia driver 470.103.01, Android SDK 33 When I start adb server by running some adb commands, the UI, mouse and other things ...
Dovod Dovodov's user avatar
0 votes
0 answers
45 views

Some tablets respond to pings, others don't

There are dozens of tablets on my table that are all connected to the same 5GHz Wi-Fi network. All IP addresses were given by DHCP in subnet 192.168.34.0/24. I want to find the ip addresses of all of ...
ally8546's user avatar
3 votes
0 answers
2k views

Why can't I turn on Wi-Fi on the Waydroid emulator?

I just installed the Android emulator called Waydroid on Ubuntu 22.04. Almost everything seems to work as expected, except that I'm completely unable to turn on Wi-Fi usage. Whenever I toggle Wi-Fi on ...
christian_js's user avatar
0 votes
0 answers
16 views

Android camera access [duplicate]

I mean if when one app is using camera in background , is using another camera app at the same time possible?? Some people say it depends on how the applications is coded. Also the app “sound ...
user avatar
0 votes
0 answers
17 views

Rooting android phone [duplicate]

In rooted android , apps can have root permission so they can do everything. I want to know if an app perform factory reset of command rm-rf, Will it reset everything including system partition? Cuz ...
user avatar
2 votes
0 answers
595 views

Required Img files for heimdall root

Folks, I'm trying to root a phone with Heimdall (on Linux). Completed steps so far: Downloaded Factory Firmware patched it with Magisk setup heimdall downloaded PIT from phone backed up phone with ...
Mat's user avatar
  • 41
2 votes
1 answer
277 views

Frame buffer not working in Android emulator when accessed from Linux

I am running Linux with kernel from Android SDK in an Android emulator. When writing from /dev/urandom to /dev/fb0, nothing is drawn in the emulator window. Why? Can you help me with this problem?
Pavel Samsonov's user avatar
1 vote
1 answer
3k views

How can I get a ubuntu desktop on my Galaxy S8 Ultra?

I have installed UserLand and selected Ubuntu but all I see is this (note that I am in DEX mode on a Galaxy S8 Ultra): All the tutorials say I have to set a VNC username and password but it never ...
Force Hero's user avatar
6 votes
0 answers
15k views

How to install Google Play or other repo's on Waydroid?

Having just installed waydroid, how is the Google Play Store installed? nicholas@mordor:~$ nicholas@mordor:~$ sudo waydroid shell /system/bin/sh: No controlling tty: open /dev/tty: No such file or ...
Nicholas Saunders's user avatar

1
2 3 4 5
13