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
29 files changed
tree: ebe7d27ea5681d1b3c772a7bc2e80025e94435a6
  1. applypatch/
  2. bmlutils/
  3. crypto/
  4. digest/
  5. dosfstools/
  6. edify/
  7. etc/
  8. exfat/
  9. fb2png/
  10. flashutils/
  11. fonts/
  12. fuse/
  13. gui/
  14. htcdumlock/
  15. injecttwrp/
  16. libblkid/
  17. libcrecovery/
  18. libmincrypt/
  19. libtar/
  20. minadbd/
  21. minelf/
  22. minui/
  23. minuitwrp/
  24. minzip/
  25. minzipold/
  26. mmcutils/
  27. mtdutils/
  28. openaes/
  29. pigz/
  30. prebuilt/
  31. res/
  32. testdata/
  33. toolbox/
  34. tools/
  35. twrpTarMain/
  36. updater/
  37. .gitignore
  38. adb_install.cpp
  39. adb_install.h
  40. Android.mk
  41. bootloader.cpp
  42. bootloader.h
  43. CleanSpec.mk
  44. common.h
  45. data.cpp
  46. data.h
  47. data.hpp
  48. default_device.cpp
  49. device.h
  50. find_file.cpp
  51. find_file.hpp
  52. fixPermissions.cpp
  53. fixPermissions.hpp
  54. infomanager.cpp
  55. infomanager.hpp
  56. install.cpp
  57. install.h
  58. legacy_properties.h
  59. legacy_property_service.c
  60. legacy_property_service.h
  61. make-overlay.py
  62. mounts.c
  63. mounts.h
  64. NOTICE
  65. openrecoveryscript.cpp
  66. openrecoveryscript.hpp
  67. partition.cpp
  68. partitionmanager.cpp
  69. partitions.hpp
  70. README.md
  71. recovery.cpp
  72. recovery_ui.h
  73. roots.cpp
  74. roots.h
  75. screen_ui.cpp
  76. screen_ui.h
  77. tarWrite.c
  78. tarWrite.h
  79. twbootloader.cpp
  80. twcommon.h
  81. twinstall.cpp
  82. twinstall.h
  83. twrp-functions.cpp
  84. twrp-functions.hpp
  85. twrp.cpp
  86. twrpDigest.cpp
  87. twrpDigest.hpp
  88. twrpDU.cpp
  89. twrpDU.hpp
  90. twrpTar.cpp
  91. twrpTar.h
  92. twrpTar.hpp
  93. ui.cpp
  94. ui.h
  95. variables.h
  96. verifier.cpp
  97. verifier.h
  98. verifier_test.cpp
  99. 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.