I'm hoping someone can help:
I've been rooting/unlocking android phones for years. I've run Linux as my desktop OS for 15 years and I'm used to using fastboot.
I've had an Xperia Zr for a few years and when I saw them new on Ebay new for <$100 I bought another one.
So the first thing I try and do is unlock the bootloader, I have done this on several phones, including the ZR I use as my main phone.
I get the IMEI off the back of the phone and make sure it's the same as the one I get when I *#*#SERVICE#*#* and it is.
In Service->Info->Configuration it does say Rooting status: Bootloader unlock allowed: Yes
I go to sony and get the unlock code for that IMEI (I've done this 4 times, it's always the same, I've double checked all the fields).
When I enter the command from fastboot to unlock the bootloader I get this:
[email protected]:/media/rolf/Data/Android$ sudo fastboot -i 0x0fce oem unlock 0x3214A89EDE406752
...
OKAY [ 1.598s]
finished. total time: 1.598s
So no error, it looks like it worked. When I reboot the phone it's like new again it wiped itself as it does after you unlock the bootloader.
But when I go back to Service->Info->Configuration it does say Rooting status: Bootloader unlock allowed: Yes , but it should now say bootloader unlocked.
When I go back to fastboot and try and flash anything it behaves like it still locked.
[email protected]:/media/rolf/Data/Android$ sudo fastboot flash recovery cm-13.0-20160930-NIGHTLY-dogo-recovery.img
sending 'recovery' (11570 KB)...
OKAY [ 0.366s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.369s
The phones both look identical, the new one looks genuine, the FCC ID and model number and Type are the same. The old phone was made in the 25th week of 2013 the new one is 30th week 2014.
Does anyone have any idea what is going on?
Thanks,
Rolf
Use flashtool to unlock bootloader.maybe this will work.I used flashtool to unlock my zr bootloader easily.
Flashtool is just a way for people who don't use the command line to issue commands.
Just to be sure I installed it under Linux and Windows and tried the bootloader unlock from there with the same results on both OSs.
01/004/2016 11:04:58 - INFO - Device connected in fastboot mode
01/007/2016 11:07:45 - INFO - Unlocking phone using key 3214A89EDE406752
01/007/2016 11:07:47 - INFO - ...
01/007/2016 11:07:47 - INFO - OKAY [ 1.385s]
01/007/2016 11:07:47 - INFO - finished. total time: 1.385s
01/007/2016 11:07:47 - INFO - Device will reboot into system now
01/007/2016 11:07:47 - INFO - Unlock code saved to C:\Users\rolf\.flashTool\registeredDevices\EP74168AM1\ulcode.txt
01/007/2016 11:07:47 - INFO - Device disconnected
Like when I use fastboot directly the device factory resets itself but remains a locked bootloader.
Has anyone ever seen a phone that says Bootloader unlock allowed: Yes but when you issue the command it fails silently?
Just to be sure, I have tried many different versions of flashtool. I have also tried using the wrong key to see what happens.
If I change the last digit of the unlock code then the command fails.
[email protected]:~/Documents/Protected/Android/FlashTool/x10flasher_lib$ sudo /home/rolf/Documents/Protected/Android/flashtoolbetalinux/x10flasher_lib/fastboot.linux.64 -i 0x0fce oem unlock 0x3214A89EDE406751
...
FAILED (remote: Command did not succeed)
finished. total time: 0.035s
If I give the correct unlock code the command succeeds, but the phone never unlocks.
[email protected]:~/Documents/Protected/Android/FlashTool/x10flasher_lib$ sudo /home/rolf/Documents/Protected/Android/flashtoolbetalinux/x10flasher_lib/fastboot.linux.64 -i 0x0fce oem unlock 0x3214A89EDE406752
...
OKAY [ 1.569s]
finished. total time: 1.569s
I've tried using 2 different computers now so I have ruled out the computer hardware or software.
It seems to be the phone, this one is made in Malaysia the other one does not say where it was made.
Does anyone have any ideas?
This won't happen if your zr isn't carrier locked.So check it otherwise i'm unable to help you.Here are some great members in zr community can help you with this wired problem.PM with daedroza or sigprof.without PM it's not hard to get help from great members.
Never seen something like this, so the following is mostly a guesswork…
What ROM do you currently have on this phone, and did you reflash it? In theory it's possible that some strange (carrier-specific) ROM version relocks the bootloader during boot; another possibility is that the unlocking process is broken with some bootloader versions. Because creating the TA backup before unlocking needs root, I used old ROMs when unlocking — maybe even something ancient like 10.3.1.A.2.67, which can be rooted with opensource rootkitZ, and definitely not something which requires the malware-infested King Root. So flashing a stock ROM with a different bootloader version may help (the bootloader version number in boot_delivery.xml inside FTF must be different from the installed verson, otherwise flashtool will skip the bootloader parts when flashing — e.g., 10.6.x and 10.7.x stock ROMs have the same VERSION="1264-2309 S1_Boot_Lagan_1.1_10").
Thank you for some excellent advice. I had already re-flashed 5.1.1 with no change, so I tried 5.0.1 and there was also no change.
I found the oldest KitKat Rom I could and flashed that, as before the bootloader unlock command appeared to have worked but this time it rebooted into a boot loop.
I dropped back into fastboot and was able to flash a new boot.img and installing cm13 was quick and easy. The bootloader now shows as unlocked in SERVICE.
What software did you use to flash an old rom?
Related
Hi. I had bootloader unlocked while I had android 4.3 without any problem but PC Companion didn't let me install 4.4.2 with bootloader unlocked so I had to relock it. After that I installed KitKat without any problem and have tried to unlock bootloader again doing same steps as before but unsuccesfull. The message I get was something like "your device is already rooted" but is not. Also the bootloader is locked for sure. What can I do to sort this out?
wmichniewski said:
Hi. I had bootloader unlocked while I had android 4.3 without any problem but PC Companion didn't let me install 4.4.2 with bootloader unlocked so I had to relock it. After that I installed KitKat without any problem and have tried to unlock bootloader again doing same steps as before but unsuccesfull. The message I get was something like "your device is already rooted" but is not. Also the bootloader is locked for sure. What can I do to sort this out?
Click to expand...
Click to collapse
Dial *#*#7378423#*#*
goto service info then configuration and tell me what it says about the bootloader
bootloader unlock allowed: Yes
Follow instyructions from here
http://unlockbootloader.sonymobile.com/instructions
and post the output of the command window
I did it already. The message I get was 'your device is already rooted'
wmichniewski said:
I did it already. The message I get was 'your device is already rooted'
Click to expand...
Click to collapse
I know it may be painful, but please do try it again and copy and past the content of the command window here.
Please.
After I did it first time the message I get was:
FAILED (remote: Command did not succed)
finished. total time: 0.018s
so I tried to do it again and the message is different:
FAILES (remote: device is already rooted)
finished. total time: 0.004s
wmichniewski said:
After I did it first time the message I get was:
FAILED (remote: Command did not succed)
finished. total time: 0.018s
so I tried to do it again and the message is different:
FAILES (remote: device is already rooted)
finished. total time: 0.004s
Click to expand...
Click to collapse
Did you make a TA backup?
If so, restore it and try again.
If not, flash a stock FTF of your choice, reboot and tell me what it says in service info configuration again
when I can get ftf stock rom from and should I flash it with flashtool. After I do it my phone is gonna be on factory settings and I'm gonna lose all data ?
wmichniewski said:
when I can get ftf stock rom from and should I flash it with flashtool. After I do it my phone is gonna be on factory settings and I'm gonna lose all data ?
Click to expand...
Click to collapse
From the FTF thread in the general section
You lose all data when unlocking bootloader anyway, (You must know this if you read the instructions)
Did you make a TA backup?
Do not have TA backup.
wmichniewski said:
Do not have TA backup.
Click to expand...
Click to collapse
well its a very good job you have not unlocked the bootloader then
follow this guide http://forum.xda-developers.com/showthread.php?t=2449244 to backup your TA
Downgrade to a rootable FTF, root using any means you are familiar with (Doomlord easy root kit or Bin4rys root many android method, just google them)
then backup your TA
then tell me when you have done that
In the meantime ensure you have read the instructions and all the information about unlocking properly as you seem not to have done that yet (From you not knowing you will lose data)
hey
well i got my xperia z c6603 a few weeks ago and i unlocked the bootloader using the instructions on the sony website,well everything went ok.
but i had a issue when flashing something so had to flash back to a generic uk rom,well ever since i have been unable to unlock my bootloader again!
tried flashtool and i get FAILED (remote: incorrect format for unlock data. should be in the form of "0x) and it does start with 0x
before this i tried the fastboot using cmd or command prompt
when i type fastboot.exe -i 0x0fce getvar version i get 0.5
but when i try to put in the unlock code i get
FAILED (remote: command did not succeed)
finished. total time: 0.040s
if i put the code in again it does work but then the phone gets stuck in a bootloop!
i have tried different generic roms and have even tried going to a older rom and upgrading through sony companion but i keep getting the same thing!
i really dont know what to do,i hope someone can help me please.
is there any other way of doing this? what could have caused it? it worked fine untill i failed installing a rom.
i am from the uk,so i have tried different generic roms but it just does the same thing the phone is working perfectly fine and theres no changes
Forgive me if I'm wrong, I'm sure someone will correct me but AFAIK the bootloader doesn't relock by simply flashing a stock rom. It should still be unlocked and that's why you are undergoing issues attempting to unlock possibly? Have you tried reflashing the kernel ?
flashing stock rom doesn't relock the bootloader
My xt1068 has locked bootloader, and was in the rom 5.0.2 and upgraded to 6.0 alone and began to hang, was then rewrite rom 6.0 (TITAN_RETAILDSDS_6.0_MPB24.65-34_cid7), and not turned over, I tried to rewrite the 5.0. 2 (although I knew that the chance to return was almost zero because the rom does not downgrade with locked bootloader). and not worked ...
I tried to unlock the bootloader and the following error:
(Bootloader) unlock invalid date!
FAILED (remote failure)
finished. Total time: 10.031s
the equipment is stopped, and not do anything already used several commands like "mfastboot oem fb_mode_clear" among others, however nothing happens.
I have a little experience with rom motorola, but nothing is solving.
It will be someone there who can help me ...
Hi guys!
I'm having a problem.
I'm trying to unlock my bl but the toggle(as the title says) does not appear. So when I try to unlock via adb or flashtool I got this error:
27/021/2018 11:21:07 - INFO - finished. total time: 0.063s
27/021/2018 11:21:07 - WARN - Maybe the OEM is not enabled
and on adb I got the same thing.
Does anybody know how to solve this?
I just want to update to oreo
Thanks in anticipation
Many Z3c tablets don't have the ability to have their bootloader unlocked. I'm in Canada, and this tablet was sold through Rogers, and I have the same issue. There's no workaround, you're stuck with stock.
I had this on Z4 Tablet. Solved when I go to Developer's options and set ON the option which allows to unlock Boot Loader.
sammywtf said:
Hi guys!
I'm having a problem.
I'm trying to unlock my bl but the toggle(as the title says) does not appear. So when I try to unlock via adb or flashtool I got this error:
27/021/2018 11:21:07 - INFO - finished. total time: 0.063s
27/021/2018 11:21:07 - WARN - Maybe the OEM is not enabled
and on adb I got the same thing.
Does anybody know how to solve this?
I just want to update to oreo
Thanks in anticipation
Click to expand...
Click to collapse
I had the same problem I can't toggle the
Hello
I'm trying to Relock bootloader after it has been unlock with fastboot oem unlock command, and it seems an impossible mission.... I've downgraded to stock version thru EMMA FlashTool (Android 9).
The command I use is: fastboot oem lock and I get the following error:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Also tried thru sony mobile flasher by androxyde (Pressed BLU button):
Cannot invoke "String.split(String)" because the return value of "java.util.Properties.getProperty(String)" is null
Any suggestion anyone??
It's not possible to relock the bootloader of the XZ1C. It's a one-way operation. All of the threads giving information on how unlock mention this fact, as (I believe) does the Sony unlock pages.
Thus why you're getting an unknown command ... because there's no such action supported.
If I use stock ROM (Not custom) from Xperifirm, it can happend?
No ... it has nothing to do with the ROM that you're using, it's in the bootloader. Probably an e-fuse.
You can't re-lock it. Full stop. No caveats.
Ohhh
So no way to Relock the bootloader then?? I saw that many phone can....
Yes, some phones can. But definitely not all.
This is one of the ones that cannot.
I've installed kernel-G8441-47.2.A.11.228-hideunlock.zip and it works great!
One thing I can't pass - Google Wallet (Pay)
I didn't root my device, only unlocked the bootloader.
Any advice?