Check the crash counter instead of date in TWFunc::Fixup_Time_On_Boot()

* Some devices (Sony) have RTC counting up from year 2009,

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