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
0 votes
0 answers
45 views

Why are Android ELF files different?

When I try to run a x64 ELF file which was build for Android on my desktop PC I get a "file not found" error. I think that's normal because Android ELF files aren't compatible to normal ELF ...
user avatar
  • 61
1 vote
1 answer
38 views

VLC for Android: No connection to local network

All of a sudden, my VLC for Android app just up and stopped showing the local LAN network shares which are Samba running on a Xubuntu 20.04 host. I have no clue to what caused this. I have verified ...
user avatar
  • 370
0 votes
1 answer
113 views

MTP changes with Android 12 update on Pixel 5?

I have a Google Pixel 5 that recently updated to Android 12. Since then, it has not been able to connect to my Debian 11 Linux desktop to transfer files in the usual way. The "usual way" is, ...
user avatar
0 votes
0 answers
31 views

Why is a vendor blob needed to build an Android ROM?

Why do we need a vendor blob in order to make our custom Android ROM from the AOSP project? As far as I know, the vendor blob contains the required proprietary drivers. But these drivers we could have ...
user avatar
1 vote
0 answers
49 views

Xiaomi Redmi Note 4 mido userdata partition type / data recovery

I am doing data recovery on a Xaomi Redmi Note 4(x?) [mido] and I have finally gotten a flash dump ( the screen is scuffed and no perms have been set ( no adb,oem unlock, storage access )) Only way to ...
user avatar
0 votes
0 answers
24 views

ADB crashes on Raspberry Pi when certain amount of data is transferred

I have a Raspberry Pi 3 Model B Plus Rev 1.3 with Kali 2021.2 running on it. This RPi works as a little server which I SSH to. The RPi is connected via USB to an Android 8.1 device, so I can SSH to ...
user avatar
0 votes
0 answers
51 views

Installing v4l2loopback and other modules on android?

I'm trying to install v4l2loopback, ffmpeg and v4l-utils onto my android device. I believe I have figured out how to install v4l2loopback (by pushing it as a signed kernel module), but I'm stuck ...
user avatar
0 votes
1 answer
34 views

How can I transfer files between this phone and my laptop?

I connect my Moto G Pure phone to my laptop (running NixOS) using the charging cable of the phone, with the phone turned on and with it turned off. In both cases, the phone doesn't show up in the ...
user avatar
  • 435
0 votes
0 answers
17 views

How to install gapps on anbox for linux [duplicate]

I want to install gapps on Anbox. Below is a screenshot of Settings, about device. I'm hoping to find out what version of gapps should be used.
user avatar
0 votes
1 answer
29 views

Hotspot DHCP issues without mobile data (dhcp4 request timed out)

By default, does the Android "hotspot" functionality provide a DHCP server to its clients? Or does it just pass DHCP info on from the network that it's connected to? I'm trying to create a ...
user avatar
1 vote
1 answer
87 views

File attributes on Android (Linux): Any way to make a file fully writable but not deleteable?

I tried chattr with the +a (+i is even more restrictive), but it immediately caused app panic aka "app has stopped". What I want to do is make a file & folder undeletable. You can ...
user avatar
2 votes
0 answers
559 views

Rooting android with the dirty pipe vulnerability

there is a newly discovered Linux Vulnerability has which lets you inject code in root processes (source), i have been looking into it but failed to pull anything off, for what i understand to gain ...
user avatar
1 vote
0 answers
42 views

How use Live boot on Android devices?

I want Live boot a Mobile Linux distribution(for example Mobian) on the Android device. I also have an adb and fastboot and my device is rooted. Is there a way to Live boot on Android? Sorry for my ...
user avatar
  • 11
0 votes
0 answers
28 views

How to navigate system image?

I've got a complete system backup mmcblk0.img I've tried various linux-based tools in order to be able to navigate inside this file (and thus access specific files or folders), but have so far been ...
user avatar
  • 1
0 votes
0 answers
113 views

How to make a really complete backup of an Android device?

AFAIK, all Android partitions are listed in /dev/block/by-name. Assuming device encryption is turned on, if I backup all partitions with e.g. (one at a time) for PARTITION in $(ls /dev/block/by-name) ...
user avatar
0 votes
1 answer
37 views

Remote access to Android local network

I have devices connected to Android phone hotspot and phone have internet through LTE. I need access in my phone local network to access all devices web interface. What solution can you recommend? I ...
user avatar
0 votes
0 answers
19 views

Linux laptop connected to Android device via Bluetooth as playback device instead of computer

I have a Pixelbook running both Debian and Ubuntu and a Pixel 5. The following relevant software are present: bluez, blueman, gnome-bluetooth. However, when I connect the Pixelbook to Pixel 5 via ...
user avatar
  • 1
0 votes
1 answer
303 views

Fastboot flash boot (FAILED)

I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery bootimage image I compiled. I have no additional information on why I got this error. Just flashing twrp ...
user avatar
2 votes
1 answer
133 views

What file systems can I use with my SD card on a Samsung A10S?

I'm using a Samsung A10S phone. I use Arch Linux, no Windows, and I want my phone's SD card to be highly compatible with my PC. The default SD format seems to be vFAT which disallows many special ...
user avatar
0 votes
1 answer
88 views

How to mount Andoid 10 file system on Ubuntu 20?

On the phone, I did Settings --> Developer Options --> Default USB Configuration --> Transferring files / Android Auto Hoping that would mount its filesystem on Ubuntu 20 when connected USB....
user avatar
1 vote
0 answers
129 views

Fastboot recognizes device but unable to flash (stuck with no output)

I'm trying to flash a custom ROM on my Android smartphone using fastboot. When trying to flash the recovery, the command does not output anything and is stuck. ./fastboot flash recovery recovery.img ...
user avatar
1 vote
0 answers
113 views

backup on Linux desktop of an android phone

I am fluent with Linux command line (using Linux since 1993). I have a Ubuntu 21.10 desktop (with root access, and good fiber-optic connection to the internet). My mobile phone is a Redmi Note 7 (...
user avatar
1 vote
0 answers
22 views

After "du -a", video file format not supported in android

I connected my android device to ubuntu, and ran the command du -a . | sort -n -r | head -n 10 by going to the home directory of the android file system to know the top 10 largest folders occupying my ...
user avatar
0 votes
0 answers
166 views

How to mount mmbclk0 for data recovery using testdisk and the like?

No standard Linux tool seems to be able to mount mmcblk0.img The partition table isn't something regular tools know of. Testdisk knows nothing of it either. For background, I formatted the device by ...
user avatar
  • 1
0 votes
0 answers
91 views

Commands failing to write due to protocol error in Fastboot using Linux Mint on ONN 100015685-E

FAILED (command write failed (Protocol error)) Any command I try to run in fastboot fails to write ONN Surf 100015685-E I tried using Windows and kept having problems so I'm trying Linux I'm trying ...
user avatar
2 votes
1 answer
176 views

Native Linux on Android's SOCs

I wanted to know for quite some time why linux operating systems are not ported to phones or tablets SOCs with android? Like how they are on desktops and laptops. I know linux can run on various ...
user avatar
  • 188
0 votes
0 answers
48 views

Linux on Android

I'm currently working on Android applications development. The projects are majorly about management and integration of Android applications on linux. and deployment of the codes on my applications, ...
user avatar
0 votes
0 answers
1k views

How to Autostart App on Android TV

I'm using an Amlogic TV Box with Android 9. I'm trying to get an app to launch at startup, but the app will not launch. The method I'm using is: /data/local/userinit.sh #!/system/bin/sh am start com....
user avatar
1 vote
1 answer
341 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 rooted device). Unfortinatly it does not ...
user avatar
0 votes
0 answers
89 views

Create and edit a bash script in an USB connected smartphone

The question explains it all. I am using Ubuntu 20.04 LTS. I have connected an android smartphone to pc using USB. Changed directory to internal storage using: cd /run/user/*/gvfs/*/'Internal Shared ...
user avatar
1 vote
1 answer
191 views

How to remove the Ubuntu Touch kernel at startup?

I have tried the latest Ubuntu Touch on Nexus 5, but it was useless because an exential app doesn't work with Anbox. So i want to try an Lineage 18.1 unofficial image. I have installed the image with ...
user avatar
  • 271
0 votes
0 answers
292 views

how to control or limit internet speed using termux?

I have a rooted phone so can I do it? it's possible on Linux and I understand not all Linux commands are available on termux. I am trying to deploy to firebase and get an error of network request ...
user avatar
0 votes
0 answers
29 views

Strange problem with printing Memo documents on Samsung phone and moving to Ubuntu PC

I have been backing up Memo documents on my Samsung Galaxy 5 to my PC by printing the Memo documents to PDF on the phone and then moving them to my PC. My PC has Ubuntu version 20.04.2 LTS. This ...
user avatar
  • 121
0 votes
0 answers
54 views

How to resolve the "Permission Denied" to access termux files - no root [duplicate]

I have a number of terminal applications, When I change the directory to: cd /data/data/com.termux/files I get permission denied. How to make another terminal app to be able to access termux files? (...
user avatar
  • 1
0 votes
0 answers
127 views

Why 'ping localhost' command in Termux returns a normal response even though there is no local web server?

I just tried 'ping localhost'command in Termux and response was positive. How this is possible since I don't have a local web server running.
user avatar
0 votes
0 answers
18 views

userLAnd XInputExtension missing on display

I'm trying to run an linux gui app in userLAnd with debian. I'm getting an error about XInputExtension being missing on the display. Is there a work around for this? Unfortunately I was unable to ...
user avatar
  • 101
0 votes
0 answers
19 views

Remove advertisements from the userLAnd program that allows you to run linux gui apps?

I am using UserLAnd to try to run a linux desktop apps. I tried Debian noroot, which worked pretty well but appeared to not be very well documented and I had problems moving files to somewhere that ...
user avatar
  • 101
1 vote
0 answers
229 views

How to access to USB port from ubuntu emulator on android?

I installed userland on my Android device and I run Ubuntu on it and connect to it with VNC server, how can I access the USB port from Ubuntu? Is it possible at all? If userland can't access the USB ...
user avatar
  • 11
0 votes
0 answers
45 views

USB networking setup between Android and embedded Linux

Cross posting this question that I also asked on ServerFault: I'm working on a project right now where we have an embedded Linux system running some sensor/motor control functionality, and we're ...
user avatar
  • 101
1 vote
0 answers
167 views

Is there a way to transfer SMS mesages from a Samsung Galaxy S5) to an Ubuntu PC, in a form in which I can view the SMS messages on my PC?

I want to transfer the SMS messages on my Samsung Galaxy S5 smartphone to my PC (with Linux Ubuntu 20.04.2 LTS), in a form in which I can open and view the messages on my PC as I do on my smartphone. ...
user avatar
  • 121
1 vote
1 answer
241 views

how to get data from Android phone internal memory in downloading or recovery mode

My Yotaphone 2 started to boot loop (can not finish booting). I can only reach "Downloading mode" or Android system recovery with options: "reboot system now" "apply update ...
user avatar
  • 11
0 votes
0 answers
291 views

Set the default size of windows in Anbox

I want to know how to set the default windows size of Anbox freeform windows What I have searched until now: Modify the source code to make it use Linux's windows manager then compile it: I don't ...
user avatar
0 votes
1 answer
335 views

Android TVs and LINUX 4.9.118+ [closed]

Perhaps an obvious question for some, but, is my Kogan brand Smart tv using Android and google play pre-installed apps running Linux 4.9.118+
user avatar
  • 21
0 votes
0 answers
44 views

What does it mean when a file is owned by the user “system” and the group “system”? in android file system

I just trying to understand What does it mean when a file is owned by the user “system” and the group “system”? in the android file system. In the android device file system root@xyz:/ # ls -l cache/ ...
user avatar
  • 119
1 vote
0 answers
254 views

Nexus 7 (2013) fastboot connection to PC

I've been trying for a few days to install LineageOS on a Google Nexus 7 (2013 version, or "flo"), using this guide here, but the USB cable connection seems to be very unstable for anything ...
user avatar
  • 11
1 vote
0 answers
48 views

What is Android OS in context of Chrome OS?

What kind of operating system is Android? I've tried using other file types, but not any of them work: .ios, .img, .exe, .pkg. My terminal needs a password which is chromeos-setdevpasswd. Yet, when I ...
user avatar
  • 11
1 vote
1 answer
151 views

Nokia 7.1 recovery mode adb shell

Recently, my Nokia 7.1 stopped booting properly. When I turn it on, it just goes to the "android one" scree, then stops. I managed to boot into recovery mode, and I got the following options:...
user avatar
1 vote
0 answers
55 views

How do I compile and install USBguard on android?

Is it even possible to compile and install linux packages on android, if it is possible how do I install usbguard into android?
user avatar
3 votes
1 answer
494 views

Device not shown on ADB even after pairing for wireless debugging on Linux

Wireless debugging seems to pair, but then the device just does not show up. I tried it on Mac and it works, but it does not work on Linux. I am on a Samsung phone. I run adb pair [IP]:[PORT] [CODE]. ...
user avatar
1 vote
0 answers
87 views

Rootdir meaning in Android

So here these are two quotes which I think describe well what the root dir is : rootdir: the root directory (/). All files/folders/filesystems are stored in or mounted under rootdir. On Android, the ...
user avatar

1
2 3 4 5
13