Do not restore file system on data/media devices

Change-Id: I600e7e9ce89621400531bceb472387aafc0d6ed8
minui: Do not return true from target_has_overlay() if MSM_BSP is not set

Since target_has_overlay() was not ifdefed with MSM_BSP,
it would return true on some devices even if MSM_BSP was unset,
breaking LPM and some other minui functions.

Change-Id: Ic6b524fa0b5e36fc9ffe67d53e2bf33e9d4fd2d3
Fuse: add -fno-strict-aliasing to fuse for Vanir.

Change-Id: I9619c421341efa3085e80021f7e8e259a0f1f263
GUI: Add -fno-strict-aliasing to GUI for Vanir

Change-Id: Id772737d2856698861686671152f14bad800cd5c
Add "include $(CLEAR_VARS)" for 4.4 ROMS (clears LOCAL_BUILT/LOCAL_INSTALLED error)

Change-Id: Ibbba0ce9c7ebadee40e42b740c83214fd1cd56ac
minuitwrp: use a whitelist for the input device instead of a hardcoded ignore list

 * use a whitelist for the input device to listen on, every other will be ignored

Change-Id: I1296a45ec3d5ca0bca2a9e2601b0710e2c030fde
libdl should also be linked to binary

Change-Id: I98f9c90b0a7af591bdbcf646f59068f9915d49c7
on stock android, pthread_cancel and phtread_setcancelstate doesn't exist

Change-Id: Icbe281a301004ae2bcda4821a50fb4a41088e85d
Changes in rk30hack
This works on rk3188 based devices too so rename it to rk3xhack.
Change-Id: Ia3d9d52d99205057f8bece735a938986491b7522
mtdutils: fix rk3xhack filter

Just fix filter for correct platform

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I1f0978a6b215a1967dad4a2c495777d917865b88
Refresh after partition changes

Change-Id: Id16c84f815b1c4b8e95da142648a5a759116ee6e
Color in the console

Allow each gui_print command to specify a color
Change LOGERR to use the error color
Theme should specify colors for error, warning, and highlight

Change-Id: Ie8ece34111f604e25fcb79e5b731cd4e61038ff9
Track backup and restore progress

Track backup and restore progress based on the sizes of the files
as they are being added to the tar backup file. Update the
progress bar based on the sizes of the files.

Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
Fix setting of brightness during startup

Change-Id: I1bd01df971857a2dd5e75ed87c488d075d765527
Change ro.twrp.boot boolean to twrp.crash_counter

Change-Id: If1ef25fee5a138a90ccb4f0a70b20b55698e0d0d
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Check the crash counter instead of date in TWFunc::Fixup_Time_On_Boot()

* Some devices (Sony) have RTC counting up from year 2009,

Change-Id: I2cf1928e1b05c7e8b184963f8130582e0319ddc4
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>