Fix ext storage and zip paths

Fix a bug with handling external storage during boot.
Check zip root path when switching storage and ensure that the
path is in the new storage path to prevent user confusion.
3 files changed
tree: 7993640d3d6fb4eca75c197963651813d3a0b9e3
  1. Android.mk
  2. CleanSpec.mk
  3. NOTICE
  4. README.md
  5. adb_install.cpp
  6. adb_install.h
  7. applypatch/
  8. bmlutils/
  9. bootloader.cpp
  10. bootloader.h
  11. common.h
  12. crypto/
  13. data.cpp
  14. data.h
  15. data.hpp
  16. default_device.cpp
  17. device.h
  18. edify/
  19. etc/
  20. extra-functions.c
  21. extra-functions.h
  22. flashutils/
  23. gui/
  24. htcdumlock/
  25. injecttwrp/
  26. install.cpp
  27. install.h
  28. libcrecovery/
  29. libjpegtwrp/
  30. make-overlay.py
  31. makelist.c
  32. makelist.h
  33. minadbd/
  34. minelf/
  35. minui/
  36. minuitwrp/
  37. minzip/
  38. mmcutils/
  39. mounts.c
  40. mounts.h
  41. mtdutils/
  42. partition.cpp
  43. partitionmanager.cpp
  44. partitions.hpp
  45. pigz/
  46. prebuilt/
  47. reboot.c
  48. recovery.cpp
  49. recovery_ui.h
  50. res/
  51. roots.cpp
  52. roots.h
  53. screen_ui.cpp
  54. screen_ui.h
  55. testdata/
  56. tools/
  57. tw_reboot.h
  58. twinstall.cpp
  59. twinstall.h
  60. twmincrypt/
  61. twrp-functions.cpp
  62. twrp-functions.hpp
  63. ui.cpp
  64. ui.h
  65. updater/
  66. variables.h
  67. verifier.cpp
  68. verifier.h
  69. verifier_test.cpp
  70. 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.

This branch is currently a work in progress and should not be used for compiling.

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.