1. 28 Nov, 2017 1 commit
  2. 27 Nov, 2017 2 commits
  3. 20 Nov, 2017 1 commit
  4. 18 Nov, 2017 2 commits
  5. 17 Nov, 2017 3 commits
    • nkk71's avatar
      Auto detect possible use of legacy props · b4c35913
      nkk71 authored
      * Revert: Make legacy props an option disabled by default
        (reverted from commit 75aa6157)
      
      * Instead check for ANDROID_PROPERTY_WORKSPACE in the updater-
        binary to determine whether legacy property service can be
        used
      
      Change-Id: If68d5cca9a2b56edcb1c73db0474668cf46d8c91
      b4c35913
    • nkk71's avatar
      Fix mkfs.f2fs build error · 04ec0952
      nkk71 authored
      * OmniROM 8.0 uses AOSP f2fs-tools which builds a static
        mkfs.f2fs directly to $(TARGET_RECOVERY_ROOT_OUT)/sbin
      
      Change-Id: I364a13e33e71abceab2f9ba1bd3179c2d9672b27
      04ec0952
    • nkk71's avatar
      Fix 'No OS' on System_Image restore after wipe · 884bb2bc
      nkk71 authored
      * When you format the system partition, it will remain
        in a mounted state.
      * Subsequently restoring a system_image (even though
        successfully) the Update_System_Details() function
        will not correctly update the system partition
        details.
      
      * Reproducible by:
        1- Advanced wipe: System
        2- Restore: System_Image
        3- Reboot -> No OS prompt
      
      * eg: [
             ~ # twrp get tw_min_system
                 tw_min_system = 50
             ~ # twrp get tw_backup_system_size
                 tw_backup_system_size = 8
             ~ # mount -o ro /system
             ~ # du -sh /system
                 3.5G    /system
            ]
      
      Change-Id: I99f75274816788dd38eccdd387f7ac691e1f3fab
      884bb2bc
  6. 26 Sep, 2017 1 commit
  7. 15 Sep, 2017 1 commit
  8. 12 Sep, 2017 1 commit
  9. 08 Sep, 2017 2 commits
  10. 25 Aug, 2017 1 commit
  11. 18 Aug, 2017 1 commit
  12. 15 Aug, 2017 1 commit
  13. 12 Aug, 2017 1 commit
  14. 08 Aug, 2017 1 commit
    • nkk71's avatar
      Show scrollbar on TWRP Settings · 1a230e46
      nkk71 authored
      * The scrollbar is not shown when more options
        are actually available.
      
      Change-Id: I78b223c5fe12f0cbd73357ca6615f83ff04201e1
      1a230e46
  15. 07 Aug, 2017 1 commit
  16. 21 Jul, 2017 1 commit
  17. 06 Jul, 2017 2 commits
  18. 24 Jun, 2017 1 commit
  19. 18 Jun, 2017 1 commit
  20. 17 Jun, 2017 2 commits
    • nkk71's avatar
      Fix incorrect 'unlink' return value check · 9efbe769
      nkk71 authored
      Change-Id: I430f6bb21a5fd87e0422420463e8bb96c4a612e1
      9efbe769
    • bigbiff bigbiff's avatar
      twrpDigest refactor · 56cf5646
      bigbiff bigbiff authored
      This patch is to refactor twrpDigest using polymorphism
      and inheritance to use the same call patterns for creating and
      reading a digest. Now a library.
      Use SHA2 from libcrypto. SHA2 is default if device has libcrypto.
      
      Change string MD5 everywhere to use digest or Digest instead. Updated
      string tags to digest. Translation will be required.
      
      Switch out digest code into a driver class from partitionmanager.
      
      SHA2 is better for digest creation due to decreased collision space
      compared to MD5 and SHA1.
      
      See https://en.wikipedia.org/wiki/SHA-2
      
      Change-Id: I74b5546789990b12aa4ce2e389d25f80a3fe213f
      56cf5646
  21. 15 Jun, 2017 1 commit
    • Jeff Vander Stoep's avatar
      Fix "No file_contexts" warning · e35926e1
      Jeff Vander Stoep authored
      Fixed by Loading the file_contexts specified in libselinux, whereas
      previously recovery loaded /file_contexts which no longer exists.
      
      Bug: 62587423
      Test: build and flash recovery on Angler. Warning is gone.
      Test: Wipe data and cache.
      Test: sideload OTA
      Change-Id: I11581c878b860ac5f412e6e8e7acde811f37870f
      (cherry picked from commit 2330dd87)
      e35926e1
  22. 10 Jun, 2017 1 commit
  23. 08 Jun, 2017 1 commit
  24. 07 Jun, 2017 1 commit
  25. 06 Jun, 2017 1 commit
    • Ethan Yonker's avatar
      Fix minui issues for some build trees · 39662b29
      Ethan Yonker authored
      In trees where TWRP is the primary recovery, minui.h was not setting rules
      properly for healthd because healthd uses clang. Must use
      CLANG_TARGET_GLOBAL_CFLAGS to set global flags.
      
      Change-Id: I4cd9c88f8fcaec345fe012d09abcb9f24be06ef4
      39662b29
  26. 05 Jun, 2017 1 commit
    • nailyk-fr's avatar
      ors: Update doc · 79605aec
      nailyk-fr authored
      Change-Id: Ia026a8578262d4bb231e1727313ed1f5e323b880
      79605aec
  27. 04 Jun, 2017 2 commits
    • nkk71's avatar
      Improve decrypted partition logging · ffb02bdf
      nkk71 authored
      * Partition information should be updated after successful
        decryption (both userdata and adopted) and then logged
      
      * Fix adopted storage nickname being ""
      
      Change-Id: Idcdab84f339e932e62880089bad36e206920dd70
      ffb02bdf
    • bigbiff bigbiff's avatar
      adbbackup: write smaller reads less than 512 bytes · 4a2a1914
      bigbiff bigbiff authored
      This will allow the gzip compression header to be
      written properly to the adb stream.
      
      Thanks to nkk71 for finding the issue.
      Change-Id: I3d88c5f575ca3fac904d8279f1f246994be2b02f
      4a2a1914
  28. 03 Jun, 2017 1 commit
    • Ayke van Laethem's avatar
      Fix various memory errors · 05c2de4c
      Ayke van Laethem authored
      There were a few memory errors while restoring a backup via adb (created
      using `adb backup --twrp`).
      On my device (S5 mini) it resulted in this error message:
      
        FORTIFY: strlen: prevented read past end of buffer
      
      This commit fixes this issue and a few other potential issues.
      
      Change-Id: I5022c94c961217238b3fefec0b2c4b8c6fa26ec7
      05c2de4c
  29. 23 May, 2017 1 commit
    • nkk71's avatar
      cryptfs: Remove dm-crypt device on failed table load · 50730033
      nkk71 authored
       * The dm-crypt device needs to be removed from
         the device-mapper driver list otherwise it will
         remain busy and cannot be used later on by
         other processes (eg vold_decrypt) or for further
         testing/debugging in recovery.
      
      Change-Id: I35e43a79ecc3de234ddb9f87f7d75c6439ea7454
      50730033
  30. 21 May, 2017 1 commit
  31. 17 May, 2017 1 commit
    • Tianjie Xu's avatar
      Fix the input parameter for "set_retry_bootloader_message" · 539b08cf
      Tianjie Xu authored
      We're not updating argc & argv during get_args(), so some boot
      arguments missed when we set the boot message for retry.
      
      Bug: 38383406
      Test: boot command sets correctly during retry attempt.
      Change-Id: Ie8583a22fad5e0084245e3431d4018518d508dfd
      (cherry picked from commit 72449c9f)
      539b08cf
  32. 16 May, 2017 1 commit
    • that's avatar
      etc: remove "." from LD_LIBRARY_PATH · 9c3b7e99
      that authored
      We shouldn't load libraries from some random working directory.
      For example it breaks busybox when you're in /system/lib.
      
      Change-Id: Ia1f8f4fda9e6182c0cd8c5ac727c2b1eb09c84a2
      9c3b7e99