2022-08-06
Termux_Boot Autostart Program Fixes

Termux:Boot Autostart Program Fixes

according to this, termux:boot on android 10 and above will not work. instead, change all executables with relative paths in init scripts to their absolute paths. if any referred executable is a script file containing other executable with non-absolute paths(except for those built-in programs like am), change that too.

mostly we hold wakelock, start sshd, crond or nginx and other non-blocking, non-interactive apps at start.

Read More

2021-12-20
After Termux Reinstallation

grant permission for termux:api

android.permission.WRITE_SETTINGS can only be granted in settings tab.

https://github.com/TilesOrganization/support/wiki/How-to-use-ADB-to-grant-permissions

adb shell pm grant com.rascarlo.quick.settings.tiles android.permission.WRITE_SECURE_SETTINGS

pm grant com.termux.api android.permission.WRITE_SECURE_SETTINGS

pm list packages

the brightness bug is solved by uninstalling the unintended settings app. i don’t know if this will cause more problems.

to remove termux banner/ termux welcome message:

1
2
cd .. && cd usr/etc && rm -rf motd

Read More