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

Status
Not open for further replies.
Search This thread

haky 86

Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    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
     

    Attachments

    • Screenshot_2017-04-18-16-59-00.png
      Screenshot_2017-04-18-16-59-00.png
      96.5 KB · Views: 12,112
    • Screenshot_20170420-150636.jpg
      Screenshot_20170420-150636.jpg
      210 KB · Views: 11,826
    Last edited:

    haky 86

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

    -First beta has been released.
    -Wipes should be fine.
    -Backups is working (will be useful to backup your original firmware and save a copy on the computer).
    -I will try to fix mounting internal and external storage bug.
    -I'm not responsible for any damage caused by recovery.

    Thanks for understanding :cool:
     

    peerpower

    Senior Member
    Jan 30, 2009
    55
    6
    -First beta has been released.
    -Wipes should be fine.
    -Backups is working (will be useful to backup your original firmware and save a copy on the computer).
    -I will try to fix mounting internal and external storage bug.
    -I'm not responsible for any damage caused by recovery.

    Thanks for understanding :cool:
    Now can we flash SuperSU?? ?
     

    peerpower

    Senior Member
    Jan 30, 2009
    55
    6
    Topic updated, please report :=)

    WORKS PERFECTLY!!!!! JUST ROOTED :) YOU ARE THE KING:good::good::good::good:

    ---------- Post added at 06:28 PM ---------- Previous post was at 06:10 PM ----------

    Topic updated, please report :=)
    hey my friend i have one last question. Just downloaded fullota package.
    Can i flash it with your twrp?

    Thanks in advance for everything :)
    And can you also please share stock recovery.img ? Just in case you know :):):)
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    WORKS PERFECTLY!!!!! JUST ROOTED :) YOU ARE THE KING:good::good::good::good:

    ---------- Post added at 06:28 PM ---------- Previous post was at 06:10 PM ----------


    hey my friend i have one last question. Just downloaded fullota package.
    Can i flash it with your twrp?

    Thanks in advance for everything :)
    And can you also please share stock recovery.img ? Just in case you know :):):)
    great!

    I don't recommend to flash stock ota via twrp. I will upload 3rd build of twrp with some modification to the partitions that our device don't have.
     

    peerpower

    Senior Member
    Jan 30, 2009
    55
    6
    great!

    I don't recommend to flash stock ota via twrp. I will upload 3rd build of twrp with some modification to the partitions that our device don't have.
    Yes but I believe if i flash stock recovery back I can easily update ota or install fullota. Am I correct?
    Where we can get stock recovery ????
     
    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