Factory reset without interacting #12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Android Stack Exchange answer 175888:
first does not help.
Would help:
Related to Benjamin-Loison/waydroid/issues/49.
works fine after Benjamin-Loison/android/issues/73.
Maybe LineageOS recovery can receive an argument to automatically factory reset.
just redirects to recovery. Reboot system now reboots to usual phone state.
When running as normal:
does not return anything.
Not that contrarily to when having a cable, here the purpose it to be used wireless, hence we will lose connection to actually factory reset if we reboot to fastboot.
Note that preferably do not require
root
.Source: https://adbshell.com/commands/adb-root
works fine:
Source: the Stack Overflow answer 35446558
does not do anything, same with
root
.with
adb shell whoami
returningshell
, same asroot
.does not do anything.
However, as
root
a prompt showing factory reset with a few seconds loading then restart.It boots correctly on LineageOS installation.
The question is: is it possible to factory reset without
root
?Can we simplify this
root
working command?Full output:
Same with
-h
.At least be able to shutdown the phone with adb can avoid physically dumping plaintext memory.
Source: the Android Stack Exchange answer 47994
works fine on my Fairphone 4 LineageOS.
Source: the Stack Overflow comment 32226315
Investigating DuckDuckGo and Google results for adb factory reset without root:
and
Source: https://xdaforums.com/t/adb-command-to-factory-reset-device.4315169/post-86668111
do not work too.
Source: https://xdaforums.com/t/help-enable-or-do-a-factory-reset-using-adb.4675265/post-89546631
does not work too.
Maybe can investigate with
adb logcat
if some clues are given to make it work withoutroot
, as investigated in https://blog.deanwild.co.uk/android-factory-reset-via-adb-intent.