Benjamin_Loison commented on issue Benjamin_Loison/adb#55 2025-11-07 13:44:43 +01:00
Set and get clipboard content

Termux is a workaround to some extent, see Benjamin-Loison/termux-api/issues/32.

Benjamin_Loison commented on issue Benjamin_Loison/adb#55 2025-11-07 13:43:16 +01:00
Set and get clipboard content

I don't want to install an app for this purpose.

Benjamin_Loison opened issue Benjamin_Loison/adb#55 2025-11-07 13:42:17 +01:00
Set and get clipboard content
Benjamin_Loison opened issue Benjamin_Loison/adb#54 2025-11-07 13:28:01 +01:00
adb shell input keyevent KEYCODE_NOT_EXISTING_QNHMRR does not return anything
Benjamin_Loison commented on issue Benjamin_Loison/linux#11 2025-11-06 17:59:15 +01:00
Make computer behave like a (Bluetooth/USB) keyboard to copy-paste secrets for instance

Thanks to webcam could read a QR code being TOTP (to avoid someone able to read the QR code to leverage it later, but maybe can fake the hardware clock, but then face encryption) with more entropy.

Benjamin_Loison commented on issue Benjamin_Loison/adb#52 2025-11-05 22:29:46 +01:00
inotifywait
diff data/data/com.termux/files/usr/bin/inotifywait ~/inotifywait

does not return anything, same for libinotifytools.so.

dpkg -S $PREFIX/lib/libc++_shared.so
l…
Benjamin_Loison commented on issue Benjamin_Loison/adb#52 2025-11-05 22:02:31 +01:00
inotifywait

Wikipedia: Termux (1316517983) correctly denotes termux.dev as Website.

Benjamin_Loison commented on issue Benjamin_Loison/adb#52 2025-11-05 22:01:33 +01:00
inotifywait
command-not-found
command-not-found: command not found
dpkg -L command-not-found
Output:
/.
/data
/data/data
/data/data/c…
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:45:01 +01:00
Set default folder
stty
Output:
speed 38400 baud; line = 0;
-brkint -imaxbel iutf8
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:44:00 +01:00
Set default folder

DuckDuckGo and Google search vs # shell*, * vs # shell user vs root and shell prefix user vs root.

The Unix Stack Exchange answer 291733 helps.

Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:38:33 +01:00
Set default folder
stty raw -echo ; ( echo "ls" && cat ) 
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:37:43 +01:00
Set default folder
time ./adb-cmd exit
Output:
spawn adb shell
FP4:/ $ exit

real	0m10,107s
user	0m0,013s
sys	0m0,023s

Changing # with…

Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:31:17 +01:00
Set default folder
man expect
Output:
EXPECT(1)                                               General Commands Manual                                             …
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:29:35 +01:00
Set default folder
adb shell 'bash'
Output:
whoami
shell
whoami
shell
expect
Output:
Command…
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:15:51 +01:00
Set default folder
Shell:
benjamin_loison@benjamin-loison-framework:~$ adb shell
FP4:/ $ bash
shell@FP4 / $ exit
exit
127
Benjamin_Loison commented on issue Benjamin_Loison/adb#53 2025-11-05 20:14:18 +01:00
Set default folder

DuckDuckGo search Linux SSH interactive but execute a command first.

I don't want ~/.bashrc like solutions.

Benjamin_Loison opened issue Benjamin_Loison/adb#53 2025-11-05 20:13:07 +01:00
Set default folder to /sdcard/
Benjamin_Loison commented on issue Benjamin_Loison/adb#51 2025-11-05 20:08:18 +01:00
adb shell input text misses some characters
May help the issue:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAHao6SBWzUQaAbcB1sU5/VojnbXTbbPREIm5tuPkVYgcw
6S2XnGtVOtOtrlfw91HMk6Df6PaVuhn1gymNn/gR1D…
Benjamin_Loison commented on issue Benjamin_Loison/adb#51 2025-11-05 20:07:36 +01:00
adb shell input text misses some characters

Related to #5.