yashsingh1/xdaforums huggingface dataset:
[P8lite Original Android Development] hussam.aleem:
Don't sweat it bro.. U guys r doing great job. Keep up the good work :)
[P8lite Original Android Development] amirinjast:
This TWRP , On Honor 4C (CHM-U01) worked without any problems.

if u have 4c don't worry , u can use this recovery!
[P8lite Original Android Development] EzioTheDeadPoet:
Hi

I really need help, was trying to restore my my phone to EMUI after I had OmniRom insalled, but after the phone takes a while to restore the data partiotion I get the red colored errrormessage "extractTrFork() process endet with ERROR: 255" and the data partiotion is not restored.

Does anyone know how to fix that ?

I checked the backupfile via md5 but there is no problem there. :(
[P8lite Original Android Development] p8tgames:
Your phone still Boots,dont it? The data partiton is not important.
[P8lite Original Android Development] Kuba432110:
I had the same issue just go to settings and restore defaults
[P8lite Original Android Development] Dakatar:
Hmm, install TWRP 3.2.0.1 and I still have a reboot during backup... How to fix that?

P.S. If i make backup in internal storage - it's all right. If in external storage - do reboot always.
[P8lite Original Android Development] EzioTheDeadPoet:
Hi I the problem was, that TWRP somehow could not format the data partion so there was not enough space for the update so I installed EMUI Recovery did a factory reset there got back to TWRP and then I was able to restore the whole backup at once. ;)
[P8lite Original Android Development] Vinnipinni:
Use TWRP 3.1.0-2. That Version is just working fine. I sat in it like 2 hours yesterday without any reboot issues.
[P8lite Original Android Development] Dakatar:
Sorry, i wrote wrong version TWRP. Yeah, i use 3.1.0-2. Now, i reinstall TWRP from OP. Maybe, it change something.:)
[P8lite Original Android Development] hamudistan:
I just did a complete backup (including modem & cust) on adoptable storage without any reboots

Gesendet von meinem ALE-L21 mit Tapatalk
[P8lite Original Android Development] Giuseppe300715:
[MENTION=2335078]surdu_petru[/MENTION] The new version of TWRP has arrived !!

https://www.xda-developers.com/twrp-3-1-1-is-out-brings-minor-fixes/
[P8lite Original Android Development] surdu_petru:
Our dear developer [MENTION=7354786]XePeleato[/MENTION] will push a new update, as soon as he has some spare time :o

Thank you for understanding !
[P8lite Original Android Development] dominj97:
[MENTION=2335078]surdu_petru[/MENTION] [MENTION=7354786]XePeleato[/MENTION]

The changes in new version are really small :)

We don't have decryption support and if you want to really improve our TWRP this would be great. We would be able to see files in adopted storage than :P

edit.

Anyway there more important things to do now. ROM development is much more important than a new version of TWRP.

And you are doing really great work OpenKirin!
[P8lite Original Android Development] Zgadnijcie:
Why P8 lite is not supported in official twrp app?

Huawei P8 Lite TT (OmniROM 6)
[P8lite Original Android Development] dominj97:
Because we are not officially supported by TWRP team. Which is a bit strange because honor 4x kirin version has official TWRP (but a bit old) and this TWRP works on P8 lite.

Anyway I don't recommend it, because you can have problems with flashing ROMs and there is no f2fs support (well we have only two roms with f2fs support).

Edit.

Oh, it's not old they have a new build with 3.1.1 :D

Anyway we are in much better situation because we have stable custom (they don't) and great OpenKirin team!
[P8lite Original Android Development] persona78:
:cyclops: -> https://xdaforums.com/p8lite/orig-development/twrp-t3609582 TWRP 31.1-0 for P8 Lite

.
[P8lite Original Android Development] D1stRU3T0R:
Honor 4x have official los14.1 rom afaik...
[P8lite Original Android Development] dominj97:
only qualcomm versions...
[P8lite Original Android Development] surdu_petru:
Yep, for some users it's hard to make that difference ;)
[P8lite Original Android Development] XePeleato:
Alright here it is:

New TWRP 3.1.1-0 update available! Check the OP for the download link

Changelog from 3.1.1:

Backups will now include adopted storage keys (Dees_Troy)

Fixed an adb restore issue (bigbiff)

Fixed rebooting when no OS is present (Dees_Troy)

Fixed line wrapping in the GUI terminal (_that)

Updated TWRP source code to AOSP 7.1.2 (Dees_Troy)

Enjoy it!
[P8lite Original Android Development] D1stRU3T0R:
Which is better, this or personas one? (i think this)
[P8lite Original Android Development] redknight65:
Is anyone that can confirm the snapdragon version is on market ?, because it appears on qualcomm site, and also it is on GsmArena as ALE-L04
[P8lite Original Android Development] dominj97:
Yep, I think it was for us market. Kirin version is much more popular in the world though.

Send from Resurrection Remix OS
[P8lite Original Android Development] finniebox:
Getting this error:

But my bootloader is unlocked, does anyone know why this is happening?
[P8lite Original Android Development] persona78:
in bootloader mode write:

fastboot devices

what it say????
[P8lite Original Android Development] blaspheme000:
Will this work on huawei pra lx2? Ty
[P8lite Original Android Development] Vinnipinni:
No!
[P8lite Original Android Development] JpegXguy:
I've noticed that if you encrypt your data using the built-in feature of Android, TWRP never asks you for the PIN/password to get access to data. Have I misunderstood things, because I thought it was possible to decrypt these partitions in order to work in the recovery.
[P8lite Original Android Development] dominj97:
yes but unfortunately our TWRP doesn't support decryption ;)
[P8lite Original Android Development] MeowDroid:
Hi, I'm a bit scared to flash this TWRP, it's work perfectly with an Huawei p8 lite with ONLY the bootloader unlocked ?(Want to root my phone) I'm scared because the last time I want to root my phone stuck on huawei logo when i turn it on then he turn off. And when I do a simple OTA uptade it do the same thing ! So, should I flash this TWRP for root ? Thanks (Someone can give me a working superSU for root please ?)
[P8lite Original Android Development] Vinnipinni:
You need TWRP for root. Just search for the newest SuperSU. Or the newest magisk. I would recommend magisk, so you have the possibility to pass the SafetyNET test.
[P8lite Original Android Development] JpegXguy:
1. You can safely flash it, I'm using it on this device right now.

2. Why don't you try Magisk instead if SuperSU? It's open source + you get the ability to hide root from SafetyNet
[P8lite Original Android Development] Bombobux:
Can i flash this when i am on RR?
[P8lite Original Android Development] Vinnipinni:
Yes.
[P8lite Original Android Development] blast1987:
I'm getting error "unable to mount /cache (invalid argument)" i've tried to repair filesystem on cache but i'm getting error on partition /dev/block/mmcblk0p34 (or something like this) what should i do to fix this? :| i cant flash any rom... just restore my twrp backup
[P8lite Original Android Development] D1stRU3T0R:
Try installing persona's twrp
[P8lite Original Android Development] blast1987:
Also tried that, got same error, if i manually try to /sbin/e2fsck -fp /dev/block/mmcblk0p34 using adb i get this error:

/dev/block/mmcblk0p34:

The superblock could not be read or does not describe a correct ext2

filesystem. If the device is valid and it really contains an ext2

filesystem (and not swap or ufs or something else), then the superblock

is corrupt, and you might try running e2fsck with an alternate superblock:

e2fsck -b 8193 <device>

what does it mean? !? O.o i don't have a cache partition or may be it the p34 is a wrong partition?

Also with: /sbin/e2fsck -b 8193 /dev/block/mmcblk0p34

i get : /sbin/e2fsck: Invalid argument while trying to open /dev/block/mmcblk0p34
[P8lite Original Android Development] xonpy:
I am a Chinese
[P8lite Original Android Development] D1stRU3T0R:
Lemby too
[P8lite Original Android Development] persona78:
Try the option to change file system, select ext4. See if fix it.

.
[P8lite Original Android Development] blast1987:
also tired that, didn't solve the issue...
[P8lite Original Android Development] JpegXguy:
So you formatted successfully to ext4 but the message still refers to ext2?
[P8lite Original Android Development] HoldMySoul69:
Can i flash it this file via TWRP older vers? I just want newer vers. P.s i dont havr PC
[P8lite Original Android Development] JpegXguy:
Yes you can :)
[P8lite Original Android Development] HoldMySoul69:
Damn bro, i bricked my phone! I cant!
[P8lite Original Android Development] JpegXguy:
I've flashed a newer version of TWRP in TWRP before
[P8lite Original Android Development] Zaka184:
When I want to hard reset I power off the phone.

And I press volume+power and after shows on screen only HUAWEI logo nothing else.

I waiting for 15 minutes then same LOgo.

Please help me.:(
[P8lite Original Android Development] davidlikeandroid23:
Go to the fastboot mode and flash the recovery image
[P8lite Original Android Development] HoldMySoul69:
Is it possible I flashed your TWRP and instead of 3.1.1-0 I have 3.1.1-1? I am confused right now! [MENTION=5218324]persona78[/MENTION] [MENTION=2335078]surdu_petru[/MENTION] you Two know this phone better!
[P8lite Original Android Development] persona78:
If you have 3.1.1-1 it will say in the header!

There is no big difference between 3.1.1-0 and 3.1.1-1...
[P8lite Original Android Development] Jovzin:
Hello guys. A bit new to Huawei P8 Lite. Can you tell me how to unlock bootloader and how to exatly install the TWRP so I can install custom ROM ? I am reading something about go to fastboot mode, but how ? Should I have installed some program on PC or some combination of power + vol up or down to enter fastboot mode ? Thank you.
[P8lite Original Android Development] D1stRU3T0R:
Check mega-thread.
[P8lite Original Android Development] Kibouo:
Any idea whether it works with EMUI 5.0?
[P8lite Original Android Development] D1stRU3T0R:
Do we have emui 5?
[P8lite Original Android Development] JpegXguy:
This is for the P8 Lite 2015 version. I hate that the forums are mixed, each device should have it's own subforum...

you're looking for the TWRP of the 2017 version, found here
[P8lite Original Android Development] Jarod5001:
I'll try it my CHC-01 as soon as I upgrade to marshmallow
[P8lite Original Android Development] XTutorials:
Hahaha. Yes! No, we don't:laugh::(
[P8lite Original Android Development] Martia.Qa:
I have problem with TWRP 3.1.10 Install On EMUI 4.0.3 ON latest Build

I got This Code but Not writing Recovery And Boot Stock recovery after Reboot

I have Problem when I flashed EMUI 4.1 b895 update

Can you Help me??

My BL unlock
[P8lite Original Android Development] Adi5:
unlock bootloader again
[P8lite Original Android Development] Timonochieng:
I tried to install on firmware c432b610, using TWRP from OpenKirin version 3.1.1-0, I kept getting status 7 error, i tried to remove the assert line got status 6 error what am I doing wrong.

Thanks in advance.

note:

1. I didn't root because keeps boot looping when installing root zip from twrp.

2. The original firmware for the phone was from Kenya east Africa region single sim.(Changed region and converted to dual sim, evaded balong bug :D)
[P8lite Original Android Development] The_username:
Dear surdu

After flashing twrp when i enter to recovery mode first screen swipe to allow modifications. Or any just touches the screen my device restart

V b958

ALE-L21
[P8lite Original Android Development] maddogcz:
Is there a way to make the TWRP permanent? I can get there with this but the next time I gotta do it again
[P8lite Original Android Development] TommyWhite:
Thanks!

Will this be the latest and last TWRP for P8 lite?

(Too bad team win doesnt support P8 lite I guess ... as if its an unworthy device or something ;) ) Why?

Also, what actually is Kirin (and Alice)?

(Or is that being to stupid.)
[P8lite Original Android Development] XTutorials:
First, this device is not a flagship device. It is just entry-level. This is why TWRP doesn't officialy support this device. Second, Kirin is a SoC (socket on chip) developed by HiSilicon (Huawei SoC company) what is put just on Huawei devices. Alice stands out for ALE -LXX; ALE=Alice like how prague (codename from P8 Lite 2017) is PRA-LXX.
[P8lite Original Android Development] TommyWhite:
Ok thank you. So its both hardware.

Very clear. I got hundreds of questions but I try to figure it out myself mostly.

Lot of reading though.

Cheers :good:

Can this reply be deleted. It doesnt add any value.
[P8lite Original Android Development] dominj97:
Pricetag doesn't matter so much. It's even better for devs, they actually don't have to use a phone they work on as their main phone.

I'm pretty sure that some Qualcomm entry devices have official TWRP.

Sent from my OP5
[P8lite Original Android Development] TommyWhite:
Ok thanks!

So Kirin = hardware and Alice = firmware or hardware?

Because uhm ... is there something wrong when it sais in the Project Menu > Veneer informations > Version info > Hardware Version: ALICE_TL21_VC ?

Even though the word 'Alice' never shows up anywhere in system info apps.

(Im very new to this as you can see. But ill learn.)
[P8lite Original Android Development] dominj97:
Alice is just a device codename.

In settings you should have something like ALE-L21. It's a model. ALE is a shortcut from alice.

Kirin 620 is the name of SoC, like eg. Snapdragon 625.

It's hardware.

Sent from my OP5
[P8lite Original Android Development] ElPako1337:
Hey guys,

I have the same problem as some before me. I'm running Build 602 on my ALE-L21, EMUI Ver. 4.0.3. I tried flashing both surdu's and persona's TWRP versions via fastboot, but no avail - the device boots into stock recovery. What can I do to make this thing work? As long as I can't get rid of the lame Emui Recovery, there's not much room for further improvement...

I hope you can help me.

Just to clarify: It boots normally into vanilla EMUI Android when I do nothing. But the recovery has not been swapped. Should I try formatting the Recovery partition and then flashing it with the IMG?
[P8lite Original Android Development] quphkzie:
what happens if i flash this in my EMUI 3.1? is it okay?
[P8lite Original Android Development] Dylaan01:
Hey surdu,i dont know if is problem of custom rom or twrp,but i downloaded gapps arm64 7.1 aroma,and i trying to install it but twrp get stuck,and if i press power Button,or touch some parts of the screen,the phone vibrates,thanks for you amazing work!
[P8lite Original Android Development] quphkzie:
why is my phone always disconnected from pc when i go to bootloader. and the error on the cmd (pc) says "too many links"
[P8lite Original Android Development] jonathan232:
"Internal storage 0"

I have a problem, when i rebot in recovery mode it says internal storage 0 and in file system says ext4 how can i fix it i cannot use my phone right now
[P8lite Original Android Development] davidlikeandroid23:
new official TWRP 3.2.0.0 is available:victory:
[P8lite Original Android Development] corallino:
I Do not find link of this twrp. Where is that?
[P8lite Original Android Development] bael616:
Hi! I am having some problems with the recovery. Whenever I boot my phone in recovery, it will get into the recovery mode, but when I touch the screen it will reboot the system automatically.
[P8lite Original Android Development] Lemon476:
Does your vibration work or it's broken?

Because my vibration didn't work and I had the same error too, but then it started working again, and so TWRP did
[P8lite Original Android Development] bael616:
My vibration does not work. Yet, I was able to boot in recovery by following a crazy process of stock ROMs and TWRP updates. Now the only problem seems to be that I flash any ROM and it will flash but when the phone finally restarts in the new ROM, the screen turns off and it does not respond. I have to go back to any stock ROM for the phone to work again.
[P8lite Original Android Development] Lemon476:
It happened to me too, I don't now why, but vibration seems to be very important
[P8lite Original Android Development] bael616:
Yeah! I don't know why. I also thought that the problem might be that my device was not showing CAM-L21 at settings, it said hisoft620... But that does not seem to be the problem. Do you think that if I fix the vibration with a local tech I could boot any of the ROMs?
[P8lite Original Android Development] Lemon476:
Well, as I said I had the same problems, but my vibration started working of his own and infact, now, I am on LineageOS 14.1 . I think you should give it a try
[P8lite Original Android Development] bael616:
Thanks! I think I'll send the phone to a local tech to see if vibration can be fixed.
[P8lite Original Android Development] vdekjakalit:
Any version of TWRP with working USB-OTG?
[P8lite Original Android Development] D1stRU3T0R:
No, bcs OTG isn't supported on p8lite.
[P8lite Original Android Development] Van6688___:
Will this work on 4с or 4x???
[P8lite Original Android Development] D1stRU3T0R:
Only on 4c afaik
[P8lite Original Android Development] farshadvl:
which version of 4c?
[P8lite Original Android Development] HoldMySoul69:
Error while flashing update.app In attachment there are recovery.log and screenshot
[P8lite Original Android Development] Adi5:
It's normal error when You flash stock via TWRP
[P8lite Original Android Development] HoldMySoul69:
No! Normal is isnt (firmware) after flashing it didnt update
[P8lite Original Android Development] Adi5:
Did you download full version of firmware? Ota mustn't flash via twrp
[P8lite Original Android Development] HoldMySoul69:
Full
[P8lite Original Android Development] TbiTw:
HELP, this recovery doesnt detect adoptable storage data, please fix ! :(

---------- Post added at 06:34 PM ---------- Previous post was at 06:32 PM ----------

you should re-add otg support for honor 4c users :D
[P8lite Original Android Development] jazzh:
Hello!

Can someone tell me which TWRP shoud I install for my:

ALE-L21C432B613

EMUI 4.0.3

And how to root it afterwards? Please also suggest some good custom rom. Thanks.
[P8lite Original Android Development] Aalesund:
I've installed this TWRP on 2 P8Lite :)

1st: ALE-L01C432B613 (single sim) then converted to ALE-L21C432B613 (Dual Sim)

2nd: ALE-L21C432B632
[P8lite Original Android Development] jazzh:
Thanks. I successfully installed twrp abd rooted with magisk 16.

Could you please explain how to convert to dual sim please?
[P8lite Original Android Development] Aalesund:
This works only on C432 European phones and firmware atleast B613! If the phone has NOT received official update B613 via OTA then Step 2 CAN NOT be done!

DO NOT try if your phone is not B613 or above! You will brick both sim slots!!!

Converting is very easy just in 2 steps!

Step 1:

- Download this UPDATE.APP (22KB) -> https://mega.nz/#!rMJREDQC!WM-qaR2d9kPgFqI_AzsQ4wVCGu148fzvDWgFyNupsfQ

- On your SD Card create folder called "dload"

- Put UPDATE.APP (22 KB) into dload

- Turn OFF you phone

- Press and hold all 3 buttons (VOl+ and - and Power) and make System Update via EMUI update menu

- Turn ON your phone, now you can see Dual SIM magagment but these SIM slots are INACTIVE, none of them can be used!!! You need to proceed to STEP 2.

Step 2:

- Download ALE-L21C432B613 (Dual sim) Europen variant (1.60 GB) http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2068/g1647/v103464/f1/full/update.zip

- Extract update.zip and you can see other UPDATE.APP

- Delete old UPDATE.APP (22 KB) from STEP 1.

- Put the new UPDATE.APP into dload

- Turn OFF you phone

- Press and hold all 3 buttons (VOl+ and - and Power) and make System Update via EMUI update menu

- Turn ON your phone and Dual SIM will works fine.

Tested and works 100% on P8Lite Single SIM with B613 firmware!
[P8lite Original Android Development] jazzh:
Thank you very much Aalesund. I also found your original post on this topic 3 months ago (https://xdaforums.com/showpost.php?p=75225792&postcount=193). I had no idea that B613 had also a European dual sim fw.

I'll download all the files and perform the action when I feel brave enough to try :)
[P8lite Original Android Development] lukasss_98:
unable to mount data/ internal storage

Hi, i am having a weird problem with TWRP after installing b895 update, says that is unable to mount data and storage, and before installing b895 (in b613), i was able to mount both of them(obviously, otherwise i wasnt able to install the b895 update). Can someone help me with that problem please, any suggestions?? i thougth on install again the stock b895 recovery but i couldnt find it, maybe i can use the one from b613???

Beforehand thanks.

edit: it recognized the external storage, but still persist the other problem
[Elephone S7 Questions & Answers] Bradco:
Hello

Where the file containing the toogles icons of android 6 is located (in attachement) ?

I can not find them :( in framework-res.apk or systemUI.apk
[Nexus 5 Q&A, Help & Troubleshooting] estebanfalso:
Yesterday my phone turned off after the battery had depleted and now, after charging it, both the OS and TWRP are stuck when trying to boot (on boot animation and TWRP boot image respectively).

I'm currently using an Android 6.0 stock image, and have been doing so since at least a year and a half.

I haven't flashed/changed anything since the last time I flashed the stock image.

The phone has turned off due to battery depletion before without any issues afterwards.

I did noticed that battery was depleting faster than usual, I was sharing my 4G internet via tethering for a while, but I turned it off (and checked that it was off when I noticed the battery level) so that's why I thought it was weird.

I can boot into the bootloader.

Somewhat luckily I have a nandroid backup from Jan 2017

Flashing a new ROM would be less than ideal, so I would really appreciate any ideas/suggestions that can avoid it -- not that I'm wouldn't consider that solution, but I'd rather leave that as a last option.

Cheers!
[Sony Xperia X Compact Guides, News, & Discussion] x10isrooted:
first i want to thank you for this. i appreciate this.

why do we have to use the genesis kernel that is including drm patch when this method makes this patch obsolete? is ta_poc deactivating the drm patch within genesis during injecting the TA data?

What happens if i want to update the rom to the latest sony rom? do i have to do always the same steps?

or what happens if completly for example want to try out custom roms like lineage with different kernels etc?

i assume that phh SU is required for root right? is busybox necessary for phh su or just optional? for what do we need busybox? i mean i can clean the rom myself with root explorer.

What is "service exchange unit - 34.1.A.1.198" is this a special rom or can i always use the latest sony stock firmware for germany for instance?
[Sony Xperia X Compact Guides, News, & Discussion] Magissia:
"it doesn't always work the first time. Run backupTA.cmd many times until it succeeds. Phone reboots supposedly help."

Tried over hundred times using "service exchange unit" build 34.1.A.1.198 without success. I rebooted between each 5 tries.

Could you be more specific on how many is "many" ?

... succeeded while writing this ... it 100% fails from linux, but works from windows 10 without problems...

---------- Post added at 12:25 AM ---------- Previous post was at 12:24 AM ----------

This is a firmware used to downgrade, in this case it is useful because it has a vulnerable kernel we can exploit while later versions does not.