[RECOVERY][Treble][11/05] TWRP 3.2.1-0 for Huawei P8 lite 2017 (all variants)

Search This thread


Senior Member
May 25, 2013
Hi there, I get this error on fastboot:

C:\adb>fastboot flash recovery_ramdisk twrp.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (11204 KB)...
OKAY [ 0.419s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 0.437s

any help? thanks

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    [!]NOTE: Decrypting data is not currently supported. MTP also does not work, but you can use adb to push and pull files.[!]

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    -Reboot into fastboot
    -use the command: fastboot flash recovery_ramdisk twrp-X-X-X

    CHANGELOG for 3.2.1-0:
    -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)
    -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

    Dil3mm4's Changelog
    -Added splash2 partition as mountable to obtain failure logs.
    -/cust as TWRP settings holder
    -fixed a quirk with Data formatting
    -Dil3mm4 black theme

    TWRP 3.2.1-0 April 6th build
    TWRP 3.2.1-0 April 8th build
    TWRP 3.2.1-0 April 8th build Round 2
    TWRP 3.2.1-0 May 4th build Round
    TWRP 3.2.1-0 May 15th

    XDA:DevDB Information
    TWRP , Tool/Utility for the Huawei P8lite/P8 Lite

    dil3mm4.dev, TeamWin Recovery Project

    Version Information
    Status: Stable

    Created 2018-04-06
    Last Updated 2018-05-11
    My experiences:
    - error 7 everytime i flash a rom (not able to write system)
    - Dil3mma LOS15.1 not working ("package is for hi6250n this device is prague")

    Going back to my previous recovery. Chinese but working with my device.
    I'll move the asserts in LOS15.1 rom. It should flash at least
    @Dil3mm4 any advices for our problems ?

    -error 7: your phone somehow doesn't mount /system, never happend on my PRA as of now, this has to be the result of bad operations;
    -My LOS15.1 it's discontinued, the thread it's even closed, I don't know why you're considering to use it.

    There's a huge write up in this forum about GSI, DSSI (and everything connected with treble) and why I've chosen to don't ship anymore DSSIs (as of now).

    As of now, I'm not interested in doing any further TWRP releases as the easiest way to avoid problems over Huawei treble enabled devices, it's using fastboot plus Huawei Stock Recovery.
    When TWRP will be safe enough, I'll surely re-build 'em.
    -fixed a quirk on /data formatting
    -Dil3mm4 black theme
    TWRP 3.2.1-0 May 4th build
    How to know that plz??
    When you're in TWRP, try to browse/mount data partition. If you can't or if internal storage occupied space says "0 MB", then you're encrypted. You can remove encryption by flashing DM verity (a zip that disables encryption, look for it in XDA search) immediately after you flashed a ROM/GSI, and before flashing GApps/Magisk.
    Performance and stability fixes

    TWRP 3.2.1-0 May 15th