OTA softbricked? the device of my friend
Although the bootloader is unlocked, I was able to flash new firmware with fastboot with succes!! The device is now booting 4.1.1 (10.4.2.20)again
So, I tried to flash TWRP through fastboot (it's still responding to fastboot), but that fails:
Code:
FAILED <remote: <InvalidState>>
Thinking it is because the bootloader is locked, installed unlocking tool. Run it, at the last step, where you have to click the -normally- bar with image of locked lock to unlock, I get the dreaded network error, more importantly: the lock image is UNlocked
What could be the case now?
n/m http://forum.xda-developers.com/showthread.php?t=2037266
fastboot is available, flashing is not
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
hi guys, i've unlocked the bootloader with the dc-unlocker2client , And i want to go back to the original boot loader, i've tried to re flash the 137 and eve the 129 chinese rom but the annoying message on boot startup still exist..
so how to go back?
youre mixing up two things: the bootloader and the boot image
the former (bootloader) you unlock via fastboot and the unlock code that you read out via dc-unlocker. this is the reason why u receive the message at bootup and u can relock the bootloader via fastboot as well (fastboot oem relock XXXXXXXXX)
the latter is the boot image that u have to decrypt in order to be able to root properly and not be stuck in a boot loop. the boot.img is reflashed once u install a new stock firmware. but the bootloader lock state is untouched by this, thats why u manually have to relock it using fastboot!
cheers
thats weird.. i entered the fastboot mode
and opened the minimal adb - and wrote the command : fastboot oem relock XXXXXXXXX
the XXXX is my unlock code from the dc software i guess..
and its says : failed : stat not match
so.. how can i lock it again?
http://postimg.org/image/50dz3y0vf/
U should flash stock recovery first...then relock your bootloader
I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Johnnyappleseeds said:
I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Click to expand...
Click to collapse
Greetings and welcome to assist. Have you tried using sp flashtools instead to see if that works ? I think you may be better asking in the m9 forums here
https://forum.xda-developers.com/one-m9/help
hopefully one of the experts has come across this before
Good Luck
Sawdoctor
Hi all
Iam trying to unlock my bootloader in moto m to root the device.
when trying
fastboot oem get_unlock_data>> it shows as failed remote unknown error
also i used command fastboot oem unlock,it says as unlocked
then tried to flash it with twrp recovery image>it says as done but I cant able to go to twrp.
Please help me to fix the issue
Once you have flashed the twrp image, can you boot into android? Does adb work? If yes, try and run "adb reboot recovery" and report results.
arunanbu44 said:
Hi all
Iam trying to unlock my bootloader in moto m to root the device.
when trying
fastboot oem get_unlock_data>> it shows as failed remote unknown error
also i used command fastboot oem unlock,it says as unlocked
then tried to flash it with twrp recovery image>it says as done but I cant able to go to twrp.
Please help me to fix the issue
Click to expand...
Click to collapse
3 easy steps:
1. fastboot oem unlock in bootloader mode. Accept the message on the phone's screen. Read carefully.
2. Fastboot boot twrp.img
3. flash / sideload latest supersu.zip
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