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
12 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 ...
0
votes
0answers
12 views

Can I install Ubuntu touch on Smartwatch? [closed]

I am working on a project on Artificial Intelligence, and for this, I have to install ubuntu base on a smartwatch. I need an Ubuntu terminal (In termux and ubuntu on termux it is not possible) in the ...
2
votes
0answers
27 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
16 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 ...
-2
votes
0answers
26 views

my bash script says no such file or directory for every path I set

I have a repo/ located at ~ in termux. I created a bashscript.sh located at ~/storage/shared/Documents, so that it's accessible through any android file explorer under the Documents folder. In that ...
0
votes
0answers
22 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
37 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 ...
0
votes
1answer
48 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
32 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
75 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
45 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
34 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
167 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
140 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
36 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
40 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
32 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
43 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
82 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
103 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
211 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
39 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 ...
1
vote
0answers
87 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
26 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
97 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
31 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
48 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
40 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 ...
1
vote
0answers
24 views

How to create a bootable stick with a Linux distro?

I used to have Debian and Android on my laptop then somehow my Debian get damaged, and now I have Android-x86 only on my laptop. When I insert my USB stick (which contain ISOs of a few Linux distros), ...
0
votes
0answers
66 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
596 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) ...
0
votes
0answers
31 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 ...
0
votes
0answers
265 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
82 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
52 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
170 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 ...
0
votes
0answers
41 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
109 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 ...
0
votes
0answers
48 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
46 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
90 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
149 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
649 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
44 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
219 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
62 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
1answer
445 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 ...
1
vote
1answer
496 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
64 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 - ...

1
2 3 4 5
11