Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 15:00:55 +02:00
How to shred free disk slots?
sfill
Warning: you are not root. You might not be able to wipe the whole filesystem.
sfill v3.1 (c) 1997-2003 by van Hauser / THC <vh@thc.org>

Syntax: sfill [-fiIlvz]…
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 14:57:26 +02:00
How to shred free disk slots?

The Super User answer 19377:

sfill
Command 'sfill' not found, but can be installed with:
sudo apt install secure-delete
Benjamin_Loison opened issue Benjamin_Loison/adb#19 2024-09-06 00:05:33 +02:00
Can unlock screen if already have provided decryption password once since restart?
Benjamin_Loison opened issue Benjamin_Loison/adb#18 2024-09-06 00:00:13 +02:00
List notifications
Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:33:10 +02:00
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…
Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:29:24 +02:00
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…
Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:22:27 +02:00
Factory reset without interacting

Investigating DuckDuckGo and Google results for adb factory reset without root:

Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:19:50 +02:00
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-

Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:15:37 +02:00
Factory reset without interacting

At least be able to shutdown the phone with adb can avoid physically dumping plaintext memory.

Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:06:34 +02:00
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

Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:04:55 +02:00
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…
Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 20:00:19 +02:00
Factory reset without interacting

When running as normal:

fastboot devices

does not return anything.

Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 19:59:50 +02:00
Factory reset without interacting
adb reboot recovery --wipe_data

just redirects to recovery. Reboot system now reboots to usual phone state.

Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-05 13:48:44 +02:00
How to shred free disk slots?

Related to:

-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAqXiRwz0du96gb/HpXsudOg6KGQnZvFRRdFIhz+bgFDsw
SY9bUxZ9AWNo+U3Syz3zeMwyJTOtuc35po9pfDs3qOP4BzICsRv73dG4ZCoH4zlg
0nsBFhofaRHciz…
Benjamin_Loison opened issue Benjamin_Loison/adb#17 2024-09-05 01:36:16 +02:00
*Permission denied* while being *root*
Benjamin_Loison commented on issue Benjamin_Loison/adb#12 2024-09-05 01:03:33 +02:00
Factory reset without interacting

Maybe LineageOS recovery can receive an argument to automatically factory reset.

Benjamin_Loison opened issue Benjamin_Loison/adb#16 2024-09-05 00:58:23 +02:00
Be notified when *USB debugging* is enabled since a given amount of time without being used