Run TWFunc::Fixup_Time_On_Boot() before OpenRecoveryScript

* Fixes possible issues with names of backups made with ORS

Change-Id: If8da1b3abb0960e527bb0eb3dd8a04d184aaea4d
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Fix skipping of relative paths and lost+found in twrpDU

Change-Id: Ib79029fd6237502338b041a6bc2f9e539536d6ad
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Merge "Fix skipping of relative paths and lost+found in twrpDU" into android-4.4
Improve handling of settings storage and android secure

Change-Id: I8af92543c2f0c201e7220267c417d74e4561038d
Change to lstat so we don't count the target of symbolic links as part
of the tar archive size. Big thanks to Tassadar for pointing out the
fix.

Change-Id: I8894ffef54c93939b5b455634169d9c14d8ed7af
Re-arrange handling of settings storage partition

Sometimes we received an error about being unable to locate
storage partition because the DataManager would attempt to access
the PartitionManager before we finished adding the storage
partitions to the vector.

Change-Id: I0ce1778938d308b1eb17de46a192ecd52489cad3
add 1600x2560 to TWRP. Thanks to nrage123 and Gunthermic for creating
the theme.

Change-Id: If633af291689b2ac686c41331bb9adac34c425ad
Add basic error checking to legacy property init

Let init and rename funcitons return success or failure values.

Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
Allow disabling legacy properties

Introduce TW_NO_LEGACY_PROPS flag for users that build TWRP in
non-kitkat trees and don't need the legacy prop environment.

Change-Id: Iacb2d9af7d7069acb3d0a96bb34f32ded6317a20
Cleanup DU Get_Folder_Size function

Change-Id: I3c686c7c3a171f130d299fae586dc811cad0d3a9
correctly mount tmpfs as /tmp in recovery

The syntax of init's mount command changed in April 2008 but
recovery's init.rc was never updated, so recovery's /tmp has been on
the root fs all this time.  Fix.

Also add /system/bin to the PATH in recovery, which is handy for
debugging.

Change-Id: I9e60d18803906bc75c263f12c8863cfd6a14147b
Fix /data backup size if contains media subdirs

/data/*/media directories are mistakenly being excluded from the size
calculation. Change to absolute dir exclude so that only /data/media is
excluded.

Change-Id: I6e97604d44e6ea2bdf7dfd8c68a2f90ba6d44415
if md5 check is not selected for subpartitions, don't check it.

Change-Id: I7248c75f17c6f82e098831c297c0662ef6ea289f
Remove deprecated tar exclude functionality

twrpDU::check_skip_dirs() handles skipped folders now. Everywhere
twrpTar::setexcl() is being used to exclude files eventually calls
createTarFork(), which in turn calls Generate_TarList(), which checks
check_skip_dirs().

Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0
Improve USB Storage handling

Change-Id: I5743d9b967a8227c4bb87da01a9c67c574bf9876
Support Qualcomm overlay graphics in recovery

Change-Id: Ia75c34ab1a45b7c8802c902906198517aa3437d5
Merge "Add basic error checking to legacy property init" into android-4.4
Merge "correctly mount tmpfs as /tmp in recovery" into android-4.4
Merge "Cleanup DU Get_Folder_Size function" into android-4.4
Merge "Allow disabling legacy properties" into android-4.4