Try   HackMD

Miscellaneous Tips and Tricks

The Terminal

Did you know you can access a Terminal on Android?
if you didn't, now you do!
There are various Terminal emulators out there, some which access the Android Terminal directly, like Android Terminal Emulator, or Termux, which comes with it's own packages on top of acces to Android's shell

Though something you might not have known is that LineageOS actually ships it's own Bash configuration and Binary with their builds!
Bash is the shell used by most Linux Distributions, and LineageOS decided to include it for convenience
All you need to do is open a Terminal and run bash, that's it!

Managing Overlays manually

Android uses "Overlays" in various spots around the System to improve the experience, for example to create and apply Monet themes on Android 12.

You can manage these overlays manually by running the following in a Terminal with su privileges:

cmd overlay list

This will print out a list of available overlays for any app with overlays installed (Including system apps)

You can then enable or disable any of them selectively using this command:

cmd overlay enable <com.example.overlay>
# Replace "enable" by "disable" to disable overlays respectively.

This can be useful in case your ROM has overlays that you want to use which arent toggleable using a UI, for example SystemUI icons or launcher icon shapes


More is to come soon...