FORUMS
Remove All Ads from XDA

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

2,714 posts
Thanks Meter: 5,989
 
By haky 86, Recognized Contributor on 19th April 2017, 12:14 AM
Thread Closed Email Thread
Hi folks
Here for you the initial stage of porting progress of TWRP for Huawei P8 Lite 2017 and similar phone.

Quote:

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.
 */

Change Logs:
  • 2017-20-04:
    • Now we have a fully worked recovery.
    • You'll get an error while backup data partition, so don't panic if got it, I will try to restore to factory settings and see if the error will gone.
    • Edit: the error can be fixed by a factory reset then flash twrp, have fun.
    • https://mega.nz/#!gSgkgYqR!YK9qiXpfu...sJcBaqYUzOskYY | 23.9 MB | .

  • 2018-21-06:
    • Wipes: fixed mostly all.
    • Flashing recovery_ramdisk: fixed.
    • Wiping system partition: fixed.
    • Internal storages: fixed as mounted partitions.
    • MPT: fixed.
    • 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

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.

XDAevDB 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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2017-04-18-16-59-00.png
Views:	8284
Size:	96.5 KB
ID:	4117367   Click image for larger version

Name:	Screenshot_20170420-150636.jpg
Views:	8070
Size:	210.0 KB
ID:	4119660  
The Following 35 Users Say Thank You to haky 86 For This Useful Post: [ View ] Gift haky 86 Ad-Free
 
 
19th April 2017, 12:15 AM |#2  
haky 86's Avatar
OP Recognized Contributor
Flag Hama (Syria)
Thanks Meter: 5,989
 
Donate to Me
More
Reserved
  • Reserved
  • Please do not quote
  • Will be released once I fix mounting issue.
The Following 4 Users Say Thank You to haky 86 For This Useful Post: [ View ] Gift haky 86 Ad-Free
19th April 2017, 02:50 AM |#3  
Senior Member
Thanks Meter: 55
 
More
Great , thanks​ a lot man
19th April 2017, 06:16 AM |#4  
Member
Thanks Meter: 6
 
More
Great NEWS!!! Thanks a lot man!
19th April 2017, 08:25 AM |#5  
Member
Thanks Meter: 14
 
More
Great thanks man!!
19th April 2017, 06:49 PM |#6  
ripp2003's Avatar
Senior Member
Flag Ferfay
Thanks Meter: 37
 
More
like others : great news !!!! and thank you
19th April 2017, 08:02 PM |#7  
haky 86's Avatar
OP Recognized Contributor
Flag Hama (Syria)
Thanks Meter: 5,989
 
Donate to Me
More
I almost done with it. keep in touch
The Following 2 Users Say Thank You to haky 86 For This Useful Post: [ View ] Gift haky 86 Ad-Free
19th April 2017, 08:21 PM |#8  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by haky 86

I almost done with it. keep in touch

You are the king 👏👏 waiting for it.
19th April 2017, 10:44 PM |#9  
haky 86's Avatar
OP Recognized Contributor
Flag Hama (Syria)
Thanks Meter: 5,989
 
Donate to Me
More
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
The Following 3 Users Say Thank You to haky 86 For This Useful Post: [ View ] Gift haky 86 Ad-Free
20th April 2017, 05:16 AM |#10  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by haky 86

-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

Now can we flash SuperSU?? 😍
20th April 2017, 09:15 AM |#11  
haky 86's Avatar
OP Recognized Contributor
Flag Hama (Syria)
Thanks Meter: 5,989
 
Donate to Me
More
Quote:
Originally Posted by peerpower

Now can we flash SuperSU??

I didn't try yet, will do a test once back to home.
The Following User Says Thank You to haky 86 For This Useful Post: [ View ] Gift haky 86 Ad-Free
Thread Closed Subscribe to Thread

Tags
hi6250, huawei, p8lite, p8lite2017, pra-lx1
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes