- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Block a user
Can unlock screen if already have provided decryption password once since restart?
Factory reset without interacting
adb shell am broadcast -a android.intent.action.MASTER_CLEAR -n android/com.android.server.MasterClearReceive
Broadcasting: Intent { act=android.intent.action.MASTER_CLEAR…
Factory reset without interacting
adb shell am broadcast -p android -a android.intent.action.FACTORY_RESET
Broadcasting: Intent { act=android.intent.action.FACTORY_RESET flg=0x400000 pkg=android }
Broadcast…
Factory reset without interacting
Investigating DuckDuckGo and Google results for adb factory reset without root:
Factory reset without interacting
adb shell wipe data
/system/bin/sh: wipe: inaccessible or not found
Source: [the Stack Overflow comment 32226315](https://stackoverflow.com/questions/14685721/how-can-i-…
Factory reset without interacting
At least be able to shutdown the phone with adb can avoid physically dumping plaintext memory.
Factory reset without interacting
adb shell am broadcast -a android.intent.action.MASTER_CLEAR
Broadcasting: Intent { act=android.intent.action.MASTER_CLEAR flg=0x400000 }
Broadcast completed: result=0
…
Factory reset without interacting
Note that preferably do not require root
.
adb unroot
adbd not running as root
Source: https://adbshell.com/commands/adb-root
works fine:
adb shell…
Factory reset without interacting
When running as normal:
fastboot devices
does not return anything.
Factory reset without interacting
adb reboot recovery --wipe_data
just redirects to recovery. Reboot system now reboots to usual phone state.
How to
shred
free disk slots?
Related to:
-----BEGIN PGP MESSAGE-----
hF4DTQa9Wom5MBgSAQdAqXiRwz0du96gb/HpXsudOg6KGQnZvFRRdFIhz+bgFDsw
SY9bUxZ9AWNo+U3Syz3zeMwyJTOtuc35po9pfDs3qOP4BzICsRv73dG4ZCoH4zlg
0nsBFhofaRHciz…
Get device network name potentially different due to router
Related to Benjamin_Loison/openssh/issues/4.
*Permission denied* while being *root*
Factory reset without interacting
Maybe LineageOS recovery can receive an argument to automatically factory reset.
Be notified when *USB debugging* is enabled since a given amount of time without being used
Take screenshot with a unique file name