Add write buffer for tar writes

update fuse to 2.9.2

catch return from unlink so that we don't print error messages when things work
Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96
Change popen in twrpTar to __popen

Change-Id: I921b0647b1f63dd348b059eb630ebe9bf5ec570d
This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.
Will also set overlay to lockscreen so we don't have inadvetent screen selections.
Touching the screen will bring the display back up.
add back check script for poweroff
move diff time function to twrp-functions.cpp
make sure we chmod after copy_file
add read_file and write_file functions to twrp-functions.cpp
make single thread
try to force update screen
add forceRender
drop caches after tar processing

Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b
Add button highlight
Add highlight to file selector
Update listbox code
Fix keyboard layout on 800x1280
Allow init.rc inheritance and bring init.rc closer to CM recovery source
change libtar to fork instead of pthread

Conflicts:

	twrpTar.cpp
Merge "Add button highlight" into twrp2.4
Merge "Add highlight to file selector" into twrp2.4
Merge "Update listbox code" into twrp2.4
Merge "Fix keyboard layout on 800x1280" into twrp2.4
Merge "change libtar to fork instead of pthread" into twrp2.4
Merge "Allow init.rc inheritance and bring init.rc closer to CM recovery source" into twrp2.4
Minor fix for listbox code
Add TW_USE_MODEL_HADWARE_ID_FOR_DEVICE_ID parameter for correct model identification

Change-Id: Ic6440c624b5cfbdb0f24681461748a0da16bf95e
Add MTK6575/6577 EMMC partitions backup support

taken from https://github.com/mrjavum/Team-Win-Recovery-Project/commit/140ff0cde8ad2236caf7bcd480d257d74d8b85bc

"sorocean.gor@gmail.com"

Change-Id: I1a97160c73c7a0bab0535e938d6b35dc09585037
convert file_bps to be unsigned long long

Change-Id: Ib5d9ca8f9a2a4e27d9798665b312376a7d9c571c
support devices without bootpartition

if device has no /boot partition, then add the following flag in BoardConfig.mk

TW_HAS_NO_BOOT_PARTITION

Signed-off-by: ChampionSwimmer <android@championswimmer.tk>

Change-Id: I92b36b2e6ca690e2422b36004ae9bb315d24a7c2