[Stock Rom] Huawei *Prague* PRA-xxxC432B182 - P8 Lite (2017) Discussion

[Stock Rom] Huawei (Prague) PRA-xxxC432B182
For restoring/ rescue your device.​P8 Lite 2017 - PRA-LX1, LX2, LX3, LA-1
P9 Lite 2017
Nova Lite
Honor 8 Youth
Created and tested on this device:
Huawei P8 lite 2017 [PRAGUE]
Model number: PRA-LX1
Build number: PRA-LX1C432B182
free device
The PRA is extrem sensitiv.
Any unconsidered, unofficial intervention, don't forgive it.
Hundreds of users have already "bricked" their device.
The response to the dealers is enormous.
To restore your devices,
I'll provide a complete rom.
It is 100% functional and rooted with SuperSu.
It is to be applied to the device via TWRP restoring.
But it is also suitable for this purpose without an OTA update,
to get the current firmware.
Be sure to read the following instructions carefully.
You're doing it at your own risk!
Rom installation:
In the download folder:
2017-12-30-PRAstockB182root (zip)
there are 26 backup files compressed as Zip files.
After downloading, unpack all files individually into this directory. Then delete all zip's. Now copy the whole directory to your TWRP backup folder. Where your other backups are.
Now flash the stock recovery and perform a factoryreset.
Now flash TWRP and make a wipe of the data and system partitions in TWRP.
Then restore my backup and reboot.
The firmware and the kernel are already rooted.
If necessary, you can install Busybox.
If the device does not boot, the bootloader must be unlocked again with the Huawei unlockcode.
It is a little bit more work for you to unpack everything individually, but this way a faultless installation is possible.
I have tested the up- and download, unpacking and restoring several times. It works perfectly. The rom is bug free.
Now create a new TWRP backup
and remove all older backups from the TWRP backup folder, otherwise they could cause problems later.
Save it to another folder or to
USB-/Stick, or HD.​
I would now like to make a few comments on the end of the year:
I've had the P8 lite 2017 for a year.
The first rooting was developed by me.
The SuperSu and the first rooted kernel,
enabled the developers
@Tecalote and KangVip.
TWRP was provided by the LineageOS team. Again and again I have added fresh rootings and roms.
Nevertheless, increased Bricks are not missing.
It took an enormous amount of time to find
help the users. Unfortunately, this didn't work out for everyone.
My recommendation:
Now set up your device completely. Then create a complete backup with the ingenious Huawei Backup App. Now you take the recovery back.
"fastboot flash recovery recovery. img"
Removes TWRP from your brain for the time being.
Your device is now perfect and the firmware is original. You also have root and the OTA update authorization. When OREO comes, you just wait until I announce the new rooting."
I wish you all the best for 2018.
WARNING !
If all this has worked on my device, it does not mean that it goes with everyone else. Follow exactly the instructions to prevent damage. The execution is your risk.
Never make a factory reset in TWRP. Brick !!! Wipes only in stock recovery.
NOTE: Despite careful preparation I can not guarantee that through the implementation of this Guidance does not create damage to the device or operating system, and therefore assume no liability for ensuing damage and malfunction of hardware and software! If you are still unsure, follow these steps: Only perform the procedure if any mentioned conditions (model number, Android version, etc.) apply to you or your device. Read the instructions carefully and completely, check unfamiliar terminology by google or xda. Downloaded files check for viruses. A backup of important settings and data make. The instructions do not perform, if you do not know what you're doing.
Thank you very much: @Tecalote, KangVip,Chainfire, Stephen (Stericson), Jmz Software, LinageOs team, JRummy, as well as.
Huawei Technologies Co., Ltd.
Update 2017-12-31:
I removed the part "dual recovery".
The support on xda is finished.
Only here:
https://www.android-hilfe.de/forum/huawei-p8-lite-2017.2980/​

I couldn't restore my phone. I followed all of your instructions and after restoring, when I reboot, the phone goes only in TWRP (no volume keys pressed). Any ideas on what I can do?
In any case thank you for the thread, it's good to have a well described procedure for these things

Restore your last backup and repeat the procedure.
Try this one first:
Root again with the SU (B182) from the download.

Tip for life: try not to trust random nerds on forums, offering "ROMs" and what they call "tutorials". Stick to the outlet which sold you the phone, and deal with them and/or the manufacturer, and you can't go far wrong.

afit5 said:
I couldn't restore my phone. I followed all of your instructions and after restoring, when I reboot, the phone goes only in TWRP (no volume keys pressed). Any ideas on what I can do?
In any case thank you for the thread, it's good to have a well described procedure for these things
Click to expand...
Click to collapse
I had the same situation. It's a bit tricky and you must really know, what you are doing
I rebooted to bootloader an repeated the oem unlock -> this caused a factory reset!!
I am on dual recovery and so I rebooted to twrp, repeated the restore with the b182 stock rom and could reboot to the system

mbwf said:
Tip for life: try not to trust random nerds on forums, offering "ROMs" and what they call "tutorials". Stick to the outlet which sold you the phone, and deal with them and/or the manufacturer, and you can't go far wrong.
Click to expand...
Click to collapse
100% useless post. This does not help anyone.
ChinHon tries to help others and i would trust him more than you...

KuGeSch said:
I had the same situation. It's a bit tricky and you must really know, what you are doing
I rebooted to bootloader an repeated the oem unlock -> this caused a factory reset!!
I am on dual recovery and so I rebooted to twrp, repeated the restore with the b182 stock rom and could reboot to the system
Click to expand...
Click to collapse
UPDATE: I solved in another way, which is: booted to fastboot mode, restored the stock recoveries (recovery1 to recovery1, erecovery to recovery2), then the phone booted normally as it should have had. At that point I could reflash twrp to recovery1, but that is optional.
I think the phone tried to boot but having the wrong recovery in recovery2 slot caused problems (just a random hypothesis). Hope this helps

afit5 said:
UPDATE: I solved in another way, which is: booted to fastboot mode, restored the stock recoveries (recovery1 to recovery1, erecovery to recovery2), then the phone booted normally as it should have had. At that point I could reflash twrp to recovery1, but that is optional.
I think the phone tried to boot but having the wrong recovery in recovery2 slot caused problems (just a random hypothesis). Hope this helps
Click to expand...
Click to collapse
What you call erecocery is this the stock erecovery or is it prague311.img from ChinHon? If it is the stock erecovery, where can I find it for download?
Thanks a lot!

KuGeSch said:
What you call erecocery is this the stock erecovery or is it prague311.img from ChinHon? If it is the stock erecovery, where can I find it for download?
Thanks a lot!
Click to expand...
Click to collapse
-prague311.img is TWRP
-recovery.img is the stock recovery on recovery partition 1
-recovery2.img is the stock eRecovery on recovery partition 2
https://www.mediafire.com/file/r33el93w5wyqwde/recovery2.img

ChinHon said:
-prague311.img is TWRP
-recovery.img is the stock recovery on recovery partition 1
-recovery2.img is the stock eRecovery on recovery partition 2
https://www.mediafire.com/file/r33el93w5wyqwde/recovery2.img
Click to expand...
Click to collapse
Thanks a lot! You are doing a great job!

Hello!
I want to follow this guide, it should be fine for my Dual SIM Variant, right?
I have a problem with one file, that is 'version.emmc.win.md5.zip' that can't be downloaded from MEGA. Can someone please provide a working link for that file?
Also a doubt: when all the files will be ready my idea is to restore your TWRP backup, flash stock recovery then lock bootloader, to make it as near to stock as possible: will this work? I have another TWRP backup that is running on my phone, but if I lock the bootloader it won't start, if I unlock the bootloader there no problems at all.
Thanks for your interesting topic!

SnoopyDog said:
100% useless post. This does not help anyone.
ChinHon tries to help others and i would trust him more than you...
Click to expand...
Click to collapse
Very good. Keep smiling.

baffo92 said:
Hello!
I want to follow this guide, it should be fine for my Dual SIM Variant, right?
I have a problem with one file, that is 'version.emmc.win.md5.zip' that can't be downloaded from MEGA. Can someone please provide a working link for that file?
Also a doubt: when all the files will be ready my idea is to restore your TWRP backup, flash stock recovery then lock bootloader, to make it as near to stock as possible: will this work? I have another TWRP backup that is running on my phone, but if I lock the bootloader it won't start, if I unlock the bootloader there no problems at all.
Thanks for your interesting topic!
Click to expand...
Click to collapse
Here's the link.
https://mega.nz/#!4sd3DI6Z!BOfI0teLD_m3aLUROhiMVZuePySmp329RXZpjsH3AM0
Please tell me why you want to take the rom. What's happening?

ChinHon said:
Here's the link.
https://mega.nz/#!4sd3DI6Z!BOfI0teLD_m3aLUROhiMVZuePySmp329RXZpjsH3AM0
Please tell me why you want to take the rom. What's happening?
Click to expand...
Click to collapse
The link works perfectly. Thanks!
I can now give this stock ROM a try!
EDIT 1: I'm trying to install the ROM but I have a problem with TWRP: I launch the command 'fastboot flash recovery prague311.img' then boot to TWRP, but the touchsceen of the phone is unresponsive and I can't do anything to make it work. Have you got any suggestion?
EDIT 2: I made some mistakes here and there, but the TWRP booted and now I have the phone on your ROM Version! I'm trying to clean everything and do a clean install if I can...
EDIT 3: I've done a full phone clean by using the 'Factory Reset' option in 'Settings'... now the phone boots, but:
1. NFC/GPS are not working, they are blinking
2. FM Radio is not working (it says com.huawei.... and has an Android icon instead of the original icon)

baffo92 said:
The link works perfectly. Thanks!
I can now give this stock ROM a try!
EDIT 1: I'm trying to install the ROM but I have a problem with TWRP: I launch the command 'fastboot flash recovery prague311.img' then boot to TWRP, but the touchsceen of the phone is unresponsive and I can't do anything to make it work. Have you got any suggestion?
EDIT 2: I made some mistakes here and there, but the TWRP booted and now I have the phone on your ROM Version! I'm trying to clean everything and do a clean install if I can...
Click to expand...
Click to collapse
To get the rom completely clean you do the following:
Go to my root thread section: Threadupdate: 2018-01-02 and work through the instructions. Then you have a perfect clean stock rom.

ChinHon said:
To get the rom completely clean you do the following:
Go to my root thread section: Threadupdate: 2018-01-02 and work through the instructions. Then you have a perfect clean stock rom.
Click to expand...
Click to collapse
Your support is very helpful, thanks!
I have problems on the steps to reproduce, even after reading your guide :')
This is what I do:
1. Wipe Data/Factory Reset + Wipe cache with stock recovery
2. Flash TWRP
3. Open TWRP, clean data, system and also cache + dalvik
4. Reboot the phone to a fully working with B182, in English with Dual SIM fully recognised
5. What I have to do from now on to have a fully stock experience (remove custom Kernel, reflash stock recovery and erecover, re-lock bootloader and fully ready to Oreo)?
Can you please guide me?
Thanks and sorry for my problems, but I work with Nexus devices thare a bit more 'elastic' in flashing

The kernel is stock. You just have to flash the eRecovery and recovery. That's all.

ChinHon said:
The kernel is stock. You just have to flash the eRecovery and recovery. That's all.
Click to expand...
Click to collapse
Ok, thanks!
This is what I did before, but I can't do a factory reset due to the problems described (Radio FM not working, NFC not working).
I can't also relock the bootloader, because the phone will boot to erecovery (recovery2) and won't let me reach the boot of the ROM. Have you got any suggestion?
If leave it as it is now (unlocked bootloader with stock recovery1 and recovery2) will Oreo arrive without any problems?
Your support is awesome, thanks

If you now take my UPDATE.APP via dload the problems should be gone.

ChinHon said:
If you now take my UPDATE.APP via dload the problems should be gone.
Click to expand...
Click to collapse
Sounds good!
If I flash the stock recovery, then update officially with an UPDATE.APP from SD Card everything should be ok.
Where can I find your UPDATE.APP? I didn't find it in your MEGA Folder
Thanks, again, for your incredible support!

Related

POST_ROOT and NANDROID BACKUP

Hi, everyone this is my first post.
Though I am not new to rooting, but earlier i used to do one click root..so unrooting was also that damn easy.
Recently i rooted my moto x 2nd gen xt1092 by unlocking bootloader and after flashing TWRP and later using SuperSu.
But here is the catch I didn't take nandroid backup before rooting.
So my question is
1 If I take backup now , will this backup be a rooted backup , means that if in future I flash this backup my phone will be directly boot in rooted mode..?
2 If I unroot using supersu are there chances I may stuck in bootloop?
3 now as I alreday have Twrp flashed how can I get to my original OS I once had? 9(system recovery image)
Plz let my doubts get cleared.
thanks in advance
saumyadip said:
Hi, everyone this is my first post.
Though I am not new to rooting, but earlier i used to do one click root..so unrooting was also that damn easy.
Recently i rooted my moto x 2nd gen xt1092 by unlocking bootloader and after flashing TWRP and later using SuperSu.
But here is the catch I didn't take nandroid backup before rooting.
So my question is
1 If I take backup now , will this backup be a rooted backup , means that if in future I flash this backup my phone will be directly boot in rooted mode..?
2 If I unroot using supersu are there chances I may stuck in bootloop?
3 now as I alreday have Twrp flashed how can I get to my original OS I once had? 9(system recovery image)
Plz let my doubts get cleared.
thanks in advance
Click to expand...
Click to collapse
1. yes, you can do a full backup of system, data, recovery, boot, etc (default configuration of backup) and when you do a restore you have the same root system.
2, sometimes, you have a 50% of possible failure, the best option is flash the stock system files and after do a ota update or similar (never do a downgrade, can kill your phone(hardbrick))
3. Via bootloader (down volume button when you turn on the phone)
Write or copy this lines on bootloader mode (in the same folder where you have execute the command for your unlock code for the unlock of boot loader)
fastboot flash recovery recovery.img
fastboot reboot
The recovery is on image of StockRom.
Sorry my English, I`m Chilean.
cyker31 said:
1. yes, you can do a full backup of system, data, recovery, boot, etc (default configuration of backup) and when you do a restore you have the same root system.
2, sometimes, you have a 50% of possible failure, the best option is flash the stock system files and after do a ota update or similar (never do a downgrade, can kill your phone(hardbrick))
3. Via bootloader (down volume button when you turn on the phone)
Write or copy this lines on bootloader mode (in the same folder where you have execute the command for your unlock code for the unlock of boot loader)
fastboot flash recovery recovery.img
fastboot reboot
The recovery is on image of StockRom.
Sorry my English, I`m Chilean.
Click to expand...
Click to collapse
Thanks cyke31.
My two doubts are absolutely clear.
I have a doubt regarding the 3 point.
where I will find that recovey.img file?
And after flashing that recovery.img file will I get back to my stock rom, that I had before TWRP was installed ?
Can I take OTA updates?
Will TWRP get uninstalled ?
your english is pretty good..
I am Indian ....so don't worry . I'm not grammar NAZI..
saumyadip said:
Thanks cyke31.
My two doubts are absolutely clear.
I have a doubt regarding the 3 point.
where I will find that recovey.img file?
And after flashing that recovery.img file will I get back to my stock rom, that I had before TWRP was installed ?
Can I take OTA updates?
Will TWRP get uninstalled ?
your english is pretty good..
I am Indian ....so don't worry . I'm not grammar NAZI..
Click to expand...
Click to collapse
I recommend downloading the stock rom and do a clean install , because any change you've made in system, will generate bootloop...
Here the links to the Rom (you must download The xt1092 version)
Firmwares 4.4.4 hasta 5.0.X: https://mega.co.nz/#F!TkIwRTjR!m7W1V35qfLBiiUargAx1vg
Firmwares 5.1 y 6.0: https://mega.co.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg
And them install via guides on xda.
cyker31 said:
I recommend downloading the stock rom and do a clean install , because any change you've made in system, will generate bootloop...
Here the links to the Rom (you must download The xt1092 version)
Firmwares 4.4.4 hasta 5.0.X: https://mega.co.nz/#F!TkIwRTjR!m7W1V35qfLBiiUargAx1vg
Firmwares 5.1 y 6.0: https://mega.co.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg
And them install via guides on xda.
Click to expand...
Click to collapse
so its better to flash system files than flashing recovery.img
though I'm in no mood to unroot my device. just wanted to know the consequences. I'll do normal backup of my current rooted rom. If in case anything happens I'll flash stock system files from motorola website.
Thanks for the info.
Xposed is the reason I rooted my device. Heard that is better to take nandroid backup before installing Xposed.
saumyadip said:
so its better to flash system files than flashing recovery.img
though I'm in no mood to unroot my device. just wanted to know the consequences. I'll do normal backup of my current rooted rom. If in case anything happens I'll flash stock system files from motorola website.
Thanks for the info.
Xposed is the reason I rooted my device. Heard that is better to take nandroid backup before installing Xposed.
Click to expand...
Click to collapse
Yes, but xposed is a thing, and the modules are totally different thing,Xposed by itself does not cause any problems...
yeah know that but...wanted to be sure..... as there is no service center in my state

[STOCK BACKUP] P8 LITE 2017 Alternative method

TWRP needed
Many people still have problems with bringing the device back to the ROM and Recovery stock, so once and for all I decided to make a simple post guide:
​ This is the backup.
​ https://mega.nz/#F!dQJAAJiT!9GCaOUGCjiahuNBkEbKIZQ
ONLY FOR P8 LITE 2017 [PRA-LX1C55] (but you can try with another branded or unbranded same device)
I do not feel responsible for any problems.
1: Put the ''BACKUPS'' folder in a new folder called ''TWRP'' in external_sd then reboot to TWRP.
2: In TWRP; Wipe cache and Dalvik cache, data and system. (Also Vendor if it was previously flashed)
3: Click on the restore option and select the backup; swipe and wait. When the installation finishes in my case, if an error appears you do not have to worry, you only need this backup to restore the original ROM and recovery after with eRecovery.
4: Reboot the device and when it shows the ''initial unlocked bootloader screen'', press vol +; it boot on eRecovery.
5: In eRecovery, if it shows erase data click on it firstly, if not, click directly on download and install fw and rom on the first option.
6: Insert your wifi password, and wait for the download of rom and recovery . An Italian TIM Branded c55b105 will be downloaded .
Installation performs automatic recovery, and twrp recovery will be overwritten.
Do not worry if you restart a couple of times, if all goes well you will have to wait for the device to boot and everything will be restored, if you want, you can also relock the bootloader.
I hope I can solve your problem:laugh::laugh::laugh:.​
you are awesome!
you saved me! thanks!!!!!!:good::fingers-crossed:
SandXFX said:
you saved me! thanks!!!!!!:good::fingers-crossed:
Click to expand...
Click to collapse
Fr0nK said:
Click to expand...
Click to collapse
can someone give me a stock bakcup for pra-lx2
dazokevin28 said:
can someone give me a stock bakcup for pra-lx2
Click to expand...
Click to collapse
None here has lx2 version sorry , but you can also try this guide to back stock fw (without download lx1 fw obv)
GreenScreen problem
Hello, tried to perform that solution, but encounter a major problem.
In 2nd point I did wiped the Vendor as well (cause was using the haky's LinOS 14.1 previously);
then restored files from your backup (get warning "createTarFork() process ended with ERROR=255" at the end), and reboot.
Then some wierd stuff shows up - instead of any Huawei logo or unlocked bootload screen - I've got GreenScreen witch 2 rectangles (Blue&Red).
But it enters eRecovery; so yet without any worries tried to start recovery over there - "Getting package info failed" made that impossible.
And now I'm bricked a little bit - cause can not enter TWRP, can not flash the TWRP again, only thing that is possible - the eRecovery mode.
Anyone have any ideas how ot unbrick it?
<!-- Edit -->
Sorry for troubles, as just realized the steps made my phone locked again, so "fastboot oen unlock [...]" it again, and now everything is like before.
<!-- Edit2 -->
Already installed SlimOS and everything seems just fine. Therefore the spectacular GreenScreen still showing up every rebooting, even though I did wiped eveything (every single position) in TWRP since then. x)
Would be greatfull for any informations about this phenomenon.
Sixter said:
Hello, tried to perform that solution, but encounter a major problem.
In 2nd point I did wiped the Vendor as well (cause was using the haky's LinOS 14.1 previously);
then restored files from your backup (get warning "createTarFork() process ended with ERROR=255" at the end), and reboot.
Then some wierd stuff shows up - instead of any Huawei logo or unlocked bootload screen - I've got GreenScreen witch 2 rectangles (Blue&Red).
But it enters eRecovery; so yet without any worries tried to start recovery over there - "Getting package info failed" made that impossible.
And now I'm bricked a little bit - cause can not enter TWRP, can not flash the TWRP again, only thing that is possible - the eRecovery mode.
Anyone have any ideas how ot unbrick it?
<!-- Edit -->
Sorry for troubles, as just realized the steps made my phone locked again, so "fastboot oen unlock [...]" it again, and now everything is like before.
<!-- Edit2 -->
Already installed SlimOS and everything seems just fine. Therefore the spectacular GreenScreen still showing up every rebooting, even though I did wiped eveything (every single position) in TWRP since then. x)
Would be greatfull for any informations about this phenomenon.
Click to expand...
Click to collapse
unfortunately I have not encountered this problem
to restore the phone check here
https://forum.xda-developers.com/p8...uide-unbrick-huawei-p8-lite-2017-pra-t3713574
regards
Plz upload as a single zip, not a whole folder on mega .
Can someone give me a stock back up for PRA-LX1C432B### Single Sim please and thanks
Fr0nk0 said:
TWRP needed
Many people still have problems with bringing the device back to the ROM and Recovery stock, so once and for all I decided to make a simple post guide:
​ This is the backup.
​ https://mega.nz/#F!dQJAAJiT!9GCaOUGCjiahuNBkEbKIZQ
ONLY FOR P8 LITE 2017 [PRA-LX1C55] (but you can try with another branded or unbranded same device)
I do not feel responsible for any problems.
1: Put the ''BACKUPS'' folder in a new folder called ''TWRP'' in external_sd then reboot to TWRP.
2: In TWRP; Wipe cache and Dalvik cache, data and system. (Also Vendor if it was previously flashed)
3: Click on the restore option and select the backup; swipe and wait. When the installation finishes in my case, if an error appears you do not have to worry, you only need this backup to restore the original ROM and recovery after with eRecovery.
4: Reboot the device and when it shows the ''initial unlocked bootloader screen'', press vol +; it boot on eRecovery.
5: In eRecovery, if it shows erase data click on it firstly, if not, click directly on download and install fw and rom on the first option.
6: Insert your wifi password, and wait for the download of rom and recovery . An Italian TIM Branded c55b105 will be downloaded .
Installation performs automatic recovery, and twrp recovery will be overwritten.
Do not worry if you restart a couple of times, if all goes well you will have to wait for the device to boot and everything will be restored, if you want, you can also relock the bootloader.
I hope I can solve your problem:laugh::laugh::laugh:.​
Click to expand...
Click to collapse
thanks for your tread it's very helpfully but i flashed the oeminfo only without restore everything just the oeminfo backup i changed in img mode and i flashed with twrp and done. I reboot to eRecovery mode, connect to WiFi and done i installed the firmware pra-lx1c55b105 with success TIM firmware
thanks for your great job ?
jalel25 said:
thanks for your tread it's very helpfully but i flashed the oeminfo only without restore everything just the oeminfo backup i changed in img mode and i flashed with twrp and done. I reboot to eRecovery mode, connect to WiFi and done i installed the firmware pra-lx1c55b105 with success TIM firmware
thanks for your great job
Click to expand...
Click to collapse
Nice to hear. :fingers-crossed:

flashing rom via TWRP with frp lock?

Hi, I'm in a bad situation. My honor 9 lite (Europe) has no OS, frp lock. But it does have TWRP installed.
My question would be, since I can't flash an OS (given the frp lock) via fastboot, would it work via TWRP? Or should I just give up and buy a new phone?
Thanks a lot.
Best
Since you have TWRP, try using HURUpdater tool. It is compatible with H9L.
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
BS4388 said:
Since you have TWRP, try using HURUpdater tool. It is compatible with H9L.
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
Click to expand...
Click to collapse
Hi,
thanks a lot for the tip. Unfortunately, I keep getting an error when flashing following the instructions.
I discovered that nonetheless I can flash roms with TWRP. There is one particular rom, this one https://forum.xda-developers.com/honor-view-10/development/rom-t3753555 that works particularly.
However, my device with that rom keeps giving me an error "bluetooth keeps stopping". Any way to solve that?
I really don't know a solution.
Can't you enable OEM unlock in settings/developer options? so that to make frp unlocked?
Yes.
After that, I was able to finally flash stock rom
However, there's a new issue: wifi doesn't work. It actually seems like whatever rom I flash, wifi won't work the slider turns off as soon as I turn it on
Did you wipe data/factory reset through eRecovery after flashing? That is important in most cases!
BS4388 said:
Did you wipe data/factory reset through eRecovery after flashing? That is important in most cases!
Click to expand...
Click to collapse
No I did not. I think I used TWRP to do that. Will do with eRecovery next time and update you
I am still without WiFi.
I think the problem lies in the fact that my stock ROM comes from here: https://forum.xda-developers.com/9-lite/how-to/guide-unbrick-device-recover-bootloop-t3772563
I had oreo 8.1 before brick, and the rim above that I flashed is 8.0 and Indian version (not european). That maybe could explain the issue.
Problem is, I would need a system.img stock ROM to file and I can't seems to find that. In Huawei firmware finder, I only get update.zip kind of files and TRWP returns error when flashing that or when I use the HuRUpdater tool.
Also, I've noticed it's not just the WiFi, but also security options and themes for some reason
you need a working frp image which in twrp can flashed via dd... so the frp lock is gone...
In telegram group you can find image.
gabfur01 said:
I am still without WiFi.
I think the problem lies in the fact that my stock ROM comes from here: https://forum.xda-developers.com/9-lite/how-to/guide-unbrick-device-recover-bootloop-t3772563
I had oreo 8.1 before brick, and the rim above that I flashed is 8.0 and Indian version (not european). That maybe could explain the issue.
Problem is, I would need a system.img stock ROM to file and I can't seems to find that. In Huawei firmware finder, I only get update.zip kind of files and TRWP returns error when flashing that or when I use the HuRUpdater tool.
Also, I've noticed it's not just the WiFi, but also security options and themes for some reason
Click to expand...
Click to collapse
The system.app file you search for is in the update.zip file you get and you cannot flash update.zip directly from twrp, you need HuRupdater for that and the dload method doesn't work for almost anyone including me.
And you need correct the firmware for your motherboard if you want your phone to work properly.
First tick oem unlocking in developer options. Then unlock fastboot and flash TWRP.
Since you are able to boot up check your varient, the complete one not just the LLD but the rest too. Search for it in Huawei firmware finder and download the latest firmware for your model. You'll get 3 links and you'll need all three.
Download HuRupdater 0.3 zip and then rename the 3 files you got as told in the HuRu instructions. get twrp image and rename it to recovery.img and put all files in the same folder.If you want to completely revert to stock you don't have to have recovery.img but keep it just in case.
Then flash HuRupdater using twrp. You should be up and running if you did everything right.
You can then remove the recovery.img and then flash again using HuRupdater and relock the fastboot too later if you wanna play things safe using fastboot relock bootloader 'your code' .
please help me, honor 9 lite last night my flash rom forgot the data format so now can not boot into the operating system, locked FRP, can not enter the TWRP.
Hello, I know it's been a long time. I put the issue aside for a few months as I had another phone to use in the meanwhile just wanted to let you know i Just did the procedure you described and it worked perfectly! The phone is back to life :laugh:

[STOCK] Flashable Oreo ROM H872 20A (20g Update!)

H87220a Flashable ROM for the T-Mobile LG G6
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: TWRP v3.2.1-0, 11g ROM
Based On: LG Stock ROM
Click to expand...
Click to collapse
This ROM based on H87220xxxx.kdz then extracted and repacked with autoprime's zip based on this thread.
Also, thanks for runningnak3d for TWRP install method. This ROM is ARB01 which is safe if you want revert to 11g.
Installation :
Modullar Installation
You should install at least bootloader, modem, and system in order to boot properly.
Install xxxOreo.zip using TWRP don't reboot
Press back button and Install Magisk (It's mandatory if you want root and twrp retained)
DONE and Reboot
[*]In most case, you'll lost your /data due to data encryption. so backup first
[*]This build's ONLY for T-Mobile US LG G6
[*]If you decided to downgrade, make it sure that firmware is ARB01 (11g or later)
Download :
As requested by many people I've uploaded new update within 4 modules (Bootloader, Laf, Modem, and System).
You can download here: H87220g (latest)
LGH87220F
LGH87220D
LGH87220A
Recommended TWRP/Orangefox Recovery
my G6 seems broken, it has no display but it still ringing when I call it. probably LCD issue. Basically, I can't test any future update with this phone. I've planned to buy v30 soon and try to repair my g6 by myself. Any info or some suggestions will be appreciated
Have a nice day,
OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...
1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...
So, to flash this, using H872 recovery/TWRP:
1) TWRP backup whatever you want to keep.
2) Wipe all normal stuff
3) Flash this and magisk, assuming you want to root anyway.
4) Using TWRP File manager, delete /system/recovery_rom_boot.p so that if something goes wrong, you don't have to reflash H872 TWRP into recovery using laf.
Boot, and you should have the stock 8.x rooted?
In my case, I also a going to try and install stock GApps to replace LG/TMobile stuff...I'll post about my success on that later...
MW
MetroWestMA said:
OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...
1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...
Click to expand...
Click to collapse
You'll get download mode back after flashing this zip anyway (stock laf). in case something bad happens, you should not worry much. though, i've never use custom rom in this phone before. so, extra precaution will be good for you.:good:
immns said:
You'll get download mode back after flashing this zip anyway (stock laf). in case something bad happens, you should not worry much. though, i've never use custom rom in this phone before. so, extra precaution will be good for you.:good:
Click to expand...
Click to collapse
Which is the correct way to do it in my opinion. Once you TWRP installed in Recovery, having it stay on LAF is dangerous as far I'm concerned. In theory TWRP should be able to keep you from needing to ever restore back to stock, but it has been known to fail sometimes. Leaving with no way of using LG UP or any other flasher outside of sending it into LG (unless firehose files get leaked).
NighthawkXL said:
Which is the correct way to do it in my opinion. Once you TWRP installed in Recovery, having it stay on LAF is dangerous as far I'm concerned. In theory TWRP should be able to keep you from needing to ever restore back to stock, but it has been known to fail sometimes. Leaving with no way of using LG UP or any other flasher outside of sending it into LG (unless firehose files get leaked).
Click to expand...
Click to collapse
yep, flashing back original laf will save you in the future mistakes.
By "Stock" do you mean LG's bloatware stuffed "stock" or do you mean "Vanilla Android" stock?
MetroWestMA said:
OK -- So I am going to install that later today...but just to be clear (and hopefully this helps others)...if you have been flashing other ROM, you should have...
1) H870 TWRP in laf, accessible for emergencies via holding up button and plugging phone into computer.
2) H872 Unofficial TWRP in recovery...
So, to flash this, using H872 recovery/TWRP:
1) TWRP backup whatever you want to keep.
2) Wipe all normal stuff
3) Flash this and magisk, assuming you want to root anyway.
4) Using TWRP File manager, delete /system/recovery_rom_boot.p so that if something goes wrong, you don't have to reflash H872 TWRP into recovery using laf.
Boot, and you should have the stock 8.x rooted?
In my case, I also a going to try and install stock GApps to replace LG/TMobile stuff...I'll post about my success on that later...
MW
Click to expand...
Click to collapse
BTW -- I did this method, got laf back to what it should be, rooted the H872 Oreo, installed GApps, and have a pretty good setup with Volte/WiFI calling, Goodle Dialer and Messages (with web message support), stock camera, etc -- kinda best of all worlds.
The only issue, as noted in another thread, is that TWRP can no longer mount data -- meaning you gotta jump through some hoops to back it up...so hopefully this get fixed.
For those that are not aware, with TWRP still in recovery, you can boot to this following the factory reset options for the phone, but after answer to confirm "Yes" twice, you will boot into recover TWRP, so you can always get back there without a laptop and / or fastboot. If I recall, the key sequence is hold down button, hold power until logo appears, then turn power on and off until factory reset appears...
But TWRP needs to be fixed to access that data partition -- no idea what that is all about.
So twrp rebooted even though I clicked cancel on reboot, magisk not installed. Is there anyway back? I'm totally fine on stock btw if that's the case.
GoofyPanda said:
So twrp rebooted even though I clicked cancel on reboot, magisk not installed. Is there anyway back? I'm totally fine on stock btw if that's the case.
Click to expand...
Click to collapse
Try to combination buttons for reset, it'll brings you to TWRP again, and install magisk after that. Hope twrp still remains in recovery partition as sometimes they'll be replaced by bootloader. If it doesn't work, you should be able to use LGUP to flash 11g kdz, and try flashing twrp again.
MetroWestMA said:
The only issue, as noted in another thread, is that TWRP can no longer mount data -- meaning you gotta jump through some hoops to back it up...so hopefully this get fixed.
Click to expand...
Click to collapse
I believe that's possible, all you need's the right dm-verity disabler that works with this phone. In theory, just format (not wipe) your data partition, flash rom, flash dm-verity disabler, and then reboot. Data partition is encrypted by bootloader, I've checked twrp's fstab and all point to the right direction. But still, we've to try this before knowing what's actually possible or not. For now, I utilize LG Mobile Switch to backup my data and it's totally fine.
UPDATE: It doesn't work, dm-verity patches actually only patch boot.img while this phone has aboot, tz, and a lot elf programer
immns said:
Try to combination buttons for reset, it'll brings you to TWRP again, and install magisk after that. Hope twrp still remains in recovery partition as sometimes they'll be replaced by bootloader. If it doesn't work, you should be able to use LGUP to flash 11g kdz, and try flashing twrp again.
Click to expand...
Click to collapse
Seems that it is back to stock recovery also, I am going to try flashing the 11g kids later
GoofyPanda said:
Seems that it is back to stock recovery also, I am going to try flashing the 11g kids later
Click to expand...
Click to collapse
I doubt it is...because mine didn't and there was no /system/recovery_rom_boot.p to delete.
you can try installing a program like Titanium Backup that has the option to reboot into recovery.
Did you get it to the menu asking to factory reset -- if you got that and answered yes both times and did not get into recovery, then it is gone...
Kdz h827bk is same as h872?
AdrianNeo said:
Kdz h827bk is same as h872?
Click to expand...
Click to collapse
do you mean h872bk? The answer is yes, this is from H872BK kdz
immns said:
do you mean h872bk? The answer is yes, this is from H872BK kdz
Click to expand...
Click to collapse
mine is h872, but lg firmware only has the h872bk and h872tn, i do not know which down.
AdrianNeo said:
mine is h872, but lg firmware only has the h872bk and h872tn, i do not know which down.
Click to expand...
Click to collapse
if your phone is from T-Mobile, it's b872bk. please check ota update. if you got oreo update then you're in the right path. but if not, then it's more likely that your phone is the 872tn one.
I'm assuming the 2 letters at the end signify the color of the devices (BK = Black and TN = Titanium/Silver). Even though the devices are the same, perhaps there are minute differences in each build? I flashed the 20a zip that was provided by OP, but it changed my splash screen to say G6 ThinQ? The G6 I have is T-Mobile branded Titanium color, but I definitely had the devices before the ThinQ moniker became a thing. I'm going to download the KDZ branded for my 872TN and see what happens when I flash with LGUP.
The G6 ThinQ splash screen came with the oreo update. I think too that bk=black and tn=titanium no diff at the builds.
Your zip save my phone
Keep it up bro ..
Thanks
So I should be able to flash this through twrp like any other zip?
Y'all were talking about deleting deleting things so I wanted to make sure before I did anything.
I'm in agreement with fixing the laf after getting root, and this way looks like it would simplify matters if you got stuck with an issue and didn't want to or didn't have access to a pc.
Thanks

[GUIDE] Back to stock ROM howto / Downgrade howto

There maybe a number of reasons to go back to the stock ROM. We do not discuss them here
But what to do if you flashed something, wanting to go back to stock, and did not brick your Realme X2 yet? Here is super quick howto guide. There are other possible ways and sequences to perform the task, but the one listed below is tested.
The same procedure applys for a case when you want to downgrade you phone (when its bootloader unlocked). Say, current custom ROMs are based on ColorOS 6.1/Android 9 vendor contents but you have realmeUI/Android 10 already. In order to try one of those custom ROMs you should downgrade to the latest Android 9 stock firmware first.
The essential part of the customized phone is custom recovery. Currently Realme OZIP file does not contain stock recovery inside. It is being generated as explained below, in the post #2, see EDIT3. It means you need to find somewere PROPER stock recovery corresponding to your ROM to put it back. See Realme X2 stock recovery links below, post #2, EDIT4.
Which stock recovery to use? The one for your model and which version is not newer than the ROM version you are flashing. For example, you need A.17 stock ROM for CN model (RMX1991). Then any recovery of A.12, A.14, A.16, A.17 for RMX1991 will work for you.
Download and unzip the stock recovery partition image from the next post, this will be a file like rmx1991-sde20-stock_recovery.img.
Download stock ROM ozip file (for example, from here). Put it to a SD card with a filesystem which supports files more than 2GB (ext4 works fine. Stock recovery, but not ColorOS, supports it). Put the SD card into the phone.
Start (reboot) phone into fastboot mode
From a computer perform fastboot flash recovery rmx1991-sde20-stock_recovery.img
From the fastboot mode by means of volume buttons select 'Recovery mode' and push Power button
From the stock recovery select language needed (there are three only), then 'Install from storage device', then 'From SD card', tap the OZIP file with your ROM
When the update process is done, phone reboots. Most likely, it will not be able to boot normally because you need to wipe out data. Either help the phone with keeping Vol Down button pressed during reboot, or it will boot recovery by itself. Now wipe data (confirm by entering random 4-digit code), select 'Format data'. Phone will reboot
Here it is. Enjoy (or sell your Realme X2 with its shiny stock experience...
If you want to lock bootloader after all above mentioned steps (you have to make them all unless you wanna get a brick ), boot fastboot mode, perform fastboot flashing lock. This will wipe your data again. Then optionally lock 'OEM Unlock' option in 'Developer Options'. Even further, you can install In-DepthTest.apk and sign out from In-Depth Test program.
2022-12-25 EDIT: For downgrade from Android 11 to 10 read this post
I have found out that in fact stock recovery does not exist as a prebuilt file It is being created by the script /system/bin/install-recovery.sh on a basis of stock boot partition and a patch file /system/recovery-from-boot.p
It means in theory you can recreate stock recovery having only Realme ozip file.
EDIT1 The command to do it in Linux shell is
Code:
bspatch boot.img selfmade_stock_recovery.img recovery-from-boot.p
Cool! Tested.
EDIT2. For the current moment when unlocked bootloader breaks fingerprint sensor: as soon as the bootloader is locked again, fingerprint starts functioning as it should.
EDIT3 Becomes clear that each ROM release has its own stock recovery which is generated automatically on the basis of boot.img and recovery-from-boot.p . Not only boot.img is being changed each release, but recovery-from-boot.p is changing as well. If the wrong stock recovery is installed, you might not be able to decrypt data and connect to WiFi from within recovery. Seemingly it may bring you serious problems if locking back bootloader (thus bricking the device). Good thing (as I understood, but not checked yet) is that after flashing stock ROM with a help of a stock recovery next reboot should replace your stock recovery with an up-to-date version of it. So to be on a safe side make sure that you rebooted to system and that your recovery reflashed by the system before you lock bootloader.
EDIT4 In order to combine everything in one place:
Stock recoveries for RMX1991 (China version): here
Stock recoveries for RMX1992 (India version): here
Stock recoveries for RMX1993 (Euro version): here
EDIT5 In later ROM releases patch and script files are relocated into vendor partition, they are /bin/oppo-install-recovery.sh and /recovery-from-boot.p there.
EDIT6 Please note that the method above is working with officially downloaded ROMs from realme support site (read here why).
So this method works if you brick your phone trying to install a global rom to china variant..
Hi,
does only works with SDcard insert.
Because the internal storage is decrypted.
And it does not work on X2.
But why?
Installation failed?
This method will bring back my FP working again right?
Can you please confirm this method https://boycracked.com/2019/10/26/official-realme-x2-rmx1991-stock-rom/
SkyeJace said:
This method will bring back my FP working again right?
Click to expand...
Click to collapse
You have to lock bootloader for this. See the very last part of the howto, post #1
AldRezaine said:
Can you please confirm this method https://boycracked.com/2019/10/26/official-realme-x2-rmx1991-stock-rom/
Click to expand...
Click to collapse
The site provides generalized instructions for everything
As for Realme X2, there are two methods claimed, one is for ozip file, another for ofp file; last one is not yet publicly available somewhere (the link is replaced by the Coming soon promise).
If you find there something certain regarding ozip procedure for Realme X2, give me the link, please. I couldn't
why I back to stock rom, apps i uninstalled it is don't auto reinstall?
hello guys, how can i get the 1993ex stock recovery? i screwd up big time !
hammerheading said:
hello guys, how can i get the 1993ex stock recovery? i screwd up big time !
Click to expand...
Click to collapse
Read the post #2 in this thread, it contains ample info needed for this. If you are requesting ready-to-flash stock recovery file, you should tell the version of the ROM you are going to flash and powerful word please to it
BaDuc said:
why I back to stock rom, apps i uninstalled it is don't auto reinstall?
Click to expand...
Click to collapse
I am not 100% sure I understand you right. If you are about some stock apps missing after wiping the userdata partition, this is true: some of the apps were preinstalled onto data space (some of them are Weather app, One-Tap Lockscreen). I could find only some of them in a form of apk files.
yakovpol said:
Read the post #2 in this thread, it contains ample info needed for this. If you are requesting ready-to-flash stock recovery file, you should tell the version of the ROM you are going to flash and powerful word please to it
Click to expand...
Click to collapse
Thanks a lot for the attention. I tryed to recreate the recovery but with no success because i dont know the proper method, it's a bit over my android skills as i can only root unlock bl and do some minor stuff and GSI is a new thing for me. AS for the version it is the a17 of the 1993ex(eu).
yakovpol said:
I am not 100% sure I understand you right. If you are about some stock apps missing after wiping the userdata partition, this is true: some of the apps were preinstalled onto data space (some of them are Weather app, One-Tap Lockscreen). I could find only some of them in a form of apk files.
Click to expand...
Click to collapse
yes, right my mind, including my Breeno is faulty, and now I can't click to setting Breeno in the settings, do you have apk of app, can you send me?
hammerheading said:
Thanks a lot for the attention. I tryed to recreate the recovery but with no success because i dont know the proper method, it's a bit over my android skills as i can only root unlock bl and do some minor stuff and GSI is a new thing for me. AS for the version it is the a17 of the 1993ex(eu).
Click to expand...
Click to collapse
For the moment I have one for the EU A.16 version only, look here. Eventually A.17 will be added there too.
BaDuc said:
yes, right my mind, including my Breeno is faulty, and now I can't click to setting Breeno in the settings, do you have apk of app, can you send me?
Click to expand...
Click to collapse
Those I have are uploaded to here.
yakovpol said:
Those I have are uploaded to here.
Click to expand...
Click to collapse
thanks you very much
yakovpol said:
For the moment I have one for the EU A.16 version only, look here. Eventually A.17 will be added there too.
Click to expand...
Click to collapse
Thank you so much, that did the trick!! i was able to flash the a17 and the phone is working fine now . But i'm not trully satisfied, i can't find a away to flash a GSI rom successfully, but that's another topic ... Thank you again and keep up the good work !
can u plsss provide stock recovery for realme x2 rmx1992, i bricked my phone trying to install stock os since 2 days, cant find a way..if some has the recovery pls provide it. im able to boot to twrp, bootloader is unloced and with the other recoveries im not able to intsall the stock rom.pls help.
Can send me 1992 stcok recovery file ozip please.

Categories

Resources