I used this two command to unlock
fastboot flashing unlock
fastboot flashing unlocl_critical
So when i want to return to stock
flash stock rom via miflash flsh_all
Then type this
fastboot flashing lock_critical
fastboot flashing lock
fastboot oem lock
Is this the correct on?
Related
I have a serious problem: my device's partitions are all erased and formatted and the boot loader is locked which is why I can't install a recovery or anything else. fastboot oem unlock doesn't work for any reason. It just boots and does nothing. After entering fastboot again it says it's locked.
The alternative method with adb doesn't work as I don't have a recovery nor do I have a system.img on the device. I can only enter fastboot now and flash the radio. How can I flash stock CM11S now? I need to unlock the bootloader and fastboot won't let me!
h**p://forum.xda-developers.com/showpost.php?p=55952004&postcount=457
Guy with a similar problem, who found a solution... Give it a try!
How on earth did you manage to erase all the partitions?
Transmitted via Bacon
I unlocked the bootloader install TWRP , then into recovery I wiped all data , but can't install the ROM I want to install.
I tried to use the toolkit to fix but somehow the bootloader was relocked again, I can't unlocked or flash any recovery , my phone just stuck on the fastboot with no OS on it.
Would not let me flash anything as it's locked.
Tried fastboot boot ... no lucky.
Any fix?
jasonnew said:
I unlocked the bootloader install TWRP , then into recovery I wiped all data , but can't install the ROM I want to install.
I tried to use the toolkit to fix but somehow the bootloader was relocked again, I can't unlocked or flash any recovery , my phone just stuck on the fastboot with no OS on it.
Would not let me flash anything as it's locked.
Tried fastboot boot ... no lucky.
Any fix?
Click to expand...
Click to collapse
Download the fastboot image from the link below.
http://builds.cyngn.com/factory/bacon/cm-11.0-XNPH38R-bacon-signed-fastboot.zip
Code:
"fastboot flash modem NON-HLOS.bin"
"fastboot flash sbl1 sbl1.mbn"
"fastboot flash dbi sdi.mbn"
"fastboot flash aboot emmc_appsboot.mbn"
"fastboot flash rpm rpm.mbn"
"fastboot flash tz tz.mbn"
"fastboot flash LOGO logo.bin"
"fastboot flash boot boot.img"
"fastboot flash cache cache.img"
"fastboot flash recovery recovery.img"
"fastboot flash system system.img"
"fastboot flash userdata userdata.img" (or userdata_64g.img for 64G version)
"fastboot oem lock"
"fastboot reboot"
Skip the fasboot oem lock if you do not want to relock the bootloader.
Stop using toolkit
Toolkit is for noobs
Download fastboot drivers
Put your phone in fastboot
Then in fastboot prompt > Fastboot oem unlock
Then flash the rom by that command
"fastboot flash modem NON-HLOS.bin"
"fastboot flash sbl1 sbl1.mbn"
"fastboot flash dbi sdi.mbn"
"fastboot flash aboot emmc_appsboot.mbn"
"fastboot flash rpm rpm.mbn"
"fastboot flash tz tz.mbn"
"fastboot flash LOGO logo.bin"
"fastboot flash boot boot.img"
"fastboot flash cache cache.img"
"fastboot flash recovery recovery.img"
"fastboot flash system system.img"
"fastboot flash userdata userdata.img" (or userdata_64g.img for 64G version)
"fastboot oem lock"
"fastboot reboot"
Remove ('')
I found the fix already thru opo forum by download ing the color OS fix tool which Can flash back to color OS
Thanks very much for all replies above.
jasonnew said:
I found the fix already thru opo forum by download ing the color OS fix tool which Can flash back to color OS
Click to expand...
Click to collapse
Can you give me a link to it because I'm in a similar situation?
I formatted my phone bymistake now it has no os installed. i am on twrp and its 54gb free memory. what should i do
tried to use the toolkit to fix but somehow the bootloader was relocked again, I can't unlocked or flash any recovery , my phone just stuck on the fastboot with no OS on it
And not installing the driver only showing driver "Microsoft device association root enumerator". So plz hlp me how to install my opo driver
I got an OTA update for marshmallow. At this stage phone was locked, unrooted and not tampered with.
After updating OTA phone went into a bootloop.
'Allow OEM Unlock' is disabled from developer options before even updating OTA so bootloader can't be unlocked.
After bootloop, from bootloader using fastboot (and mfastboot also tried) I flashed "XT1550_OSPREY_RETASIA_DS_2GB_6.0.1_MPI24.107........" this marshmallow firmware using standard commands for newer Moto devies. Even after flashing firmware, still bootloop happens.
Code:
fastboot flash bootloader O:\MotoG3\Firmwares\bootloader.img
fastboot flash logo O:\MotoG3\Firmwares\logo.bin
fastboot flash boot O:\MotoG3\Firmwares\boot.img
fastboot flash recovery O:\MotoG3\Firmwares\recovery.img
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.0
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.1
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.2
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.3
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.4
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.5
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.6
fastboot flash system O:\MotoG3\Firmwares\system.img_sparsechunk.7
fastboot flash modem O:\MotoG3\Firmwares\NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg O:\MotoG3\Firmwares\fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
pause
At this stage, phone still goes into a bootloop. Clicking on recovery from bootloader also sends phone into a bootloop so can't even access stock recovery.
Also no way to erase system as bootloader is locked.
In bootloader some details are given:
baseband- M8916_2020617.29.03.21.45R OSPREY_APAC_CUST
product- osprey xt1550 16gb p2b
cpu- msm8916
device is locked. status code 0. software status official.
How do I get the phone back in working state?
Other bootloop guides were not useful as here even after flashing stock firmware phone still goes into a bootloop. ALso no stock recovery is accessible and BL is locked
Using the guide in http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750, it is suposed to work (but you can't enter in stock recovery to do a factory reset, right?).
Try one more time, and confirme you flash all the system.img_sparechunk's files (some firmware images have less, and some have more).
In the first boot, the device can take a long period of time to boot (10-15 min in some cases).
If you can boot the recovery or the system, do a factory reset.
did you get it working?
Hi, I'm trying to flash firmware on moto g3 but when I write command "fastboot flash partition gpt.bin" it tells me "error: cannot found 'gpt.bin' ". I have got all files thats are necessary. What is wrong with my phone? Some one had this problem? Someone can help me?
I actualy did it. I used Minimal ADB and fastboot program. But now, when I'm trying to lock bootloader, it saies "Please fully flash the signed build before locking phone!". I flashed system stepbystep with https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 ( without flashing gpt.bin because it saies "Preflash validation failed" ) Any ideas?
Theheero said:
I actualy did it. I used Minimal ADB and fastboot program. But now, when I'm trying to lock bootloader, it saies "Please fully flash the signed build before locking phone!". I flashed system stepbystep with https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750 ( without flashing gpt.bin because it saies "Preflash validation failed" ) Any ideas?
Click to expand...
Click to collapse
You can't relock the bootloader using a version of firmware that is older than what you have... that is what you are trying to do.
Don't preface the flash with "oem lock begin", just start with like this:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash partition gpt.bin
<rest of stuff>
fastboot oem fb_mode_clear
fastboot reboot
Without a version of official firmware that is the same or newer than what you have installed, you cannot relock the bootloader... and we don't have the current releases.
acejavelin said:
You can't relock the bootloader using a version of firmware that is older than what you have... that is what you are trying to do.
Don't preface the flash with "oem lock begin", just start with like this:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash partition gpt.bin
<rest of stuff>
fastboot oem fb_mode_clear
fastboot reboot
Without a version of official firmware that is the same or newer than what you have installed, you cannot relock the bootloader... and we don't have the current releases.
Click to expand...
Click to collapse
Any danger if I 'll use gpt.bin from other firmware of other version of phone which match?
Theheero said:
Any danger if I 'll use gpt.bin from other firmware of other version of phone which match?
Click to expand...
Click to collapse
Don't do it. Download the factory images for your specific device here https://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639, and flash them.
please help me how to lock oem or bootloader to install ote firmware update on stock rom?
You use Fastboot command to achieve this:
Code:
fastboot devices
fastboot flashing lock <- or: fastboot oem lock
More info here:
How to Relock Bootloader via Fastboot on Android
Although having an unlocked bootloader is useful in many ways like flashing firmware (factory images), installing TWRP and getting root, but it can also lead to blocked services on your device due …
nerdschalk.com