yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] mirhl:
Never heard of such situation
[Xperia Z1 Android Development] NexusGTS:
Thank You ! Allready did unlock and relocked it :lol:
[Xperia Z1 Android Development] XDM inc:
is there a list of model numbers that can be bootloader unlocked? it has to be a unbranded unlocked one or just not a t-mobile?
[Xperia Z1 Android Development] mirhl:
Unbranded unlocked.

Here even carriers sell unlocked btw.
[Xperia Z1 Android Development] icet925:
If I unlock bootloader and relocking it, will the DRM keys be restored or lost forever?
[Xperia Z1 Android Development] mirhl:
DRM keys are preserved only if you backupped them. Otherwise you can just relock (useful for RMA)
[Xperia Z1 Android Development] MissyKoneko:
Can this be use for the Z Ultra? Not the original bootloader from Sony because the files are all messed up tho
[Xperia Z1 Android Development] gauravbhakuni90:
It is specifically for z1

Sent from my C6902
[Xperia Z1 Android Development] icet925:
In your opinion, is DRM keys even useful?

I see not much difference in Bravia Engine.

I have it backed up though
[Xperia Z1 Android Development] mirhl:
If you don't already see it, then I'd say it's not very useful for you.

Though personally I can see the difference and I can't say I dislike it.
[Xperia Z1 Android Development] ptoner:
Guys, I know you can unlock the bootloader via Sonys website. Only thing is, my phone cannot be unlocked via that method. Is there another way to do this and what are the possible issues, if any?

Thanks.
[Xperia Z1 Android Development] MrBratka:
Sony website just gives you the unlock code and instructions.

---------- Post added at 02:55 PM ---------- Previous post was at 02:50 PM ----------

After unlocking bootloader (that was a long time ago) I have lost my DRM keys. But TrackID, Gracenote metadata info updater works as it was before unlocking only thing I have missed is that i couldn't use MirrorCast from my phone (Found a simple fix after rooting my Z1 it's fully functional now (that fix works for most xperia devices. need link? just ask). And I don't know about the BRAVIA Engine i see no diffirence before and after unlocking. So what's the deal with DRM keys why should I need them at all? Just asking because I am gonna buy a new XPERIA in coming years.
[Xperia Z1 Android Development] NexusGTS:
Quick question. If i unlock my bl i can restore the drm keys with it being unlocked or i have to relock it back if i want to restore the drm keys?
[Xperia Z1 Android Development] gauravbhakuni90:
Have to relocate it back to restore drm keys.
[Xperia Z1 Android Development] NexusGTS:
Thanks buddy :) . It passed a long time since i unlocked and relocked and totally forgot about this small detaill :))
[Xperia Z1 Android Development] OmegaRED^:
Win 7.

On fastboot driver won't install.

Windows says "driver incorrectly installed"
[Xperia Z1 Android Development] mirhl:
So open device manager and tell it it's going to have a better time installing it.
[Xperia Z1 Android Development] imranaryan:
how to relock bootloader and restore DRM keys
[Xperia Z1 Android Development] benplay:
Hi dudes i followed the procedure, my data have been full wiped, but i have already access to trackid. How to know the state of my bootloader please? Sorry for my bad english
[Xperia Z1 Android Development] imranaryan:
a small help would be appreciated
[Xperia Z1 Android Development] mirhl:
Relocking procedure is explained here.

If you want to get also drm back, then you should already know the procedure, given it's only possible if you had it backupped.

Otherwise there's no way.

Even though you can get patched the "symptoms of lack"
[Xperia Z1 Android Development] Astra1:
When I try to unlock I get it "The device is already rooted error". Even though I didn't root it. I am on stock firmware 14.2.A.0.290 .
[Xperia Z1 Android Development] reking:
Just tried to relock. I followed the very simple 4 step guide in the second post.

Connected in flash mode. No prompt to "relock" appeared, it just asked me to connect in fastboot. I did. Now it seems it unlocked my phone even though it was already unlocked.. Okay? I booted it. Boom, all my apps are wiped and phone is reset.

Oh and the phone isnt actually relocked. Still unlocked...
[Xperia Z1 Android Development] Ahile32:
Xperia Z1 14.6.A.1.236

I have problems with Xperia Z1 C6903, 14.6.A.1.236 version.

I can not unlock the bootloader.

21/014/2017 19:14:58 - INFO - Device connected in flash mode

21/014/2017 19:14:59 - INFO - Opening device for R/W

21/014/2017 19:14:59 - INFO - Reading device information

21/014/2017 19:14:59 - INFO - Phone ready for flashmode operations.

21/014/2017 19:14:59 - INFO - Opening TA partition 2

21/014/2017 19:14:59 - INFO - Current device : C6903 - BH905YG006 - 1276-0557_R2D - 1274-8313_14.6.A.1.236 - EURO-LTE_14.6.A.1.236

21/014/2017 19:14:59 - INFO - Closing TA partition

21/014/2017 19:14:59 - INFO - No loader in the bundle. Searching for one

21/014/2017 19:14:59 - INFO - Processing loader.sin

21/014/2017 19:14:59 - INFO - Checking header

21/014/2017 19:14:59 - INFO - Flashing data

21/015/2017 19:15:00 - INFO - Loader : S1_Root_6732 - Version : MSM8974_23 / Boot version : S1_Boot_MSM8974_Rhine1.3.1_LA1.04_16 / Bootloader status : NOT_ROOTABLE

21/015/2017 19:15:00 - INFO - Max packet size set to 512K

21/015/2017 19:15:00 - INFO - Opening TA partition 2

21/015/2017 19:15:00 - INFO - Start Reading unit 00 00 08 B2

21/015/2017 19:15:00 - INFO - Reading TA finished.

21/015/2017 19:15:00 - INFO - Closing TA partition

21/015/2017 19:15:00 - INFO - Ending flash session

21/015/2017 19:15:00 - INFO - Your phone bootloader cannot be officially unlocked
[Xperia Z1 Android Development] Dan_34:
hi... is there someone who succeeded to unlocking the bootloader sony xperia z1 japanese model SO-01F?

i have one of this phone with unlock sim provider..

Rooting status:
Bootloader unlock allowed : yes
[Xperia Z1 Android Development] vrba28:
Unlock bootloader Xperia z1 (C6903) error

Hello,

I need help, my Xperia Z1 (C6903) after my battery failure was locked. I can not run it anyway. I replaced the battery, but the phone does not start, only the light flashes red. After several hours of surfing through forums and learning, I installed xperia conpanion, flashtool, minimal adb and fastboot, flashtool driver. After reading the forums I concluded that my bootloader was locked so I tried over minimal adb and fastboot to unlock the bootloader but I failed. The Xperia companion recognizes the cell phone and runs the repair software properly. ADB fastboot finds a cell phone but can not unlock the bootloader with the code obtained. Flashtool (Emma) recognizes the cell phone but reports a mistake that the bootloader is locked. I tried everything, I just do not know what to do next. Please help if someone can help with the advice, Thanks.
[Xperia Z1 Android Development] Gondinez:
Hi I'm under android nougat with lineage OS and I want to go back to LP. Restoring my phone won't work because my phone has unlocked bootloader. Can I try your method with this rom? How can I com back? Thanks in advance.

Ps: I would like to rollback so I could try your Doomkernel!
[Xperia Z1 Android Development] inffy:
Might be a silly question..I backed up my TA if I now unlock the bootloader the camera will break but is it possible to restore the Ta partition and keep the unlocked bootloader?
[Xperia Z1 Android Development] 301stSpartan:
No. Restoring the TA partition will fix your camera but will also relock the bootloader
[Xperia Z1 Android Development] DennisDD78:
So, TA restore will lock the BL automatically? No need to lock the BL before TA restore?
[Xperia Z1 Android Development] Desperanto86:
yes. only flash stock kernel before restoring
[Xperia Z1 Android Development] MightyBear007:
Then No Kernel Development Can be done i guess :P
[Xperia Z1 Android Development] inffy:
There is already custom kernels available for example Doomkernel.

So your statement is totally false.

Sony will soon fix the breaking camera with unlocked bootloader.
[Xperia Z1 Android Development] MightyBear007:
its true in the present

dont forget that the "update" hasn't come yet
[Xperia Z1 Android Development] inffy:
Who cares when we know that Sony will fix it as they have said they will...
[Xperia Z1 Android Development] muslim187:
Have asked german Sony Support through my open bootloader my camera dont work.

They said my warranty terminated and they are dont care about that. And they're no software solution for that problem -.-
[Xperia Z1 Android Development] Jacob_Bentzen:
Any news about a fix for the bootloader?? :)
[Xperia Z1 Android Development] Desperanto86:
nope
[Xperia Z1 Android Development] Michealtbh:
I'm beginning to lose hope that it'll ever be fixed, I'll have probably moved on to the Nexus 5 if it ever is fixed anyway
[Xperia Z1 Android Development] devwest:
HElp

Help

May be out of luck from what I have been reading. Is the TA backup specific to each device? I have unlocked without the TA backup and of course cam doesn't work. Can I use another TA partition from another z1 and if so, is anyone willing to share?
[Xperia Z1 Android Development] 301stSpartan:
No no no no! You will HARD BRICK your device if you flash a TA partition other than the one that came with YOUR phone. You are likely just out of luck completely unless Sony's bootloader unlock fix (IF it ever comes) magically fixes your camera.
[Xperia Z1 Android Development] frank060272:
Oké ik am new with the Z1 and offcourse ik am going for custom roms but what is a TA back-up?
[Xperia Z1 Android Development] 301stSpartan:
The TA partition on your phone stores things like your DRM keys. These device specific keys are what allows Sony's proprietary stuff like the Bravia engine and the camera (I assume the BIONZ image processing is the culprit here) to work or not work. If the DRM keys are lost then these things won't work.

You can very easily backup your TA partition - as long as you have a rooted phone - using the TA backup tool. I'm pretty sure there's a link to it in basically every bootloader unlock guide on this forum. If you restore the TA, you re-lock your bootloader.

If you don't backup your TA and unlock the bootloader, your DRM keys are gone and you can't get them back. If you try to restore someone else's TA partition, you will permanently brick your device.
[Xperia Z1 Android Development] Shaky156:
Unlocking the bootloader, sets a tamper_fuse in trustzone
[Xperia Z1 Android Development] Jacob_Bentzen:
Still no news?? :(
[Xperia Z1 Android Development] vodanhdaisu:
Can't wait Mr DoomLord releases easy rooting tool kit for Z1 :(
[Xperia Z1 Android Development] Angelusz:
Howdy! I received this device today. I now have it rooted and updated to the newest firmware, so far so good.

I have a question though: I want to install custom ROM's. I have already backed up my TA partition. When I unlock the device and restore the TA, is the unlock gone? I keep reading about people wanting sony to fix this bug; am I to expect no working camera at all when I unlock the bootloader?

Thanks in advance for your help!
[Xperia Z1 Android Development] topcads:
When tot restore TA the bootloader ik locken again, Flash FIRST stock kernel before restoring TA or device will be bricked.

Camera what I understand will be broken and wont work at all.
[Xperia Z1 Android Development] Angelusz:
I read about flashing a stock kernel before relocking the bootloader. My intention is not to relock the bootloader. I wish to unlock it, restore the TA and have a working camera. From what I gather, this is currently not possible. I would like definitive confirmation.

On a sidenote, can I install a custom kernel without unlocking the bootloader?
[Xperia Z1 Android Development] topcads:
All the threds I have read about it are telling its not possible to do that at this moment. So the answer is no.

The information/conformation for me is that the guys saing this are kernel builders.

About installing custom kernel with locked bootloader kecex is working on that is what I understand.
[Xperia Z1 Android Development] 301stSpartan:
This question keeps being asked and the answer is always the same. Restoring TA = re-locking the bootloader. You can install recovery on a locked bootloader but must be running the stock kernel. You can run a custom ROM as long as it runs off the stock kernel.
[Xperia Z1 Android Development] Angelusz:
Thank you for the explanations, you too Spartan.

Has anyone tested whether another camera application like google's Photosphere does work with an unlocked bootloader?

I'm sorry for asking "known" questions, but as always, there's a lot of threads with matter on the subject and it's difficult to search for such specific answers.
[Xperia Z1 Android Development] 301stSpartan:
I tried other cameras during the short amount of time that I had my BL unlocked and all had the same results as the stock camera or worse. It's a problem that is deeper than just Sony's camera application but is in how the actual camera functions and image processing works.
[Xperia Z1 Android Development] Angelusz:
Dang, that sure is a waste. Lets hope Sony does indeed fix the bootloader unlock sometime soon. I do really wish to be able to get a custom Kernel and OC this baby. :x

Otherwise I might yet consider switching to a HTC device.. :(
[Xperia Z1 Android Development] dlads:
They'll fix it ok, no doubt about that, i'm selling my HTC One online now myself, it's a major come down from the Z1 in all fairness and I wouldn't go back, even though i love the HTC One.
[Xperia Z1 Android Development] Angelusz:
Aye, I'll give it a bit of time. So far though, I'm not very impressed with the Z1 in some regards. My brother brought his HTC One to me to compare. The HTC one has a better screen (colors are far better and black is actually black), the sound is much better (as known, since it has stereo speakers), and it's easier to fully unlock and install custom ROM's.

On the other side, the Z1's snapdragon 800 is much, much faster than the 600. I'm not yet sure about the Z1's camera. Whenever I take a picture, there's a lot of grain. I'm going to have to test it more.

---

How do we make sure that Sony fixes this, are the devs in direct contact with them? Has anyone filed a service request and receiving updates?
[Xperia Z1 Android Development] dlads:
The HTC has a much higher pixel density than the Z1 and pretty much any other phone so colours and definition do appear to be clearer and have a lot more clarity, the sound in all fairness is about the same in terms of loudness and the Z1's speaker isn't bad at all, bare in mind that Sony do know what they're doing when it comes to sound too, having said that the stereo speakers on the One are better for quality and are front facing.

Think you hit the nail on the head there, the Z1's specs are superior and that's why i took my upgrade, it's a phone for free and i've switched to 4G at the same time so it's a massive difference for me, still got my one too lol, finding it hard to sell it :( S-OFF, Venom rom the lot.

As for development on the HTC, you will always find a huge following as HTC started it all on android pretty much, you have some really groundbreaking phones that the dev's took hold of and made magic happen, people who've been around don't forget that, HTC Hero, G1, HD2, Nexus One, all these bad boys are what made android imho and the development reflects this as people know they can rely on HTC for a solid phone.

Apparently the camera is a Sony issue, intentional or not they can't leave it that way, once it's fixed, development should pick up, i have no doubt in that.
[Xperia Z1 Android Development] speculatrix:
I wished I'd read this thread fully, I received my nearly-new X Z Ultra yesterday and decided to unlock the bootloader and do a factory reset (there was still some crap on it from previous owner) before I started setting it up to be my own device. I didn't know about the TA backup stuff. I don't care about the DRM on any Sony music or movies, but I do care about the camera (though I am not devastated as I don't rely on my camera phone), and also care about any fancy video modes/acceleration? which seems to accompany the DRM.

So, please, Sony, provide a fix ASAP.

It's a shame there's no function to generate new DRM keys, they must have this facility in the factory, surely? If people knew this would lose any old keys but restore functionality, then it'd be a useful option, so that we could restore the phone back to near original if we were selling it.
[Xperia Z1 Android Development] DAddYE:
I didn't know that Z Ultra has issues unlocking the bootloader.
[Xperia Z1 Android Development] diffstyle:
I have a quick questions. I was not able to understand the camera's functionality after unlocking the boot loader. So, once unlocked, the camera will not work on STOCK ROMS. Does this mean if a custom ROM is installed from the android development section, the camera will have its functionality?
[Xperia Z1 Android Development] Desperanto86:
...not only on stock rom...camera will not work ON EVERY ROM until restore TA with relocking!
[Xperia Z1 Android Development] diffstyle:
Thanks
[Xperia Z1 Android Development] harfot:
Even better, press the thanks button :)
[Xperia Z1 Android Development] dlads:
Was speaking with a Sony rep the other day who told me when asked about the bootloader breaking the camera he was saying Sony are really worried about their software being out in the open and really don't want their phones getting rooted / modified.

That's pretty much what he said to the letter, so not sure who he knows in Sony or not but he seemed pretty sure.

Just hope he's wrong about it, I put across my opinion and said that I think Sony are shooting themselves in the foot by letting this phone out in the wild with a broken unlock, I believe it's intentional, I think they want it to be exclusively Sony Software for as long as they can have it, in the hope that we will like it and want it to stay.

But the bottom line is one way or another it'll get done, if Sony stick to their guns and don't allow the use of the camera after an unlock then this will be my first and final Sony, not to mention that a lot of other people would probably follow suit, but I don't think they're that stupid and i'm guessing that the camera will work from the next update, just wish they'd move their backsides about it.
[Xperia Z1 Android Development] auras76:
Yes,right.i dont think this will happen soon or ever.
[Xperia Z1 Android Development] chubby65:
I still think we won't get the fix till kitkat update :(
[Xperia Z1 Android Development] dlads:
You don't think what will happen any time soon? My point or his?

---------- Post added at 08:19 AM ---------- Previous post was at 08:18 AM ----------

Late is better than never m8, but like i said i'll wash me hands of them if they dont fix it.
[Xperia Z1 Android Development] chubby65:
I agree m8 as long as we get it

That's the reason I dumped Samsung because I didn't like what they started doing with their phones

I'm not loyal to any manufacturer i go with what's best for me
[Xperia Z1 Android Development] dlads:
Yea spot on m8, I'd love to find out what goes through their heads, HTC with their lack of SD cards and going with sub par processors, Samsung and their build quality and this new knox stuff and Sony for being stubborn and giving us a dodgy boot unlock and all the other no brainer issues which have plagues android devices since their birth.

I'm not sure if these are challenges set down by them or if they purposefully do it to annoy people and put them off, doesn't take a genius to work out that it's going to stop some people buying their phones, i'm sure their R+D teams should tell them that, personally i'd hire a few devs and some needy nerds who flash rom's daily and get them to say what goes into the phone, so basically i'd hire me :D
[Xperia Z1 Android Development] chubby65:
I'd hire most of us mate :D

At the moment though i think sony are the best of the bunch at the moment the z1 is an amazing phone apart from the bootloader so i really do hope sony fix it

Or my next phone will probably be from one of the upcoming manufactures there seems to be a few top notch phones coming from just now
[Xperia Z1 Android Development] ravi_buz:
I flashed the TA partition again after unlocking the Bootloader, but still my camera wont focus or word. Is this common?
[Xperia Z1 Android Development] gregbradley:
why make a new thread if you are posting here as well....

I answered in the thread you just made asking this same question
[Xperia Z1 Android Development] qasq:
is this method still vital?
[Xperia Z1 Android Development] DooMLoRD:
with the 4.3 update now the camera works fine on unlocked bootloader...

done thread updated!
[Xperia Z1 Android Development] DooMLoRD:
just got the official confirmation from Sony for the fix of bootloader-camera bug!
[Xperia Z1 Android Development] giusdk:
I unlocked without doing a TA backup. (Stupid me, yesyes i know)

So I'm in a ****ty situation.

Does this 4.3 update somehow get my camera back?

How would I do?

Thanks for your time
[Xperia Z1 Android Development] gregbradley:
yes

Not really, not anymore

yes

You read
[Xperia Z1 Android Development] DooMLoRD:
epic!
[Xperia Z1 Android Development] eclyptos:
Hey, I got a small issue. I do not backup anything from my 4.2.2 and I updated to 4.3. But 4.3 can't be rooted yet and I want to unlock bootloader but how I will backup TA or keep my DRM keys? Do I need that?
[Xperia Z1 Android Development] crk1995:
I have few questions regarding bootloader unlocking:

1) Since we unlock the phone by getting a unique code and we give Sony our IMEI, will they block us from getting free warranty services ???

2) And if we relock after having unlocked bootloader, do we regain the X-Reality and such functionality by just relocking or we need to restore DRM keys?

3) is there any way by which we can unlock bootloader without Sony knowing about it (unofficial way)!?

Thanks in advance.
[Xperia Z1 Android Development] jirka607:
So let me get this straight.....if I unlock BL on 4.3 i wont lose the camera BUT! bravia engine wont work?
[Xperia Z1 Android Development] Sumedha Kapoor:
1) No.

2) Yes.

3) No.

PS: It would be better to take a TA Partition Backup first and simply restore it whenever you want to relock your bootloader and regain everything you lost doing that.

Regarding your warranty concerns, "Think Logically", its people in the service center that you have to befool, How hard can it really be? Yes, when you request for the key your IMEI gets stored in their database but remember to restore the TA Partition backup before going to them. You can simply say that you didn't request it and anyone who could have seen my phone for a sec could have done that, its not like you tampered with your phone. Act like you don't even know what a "Bootloader" means. :p

If someone says doesn't believe you, then ask for his phone for a sec dial *#06# and register the request for a unlock key for his phone and politely ask him: "Is your warranty void now?". I am sure you got the point here. ;)
[Xperia Z1 Android Development] eclyptos:
Can I backup TA Partition and DRM Keys without be rooted? if no, how I do that on 4.3? at the moment there is not stable root yet.
[Xperia Z1 Android Development] Sumedha Kapoor:
No, you can't. Root is must. You should first downgrade to 4.2.2 with root access and make a ta backup from over there.
[Xperia Z1 Android Development] eclyptos:
That a pain! I will wait until a good root come out for 4.3. Thanx anyway.
[Xperia Z1 Android Development] diego9016:
If i make a TA backup while I'm on 4.2.2, will I be able to restore it after I update to 4.3?
[Xperia Z1 Android Development] Ferranza:
Sorry dude, I'm following the official way to unlock BL but I cannot find the android interface on usb driver... How can I continue?

Edit: solved. Now I'm on 4.3 UB
[Xperia Z1 Android Development] Jacob_Bentzen:
Maybe it's a stupid question, but just want to be a 110% sure :)

If I unlock my bootloader now, I can still use the camera?? :)
[Xperia Z1 Android Development] gregbradley:
Yes, but I am only 109% sure, maybe you need someone else to say yes to make it up to 110%