Clean up PartitionSettings

The PartitionSettings struct contains some data elements that are duplicates
of data elements in the TWPartition class that is contained within the
PartitionsSettings.Part element. We will eliminate this duplication to help
reduce the chances for programming bugs.

Specifically, this fixes problems where the current file system does not
match the backed up file system.

Change-Id: I02f236e72093362050556a2e53a09d1dbb9a269d
5 files changed
tree: 92725a806b8e3ed6a1475697469830fa718f9a0b
  1. .gitignore
  2. Android.mk
  3. CleanSpec.mk
  4. NOTICE
  5. README.md
  6. adb_install.cpp
  7. adb_install.h
  8. adbbu/
  9. applypatch/
  10. asn1_decoder.cpp
  11. asn1_decoder.h
  12. bmlutils/
  13. bootloader.cpp
  14. bootloader.h
  15. common.h
  16. crypto/
  17. data.cpp
  18. data.hpp
  19. default_device.cpp
  20. device.cpp
  21. device.h
  22. digest/
  23. dosfstools/
  24. edify/
  25. error_code.h
  26. etc/
  27. exfat/
  28. fb2png/
  29. find_file.cpp
  30. find_file.hpp
  31. fixContexts.cpp
  32. fixContexts.hpp
  33. flashutils/
  34. fonts/
  35. fuse.h
  36. fuse/
  37. fuse_sdcard_provider.cpp
  38. fuse_sdcard_provider.h
  39. fuse_sideload.cpp
  40. fuse_sideload.h
  41. gpt/
  42. gui/
  43. htcdumlock/
  44. infomanager.cpp
  45. infomanager.hpp
  46. injecttwrp/
  47. install.cpp
  48. install.h
  49. interlace-frames.py
  50. legacy_properties.h
  51. legacy_property_service.cpp
  52. legacy_property_service.h
  53. libblkid/
  54. libcrecovery/
  55. libmincrypt/
  56. libpixelflinger/
  57. libtar/
  58. minadbd.old/
  59. minadbd/
  60. minui.old/
  61. minui/
  62. minuitwrp/
  63. minzip/
  64. mmcutils/
  65. mounts.c
  66. mounts.h
  67. mtdutils/
  68. mtp/
  69. openaes/
  70. openrecoveryscript.cpp
  71. openrecoveryscript.hpp
  72. orscmd/
  73. otafault/
  74. partition.cpp
  75. partitionmanager.cpp
  76. partitions.hpp
  77. pigz/
  78. prebuilt/
  79. print_sha1.h
  80. progresstracking.cpp
  81. progresstracking.hpp
  82. recovery-persist.cpp
  83. recovery-persist.rc
  84. recovery-refresh.cpp
  85. recovery-refresh.rc
  86. recovery.cpp
  87. recovery_ui.h
  88. res-hdpi/
  89. res-mdpi/
  90. res-xhdpi/
  91. res-xxhdpi/
  92. res-xxxhdpi/
  93. res/
  94. roots.cpp
  95. roots.h
  96. screen_ui.cpp
  97. screen_ui.h
  98. scripts/
  99. sepolicy/
  100. set_metadata.cpp
  101. set_metadata.h
  102. simg2img/
  103. tarWrite.c
  104. tarWrite.h
  105. tests/
  106. toolbox/
  107. tools/
  108. toybox/
  109. tw_atomic.cpp
  110. tw_atomic.hpp
  111. twcommon.h
  112. twinstall.cpp
  113. twinstall.h
  114. twrp-functions.cpp
  115. twrp-functions.hpp
  116. twrp.cpp
  117. twrpDU.cpp
  118. twrpDU.hpp
  119. twrpDigest.cpp
  120. twrpDigest.hpp
  121. twrpTar.cpp
  122. twrpTar.h
  123. twrpTar.hpp
  124. twrpTarMain/
  125. ui.cpp
  126. ui.h
  127. uncrypt/
  128. unique_fd.h
  129. update_verifier/
  130. updater/
  131. variables.h
  132. verifier.cpp
  133. verifier.h
  134. verifier24/
  135. wear_touch.cpp
  136. wear_touch.h
  137. wear_ui.cpp
  138. wear_ui.h
README.md

Team Win Recovery Project (TWRP)

You can find a compiling guide here.