yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] blckstr:
After relock I can't re-unlock my xperia z1.

is there any sollution?

I am so so desperate :(
[Xperia Z1 Android Development] gregbradley:
read this thread

http://xdaforums.com/showthread.php?t=2703456

post 22 has the solution
[Xperia Z1 Android Development] blckstr:
thanks man that worked :)
[Xperia Z1 Android Development] Stealthy Hunter:
True or Not ???

Unlocking the bootloader on KitKat won't cause lost X-Reality engine...!!!!!!!!

Is that true or not??
[Xperia Z1 Android Development] DooMLoRD:
heard it from a friend that this is indeed TRUE :)
[Xperia Z1 Android Development] gregbradley:
[MENTION=2784807]DooMLoRD[/MENTION]

Please can you link this thread

http://xdaforums.com/showthread.php?t=2703456 especially post 22, it has the fix

to the OP about how to unlock after you have relocked using flashtool

I have seen loads of people getting into trouble with this issue and it keeps getting harder to find that post.

Thanks
[Xperia Z1 Android Development] Jonas740:
I can confirm that no features will get lost with Kitkat if you unlock bootloader. This was said to me from a guy working at Sony. The issues were pre 4.3.
[Xperia Z1 Android Development] DooMLoRD:
ok I will link to it in the relevant post (#2 i think :p )
[Xperia Z1 Android Development] Stealthy Hunter:
[MENTION=2784807]DooMLoRD[/MENTION]

How to ensure this??

and how to OTA update UB??
[Xperia Z1 Android Development] asdera58:
12/033/2014 17:33:13 - INFO - Loader : S1_Root_6732 - Version : MSM8974_23 / Boot version : S1_Boot_MSM8974_LA1.04_15 / Bootloader status : ROOTABLE

12/033/2014 17:33:13 - INFO - Start Reading unit 000008B2

12/033/2014 17:33:13 - INFO - Reading TA finished.

12/033/2014 17:33:13 - INFO - Ending flash session

12/033/2014 17:33:13 - INFO - Now unplug your device and restart it into fastbootmode

12/033/2014 17:33:13 - INFO - Device connected in flash mode

12/033/2014 17:33:13 - INFO - Device disconnected

12/033/2014 17:33:16 - INFO - Device connected in flash mode

12/033/2014 17:33:18 - INFO - Device disconnected

12/033/2014 17:33:25 - INFO - Device connected in fastboot mode

12/033/2014 17:33:56 - INFO - Unlocking phone using key XXXXXXXXXXXX

12/033/2014 17:33:56 - INFO - ...

12/033/2014 17:33:56 - INFO - FAILED (remote: Command did not succeed)

12/033/2014 17:33:56 - INFO - finished. total time: 0.019s

12/034/2014 17:34:37 - INFO - Device disconnected

help please
[Xperia Z1 Android Development] DooMLoRD:
recheck you key or request a new one from Sony developer world!
[Xperia Z1 Android Development] axaitechie:
need help!!!

Brothers I need help..

I have unlocked my z1(c6902) bootloader (with TA backup)

Currently on stock kitkat. 757 [NuT firmware]

Now I so wanted DT2W..so I flashed the CTS kernel thts for.681

Its working but I get u need to update system..which inunderstand coz of. 681 on. 757

But my concern is,if I want to relock my bootloader what shud I do..

Flash kernel of. 681 or. 757?

And TA restore is done post locking or pre locking the bootloader?

Thanks in advance
[Xperia Z1 Android Development] Jonas740:
If you restore your TA. That will lock the bootloader again back to its original state.
[Xperia Z1 Android Development] axaitechie:
OK but I m on custom kernel based on stock right..correct me if I am wrong but CTS is stock kernel thts modified

So do I need to reflash (stock) kernel.sin before doing TA restore?

If so which kernel coz CTS is. 681 based and its flashed on a. 757 rom!?
[Xperia Z1 Android Development] Jonas740:
Wonder what thread I read about all this :D

But ye I think you need to flash a stock kernel before.

There is a thread already where all this info is. But I can't remember wich one though.
[Xperia Z1 Android Development] gsusx:
when i go throug the service centre bit on the phone its says my bootloader cant be unlocked ....

is that it then, am i done for ?
[Xperia Z1 Android Development] gregbradley:
You need a stock kernel. Flash it before it after restoring your TA

Best bet, just flash a stock FTF, this will put you on stock rom with stock kernel. then restore your TA to relock bootloader

Yes, if it says no, then there is no way to unlock it
[Xperia Z1 Android Development] Jonas740:
Ye,if it says you can't unlock it. Then I don't think it's possible no.
[Xperia Z1 Android Development] gsusx:
aahhhhh man i cant believe this, why are some phones locked down and some not ...

so theres no way i can install cm11
[Xperia Z1 Android Development] gregbradley:
There are lots of reasons why this happens. Just google it

But, no, you cannot install CM
[Xperia Z1 Android Development] asdera58:
i send email waiting. Thx Dom.
[Xperia Z1 Android Development] DOCIOHN:
Unlock failes - BootLoop

Hallo together,

I tried to unlock the bootloader for Z1 compact on rooted device. (Followed the process in detail)

Everything seemed to be fine and successful. But the reboot ends in an Bootloop. Even Recovery isn't working.

Flashing a new kernel also fails- cause no unlocked Bootloader:

>fastboot flash boot boot.img

sending 'boot' (10774 KB)...

OKAY [ 0.714s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished.

This issue was confirmed by another Z1 compact user too...

Is there a known solution for this problem? Any clues?

Thx in advance.
[Xperia Z1 Android Development] mirhl:
[MENTION=1295009]DOCIOHN[/MENTION]

Did you got your unlock code and your backup at least?

Use "fastboot.exe -i

0x0fce oem unlock 0xKEY" then
[Xperia Z1 Android Development] DOCIOHN:
Yes- Backed up my Ta- Partition and got unlock code from sony. Everything seemed to be fine until a reboot.

There was no sign of a error message during unlock process... :confused:
[Xperia Z1 Android Development] gregbradley:
Firstly, you should ask this in the Z1C device forum

Secondly, it would help if you try to unlock again and post the output of that.
[Xperia Z1 Android Development] DOCIOHN:
Just asking if somebody had similar problem.

If not I have to start messing around without new input... Messing up the device isn't so funny;).
[Xperia Z1 Android Development] gregbradley:
I never said it was. But you should copy the output from the command window when you try to unlock
[Xperia Z1 Android Development] asdera58:
i write sony forum and developers not helping...

---------- Post added at 07:34 PM ---------- Previous post was at 07:31 PM ----------

Here Sony forum not helping

http://talk.sonymobile.com/t5/Xperia-Z1-Compact/unlock-code-doesn-t-work/m-p/681427#U681427
[Xperia Z1 Android Development] mirhl:
[MENTION=4569463]asdera58[/MENTION]

Are you "bootloader unlocking allowed: yes" at least?
[Xperia Z1 Android Development] fujirio:
after unlocking boot loader it just keeps rebooting phone
[Xperia Z1 Android Development] DOCIOHN:
Same happened to me, try to flash a custom kernel. If it works you get back recovery-mod immediately, if not you see that you aren't unlocked.

Somebody said to me the the unlock command should be send two times to get it right...
[Xperia Z1 Android Development] mirhl:
[MENTION=1295009]DOCIOHN[/MENTION]

You do not need to try twice... That's absurd

Anyway you didn't answer...

Are you "BOOTLOADER UNLOCKING ALLOWED:YES" ?
[Xperia Z1 Android Development] germsandbugs:
Quick Question...

Does the ftf version have to correspond with the one that was originally used with the one to do the TA backup?

E.g. I started with 534 then i rooted, made a TA backup and consequently unlocked the BL. Since I have upgraded to 757. Do I need to downgrade to 534 and then restore the TA backup to have DRM/Bravia/etc again?

In other words, does the Backup of the TA always have to be restored to the same ftf that was used to back it up in the first place?

Thanks for enlightening me...

:)
[Xperia Z1 Android Development] mirhl:
TA partition has nothing in common with the rom version.

Just make sure you are running stock kernel when restoring, to avoid bootloops
[Xperia Z1 Android Development] DooMLoRD:
try unlock using FlashTool (press BLU button and follow steps)
[Xperia Z1 Android Development] asdera58:
Dom maybe 100 time try not working.

first time unlocking okay but 2nd times not work.

sry bad english.

12/033/2014 17:33:12 - INFO - Checking header

12/033/2014 17:33:12 - INFO - Flashing data

12/033/2014 17:33:12 - INFO - Processing of loader.sin finished.

12/033/2014 17:33:13 - INFO - Loader : S1_Root_6732 - Version : MSM8974_23 / Boot version : S1_Boot_MSM8974_LA1.04_15 / Bootloader status : ROOTABLE

12/033/2014 17:33:13 - INFO - Start Reading unit 000008B2

12/033/2014 17:33:13 - INFO - Reading TA finished.

12/033/2014 17:33:13 - INFO - Ending flash session

12/033/2014 17:33:13 - INFO - Now unplug your device and restart it into fastbootmode

12/033/2014 17:33:13 - INFO - Device connected in flash mode

12/033/2014 17:33:13 - INFO - Device disconnected

12/033/2014 17:33:16 - INFO - Device connected in flash mode

12/033/2014 17:33:18 - INFO - Device disconnected

12/033/2014 17:33:25 - INFO - Device connected in fastboot mode

12/033/2014 17:33:56 - INFO - Unlocking phone using key XXXXXXXXXXXX

12/033/2014 17:33:56 - INFO - ...

12/033/2014 17:33:56 - INFO - FAILED (remote: Command did not succeed)

12/033/2014 17:33:56 - INFO - finished. total time: 0.019s

12/034/2014 17:34:37 - INFO - Device disconnected
[Xperia Z1 Android Development] gregbradley:
Have you got the key from Sony?
[Xperia Z1 Android Development] asdera58:
of course

First unlocking ok.

but 2th try not working.

im try 4 computer, drivers, systems ( xp, 7, 8, 8.1 ) not working. IDK.

sry bad english.
[Xperia Z1 Android Development] gregbradley:
try this

http://xdaforums.com/showpost.php?p=51604352&postcount=22
[Xperia Z1 Android Development] necr0manser:
Where do I download this .rar file?
[Xperia Z1 Android Development] asdera58:
THX man

worked.
[Xperia Z1 Android Development] zekoslav:
Is it possible to unlock bootloader if is rooting status,

Bootloader unlock allowed: No

My device is Z1C rooted with 681 UK

Thanx
[Xperia Z1 Android Development] 301stSpartan:
Nope... is no way to do it now, and it isn't likely anyone will ever find a way unfortunately, bc it would likely be very very hard (if it's even theoretically possible) to do versus doing some research beforehand and buying one that does allow unlock, which pretty easy.
[Xperia Z1 Android Development] zekoslav:
OK dear Thank you
[Xperia Z1 Android Development] snipeerz:
can nto make it

hi i tryed to make the stepps until nothing :(

i get from service menu when i type enter *#*#7378423#*#* bootloader unlock allowen : no

i try to install the fastboot package and FlashTool Xperia Driver Pack and install the first and second option plus the sony z2 option so all the driver is ok .

i make my phone off and try to press the volume button up and connect the device and its ok there is black monitor and blue led up then i try to put

fastboot.exe -i 0x0fce getvar version and in fastboot.exe -i 0x0fce oem unlock 0x( and the key i get by email from sony ) but its the same can not do it so there is solution for this problem .

win7 64bit
[Xperia Z1 Android Development] gregbradley:
That's the problem, it tells you its not allowed to be unlocked, so you can not unlock it.

There is nothing you can do
[Xperia Z1 Android Development] snipeerz:
there is noway to unlocked it at all ?
[Xperia Z1 Android Development] 301stSpartan:
No way at all. And very very doubtful anyone will ever find a way in the future bc it would take a lot of effort and all the devs have better things to work on. Your only chance is to sell it and buy one that has unlock allowed
[Xperia Z1 Android Development] adz63:
Could any one give me a bit of help please

right my bootloader IS Unlockable

and i have installed all drivers etc but upon doing the getvar version bit in cmd it just sticks on waiting for device . i have been over and over it time and again from the sony site and this thread

any help would be grateful .

thanks

sony z2
[Xperia Z1 Android Development] gregbradley:
Download flashtool

Install it

Run drivers.exe from C;\flashtool\drivers

choose flashmode, fastboot and Z1 drivers

run flashtool

attach the phone whilst I t is turned on

turn phone off, attach in flashmode

unattach and attach it again in fastboot mode

Post the output from flashtool here
[Xperia Z1 Android Development] adz63:
i run the flash tool again now says i dont have driversfor some reason and when trying to get them again it says

google inc (win usb ) failed in the fastboot bit

and then in my device bit saying sony net failed

installed ok before and dont know why it says they are not there

Sorted it out . i didn't read the bit about disabling driver signatures properly ,

Now have unlocked bootloader time to flash

thanks for instructions etc
[Xperia Z1 Android Development] chauhanrvikas:
how to root

In OP u have written

"

MAKE TA BACKUP BEFORE UNLOCKING BOOTLOADER!

After unlocking bootloader the camera can not be used on stock ROM!

Relocking bootloader will NOT help!

Just restore TA, and the camera will work again!

if you want to backup the TA or keep ur DRM keys,first root the device and then check this out"

But can u tell me how to root first....
[Xperia Z1 Android Development] gregbradley:
Follow the link in my signature, you do not need to unlock the bootloader in order to root a phone
[Xperia Z1 Android Development] edwanteam:
I'm follow all step to unlocking bootloader, all is done. but now how to know if my bootloader is already unlock ?
[Xperia Z1 Android Development] gregbradley:
*#*#7378423#*#*

goto service info and configuration

The last line will tell you if its unlocked or not
[Xperia Z1 Android Development] edwanteam:
thank you
[Xperia Z1 Android Development] jluiscc25:
so if i'm ok if my phone says that i can not unlock the bootloader i have no other option that burn it and say horrible things to sony? or can i flash another firmware and that will change?
[Xperia Z1 Android Development] mirhl:
No way man

Next time avoid phones on contract and your chances could increase

(Btw I have had something like 20 xperias in my hands, and from tipo to Z all had unlockable bl.. )

I don't know where you live but at least here things seems perfect
[Xperia Z1 Android Development] jluiscc25:
mexico ¬¬ and i hate it
[Xperia Z1 Android Development] mirhl:
I think the entire north america is cursed by permanently locked bootloaders...

A pool on not unlockable/unlockable regions would be cute
[Xperia Z1 Android Development] jluiscc25:
well i read that in EUA T-mobile ask to sony for the non-unlockable bootloader for the Z1, because of the people that broke their phones and then ask for warranty ¬¬ so, Telcel did the same? beacuse they told me that they can change the "NO" status but i have to ask it directly to the labs office and that will lost my warranty (some thing that i don't care if i can unlock my Z1)
[Xperia Z1 Android Development] qlulp:
If I unlock bootloader (offically) and relock it using flashtool or the method below!

Can't I just unlock again using offical method again? Or do I HAVE to use this method below?
[Xperia Z1 Android Development] gregbradley:
If you use the TA restore method you can unlock it again using the official method.

If you relock it using flashtool, you have to use flashtool to unlock it again, making sure you have the correct file structure in place. If you are on 0.9.16.0 when you lock it, then all should be fine
[Xperia Z1 Android Development] jluiscc25:
Well i send my Z1 to the support because the first time i send it came back with a little scratches i didn't send it with, then 3 hours later the guy from the support and told me that they'll change me the phone because a factory damage; retrieving my phone ask if they came unlocked and well now i'm ready for installing a rom with my new Z! that can be unlocked :D
[Xperia Z1 Android Development] hrki:
I te way to unlock this?
[Xperia Z1 Android Development] mirhl:
Sorry, no way
[Xperia Z1 Android Development] jluiscc25:
is there a way to unlock the bootloader without using the Sony method?
[Xperia Z1 Android Development] mirhl:
Nothing since late 2011 phones
[Xperia Z1 Android Development] hxq88:
flashtool can help you unlock bootloader, just click, paste unlock code and wait it complete.
[Xperia Z1 Android Development] 0anth:
Is there a way to unlock the bootloader without losing the TA on firmware 757?
[Xperia Z1 Android Development] hxq88:
nope. unlock bootloader = lose DRM keys, no chance.
[Xperia Z1 Android Development] 0anth:
No way to downgrade to an official firmware?
[Xperia Z1 Android Development] hxq88:
what you mean ? you wanna downgrade or unlock bootloader?
[Xperia Z1 Android Development] 0anth:
Ultimately I want to be running stock fw rooted, but I want to keep my DRM keys. If there's no way to root on 757 firmware without loosing DRM keys, would downgrading be an option?
[Xperia Z1 Android Development] gregbradley:
You are asking 2 different things. Whenever you unlock the bootloader you lose information from the TA partition and hence DRM keys. However you can root without unlocking the bootloader. There is one method to do it in my signature, there are now better, quicker ways, but that will work for you
[Xperia Z1 Android Development] DooMLoRD:
is you restore TA backup then bootloader will be relocked!

all software components will continue to work but you WILL NOT be able to flash custom kernels/ROMs (like CM/AOSP/AKOP/PAC)...
[Xperia Z1 Android Development] gallardo5:
Ahh, so that's how it works. Sorry, I was never caring about drm keys, but now camera is important. So will be there any way to unlock bootloader to flash custom kernel AND keep camera working?
[Xperia Z1 Android Development] inffy:
What is the reason for Sony to break the camera if you unlock the bootloader?

Has this always been the way with the Xperia Devices? (Z1 will be my first Sony Xperia device). Same thing on the XPZ?
[Xperia Z1 Android Development] DooMLoRD:
well, as of now NO...

we will have to wait for a workaround from user community or for sony devs to provide alternative... may be a firmware upgrade will fix this...

this is the first time something like this is happening... we will have to wait and watch...
[Xperia Z1 Android Development] DooMLoRD:
Just checked out the Xperia Z1! Awesome device!

https://twitter.com/DooMLoRD_XDA/status/380013737219862528
[Xperia Z1 Android Development] pinn___________:
Is camera definitely confirmed as not working? I find this a bit odd as Sony themselves even provide bootloader unlocking on their site with no mention of this.
[Xperia Z1 Android Development] harfot:
...and with DooMKernel? :cool:
[Xperia Z1 Android Development] inffy:
The sony method doesn't officially even support the Z1 at the moment so it could just be a bug in the unlocking process/method. Hopefully Sony will fix it soon. I think someone from the FreeXperia Team did already contact Sony about it.
[Xperia Z1 Android Development] DooMLoRD:
I already informed the Sony devs... they are working on a solution...
[Xperia Z1 Android Development] inffy:
Great. Good to know that atleast it seems it wasn't intentional on Sonys part to break the camera if you unlock the BL
[Xperia Z1 Android Development] kumbangdesa:
Look like Z1 user will be stick to stock rom until the camera problem solve..

Z1 is camera beast for now so it not worth to sacrifice it just for playing with custom rom or kernel..:crying:
[Xperia Z1 Android Development] bbkdhumm:
Hello,

This might be a silly question but U never had a Sony device so...

If you backup TA, unlock bootloader, install Rcovery, flash custom rom then restore TA, won't it work ?
[Xperia Z1 Android Development] inffy:
As stated earlier in this thread, the bootloader will be relocked
[Xperia Z1 Android Development] bbkdhumm:
Yes, I know. And so what ? Bootloader locked means custom rom can't boot ? I thought it denied the poosibility to flash new rom, not denied BOOT them.
[Xperia Z1 Android Development] DooMLoRD:
on locked bootloader custom kernels WILL NOT BOOT...

so if ur custom ROM can work on PURE STOCK kernel then fine...
[Xperia Z1 Android Development] bbkdhumm:
Ok. Thank you for this explanation. Looks like I'm gonna wait a little more before getting Xperia Z1... :(
[Xperia Z1 Android Development] DarthEwok:
Is there any other way to unlock the bootloader? My Z1 from O2 in showing as Bootloader Unlock Allowed: No :crying:
[Xperia Z1 Android Development] gregbradley:
No.
[Xperia Z1 Android Development] delewer:
Be patient

"Kexec" is the solution for "unlock bootloader allowed : no"

But it's in studdies

We must "kexeced" guest custom kernel with a patch (don't know if it's a full or partial), then boot this patched kernel (doomlord, cm10, etc...) can boot on locked bootloader via kexec

Wait and see...
[Xperia Z1 Android Development] DarthEwok:
Thank you for offering me some hope.
[Xperia Z1 Android Development] mirhl:
Just to precise.. You don't "loose" TA partition

When you unlock bl the process changes a specific part of the TA partition

Where IMEI, DRM keys and bootloader status are stored together

You can't force it (yet...) because you would lost imei then

And anyway you can at any time backup your TA so you could try if drm keys are really that important for you
[Xperia Z1 Android Development] gregbradley:
Thanks, I edited my post to be more accurate, its what I meant, just wrote it in a rush

To be precise, you must be rooted before you can backup the TA partition and you must do it before you unlock the bootloader.
[Xperia Z1 Android Development] mirhl:
Yes I should have said that too

Anyway [MENTION=3843529]gregbradley[/MENTION]

You are a moderator here.. Could you do something to all those -old- posts with just written "xperia z1 has broken camera after bootloader unlock"

I see too many newcomers who just read OP and start to spread FUD
[Xperia Z1 Android Development] gregbradley:
I am sorry, you are mistaken, I am not a moderator, just an RC (Recognised Contributor) I have no way of editing any one elses posts or issuing sanctions.

However, if you feel that a thread/post is breaking the rules or going OT (A bit like this post) then every user is entitled to report it the moderators by pressing the orange triangle in the top right of the post.
[Xperia Z1 Android Development] mirhl:
Ops, I must have confused

Anyway not that they are purposely "breaking" rules

They simply stop after reading the title (dated october 2013): UB breaks camera

I think this is the third I have seen in the last month and I was wondering if somebody could place a big red header: [UPDATE: camera works with every bootloader status]

But the only crime here would be lazyness nevertheless.. :p
[Xperia Z1 Android Development] ryandxter:
It doesn't work for my friend's phone :( he asking for my help but I have no idea, sadly him doesn't backup TA

I've already successful relocked, but whenever I try to re unlocking it again, fastboot said "device is already rooted"

I've tried too re unlock with FT, it says done and no error but this is the result:

ini service menu *#*#SERVICES#*#* rooting status it keep says "unknown",, but whenever I relocked bootloader (with FT too) it's succeed and back to "unlocked bootloader allowed: yes"
[Xperia Z1 Android Development] mirhl:
Try using standalone fastboot (not inside flashtool)

Use fastboot oem unlock 0xKEY
[Xperia Z1 Android Development] ryandxter:
which one?

do you mean this ?

---edit:

that's didn't succeed too
[Xperia Z1 Android Development] mirhl:
What does it say?
[Xperia Z1 Android Development] ryandxter:
same with previous flashtool, it's said "device is already rooted"

i've already re attach devices in fastboot but the same result
[Xperia Z1 Android Development] joe zack:
need to unlock my sony z ultra customer lock

there is way to remove the user lock,,,,,,,,,,for sony z ultra canot give more info cuz phone is lock there is no way to read more info

there is something like other phones hard reset or master rest.............thank you
[Xperia Z1 Android Development] JJones45:
will I lose root by unlocking the BL?
[Xperia Z1 Android Development] mirhl:
No. Root is "saved" on system partition, whereas unlocking bl just wipe data partition

Nevertheless, with unlocked BL.. Root is always possible with a click.. So I wouldn't be bothered by this