Questions tagged [linux]

Use this tag when your issue involves a Linux laptop/PC, or addresses Linux specific topics of your Android device. (Note that running Linux distros on Android is off-topic.) 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.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 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....
1
vote
0answers
33 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 ...
1
vote
0answers
51 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 (...
1
vote
0answers
15 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
32 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 ...
2
votes
1answer
102 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 ...
0
votes
0answers
40 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, ...
0
votes
0answers
481 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....
1
vote
1answer
113 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 ...
0
votes
0answers
48 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
165 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 ...
0
votes
0answers
22 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 ...
0
votes
0answers
32 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? (...
0
votes
0answers
71 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.
0
votes
0answers
10 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 ...
0
votes
0answers
14 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 ...
1
vote
0answers
79 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 ...
0
votes
0answers
35 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 ...
0
votes
0answers
71 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. ...
1
vote
1answer
88 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 ...
0
votes
0answers
145 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 ...
0
votes
0answers
29 views

I've broken my screen and now I cannot see anything

I broke my phone at work today and now I cannot access it, as the screen is totally black. Is there a way to access it to (at least) back up my data? I use fingerprint and PIN (not SIM PIN) to access ...
-1
votes
1answer
160 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+
0
votes
0answers
39 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/ ...
1
vote
0answers
168 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 ...
1
vote
0answers
42 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 ...
1
vote
1answer
90 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:...
1
vote
0answers
39 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?
2
votes
0answers
102 views

Wireless debugging issue on Android 11

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 It ...
1
vote
0answers
58 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 ...
0
votes
0answers
30 views

How to root the LGLS676? Is the idea I have about how to go about it the most efficient method?

I want to root my LGLS676, because I want to install the gnu coreutils on my android phone. The only way I can imagine doing this is making the phone think it's not a phone, because I can't use adb ...
1
vote
0answers
101 views

Should SELinux be Permissive to access /dev/diag

I am trying to set the SELinux to permissive on Android with no luck. I tried the command su 0 setenforce 0 it returns OK while still being Enforcing if checking immediately using getenforce command. ...
1
vote
0answers
74 views

mount multiple ext4 partitions manually

I have rooted android phone running android 10. I have one ext4 partition created using : # dd if=/dev/zero of=/sdcard/ext1.img bs=1M count=1024 # mkfs.ext4 -F /sdcard/ext1.img which I mount ...
2
votes
0answers
29 views

Charging/USB Notification Not Appearing on LG X Charge

For the past month I have been trying to connect my phone to my Ubuntu Linux with little luck- for context, I used to run Linux Mint and managed to get things to work just fine. However, I switched ...
0
votes
0answers
78 views

Installing server version of Debian on post Android mobile phone

The last time I play with technologies like Docker, Kubernetes, etc. and I would like to install it on another physical machine instead of my laptop. As a student, I would save some money so I force ...
1
vote
0answers
112 views

Boot Linux from stick in Termux

This question explains in detail why it's basically impossible to boot Linux from a USB stick. But I am still wondering: is it possible to load and "boot" a stick-bound Linux distro from a ...
0
votes
0answers
18 views

Wget cannot send post data same was as it does in laptop

I use a shell script containing the following line of code to quickly log me in to my institute's ldap server, which then grants me internet access as the process is tedious. wget --delete-after --...
0
votes
0answers
64 views

Issues in communicating via IPSec (StrongSwan) between an Android client and its gateway (IKEv2)

I've been attempting to create an IPSec VPN into my home network to which I can tunnel from outside, eg. on my phone or thru my laptop when I'm abroad. Authenticating the clients is done via pubkey ...
0
votes
1answer
164 views

Nexus 5X Nethunter has no linux-headers for 3.10.73-Re4son-3.5

So, i rooted my Nexus 5X oreo 8.1, installed nethunter, all good so far. I bought an tp-link TL-WN722N v3(EU) and now i'm trying to make it work. I downloaded the drivers from tp-link website but i ...
2
votes
0answers
51 views

(ROOTED PHONE) Using WiFi and LTE Simultaneously

I have a rooted Google Pixel 4a and an IoT device which I connect to over WiFi. This WiFi network does not have internet connectivity and simply serves as a way to control the IoT device. I have a ...
0
votes
0answers
37 views

secure custom ROM for galaxy A50

I have a mallware infection on my A50 and I was going to flash a stock ROM back on it. On the other hand, there might be other options that give more functionality or security. Perhaps even a custom ...
0
votes
0answers
59 views

How to make Joplin app in my Android phone read-only?

I am using Joplin note taking app both in my Ubuntu 20.04 PC and Android phone running Android 10. I sync my notes from both devices into my Dropbox account such that the notes are same in both my PC ...
1
vote
0answers
848 views

adb install-multiple fails with error: [INSTALL_FAILED_INVALID_APK: Split null was defined multiple times]

I'm trying to install multiple .apk files to my Samsung Note 4, over adb. I'm able to install the same set of files individually using the 'install' command, but when I try to 'install-multiple' I get ...
1
vote
1answer
1k views

Is it possible to run an X Server and a window manager in TermUX

I am running the TermUX application on an Android 10 smartphone, and can type in it with my Logitech K480 keyboard. I want to run a window manager like fvwm (see fvwm.org). I have found an article on ...
4
votes
1answer
149 views

Replacing Android OS on Android phone with Linux OS

I'd like to entirely replace Android on my phone, which I plan to eventually root. I've learned so far that Linux Deploy can be used to run a full Linux distro alongside the Android OS, but really I ...
1
vote
0answers
176 views

Why does android has only one zram but linux distros use many zram equal to the number of cpu cores?

Most android roms have only one zram device [zram0] but linux distros use many zram like zram0, zram1 .... Why is it like that? Does using many zram consumes more power or adds complexity? what's the ...
1
vote
1answer
112 views

Genymotion player crashes when selecting the webcam option

Every time I select the webcam option on the Genymotion player, the title of the webcam option comes up, but then the hole emulator crashes. I'm using the free version of Genymotion. I get this ...
1
vote
1answer
385 views

How can I access my SanDisk sdcard from Linux Deploy

How can I access my SanDisk sdcard I would like to know how to see it contents and set it RW property, ejected it copy,delete and so on from the command line using JuiceSSH and vnc file manager going ...

1
2 3 4 5
12