2
votes
Enable USB debugging through recovery mode and ADB sideload
Do those steps above. However, when you get adb access on the phone, use it to rm the gesture or passwd file located in /system/system_ext/etc/passwd. This will remove the lock when you use it. Just ...
1
vote
Accepted
termux: running termux via adb without *any* direct interaction with the device?
You can use run-as to access your Termux environment from adb without root or ssh.
Run adb shell and then:
run-as com.termux files/usr/bin/bash -lic 'export PATH=/data/data/com.termux/files/usr/bin:$...
1
vote
I can't start my Moto G60 anymore after locking the bootloader
A locked bootloader only accepts a correctly signed OS image. For the same hardware there can be multiple OS images which each signed by a different key. So just replacing the OS image might have ...
1
vote
Can a adb revoke WRITE_SECURE_SETTINGS command make my device unrecoverable?
Okay, it did make it unusable. Don't disable system apps.
1
vote
Launch settings in work profile
I figured out a workaround.
Go to Settings < Apps < Work profile < Settings App < Storage < Clear Data
(I don't know if anything else is deleted, so do at your risk, but I didn't lose ...
1
vote
Android source code for extracting entries from an APK during installation process
Android app installation process is not very straightforward like APK is opened, files are extracted, and placed in the relevant directories. In fact, scores of components are involved in the app ...
1
vote
Disabling Android swap with ADB `swapoff`
At least since Pie, it may be possible to disable swap with:
adb shell settings put global zram_enabled 0
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
adb × 2315fastboot × 235
shell × 188
backup × 180
recovery-mode × 165
root-access × 143
usb-debugging × 120
twrp × 104
rooting × 103
linux × 96
usb × 87
applications × 80
cyanogenmod × 75
data-recovery × 72
samsung × 70
broken-screen × 69
bootloader × 66
rom-flashing × 61
command-line × 59
boot-loop × 57
usb-drivers × 56
restore × 53
windows × 52
wi-fi × 49
installation × 48