Only split archives when split_archives is set

In some cases, statfs used on partitions like /system does not
report a size that would trigger a split archive, but using stat
on the individual files shows a larger size that statfs that
would trigger a split. This patch prevents us from trying to split
an archive unless we explicitly decided to split in advance.

Change-Id: I67f5cd343f12333e1189100cf0ec1c20c15b7cc2
1 file changed
tree: fe4fbb6cf45b48fddb89cf8eeec6d666d3a840da
  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. fixPermissions.cpp
  51. fixPermissions.hpp
  52. install.cpp
  53. install.h
  54. legacy_properties.h
  55. legacy_property_service.c
  56. legacy_property_service.h
  57. make-overlay.py
  58. mounts.c
  59. mounts.h
  60. NOTICE
  61. openrecoveryscript.cpp
  62. openrecoveryscript.hpp
  63. partition.cpp
  64. partitionmanager.cpp
  65. partitions.hpp
  66. README.md
  67. recovery.cpp
  68. recovery_ui.h
  69. roots.cpp
  70. roots.h
  71. screen_ui.cpp
  72. screen_ui.h
  73. tarWrite.c
  74. tarWrite.h
  75. twbootloader.cpp
  76. twcommon.h
  77. twinstall.cpp
  78. twinstall.h
  79. twrp-functions.cpp
  80. twrp-functions.hpp
  81. twrp.cpp
  82. twrpDigest.cpp
  83. twrpDigest.hpp
  84. twrpDU.cpp
  85. twrpDU.hpp
  86. twrpTar.cpp
  87. twrpTar.h
  88. twrpTar.hpp
  89. ui.cpp
  90. ui.h
  91. variables.h
  92. verifier.cpp
  93. verifier.h
  94. verifier_test.cpp
  95. 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.