[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)
    ** 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
     
    Last edited:

    Dr.TheMaster

    Senior Member
    Mar 16, 2014
    364
    127
    Damascus
    2018-10-04:
    update to 31.1.
    Enable the following partitions that can be wiped/backup, OEMInfo, Product, Vendor, Version.
    TWRP 3.2.1 for Emui 5.x:https://basketbuild.com/filedl/devs...weiP8Lite2017/TWRP/twrp-3.2.1-v3.5-prague.img | 37.37 MB | .
    https://basketbuild.com/filedl/devs...weiP8Lite2017/TWRP/twrp-3.1.1-v3.0-prague.img | 37.37 MB | .



    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
    Great job.
    Any news about data partition encryption support?
     

    Alx278

    New member
    Apr 11, 2018
    2
    0
    Problem with TWRP

    Hey Guys,
    i followed the Instructions to flash the latest TWRP.
    No Problems at all... but when i try to enter TWRP ( with Power + Volume Up) it stucks at " Your device is booting now..."
    Nothing at all will happen.. tried some other TWRP Versions i found on the Internet for the P8 Lite 2017 -> same result..

    Any suggestions?
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    Hey Guys,
    i followed the Instructions to flash the latest TWRP.
    No Problems at all... but when i try to enter TWRP ( with Power + Volume Up) it stucks at " Your device is booting now..."
    Nothing at all will happen.. tried some other TWRP Versions i found on the Internet for the P8 Lite 2017 -> same result..

    Any suggestions?
    just power up while booting and remove usb
     
    Jan 19, 2016
    23
    14
    Hello, thank you for the recovery, it works smoothly!

    Do you have any news on encryption support? I can't turn it off in settings and I need access to /data in order to flash ARISE.

    Thank you for all the work
     

    haky 86

    Recognized Contributor
  • Oct 5, 2012
    3,446
    7,480
    Hama (Syria)
    Thanks a lot mate, love your work, also, are you going to work on porting android P on pra-lx phones, when its released?

    yes working on Previews build is just a wasted time, I also bring up AOKP and gonna push right now. check the screenshot :eek:
     

    Attachments

    • AOKP.jpg
      AOKP.jpg
      83.4 KB · Views: 169

    Aneom7331

    Member
    Apr 9, 2016
    43
    2
    yes working on Previews build is just a wasted time, I also bring up AOKP and gonna push right now. check the screenshot :eek:

    Very nice! I hope it doesnt require emui 8 to be installed first like LOS 15.1 did...
    I just want the new navigation bar from Android P, so Im willing to flash it (when you release it) just for that feature
    Keep up the good work :D
     
    Last edited:
    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