[RECOVERY][3.3.1][ABANDONED] TWRP for LG G3

Search This thread

HardStyl3r

Senior Member
  • Aug 12, 2015
    985
    3,170
    Poland, Łódź
    RHV1x5c.png




    XtKzf0I.png

    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    F3hQ0ZB.png

    TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point.
    We also have a large support community with many people who are willing to answer questions
    and help people with their devices either through our IRC channel or on forums like xda-developers.
    Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G.
    After our work on the EVO 4G we wanted to work on a project
    that would work on more devices than just the EVO 4G and we settled on working on a recovery.
    Today TWRP is the leading custom recovery for Android phones.

    jR0olRb.png

    This is a continuation of @dadi11's project.
    • compiled with latest android-9.0 source, combined TeamWin and omnirom
    • updated and modified device trees
    • support for g3ds variant
    • Nebula Kernel (-Nebula_Rev12.5-Final_MM)
    • AROMA support
    • useful TWRP functions enabled (logd/logcat...)
    • new extensions supported (usb-otg, exfat, ntfs-3g...)
    • parted binary added
    • thermal-engine with config
    • optional red theme
    • backup of /recovery
    • TWRP app removed
    • nano binary

    vfiyFV3.png

    You might want to have your ROM rooted before flashing, just in case something goes wrong.
    To install TWRP, you need to be rooted, of course.

    first method (best and recommended)
    • boot to recovery
    • click install and select Install Image on the right bottom corner
    • flash latest recovery image
    second method
    • place latest recovery image on the internal storage
    • open terminal and type following
    Code:
    adb shell
    su
    dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
    dd if=/sdcard/<recovery image name>.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
    exit
    exit
    adb reboot recovery

    qS8rV1E.png

    If you want to contact me, head for my telegram.
    I also really recommend joining telegram: G3 development channel for more information about my projects!
    The thread has been designed by me, please don't copy it.

    Exn4yan.png

    There are always two files, a normal and a -themed one.
    If you want red-colored overlay, download the -themed one. Otherwise, you get blue.
    MEGA (recommended)
    AndroidFileHost
    Rooting your phone by Linus Tech Tips
    Root: Magisk
    3__HacerPermisivo.zip - use this to switch your kernel selinux to permissive
    bootimage_adb_unsecure by @AdrianDC - for debugging
    Mr_Bump.zip by @dadi11 - flash this when you occur Secure booting error (boot certification verify)

    DI8tejt.png

    If you want to report an issue, please use the issue tracker providing your variant and the most information you can.

    PVCDs6F.png

    @ppajdek for help with kernel and stuff
    @dadi11 for releasing the sources
    @sleeplessnerd for decryption
    @osm0sis for nano binary
    @Eliminater74
    @walter79

    SGSAzUj.png

    github.com/omnirom
    github.com/minimal-manifest-twrp
    github.com/itsHardStyl3r
    gitlab.com/HardStyl3r
    device and kernel sources

    local_manifests
    Important: information about open sources from HardStyl3r

    XDA:DevDB Information
    TeamWin Recovery Project (TWRP) 3.3.1-0 for LG G3, Tool/Utility for the LG G3

    Contributors
    HardStyl3r

    Version Information
    Status: Stable

    Created 2018-07-07
    Last Updated 2020-03-17
     

    HardStyl3r

    Senior Member
  • Aug 12, 2015
    985
    3,170
    Poland, Łódź
    4OmfpvB.png

    3.3.1, 17.03.2020
    VoLjFqp.png

    G3
    Code:
    * Updated Nebula Kernel to 12.5-Final version
    * New, compressed red theme (by hardStyl3r)
    * Encryption highly unrecommended on Android 10 yet!
    TWRP
    Code:
    * otautil: Android.bp libziparchive added
    * updater: removed unused variables in installer
    * updater: duplicate function definition
    
    * minuitwrp: Include some missing variables related to screen blanking
    * language: turkish update
    * Fix 'system/etc/ld.config.txt' not found error
    * crypto: fde: decrypt master key first
    * Fix ORS backup and restore for system-as-root
    * crypto: add more missing newlines
    * openrecoveryscript: do not skip decryption even if using block.map
    * partitionmanager: add /etc to Local_Path
    * Move decryption error from logerror to loginfo
    * bootable: read all asserts in case there are more than one.
    * Prevent errors caused by /data/per_boot/
    * crypto: add some missing newlines
    * Removing fake error: E: recv error on uevent
    * Complete overhaul of Dutch translation:
    * recovery: wipe bootloader message from index 0 when using custom offsets
    * android-5.1: use char constructor for default on c++ streams
    * recovery: Move bldrmsg offset symbols to bootloader_message.cpp
    * /sbin should come first in the linker search path.
    * Encryption: try wrapped key also for device without metadata support
    * ldconfig: add /sbin to search.paths
    * cache: Fix typo in twrp-functions.cpp for A/B devices
    * Add ld.config.txt for Android 8.x+ trees
    * Fix typo in comment
    * Update Portuguese (Portugal) translation

    3.3.1, 21.06.2019
    G3
    Code:
    * d851: Fix kernel, apply mkbootimg and bump the images
    TWRP
    Code:
    * Fix selinux issues during formatting - dianlujitao
    * Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
    * Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
    * Add option to uninstall TWRP app from /system - Dees_Troy
    * Create digest for subpartitions - bigbiff

    3.3.0, 17.04.2019
    Code:
    * Merge AOSP 9.0 r3 (Dees_Troy)
    * Use ANDROID_ROOT variable instead of hard coding to /system (CaptainThrowback)
    * Decrypt FBE on 9.0 and metadata decrypt (Dees_Troy)
    * vold decrypt updates (CaptainThrowback and nijel8)
    * Support vibration on LED class devices (notsyncing)
    * Metadata decrypt support for Pixel 3 (Dees_Troy)
    * Support rotating the display via build flag (vladimiroltean)
    * Reboot to EDL mode button (mauronofrio)
    * Support MTP on FFS devices (bigbiff)
    * Update FDE decrypt to support keymaster 3 and 4 (Dees_Troy)
    * Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
    * Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
    * TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
    * Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
    * Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

    3.2.3-0
    G3
    Code:
    * added nano binary (https://www.nano-editor.org/), thanks to @osm0sis
    * complete rebase
    * cleaned flags
    * fstab update: fix modem backup and restore
    TWRP
    Code:
    * android-9.0 support
    
    * Fix automatic installing of OTA zips on encrypted devices
    * Remove SuperSU from TWRP
    * Support both md5 and md5sum file extensions when doing MD5 checking for zip files
    3.2.2-0
    Code:
    * adb backup fixes
    * OTA style update zips will now install automatically without prompting for decrypt
    * minor tweaks to handling date/time on Qualcomm devices
    * updates to some language translations
    3.2.1-0
    Code:
    * minui fixes (cryptomilk)
    * Better android-8.0 compatibility in ROM trees (Dees_Troy)
    * Fix missing library in android-8.0 (nkk71)
    * Fix inconsistent SDCard naming (DevUt)
    * Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)
    3.2.0-0
    Code:
    Allow restoring adb backups in the TWRP GUI (bigbiff)
    Fix gzip backup error in adb backups (bigbiff)
    Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)
    Better support for installing Android 8.0 based zips due to legacy props (nkk71)
    Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)
    Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)
    Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)
    v2 fstab support (Dees_Troy)
    Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)
    Various other minor bugfixes and tweaks
    3.1.1-0
    Code:
    Backups will now include adopted storage keys (Dees_Troy)
    Fixed an adb restore issue (bigbiff)
    Fixed rebooting when no OS is present (Dees_Troy)
    Fixed line wrapping in the GUI terminal (_that)
    Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2
    3.1.0-0
    Code:
    vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
    adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
    tweak MTP startup routines (mdmower)
    support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
    support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
    better indicate to users that internal storage is not backed up (Dees_Troy)
    improve automatic determination of TW_THEME (mdmower)
    minimal getcap and setcap support (_that)
    try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
    shut off backlight with power key (mdmower)
    timeout during FDE decrypt (Dees_Troy and nkk71)
    support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
    boot slot support (Dees_Troy)
    TWRP app install prompt during reboot (Dees_Troy)
    support for AB OTA zips (Dees_Troy)
    support new Android 7.x log command (Dees_Troy)
    update recovery sources to AOSP 7.1 (Dees_Troy)
    numerous bugfixes and improvements by too many people to mention
     
    Last edited:

    HardStyl3r

    Senior Member
  • Aug 12, 2015
    985
    3,170
    Poland, Łódź
    Thank you for keeping things updated :D

    Just a heads up to everyone, LS990 versions are not booting. The following error comes up:

    [4540] Fastboot mode started
    that's a lot for feedback, I made a mistake while building vs985 and ls990. they were using d855 kernel.
    I am building fixed versions and gonna upload them in 10 minutes

    //edit done!
     
    Last edited:

    rahimali

    Senior Member
    Jul 25, 2007
    1,592
    796
    forum.xda-developers.com
    Great job!

    @HardStyl3r, thank you for this. The lack of thermal engine support from the official version was holding me back from upgrading from TWRP v3.0.3 built by @dadi11 because these phones heat up like hell when flashing something. Now thanks to you, I'm able to upgrade to the newest and the latest and the greatest... :good:

    ---------- Post added at 06:43 PM ---------- Previous post was at 06:23 PM ----------

    For the people that do not like the red themed version of the recovery, since @HardStyl3r was kind enough to build both themed and un-themed versions, you can flash the un-themed version and use a theme from here courtesy of @z31s1g. I can confirm as have other users that the v3.2.1 TWRP theme works just fine with TWRP v3.2.2!

    After installing the custom theme, if you cannot see CPU temperature in the top left corner, you can get it back by following the instructions provided here. I just tried it and it works!
     
    Last edited:

    SDA93

    Member
    Feb 8, 2018
    22
    1
    Feedback F400 variant (problems)

    1. In the process of backing up (it shows 3 times "Unable to locate partition by backup name": radio, rpm ,tz) (First Screenshot)

    2. Still during the backup process, it got stuck in 16 MB. I waited for more than 10min, and still nothing happened. (Second Screenshot)

    3. After that, i decided to cancel the backup process, and then it showed " createTarFork( ) process ended with ERROR:255 " (Third Screenshot)

    4. Afterwards, i tried to flash back dadi11 TWRP.img, but it could not (Failed).

    5. And then, i decided to restore only the "recovery" partition from a nandroid backup which i had previously backed up using dadi11 TWRP. This also showed an error.

    6. Tried rebooting to recovery but couldn't anymore (a screen appeared written "750 fastboot mode") (So at that moment, i knew i had lost recovey)

    7. Lastly, i removed battery and inserted it again.
    Booted into system and installed Rashr, and then i was able to flash dadi11 TWRP.

    8. Phewww, what a history
     

    Attachments

    • IMG_20180714_232925879.jpg
      IMG_20180714_232925879.jpg
      235.3 KB · Views: 342
    • IMG_20180714_234020027.jpg
      IMG_20180714_234020027.jpg
      246.7 KB · Views: 350
    • IMG_20180714_234111870.jpg
      IMG_20180714_234111870.jpg
      249.7 KB · Views: 333
    • recovery.log
      26.3 KB · Views: 21
    • dmesg.log
      227.1 KB · Views: 13
    Last edited:

    SDA93

    Member
    Feb 8, 2018
    22
    1
    Continuation of last post

    With dadi11 TWRP, when i mark all partitions to backup, the TWRP itself says
    " Total number of partitions to backup: 10 " during the backup process.
    It does backup of the following: boot, cache, data, efs1, ef2, radio, recovery, rpm, system, tz.

    Your recovery (3.2.2-0) says : "Total number of partitions to backup: 8"
    I don't know what's missing.

    I am puting here the photos of dadi11 recovery, just so you can see.
     

    Attachments

    • IMG_20180714_235844949.jpg
      IMG_20180714_235844949.jpg
      236.7 KB · Views: 234
    • IMG_20180715_240013511.jpg
      IMG_20180715_240013511.jpg
      242.5 KB · Views: 228

    jdmst77

    Senior Member
    Feb 19, 2012
    244
    38
    1. In the process of backing up (it shows 3 times "Unable to locate partition by backup name": radio, rpm ,tz) (First Screenshot)

    2. Still during the backup process, it got stuck in 16 MB. I waited for more than 10min, and still nothing happened. (Second Screenshot)

    3. After that, i decided to cancel the backup process, and then it showed " createTarFork( ) process ended with ERROR:255 " (Third Screenshot)

    4. Afterwards, i tried to flash back dadi11 TWRP.img, but it could not (Failed).

    5. And then, i decided to restore only the "recovery" partition from a nandroid backup which i had previously backed up using dadi11 TWRP. This also showed an error.

    6. Tried rebooting to recovery but couldn't anymore (a screen appeared written "750 fastboot mode") (So at that moment, i knew i had lost recovey)

    7. Lastly, i removed battery and inserted it again.
    Booted into system and installed Rashr, and then i was able to flash dadi11 TWRP.

    8. Phewww, what a history

    I had an issue restoring data. Error 5. I forget what else it said since I had an official copy of 3.2.2 and flashed it, rebooted back into recovery, and was able to restore the data partition with no issue
     

    SDA93

    Member
    Feb 8, 2018
    22
    1
    @SDA93
    I am speechless. I can't understand the issue nor reproduce it. I tested backup, restore, flash, AROMA and terminal before releasing on my d855 and everything went really snappy. Have you managed to get out of it?

    Yes.
    As said in the post, i installed Rashr and used it to flash again dadi11's TWRP.

    I also don't know the cause of the problem. Probably the F400 recovery has a problem that the d855 doesn't.
    I also checked the md5 hash to avoid corrupted download, but it was correct.

    ---------- Post added at 04:15 PM ---------- Previous post was at 04:14 PM ----------

    I had an issue restoring data. Error 5. I forget what else it said since I had an official copy of 3.2.2 and flashed it, rebooted back into recovery, and was able to restore the data partition with no issue

    Are you using F400 variant?
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 38

      XtKzf0I.png

      Code:
      /*
       * Your warranty is now void.
       *
       * I am not responsible for bricked devices, dead SD cards,
       * thermonuclear war, or you getting fired because the alarm app failed. Please
       * do some research if you have any concerns about features included in this ROM
       * before flashing it! YOU are choosing to make these modifications, and if
       * you point the finger at me for messing up your device, I will laugh at you.
       */

      F3hQ0ZB.png

      TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point.
      We also have a large support community with many people who are willing to answer questions
      and help people with their devices either through our IRC channel or on forums like xda-developers.
      Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G.
      After our work on the EVO 4G we wanted to work on a project
      that would work on more devices than just the EVO 4G and we settled on working on a recovery.
      Today TWRP is the leading custom recovery for Android phones.

      jR0olRb.png

      This is a continuation of @dadi11's project.
      • compiled with latest android-9.0 source, combined TeamWin and omnirom
      • updated and modified device trees
      • support for g3ds variant
      • Nebula Kernel (-Nebula_Rev12.5-Final_MM)
      • AROMA support
      • useful TWRP functions enabled (logd/logcat...)
      • new extensions supported (usb-otg, exfat, ntfs-3g...)
      • parted binary added
      • thermal-engine with config
      • optional red theme
      • backup of /recovery
      • TWRP app removed
      • nano binary

      vfiyFV3.png

      You might want to have your ROM rooted before flashing, just in case something goes wrong.
      To install TWRP, you need to be rooted, of course.

      first method (best and recommended)
      • boot to recovery
      • click install and select Install Image on the right bottom corner
      • flash latest recovery image
      second method
      • place latest recovery image on the internal storage
      • open terminal and type following
      Code:
      adb shell
      su
      dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
      dd if=/sdcard/<recovery image name>.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
      exit
      exit
      adb reboot recovery

      qS8rV1E.png

      If you want to contact me, head for my telegram.
      I also really recommend joining telegram: G3 development channel for more information about my projects!
      The thread has been designed by me, please don't copy it.

      Exn4yan.png

      There are always two files, a normal and a -themed one.
      If you want red-colored overlay, download the -themed one. Otherwise, you get blue.
      MEGA (recommended)
      AndroidFileHost
      Rooting your phone by Linus Tech Tips
      Root: Magisk
      3__HacerPermisivo.zip - use this to switch your kernel selinux to permissive
      bootimage_adb_unsecure by @AdrianDC - for debugging
      Mr_Bump.zip by @dadi11 - flash this when you occur Secure booting error (boot certification verify)

      DI8tejt.png

      If you want to report an issue, please use the issue tracker providing your variant and the most information you can.

      PVCDs6F.png

      @ppajdek for help with kernel and stuff
      @dadi11 for releasing the sources
      @sleeplessnerd for decryption
      @osm0sis for nano binary
      @Eliminater74
      @walter79

      SGSAzUj.png

      github.com/omnirom
      github.com/minimal-manifest-twrp
      github.com/itsHardStyl3r
      gitlab.com/HardStyl3r
      device and kernel sources

      local_manifests
      Important: information about open sources from HardStyl3r

      XDA:DevDB Information
      TeamWin Recovery Project (TWRP) 3.3.1-0 for LG G3, Tool/Utility for the LG G3

      Contributors
      HardStyl3r

      Version Information
      Status: Stable

      Created 2018-07-07
      Last Updated 2020-03-17
      15
      April update has been released!
      13
      4OmfpvB.png

      3.3.1, 17.03.2020
      VoLjFqp.png

      G3
      Code:
      * Updated Nebula Kernel to 12.5-Final version
      * New, compressed red theme (by hardStyl3r)
      * Encryption highly unrecommended on Android 10 yet!
      TWRP
      Code:
      * otautil: Android.bp libziparchive added
      * updater: removed unused variables in installer
      * updater: duplicate function definition
      
      * minuitwrp: Include some missing variables related to screen blanking
      * language: turkish update
      * Fix 'system/etc/ld.config.txt' not found error
      * crypto: fde: decrypt master key first
      * Fix ORS backup and restore for system-as-root
      * crypto: add more missing newlines
      * openrecoveryscript: do not skip decryption even if using block.map
      * partitionmanager: add /etc to Local_Path
      * Move decryption error from logerror to loginfo
      * bootable: read all asserts in case there are more than one.
      * Prevent errors caused by /data/per_boot/
      * crypto: add some missing newlines
      * Removing fake error: E: recv error on uevent
      * Complete overhaul of Dutch translation:
      * recovery: wipe bootloader message from index 0 when using custom offsets
      * android-5.1: use char constructor for default on c++ streams
      * recovery: Move bldrmsg offset symbols to bootloader_message.cpp
      * /sbin should come first in the linker search path.
      * Encryption: try wrapped key also for device without metadata support
      * ldconfig: add /sbin to search.paths
      * cache: Fix typo in twrp-functions.cpp for A/B devices
      * Add ld.config.txt for Android 8.x+ trees
      * Fix typo in comment
      * Update Portuguese (Portugal) translation

      3.3.1, 21.06.2019
      G3
      Code:
      * d851: Fix kernel, apply mkbootimg and bump the images
      TWRP
      Code:
      * Fix selinux issues during formatting - dianlujitao
      * Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
      * Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
      * Add option to uninstall TWRP app from /system - Dees_Troy
      * Create digest for subpartitions - bigbiff

      3.3.0, 17.04.2019
      Code:
      * Merge AOSP 9.0 r3 (Dees_Troy)
      * Use ANDROID_ROOT variable instead of hard coding to /system (CaptainThrowback)
      * Decrypt FBE on 9.0 and metadata decrypt (Dees_Troy)
      * vold decrypt updates (CaptainThrowback and nijel8)
      * Support vibration on LED class devices (notsyncing)
      * Metadata decrypt support for Pixel 3 (Dees_Troy)
      * Support rotating the display via build flag (vladimiroltean)
      * Reboot to EDL mode button (mauronofrio)
      * Support MTP on FFS devices (bigbiff)
      * Update FDE decrypt to support keymaster 3 and 4 (Dees_Troy)
      * Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
      * Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
      * TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
      * Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
      * Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

      3.2.3-0
      G3
      Code:
      * added nano binary (https://www.nano-editor.org/), thanks to @osm0sis
      * complete rebase
      * cleaned flags
      * fstab update: fix modem backup and restore
      TWRP
      Code:
      * android-9.0 support
      
      * Fix automatic installing of OTA zips on encrypted devices
      * Remove SuperSU from TWRP
      * Support both md5 and md5sum file extensions when doing MD5 checking for zip files
      3.2.2-0
      Code:
      * adb backup fixes
      * OTA style update zips will now install automatically without prompting for decrypt
      * minor tweaks to handling date/time on Qualcomm devices
      * updates to some language translations
      3.2.1-0
      Code:
      * minui fixes (cryptomilk)
      * Better android-8.0 compatibility in ROM trees (Dees_Troy)
      * Fix missing library in android-8.0 (nkk71)
      * Fix inconsistent SDCard naming (DevUt)
      * Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)
      3.2.0-0
      Code:
      Allow restoring adb backups in the TWRP GUI (bigbiff)
      Fix gzip backup error in adb backups (bigbiff)
      Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)
      Better support for installing Android 8.0 based zips due to legacy props (nkk71)
      Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)
      Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)
      Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)
      v2 fstab support (Dees_Troy)
      Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)
      Various other minor bugfixes and tweaks
      3.1.1-0
      Code:
      Backups will now include adopted storage keys (Dees_Troy)
      Fixed an adb restore issue (bigbiff)
      Fixed rebooting when no OS is present (Dees_Troy)
      Fixed line wrapping in the GUI terminal (_that)
      Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)Updated TWRP source code to AOSP 7.1.2
      3.1.0-0
      Code:
      vold decrypt on a few select HTC devices, TWRP will now attempt to use the system partition's vold and vdc binaries and libraries to decrypt the data partition (nkk71 and CaptainThrowback)
      adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
      tweak MTP startup routines (mdmower)
      support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
      support POSIX file capabilities backup and restore to fix VoLTE on HTC devices and possibly other issues (Dees_Troy)
      better indicate to users that internal storage is not backed up (Dees_Troy)
      improve automatic determination of TW_THEME (mdmower)
      minimal getcap and setcap support (_that)
      try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
      shut off backlight with power key (mdmower)
      timeout during FDE decrypt (Dees_Troy and nkk71)
      support for FBE decrypt and backing up and restoring FBE policies (Dees_Troy)
      boot slot support (Dees_Troy)
      TWRP app install prompt during reboot (Dees_Troy)
      support for AB OTA zips (Dees_Troy)
      support new Android 7.x log command (Dees_Troy)
      update recovery sources to AOSP 7.1 (Dees_Troy)
      numerous bugfixes and improvements by too many people to mention
      9
      New update is up!
      8
      March 2020 update released. Check the changelogs.
      AndroidFileHost has issues with uploading, I'll upload tomorrow. MEGA is working.