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
10 files changed
tree: 6cabf8a7768f3aade87d2db8f6580fdc98b1ed52
  1. .gitignore
  2. Android.mk
  3. CleanSpec.mk
  4. NOTICE
  5. README.md
  6. adb_install.cpp
  7. adb_install.h
  8. applypatch/
  9. bmlutils/
  10. bootloader.cpp
  11. bootloader.h
  12. common.h
  13. crypto/
  14. data.cpp
  15. data.h
  16. data.hpp
  17. default_device.cpp
  18. device.h
  19. dosfstools/
  20. edify/
  21. etc/
  22. exfat/
  23. fixPermissions.cpp
  24. fixPermissions.hpp
  25. flashutils/
  26. fuse/
  27. gui/
  28. htcdumlock/
  29. injecttwrp/
  30. install.cpp
  31. install.h
  32. libcrecovery/
  33. libjpegtwrp/
  34. libtar/
  35. make-overlay.py
  36. minadbd/
  37. minelf/
  38. minui/
  39. minuitwrp/
  40. minzip/
  41. mmcutils/
  42. mounts.c
  43. mounts.h
  44. mtdutils/
  45. openrecoveryscript.cpp
  46. openrecoveryscript.hpp
  47. partition.cpp
  48. partitionmanager.cpp
  49. partitions.hpp
  50. pigz/
  51. prebuilt/
  52. recovery.cpp
  53. recovery_ui.h
  54. res/
  55. roots.cpp
  56. roots.h
  57. screen_ui.cpp
  58. screen_ui.h
  59. tarWrite.c
  60. tarWrite.h
  61. testdata/
  62. tools/
  63. twbootloader.cpp
  64. twinstall.cpp
  65. twinstall.h
  66. twmincrypt/
  67. twrp-functions.cpp
  68. twrp-functions.hpp
  69. twrpTar.cpp
  70. twrpTar.h
  71. twrpTar.hpp
  72. ui.cpp
  73. ui.h
  74. updater/
  75. variables.h
  76. verifier.cpp
  77. verifier.h
  78. verifier_test.cpp
  79. verifier_test.sh
README.md

Team Win Recovery Project (TWRP)

The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.

If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.

This branch is under final testing and will be used shortly for public builds, but has not officially been released.

You can find a compiling guide here.

More information about the project.

If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.