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