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
0answers
33 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 ...
1
vote
1answer
42 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
13 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
32 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
30 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
19 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
80 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
49 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
29 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
22 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
22 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 ...
0
votes
0answers
37 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
16 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
61 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
25 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) ...
0
votes
1answer
37 views

How can I receive 2 video streams from 2 Android phones over USB tethering using IP Webcam?

For a Live DJ streaming setup (on a budget), I would like to be able to receive two or more video streams from two or more Android phones via USB tethering using the IP Webcam android application. It ...
1
vote
0answers
33 views

Linux Deploy Ubuntu share folder

I wasn't sure if I had to ask this question on a Linux Exchange or on the Android one, but since folder sharing is working fine on the Linux that are running on my computer, I thought that it is an ...
0
votes
0answers
14 views

Create bootable iso of linux distro

I use to have debain and android in my laptop then somehow my debain get damaged now i am with androidx86 only in my laptop. When i insert my usb (fwhich have the iso of few linux distro) it ask me to ...
0
votes
0answers
39 views

Is it possible to decrypt an encrypted SD card without rooting the Android phone? (How to get the .key file of /data/misc/vold?) [duplicate]

I'd like to encrypt my SD card for Android conveniently, safely and in a cross-platform way so that it can also be used on other devices. I asked about that here. As of right now there doesn't seem ...
1
vote
0answers
544 views

Error while running an emulator

=== About === Build version: Android Studio 3.6.2 Build #AI-192.7142.36.36.6308749 March 19, 2020 Java version: 1.8.0_212-release-1586-b4-5784211amd64 Operating System: Linux (5.4.0-31-generic, amd64) ...
1
vote
0answers
25 views

restore data from internal storage of android phone [duplicate]

I am struggelling with the file recovery of an internal storage of an android phone. I made a dd copy of the /dev/sda device which includes the system and userdata and some other partitions of the ...
1
vote
0answers
67 views

Change Android Bootloader Splash Screen Image

How can I change the bootloader splash image that shows up as soon as the system is powered on? Note that I am not talking about the logo which is shown after the kernel has loaded (IE: after 'init'). ...
0
votes
0answers
52 views

How to recover deleted notes from Android device - Huawei P8 Lite?

I'm very stuck in solving this problem (from more that one year!). I started accidentally the hard reset of my Huawei P8 lite. Luckily I've saved all my photos and document on my SD. The problem is ...
0
votes
0answers
33 views

How to send a sample notification to android phone from SSH

I am using SSHelper to login to my android device via ssh. Is it possible to send a notification to phone after I SSH into the phone with those credentials?
1
vote
0answers
115 views

Keeping ADB permissions while USB tethering

It seems that I can only get ADB permissions for my device only while in MTP or PTP mode and NOT in USB tethering mode, which is what I need. I have done plenty of research but I stumbled upon so ...
1
vote
0answers
38 views

is it possible to install linux on android?

Is it possible to install open-source Linux distribution like Ubuntu on Android Device? If so, how would this be accomplished?
2
votes
0answers
64 views

cant flash Lenovo Tab M10 TB-X605L LTE with Android 8

I have a Lenovo Tab M10 TB-X605L LTE that I would like to give to my grandfather with Teamviewer Host installed to accept incoming calls because he is unable to do so. We want to give him the ...
1
vote
1answer
174 views

Terminal emulator on Android device: Can I communicate with with the terminal on my Linux machine over bluetooth?

I am trying to issue a command in my terminal emulator on my Android device over Bluetooth from a Linux machine. The command is meant to launch an app, and looks like this: am start —user 0 -n com....
0
votes
0answers
31 views

What is /dev/at_mdm0 device for?

What is /dev/at_mdm0 device,owned by radio:radio for? lsof output: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME port-bridge 1370 radio 3u CHR ...
0
votes
0answers
35 views

What is the difference between two AT-command interfaces

Qualcomm SDM660(modem- MSM4114), Mi A2, Android One 9(stock), 2 sim I founded two devices(not links), that can recieve at commands and answer them. Its /dev/smd8 and smd11. Smd7 is owned by root:root,...
1
vote
1answer
70 views

avdmanager hangs on “Loading local repository…” Linux

Repro: Headless Ubuntu 18.04 LTS VM (kvm note enabled) sudo apt-get update sudo apt-get install -y wget openjdk-8-jre-headless libc6-i386 lib32stdc++6 python3-pip nginx unzip sudo wget https://dl....
1
vote
0answers
109 views

How to decrypt a dumped android partition on a pc?

I chose to boot android on the from the sdcard in order to have more storage. So I dumped though dd the internal 32Gb storage to the 256Gb sdcard with the partition table included. By just changing ...
1
vote
1answer
428 views

How to continue using an android system with a broken touchscreen?

I have many working android cellphones with broken touchscreen but with a working screen and I would like to use them as computing device and/or additional screen. Is there a way to do that?
0
votes
0answers
37 views

How to dump full device settings on recent Samsung from Linux?

In my case, I would really be annoyed to no longer have phone/lte working because of the detection of a non Samsung firmware. So I’d like to root the device (or boot from the sd card) by modifying ...
1
vote
0answers
149 views

Android box - soft bricked, but can boot Linux

Introduction First of all I have quite old android box - Ferguson 3 TV. It's hardware based on platform very similar to MXQ/HD18Q with s805 processor. Stock rom based on Android 4.4 (not Android-TV). ...
0
votes
0answers
46 views

How is it possible that I run android apps with the right user rights

I learned for every app I installed on my Android, a new user is created. And the data for this app is stored in /data/data/app folder with the only access permission to the user that is created for ...
1
vote
0answers
201 views

How to fix mount errors when trying to mount the raw image that converted from android sparse image?

I have sparse.img image with the following properties: $ file sparse.img sparse.img: Android sparse image, version: 1.0, Total of 2512896 4096-byte output blocks in 60 input chunks. I want to see ...
0
votes
1answer
269 views

What is needed to run ELF binaries compiled from android APKs? (understanding android internals)

I'm trying to understand how Android works internally. Before ART, it used Dalvik to run java code. I guess it created a Dalkiv process in 'Linux' kernel which was simply a VM that ran the dex ...
1
vote
1answer
54 views

Android asks me for USB debugging permission on one computer, but not another

I have two Ubuntu machines, a laptop and a tower. ADB works on the tower but not on the laptop. I'm using the same Android device on each, with the same adbkey and adbkey.pub. On my tower, ADB works - ...
0
votes
0answers
53 views

How do I access a SD card in an Android phone, via phone USB and Linux?

I've got a 256 GB card in my Nokia 5, which is set up to be used as phone storage, and not for portable use. However, I can't seem to be able to find any files on it. The directory in Android shows: ...
0
votes
0answers
62 views

Linux Multifunction Composite Gadget

I am trying to connect a beagle bone black to my android 10 device so that I can access the serial console. The device is listed as "Multifunction Composite Gadget" I am using "Debian GNU/Linux 9 (...
1
vote
3answers
7k views

How can i factory/hard reset/wipe a Nokia 2.2 (TA-1188) without a (windows) pc?

Having looked around hither and thither now for a night as to how to factory reset a Nokia 2.2 i'm still a bit confused and unable to do it. Holding volume-down + power on brings me to a boot screen ...
0
votes
0answers
90 views

Why `diag_mdlog` not able to write on `/sdcard` if it is fired from an Android App that has write permissions?

I am getting a weird behavior with diag_mdlog executable. I am executing it from my Android app as su -c /vendor/bin/diag_mdlog -o /sdcard/abc -f /sdcard/Test.cfg The issue is: if the android ...
0
votes
0answers
161 views

Android Device Partition table not recognized by any of the partition management tools

I have an Android 8.0.0 device (https://www.tvbox-manufacturer.com/product_category/fire-tv-stick/) with eMMC as a storage medium. The eMMC is removable (BGA socket on the Board). The device boots ...
1
vote
1answer
995 views

Why Android x86 9.0 boots in command line and not in GUI?

i just installed android x86 9.0c and i don't know why it doesn't boot on GUI mode and it boots only in commandline then after some seconds i can only see just a dash appearing and disappearing. I ...
4
votes
1answer
652 views

How to boot Ubuntu persistent live USB on Android?

I'm discovering the possibilities offered by persistent live USB using Ubuntu 19.10 and I was wondering if it would be possible to boot with Ubuntu on Android (i.e. using your computer capabilities ...
0
votes
1answer
58 views

Packet forwarding between USB Tethering and Wifi on Android

I have Toshiba notebook with embedded wifi adapter 2.4Ghz, desktop without embedded wifi adapter and Samsung Galaxy smartphone with Mobile HotSpot feature also on 2.4Ghz. Smartphone is connected to ...
1
vote
1answer
528 views

How to configure and Enable WiFi Hotspot through terminal without ROOT

How can i configure and enable/disable the WiFi Hotspot by using terminal command without ROOT? Also I want to kick user from my hotspot using terminal command
0
votes
0answers
84 views

KDE Connect filesystem expose not working on LineageOS 16

I am trying to mount my Android filesystem on my desktop and it is not working with LineageOS 16 installed. It used to work earlier before installing LineageOS on my phone which was earlier running ...
0
votes
0answers
24 views

What happens in low level when booting a Android Q (10) device?

I have read this article which introduce Linux booting process. However, even if Android system also use Linux as kernel, the surrounding software is greatly different. So I have searched this post ...

1
2 3 4 5
11