alternative method to detect reboot-recovery flag

allows reboot into recovery using twrp manager and other similar apps
enable auto brightness

settings values taken from OpenSEMC
Merge pull request #2 from dmcoles/aospxs-4.4

alternative method to detect reboot-recovery flag and auto brightness