[RECOVERY][PRA-LX1][3.2.1] Haky86's TWRP for Huawei P8 Lite 2017

Status
Not open for further replies.
Search This thread
Feb 20, 2016
34
6
City of Westeros
i used command "fastboot flash recovery recovery.img && fastboot reboot" as stated in installation guide.. adb/windows powershell didnt recognize command.. i ensured to rename twrp.img to recovery.img

or u meant to say

Code:
fastboot flash recovery recovery.img

then

Code:
fastboot reboot

?
because that worked and i thought "fastboot flash recovery recovery.img && fastboot reboot" will do 2 jobs/2 uses in 1 command.

i sometimes get "failed to unmount /data, resource is busy" etc. in red font, but i'm still able to use wipe
 
Last edited:

haky 86

Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    i used command "fastboot flash recovery recovery.img && fastboot reboot" as stated in installation guide.. adb/windows powershell didnt recognize command.. i ensured to rename twrp.img to recovery.img

    or u meant to say

    Code:
    fastboot flash recovery recovery.img

    then

    Code:
    fastboot reboot

    ?
    because that worked and i thought "fastboot flash recovery recovery.img && fastboot reboot" will do 2 jobs/2 uses in 1 command.

    i sometimes get "failed to unmount /data, resource is busy" etc. in red font, but i'm still able to use wipe

    it is just an example, try this
    https://basketbuild.com/filedl/devs...weiP8Lite2017/TWRP/twrp-3.1.1-v3.0-prague.img
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    That's good to know! Has /data been decrypted yet?

    Nice to see you here again, how are you getting along with your new phone?

    LePro3 it is a good, I got it as daily driver so I'm not gonna to work on it.

    yes the data partition it is fixable and I know how to do it but at the moment I'm working to fixing wipe on /cache partition the rest of wipes are fine, also mtp toggle and memories working fine.
     
    Jan 19, 2016
    23
    14
    LePro3 it is a good, I got it as daily driver so I'm not gonna to work on it.

    yes the data partition it is fixable and I know how to do it but at the moment I'm working to fixing wipe on /cache partition the rest of wipes are fine, also mtp toggle and memories working fine.

    No pressure, just checking because I read Huawei's encryption was cracked on a few other models.. No be honest, I wasn't even expecting to hear anything from you. Glad I did, though. Your LineageOS looks really nice now, I'm going to flash it as soon as I get a new SD card.
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    No pressure, just checking because I read Huawei's encryption was cracked on a few other models.. No be honest, I wasn't even expecting to hear anything from you. Glad I did, though. Your LineageOS looks really nice now, I'm going to flash it as soon as I get a new SD card.

    some users confirm me that method works for us too :)

    I'm gonna push new build of twrp right now ;)
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    ** Note **

    Here we go again:
    TWRP 3.2.1 for Emui 8.x roms changelogs:
    • Wipes: fixed mostly all.
    • Flashing recovery_ramdisk: fixed.
    • Wiping system partition: fixed.
    • Internal storages: fixed as mounted partitions.
    • MPT: fixed.

    Note:
    • Cache: need to be fixed.
    • Encryption: to backup your data stuff you need to remove encryption things from fstab in vendor partition (I'm not responsible for any damage do it only if you know what are you doing).
    • SD Card: it is work but not allow me copying things to pc, try a format might solve the issue.

    twrp-3.2.1-v3.5-emui-8.0-prague.img 9.0 MB
     

    Attachments

    • 1f8ddebe-eabd-416b-9829-18fc865ba172.jpeg
      1f8ddebe-eabd-416b-9829-18fc865ba172.jpeg
      51.7 KB · Views: 758
    Status
    Not open for further replies.

    Top Liked Posts

    • There are no posts matching your filters.
    • 35
      Hi folks
      Here for you the initial stage of porting progress of TWRP for Huawei P8 Lite 2017 and similar phone.

      Code:
      #include 
      /*
       * 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.
       */
      [/QUOTE]

      Downloads

      How to Backup Your Firmware:
      • Reboot to TWRP by press on Vol up .
      • Go to Mount.
      • Uncheck the following partitions: Cache, Data & System.
      • Back to main menu and click on Backup, choose all partitions and swipe to start backup firmware to sdcard then.

      Installation Guide:
      • download the latest image.
      • rename to recovery.img.
      • now reboot to fastboot mode by connecting the phone to the usb and press power + vol down.
      • now run the command: fastboot flash recovery recovery.img && fastboot reboot.

      Install Root/SuperSu Permissions:
      • Download the edited SuperSu for Emui 5.0 from AndroidFileHost .
      • Reboot to recovery by power + vol up (make sure is not connected to usb port).
      • Go to Install.
      • Choose SuperSU-v2.79-201612051815-EMUI5.0.zip.
      • Use Swipes to install the package.
      • Once installation is terminated, tab on Reboot.
      • Your device will bootloop for only one time so don't panic, could take some time.
      • You should see SuperSu between apps then.

      Works
      • Recovery.
      • Backing up images is done without problems not like Revolution recovery that I get many errors failed errors.
      • Wipes.
      • Both Internal & External sdcard.
      • Restore.

      XDA:DevDB Information

      TWRP for the Hauwei P8 Lite 2017 and similar variants

      Contributors
      @haky 86
      Source Code:
      device tree: https://github.com/hak86/android_device_huawei_prague
      kernel GPL: https://github.com/hak86/android_kernel_huawei_prague


      Version Information

      Status: Stable

      Created 2017-19-04
      Last Updated 2016-19-04
      7
      ** Note **


      Note:
      Once I release the whole 3.2.1 in 2 versions, first for emui 5.x with kernel 4.1, the second one for emui 8.x with 4.4 I will switch works for oreo based on emui 8.x.

      have a good day
      5
      ** Note **

      * re-uploaded the 3.1.1 Image.
      * I will pass to 3.2.1 directly since I'm on emui 8 due to bring treble for our device. and if you are on emui 8 you must flash as fastboot flash recovery_ramdisk twrp.img and this emui 8 only will not work on emui 5.0.1.
      5
      ** Note **


      * enable product and version partitions.
      * updated to 3.2.1.
      * unique bug to fix: fbe f2fs decryption to backup the whole data partition even with f2fs.
      5
      Huawei is release some emui 5.0 kernels, it's the linux 4.1.18, i'm compiling it let me see it, if will boot i'm gonna to make lineage14.1
      EDIT: got a bootloop, it's for hi3660 so i think will be released in within days for our phone