yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] chubby65:
You've just made my day mate :thumbup:
[Xperia Z1 Android Development] DooMLoRD:
I say yes :)

Does that make it 110% now? :P
[Xperia Z1 Android Development] fizfaka:
sorry for stupid question, if i relock my bootloader without TA backup can i get my x-reality/bravia engien fuction back?
[Xperia Z1 Android Development] mamenvn:
Why i need to downgrde to 42 and backup TA?, Can i upgrade to the 4.3 and backup?. difference between two methods
[Xperia Z1 Android Development] gregbradley:
You do not need a ta backup, it is just recommend. And if you want one you need root so you have to downgrade because currently the only way to gain root on 4.3 is to unlock the boot
[Xperia Z1 Android Development] Sgt.Sledge:
i tried to unlock my bootloader but in cmd window and in flashtool it says

FAILED (Remote: command cannot be succed)

What should i do?

All Drivers are installed. My Desktop PC is a Windows 7 64 Bit-System
[Xperia Z1 Android Development] Potatoman:
Hi all,

I'm trying to unlock my bootloader now that the camera issue is resolved, and as mentioned on the Sony Unlock instructions page, I checked the status in my service menu only to find I can't- "Bootloader unlock allowed: no"

Out of curiosity, I tried to proceed regardless, and was met with this error:

Is there a way around it, or any logic/reason why I can't?

Apologies if this should be in Q&A, it seemed more pertinent to this thread. Let me know if not and I'll move it.

Thanks in advance.
[Xperia Z1 Android Development] gregbradley:
Because of this

Bootloader unlock allowed: no.

End of story!
[Xperia Z1 Android Development] Potatoman:
Funnily enough, I got that bit. What I'm asking is if there's any information floating around as to how this is enforced, as in the technical details behind it. Is there some form of restricted access to fastboot on Sony handsets on certain models for some reason? Has anyone been able to bypass it on other models? Is there anywhere I can learn more about it? I've been searching around too but for some reason I thought maybe there could be some meaningful information to be found in a thread entirely devoted to bootloader unlocking.

It's my first Sony handset, so I'm just trying to learn a bit more about what I'm dealing with here. If you don't know any more about it that's fine, but next time please don't jump the gun and assume I'm too stupid to even understand the sentence in the console window. I get that you must deal with a lot of stupid questions in these kinds of threads but it's pretty alienating to anyone with a genuine interest when you give answers in that manner. Just comes across kinda condescending I suppose.

Thanks anyway.
[Xperia Z1 Android Development] gregbradley:
Try the first hit, in the link to the Xperia T forum.

http://bit.ly/JZ5VSw

Apologies, but I am slightly losing my mind at the moment with this forum. Since the 4.3 update the amount of PM's I am getting is astronomical. Also, there are about 30-40 posts every day asking the same things, which just makes finding the posts with the correct information in more difficult to find.
[Xperia Z1 Android Development] Potatoman:
No worries, I appreciate you taking the time. Hadn't spotted that one. Thanks for the lead.
[Xperia Z1 Android Development] Omega Kaos:
I have read through this thread nearly 5 times now and i'm not fully understanding what will happen if i unlock the bootloader after the 4.3 update

I understand that the camera will be fine

i have also read that it is recommended to backup the TA partition (although not really needed)

what i don't quite get is if i unlock the boot loader would i still lose the DRM keys and the bravia xreality engine

thanks in advance

EDIT: i also assume the only way to have a recovery on this device is through flashing a custom boot.img with the recovery already added.

I plan on using DoomKernel, would i still be able to use stock/ and custom rom while using this kernel?
[Xperia Z1 Android Development] mharckk:
yes you will still lose drm and xreality so thats why its better to backup your TA, cause we still dont know what sony did, to fix camera bug, so its better to have backup.

as of flashing roms, yes you can still used stock roms but you cant upgrade or repair via pc companion.

you can flash custom roms as long as its base is stock roms (not cm).
[Xperia Z1 Android Development] Omega Kaos:
Ok that helps me alot, just one more thing to clarify if you could, i have read on some threads that it is possible to flash custom stock roms without unlocking the bootloader, if i flashed the using the said method would i still lose the drm and xreality or would the rom not function correctly.

if this is the case i think i will stay with stock and wait for sony to fix the issues

Thanks Again
[Xperia Z1 Android Development] Hobbes2099:
My only concern for flashing a custom ROM or trying to unlock the bootloader is the potential loss of the Bravia Engine (X reality).

I've seen a few sample pictures and I believe I would, in fact, miss the additional screen quality.

Browsing through the threads, I find this:

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

Could an unlocked Z1 use this extracted app?

Is the point moot now that 4.3 is out for the Z1?

Or does 4.3 for the Z1 only help stabilize the camera?
[Xperia Z1 Android Development] mharckk:
flashing roms without unlocking will not lose your drm and xreality.

but if youre on 4.3 i guess theres no direct method to gain root.
[Xperia Z1 Android Development] M-Dawg:
If the bootloader is unlocked, and I flash a custom xperia rom, will I still be able to receive OTA updates?

---------- Post added at 05:06 PM ---------- Previous post was at 05:03 PM ----------

Is losing the bravia and xreality engine really that big of a deal? I have xreality switched off anyway since I either can't notice a difference, or when I can, I don't like the way it looks.
[Xperia Z1 Android Development] Hobbes2099:
I'll turn off x reality for a few days and see if I can actually notice the difference. One threads are posting comparison images. They're obviously stock photos cherry-picked to show the improvement.

Is battery performance affected by x reality?
[Xperia Z1 Android Development] shem2409:
If you flash a stock based ROM such as monxdified, you do not need an unlocked bootloader.

It is NOT possible to flash custom kernels without unlocking the bootloader.

If you want a fully functional root on 4.3 which allows write to system partition you DO need to unlock the bootloader and sideload a custom kernel. As of now there is no alternative method to get a fully functional root on 4.3. You can still get root on 4.2.2.

There are no issues here that Sony can fix. Bootloader unlocking and thus removing DRM keys will always cause the technologies such as Bravia and X-Reality to stop functioning. It is just the way that they are implemented in the system. You will regain them once you relock your bootloader. That's why you need the TA backup.
[Xperia Z1 Android Development] Omega Kaos:
Thanks for the info, one last question before i flash :) if i unlock and flash a custom rom i loose the drm keys but if i restore the ta partition after would this relock the bootloader or cause an issue with the rom/relock the device
[Xperia Z1 Android Development] shem2409:
You can ONLY restore TA backup on stock rom. If you attempt to relock on a custom ROM you will softbrick your device.
[Xperia Z1 Android Development] Omega Kaos:
Thanks for the quick reply, I'm now off flashing :p
[Xperia Z1 Android Development] zhihao4456:
Now im on a custom rom with doom kernel~ Where do i get pure stock kernel to relock my phone?
[Xperia Z1 Android Development] tsiftsism:
So, if i dial *#*#7378423#*#* to access the service menu, tap Service info > Configuration > Rooting Status and the Bootloader unlock allowed says No, it means that i'll never be able to unlock it, root the phone and flash a custom rom?

Or there is another way to achieve it and i'm just not aware of?
[Xperia Z1 Android Development] gregbradley:
You can still root on 4.2, just not on 4,3 because currently you need a custom kernel to root on 4.3

In the future there may be a way to root on 4.3 without unlocking theboot
[Xperia Z1 Android Development] kyerie030:
Hi guys, z1 newbie, just want to confirm, unlocking the bootloader removes the Track ID capability and the Bravia Engine?

------------ edit

Do we get this back if we re-lock the bootloader?
[Xperia Z1 Android Development] tiunilohmu:
Bravia Engine and X-reality are gone. But I'm sure Track ID is still working, at least for me. I tested my work and it's working fine.
[Xperia Z1 Android Development] Jsilver73:
Once bootloader is locked again is it possible to send back for warranty? Or do Sony track as soon as they give the unlock code once you send the emei number?
[Xperia Z1 Android Development] x016x:
How long does it take for Sony to send you the Bootloader Unlock code? I've been waiting for this e-mail from them for a while now and I haven't gotten it yet. How long does it typically take?
[Xperia Z1 Android Development] Hobbes2099:
This is news to me, one can get their Z1 unlocked just by asking?

Does this apply for devices that say No in the unlockable settings?

Sent from Tapatalk using Xperia Z1 (C6906)
[Xperia Z1 Android Development] n0bleINtP:
Last time I got a code emailed in about 20 seconds - its automated and very quick.
[Xperia Z1 Android Development] R4ZZ0R:
guys, is that possible to relocking bootloader after flashing custom kernel?
[Xperia Z1 Android Development] colors:
Wrong podt
[Xperia Z1 Android Development] kyerie030:
Thanks for the info, trackID is quite useful although i turn off xreality and don't really use it.
[Xperia Z1 Android Development] shem2409:
No, that will brick your phone.
[Xperia Z1 Android Development] Jsilver73:
[MENTION=2784807]DooMLoRD[/MENTION] says - DO NOT USE ANY FTF TO RELOCK BOOTLOADER! THOSE OLD FTFs DO NOT WORK FOR THE 2013 DEVICES!!!

before u relock bootloader u have to be on pure stock kernel (flash only the kernel.sin using flashtool), else the device WILL NOT BOOT after relock

Please can someone show me where to get the correct ftf and kernel.sin from please.
[Xperia Z1 Android Development] xasbo:
This is a massive list of stock FTFs, take your pick: http://xdaforums.com/showthread.php?t=2469191
[Xperia Z1 Android Development] iamflamez:
so i see there is a BLU button on flashtool, I'm guessing this is for other sony devices not the Z1,

Is there going to be a way to unlock our bootloader unoficially (not through sony) or is there nobody bothered about possibly being refused warranty? I want to unlock my BL but I dont want issues if i get a problem with my phone in future

The main reason I want to unlock is to try faux sound, is there a way to use faux sound without this kernel, when I was on galaxy s2i purchased an app from supercurio called voodoo louder which boosted the sound on kernel level on my stock kennel
[Xperia Z1 Android Development] Hobbes2099:
To clarify, all bootloaders are locked. Some Z1 can be unlocked.

There are currently no known ways to unofficially unlock the bootloader: Either Sony allows it and helps, or you're stuck with a locked bootloader.

Sent from Tapatalk using Xperia Z1 (C6906)
[Xperia Z1 Android Development] Jsilver73:
so these are all safe to relock bootloader?
[Xperia Z1 Android Development] xasbo:
Those are all stock FTFs, but I cannot vouch specifically for relocking. In theory, yes, but I have not done this.
[Xperia Z1 Android Development] DooMLoRD:
u cant relock the Z1 using FTF...

only way to properly relock is to restore TA backup...
[Xperia Z1 Android Development] Jsilver73:
bootloader locking

OK, just to confirm - I just flashed with .290 branded vodafone uk ftf and relocked my bootloader and booted fine - thank you all for your help here - :)

---------- Post added at 03:12 PM ---------- Previous post was at 03:09 PM ----------

Oh - I'm glad I didn't see your post until now because (as above) I just flashed ftf .290 vodafone uk and relocked and all is working fine - taking it back to the shop now! - [MENTION=2784807]DooMLoRD[/MENTION] - thank you for all your work here :good:

EDIT: - just to be clear for future users I did not restore TA ;)
[Xperia Z1 Android Development] xasbo:
I wasn't saying FTFs relock, I know that. Stock FTFs are safe to use with a relocked BL because of the stock kernel that's included.

Is it strictly true that TA relocks? Or are you just saying that a stock kernel won't boot with a bad TA? My expectation would be that it would just break the DRM.

edit: ah, I found your post here: http://xdaforums.com/showpost.php?p=49209469&postcount=358. So does this mean that the TA partition is where the flag for locked/unlocked/not-unlockable BL must reside?
[Xperia Z1 Android Development] Jsilver73:
relock bootloader z1

Erm - I hate to be repetitive but this may really help others -

Restore FTF. 290 Vodafone UK and bootloader relocked no problem with flashtool - checked and bootloader definitely says 'bootloader unlockable: yes' exactly the same as when I first got the phone. Just took phone back to Vodafone and they were quite happy with it! ;)
[Xperia Z1 Android Development] munjeni:
I will be glad if some one give me TA backup (before unlocking) and another TA backup (after unlocking), just want to analyse dumps and probably find where is algorithm in bootloader disasembly! Any one please?
[Xperia Z1 Android Development] mirhl:
here. are. some. further. info about what have been already discovered

and imho, you had better starting looking at 2012 xperia, which I heard having a less tightening security (like your forsaken go :silly:)
[Xperia Z1 Android Development] munjeni:
Hi, but I need only dumps! Just want to diff them and find offset for modified data, than will research in disasembly, than will try to reverse process (by researching for crypto function..or key... something). Need these 2 TA dumps first! Here is some sucess in disasembly where I can search for it...
[Xperia Z1 Android Development] mirhl:
If i'm not mistaking these are my sister's xperia V TA dumps

I'm sorry but unfortunately the locked and unlocked dumps are 20 days aloof

I even included an additional dump, taken after a reboot (with unlocked status)

If you search in the threads i previously linked there should be others backups

-removed file-
[Xperia Z1 Android Development] munjeni:
Sorry but I need 100 percent sure right backups, I no want to waste my time if these dumps is not what I espectiing! Need to have 100 percent right dumps! If you not sure please delete attachment.
[Xperia Z1 Android Development] mirhl:
Lol!

I was saying if im not mistaking because i felt noob for the 20 days delay of the second dump, which could make more difficult your debugging

Im sure they are right
[Xperia Z1 Android Development] $$ D@ ViNcI $$:
Hi. It is possible to root 4.3 so that i downgrade to .534 version firmware (im on .257) and then root the phone and then upgrade via OTA with the survival mode in SuperSU to 4.3 (.290). Also if I want to unlock the bootloader so I need to backup TA (i dont need but its recommended) and now when I want to re lock the bootloader (so lets say I have unlock it on .534 version) can I re lock the bootloader on 4.3 (.290) version or I need first to downgrade to 4.2.2 (.534) and then reclok the bootloader with the TA backup? (Also my version is 14.1.G.2.257 and software ID 1276-4384 R2A so i need the FTF for this version I cant find it on the FTF Mega Collection so if someone know another site with the FTF it would be good). (munjeni i will send you tomorrow the backups if i do that if you dont have them jet) Thanks :)
[Xperia Z1 Android Development] caput1234:
Hi my phone is bootloader unlock :allowed yes

but it is network locked (sim locked)

Is there a problem to unlocking my bootloader?thx
[Xperia Z1 Android Development] $$ D@ ViNcI $$:
I think you can coz they do not depend on each other. But wait that someone experienced answers :)
[Xperia Z1 Android Development] LSD DREAMER:
This might sound stupid to the experienced developers but isn't it possible to take the sony 4.3 update and apply the root and the changes to that and then to just install the Sony update. Maybe change the recovery at the same time to a third party recovery. If I had more knowledge I would try it myself. I'm new to Sony and am already missing my Samsung. I never had to unlock anything
[Xperia Z1 Android Development] mirhl:
Rooting is not the problem.

There will be always exploits foind to achieve this

BOOTLOADER unlocking is needed in order to change kernel which is the software "core" of your phone

And since 95% of times we have no recovery partition, recovery is always included in the kernel

So no custom kernel = no recovery (besides of some rare cases of locked bootloader limited recoveries)
[Xperia Z1 Android Development] LSD DREAMER:
I just want root not really cared about custom roms at the moment. Just want to be able to remove some Sony apps and make my SD card to be seen ass as system partition. I need root for both and to me at the moment it's just to risky to mess around with the bootloader. To unlock the bootloader you need to backup ta partition to that you need root on 4.3 if I'm not mistaken you need to unlock bootloader to get root. Catch 22
[Xperia Z1 Android Development] $$ D@ ViNcI $$:
Actually you can have root on android 4.3 without unlocking the bootloader follow this tutorial http://xdaforums.com/showthread.php?t=2572988 and also you can follow this video http://www.youtube.com/watch?v=d70bBjL8PNI and you dont need to downgrade first to .257 I have only downgrade from 4.3 (.290) to 4.2 (.534) and rooted the phone and put the recovery just follow the tutorials :)
[Xperia Z1 Android Development] munjeni:
Hi! Here is my analyse:

Thanks for your dumps but something is strange there (See comments) and is not usefull by now. Allso all 3 dumps is diferent too.

If some one have a 2 dumps (Please give me by pm, thanks!):

1. dump from locked phone

2. dump after unlocked phone
[Xperia Z1 Android Development] mirhl:
[MENTION=4120742]munjeni[/MENTION]

Yeah you exactly got it

I had stock (of course) before unlocking..

And when i took the 2nd dump i had already flashed 2 custom rom and kernels..

Sorry :(
[Xperia Z1 Android Development] munjeni:
Good to know that! Thanks for your willing of help!
[Xperia Z1 Android Development] mirhl:
and I won't be able to try again before official stock 4.3 for V ;(

anyway, i found in the old [MENTION=3206945]XperianPro[/MENTION] thread some dumps

http://xdaforums.com/showpost.php?p=36053879&postcount=83

http://xdaforums.com/showpost.php?p=36093520&postcount=120

hope these will help!
[Xperia Z1 Android Development] munjeni:
Got analysed first link! That was realy easy for ta! Hope there is not any other things modified (for example drm keys)!? There is only one line diferent. What I found:

1. see post http://xdaforums.com/showpost.php?p=36053879&postcount=83

2. there is unlock code Unlock Key: 7766E12B948901A7

3. diferencie is simple (see attachment)

Next thing. I don't know why these ta backup is not the same like your ta backup (have size in MB diferent) and allso I not know if in our ta dump is included drm keys?

Probably right relock for xperia s is writings of instruction 8b2 2 0 0 back to phone for relocking!?
[Xperia Z1 Android Development] munjeni:
Xperia P ta analyse http://xdaforums.com/showpost.php?p=36093520&postcount=120 . There is 3 backups (before unlock, after unlock, after relock). Thats diferent than Xperia S. But allso see diferencies after relocking (probably we can remove some instructions which still exist after relocking... blabla

One more thing which I need info is how these guy from http://xdaforums.com/showpost.php?p=36093520&postcount=120 created these ta backups?
[Xperia Z1 Android Development] XperianPro:
You wont really find anything because bootloader simply skips those lines if specific requirement is not met. I manually inserted them to my phone but it did not unlocked bootloader,allowed fastboot or disabled signature verification.

Im not sure what you are trying to do anyway because you need their private key to do any modification to master address.
[Xperia Z1 Android Development] munjeni:
I need to understand why botloader after relocking have broke my drm keys (keys is there but probably relocking method is not 100 percent ok. You can see diferencie on attacment 2 and 3). First of all I not understand how guy from post -> http://xdaforums.com/showpost.php?p=36053879&postcount=83 generated hex output like this:

I have dumped ta but format is binary and not hex SPECIFIC like from these guy! Do you have idea how he generted his backups? In his hex format based dump thats easy to analyse, for example we can see offsets for instructions in bootloader easilly! For example (if you look into picture) there is detailed address to all instructions of the bootloader (thats easy now to search in bootloader disasembly trought his hex files)...
[Xperia Z1 Android Development] XperianPro:
Well I gave him instructions how to do TA backup via Flash Tool because that one was easy to modify and read.

I used old version then not sure does new one supports this.
[Xperia Z1 Android Development] munjeni:
I tried hexdump, objdump...etc but unable to generate the same specific output like these guy has done!
[Xperia Z1 Android Development] $$ D@ ViNcI $$:
Here again my TA Backup (My phone is Xperia Z1 and "Your unlock boot loader key is:*B78DA280D29A01FB")

https://www.mediafire.com/folder/fm83lps8abf0o/TA%20Backup

1. and 2. attach files are from clean stock and and I have backup them on win 8 and 7 and after the backup I have unlock my boot loader without reboot ;

and the 3. attach file is from first boot with unlocked bootloader (so without reboot also)
[Xperia Z1 Android Development] munjeni:
Is locked bootloader ta dumped this day or you have them from "yesterday"??

Edit:

ok got them! First and seccond locked dump is identic. Thank you a lot!
[Xperia Z1 Android Development] $$ D@ ViNcI $$:
First 2 TA Backups are the same (Locked bootloader) only from different operating systems (one from win 7 and the other from win 8)

The last one is from UNLOCKED Boot Loader and is only from win 7 (I can make a backup from win 8 if you need (have not jet rebooted the phone))

And all of them are taken in the last 1-2 h (so today)
[Xperia Z1 Android Development] LSD DREAMER:
Is there a way to unlock the boot loader without going thru Sony. I don't want to loose my warranty
[Xperia Z1 Android Development] DooMLoRD:
no
[Xperia Z1 Android Development] ekanix20:
For some reason i can't install the Fastboot Drivers. Trust me i have tried exactly everyting there is to try. I cant seem to figure it out.

Can someone give me any tips? :)

EDIT: If I for some reason already have the Drivers installed how long should it take to get a response from the device?

EDIT 2: Solved it!!!
[Xperia Z1 Android Development] chaosdoctor:
Guys please help me. I have xperia z1 and tried to ynlock the bootloader but i get this message. Whats wrong ? :confused:
[Xperia Z1 Android Development] mirhl:
[MENTION=4252618]chaosdoctor[/MENTION] Check if your phone is bootloader allowed:yes

(The sony unlock bl page explains the procedure)
[Xperia Z1 Android Development] Jsilver73:
However - I did have a z1 and unlocked bootloader (using sony code etc and flashtool) and relocked it after flashing (using flashtool) the appropriate FTF and sent it back absolutely fine - they do not notice so long as bootloader is locked and device is working fine with stock ;) I too was skeptical however it has been 2 weeks or more since I sent it back and I have had absolutely no come backs - all is fine :)

Think about it - if retailer had to check whether imei number had had bootloader unlock code sent it would take a lot of time - if they get the phone back and all works as it should why would they even think about it - besides, just because you requested the code from sony doesn't mean that you actually used it to unlock - AFAIK there is no way to tell that the bootloader has been unlocked anyway once it is relocked!

---------- Post added at 11:38 AM ---------- Previous post was at 11:37 AM ----------

see above :good: