error unlocking bootloader every time - Xperia Z Q&A, Help & Troubleshooting

Every time i try to unlock my bootloader of my xperia z gives me a error. And after that it comes in a bootloop.
It treit flashtool and via commands but had no luck.
I had my bootloader unlocked before and relocked via flashtool.
But now as i tried it is giving me this error.
i haven't backup my drm keys i forget that.
Please help !!!!!!!!!

Related

[Q] FAILED <remote: command not allowed>

im having trouble trying to root my phone again after it crashed and had to start from beginning. When i try fastboot flash boot Z_DooMLoRD_CF-Auto-Root-ported_FW-350.img it gives me fails and says FAILED <Remote: command not allowed> does any body know what im doing wrong? I managed to root it teh first time no problem.
Cheers
sturtz1987 said:
im having trouble trying to root my phone again after it crashed and had to start from beginning. When i try fastboot flash boot Z_DooMLoRD_CF-Auto-Root-ported_FW-350.img it gives me fails and says FAILED <Remote: command not allowed> does any body know what im doing wrong? I managed to root it teh first time no problem.
Cheers
Click to expand...
Click to collapse
Is you bootloader unlocked?
krabappel2548 said:
Is you bootloader unlocked?
Click to expand...
Click to collapse
yes the bootloader is unloack but i had my phone rooted before then had to use pc companion to repair it, ive unlocked it again to be sure.
It seems driver problem.
I met the same problem as well as others yesterday, when I unlock, relock, re-unlock, root locked, root unlocked, flash recovery... for some crazy reason.
Try these:
Connect to flashtool (beta2 or beta4) with device power-on debug off, to see if flashtool can recognize it, and how much it can recognize.
Connect to flashtool with device power-on debug on , to see if flashtool can recognize it.
Connect to flashtool with device in fastboot mode, to see if flashtool can recognize it.
Connect to flashtool with device in flashmode, to see if flashtool can recognize it.
Flashtool may fix some driver error. I just succeeded after hours of bungling like that.
Good luck.
orc.x.lei said:
It seems driver problem.
I met the same problem as well as others yesterday, when I unlock, relock, re-unlock, root locked, root unlocked, flash recovery... for some crazy reason.
Try these:
Connect to flashtool (beta2 or beta4) with device power-on debug off, to see if flashtool can recognize it, and how much it can recognize.
Connect to flashtool with device power-on debug on , to see if flashtool can recognize it.
Connect to flashtool with device in fastboot mode, to see if flashtool can recognize it.
Connect to flashtool with device in flashmode, to see if flashtool can recognize it.
Flashtool may fix some driver error. I just succeeded after hours of bungling like that.
Good luck.
Click to expand...
Click to collapse
Thank you i got it by turning of debugging mode, strange it worked but cheers
I have this problem as well, tried doing above things, uninstalling drivers, reinstalling - help appreciated.
and Phone is working normal but after 5 second reboot and FC 's
Plz Help
same issue...
Has anyone found a sure fix for the issue presented by the original post? I am having this issue and I have tried different drivers, ftf's, computers, adb/fastboot/versions and flashtool versions. I have unlocked and relocked. Is rooting status "unknown" normal after bootloader unlock? -Z Ultra 6833 EU
Still no solution?
With my C6603 it does not allow to write boot aswell. Any final solutions?
edit: solution found: bootloader was not unlocked
Error flashing kernel
I use an xperia M..
I was trying to install custom rom in it.. and every time i try to flash a kernel using any flashtool, it says FAILED (remote: Command not allowed)
what should i do?? please, someone help me..
aravindjr said:
I use an xperia M..
I was trying to install custom rom in it.. and every time i try to flash a kernel using any flashtool, it says FAILED (remote: Command not allowed)
what should i do?? please, someone help me..
Click to expand...
Click to collapse
This is the wrong forum to ask this. This is the Xperia Z section.
Despite that, you need to unlock your bootloader to flash kernels via fastboot.
Sent from my C6603 using Tapatalk
After months using stock everything I decided to flash CM11 yesterday, I'm doing exactly same step as I was doing when on 4.1/4.2 but it seems like it doesn't works, I'm not even sure that my BL is unlocked despite success message, when trying to reboot after unlock BL I had a bootloop and when trying to recover with Sony's Flashtool it says 'device not unlocked'. So I repaired with PCC and restarted from scratch but same results today.
I'm totally lost as like I said I was doing exactly same thing on the same PC.
Edit : Now my XZ doesn't even start! I have the red led blinking while connected with usb, power+ Vol+ doesn't do anything, no vibrations at all!
I was on latest sony official ROM
Edit2 : Tryied again to recover with Sony's Flashtool but it says "Mobile Locked" that's crazy!
aravindjr said:
I use an xperia M..
I was trying to install custom rom in it.. and every time i try to flash a kernel using any flashtool, it says FAILED (remote: Command not allowed)
what should i do?? please, someone help me..
Click to expand...
Click to collapse
Check PM
Relax!
4.3 introduced a new security feature. Look up "unlock bootloader 4.3 xperia z" for help :good:
babylonbwoy said:
After months using stock everything I decided to flash CM11 yesterday, I'm doing exactly same step as I was doing when on 4.1/4.2 but it seems like it doesn't works, I'm not even sure that my BL is unlocked despite success message, when trying to reboot after unlock BL I had a bootloop and when trying to recover with Sony's Flashtool it says 'device not unlocked'. So I repaired with PCC and restarted from scratch but same results today.
I'm totally lost as like I said I was doing exactly same thing on the same PC.
Edit : Now my XZ doesn't even start! I have the red led blinking while connected with usb, power+ Vol+ doesn't do anything, no vibrations at all!
I was on latest sony official ROM
Edit2 : Tryied again to recover with Sony's Flashtool but it says "Mobile Locked" that's crazy!
Click to expand...
Click to collapse
BatteryAidFree said:
4.3 introduced a new security feature. Look up "unlock bootloader 4.3 xperia z" for help :good:
Click to expand...
Click to collapse
I know I'm late but thanks anyway, just updated to 4.4.4 today, I'll look to your advice, thanks for replying, you're the only one that took time to write few words to help.
Hope it goes well!
babylonbwoy said:
I know I'm late but thanks anyway, just updated to 4.4.4 today, I'll look to your advice, thanks for replying, you're the only one that took time to write few words to help.
Click to expand...
Click to collapse
You're welcome! The only thing I can think is if you want to install/rate 5 stars my app, would be greatly appreciated! ("Battery Aid" - I can't post the link apparently, "To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!")
use flashtool to writ kernel
fastboot remote command not allowed Xperia Z3
I unlocked my boatloader, but have no way to confirm that it is still unlocked. I'm running Windows 7. Fastboot used to work just fine before I unlocked my bootloader. FLASHTOOL works fine. But if I try to flash anything with fastboot I get the remote command error. Can't flash recovery. Can't flash boot image.
stevenmanzano said:
I unlocked my boatloader, but have no way to confirm that it is still unlocked. I'm running Windows 7. Fastboot used to work just fine before I unlocked my bootloader. FLASHTOOL works fine. But if I try to flash anything with fastboot I get the remote command error. Can't flash recovery. Can't flash boot image.
Click to expand...
Click to collapse
Look in the service menu to confirm if your bootloader is unlocked.
Enter *#*#7378423#*#* in the dialler, then look in Service info -> Configuration. It will say "Bootloader unlocked: Yes" if it's unlocked.
Sent from my C6603
solved remote command not allowed
stevenmanzano said:
I unlocked my boatloader, but have no way to confirm that it is still unlocked. I'm running Windows 7. Fastboot used to work just fine before I unlocked my bootloader. FLASHTOOL works fine. But if I try to flash anything with fastboot I get the remote command error. Can't flash recovery. Can't flash boot image.
Click to expand...
Click to collapse
By installing FLASHTOOL by Sony I was instantly notified that my bootloader was not unlocked, even though I had already unlocked it three or four times without any errors. So I unlocked it again. Then fastboot flashed my images just fine.

Stuck after Unlocking Bootloader

Evening guys
Just tried to unlock my bootloader via the Sony website.
After succesfully unlocking and rebooting it keeps repeating the booting.
I see the Sony logo and the Xperia logo. Then it goes of and back on again and keeps doing the same.
I already tried to flash back the stock firmware and that works.
When I retry to unlock the bootloader the same thing happens.
The service menu says I can unlock my bootloader.
Any tips or tricks that might help me to unlock it.
midego said:
Evening guys
Just tried to unlock my bootloader via the Sony website.
After succesfully unlocking and rebooting it keeps repeating the booting.
I see the Sony logo and the Xperia logo. Then it goes of and back on again and keeps doing the same.
I already tried to flash back the stock firmware and that works.
When I retry to unlock the bootloader the same thing happens.
The service menu says I can unlock my bootloader.
Any tips or tricks that might help me to unlock it.
Click to expand...
Click to collapse
Reflash your phone with Sony Update Service
midego said:
Evening guys
Just tried to unlock my bootloader via the Sony website.
After succesfully unlocking and rebooting it keeps repeating the booting.
I see the Sony logo and the Xperia logo. Then it goes of and back on again and keeps doing the same.
I already tried to flash back the stock firmware and that works.
When I retry to unlock the bootloader the same thing happens.
The service menu says I can unlock my bootloader.
Any tips or tricks that might help me to unlock it.
Click to expand...
Click to collapse
It is hard to say from your explanation whether your phone is unlocked or not.
QualQuek said:
Reflash your phone with Sony Update Service
Click to expand...
Click to collapse
SUS doesn't work for phones with unlocked bootloaders (neither does PC Companion).
Get yourself a full ftf for your current customization & flash with the official flashtool (Emma).
kgs1992 said:
It is hard to say from your explanation whether your phone is unlocked or not.
SUS doesn't work for phones with unlocked bootloaders (neither does PC Companion).
Get yourself a full ftf for your current customization & flash with the official flashtool (Emma).
Click to expand...
Click to collapse
I got a working unlocked bootloader by doing it via FlashTool.
Unlock bootloader,connect the phone straight in flashmode, use flashtool and flash stock Rom,thats it. Best chose flashtool beta4
Sent from my C6603 using xda premium

Flashtool error "ERR_CODE="0017" need help

I've try update my software with OTA and PC Companion before and it said error. Then I tried to flash 292 FTF using flashtool 0.9.18.4 and this error keep showing.
07/001/2015 03:01:51 - INFO - Phone boot version : S1_Boot_Lagan_1.0_2. Boot delivery version : S1_Boot_Lagan_1.1.1_1
07/001/2015 03:01:51 - INFO - Going to flash boot delivery
07/001/2015 03:01:51 - INFO - Processing emmc_appsboot_S1_Boot_Lagan_1.1.1_1_HWID_7190E1_OEM0.sin
07/001/2015 03:01:51 - INFO - Checking header
07/001/2015 03:01:51 - ERROR - Processing of emmc_appsboot_S1_Boot_Lagan_1.1.1_1_HWID_7190E1_OEM0.sin finished with errors.
07/001/2015 03:01:51 - INFO - Ending flash session
07/001/2015 03:01:51 - ERROR - ERR_SEVERITY="MINOR";ERR_CODE="0017";ERR_DYNAMIC="0x80080021 ";
Click to expand...
Click to collapse
I've checked *#*#7378423#*#* and bootloader unlocked is yes
Please solve this error for me
Thank you!
And I've spend 2 days searching, it's not much but I think I can't do anything to solve this problem.
hacphongthan said:
I've try update my software with OTA and PC Companion before and it said error. Then I tried to flash 292 FTF using flashtool 0.9.18.4 and this error keep showing.
I've checked *#*#7378423#*#* and bootloader unlocked is yes
Please solve this error for me
Thank you!
And I've spend 2 days searching, it's not much but I think I can't do anything to solve this problem.
Click to expand...
Click to collapse
Why you're using flashtool instead of fastboot if your bootloader is unlocked either way?
You can try to flash Lollipop 5.0.x ROM : PABX's ROM YUGA 5.0
The instructions are written in the page, but before that you need to download android SDK.
After you will be done that either, you will need to go /sdk/platform-tools/ (where fastboot.exe and adb.exe are installed), then with holding SHIFT button press Right Mous Button and push "Open command prompt here". And then just write the commands which are written in the page, again.
And don't forget to install adb and fastboot drivers.
LaurynasVP said:
Why you're using flashtool instead of fastboot if your bootloader is unlocked either way?
The instructions are written in the page, but before that you need to download android SDK.
After you will be done that either, you will need to go /sdk/platform-tools/ (where fastboot.exe and adb.exe are installed), then with holding SHIFT button press Right Mous Button and push "Open command prompt here". And then just write the commands which are written in the page, again.
And don't forget to install adb and fastboot drivers.
Click to expand...
Click to collapse
So my phone bootlocker has been unlocked right ?
Can I do anything to relock it?
I don't have old TA partition because I've bought an used phone and I just want to use stock ROM
hacphongthan said:
So my phone bootlocker has been unlocked right ?
Can I do anything to relock it?
I don't have old TA partition because I've bought an used phone and I just want to use stock ROM
Click to expand...
Click to collapse
If via *#*#7378423#*#* shows, that status is : "Bootloader unlockED: YES", then yes, your bootloader is unlocked and your DRM keys have been erased permanently, without any way of getting them back (if you don't have TA-Partition backup, of course). If status is : "Bootloader unlock ALLOWED: Yes", then your bootloader isn't unlocked and yours DRM keys is in their "place".
If your bootloader unlocked, then you could ask the person you have bought your phone from for TA-Partition backup, if he/she has it.
If not - don't ever think to flash anyone else's Ta-Partition, otherwise you'll brick your phone permanently.
You can relock it via Flashtool, If I'm right. But it doesn't change the situation you're in, 'cause your DRM keys are lost and you'll not be able to use BE2, Clear Audio+ and other fuctions, which requires the DRM keys to be working.
I'm sorry about that.
You can still flash stock .FTF, I suggest you to flash Generic.
If error persists, you could try other .ftf to fry for flashing.
LaurynasVP said:
If via *#*#7378423#*#* shows, that status is : "Bootloader unlockED: YES", then yes, your bootloader is unlocked and your DRM keys have been erased permanently, without any way of getting them back (if you don't have TA-Partition backup, of course). If status is : "Bootloader unlock ALLOWED: Yes", then your bootloader isn't unlocked and yours DRM keys is in their "place".
If your bootloader unlocked, then you could ask the person you have bought your phone from for TA-Partition backup, if he/she has it.
If not - don't ever think to flash anyone else's Ta-Partition, otherwise you'll brick your phone permanently.
You can relock it via Flashtool, If I'm right. But it doesn't change the situation you're in, 'cause your DRM keys are lost and you'll not be able to use BE2, Clear Audio+ and other fuctions, which requires the DRM keys to be working.
I'm sorry about that.
You can still flash stock .FTF, I suggest you to flash Generic.
If error persists, you could try other .ftf to fry for flashing.
Click to expand...
Click to collapse
It's show me Bootloader unlock allowed: Yes. I've flash C6603_10.5.1.A.0.292_Generic_NCB.ftf for my device but it show the above error.
Then I flash C6603_10.1.1.A.1.307_Generic BE.ftf it's all right nothing error.
Both of them are GENERIC but the 292 ftf error.
Could you please help suggest me which 292 ftf not error on my device.
And one more thing strange, I can't update my device with OTA even on 307 TFT. Someone say it only happen if my bootloader unlocked
I just tried C6603_10.5.1.A.0.292_Generic_UK.ftf too but it still error
The fact is I can't only flash which FTF include S1_Boot_Lagan_1.0_2 that mean I can't update my S1_Boot ?
hacphongthan said:
It's show me Bootloader unlock allowed: Yes. I've flash C6603_10.5.1.A.0.292_Generic_NCB.ftf for my device but it show the above error.
Then I flash C6603_10.1.1.A.1.307_Generic BE.ftf it's all right nothing error.
Both of them are GENERIC but the 292 ftf error.
Could you please help suggest me which 292 ftf not error on my device.
And one more thing strange, I can't update my device with OTA even on 307 TFT. Someone say it only happen if my bootloader unlocked
I just tried C6603_10.5.1.A.0.292_Generic_UK.ftf too but it still error
The fact is I can't only flash which FTF include S1_Boot_Lagan_1.0_2 that mean I can't update my S1_Boot ?
Click to expand...
Click to collapse
Well, you've not unlocked your bootloader. Your bootloader status is locked. However, do you have flashtool drivers? You could give a try on another pc, maybe your pc is causing issues, like mine (my os is Windows 10 and doesn't support fastboot and adb, as I can see).
LaurynasVP said:
Well, you've not unlocked your bootloader. Your bootloader status is locked. However, do you have flashtool drivers? You could give a try on another pc, maybe your pc is causing issues, like mine (my os is Windows 10 and doesn't support fastboot and adb, as I can see).
Click to expand...
Click to collapse
Yes I have flash tool driver on windows 7 Vmware but it error same my Windows 8 main PC :crying:.
Talk about OTA, why I can't update via OTA or PC companion
hacphongthan said:
Yes I have flash tool driver on windows 7 Vmware but it error same my Windows 8 main PC :crying:.
Talk about OTA, why I can't update via OTA or PC companion
Click to expand...
Click to collapse
I don't know anything else whast I could suggest you. U should better contact SONY:
Sony Support. Or if you have warranty - take it to there
LaurynasVP said:
I don't know anything else whast I could suggest you. U should better contact SONY:
Sony Support. Or if you have warranty - take it to there
Click to expand...
Click to collapse
oh ok thanks for your help

[HELP] Xperia Z Can't boot, stuck in locked bootloader without IMEI

Hey, I have a Xperia Z C6602 running 5.1.1 and firmware version: 10.7.A.0.222
I was trying to root the device but got in trouble.
I used this guide to root the device but soon after Super-SUme got installed & updated, the device was supposed to reboot but it just shows "Power off ; restart ; take screenshot " options and nothing else.
I went into fastboot mode:
Code:
fastboot devices
worked but couldn't flash recovery.
I can't unlock the bootloader since I don't know the IMEI code. I don't have the phone box or receipt to check the IMEI.
Please help.
THANKS IN ADVANCE.
I install the emma. It show imei. Then i unlocked bootloader.
You should install flashtool from:
http://www.flashtool.net/index.php
It's a multipurpose tool for Sony Xperia Devices!
Be sure to install the right drivers "Devices -> Check Drivers" for the Xperia Z.
If you are running Windows 8 64-Bit or a higher version you need to disable Driver Signature Verification before installing the drivers!
Example guide: http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/
If everything went well you can now connect your phone to the PC and the Flashtool program will be able to recognize it.
As far as I remember it, the boot loader unlock from flashtool will automatically save your "DRM-Keys" so you will be able to restore them later on to your phone, which also relocks the boot loader (but you might want to check on that before doing the boot loader unlock process as you won't be able to restore the DRM-Keys if you loose them once!).
Now you press the "BLU" button inside flashtool and it will guide you through the progress!
I hope that will help you! If not, feel free to ask!

Unable to Relock Bootloader - Please Help!

So recently I tried rooting my xperia xp and it has failed horribly. I managed to unlock my bootloader and install twrp recovery but after doing so my phone could not reboot into system without running into a bootloop. I've tried to perform a software repair on my phone with the xperia companion, but as you know my bootloader is unlocked at the moment so that couldn't help me.
The issue with relocking here is that when I enter "./fastboot oem lock" on my terminal it replies as:
"FAILED (remote: unknown command)"
I really do not want to have to purchase a new phone just because of the bootloader, it'd be so so appreciated if somebody could help me out here
Also
I'd also like point out that I've also tried the other two commands I could find:
"./fastboot oem relock" and "./fastboot flashing lock"
There are two ways to relock bootloader:
1. Restore TA partition
2.Use Flashtool to relock
But if you encounter a bootloop after unlocking bootloader, try flash Magisk first.
Sony Xperia XZ Premium (single sim, G8141) owner here.
Is there really no way to relock the bootloader?
I don't have a TA backup. I have flashed a completely stock ROM with flashtool (Emma), I just want to relock a bootloader for a warranty claim (purely hardware, faulty USB connector, took me 20 minutes to get the computer to recognize it, at this point it won't even charge most of the time).
I have tried fastboot oem relock command even with the USB vendor ID that I also had to specify when unlocking it in the first place. New flashtool (Emma) does not seem to have any option to relock (or even unlock) BL, nor does it display any information about it. Old flashtool says TA read fail and that my bootloader cannot be relocked.
The boot screen tells me to please lock my bootloader so I'm assuming there must be a way, I just haven't found it yet.

Categories

Resources