Relock device (bootloader and FRP) - Huawei P9 Questions & Answers

Hi,
Device: EVA-L19
Short background: I need to return the phone due to hardware problem. Color camera won't focus and I believe this is a hardware issue as I've tried flashing a different ROM. The problem is I have rooted my phone.
I tried the SRK Tool to relock the bootloader but after I reboot it just gets stuck in recovery mode doesn't even boot to system.
Is there any website I could download the stock rom for EVA-L19? Is there any guide in which I could refer to reverse all the things I made (bootloader, unroot, etc)?
Any help appreciated. :good:
Thanks.

fapout said:
Hi,
Device: EVA-L19
Short background: I need to return the phone due to hardware problem. Color camera won't focus and I believe this is a hardware issue as I've tried flashing a different ROM. The problem is I have rooted my phone.
I tried the SRK Tool to relock the bootloader but after I reboot it just gets stuck in recovery mode doesn't even boot to system.
Is there any website I could download the stock rom for EVA-L19? Is there any guide in which I could refer to reverse all the things I made (bootloader, unroot, etc)?
Any help appreciated. :good:
Thanks.
Click to expand...
Click to collapse
There are a lot of threads, discussions and guides here on XDA
First of all, you must know which cust cXXX and build bYYY you are looking for your L19, installations can differ
You can install FirmwareFinder app from Google Play (there is also a thread here about), from that app you can download particular ROMs
Generally, if you just rooted your phone, you should unroot (depending how did you Root it) and then you can reinstall the same cust and build (to clear all records of rooting) - use FF app, FullOTA-MF-PV versions can be easily installed by DLOAD method (which is described elsewhere in Huawei P9 threads)
At the end, you will probably also need to re-lock bootloader - for rooting, you should have installed TWRP, and for that you needed unlocked bootloader and FRP
To revert, best follow/ask in the threads you were following when rooting etc

Related

ReInstall origional ROM ?

Hi Guys,
Thanks for all previous help in un-rooting my Razr I in the past using you the below method by HSD-Pilot:
Relock your Bootloader
You'll need an complete JB (4.1.2) Fastboot File of your Region for doing that!
Copy the content of the [XT890] Re-lock Bootloader.zip into the extracted Fastboot File Folder
However, since I have done this I have had a few issues with the phone (very slow at time, sometimes freezes) So I have re-rooted but I can no longer install any custom ROM's as they constantly bootloop. I was wandering whether I could reinstall my initial software using RDS-Lite. I am currently on (91.2.29001.XT890.Retail.en.GB). Can I go to the stock Orange GB version or can I reinstall the same Retail.en.GB version using RSD-Lite?
If I install using RSD-Lite will i need to unlock the bootloader or unlock bootloader and install a custom ROM?
I hope that RSD-Lite might fix any issues I have with my phone.
Many Thanks
D
Hi,
I will be having the same issue after having tested some custom ROMs in the future.
I believe after what I have read that it is the easiest way to unlock the bootloader to install any kind of ROMs, although no guarantee on that.

How do I get from L09C900B170 to C432 with Nougat?

Hi XDA users,
For a while now, after fiddling around with manual updates, my P9 is on L09C900B170. Bootloader is unlocked, I have root and TWRP is installed. I am on Linux, adb and fastload are available. Now I finally want Android N.
Now, I realize I need to flash this oeminfo, then re-flash a stock ROM (maybe this one? ) and then do the usual updates. However, I am unsure about a few things.
a) Do I need to have C900B136 first?
b) If so, can I simply downgrade the phone by flashing some older image?
c) Do I need to use dload or can I use TWRP to flash stuff? Where would I get the images?
I am a bit worried to brick my phone, so I'd like to have those questions out of the way before I start. If you could help me with them, I'd appreciate that. If there is a comprehensive guide for my toolset somewhere, perfect.
Thanks!
Read the debranding thread and follow instructions

How do I remove TWRP?

I have the Amazon variant of the 16gb Blu R1 HD. I installed TWRP with the Unlock Tool for all versions tutorial (https://forum.xda-developers.com/r1-hd/how-to/unlock-tool-t3561333) on this forum and also removed ads. I would like to get back to the stock bootloader and image for my phone, to receive OTA updates and have the original experience, I am alright with having the ads back, I would just like my phone the exact same way it came from the factory. I know the updated roms will be ported and etc. I would like it back as the way it came, ads and all. (I'm aware I will not get my warranty back.) I read this tutorial: https://forum.xda-developers.com/r1-hd/how-to/firmware-amazon-blu-r1-hd-t3428197 but I'm not sure if it will work with TWRP, I'm confused whether or not fastboot works with TWRP installed. I would also like the bootloader to be locked again as well, I'm not sure whether or not flashing stock firmware would do this. If anyone could help explain this to me or point me to a tutorial somewhere it would be appreciated. I searched through the forum for similar entries, I didn't find anything for the R1 HD specifically, and entries for other phones on removing twrp/flashing stock recovery didn't seem to make sense. I apologize if I missed another post concerning this issue. Thanks.
Ladyslayer said:
I have the Amazon variant of the 16gb Blu R1 HD. I installed TWRP with the Unlock Tool for all versions tutorial (https://forum.xda-developers.com/r1-hd/how-to/unlock-tool-t3561333) on this forum and also removed ads. I would like to get back to the stock bootloader and image for my phone, to receive OTA updates and have the original experience, I am alright with having the ads back, I would just like my phone the exact same way it came from the factory. I know the updated roms will be ported and etc. I would like it back as the way it came, ads and all. (I'm aware I will not get my warranty back.) I read this tutorial: https://forum.xda-developers.com/r1-hd/how-to/firmware-amazon-blu-r1-hd-t3428197 but I'm not sure if it will work with TWRP, I'm confused whether or not fastboot works with TWRP installed. If anyone could help explain this to me or point me to a tutorial somewhere it would be appreciated. I searched through the forum for similar entries, I didn't find anything for the R1 HD specifically, and entries for other phones on removing twrp/flashing stock recovery didn't seem to make sense. I apologize if I missed another post concerning this issue. Thanks.
Click to expand...
Click to collapse
this is not quite a normal request.
any and all changes done to your phone are done at your own risk, no guarantee that the process will be "safe". and no guarantee the end result will be as expected.
I can upload stock system, boot, and recovery images.
download them, unzip the file. put the 3 .img files to the phone.
reboot phone to twrp.
select install, browse to the folder you loaded files to, you should not see the file yet. Select flash image in lower part of screen. Now select system.img, on next screen select system and swipe to confirm.
when done do same for boot.img to boot
then recovery to recovery
when all three are done do a wipe(factory reset)
this should bring you back to prime v6.1
be advised that re-locking the boot loader has potential of bricking the pone so it is not advised to do it.
also on all the early versions there are reports that after ota update with unlocked bootloader it caused a bootloop most times it was recoverable by performing "oem unlock" again.
once booted to v6.1 I suspect there will be proper update notice. but if not here is a list of the official update download links.
6.1 to 6.4
http://hwfotadown.mayitek.com/ota/r....4_GENERIC_6.0_20160710-00151468612925207.zip
6.4 to 6.5
http://hwfotadown.mayitek.com/ota/r....5_GENERIC_6.0_20160729-21551470255454500.zip
6.5 to 6.6
http://hwfotadown.mayitek.com/ota/r....6_GENERIC_6.0_20160823-20201472826184648.zip
7.4.2 to 8.4
http://hwfotadown.mayitek.com/ota/r..._V8.4_GENERIC_6.0_20170505-18551493981392.zip
17 to 21
http://hwfotadown.mayitek.com/ota/r...RIC_6.0_20170505-17451495815395129/update.zip
==>>V6.1 images.zip
.
.
@Ladyslayer
Can you tell your experience to restore phone to original condition?
Were you able to avoid bootlop and relock bootloader?
After development ceased I also wanted to restore my phone to original factory state but following restore guides leaves my phone in bootloop. BTW in @rootjunky thread there are all original 6.1 partitions that is if you feel brave and lucky, myself am scared to flash these.
@mrmazak
I think warnings in guides are misleading. Most people are aware of risks to flash modified firmware but they are not aware there is no way to restore phone to original firmware once they modify phone.
No intention to criticize you. Thank you for your effort to keep modified firmwares up to date. Looks like you are only one not giving up
kfn said:
@Ladyslayer
Can you tell your experience to restore phone to original condition?
Were you able to avoid bootlop and relock bootloader?
After development ceased I also wanted to restore my phone to original factory state but following restore guides leaves my phone in bootloop. BTW in @rootjunky thread there are all original 6.1 partitions that is if you feel brave and lucky, myself am scared to flash these.
@mrmazak
I think warnings in guides are misleading. Most people are aware of risks to flash modified firmware but they are not aware there is no way to restore phone to original firmware once they modify phone.
No intention to criticize you. Thank you for your effort to keep modified firmwares up to date. Looks like you are only one not giving up
Click to expand...
Click to collapse
well you can go back to locked but it is tricky. Think of it like this.
unlocking , allows anything you put on phone to try and load.
when you re-lock it only properly signed images are allowed to load.
so you can potentially lock yourself out of allowing phone to boot up, so the warning is more relevant when trying to go back to a locked state.
kfn said:
@Ladyslayer
Can you tell your experience to restore phone to original condition?
Were you able to avoid bootlop and relock bootloader?
After development ceased I also wanted to restore my phone to original factory state but following restore guides leaves my phone in bootloop. BTW in @rootjunky thread there are all original 6.1 partitions that is if you feel brave and lucky, myself am scared to flash these.
@mrmazak
I think warnings in guides are misleading. Most people are aware of risks to flash modified firmware but they are not aware there is no way to restore phone to original firmware once they modify phone.
No intention to criticize you. Thank you for your effort to keep modified firmwares up to date. Looks like you are only one not giving up
Click to expand...
Click to collapse
Sorry guys I have yet to try it out, I don't have a lot of time and am a little nervous to bite the bullet. @kfn, did you follow the guidelines in the above post to restore to original condition or a different set of instructions from somewhere else? Btw any suggestions on how to back up pretty much everything? Sorry Noob here obviously.
I flashed 3 original partitions system, boot, recovery as described by mrmazak then I took OTA update. After OTA update phone was in bootloop. I did not bother with backup because I do not have important data on phone.
kfn said:
I flashed 3 original partitions system, boot, recovery as described by mrmazak then I took OTA update. After OTA update phone was in bootloop. I did not bother with backup because I do not have important data on phone.
Click to expand...
Click to collapse
Which version update was it?
I can't be certain about the 8.4 or 21 updates, but older ones when that happened you needed to boot into fastboot mode and do oem unlock again.
kfn said:
I flashed 3 original partitions system, boot, recovery as described by mrmazak then I took OTA update. After OTA update phone was in bootloop. I did not bother with backup because I do not have important data on phone.
Click to expand...
Click to collapse
Did you re-lock the bootloader or was this because of an unlocked bootloader?
It was a quite a while ago, got 3 partitions from ColtonDRG's thread:
https://forum.xda-developers.com/r1-hd/how-to/guide-convert-to-prime-rollback-ota-t3432499
I downloaded from his website, I believe they were 6.1 versions.
At the time 7.4.2 was current firmware, I think phone rebooted few times taking OTA updates. And yes 'fastboot oem unlock' trick worked to get rid off bootloop.
I presume fastboot oem lock might relock bootlader but got scared to try it because of bootloop.
kfn said:
It was a quite a while ago, got 3 partitions from ColtonDRG's thread:
https://forum.xda-developers.com/r1-hd/how-to/guide-convert-to-prime-rollback-ota-t3432499
I downloaded from his website, I believe they were 6.1 versions.
At the time 7.4.2 was current firmware, I think phone rebooted few times taking OTA updates. And yes 'fastboot oem unlock' trick worked to get rid off bootloop.
I presume fastboot oem lock might relock bootlader but got scared to try it because of bootloop.
Click to expand...
Click to collapse
Do you still have the phone? Have you done the OTA updates since then with an unlocked bootloader?
did not try another OTA, put back modified ROM and disabled OTA.
Here post #312 with similar unanswered question about relocking bootloader, it is unclear for me if another OTA would properly relock it without bricking.
https://forum.xda-developers.com/r1...tock-rom-6-5-flashed-via-twrp-t3455532/page32
@mrmazak, do you know whether or not installing OTA updates would relock the bootloader? Wouldn't it be possible to do fastboot OEM lock and then do OTA updates without the risk of a bootloop? Noob question: does locking the bootloader reset the phone as well? I seem to have read something about this but I can't remember.
Ladyslayer said:
@mrmazak, do you know whether or not installing OTA updates would relock the bootloader? Wouldn't it be possible to do fastboot OEM lock and then do OTA updates without the risk of a bootloop? Noob question: does locking the bootloader reset the phone as well? I seem to have read something about this but I can't remember.
Click to expand...
Click to collapse
The update has not relocked the bootloader before.
Let me clearify a little.
There are three things I know that get changed when doing OEM unlock
1. Unlock status changed to a yes
2. Secure status changed to a no
3. Warranty status changes to no
After an ota #2 above( secure ) changes back to yes
This conflict is what makes the boot loop. As far as I know.
I do not know what it does when put back to lock and you do an ota.
I think each time you change, lock or unlock it needs to be reset the phone.
mrmazak said:
The update has not relocked the bootloader before.
Let me clearify a little.
There are three things I know that get changed when doing OEM unlock
1. Unlock status changed to a yes
2. Secure status changed to a no
3. Warranty status changes to no
After an ota #2 above( secure ) changes back to yes
This conflict is what makes the boot loop. As far as I know.
I do not know what it does when put back to lock and you do an ota.
I think each time you change, lock or unlock it needs to be reset the phone.
Click to expand...
Click to collapse
Wouldn't it change number one to a no, and two to a yes? What is the likelihood of a bootloop out bricking the phone if I re-lock the bootloader or do an OTA with the bootloader relocked? Isn't that the same as doing a normal OTA with a phone that had no changes from factory version, just the warranty status is a no and that's it?
Ladyslayer said:
Wouldn't it change number one to a no, and two to a yes? What is the likelihood of a bootloop out bricking the phone if I re-lock the bootloader or do an OTA with the bootloader relocked? Isn't that the same as doing a normal OTA with a phone that had no changes from factory version, just the warranty status is a no and that's it?
Click to expand...
Click to collapse
I do not know for sure. And there fore cannot recommend to do it. In the event something goes wrong and bootloader is locked, you cannot use fastboot to flash a repair, there fore MY opinion is the same "DO NOT relock bootloader". If something goes wrong it will be a brick.
Run stock version un modified all you want but if you unlocked I do not think you should relock. My opinion, do as you want.

Impossible to put Huawei P9 in stock rom

Hi everybody
Wishing to sell my Huawei P9 I wanted to return it as it came out of the factory but impossible.
It has the bootloader unblock, FRP lock at one time it was unlock and since I tried to make an update it went into lock and the TWRP recovery of installed.
It is under 5.0.1 and android 7 and the number of buils is EVA-L09C530B284.
I tried the 3 methods to install an original ROM of my operator but nothing to do that does not.
- The DLOAD method: it restarts in the recovery twrp there are steps that are done and then it failed all in 2 minutes.
- The forced update method: that's 5% and installation failed.
- With hi suite: everything is going well and said that such is up to date and restart nothing I'm still in the old versions.
I did the 3 methods with the unrooted phone.
I feel that it is the recovery twrp that blocks the installation.
How to install the original recovery and install the official updates?
Thank you in advance for your assistance.
https://forum.xda-developers.com/showpost.php?p=75787156&postcount=3
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
thank you very much it worked me remains more than re-blocked the bootloader.
How do you do it?
thank you
jerome8 said:
thank you very much it worked me remains more than re-blocked the bootloader.
How do you do it?
thank you
Click to expand...
Click to collapse
Sorry, I don't understand your question.
For both HWOTA (first link) or HWOTA7 (second link) you need to unlock Bootloader first - but you wrote above that previously you had unlocked Bootl8ader, hence you can use the same Bootloader code - it is bound to your eevice.
Asvdescribed in HWOTA instructions, installation of some stock ROMs will automatically relock your Bootloader (it-sa flag in the update.zip, out of your control) - hut you can always unlock it again.
ok it's good I just made an update and everything is back in order it is as if he came out of the box
thank you very much

Downgrade Moto G6 to Oreo

Hi all,
I am new here. I want to rollback to Oreo from Pie in my Moto G6 without rooting my device..is it possible? please guide me..I am noob to all this..Thanks in anticipation....
sharmadeepak120 said:
Hi all,
I am new here. I want to rollback to Oreo from Pie in my Moto G6 without rooting my device..is it possible? please guide me..I am noob to all this..Thanks in anticipation....
Click to expand...
Click to collapse
You don't need root, but the bootloader will need to be unlocked.
Unlocking the bootloader may cause certain apps like Banking Apps to stop working.
Because some apps check for things like that.
If you downgrade the firmware, do not allow OTA updates to install,
Your device will not update correctly. and may brick.
Unlock the Bootloader
[Guide]Un/locking Motorola Bootloader
UnLocking and ReLocking Motorola Bootloader https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a Moto Bootloader Unlocking site Re-Locking see Post #4 More about bootloader UnLocking Post #2 Can my...
forum.xda-developers.com
Once the bootloader is unlocked, find your
Software Channel, it will be like, Retail, RetUS, Verizon, MetroPCS...
You can find your firmware here
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
download. and Unzip it
Check if your device uses fastbootd
Flash option 1
Find the flashfile.xml in the firmware folder
and use the online flashfile converter to get the flash commands
add the fastboot reboot fastboot commands if you have a fasbootd device.
Flash Option 2
Install LMSA
use the rescue option to download the current firmware for your device
move the LMSA firmware to a different folder
rename the Android 10 firmware folder to the same name as LMSA firmware.
Move that folder to the LMSA download folder
Use the rescue option to flash renamed firmware.
There is no guarantee that either method will work, but it should.
I do not recommend relocking moto bootloaders, Even if you follow the directions for relocking
It can still go wrong, and you can end up with a non-working device.
On the phone
Toggle off "install updates" option in Dev Options
thanks mate,
but this process seems so tedious for a novice like me..i am afraid of bricking my phone..although I have downloaded retin 8.0 Rom from lolinet source but I am not confident and may end up with a unusable device..
sharmadeepak120 said:
thanks mate,
but this process seems so tedious for a novice like me..i am afraid of bricking my phone..although I have downloaded retin 8.0 Rom from lolinet source but I am not confident and may end up with a unusable device..
Click to expand...
Click to collapse
Many people have bricked their device trying to downgrade, by not doing it correctly.
sd_shadow said:
You don't need root, but the bootloader will need to be unlocked.
Unlocking the bootloader may cause certain apps like Banking Apps to stop working.
Because some apps check for things like that.
If you downgrade the firmware, do not allow OTA updates to install,
Your device will not update correctly. and may brick.
Unlock the Bootloader
[Guide]Un/locking Motorola Bootloader
UnLocking and ReLocking Motorola Bootloader https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a Moto Bootloader Unlocking site Re-Locking see Post #4 More about bootloader UnLocking Post #2 Can my...
forum.xda-developers.com
Once the bootloader is unlocked, find your
Software Channel, it will be like, Retail, RetUS, Verizon, MetroPCS...
You can find your firmware here
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
download. and Unzip it
Check if your device uses fastbootd
Flash option 1
Find the flashfile.xml in the firmware folder
and use the online flashfile converter to get the flash commands
add the fastboot reboot fastboot commands if you have a fasbootd device.
Flash Option 2
Install LMSA
use the rescue option to download the current firmware for your device
move the LMSA firmware to a different folder
rename the Android 10 firmware folder to the same name as LMSA firmware.
Move that folder to the LMSA download folder
Use the rescue option to flash renamed firmware.
There is no guarantee that either method will work, but it should.
I do not recommend relocking moto bootloaders, Even if you follow the directions for relocking
It can still go wrong, and you can end up with a non-working device.
On the phone
Toggle off "install updates" option in Dev Options
Click to expand...
Click to collapse
thanks mate,
but this process seems so tedious for a novice like me..i am afraid of bricking my phone..although I have downloaded retin 8.0 Rom from lolinet source but I am not confident and may end up with a unusable device..
sd_shadow said:
Many people have bricked their device trying to downgrade, by not doing it correctly.
Click to expand...
Click to collapse
yes u r absolutely right...actually i am a music lover and listen music a lot all day...after pie update the excellent audio quality (on oreo) has gone to hell and i am barely able to listen even the ringtone...otherwise i have no issues with pie...the only thing i want from my device is that excellent audio output back...
i uninstalled the pie dolby using adb and tried almost 40 apks from different sources..but no improvement.. that's why i thought it is the last resort to downgrade..
I have successfully (I think!) downgraded from the last Pie update to OPSS27.104-92-4, using RSD Lite 6.2.4 with these stipulations:
1. After unzipping the lolinet download I opened flashfile.xml with Notepad++ and deleted the lines for flashing gpt.bin and bootloader.img. See "More info" below. I then ran flashfile.xml as normal with RSD Lite.
2. Also following advice elsewhere, instead of flashing Oreo versions of adspso.bin and NON-HLOS.bin, I flashed the PIE versions instead.
(Actually I forgot about flashing the Pie version of NON-HLOS.bin at first, and my IMEI info showed as unknown. So after realizing this I rebooted to bootloader and manually flashed that file.)
Phone booted up the first time with no problems.
More info on "fixes" (which I personally have NOT fully tested yet, beyond getting my missing IMEI back):
[GUIDE][ROOT][Moto G6][ALI] TWRP, Root, and Magisk installation guide.
Update March 23, 2019: I'd like to apologize to everyone. It looks like I am not going to be able to actively keep this thread updated like I used to. I have had too much going on at home an work and it doesn't look like it's going to settle...
forum.xda-developers.com
... and the following post.
downgrade from PPS29.118-11-1 Pie
Just a heads up, If you have updated to Pie PPS29.118-11-1 and want to downgrade back to Oreo, Its not possible. Even without flashing the bootloader and gpt.bin files you will loose your carrier data, all mobile network settings will be greyed...
forum.xda-developers.com
downgrade from PPS29.118-11-1 Pie
Just a heads up, If you have updated to Pie PPS29.118-11-1 and want to downgrade back to Oreo, Its not possible. Even without flashing the bootloader and gpt.bin files you will loose your carrier data, all mobile network settings will be greyed...
forum.xda-developers.com
The adspso and NON-HLOS substitutions are also discussed elsewhere in this forum. Use search to get more info if desired.
Note: RSD Lite does not work with most Windows 10 Machines
Should work fine with most XP/7 Machines
sd_shadow said:
Note: RSD Lite does not work with most Windows 10 Machines
Should work fine with most XP/7 Machines
Click to expand...
Click to collapse
Ah. I'm still "stuck" on Win 7 (very much by choice).

Categories

Resources