Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-19 23:34:51 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb
adb shell setprop service.adb.root 0

does not return anything and does not block adb shell whoami root.

Benjamin_Loison closed issue Benjamin_Loison/adb#61 2026-02-19 17:55:39 +01:00
Investigate adb shell settings --lineage
Benjamin_Loison opened issue Benjamin_Loison/adb#61 2026-02-19 17:55:37 +01:00
Investigate adb shell settings --lineage
Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-19 17:54:54 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb

None of:

adb shell 'settings put --lineage global trust_restrict_usb 2 && settings put global adb_enabled 0'

and

adb shell 'settings put global adb_enabled 0 &&…
Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-18 00:49:00 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb
~/.bashrc excerpt:
get_click_ui_xpath_command()
{
    ui=$1
    xpath=$2
    middle=`get_middle "$ui" "$xpath"`
    echo input tap…
Benjamin_Loison commented on issue Benjamin_Loison/adb#19 2026-02-15 23:53:33 +01:00
Can unlock screen if already have provided decryption password once since restart?

DuckDuckGo and Google search adb unlock the screen.

Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-15 19:04:18 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb

I verified that both global usb_restricted_mode and secure usb_restrict 0 and 1 do not disconnect me with adb shell whoami contrarily to manually setting to Deny USB connections.

Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-15 19:02:31 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb
adb shell settings 
Output:
Settings provider (settings) commands:
  help
      Print this help text.
  get [--user <USER_ID> 
Benjamin_Loison commented on issue Benjamin_Loison/adb#22 2026-02-15 19:00:46 +01:00
Set *Restrict USB* > *Deny USB connections*/*Allow USB connections when unlocked* with adb

Same for:

adb shell settings list secure
Benjamin_Loison commented on issue Benjamin_Loison/adb#57 2026-02-14 19:40:17 +01:00
input text escape

Writing character by character deserves working and is not that slow.

Benjamin_Loison commented on issue Benjamin_Loison/adb#57 2026-02-14 19:37:37 +01:00
input text escape

%s replaces s with a space, while %a works fine for instance...

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#3 2026-02-12 18:25:46 +01:00
Be notified in real-time on any activity (for instance connection, cursor move, typing...)
The person:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAUlpQ+08K7BoBV+MplzZjfz3Fxc+OWT3rRz0OdR7UkCow
1YegU4figdF1qs/WGzi+sqEs3TA4tC5HY6eAhfman0CI3CS+9I…
Benjamin_Loison commented on issue Benjamin_Loison/linux#94 2026-02-08 00:26:27 +01:00
Remove time in file names

On my Linux Mint 22.3 Cinnamon Framework 13:

DuckDuckGo search Bash for loop files with spaces.

The Stack Overflow answer 7039208