I rooted my HTC Bolt, but later unrooted with the stock RUU and relocked the bootloader. However, in recovery mode it says the software status is "modified" and bootloader is "relocked." Is there a way to get the software status to "official" and "locked?"
I used the RUU before I relocked bootloader. Is that the reason? I haven't tried yet because I would rather not factory reset my phone again.
Related
I tried flashing 4.1.1 fw for my device and now everytime i restart or shut off my device i get an errror" AP Fastboot Flash Mode" Device is locked!
Fastboot reason: Flash failure. I wanted to unlock my bootloader but couldnt because i took an OTA update to 4.1.2. Something went wrong. Is there way to unlock my bootloader on 4.1.2? & how can i fix my FLASH FAILURE ERROR? Thanks
brhudson2012 said:
I tried flashing 4.1.1 fw for my device and now everytime i restart or shut off my device i get an errror" AP Fastboot Flash Mode" Device is locked!
Fastboot reason: Flash failure. I wanted to unlock my bootloader but couldnt because i took an OTA update to 4.1.2. Something went wrong. Is there way to unlock my bootloader on 4.1.2? & how can i fix my FLASH FAILURE ERROR? Thanks
Click to expand...
Click to collapse
If you were on the latest firmware, you can't downgrade. That's why you are getting the flash fail. Also, you can't unlock your BL if you're on the last two OTAs. You'll need to flash the most current FW via RSD or House of Moto.
Hello,
I want to relock the bootloader and go back to stock.
I tried flashing stock firmware using fastboot.
fastboot oem lock begin
flashed stock firmware
fastboot oem lock
But Bootloader is still unlocked.
I got message as first flash full stock system. Something like that. Don't remember as I tried this a week ago.
Any help will be highly appreciated.
Thank you in advance.
Edit : I also tried the Windows tool provided by one of the members but it failed too.
I used the same to unlock in the first place.
I think it depends on what you want to achive. While you might be able to re-lock the bootloader (which means it can't be flashed without being unlocked again), you will never ever get rid of the unlock message again. This - to my understanding - is an efuse which is permanently set. If you want to remove the unlocked bootloader boot message, I'd stay unlocked and would just flash a different boot logo (logo.bin) where the unlocked gfx are replaced with the standard gfx thus showing the standard boot logo.
I would like to relock the bootloader altogether.
I don't think you can. You can lock it but you can't remove the warning that it has been tampered with.
I don't care about the warning.
I just want to re-lock it.
Flashing the Official firmware for my Country - India did the job.
Last time I tried with firmware for ASIA.
I don't see any reason for that to fail but you never know.
Thanks for replying.
hey can you give me the link for that rom im also using the indian version but unable to lock the bootloader
I have never really seen this asked, and I am not just asking about the 6p but any Nexus or near stock phone with an unlockable bootloader (Motorola).
I have seen some claim they could not reflash their Nexus at all due to "allow OEM unlock" disabled in GUI. Others say if it is same stock ROM as currently installed, you can reflash the same stock ROM over what is there with bootloader locked.
If true, what if security patches are installed? I know flashing 6.0.1 over 6.0 requires unlocked bootloader. I am not talking about a rooted or modified phone in any way.
Just can the same image 6.0 for example be flashed on phone with 6.0 if bootloader is locked? What if unlocked, but gui has allow OEM unlock disabled?
Thanks.
chromedome00 said:
I have never really seen this asked, and I am not just asking about the 6p but any Nexus or near stock phone with an unlockable bootloader (Motorola).
I have seen some claim they could not reflash their Nexus at all due to "allow OEM unlock" disabled in GUI. Others say if it is same stock ROM as currently installed, you can reflash the same stock ROM over what is there with bootloader locked.
If true, what if security patches are installed? I know flashing 6.0.1 over 6.0 requires unlocked bootloader. I am not talking about a rooted or modified phone in any way.
Just can the same image 6.0 for example be flashed on phone with 6.0 if bootloader is locked? What if unlocked, but gui has allow OEM unlock disabled?
Thanks.
Click to expand...
Click to collapse
On Nexus 5X and 6P, if the bootloader is locked and OEM Unlock is disabled, one can either update via OTA or ADB sideload the update.zip via stock recovery...if using the stock rom.
I cannot speak on any phone aside from 5X and 6P.
Edit: I have not tried it (no reason to) but if bootloader is unlocked, with OEM Unlock setting later turned off, you should still be able to flash stock images via fastboot. The way I see it, the bootloader is still unlocked, which allows for factory images to be flashed in fastboot. You can still OTA or ADB sideload.
Sent from my Nexus 5X using Tapatalk
chromedome00 said:
I have never really seen this asked, and I am not just asking about the 6p but any Nexus or near stock phone with an unlockable bootloader (Motorola).
I have seen some claim they could not reflash their Nexus at all due to "allow OEM unlock" disabled in GUI. Others say if it is same stock ROM as currently installed, you can reflash the same stock ROM over what is there with bootloader locked.
If true, what if security patches are installed? I know flashing 6.0.1 over 6.0 requires unlocked bootloader. I am not talking about a rooted or modified phone in any way.
Just can the same image 6.0 for example be flashed on phone with 6.0 if bootloader is locked? What if unlocked, but gui has allow OEM unlock disabled?
Thanks.
Click to expand...
Click to collapse
If the bootloader is unlocked you can flash with fastboot, the "allow OEM unlocking" toggle has nothing to do with the ability to flash, it only controls whether the bootloader can be unlocked or not. If the bootloader is locked you can't flash anything at all, regardless of whether it's the same build or not, it's undeniably impossible to flash anything with a locked bootloader.
Updating to 6.0.1 from 6.0 doesn't require an unlocked bootloader, you can use the built-in update system to take the OTA update.
To answer your last question (and repeat myself), no you can't flash anything with a locked bootloader. If you''re unlocked but the GUI toggle is set to disallow OEM unlocking you can still flash because the bootloader is unlocked.
Some advice:
Leave the GUI toggle set to allow OEM unlocking. Leave the bootloader unlocked. Sometimes updates fail and the phone ends up in a boot loop, if your bootloader is locked and the toggle set to disallow unlocking you'd essentially have yourself a brick.
To clarify, I am not talking about ota or sideload of ota. I want to know about flashing 6.0 full over 6.0 full if bootloader locked. Let's say something is corrupted and phone isn't booting to GUI.
Is it possible to reflash same full image if bootloader locked. Forget the OEM toggle in GUI.
Surely someone knows for sure, or is curious.
Sorry, I see you answers and confirmed what I thought. Flashing anything but OTA is impossible. Missed that scrolling to fast on mobile.
Is there any way I can unroot my G4 and re-lock the bootloader (fully, removing the message), after doing it I realise I might not get OTA updates and the reason I rooted in the first place is no longer needed. Thanks
ethantownley said:
Is there any way I can unroot my G4 and re-lock the bootloader (fully, removing the message), after doing it I realise I might not get OTA updates and the reason I rooted in the first place is no longer needed. Thanks
Click to expand...
Click to collapse
Reflash stock firmware via fastboot, then issue command "fastboot oem lock", although it'll change the bootloader state to "relocked" instead of the factory "locked".
I had hardbricked my devices while installing an OTA update and the device was Hardbricked .
I blank flashed the device and it booted and bootloader.
Now the problem starts here.
I flashed the OEM_Lock.bat as I wanted to relock the bootloader. I'm not sure what went wrong but the flash didn't complete and stuck in middle.
The problem remains here is it shows
Fastboot Reason: Failed to initialize partition table
I am unable to flash anything now. Recovery.img fails, bootloader.img fails, twrp flashing fails.
Nothing flashes as Bootloader is locked.
I went to Motorola Service Centre. They also couldn't do anything and simply said that their software doesnt read the phone.
Is there anyone whoe can really help me out with anything left to do?
Any method to force flash recovery, even twrp?
Phone is detected as Fastboot athene_16mp S in computer. It doesnt detect as "Qualcomm HS-USB QDLoader 9008".
What firmware are you attempting to flash?
Your device looks like it's still on the blank flash provided bootloader, which means you have to flash at least the GPT and bootloader. The lack of a serial number and the generic identifier implies you have not been able to flash an actual GPT and bootloader. Also, OEM_locked is normal until you get an actual bootloader flashed over the blank flash bootloader, which usually means trying to flash a GPT and bootloader at least as new as the latest version you had on your device (regardless of downgrades).
I'd suggest downloading the latest Nougat stock ROM we have from here. Do not use any of the scripts at this time.
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Unzip the file, delete any old stock ROMs from your ADB folder and copy over the new stock ROM. Try to flash just the GPT and bootloader then reboot to fastboot. See if you reboot into a fastboot screen with details.
If you do, I would proceed to flash the rest of the new ROM without locking your bootloader. If your device boots then, then you can reflash with the locking commands.
Edit - also, this post probably is better suited to the Q and A section...
echo92 said:
What firmware are you attempting to flash?
https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
Unzip the file, delete any old stock ROMs from your ADB folder and copy over the new stock ROM. Try to flash just the GPT and bootloader then reboot to fastboot. See if you reboot into a fastboot screen with details.
If you do, I would proceed to flash the rest of the new ROM without locking your bootloader. If your device boots then, then you can reflash with the locking commands.
Click to expand...
Click to collapse
The files in mentioned firmware did the trick. It flashed GPT and Bootloader and showed the needed info.:highfive: After that I flashed the same firmware via fastboot commands and device has booted to the stock 7.0 - Bootloader Unlocked. How crazy was I to ignore the proper files to flash? I probably tried 100 times to flash files (wrong once for sure). Thanks alot though for providing the link and instructions. :silly:
Now one last thing, should I flash OEM_Lock file to lock the bootloader so that I can get the lastest Oreo update? I might even think fo selling the device after locking the bootloader. Need your genuine opinion on this as well.
mysteryno46 said:
The files in mentioned firmware did the trick. It flashed GPT and Bootloader and showed the needed info.:highfive: After that I flashed the same firmware via fastboot commands and device has booted to the stock 7.0 - Bootloader Unlocked. How crazy was I to ignore the proper files to flash? I probably tried 100 times to flash files (wrong once for sure). Thanks alot though for providing the link and instructions. :silly:
Now one last thing, should I flash OEM_Lock file to lock the bootloader so that I can get the lastest Oreo update? I might even think fo selling the device after locking the bootloader. Need your genuine opinion on this as well.
Click to expand...
Click to collapse
Eh, you live and learn. Besides, you've now got your device running now!
Honestly, it's up to you. Having a locked or unlocked bootloader will not affect your ability to receive OTA updates - you should still receive updates so long as your firmware matches your software channel (and since your device was XT1643, the NPJS25.93-14-18 April 2018 security update should be the correct firmware). At this moment in time, you'll have to use the NPJS25.93-14-18 firmware to re-lock your bootloader - we don't have the stock Oreo firmware at this time. Thus, if you update to stock Oreo, you will not be able to re-lock your bootloader until you can get a leak of the Oreo firmware.
If you're selling, I'd choose to re-lock the bootloader. Else, a potential buyer who is not used to flashing custom ROMs might wonder if there's any tampering with the device (the bootloader unlocked warning, to someone not used to flashing custom firmware, might scare off potential buyers).
Back to Locked Bootloader, complete stock.
echo92 said:
Eh, you live and learn. Besides, you've now got your device running now!
If you're selling, I'd choose to re-lock the bootloader. Else, a potential buyer who is not used to flashing custom ROMs might wonder if there's any tampering with the device (the bootloader unlocked warning, to someone not used to flashing custom firmware, might scare off potential buyers).
Click to expand...
Click to collapse
I am back to Locked Bootloader as feel the same as you said that anyone buying might get scared by looking the warning sign. Thanks for helping out. :highfive:
Oreo Update via OTA has already started rolling out as per the news I've been reading. I just wanted to see the oreo 8.1 before I sell the phone.
Anyways I got a new device now, Realme C1, 3|32GB as my smartphone usage has declined a lot recently and might remain similar. This device will suffice my requirements.
Thanks for the help and support. :victory: