yashsingh1/xdaforums huggingface dataset:
[P8lite Original Android Development] lm8lm8:
Hi guys,

I was going to try on my side to put twrp on ale/L21 P8Lite 2015.

I get :

fastboot oem unlock 3IUQLEMFCM5LOX3E...

FAILED (remote: already fastboot unlocked)

finished. total time: 0.235s

# fastboot oem lock-state info...

(bootloader) FB LockState: UNLOCKED

(bootloader) USER LockState: UNLOCKED

OKAY [ 0.000s]

finished. total time: 0.000s

# fastboot flash recovery /tmp/421/recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (25152 KB)...

OKAY [ 0.626s]

writing 'recovery'...

FAILED (remote: image verification error)

finished. total time: 0.631s

it's the fourth time Im trying to bootunlock/flash twrp.. not working :(

have you any idea guys?

I thank you vm :)
[P8lite Original Android Development] speedson:
Hi...

its not that bad and hard as you may thinking :)

you did wrong in the fastboot command

like you can read in your Post...bootloader is already unlocked and the FRP is already unlocked to :)

---> in fastboot mode there should be 2 red line with the information that bootloader and FRP have unlocked state :)

so what is the Problem...thats wrong---> ""fastboot flash recovery /tmp/421/recovery.img"" <---thats wrong

now the correct command

bling bling thats right---->fastboot flash recovery_ramdisk xxxxxxxxxx.img<----thats right bling bling

you have to flash the TWRP image not into recovery partition like you try...you need to flash it into recovery_ramdisk partion ok :)

thats all sweethaert :)

solong

speedson 🤘 🙃 🤘
[P8lite Original Android Development] lm8lm8:
Hi speedson

firstly thank you for your answer :)

unfortunately you can guess I already tried, here is the result :

writing 'recovery_ramdisk'...

FAILED (remote: partition does not exist)

I guess that recovery_ramdisk matchs with p8Lite ale/L21 2017 (prague) edition, as marked there :

Huawei P8 Lite 2017

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

whom is correct regarding the 2017 model. Unfortunately, I have the one of 2015, and it might be "recovery" as the name of the partition, where I understand the error is regarding the file (doesnt says that the partition is in fault)

fastboot flash recovery /tmp/tw/recovery3.img

target reported max download size of 471859200 bytes

sending 'recovery' (25152 KB)...

OKAY [ 0.609s]

writing 'recovery'...

FAILED (remote: image verification error)

finished. total time: 0.615s

but I dont really understand what can I use as a bootloader alternative, especially for use twrp/lineage..
[P8lite Original Android Development] speedson:
Hi...

your right....for 2015 model the correct command is:

fastboot flash recovery xxxxxxxxxxxxxxxxx.img

https://xdaforums.com/t/huawei-fastboot-commands.3850123/

but i see you use the following command:

fastboot flash recovery /tmp/tw/recovery3.img

Question: tmp/tw/xxxxxxxxx.img what is tmp? is it for temporally and why in tmp safed?

now i show you how i did it my way ok....

i installed adb and fastboot package v1.4.3 to C:\adb

then go to C:\Windows\system32

scoll down to cmd.exe and right click it to copy the cmd.exe

then go into the adb folder and paste the cmd.exe...after this the adb folder should contain the 5 marked items like in my screenshot

now you can extract the downloadet items to desktop and copy/paste it in the adb folder or extract it directly into adb folder like i had did it on my sreenshot (the unmarked items)

now you can use the adb/fastboot commands and just need to write the name off the item. that you want to flash like the following exampel

command:

fastboot flash system

item name:

FluidOS-1.1-Rum-R-Hi6250-emui8.img

result should looks like this:

fastboot flash system FluidOS-1.1-Rum-R-Hi6250-emui8.img

or

fastboot flash recovery xxxxxxxxxx.img

or

fastboot flash whatever whatever.img

:)

But what about the TWRP is not for your Device???

you write that you have a p8 lite 2015 ale-l21

why you didnt try another TWRP where its clear: thats for your Device?

cause i ask Seniore Doctore Google for TWRP openkirin and i checkt the Openkirin Homepage to for a TWRP download and what i found was nothing.

So its possible that the TWRP does not match your P8 lite cause the "all versions" is a myth i think. Cause i did found different for 2015 and 2017 Models. So maybe the TWRP that you try is just matching the 2017 Devices not yours.

Check out the following link

https://xdaforums.com/t/twrp-3-2-3-0-ale-all-versions-huawei-p8lite-alice-18-59-18-02-2019.3609582

good luck

solong

speedson🤘🙃🤘
[P8lite Original Android Development] lm8lm8:
Hi Speedson, thanks!

>but i see you use the following command:

>fastboot flash recovery /tmp/tw/recovery3.img

/tmp is the common /tmp/ folder on my linux machine -the laptop-, where I like to keep temp files there, and store definitely them on my common storage when Im sure that they will be useful. Until there, I wasnt able to install any twrp nor lineage on this huawei, so I have no clue of a maching file compliant with P8Lite/2015 hardware, that's why I'm not right with the idea of keeping army of different files/archives of software I'm not sure they are useful for my usage/hardware..

with others models, it happened that I had between 20/30 files stored to tests them on the mobile device, then at a moment I just wonder : do I have to keep all of em? or just know which are the right/useful ones?

that's why I'm okay with the idea of usine /tmp/ dir, to prevent excessive storage of useless files..

>result should looks like this:

>fastboot flash system FluidOS-1.1-Rum-R-Hi6250-emui8.img

>or

>fastboot flash recovery xxxxxxxxxx.img

>or

>fastboot flash whatever whatever.img

yep, but on my case it looks like the recovery partition well exists, but rejects all images I give the device to eat. So if it's not the maching meal, the phone looks like to deny the command. I guess this is why I have a failure on this : the image doesn't match with what is expected

>why you didnt try another TWRP where its clear: thats for your Device?

because I don't find it ;)

few files are on androidhost, but non of them, regarding ale/L21/p8Lite2015, are not working with the flashing process, devices rejects them.

I'm wondering if twrp or other alternatives have been one time on this device successfully flashed for somebody..

OpenKirin

openkirin.net

looks like P8 2017 version is the only one supported..

so Im really wondering, for this ale/L21, P8Lite2015 version, if somebody succeed to install another bootloader or android rom on it, because few files are available on the web but none were able to come up with fastboot..
[P8lite Original Android Development] speedson:
Hi...

hmmm if i ask Seniore Doctore Google for p8 lite 2015 ale-l21 twrp it find some result and here on XDA are result to

im sorry but i dont use it on linux...i use it on my win10 pc and maybe you will give it a try by using a windows pc for that.

i know the openkirin hp...casual way i have actually the lineagos build6 installed on my p10 lite...but they have no twrp on they hp...so a openkirin twrp version should not exist i think.

but show in the link there are 1 with [TWRP][ 3.2.3-0 ALE ][ All Versions Huawei P8Lite Alice] - [ 18:59 18-02-2019 ]

then a bit down is the [RECOVERY] Clockwork Mod Recovery CM-12.1 for P8 Lite Kirin

next here....Huawei P8 Lite - Install TWRP Recovery (V2, V3.0.0, V3.0.2), Full System Backup +

and another one...[recovery] twrp 3.2.3 ale-l21

you see its enough ptential to get this work on your device :)

BUT TAKE YOU A FEW MINUTES TIME TO THINK ABOUT TO TRY IT ON WINDOWS COMPUTER. AFTER IT HAVE FLASHED THE RECOVERY YOU CAN GO BACK TO YOUR LAPTOP FOR ALL OTHER THINKS.

Ups im not sorry for Caps that was fully intent xD

try another device other usb other cable other methods if the choosen one would not work :)

and then follow the steps to flash it by the threads creators installion guide.

1 more Question....wich stock firmware you have installed actually? Its a option to search for p8 lite then scroll to button. There you find the 13 different Version for p8 lite without 2017 on top of the 13 you find the 2017 Versions

Search - AndroidHost.RU

Check multiple download links at the same time.

androidhost.ru

or use the erecovery mode if its possible for this device

then flash the stock fw again maybe it solve issue in the firmware that is actually flashed on Device

BUT FIRST TRY THE WINDOW VARIANT DAMN xD

I am good things that you will make it :)

solong

speedson🤘🙃🤘
[P8lite Original Android Development] lm8lm8:
//huaweiALEL21//

huawei, ale/alice L21, 2015 hardware release (means different than 2017 hw one), I'd like to understand, to know, why Im stuck in the bootloader unlock process.

I know that they were three solutions, including huawei online services, now closed, so only two : one you have to pay for -I wont-, the other is a new hope provided by PotatoNV tool for Kirin devices.

What I did :

installed potatonv+huawei drivers on windows laptop

shorted the two pins related to the mainboard of phone

launched the process from the latest version of potatonv

potatonv software, plus mobile phone, says both it's unlocked :

https://i.postimg.cc/76sVnjwv/IMG-1207.jpg

BUT :

Huawei P8 Lite Alice ALE-L21 2015 rel · Issue #74 · mashed-potatoes/PotatoNV

hello I have this model, as alice l21 from 2015 hw release. Lot of LOS, twrp or others freedom-oss-like topics on xda regarding p8 lite are about the 2017 rel. I do have the 2015 only. well, I trie...

github.com

says :

fastboot flash recovery_ramdisk /tmp/twrp_alice21/recovery.img

target reported max download size of 471859200 bytes

sending 'recovery_ramdisk' (25152 KB)...

OKAY [ 0.606s]

writing 'recovery_ramdisk'...

FAILED (remote: partition does not exist)

finished. total time: 0.607s

pc ~ # fastboot flash recovery /tmp/twrp_alice21/recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (25152 KB)...

OKAY [ 0.594s]

writing 'recovery'...

FAILED (remote: image verification error)

finished. total time: 0.600s

pc ~ # fastboot oem get-bootinfo

...

(bootloader) unlocked

OKAY [ 0.001s]

finished. total time: 0.001s

pc ~ # fastboot oem get-lockstate

...

(bootloader) locked

OKAY [ 0.001s]

finished. total time: 0.001s

my question would be : where is the problem, what can I do to solve this issue?

I thank you vm :)
[P8lite Original Android Development] MphaG:
Where is the download button
[P8lite Original Android Development] callmeherbert:
has been resolved
[P8lite Original Android Development] cheapster8:
Works like a charm! Awesome work :)
[P8lite Original Android Development] sokkoban:
Great job! Keep going!
[P8lite Original Android Development] surdu_petru:
Update TWRP !

Hello !

New update for TWRP : 3.1.0-1 is out !

Changelog : exclude /data/cust from wiping /data -> this symlink is used to EMUI firmware, and shouldn't be removed !

Thanks again to our developer [MENTION=4960686]OldDroid[/MENTION], for fixing this issue !

Please check OP for further information .
[P8lite Original Android Development] D1stRU3T0R:
Change the instruction to: flash fastboot flash recovery twrp-3.1.0-1-alice.img ... maybe somebody will not notice that it's wrong, and will screw up something...
[P8lite Original Android Development] xander33:
Just for info

Is also possible to flash it through official twrp app

tap to twrp flash

select a file to flash... (select the file downloaded from this thread)

tap flashto recovery

done

I did it and it work fine
[P8lite Original Android Development] D1stRU3T0R:
[MENTION=5822545]xander33[/MENTION] what device you selected on official twrp app?
[P8lite Original Android Development] xander33:
Huawei Honor 4x -- cherry .. but I think that you can also leave it unselected and choose directly the file to flash
[P8lite Original Android Development] Zgadnijcie:
We can flash it too via twrp 3.0.2.0. I used twrp from XePeleato but I think others can do it too.

1. Click install in recovery mode

2. Check install image

3. Set twrp 3.1.0.1 and install (partition: recovery)

4. Back to twrp home screen

5. Click restart -> recovery

6. Done.

Huawei P8 Lite Tapatalk
[P8lite Original Android Development] Octal450:
When I saw All Versions, I got excited, but this is only for Kirin Chipset huh?
[P8lite Original Android Development] Audriuskins:
Yes
[P8lite Original Android Development] jamshid71:
Hi​ thanks, i installed this recovery on my phone and work correctly:). But i have one question!!! What is the custom in restore and backup??:confused:
[P8lite Original Android Development] Vinnipinni:
The cust partition. Its very important for this phone.
[P8lite Original Android Development] nayeemudheen:
Can someone provie me the link ? I cannot access it from the op?
[P8lite Original Android Development] Sonofapo:
https://www.androidfilehost.com/?fid=817550096634760852

Here you are :)
[P8lite Original Android Development] Mirdeusz:
Works on my Honor 4c (CHM-U01).

Thanks
[P8lite Original Android Development] zokipfc:
i got a message error: cannot load 'twrp-3.1.0-1-alice.img'

i unlocked bootloader,i am in fastboot & rescue mode,need help

EDIT:

problem solved,just putted .img file in minimal ADB folder
[P8lite Original Android Development] mattiascibien:
When I try to backup to sdcard i get an error about having a readonly filesystem. On Internal storage the problem is not happening. Is there any step do to backup to external?

EDIT: nevermind. I guess it is since I have a NTFS filesystem.
[P8lite Original Android Development] Vinnipinni:
I've experienced, when trying to restore big files, after some time the device just restarts and tries to boot to system. It happened several times now when trying to restore data partition with a size of about 11gb.
[P8lite Original Android Development] Sjamaan:
Same problem, not only restoring but even when backing up big size partitions. In my case, a +6GB Data one.
[P8lite Original Android Development] Vinnipinni:
Yeah same. I worked around by installing an older version for now. Im switching around both recoverys everytime I need to. I think it just reboots after some time in recovery. IIRC I did nothing and the device was in recovery while I waited for a download to finish. It just rebooted after some time. I don't know where the problem is coming from, but it seems to occur after some time, no matter what you are doing.
[P8lite Original Android Development] persona78:
Hi!

In init.rc file on "on init" position add this line " symlink /sbin /system/bin " , like this adb backup will work fine!

Check it here how to use it!: ADB_Backup

.
[P8lite Original Android Development] xander33:
[MENTION=2335078]surdu_petru[/MENTION] i would inform you that, when i try to make a backup, the phone reboot during the md5 generation for the data partition and the backup procedure was aborted

instead with the official twrp-3.1.0-0-cherry.img all goes fine

i tried many times with your version of twrp and i have every time this issue

seems that other user was affect by the same or similar problem

could you please check ?
[P8lite Original Android Development] Zgadnijcie:
[MENTION=5822545]xander33[/MENTION] my friend had the same problem. First do backup only system and boot. Second do backup only data. For him it works.

Huawei P8 Lite Tapatalk
[P8lite Original Android Development] xander33:
If i backup all the partitions except the data work fine

but if i backup only the data partition my phone reboot during the md5 generation

for sure you will have a backup of the data but i am not so sure that is fine for a restore

are you sure that your friend have a message "backup successful" at the end of the backup of data partition ?
[P8lite Original Android Development] Zgadnijcie:
Yes. His backup of data is succesfull.

Huawei P8 Lite Tapatalk
[P8lite Original Android Development] Fedroid:
Same problem here restoring data.

It works fine if I restore all partitions except data and afterwards only data.

Best regards
[P8lite Original Android Development] Zgadnijcie:
Before restore do wipe data, dalvik, cache, system and internal. I had this problem too. After wipe, copy restored in 3-4 minutes.

Huawei P8 Lite Tapatalk
[P8lite Original Android Development] mattiascibien:
Are there plans to support NTFS formatted cards like P9 TWRP does?
[P8lite Original Android Development] XTutorials:
De ce i-ai scris in romana? Stie sa vorbeasca?
[P8lite Original Android Development] D1stRU3T0R:
Look at his name, and you will know the answer...
[P8lite Original Android Development] XTutorials:
My device is not recognized in fastboot on ADB after installed EMUI 4.0.3 from TWRP 3.1.0-1. What can I do?
[P8lite Original Android Development] XTutorials:
EDIT: Solved the problem, but after flash the device doesn't boot to TWRP, if I press at boot vol up + vol down it just goes into software install mode.
[P8lite Original Android Development] Zgadnijcie:
To twrp you must press vol up + power

Huawei P8 Lite Tapatalk
[P8lite Original Android Development] persona78:
Unplug usb then try it

.
[P8lite Original Android Development] XTutorials:
Thanks. But, vol up+ power was the solve.
[P8lite Original Android Development] MultiGamer:
Does it support a copy from an earlier version?
[P8lite Original Android Development] blewko:
If you mean backup, yes ;)
[P8lite Original Android Development] Kuba432110:
I tested some older versions of TWRP for this phone and it seems that they all have the same problem. Processing big files(partitions) seem to cause some sort of overload and this triggers the security system(of some sort I think there is one inside TWRP) that causes the reboot to system. The difference between the versions is that older versions seem to tolerate bigger files. That latest version has really low "big-file-toleration-thingy" (about 6GB I think). If you back up the partitions separately(of course if the single partition has more than said 6GB, then you are screwd :crying: ). I just backed up all the partitions separately from data partition and everything went fine, but now I have 2 backups and I don't like that cause I have to restore each one separately. So can I just put the files from one backup to other and everything should be fine? I did that and TWRP is reading the backup properly, but I'm too scared to restore it and I want someone else's opinion on that. Do you guys think it's safe?
[P8lite Original Android Development] Vinnipinni:
I don't think that's the problem. It may be part of it. The restart happens after some time in the recovery. It will also restart if it stays in recovery. I had it happen several times now, that I was in Recovery because I transferred files from my SD card to PC and the recovery just restarted.
[P8lite Original Android Development] Kuba432110:
I did some testing and I found out that it doesn't turn off only on backing up, but on restoring top. Maybe it does that on any sort of file thansfer(SD-PC too). I found that CPU temperature is higher when you transfer files in recovery than when you transfer the same files using system. Anyway, there's something wrong going on.
[P8lite Original Android Development] XTutorials:
I am facing the problem that after 10 minutes of staying in TWRP it crashes and reboots. This is EXTREMELY annoying and dangereous. I tried to restore one of my backups and after 10 minutes it crashed and I almost hard brick my phone. Stuck on boot logo, but managed to get into fastboot and flash TWRP 3.0.2-0 what has no problem for me.

You are sure that LOS 13 and other new stable roms

cannot

be flashed in older TWRP versions? And if yes, why?

Thanks
[P8lite Original Android Development] RizwanH20:
I flashed them by TWRP 3.0.2 and had no problems?
[P8lite Original Android Development] XTutorials:
Thank you so much! That is what I'm going to do.
[P8lite Original Android Development] allrightlite:
I have used 3.1.0.0 for alice. Was an update here in the forum. Works. But after wiping dalvic cache reboots. But starts and boot. Backup not tested. Shouldn't do that?
[P8lite Original Android Development] Kuba432110:
I did some(a lot) tesing...again, and here are the results:

1. Backup/restore of small data partition (any settings)-works

2. Backup/restore of big data partition (md5 gen. + Comp. )-reboot during process

3. Backup/restore of big data partition (md5 gen. )-almost 98% but still reboots during process

4.Backup/restore of big data partition (Comp. )-reboot during process

5.Backup/restore of big data partition (No md5 gen. + No Comp. )-works and is usable

So it seems that twrp has problems with processing big partitions( md5 generation and compression). So if you have problems(reboot) during backing up just delete this backup(there is great chance that it's corrupted) and turn off compression and turn on "skip md5 generation". Well using backups without md5 can be dangerous ( if backup gets corrupted twrp will flash it anyway) but it's better than having no backup.
[P8lite Original Android Development] amirinjast:
can i install this cr on honor 4c chm-u01?
[P8lite Original Android Development] RizwanH20:
Maybe
[P8lite Original Android Development] EzioTheDeadPoet:
You can try but if it is useful I don't know. ;)
[P8lite Original Android Development] allrightlite:
How was it? 6GB without problems to back up? Try to be on 5-6GB to can backup on intern memory. But I don't use the backup feature until now, because I don't know how it works. Good or not good. Don't want risk my daily driver :rolleyes:
[P8lite Original Android Development] Kuba432110:
When everything had 5GB(all partitions together) I could back up without any problem with or without compression and md5 generation. When I installed some apps I had about 6GB and it sometimes worked and sometimes not( probably because I was installing and uninstalling a lot apps, so it wasn't constant amount of data) No I have 7GB and I can't backup anything with compression and md5 generation enabled. With those options disabled it seem that I can backup everything without any problem.
[P8lite Original Android Development] dominj97:
[MENTION=2335078]surdu_petru[/MENTION]

Does your TWRP support adapted storage decryption? I have sd card as internal in LOS 13. I actually splitted it to two partitions through adb.
[P8lite Original Android Development] surdu_petru:
Twrp 3.1.0-2 !

Hello !

New update for TWRP : 3.1.0-2 was released !

Changelog : added F2FS support !

Reboot issue fixed thanks to [MENTION=7354786]XePeleato[/MENTION] !

Please check OP for downloads & further information .

Regards,
[P8lite Original Android Development] p8tgames:
The format as F2FS option doesnt show up :( Theres just EXT2, EXT3, etc...

EDIT: Device bricked :(( I tried wiping it, now i am stuck in recovery...
[P8lite Original Android Development] allrightlite:
Try force reboot(hold power button very long to go out of loop, after that phone goes off, then reboot TWRP). I stuck in TWRP 3.1.0-0 after wiping cache. And after second start in TWRP I have repair cache. Then reboot and LOS14.1 booting fine. But in your case don't exactly what you can do. Try anything to get it working. I have do so, too.
[P8lite Original Android Development] p8tgames:
Got out of TWRP, then I was stuck at eRecovery and then my phone crashed and booted fine??? Wierd phone :laugh:

EDIT: Still the F"FS option doesnt show up :(
[P8lite Original Android Development] allrightlite:
Yes, this phone is amazing in surprising people in every way, every day :D
[P8lite Original Android Development] XTutorials:
Thank god random reboot issue was fixed! Good job! Now I can install LOS 14 update 05/08!

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------

How much you mess up the system, the phone is almost unbrickable :D
[P8lite Original Android Development] hussam.aleem:
There is no f2fs option showed. There is FAT, EXFAT, EXT4,3,2 but f2fs
[P8lite Original Android Development] surdu_petru:
Thank you for warning, we'll be fixed asap :o
[P8lite Original Android Development] XePeleato:
Fixed! I am really sorry about it, I don't know how can I have missed that. The new TWRP can be found (as always) in the OP.

Thanks!