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
8 views

Android Studio Showing Warning In Ubuntu [closed]

I Just Updated to Android Studio-4.0 When using Android Emulator with x86_64 API 29 With Google APIs image It Shows This Warning 1:30 AM Emulator: E0530 01:30:25.593397033 7278 ...
1
vote
0answers
20 views

restore data from internal storage of android phone

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
24 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
43 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
22 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
55 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
30 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
32 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
76 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
15 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
19 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
57 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
53 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
140 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
30 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
81 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
39 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
68 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
70 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
47 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
39 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
42 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
4k 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
62 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
114 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
437 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
305 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
44 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
285 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
50 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 ...
0
votes
1answer
178 views

How to make `adb reboot` work like `/system/bin/reboot`?

I have a problem with my device. When I do adb reboot then it stuck on boot in a loop. But, when I do adb shell and then reboot, it works fine. I searched over the internet and understand that both ...
0
votes
0answers
65 views

How to extract `magiskpolicy` from `magiskinit64`?

I have cloned the Magisk code at my Ubuntu machine. I have successfully run build.py and get the Magisk.zip file in Out directory. This zip contains arm, chromeos, common, META-INF and x86 folders. ...
0
votes
2answers
65 views

easy (command line) way to transfer a folder of photos from Android phone to Linux Debian desktop

I have a RedMi note 7 phone model M1901F7G, running Android 9PKQ1.180904.001; I don't want to root my new phone (it is a gift from my wife, and I don't want risking bricking it). I am an expert ...
1
vote
0answers
44 views

How to increase the sample rate of the current measured from the Android kernel?

I need to monitor some applications power consumption of my Samsung A8, programmatically. I'm doing this by accessing the files: /sys/class/power_supply/battery/current_now /sys/class/power_supply/...
0
votes
1answer
70 views

Unlocking Samsung Galaxy S7 with broken screen plugged into computer

The screen on my phone is broken, and there are a few files I'd like to get off of it. I don't care about the phone at all, just the files. I know the password, I just can't enter it on the broken ...
0
votes
0answers
21 views

Critical processes in android which are speed sensitive?

I am trying to increase the battery life of my phone by changing the power governors. One of the governor: "powersave" sets the CPU frequency to its lowest possible value. I am concerned whether there ...
1
vote
0answers
248 views

How to capture kernel panic logs when ROM failed to flash?

Background: Stuck in boot-loop when unpack and pack system.img? Short Description: I am trying to modify the system partition of my Samsung S10 5G system-as-root treble device. I have successfully ...
1
vote
0answers
863 views

How to disable dm-verity on `Treble` , `system-as-root` device?

Background: Please check following links How to disable dm-verity on Android with “user” build type ROM? Stuck in boot-loop when unpack and pack system.img? Update: So, I am trying to disable dm-...
0
votes
0answers
784 views

Stuck in boot-loop when unpack and pack `system.img`?

Background: I have a treble and system-as-root but it is not an A/B Samsung device. I am trying to modify the system.img. Before that, I have rooted it with the steps given here. After following these ...
0
votes
0answers
704 views

How to patch `system.img` using MagiskManager patch feature to root the device?

I have a treble and system-as-root but it is not an A/B device. I have rooted it with the help of the MagiskManager patch feature. My understanding is: MagiskManager has modified the following three ...
1
vote
1answer
458 views

init: cannot execve('/system/bin/custom.sh'): Permission denied

I have a rooted system-as-root Samsung Device and I am trying to run an init service which runs custom.sh script using u:r:su:s0 SELinux context. # define service, use executable here if script not ...
1
vote
1answer
455 views

How to make SELinux permissive with `systemless-root` on a `system-as-root device`?

I have a Samsung S10 5G device that is actually a system-as-root device. I have rooted it by following the instructions given here. As the system-as-root devices have no ramdisk in boot.img but in ...
1
vote
1answer
642 views

How to fix “dmesg: klogctl: Permission denied” for normal user on Android?

I have a rooted Samsung device(system-as-root). When I open adb shell and run the dmesg then it behaves differently for su and normal user. It throws dmesg: klogctl: Permission denied error when ...
0
votes
0answers
43 views

Android Galaxy S9 can't connect to Debian Wi-Fi hotspot if it's secured

I try to connect to a Wi-Fi password-secured hotspot using an Android Galaxy S9 device. My Android smartphone says incorrect password. The hotspot kernel logs output says iwlwifi 0000:00:14.3: ...
1
vote
1answer
400 views

How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash I'm able to run ls but anything else says permission denied or error:closed. / $ ls ...
0
votes
0answers
33 views

Phone not recognized by computers at all. No adb, usb, lsusb, fastboot

For over a year my phone had no issue connecting to my computer via usb cable. I could transfer files back and forth via adb no problem. It stopped being recognized about a month or two ago, So I've ...
0
votes
0answers
71 views

Wifite not showing network (or not working)

I am using Kali nethunter that is installed from magisk but I am facing problem with wifite, firstly I got the hashcat and other packages problem (got fixed), but after all the work I got this screen ...
3
votes
0answers
74 views

learning then mastering and using Android for a Linux “guru” using the command line? [closed]

I am a 60-year old Linux guru: coding Bismon (documented here) and using and coding on Unix since 1987 (SunOS3.2) and Linux since 1993 (but I never used Windows, and very probably never will). Of ...
1
vote
0answers
55 views

Does Termux call fork/exec system calls in Android?

There are tutorials (e.g., this and this) that use Termux to compile and run cpp codes in Android. Does Termux run fork/exec system calls and start running the program's main function? More generally, ...

1
2 3 4 5
11