Hot answers tagged

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 ...
Kyle Eckhoff's user avatar
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:$...
josh3736's user avatar
  • 268
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 ...
Robert's user avatar
  • 18.9k
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.
Gautam Wadhwani's user avatar
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 ...
Richard Will's user avatar
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 ...
Irfan Latif's user avatar
  • 19.9k
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
mirh's user avatar
  • 357

Only top scored, non community-wiki answers of a minimum length are eligible