add function to find a file name in a given path
libtouch_gui 1.21: auto detect BRIGHTNESS_SYS_FILE path
    * only if it is not set during compile
    * search for the file in most common locations
    * if found, save it to recovery settings ini file to be called on next recovery starts
    * else, disable adjust brightness function to avoid error logs on recovery start
6.40.6
formatting fixes
fix various compiler error and warnings
6.40.7
Merge branch 'cm-11.0' of https://github.com/PhilZ-cwm6/philz_touch_cwm6 into cm-11.0-dual-boot-f2fs