Move to shared libmincrypt

Remove mincrypt source from TWRP and add rule to make
libmincrypt as a shared library.
No more crashes during zip signature verification and
less code to maintain in TWRP.
8 files changed
tree: 2e45124859287746cb2c22988035dac445941ad6
  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. firmware.c
  23. firmware.h
  24. flashutils/
  25. gui/
  26. gui_stub.c
  27. htcdumlock/
  28. injecttwrp/
  29. install.cpp
  30. install.h
  31. libcrecovery/
  32. libjpegtwrp/
  33. make-overlay.py
  34. makelist.c
  35. makelist.h
  36. minadbd/
  37. minelf/
  38. minui/
  39. minuitwrp/
  40. minzip/
  41. mmcutils/
  42. mounts.c
  43. mounts.h
  44. mtdutils/
  45. partition.cpp
  46. partitionmanager.cpp
  47. partitions.hpp
  48. pigz/
  49. prebuilt/
  50. reboot.c
  51. recovery.cpp
  52. recovery_ui.h
  53. res/
  54. roots.cpp
  55. roots.h
  56. screen_ui.cpp
  57. screen_ui.h
  58. testdata/
  59. tools/
  60. tw_reboot.h
  61. twinstall.cpp
  62. twinstall.h
  63. twmincrypt/
  64. twrp-functions.cpp
  65. twrp-functions.hpp
  66. ui.cpp
  67. ui.h
  68. updater/
  69. variables.h
  70. verifier.cpp
  71. verifier.h
  72. verifier_test.cpp
  73. 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.