In this article, the author provides a step-by-step guide on how to reinstall Termux and troubleshoot common issues like granting required permissions, fixing the brightness bug by uninstalling a settings app, and removing the Termux banner for a customized experience.

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

Comments