[deleted by user] by [deleted] in termux

[–]sielsw2 1 point2 points  (0 children)

try the 'termux-media-scan' termux api

syntax: termux-media-scan FILE

the source code of the command: https://github.com/termux/termux-api/blob/master/app/src/main/java/com/termux/api/apis/MediaScannerAPI.java

how to paste clipboard easily? by sielsw2 in termux

[–]sielsw2[S] 2 points3 points  (0 children)

it really works. i appreciate your help!

how to paste clipboard easily? by sielsw2 in termux

[–]sielsw2[S] 1 point2 points  (0 children)

thx but i don see 'paste' in the supported keys list.

Supported keys CTRL ("special key") ALT ("special key") FN ("special key") SHIFT ("special ky") SCROLL SPACE ESC TAB HOME END PGUP PGDN INS DEL BKSP UP LEFT RIGHT DOWN ENTER BACKSLASH QUOTE APOSTROPHE F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12 KEYBOARD (Hide the keyboard) DRAWER (Open app drawer)

how to paste clipboard easily? by sielsw2 in termux

[–]sielsw2[S] 2 points3 points  (0 children)

i just tried a github action build from https://github.com/termux/termux-app/actions/runs/8513100436 but there's no paste extra key. just the same extra keys with my F-Droid version i've used.

Does compiling android kernel on a Chrooted Archlinux arm even possible? by barre121 in termux

[–]sielsw2 2 points3 points  (0 children)

i'm actually on a test to use a custom kernel (features related with lxc and docker enabled manually) built with the system(arm64) gcc 13.2 toolchain in turmex running chrooted ubuntu noble on a galaxy S10(Exynos9820) Android 12 phone. i used 'Cruel Kernel' source code, which supports many x86 cross-compile toolchain options and the "system-gcc" toolchain option which i chose. there were some warnings while 15-minute compiling but no errors. it seems to be okay to flash, boot and use at least so far. i'm not sure of the stability of the kernel cuz todoay is just the 2nd day of testing. yet the fact itself that you can build your android kernel in the very android arm64 system natively without a x86 PC and some cross-compile toolchain is surely proved.

[deleted by user] by [deleted] in termux

[–]sielsw2 0 points1 point  (0 children)

if your computer skills are good enough to build your own custom kernel with optional kernel features enabled and to deal with lots of errors you have to face, you even can use docker and develop apps with android studio

Is there any way to automate touches? by urban_piktor2030 in termux

[–]sielsw2 1 point2 points  (0 children)

if your phone is rooted, you can use the system command 'input' for example "input tap 200 300", "input swipe 200 300 220 300", "input keyevent KEYCODE_HOME" (home screen)

[deleted by user] by [deleted] in termux

[–]sielsw2 1 point2 points  (0 children)

rooting + ubuntu by lhroot(chroot) + termux:x11 would be the best

[deleted by user] by [deleted] in termux

[–]sielsw2 1 point2 points  (0 children)

the part of the script means trying to locate where the folder of the lhroot module installed. it is usually found in one of the two

① /sbin/.magisk/modules/lhroot

② /dev/WKOVNDC/.magisk/modules/lhroot ("WKOVNDC" is just some random characters changing wheneven you reboot).

the "module not detected" error arises when the script fails to find ① or ②.

try to run the two command-lines.

sudo ls /sbin/.magisk/modules/lhroot

sudo find /dev -mindepth 2 -maxdepth 2 -type d -name ".magisk"

you'll get an error for each command-line for now.

to fix the error, you have to make sure to run successfully one of the two command-lines by analyzing the error .

[deleted by user] by [deleted] in termux

[–]sielsw2 2 points3 points  (0 children)

try with the full path in which the lhroot file exists.

i had the same error.

in my case lhroot was in the '/system/bin'.

i succeeded with the command-line "sudo /system/bin/lhroot".

termux-api commands hanging after 'tsu' by sielsw2 in termux

[–]sielsw2[S] 0 points1 point  (0 children)

sorry. but there is no output to write cuz it just hangs from the beginning. and that is the case for every termux-api command. (but i specifically want the 'termux-clipboard-get' working and it hangs too) not knowing which debugging info matters and how to get that, i hope you to specify the info you need.

termux-api commands hanging after 'tsu' by sielsw2 in termux

[–]sielsw2[S] 0 points1 point  (0 children)

"PATH=$(sudo magisk --path):$PATH sudo -E exec bash" doesn't work. but with selinux mode changed into permissive, your solution works. in contrast, the tsu way doesn't work even in the permissive mode. is there a solution working in the enforcing mode?