Benjamin_Loison commented on issue Benjamin_Loison/adb#20 2024-09-08 16:42:08 +02:00
adb disconnect does not work for a closed Waydroid (shown as *offline*)

After a few minutes:

adb devices
List of devices attached
XXXXXXXX	device
Benjamin_Loison opened issue Benjamin_Loison/adb#20 2024-09-08 16:30:01 +02:00
adb disconnect does not work for a closed Waydroid (shown as *offline*)
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-08 00:30:09 +02:00
How to shred free disk slots?

Could backup a Linux virtual machine with lowest space at all (not free) and proceed with it.

Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 22:21:38 +02:00
How to shred free disk slots?

Still same output of time sudo sfill -v /; echo $?; matrix-commander -m 'sfill finished!'.

watch ls -lh /oooooooo.ooo
Every 2.0s: ls -lh /oooooooo.ooo                     …
Benjamin_Loison commented on issue Benjamin_Loison/linux#22 2024-09-07 21:05:22 +02:00
How to shred free disk slots?
df -h /
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/vgmint-root  1.8T  1.6T  117G  94% /
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…