Commits on Nov 13, 2018
  1. Multirom: Disable auto inject by default

    vasishath committed Nov 13, 2018
    Since this breaks magisk
Commits on Nov 8, 2018
  1. Multiple changes to multirom

    vasishath committed Nov 8, 2018
    * Add support for flashing GSI images
    * Don't extract ramdisk files
    * Enable system partition mode by default
Commits on Nov 4, 2018
  1. Multirom: Multiple fixes for treble devices

    vasishath committed Nov 4, 2018
    * Create vendor images only if zip requires them
    * Fix magisk flashing on secondary
    * Fix unmount errors when flashing secondary rom
    * Fix magisk image flash failure
Commits on Oct 15, 2018
Commits on Oct 13, 2018
  1. Upgrade convert_hex_key_to_ascii for cpp

    vasishath committed Oct 8, 2018
    Also remove usage of decrypt_master_key for HW crypto
    Change-Id: I66182521a70f8f393a96c2b7075e2ebe8d6b323c
  2. libcryptfslollipop: Fix string literal conversion warnings in cpp

    vasishath committed Oct 5, 2018
    Change-Id: I4f57a30f42342336740e3bb87b3dfa1c4931029c
  3. libcryptfslollipop: Add support for Keymaster HAL 3 and 4

    vasishath committed Oct 5, 2018
    Change-Id: I01418ccdfd346264e0c0e34605d082af11c0ee4d
  4. Keymaster3: Enable FDE functions

    vasishath committed Oct 5, 2018
    Change-Id: Ie79069c94bda7534a7a4ae1d941fb4c6eab41014
  5. cryptfslollipop: Migrate to cpp

    vasishath committed Oct 5, 2018
    Change-Id: Icf974c2b0732dae7c6fd7ae28099f93bf76509c5
Commits on Aug 31, 2018
  1. Fix header file for property_get

    Dees-Troy committed Aug 31, 2018
    Change-Id: Id8a8c0e2b5a0a6d5b656fe8f517ded5df512b1a1
  2. Decrypt FBE on 9.0 (backwards compatible)

    Dees-Troy committed Aug 30, 2018
    Building in 9.0 may require you to add a flag to your twrp fstab
    with the fileencryption details like:
    Verify this against your device's stock fstab of course.
    Change-Id: If9286f5d5787280814daca9fbc8f5191ff26a839
Commits on Aug 24, 2018
  1. Merge AOSP android-9.0.0_r3

    Dees-Troy committed Aug 24, 2018
    Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0
    Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
Commits on Jul 30, 2018
  1. Remove remaining pieces of supersu

    deadman96385 committed Jul 30, 2018
    Change-Id: I8f92c19f9e947da29dc25f3b88f69413a13af64d
Commits on Jul 27, 2018
  1. 3.2.3

    Dees-Troy committed Jul 27, 2018
    Change-Id: I4f40c8c83e739c096f6de35b2b06b6426fbf6faf
  2. enable md5sum digest verification

    steadfasterX authored and Dees-Troy committed Jul 6, 2018
    all (well I just checked LOS, aoscp and aicp) ROM scripts use
    "md5sum" as extension but TWRP checks only for the extension
    This change will also expects md5sum as the default digest extension
    and only if not found falling back to md5.
    Change-Id: Ia1dd072d77d53ed6c6ff13c6db730abdcdb56bb3
  3. Fix installing OTAs without decrypting

    Dees-Troy committed Jul 27, 2018
    Change-Id: Ica0c4033bc7148b1313b1671e91c5b92b09064c6
  4. Fix ld.config.txt errors on Android 8.1 system root devices

    Dees-Troy committed Jul 25, 2018
    Change-Id: I17dcb8a2d77519799292d1c0fb5d94de21d7e6cb
Commits on Jul 25, 2018
  1. language: italian: Fix SELinux support label

    humberos committed Jul 25, 2018
    Thanks to David Viteri for this one.
    Signed-off-by: Humberto Borba <>
    Change-Id: I566179921ba1cdb3b79836eff2b78cd6289eff94
Commits on Jul 20, 2018
  1. Remove SuperSU

    Dees-Troy committed Jul 20, 2018
    Change-Id: I2ca7580bbde5a8903b9ba5c1513ddba887e8d49e
Commits on Jul 16, 2018
  1. Fix derp

    vasishath committed Apr 24, 2018
Commits on Jun 29, 2018
  1. 3.2.2

    Dees-Troy committed Jun 29, 2018
    Change-Id: I45600c6af55e1316a5ec97b88b74f76779826597
Commits on Jun 5, 2018
  1. toolbox: prevent executing tools

    kutep0v authored and Dees-Troy committed Mar 21, 2018
    Change-Id: Id3d2b15d6c0dad346282e59eb2f173da2776a905
  2. Cleanup TWRP flags

    nailyk-fr authored and Dees-Troy committed Aug 20, 2017
    Change-Id: I402be0241ba998ad7530f5226f205581dc33e538
  3. Revert "minuitwrp: drm: wait for last page flip to complete"

    simonsmh authored and Dees-Troy committed Jun 2, 2018
    See omnirom#219
    This reverts commit 34ad728.
    Change-Id: Ia659b49af8206ba74b098aa721099a180762bab5
Commits on May 25, 2018
  1. Revert "updater: Remove some obsoleted functions for file-based OTA."

    tdm authored and Dees-Troy committed Aug 23, 2017
    This reverts commit 63d786c.
    These functions will be used for third party OTA zips, so keep them.
    Change-Id: I24b67ba4c86f8f86d0a41429a395fece1a383efd
  2. Revert "kill package_extract_dir"

    tdm authored and Dees-Troy committed Oct 25, 2017
    This reverts commit 53c38b1.
    Change-Id: Id998923948fb51ef5640c8be8884801c4f8d90e3
  3. Enable arm64 neon scrypt implementation

    loganchien authored and Dees-Troy committed Aug 31, 2017
    It seems that old is unaware of arm64 architecture.
    In fact, crypto_scrypt-neon.c can be compiled into arm64 as well.  This
    CL adds an arch section for arm64.
    Bug: 65425184
    Test: adb shell /data/nativetest64/scrypt_test/scrypt_test
    Change-Id: Ib451de642c7cc4548bfdc0879781981654b21b8f
    Merged-In: If40a30378b8038324aad44071107130d7722e28d
  4. ADB Backup: fix md5 check on restore.

    bigbiff authored and Dees-Troy committed Dec 29, 2017
    Add debug capability.
    Fix backup of images after tarred partitions with too much padding
    Add more md5 logging.
    Skip digest check if selected.
    Change ADB Backup version to 3 for new fixes to image padding.
    Change-Id: I0f76c0733c523717e4797d1a14c3ae47d046fc8c
  5. partitionmanager: signal when Mount_To_Decrypt partitions are mounted

    oshmoun authored and Dees-Troy committed Apr 10, 2018
    Enable a property when mounting partitions required for decryption, and disable when they are unmounted.
    This helps init scripts to react to such an event appropriately, for example by starting services critical for decryption that reside on said partitions.
    Change-Id: Ib6fa1e5c903d9c800fb145d582ced6cc7e0ab5b9
  6. TWRP: vold_crypto: Allow custom strace path

    nailyk-fr authored and Dees-Troy committed Mar 28, 2018
     * Allow custom definition of strace path with TW_ flags.
        will use default path: /sbin/strace.
     * `TW_CRYPTO_SYSTEM_VOLD_DEBUG := /system/xbin/strace`
        will use the provided `/system/xbin/strace` path.
    Change-Id: I5e12a10176d17a4f26487de0976a776d48c4142e
    Signed-off-by: nailyk-fr <>
  7. vold_decrypt: Code cleanup

    nkk71 authored and Dees-Troy committed Dec 8, 2017
    * Separate stdout and stderr buffers:
      vdc's return codes get sent to stdout, but the possible presence of
      other error messages in the output buffer will cause a valid return
      from vdc not to be parsed properly, and subsequent decryption to fail
      due to "misunderstood" return code.
      eg on the U11+ (htc_ocm) libc will generate an error to stderr due to
      a missing property area resulting a proper connection to vold being
      incorrectly parsed, and breaking decryption.
    * Improve logging.
    Change-Id: I57987ebe4ee6754a78e79ca177506098f8301f8f
  8. TWRP: Added TW_CLOCK_OFFSET flag to further adjust the clock.

    Phoenix591 authored and Dees-Troy committed Feb 3, 2018
    For devices with the Qualcomm RTC fix whose clocks need further tuning
    such as the LG V20 whose ats files produces the correct time except 
    46 years in the future.
    Takes adjustment in seconds and adjusts after reading the the ats file.
    TW_CLOCK_OFFSET := -1451606400
    Change-Id: I0b2d35dd0026ed18a7bbebf683517f7c0eaa53ff
  9. TWRP: Move the valid current time up to trigger fix on more devices.

    Phoenix591 authored and Dees-Troy committed Feb 3, 2018
    For example on my device, the LG V20 (US996), the default time
    comes back as 2016 which doesn't trigger the fixup code. 
    The actual time I picked was pretty arbitrary, but close to
    the current date, since we're checking if said date/time is reasonably
    accurate without the fixup code.
    Change-Id: I01db64777d7d0c5ce0710445cf88858d89656ac0
  10. Skip decryption when installing mapped zips

    Gabriele M authored and Dees-Troy committed Jan 2, 2018
    Decrypting userdata is not needed when installing zips if we have
    a map of blocks to read, so skip the decryption. This allows to
    install zips with no user interaction and, more importantly, it
    allows to install zips on devices where TWRP can't properly decrypt
    Remove also the unneeded Mount_All_Storage() call, Install_Command()
    already mounts the needed partition.
    Change-Id: I91c69f84ecc2fe41c9567c40649e501af1cfb64a
  11. minuitwrp: drm: wait for last page flip to complete

    fourkbomb authored and Dees-Troy committed Jan 25, 2018
    if we try and flip pages too quickly, the kernel returns -EBUSY.
    Use drmHandleEvent to wait for any previous flip to complete
    before attempting a new one.
    Change-Id: If3def889c0c89d7cfb8b7f13c4dae6d4b12760f9