People who code: we want your input. Take the Survey

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
0answers
31 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/ ...
0
votes
0answers
28 views

Why can't I share Wifi to Linux mint if I can share it via USB? [closed]

I have a mobile phone with Android. I can share its internet connection to Linux Mint via USB. But if I try to share the connection via wifi, Mint gives an error: "Connection failed, Activation ...
1
vote
0answers
14 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
32 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
26 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
25 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
23 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
39 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
24 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
62 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
41 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
23 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
45 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
41 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
15 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
41 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
63 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
30 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
29 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
29 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 ...
0
votes
0answers
329 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
0answers
205 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 ...
3
votes
1answer
93 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
70 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
48 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
89 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
44 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
244 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
31 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
77 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
170 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
94 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
271 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
97 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
vote
0answers
47 views

Galaxy Tab 3 10.1 GT-P5210 won't turn on after trying to hard reset

I have Galaxy Tab 3 10.1 GT-P5210. I forgot the lock screen password, so I tried to hard reset the device using the recovery menu. (Power button + Volume up). When I tried to hard reset, I got a lot ...
1
vote
0answers
446 views

Fastboot stuck on “Sending 'boot.img'” (TWRP, Moto G7 plus “lake”)

fastboot version 30.0.4-6686687 Trying to temporarily boot TWRP recovery image twrp-3.4.0-0-lake.img on my unlocked Motorola Moto G7 Plus. Phone is connected via USB Type-C to Type-C cord from the box ...
2
votes
1answer
420 views

Stock Android 10 device is offline for ADB commands on Linux, can't use USB Debugging

Trying to use adb tool 1.0.29 on a PC running Linux Ubuntu 20.04 to debug my Motorola Moto G7 Plus running stock Android 10 (hence not rooted) connected via USB. Previously it was working OK, I've ...
0
votes
0answers
98 views

ADB hangs, listed as defunct. What is keeping it from working?

When I try any of: adb devices, adb shell, adb kill-server -- anything but 'adb version' and 'adb help' -- it just hangs. Nothing happens even after several minutes. Only ^C does anything, killing ...
1
vote
1answer
53 views

Get into fastboot mode (AOC Q70S15 model)

Model: AOC Q70S15 Android version: 4.2.2 Tablet not rooted Desktop OS: Arch Linux Issuing the command adb reboot fastboot from my pc makes the tablet shut down but it doesn't reboot, the same happens ...
1
vote
0answers
35 views

Why does Android force close apps after update?

I have been using Linux in my PC for a long time. I had noticed that if an app is updated while it is running, the app is not forced to close or restart. But in Android, I noticed that apps are forced ...
0
votes
0answers
122 views

What is the easiest way to send push notifications from my GNU/Linux machine?

Not sure if this is the right network to ask this, but I want to have a simple way of sending a push notification to my android phone from a simple command on my linux box. Both devices are on the ...
0
votes
1answer
88 views

Can someone please help me understand this Linux command?

dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt aes-cbc-essiv:sha256 <Put the 16-byte hex key here> 0 /dev/sdb2 0" I got it from step 6 of the first answer here. ...
0
votes
1answer
182 views

Why is it possible to backup the rom images from mediatek devices using third party (open source) tools such as SP flash tool unlike Google Pixel?

When running Linux i am able to use SP flash tool to do a readback from my mediatek device and do a full backup of the rom images while the device is in preloader mode, without the use of any ...
1
vote
0answers
425 views

How to install Ubuntu-Touch on Xiaomi Mi A3 [closed]

H!@all I would like to install the Ubuntu-Touch on my Xiaomi Mi A3 How to start, were to download, how to flash? The Xiaomi Mi A3 is on the list of supported devices and a link to Github from where ...
0
votes
0answers
57 views

android's linux kernel scheduling mechanism vs harmony os's deterministic latency engine

I was reading upon Harmony OS and found that android's Linux kernel scheduling mechanism has some limitations as mentioned here: https://harmonyosofficial.com/ From Harmony OS website mentioned above: ...
1
vote
0answers
68 views

Help trouble shoot audio driver

So my audio stopped working after the upgrade to android 10. And I can not roll back to Android 9. Phone Samsung Note 9. Android 10. Need help understanding the start-up process in android. Which file ...
1
vote
0answers
214 views

the android_expand partition in the sd on android can be resized?

Can the android_expand partition be resize? I need change the SD because start to fails but i have a lot of thing on the SD partition well i try dd if=/dev/mySD of=/dev/NewSD both are same capacity ...
0
votes
0answers
47 views

Android device screen turning off results in chroot network errors: “ping: sendmsg: Operation not permitted”

I am running Arch Linux ARM in an Android chroot environment. When I first created the environment my user account user was able to access the network and create sockets, however the root account was ...
0
votes
1answer
171 views

Can't decrypt adopted storage [closed]

Last night, I messed up my LineageOS 16 install on my Galaxy S5 and had to reinstall it, starting essentially from scratch. I wanted to see if there was any way I could decrypt the 128 GB microSD card ...
1
vote
0answers
42 views

Is there a safe way to install Ubuntu on my Android phone? [duplicate]

I have a Xiaomi Pocophone F1 with decent specs: Snapdragon 845, 6 GB RAM, and enough storage. I was wondering if there is a tried-and-tested way to install some Linux Distro on it (preferably Ubuntu) ...

1
2 3 4 5
12