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
1
vote
1answer
35 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
25 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
34 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
8 views

Real Time Whiteboard Synchroniser between Android and Desktop [migrated]

As covid 19 forced millions to set up their home office, I still feel the absence of a simple whiteboard is one of the biggest barriers in zoom, team or slack whatever name you. So I wondered if there ...
0
votes
0answers
14 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
16 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
18 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
44 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
6 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
9 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
31 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
31 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
51 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. ...
2
votes
1answer
57 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 ...
1
vote
0answers
39 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
26 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
67 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
38 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
70 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
40 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
47 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
34 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?
1
vote
0answers
42 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
44 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
29 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
80 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
63 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
27 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
63 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
69 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
16 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
50 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
99 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
42 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
31 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
45 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
611 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
560 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
116 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
107 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
79 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
180 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 ...
2
votes
0answers
48 views

Can you help me recover my accidentally deleted videos?

I have a Nokia 2.2 smartphone runnig Android 10 ( a hateful piece of software from my opinion). From 16 GB of storage only 2 are available for the user and it's shrinking even more with every new ...
1
vote
0answers
367 views

Emulator: emulator: ERROR: Not enough space to create userdata partition (Ubuntu 20.04)

I've been getting the error: emulator: ERROR: Not enough space to create userdata partition. Available: 6910.351562 MB at /home/codedoor/.android/avd/Pixel_4_API_29.avd, need 7372.800000 MB I'm ...
0
votes
0answers
32 views

Is the Android Emulator from Android Studio vulnerable to Dirty COW?

I want to try out the DirtyCOW Exploit in a Virtual Machine or an Emulator. I have made DirtyCOW run on some versions of Android-x86, with Android-x86 running in VirtualBox. I want to know if DirtyCOW ...
1
vote
1answer
94 views

Understanding the sending of commands in adb shell

I am trying to talk to the modem embedded within a module through adb shell but since I'm accessing the HW remotely, i'm not sure of the original setup and may need some help clarifying: adb shell ...
1
vote
1answer
255 views

Android cannot forward packets

Target: Perform IP forwarding for devices within the same local network. (The real target is transparent proxy but the IP forwarding is a prerequisite) Network setup: All devices are in the same local ...
0
votes
0answers
127 views

How can I access the usb of my device from inside a Lil'Debi chroot?

I am attempting to run adb from a Lil'Debi chroot enviroment. Unfortunately, I keep getting no devices in attached device list. The enviroment created by Lil'Debi links some system folders but does ...
2
votes
1answer
511 views

adb reboot vs adb shell reboot

I run the commands from my laptop. but can't understand what is the different, it's look like both commands are just restart the mobile device. What is the different between adb reboot vs adb shell ...
0
votes
1answer
127 views

Debug APK with Android Studio without breakpoints [closed]

I'm trying to reverse engineer a newspaper app. I've decompiled it with apktool v2.4.1 apktool d APK_NAMEadded to android:debuggable=true in AndroidManifest.xml and changed one boolean method's return ...

1
2 3 4 5
12