How to remove root and recovery? - Huawei P9 Lite Questions & Answers

I have a VNS-L21 with the stock 6.0. I unlocked the bootloader, installed TWRP and rooted my phone. Since the 7.0 is coming very soon, I want to go back to stock so that when the update comes I can safely install it through OTA. I've heard people bricking their devices by updating a rooted device and I don't want that.

Try flashing stock B160 rom if that doesn't relock bootloader then download srktool (if haven't) install connect your phone to pc choose bootloader and choose relock type Y type your bootloader code in (you have one right? Its unlocked should have) type Y again and wait for the process to finish the only draw back of this method that your phone might say relocked not locked which means it was unlocked but if you turn oem of in your phone setting it should say locked (if im right) but theres methods to make your phone show locked but it might actually already show that its locked not relocked hope it helps

Related

Any chances to get root with a locked bootloader ? (w/o unlock bootloader)

I don't want lost my warranty and for many others reasons, i don't want unlock my bootloader. I see many people saying "you want root with a locked bootloader ? Unlock your bootloader !" To this people, i say "no". Why i would take the risk to cancel my warranty for that ? Many devices with a locked bootloader will be upgraded to lollipop. So this is my question, any chances to get root with a locked bootloader ?
Here And then go here
And in any case, it can be done, depending on what state your tablet is currently in.
I'm on Lollipop, rooted and still with a locked bootloader.
If you're already on Lollipop without a custom recovery, you may be out of luck or will just have to wait.
If you've got a custom recovery, or are still on KitKat, it can be done. See here: http://forum.xda-developers.com/showthread.php?t=2945044
Sent from my SHIELD Tablet using XDA Free mobile app
I was so ecstatic when I got the tablet, I ran the OTA to Lollipop before using towelroot.
I followed the steps using adb
The tools they provide using the root method through; pushing recovery.img from bootloader, etc. Worked well
I was really amazed how fast I upgraded, before I knew it, towelroot said "device is not supported" I about wined.
On lollipop (from immediately upgrading from Kitkat), and have root using the adb method
-to unlock bootloader (oem unlock)
-push recovery.img (provided in link)
-install the lastest SU from the recovery (CWM v6)
reboot
The steps to re-enable bootloader lock is simple
adb oem unlock
If anyone would like assistance I would be happy to help.

Can't unlock FRP, can't relock bootloader, can't flash

Hello,
today to my utmost rage i accepted system update, as i never had problems with getting the phoned rooted etc. after updates. But little did I know it was emui 5.0 along with android 7.0 update which pretty much rekt me.
The details of my phone:
HUAWEI VNS-L21
VNS-L21C09B336
kernel 4.1.18-g5e26674
Can provide more if needed.
The only thing I did was to get TWRP through SRKTool from here, xda, and rooting through it. And it worked flawlessly to my needs.
After the update I lost twrp, so without searching back then i tried to get it back through SRKTool to no avail. Downloaded newer SRKTool, same thing.
Then I started searching for more information regarding how to root my phone, during which I found out that I'm PHONE Unlocked FRP locked at fastboot.
And of course my "Disable OEM lock" in developer options is greyed out.
I tried p9toolkit from here, I tried command syntaxes in adb's fastboot, everything with USB debugging, nothing did anything. I can't flash either new TWRP or Revolution Recovery because the FRP lock isn't letting me flash anything, and for some reason i can't relock bootloader. I have correct unlock code, command line syntaxes just failed and p9toolkit produced errors saying that my unlock code is wrong (which is not true, I checked at huawei's site) or my phone is locked/unlocked depending on me trying to lock it or unlock it.
Even the built in recovery fails to get the package when I try to restore with it.
The boot message that "my device can't be trusted" is of course still present.
Feeling defeated I did a factory reset along with both wipes, hoping that'll let me change OEM lock in dev options and will clean the phone of many root related settings, but OEM lock is still greyed out.
Basically it seems the phone is locked in some kind of limbo of having bootloader unlocked but locked when you try to flash anything, because of FRP, and I can't relock to unlock FRP...and so on.
I would be extremely grateful if someone could help with sorting this out, basically I only want root, but it's just a mess overall.
Did you already try to dload an UODATE.APP file? If not:
1) create a folder on your external SD card named DLOAD
2) Download your firmware's update.zip file and extract it
3) put the extracted update.app file in the dload folder
4) boot phone with volume up + volume down + power
5) this will relock bootloader, install stock Android, stock recovery, stock boot (basically make every single thing stock) do you can start over again by rooting nougat!
I did not try it because I have no idea how to find the correct firmware for my phone, I have used the firmware finder from xda but the amount of results pretty much overwhelmed me so I didn't try anything with it, as i would probably get my situation worse.
EDIT: i found this site http://hwmt.ru/oth/HWFF/info/view.php?find_model= and there is update.zip of seemingly the same version as mine, is this the correct file http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v87119/f2/full/update.zip?

Cannot get to bootloader mode after installing stock

I've been using custom ROMs for a while on my A2017G but decided to get back to stock. Before doing all the bootloader unlocking/rooting etc I backed up my original firmware (Nougat, B09). So I reinstalled the original firmware that I had backed up but somehow lost TWRP in the process (the bootloader is still unlocked). I then used Axon 7 Toolkit to re-install TWRP. Unfortunately I cannot get to bootloader mode through Android Recovery as it reboots normally. Axon 7 toolkit gives me the following notice 'If your device rebooted normally then your device has no access to fastboot. Follow the miflash instructions for the bootloader unlock option to restore your device's fastboot mode'. The thing is the phone is bootloader unlocked so I don't need to unlock again.
Basically, I cannot install TWRP through bootloader mode. I also tried adb-fastboot tool from my Pc but same thing happens, phone reboots normally.
What I really wanted is bring back the phone to full stock, including re-locking the bootloader.
I also want to have the bootloader re-locked again before selling the phone.
Any help/ suggestions much appreciated.
Good lord, don't use the Q&A mode for a simple question. XDA Labs opens it on a browser window
Follow Controllerboy's guide, but only the part where he installs TWRP with axon7tool. After that, boot into TWRP and follow raystef66's guide on how to get rid of the 5 seconds screen. That'll give you fastboot. Then flash a full stock system, stock recovery, and you'll probably be safe enough to relock
But I'd ask the next owner if he/sge actually cared on having the bootloader unlocked. Relocking it is risky as $hit you know.
Sorry, am kind of new and was not sure which way to post my comment. Thank you for responding and the advice. I managed to install full stock, actually downgraded to Marshmallow so I can get to fastboot/bootloader mode now. Thanks again.
You can still have bootloader mode on Nougat if you follow raystef66's guide. Plus it will hide the 5 secs screen
Actually I discovered I can't get into Fastboot mode from stock marshmallow so guess it's back to nougat with raystef66's guide.

How to lock bootloader on latest stock oreo (A2017G)?

I am attempting to return my Axon 7 A2017G to complete stock so that I can use the warranty. I used the EDL tool to return to latest stock oreo, but it seems that there is no way to access fastboot/bootloader on this update. I've found many guides for other models or older versions on how to get fastboot but none of them seem to be specific to my model and I am not than keen on bricking my device again. Could anyone help me out on what process I should go through to be able to lock my bootloader?
This is the EDL package I flashed: A2017G_B03_OREO_FULL_EDL
Spooderman46 said:
I am attempting to return my Axon 7 A2017G to complete stock so that I can use the warranty. I used the EDL tool to return to latest stock oreo, but it seems that there is no way to access fastboot/bootloader on this update. I've found many guides for other models or older versions on how to get fastboot but none of them seem to be specific to my model and I am not than keen on bricking my device again. Could anyone help me out on what process I should go through to be able to lock my bootloader?
This is the EDL package I flashed: A2017G_B03_OREO_FULL_EDL
Click to expand...
Click to collapse
I'm not even sure if you can lock the bootloader in stock+ Oreo, but it should be possible. What you can do is go back to MM (MM B10 should be fine), then use a fastboot package for MiFlash (such as A2017U_FASTBOOT_UNLOCK_EDL, it works even though you have a G) or maybe check if EDL Tool has an option to install fastboot, i don't remember.
The other way around it is not locking it and just using a modified bootloader to conceal the 5 second screen. Good enough for sending the phone with warranty. If you'll sell it you might be able to sell it for more if the bootloader is unlocked
Choose an username... said:
I'm not even sure if you can lock the bootloader in stock+ Oreo, but it should be possible. What you can do is go back to MM (MM B10 should be fine), then use a fastboot package for MiFlash (such as A2017U_FASTBOOT_UNLOCK_EDL, it works even though you have a G) or maybe check if EDL Tool has an option to install fastboot, i don't remember.
The other way around it is not locking it and just using a modified bootloader to conceal the 5 second screen. Good enough for sending the phone with warranty. If you'll sell it you might be able to sell it for more if the bootloader is unlocked
Click to expand...
Click to collapse
Thanks I checked the Axon 7 Toolkit and turns out it does have fastboot unlock as part of the process of unlocking the bootloader. Though it techinically doesn't support Oreo I chose the nougat one and it still did the trick albeit with another hardbrick, once locking the bootloader I had to wait for the battery to drain again before I could get into EDL and flash back to Oreo. Very painful proccess, would not recommend, should have just used your method of going back to marshmallow locking then updating again. Thanks anyway mate, the help was much appreciated.
Spooderman46 said:
Thanks I checked the Axon 7 Toolkit and turns out it does have fastboot unlock as part of the process of unlocking the bootloader. Though it techinically doesn't support Oreo I chose the nougat one and it still did the trick albeit with another hardbrick, once locking the bootloader I had to wait for the battery to drain again before I could get into EDL and flash back to Oreo. Very painful proccess, would not recommend, should have just used your method of going back to marshmallow locking then updating again. Thanks anyway mate, the help was much appreciated.
Click to expand...
Click to collapse
I never mentioned the axon7toolkit. That one is finicky, I don't recommend it. I was talking about EDL Tool (you might even find it if you google it), it's here in the ROMs, kernels, development section.
Spooderman46 said:
I am attempting to return my Axon 7 A2017G to complete stock so that I can use the warranty. I used the EDL tool to return to latest stock oreo, but it seems that there is no way to access fastboot/bootloader on this update. I've found many guides for other models or older versions on how to get fastboot but none of them seem to be specific to my model and I am not than keen on bricking my device again. Could anyone help me out on what process I should go through to be able to lock my bootloader?
This is the EDL package I flashed: A2017G_B03_OREO_FULL_EDL
Click to expand...
Click to collapse
you need to flash original stock rom for your device trough edl. (rom your device came from factory,you need B11 marshmallow)
then boot into system,unlock developer options.Allow oem unlock and turn on usb debugging.Now connect phone to laptop and check the dialogue on your phone that ask for usb debug.Unplug phone.
When you did this you want to flash TWRP trough EDL.
Now boot in TWRP and flash UnlockbootloaderPackage from DrakenFX.
Reboot system.
Now turn off your device and boot into fastboot,connect your phone with laptop and open ADB terminal on your laptop or use Axon7toolkit.
In terminal enter fastboot oem lock,or in axon7toolkit choose lock bootloader.
Your bootloader is now locked.
PS: you dont need locked bootloader to recieve ota's,and make sure you are on the firmware your device came shipped with!!
You need a locked bootloader to get rid of the warning message ( dont flash any mod package that claims it delete the warning page)
Predatorhaze said:
you need to flash original stock rom for your device trough edl. (rom your device came from factory,you need B11 marshmallow)
then boot into system,unlock developer options.Allow oem unlock and turn on usb debugging.Now connect phone to laptop and check the dialogue on your phone that ask for usb debug.Unplug phone.
When you did this you want to flash TWRP trough EDL.
Now boot in TWRP and flash UnlockbootloaderPackage from DrakenFX.
Reboot system.
Now turn off your device and boot into fastboot,connect your phone with laptop and open ADB terminal on your laptop or use Axon7toolkit.
In terminal enter fastboot oem lock,or in axon7toolkit choose lock bootloader.
Your bootloader is now locked.
PS: you dont need locked bootloader to recieve ota's,and make sure you are on the firmware your device came shipped with!!
You need a locked bootloader to get rid of the warning message ( dont flash any mod package that claims it delete the warning page)
Click to expand...
Click to collapse
Repeatedly posting the exact same thing in every thread will only get you banned again, you sure you want that?
SaintZ93 said:
Repeatedly posting the exact same thing in every thread will only get you banned again, you sure you want that?
Click to expand...
Click to collapse
Sorry

Can't get into TWRP mode on my Samsung Galaxy S8

I just installed TWRP onto my Samsung Galaxy S8. It was installed successfully, but when I try getting into the TWRP mode by pressing power+bixby+vol-up, the phone vibrates and displays a pink light at the top left before returning to a normal boot-up screen and my phone unlocks normally. When my phone is done booting up, I get a grey box saying:
"
[PDP]
back-up : fail
setup-wizard [FINISH]
"
I suspect this has something to do with the fact that I've gonked up the phone a couple of years ago. I had to send the phone to Samsung to get it fixed, I stayed away from rooting until now when I've gotten a new phone. What I'm asking here is, is this the cause? And how do I fix it so I can get into TWRP mode so I can complete my root?
MariusNullTre said:
I just installed TWRP onto my Samsung Galaxy S8. It was installed successfully, but when I try getting into the TWRP mode by pressing power+bixby+vol-up, the phone vibrates and displays a pink light at the top left before returning to a normal boot-up screen and my phone unlocks normally. When my phone is done booting up, I get a grey box saying:
"
[PDP]
back-up : fail
setup-wizard [FINISH]
"
I suspect this has something to do with the fact that I've gonked up the phone a couple of years ago. I had to send the phone to Samsung to get it fixed, I stayed away from rooting until now when I've gotten a new phone. What I'm asking here is, is this the cause? And how do I fix it so I can get into TWRP mode so I can complete my root?
Click to expand...
Click to collapse
Are you sure your bootloader was unlocked before you flashed TWRP?
Droidriven said:
Are you sure your bootloader was unlocked before you flashed TWRP?
Click to expand...
Click to collapse
How do I unlock my bootloader? Does it imply, having gone into the bootloader mode before flashing TWRP? If that is the case, no, I hadn't gone into the original recovery mode before flashing twrp, if not, what does it imply? Also, how do I fix?
MariusNullTre said:
How do I unlock my bootloader? Does it imply, having gone into the bootloader mode before flashing TWRP? If that is the case, no, I hadn't gone into the original recovery mode before flashing twrp, if not, what does it imply? Also, how do I fix?
Click to expand...
Click to collapse
You mean to tell me that in the process of finding and flashing TWRP for your device, you did not see anything telling you that you had to make sure the bootloader was unlocked before flashing it? If you didn't then you did a poor job of researching the process of flashing TWRP and rooting your device because it is usually mentioned in all guides for flashing TWRP.
No, I meant, did you check to make certain that your bootloader is unlocked before you flashed TWRP? I asked about bootloader because you can't flash anything custom if the bootloader is locked.
I don't know if your bootloader is locked or not. Just because I'm asking, does not mean that was locked.
If it is locked, you have to unlock it and then flash TWRP, if it is already unlocked, you do not have to unlock it.
Unlocking bootloader on Samsung usually involves enabling the OEM unlock setting in the device's settings. Enabling this setting does not necessarily mean that your bootloader is unlocked, you also need to boot into download mode and check the RMM or KG status to see if it says "prenormal", "checking" or "unlock". If it says "prenormal" it is locked and you can't flash TWRP.
Droidriven said:
You mean to tell me that in the process of finding and flashing TWRP for your device, you did not see anything telling you that you had to make sure the bootloader was unlocked before flashing it? If you didn't then you did a poor job of researching the process of flashing TWRP and rooting your device because it is usually mentioned in all guides for flashing TWRP.
No, I meant, did you check to make certain that your bootloader is unlocked before you flashed TWRP? I asked about bootloader because you can't flash anything custom if the bootloader is locked.
I don't know if your bootloader is locked or not. Just because I'm asking, does not mean that was locked.
If it is locked, you have to unlock it and then flash TWRP, if it is already unlocked, you do not have to unlock it.
Unlocking bootloader on Samsung usually involves enabling the OEM unlock setting in the device's settings. Enabling this setting does not necessarily mean that your bootloader is unlocked, you also need to boot into download mode and check the RMM or KG status to see if it says "prenormal", "checking" or "unlock". If it says "prenormal" it is locked and you can't flash TWRP.
Click to expand...
Click to collapse
I did turn on the OEM unlock before flashing. Did not see the RMM or KG status though. The flash was successful though. It just doesn't want to open TWRP as it cancels and shows me a pink light right as it's about to open TWRP.
Droidriven said:
You mean to tell me that in the process of finding and flashing TWRP for your device, you did not see anything telling you that you had to make sure the bootloader was unlocked before flashing it? If you didn't then you did a poor job of researching the process of flashing TWRP and rooting your device because it is usually mentioned in all guides for flashing TWRP.
No, I meant, did you check to make certain that your bootloader is unlocked before you flashed TWRP? I asked about bootloader because you can't flash anything custom if the bootloader is locked.
I don't know if your bootloader is locked or not. Just because I'm asking, does not mean that was locked.
If it is locked, you have to unlock it and then flash TWRP, if it is already unlocked, you do not have to unlock it.
Click to expand...
Click to collapse
The information on the S8 are really poor. I used to root a lot of phones until a few years ago. Finding a manual for the S8 (Rom install, first TWRP,...) Seems to be impossible. I just find many contradicting information.
One manual sais there is nothing to unlock. I shall just use Odin to falsch the rom. Done. Other manuals go by TWRP as I know it. And so on.

Categories

Resources