FORUMS

[Recovery][EMUI 8.x][Huawei P10 Lite][Unofficial]TWRP 3.2.1-0 [28/04/2018]

2,912 posts
Thanks Meter: 2,847
 
Post Reply Email Thread
Disclaimer

This software comes wth no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.

Note: Currently Oreo 8.1 custom roms are not supported,only stock EMUI 8.x .

Download and Installation

* Download twrp recovery
* Start your device in fastboot mode
* Install the recovery using the following command:

Code:
fastboot flash recovery_ramdisk [filename].img --> ex: fastboot flash recovery_ramdisk twrp_p10_lite_0.1.img
* Restart with this command:
Code:
fastboot reboot
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.

Features


Internal storage decryption = working
MTP and OTG connection = working
Backup&Restore = working


Note: There are no sources for this yet,because is based on the work of @zxz0O0 ,from Honor 9.

Contributors
**** Pretoriano80
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him.I used his base to make this recovery work ,so in sign of respect his nick will also be on the TWRP boot screen.Thank again buddy!
**** TeamWin project ,obviously.
**** @Tecalote - He was the main tester for the Mate 9
**** @Blackball
**** @Eurofighter_ty for testing on P10 Lite
**** Team OpenKirin - thanks for the "Oem Path wipe esclusion" code

Download links
twrp_p10_lite_0.1.img - initial release,OTG connection not working
twrp_p10_lite_0.2.img - minor fixes,OTG connection should be fixed (please test and report)
twrp_p10_lite_0.3.img - OTG is now fixed
twrp_p10_lite_0.4.img - fixed mount issues
The Following 22 Users Say Thank You to Pretoriano80 For This Useful Post: [ View ] Gift Pretoriano80 Ad-Free
28th April 2018, 08:59 PM |#2  
Senior Member
Thanks Meter: 71
 
More
Why after entering into TWRP I got "Mount Decrypt Data" menu and ask me for some password? What is this?
Then I press Cancel because I don't know what is this menu.
Also I can't make any backups because I got an error: "Failed to unmount '/data' (device or resource busy)" and "Failed to unmount '/system' (device or resource busy)"
Something is wrong with this TWRP.
28th April 2018, 09:07 PM |#3  
Pretoriano80's Avatar
OP Senior Member
Thanks Meter: 2,847
 
Donate to Me
More
Quote:
Originally Posted by Aalesund

Why after entering into TWRP I got "Mount Decrypt Data" menu and ask me for some password? What is this?
Then I press Cancel because I don't know what is this menu.
Also I can't make any backups because I got an error: "Failed to unmount '/data' (device or resource busy)" and "Failed to unmount '/system' (device or resource busy)"
Something is wrong with this TWRP.

Obviously it's asking for password, otherwise it couldn't decrypt the internal storage.
You have to use the same password/pin/pattern that you use in Android.
The Following 3 Users Say Thank You to Pretoriano80 For This Useful Post: [ View ] Gift Pretoriano80 Ad-Free
8th May 2018, 10:39 AM |#4  
Junior Member
Thanks Meter: 0
 
More
The feature Internal Storage Decryption is really cool!
And this TWRP has better compatibility with magisk, at last I can use recovery mode for mm.
Thanks!
9th May 2018, 10:13 AM |#5  
AndyYan's Avatar
Recognized Contributor
Flag Beijing
Thanks Meter: 3,076
 
Donate to Me
More
The problem of not being able to unmount /system means that it'll always be mount read-only, which then means unless a whole system image is flashed, no modifications can be made to /system. This is the only gripe I have about this TWRP; otherwise it works brilliantly.
The Following User Says Thank You to AndyYan For This Useful Post: [ View ] Gift AndyYan Ad-Free
9th May 2018, 11:30 AM |#6  
Tecalote's Avatar
Senior Member
Flag Leipzig
Thanks Meter: 3,107
 
Donate to Me
More
Quote:
Originally Posted by AndyYan

The problem of not being able to unmount /system means that it'll always be mount read-only, which then means unless a whole system image is flashed, no modifications can be made to /system. This is the only gripe I have about this TWRP; otherwise it works brilliantly.

Yes, that's right - I saw the issue with keeping system ready only yesterday night on Huawei Mate 10 Lite.
This TWRP works except this also brilliantly on Mate 10 Lite
9th May 2018, 04:01 PM |#7  
dlewando's Avatar
Senior Member
Thanks Meter: 109
 
More
i tried to flash my emui 5 p10lite with no success:
#
Code:
fastboot flash recovery_ramdisk ./twrp_p10_lite_0.3.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24952 KB)...
OKAY [ 3.186s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 3.194s
The Following User Says Thank You to dlewando For This Useful Post: [ View ] Gift dlewando Ad-Free
9th May 2018, 04:45 PM |#8  
Senior Member
Flag Bucharest
Thanks Meter: 1,575
 
Donate to Me
More
Quote:
Originally Posted by dlewando

i tried to flash my emui 5 p10lite with no success:
#

Code:
fastboot flash recovery_ramdisk ./twrp_p10_lite_0.3.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (24952 KB)...
OKAY [ 3.186s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 3.194s

It only works on EMUI 8.
9th May 2018, 09:10 PM |#9  
Pretoriano80's Avatar
OP Senior Member
Thanks Meter: 2,847
 
Donate to Me
More
Quote:
Originally Posted by Tecalote

Yes, that's right - I saw the issue with keeping system ready only yesterday night on Huawei Mate 10 Lite.
This TWRP works except this also brilliantly on Mate 10 Lite

Here's a test build,i hope that system unmount issue is fixed -- > https://mega.nz/#!AscFxY5R!UdDKb-FIl...WdKYJfGpAoGJdM
The Following User Says Thank You to Pretoriano80 For This Useful Post: [ View ] Gift Pretoriano80 Ad-Free
10th May 2018, 03:09 AM |#10  
AndyYan's Avatar
Recognized Contributor
Flag Beijing
Thanks Meter: 3,076
 
Donate to Me
More
Quote:
Originally Posted by Pretoriano80

Here's a test build,i hope that system unmount issue is fixed -- > https://mega.nz/#!AscFxY5R!UdDKb-FIl...WdKYJfGpAoGJdM

Same deal unfortunately. Device is a Honor 7X, btw.
The Following 2 Users Say Thank You to AndyYan For This Useful Post: [ View ] Gift AndyYan Ad-Free
10th May 2018, 07:05 AM |#11  
Pretoriano80's Avatar
OP Senior Member
Thanks Meter: 2,847
 
Donate to Me
More
Quote:
Originally Posted by AndyYan

Same deal unfortunately. Device is a Honor 7X, btw.

Well, my magic crystal ball is broken so i will need logs this time.Next time please grab recovery.log and dmesg, otherwise i will start ignoring all these "not working" posts.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes