How to install stock recovery/rom/unroot/relock bootloader? - Huawei P9 Questions & Answers

Guys , I have to sell my phone, so, I decided to do all the necessary to have it stock..
So, the question is, how can I do this? I need the phone like when I bought it

You can do most of this via SRK Tool. If you can't relock bootloader then you can flash your stock update.app via stock recovery and that will relock your bootloader and get rid of root.
Please don't follow this for when you have Nougat beta installed though.

I currently have TWRP recovery.. How can I put stock recovery?
Is better to put 1st the rom and for 2nd the recovery or contrary?
Anyway thanks for answering me!

1. Backup (as always)
2. Flash stock recovery with flashify for example
https://www.androidfilehost.com/?fid=529152257862669572
3. Flash stock Rom b182 with dload-method
http://download-c.huawei.com/download/downloadCenter?downloadId=91783&version=358257&siteCode=de
Now your Bootloader is relocked and everything is stock again (I hope so)

Related

Uninstall ROM

Hello. I need help!! I want my htc sense 3.6 back on my phone but I am not sure how to uninstall MIUI ROM. In other words, I wanted what I had right after I rooted my phone, before I installed MIUI ROM. Anyone know how to do this? Thanks!
If you made a recovery file in the recovery then just install the file if not then relock the bootloader and run the Stock ruu file and then just re unlock root ect.
menachemt said:
Hello. I need help!! I want my htc sense 3.6 back on my phone but I am not sure how to uninstall MIUI ROM. In other words, I wanted what I had right after I rooted my phone, before I installed MIUI ROM. Anyone know how to do this? Thanks!
Click to expand...
Click to collapse
I imagine you would have rooted your phone, unlocked bootloader (maybe), and flashed a custom recovery (like clockworkmod or wcx). I don't think any of those things would have changed during your use of MIUI.
Easiest way? Relock your bootloader (if you had unlocked it), and then run the stock RUU for your phone to revert your phone to stock. Then you can unlock bootloader again and then root your stock rom (I believe there is the all-in-one tool that makes rooting quite easy).
Or... if you want to try another custom rom, download the rom zip, copy it on your SDCard, and....
1) Pull the battery, and re-insert
2) Boot phone by holding VOLDOWN and POWER. You are in bootloader. At this screen you can see if you are S-ON or S-OFF (good to know for the later steps)
3) Choose recovery
4) If you're in WCX recovery or ClockWorkMod recovery, then you can do the 4 wipes (Data/Cache/Dalvik/System). ** But if you see you are NOT in a custom recovery, stop now.
5) Then you can flash the custom rom zip.
6) *At this point - if you are S-OFF, then the rom's kernel would have flashed with the rom, so you're done.
*But if you're S-ON, you will now need to flash the rom's kernel manually via fastboot. (on your computer, just extract the boot.img from the rom's zip, put it in the same folder where your fastboot.exe is, and run
Code:
fastboot flash boot boot.img

[Q] Unlocked bootloader / Custom Recovery

I'm thinking about unlocking the bootloader of my Moto X and I have a few questions. I hope you guys can help me.
1. At the moment I'm using PwnMyMoto, which means I dont have the stock recovery. Will this be a problem to unlock the bootloader using 'Motorola website' method? i.e. is this method stock recovery dependent? Do I have to go back stock using RSDlite first?
2. After unlocking the bootloader I will probably install a custom recovery (maybe TWRP). As far as I know, when using a custom recovery we should not install OTA, right? It will bootloop. Can anyone confirm this?
3. When using TWRP, is it possible to flash a ROM using RSDlite and keep the custom recovery? i.e. only flash system. This way I could backup my actual ROM before I flash the new one, and if anything goes wrong I can restore it.
Thank you all!
xitake said:
I'm thinking about unlocking the bootloader of my Moto X and I have a few questions. I hope you guys can help me.
1. At the moment I'm using PwnMyMoto, which means I dont have the stock recovery. Will this be a problem to unlock the bootloader using 'Motorola website' method? i.e. is this method stock recovery dependent? Do I have to go back stock using RSDlite first?
2. After unlocking the bootloader I will probably install a custom recovery (maybe TWRP). As far as I know, when using a custom recovery we should not install OTA, right? It will bootloop. Can anyone confirm this?
3. When using TWRP, is it possible to flash a ROM using RSDlite and keep the custom recovery? i.e. only flash system. This way I could backup my actual ROM before I flash the new one, and if anything goes wrong I can restore it.
Thank you all!
Click to expand...
Click to collapse
1. Fastboot the stock recovery. You will likely have problems unlocking as it performs a factory reset.
2. Don't take OTAs with a custom recovery. You will bootloop. Wait for a flashable zip or fastboot back to stock to get the OTA.
3. You flash ROMs in recovery. You shouldn't need to use fastboot (or rsdlite) unless you want to return to stock or you run into serious phone issues.
Sent from my Moto X.

[Q] Will OTA from Sense 4.3 to 4.4 unroot and wipe my custom recovery?

Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
gustavorod said:
Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
Click to expand...
Click to collapse
i guess you cant flash official OTA through custom recovery..u need stock recovery to do this
gustavorod said:
Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
Click to expand...
Click to collapse
Actually, you won't be able to do an OTA update when you've a custom recovery (you shouldn't even get it in the first place, sometimes it comes through), if you try to apply the OTA, you'll boot back to the TWRP recovery.
So, you should either go full stock (recovery & ROM), then do an OTA. Or flash some 4.4 Custom ROM.
By itself the phone alerted me that the OTA download is available and wants to download and flash itself as it did when it upgraded from 4.2.2 to 4.3 so I am not planning to flash through TWRP...
gustavorod said:
By itself the phone alerted me that the OTA download is available and wants to download and flash itself as it did when it upgraded from 4.2.2 to 4.3 so I am not planning to flash through TWRP...
Click to expand...
Click to collapse
it will download OK, but when it reboots to start installing, you'll just see the TWRP screen and nothing is gonna happen; because the OTA expects stock recovery.
Thanks!!!!
I guess I better flash another 4.3 or 4.4 by myself, I just thought the OTA would be better first to upgrade to the latest firmware...
gustavorod said:
I guess I better flash another 4.3 or 4.4 by myself, I just thought the OTA would be better first to upgrade to the latest firmware...
Click to expand...
Click to collapse
you can do two things:
1- get s-off and flash any firmware you want
2- "download & install later" the OTA, once downloaded pull it to your PC, the OTA file will contain a "firmware.zip" which is signed and can be flashed in fastboot ruu mode (you have to issue the flash command twice!!!), which would upgrade your firmware (including hboot, kernal and recovery), but will leave your rom intact
----- because it flashes recovery, you need to reflash custom recovery
----- and, kernel (boot.img) you'll need to reflash the custom one (or dirty install the ROM), otherwise the ROM won't boot up
nkk71 said:
you can do two things:
1- get s-off and flash any firmware you want
2- "download & install later" the OTA, once downloaded pull it to your PC, the OTA file will contain a "firmware.zip" which is signed and can be flashed in fastboot ruu mode (you have to issue the flash command twice!!!), which would upgrade your firmware (including hboot, kernal and recovery), but will leave your rom intact
----- because it flashes recovery, you need to reflash custom recovery
----- and, kernel (boot.img) you'll need to reflash the custom one (or dirty install the ROM), otherwise the ROM won't boot up
Click to expand...
Click to collapse
I've looked around for a CWM compatible version of the Dev Edition + Root, but I'm not finding one. Is anyone aware of a CWM-packaged version that I can flash using CWM on a rooted device? Reverting to stock to pick up the OTA seems like a long way to go

Is Root access without recovery possible?

I found that my moto xt1052 has bootloader unlocking available and im very excited. I like to know if its compulsory to flash recovery to make device rooted. I don't want to install new roms or firmware. Im rooting to control running apps and use some root apps.
I like my phn to be receptive for ota, which isn't possible if i flash custom recovery.
So i want to know if recovery is compulsory to have root status and manage permissions or if i can enjoy root privileged with just unlocking the bootloader.
Thankyou.
Sent from my moto XT1052 using XDA Free mobile app
After unlocking the bootloader, flash TWRP, root, then flash stock recovery back on the phone and run that way.
KidJoe said:
After unlocking the bootloader, flash TWRP, root, then flash stock recovery back on the phone and run that way.
Click to expand...
Click to collapse
hi KidJoe,
how back to stock recovery ?
is it enough to flashing file "recovery.img" by RSD Lite ?
I know rsd lite is made to be more user friendly but I still prefer flashing via fastboot.
Fastboot flash recovery recovery.img
Moto-x said:
hi KidJoe,
how back to stock recovery ?
is it enough to flashing file "recovery.img" by RSD Lite ?
Click to expand...
Click to collapse
RSDLite is overkill to flash just recovery.
Do as @cntryby429 said... use mfastboot to flash recovery. You can use it to flash either TWRP (when rooting) and/or Stock recovery.

[HELP] unroot and relock bootloader / get rid of twrp

hello am on c432b361 rooted i want to get back everything to stock what i should do
You must have recovery stock first and your sd card have DLOAD ( update.app) rom .
hlcm151 said:
You must have recovery stock first and your sd card have DLOAD ( update.app) rom .
Click to expand...
Click to collapse
i flash stock recovery.img of my current version ?
You can try this.
https://www.guidebeats.com/2016/11/26/downgrade-huawei-p9-nougat-marshmallow/
You have to flash the stock recovery for b361, and then relock the bl. You can achieve only the relocked state. To official, locked bl, you have to roll back to b182, or any other marshmallow rom, and then update to nougat.

Categories

Resources