[RECOVERY][LOLLIPOP]TWRP2.8.7.X for the Huawei P8 Lite (ALE-L04)

Search This thread

thenameisnigel

Senior Member
Nov 18, 2012
542
533
New York
www.iamroot.me
Team Win Recovery Project 2.x, or twrp2 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.

Phone look:


Tablet look:


CHANGELOG for 2.8.7.0:

-Initial ground work for software drawn keyboard (_that)
-Fix handling of wiping internal storage on datamedia devices (xuefer)
-Allow DataManager to set and read values from the system properties (xuefer)
-Fix crash when taking screenshots on arm64 devices (xuefer)
-Fix error message after an ORS script completes (Dees_Troy)
-Fix crashes / error when creating encrypted backups (_that, Dees_Troy)
-Add system read only option – more details below (Dees_Troy)
-Add resize2fs and GUI option to run resize2fs (Dees_Troy)
-Fix crash loop caused by empty lines in AOSP recovery command file (_that)
-Prevent duplicate page overlays such as multiple lock screens (mdmower)

Note: As always, be sure your custom theme is up to date (or remove your custom theme) before updating TWRP.

System read only option: Devices that ship with 5.0 and higher as their initial OS are using block level OTA updates. With this style of OTA update, the update script checks to see if the system partition has ever been mounted read/write. Further, the script also usually runs an SHA sum of the entire system partition to detect if any changes have been made. If any changes have been made, the OTA update will refuse to install. Since not all OEMs and devices have factory images available, we have created a new feature in TWRP that detects if the system partition has ever been mounted read/write. If not, you will be prompted asking if you want TWRP to mount system as read/write. If you choose not to allow TWRP to mount as read/write, TWRP won’t prompt to install SuperSU and TWRP won’t try to patch the stock ROM to prevent TWRP from being replaced by stock recovery. The goal of this option is to hopefully allow the user to make a raw system image backup that they can use to get back to a state where they can take OTA updates again.

resize2fs feature: On some devices like the Nexus 6, the factory images include a userdata image that is the proper size only for the 32GB units. If you flash the factory image to a 64GB Nexus 6, the data partition will appear as if it only has the free space of a 32GB device. Using the resize2fs option, TWRP can resize your data partition to take up the full space available. The resize2fs may also be useful to resize system partitions on devices where custom ROM system images don’t take up the full partition space. Lastly, resize2fs may be useful in some cases to reserve the proper space at the end of a data partition for a full disk encryption key, should your partition be formatted incorrectly for some reason.

This new version also marks our first set of full builds using our new jenkins build server. You can track the progress of builds at https://jenkins.twrp.me and we have taken additional steps to make it easier for device maintainers to step up and submit patches to our gerrit server at https://gerrit.twrp.me to help us keep devices up to date and working.

CHANGELOG for 2.8.6.0:

-Fix daylight savings time rules for USA and Europe (_that)
-Allow mulitple overlays for popup boxes (Dees_Troy)
-Add pattern style password entry for decrypt (Tassadar)
-Keyboard improvements (_that)
-Update AOSP base to 5.1 (Dees_Troy)
-Reduce theme count to 5 and rely on scaling (Dees_Troy)
-Various scaling improvements (Dees_Troy)
-Improved handling of resources in the GUI (_that)
-Make scroll bar size proportional to list size (_that)
-Allow scoll lists to render without a header (_that)
-Make console scroll per pixel with kinetic scrolling (_that)
-Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)
-Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

CHANGELOG for 2.8.5.0:

-Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution
-Backups can now be cancelled while the backup is in progress (does not include restore because we don't want to leave your device in a bad state)
-Improve thread handling and move input handling into the main rendering thread to improve stability
-Make MTP work even if unplugged and plugged back in
-Unify scrollable list code and make kinetic scrolling feel more natural
-Fix handling of mapped zip files for OTA updates (CM12 updater)
-USB keyboards should now work on all devices that support USB host mode via a USB OTG cable
-Other small fixes and improvements

CHANGELOG for 2.8.4.0:

-Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)
-Fix some MTP related crashes and bugs
-Eliminate TWRP toggling USB IDs during boot if MTP is enabled
-Fix various adb sideload issues
-Improve threading of actions
-Eliminate separate thread for screen timeout
-Update libblkid to 2.25.0
-Use power button as back button on watch themes for easier navigation
-Add mutex locking to data manager
-Improve custom theme handling on encrypted devices
-Allow the stock theme to be offset by build flags so we can center a lower res theme on a higher res screen especially for watches with round screens

DOWNLOAD:
You can find more information and download links on BasketBuild!

BUGS:
If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.


XDA:DevDB Information
[RECOVERY][LOLLIPOP]TWRP2.8.7.X for the Huawei P8 Lite (ALE-L04), Tool/Utility for the Huawei P8lite/P8 Lite

Contributors
thenameisnigel, h8rift
Source Code: https://github.com/omnirom/android_bootable_recovery


Version Information
Status: Stable
Current Stable Version: 2.8.7.0
Stable Release Date: 2015-09-22

Created 2015-09-23
Last Updated 2018-03-02
 
Last edited:

foltz61

Senior Member
Jun 14, 2007
352
49
I normally temporarily boot twrp via fastboot boot first to make a complete system backup. I couldn't get a complete backup this way because recovery isn't part of the backup options.
 

foltz61

Senior Member
Jun 14, 2007
352
49
I did not know that obviously :). TWRP was able to on every device I've ever had. Thanks
 

kimtyson

Senior Member
Oct 30, 2006
1,989
660
York, Pa
LeEco Le 2
How do you apply this .rar file to update to lollipop?
You unzip the rar. Place the Dload folder on your device. Shutdown device. Hold volume up and volume down and also power until it boots to the update screen then release buttons. **This will delete your data.** Make a back up.
This might help, http://consumer.huawei.com/us/support/manuals/detail/index.htm?id=54926.

Oh, you're welcome by the way.

---------- Post added at 10:24 AM ---------- Previous post was at 10:17 AM ----------

This is even better than my pidly attempt.
https://community.gethuawei.com/sup.../10/14/p8-lite-android-l-update-now-available
 

jabonloco

Member
Mar 14, 2012
48
8
How do you apply this .rar file to update to lollipop?

check this http://forum.xda-developers.com/p8lite/general/lollipop-5-1-stock-rom-update-ale-l04-t3226187

Team Win Recovery Project 2.x, or twrp2 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.

Phone look:


Tablet look:


CHANGELOG for 2.8.7.0:

-Initial ground work for software drawn keyboard (_that)
-Fix handling of wiping internal storage on datamedia devices (xuefer)
-Allow DataManager to set and read values from the system properties (xuefer)
-Fix crash when taking screenshots on arm64 devices (xuefer)
-Fix error message after an ORS script completes (Dees_Troy)
-Fix crashes / error when creating encrypted backups (_that, Dees_Troy)
-Add system read only option – more details below (Dees_Troy)
-Add resize2fs and GUI option to run resize2fs (Dees_Troy)
-Fix crash loop caused by empty lines in AOSP recovery command file (_that)
-Prevent duplicate page overlays such as multiple lock screens (mdmower)

Note: As always, be sure your custom theme is up to date (or remove your custom theme) before updating TWRP.

System read only option: Devices that ship with 5.0 and higher as their initial OS are using block level OTA updates. With this style of OTA update, the update script checks to see if the system partition has ever been mounted read/write. Further, the script also usually runs an SHA sum of the entire system partition to detect if any changes have been made. If any changes have been made, the OTA update will refuse to install. Since not all OEMs and devices have factory images available, we have created a new feature in TWRP that detects if the system partition has ever been mounted read/write. If not, you will be prompted asking if you want TWRP to mount system as read/write. If you choose not to allow TWRP to mount as read/write, TWRP won’t prompt to install SuperSU and TWRP won’t try to patch the stock ROM to prevent TWRP from being replaced by stock recovery. The goal of this option is to hopefully allow the user to make a raw system image backup that they can use to get back to a state where they can take OTA updates again.

resize2fs feature: On some devices like the Nexus 6, the factory images include a userdata image that is the proper size only for the 32GB units. If you flash the factory image to a 64GB Nexus 6, the data partition will appear as if it only has the free space of a 32GB device. Using the resize2fs option, TWRP can resize your data partition to take up the full space available. The resize2fs may also be useful to resize system partitions on devices where custom ROM system images don’t take up the full partition space. Lastly, resize2fs may be useful in some cases to reserve the proper space at the end of a data partition for a full disk encryption key, should your partition be formatted incorrectly for some reason.

This new version also marks our first set of full builds using our new jenkins build server. You can track the progress of builds at https://jenkins.twrp.me and we have taken additional steps to make it easier for device maintainers to step up and submit patches to our gerrit server at https://gerrit.twrp.me to help us keep devices up to date and working.

CHANGELOG for 2.8.6.0:

-Fix daylight savings time rules for USA and Europe (_that)
-Allow mulitple overlays for popup boxes (Dees_Troy)
-Add pattern style password entry for decrypt (Tassadar)
-Keyboard improvements (_that)
-Update AOSP base to 5.1 (Dees_Troy)
-Reduce theme count to 5 and rely on scaling (Dees_Troy)
-Various scaling improvements (Dees_Troy)
-Improved handling of resources in the GUI (_that)
-Make scroll bar size proportional to list size (_that)
-Allow scoll lists to render without a header (_that)
-Make console scroll per pixel with kinetic scrolling (_that)
-Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)
-Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

CHANGELOG for 2.8.5.0:

-Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution
-Backups can now be cancelled while the backup is in progress (does not include restore because we don't want to leave your device in a bad state)
-Improve thread handling and move input handling into the main rendering thread to improve stability
-Make MTP work even if unplugged and plugged back in
-Unify scrollable list code and make kinetic scrolling feel more natural
-Fix handling of mapped zip files for OTA updates (CM12 updater)
-USB keyboards should now work on all devices that support USB host mode via a USB OTG cable
-Other small fixes and improvements

CHANGELOG for 2.8.4.0:

-Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)
-Fix some MTP related crashes and bugs
-Eliminate TWRP toggling USB IDs during boot if MTP is enabled
-Fix various adb sideload issues
-Improve threading of actions
-Eliminate separate thread for screen timeout
-Update libblkid to 2.25.0
-Use power button as back button on watch themes for easier navigation
-Add mutex locking to data manager
-Improve custom theme handling on encrypted devices
-Allow the stock theme to be offset by build flags so we can center a lower res theme on a higher res screen especially for watches with round screens

DOWNLOAD:
You can find more information and download links on BasketBuild!

BUGS:
If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.


XDA:DevDB Information
[RECOVERY][LOLLIPOP]TWRP2.8.7.X for the Huawei P8 Lite (ALE-L04), Tool/Utility for the Huawei P8lite

Contributors
thenameisnigel, h8rift
Source Code: https://github.com/omnirom/android_bootable_recovery


Version Information
Status: Stable
Current Stable Version: 2.8.7.0
Stable Release Date: 2015-09-22

Created 2015-09-23
Last Updated 2015-09-22

Download links are dead, can you please fix it? thanks
 

aniancito

Senior Member
Jan 17, 2012
59
3
Hello,

I tried to root the phone several times without success.

Could you explain how to flash the TWRP without the flashify app?
 

mine420

Senior Member
Jan 27, 2011
381
99
Hello,

I tried to root the phone several times without success.

Could you explain how to flash the TWRP without the flashify app?
When you unlock the bootloader. you have to make sure that developer options are enabled. Then inside the dev options you need to enable usb debugging and as well as OEM unlock.
1. Boot phone into fastboot
2. open cmd prompt as admin
3. cd to folder location where fast boot is.
4. copy the twrp.img to the same folder where fastboot is.
5. type fastboot flash recovery twrp.img
6. fastboot reboot
--------------------------------------------
to install root reboot the phone holding both + and - volume buttons at the same time to reboot into twrp and flash the beta zip of super su. after that you should be able to do with your phone what you please.
https://download.chainfire.eu/743/SuperSU/BETA-SuperSU-v2.52.zip
 
Last edited:

jabonloco

Member
Mar 14, 2012
48
8
You have to do this:
1- make a folder in your sd called "dload"
2- unzip trasfer package (kk to LL) and put the update.app on the folder "dload"
3- shutdown your phone, then press volume + and power till it start installing the transfer package

repeat all 3 steps but using the LL file.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Team Win Recovery Project 2.x, or twrp2 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.

    Phone look:


    Tablet look:


    CHANGELOG for 2.8.7.0:

    -Initial ground work for software drawn keyboard (_that)
    -Fix handling of wiping internal storage on datamedia devices (xuefer)
    -Allow DataManager to set and read values from the system properties (xuefer)
    -Fix crash when taking screenshots on arm64 devices (xuefer)
    -Fix error message after an ORS script completes (Dees_Troy)
    -Fix crashes / error when creating encrypted backups (_that, Dees_Troy)
    -Add system read only option – more details below (Dees_Troy)
    -Add resize2fs and GUI option to run resize2fs (Dees_Troy)
    -Fix crash loop caused by empty lines in AOSP recovery command file (_that)
    -Prevent duplicate page overlays such as multiple lock screens (mdmower)

    Note: As always, be sure your custom theme is up to date (or remove your custom theme) before updating TWRP.

    System read only option: Devices that ship with 5.0 and higher as their initial OS are using block level OTA updates. With this style of OTA update, the update script checks to see if the system partition has ever been mounted read/write. Further, the script also usually runs an SHA sum of the entire system partition to detect if any changes have been made. If any changes have been made, the OTA update will refuse to install. Since not all OEMs and devices have factory images available, we have created a new feature in TWRP that detects if the system partition has ever been mounted read/write. If not, you will be prompted asking if you want TWRP to mount system as read/write. If you choose not to allow TWRP to mount as read/write, TWRP won’t prompt to install SuperSU and TWRP won’t try to patch the stock ROM to prevent TWRP from being replaced by stock recovery. The goal of this option is to hopefully allow the user to make a raw system image backup that they can use to get back to a state where they can take OTA updates again.

    resize2fs feature: On some devices like the Nexus 6, the factory images include a userdata image that is the proper size only for the 32GB units. If you flash the factory image to a 64GB Nexus 6, the data partition will appear as if it only has the free space of a 32GB device. Using the resize2fs option, TWRP can resize your data partition to take up the full space available. The resize2fs may also be useful to resize system partitions on devices where custom ROM system images don’t take up the full partition space. Lastly, resize2fs may be useful in some cases to reserve the proper space at the end of a data partition for a full disk encryption key, should your partition be formatted incorrectly for some reason.

    This new version also marks our first set of full builds using our new jenkins build server. You can track the progress of builds at https://jenkins.twrp.me and we have taken additional steps to make it easier for device maintainers to step up and submit patches to our gerrit server at https://gerrit.twrp.me to help us keep devices up to date and working.

    CHANGELOG for 2.8.6.0:

    -Fix daylight savings time rules for USA and Europe (_that)
    -Allow mulitple overlays for popup boxes (Dees_Troy)
    -Add pattern style password entry for decrypt (Tassadar)
    -Keyboard improvements (_that)
    -Update AOSP base to 5.1 (Dees_Troy)
    -Reduce theme count to 5 and rely on scaling (Dees_Troy)
    -Various scaling improvements (Dees_Troy)
    -Improved handling of resources in the GUI (_that)
    -Make scroll bar size proportional to list size (_that)
    -Allow scoll lists to render without a header (_that)
    -Make console scroll per pixel with kinetic scrolling (_that)
    -Support styles in XML to reduce XML size and improve consistentcy (Dees_Troy)
    -Various other fixes and improvements (mdmower, bigbiff, codelover, etc)

    CHANGELOG for 2.8.5.0:

    -Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution
    -Backups can now be cancelled while the backup is in progress (does not include restore because we don't want to leave your device in a bad state)
    -Improve thread handling and move input handling into the main rendering thread to improve stability
    -Make MTP work even if unplugged and plugged back in
    -Unify scrollable list code and make kinetic scrolling feel more natural
    -Fix handling of mapped zip files for OTA updates (CM12 updater)
    -USB keyboards should now work on all devices that support USB host mode via a USB OTG cable
    -Other small fixes and improvements

    CHANGELOG for 2.8.4.0:

    -Add flashing of boot and recovery images via the TWRP GUI (Find the Images button on the Install page)
    -Fix some MTP related crashes and bugs
    -Eliminate TWRP toggling USB IDs during boot if MTP is enabled
    -Fix various adb sideload issues
    -Improve threading of actions
    -Eliminate separate thread for screen timeout
    -Update libblkid to 2.25.0
    -Use power button as back button on watch themes for easier navigation
    -Add mutex locking to data manager
    -Improve custom theme handling on encrypted devices
    -Allow the stock theme to be offset by build flags so we can center a lower res theme on a higher res screen especially for watches with round screens

    DOWNLOAD:
    You can find more information and download links on BasketBuild!

    BUGS:
    If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

    SUPPORT:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.


    XDA:DevDB Information
    [RECOVERY][LOLLIPOP]TWRP2.8.7.X for the Huawei P8 Lite (ALE-L04), Tool/Utility for the Huawei P8lite/P8 Lite

    Contributors
    thenameisnigel, h8rift
    Source Code: https://github.com/omnirom/android_bootable_recovery


    Version Information
    Status: Stable
    Current Stable Version: 2.8.7.0
    Stable Release Date: 2015-09-22

    Created 2015-09-23
    Last Updated 2018-03-02
    2
    How do you apply this .rar file to update to lollipop?
    You unzip the rar. Place the Dload folder on your device. Shutdown device. Hold volume up and volume down and also power until it boots to the update screen then release buttons. **This will delete your data.** Make a back up.
    This might help, http://consumer.huawei.com/us/support/manuals/detail/index.htm?id=54926.

    Oh, you're welcome by the way.

    ---------- Post added at 10:24 AM ---------- Previous post was at 10:17 AM ----------

    This is even better than my pidly attempt.
    https://community.gethuawei.com/sup.../10/14/p8-lite-android-l-update-now-available
    1
    I'm having troubles with the download... is the link really up?
    it throws a 404 error
    The link from post #12 is what worked for me. The link on the main post is still 404 but you can verify the md5 sums and they are they same file.

    https://basketbuild.com/filedl/devs?dev=TheNameIsNigel&dl=TheNameIsNigel/PACMan/alice/twrp.img
    1
    Can't remember how I did it :). I think I booted TWRP temporarily and flashed supersu. Then used Rashr - flash tool to back up stock recovery
    Ok, I've just done the same thing. But because I didn't totally trust Rashr, I also used dd. In case anyone else is wondering, the recovery partition is /dev/block/mmcblk0p20. I checked the file hashes of my manual backup and the Rashr backup and they were both the same. So I hope if I ever need to restore the recovery partition to stock that it will work. I get nervous with this stuff because I'd hate to brick my phone! The main reason I wanted the stock recovery was just in case I ever want to do an OTA update later.

    For anyone interested, here is a list of partitions for the Huawei P8 lite (ALE-L04):
    lrwxrwxrwx root root 1970-04-16 13:31 DDR -> /dev/block/mmcblk0p4
    lrwxrwxrwx root root 1970-04-16 13:31 aboot -> /dev/block/mmcblk0p7
    lrwxrwxrwx root root 1970-04-16 13:31 boot -> /dev/block/mmcblk0p19
    lrwxrwxrwx root root 1970-04-16 13:31 cache -> /dev/block/mmcblk0p21
    lrwxrwxrwx root root 1970-04-16 13:31 cust -> /dev/block/mmcblk0p22
    lrwxrwxrwx root root 1970-04-16 13:31 fsc -> /dev/block/mmcblk0p15
    lrwxrwxrwx root root 1970-04-16 13:31 fsg -> /dev/block/mmcblk0p13
    lrwxrwxrwx root root 1970-04-16 13:31 hyp -> /dev/block/mmcblk0p2
    lrwxrwxrwx root root 1970-04-16 13:31 log -> /dev/block/mmcblk0p17
    lrwxrwxrwx root root 1970-04-16 13:31 misc -> /dev/block/mmcblk0p10
    lrwxrwxrwx root root 1970-04-16 13:31 modem -> /dev/block/mmcblk0p14
    lrwxrwxrwx root root 1970-04-16 13:31 modemst1 -> /dev/block/mmcblk0p11
    lrwxrwxrwx root root 1970-04-16 13:31 modemst2 -> /dev/block/mmcblk0p12
    lrwxrwxrwx root root 1970-04-16 13:31 oeminfo -> /dev/block/mmcblk0p9
    lrwxrwxrwx root root 1970-04-16 13:31 pad -> /dev/block/mmcblk0p8
    lrwxrwxrwx root root 1970-04-16 13:31 persist -> /dev/block/mmcblk0p18
    lrwxrwxrwx root root 1970-04-16 13:31 recovery -> /dev/block/mmcblk0p20
    lrwxrwxrwx root root 1970-04-16 13:31 rpm -> /dev/block/mmcblk0p5
    lrwxrwxrwx root root 1970-04-16 13:31 sbl1 -> /dev/block/mmcblk0p1
    lrwxrwxrwx root root 1970-04-16 13:31 sec -> /dev/block/mmcblk0p3
    lrwxrwxrwx root root 1970-04-16 13:31 ssd -> /dev/block/mmcblk0p16
    lrwxrwxrwx root root 1970-04-16 13:31 system -> /dev/block/mmcblk0p23
    lrwxrwxrwx root root 1970-04-16 13:31 tz -> /dev/block/mmcblk0p6
    lrwxrwxrwx root root 1970-04-16 13:31 userdata -> /dev/block/mmcblk0p24


    Note: the reason I didn't trust Rashr was because it appeared to work the first time i used it, but when I looked at the log I realised that there is no way it could have worked because I had not installed BusyBox and there were a bunch of errors (dd not found, etc). That should have thrown an error or alerted me to a problem, but it didn't.