yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] dijorc:
Well after 4 hours I give up and I hope somebody can help me.

When I try to unlock the bootloader I get an error. Any idea what I'm doing wrong?
[Xperia Z3 Compact Original Android Development] tacocats:
The flashtool driver from http://xdaforums.com/showthread.php?t=2440597

does not have z3 compact listed. What do I do?

---------- Post added at 01:15 AM ---------- Previous post was at 12:57 AM ----------

I've done what you said but emma is saying "no available services matched the connected device"
[Xperia Z3 Compact Original Android Development] tocirah1:
Do any brave souls with unlocked bootloaders want to chime in and help us figure out what the DRM keys are good for?

http://xdaforums.com/z3-compact/general/loss-drm-keys-t2890936/
[Xperia Z3 Compact Original Android Development] dijorc:
it succeeded i had wrong unlock code OMG
[Xperia Z3 Compact Original Android Development] cpurick:
The references to "TA" that we have to backup before unlocking bootloader -- I gather this is the name of a partition that must be saved off with dd, and which we would later flash back into place after unlocking?
[Xperia Z3 Compact Original Android Development] bu2askoor:
I confirm that the op is working. I followed the steps exactly.

The only think i did differently is renaming the the image downloaded to boot.img. Alternatevly you can change "boot" to the actual downloaded image name.

Thank you so much. I was finally able to restore all my apps and its data.
[Xperia Z3 Compact Original Android Development] dew.man:
Heads up: wipe cache took a VERY long time (several minutes).
[Xperia Z3 Compact Original Android Development] lcohen999:
That's normal for cwm recovery , at least since the n5
[Xperia Z3 Compact Original Android Development] cpurick:
Why does this require a new kernel? Not being critical or anything; just trying to understand why this device is different from others I have owned.
[Xperia Z3 Compact Original Android Development] tilal6991:
Sony devices don't have a separate recovery partition - so both the main ramdisk and the recovery ramdisk are packed into one boot.img and loaded as appropriate.
[Xperia Z3 Compact Original Android Development] cpurick:
Thank you. So this is otherwise the stock kernel?
[Xperia Z3 Compact Original Android Development] mattdm:
Oh wow, Recovery packed with the kernel! Reminds me of the good ol' days with the Galaxy S2!

Anyway, thanks so much for this. Unlocked my bootloader last night, then flashed this without any problems. Root and Xposed working perfectly. :victory:
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
Omg so this phone has the recovery IN THE KERNEL?

Like the S2 back then... That's SO stupid.

I once flashed a cm9 nightly on the S2 with a borked recovery and phone didn't boot anymore. Needed a pc with odin to flash a recovery.

So this means twrp will not work?

Flashify?

Guess this phone is dead for me :(
[Xperia Z3 Compact Original Android Development] DooMLoRD:
good to see you here :)

well any recovery that you want has to be bundled with the boot.img OR placed into FOTAKernel... but without a proper working boot.img you will never be able to enter recovery...

TWRP will work as long as it in either in boot.img or at FOTAKernel...

dont worry my kernels have 3 recoveries (CWM + TWRP + PhilZ) inbuilt :D

I dont have this device yet so wont be creating any custom kernels for it...
[Xperia Z3 Compact Original Android Development] Iruwen:
No, it's not "in the kernel". It's like tilal6991 said before. And why should TWRP not work? Of course it does. I've never had any issues with the way Sony designed this.
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
Galaxy S3, S4 and S4 have the recovery in a extra partition..

I don't know if I should buy the z3 compact :/
[Xperia Z3 Compact Original Android Development] ZeuBug:
It's the same for Z1 compact (recovery inside kernel), isn't it? ;)

And no problem for custom roms, CM11 run perfectly.

Already a CWM for Z3 compact here, do you think it will be long to have Cm11? :o
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
Yes but if cm borks a nightly/kernel/recovery you can't boot into recovery to flash another (working nightly/kernel/recovery).

Can you flash a kernel from the recovery?

On some older sony phones you had to flash the kernel via flashboot. It sucks to use a pc for flashing a kernel.
[Xperia Z3 Compact Original Android Development] DooMLoRD:
ya i know that other vendors give dedicated recovery partitions... i have used the HTC One X, Samsung SGSL, etc...

but that hasnt affected development in any way... we have CM/AOSP/AOKP/OmniROM/FireFoxOS/MiUI etc. on most sony phones..

CM should be there soon enough
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
Is anybody working on cm11 for z3 (compact)?
[Xperia Z3 Compact Original Android Development] muken:
Yes the camera works, but the images seem to be degraded in quality: Loss of DRM Keys
[Xperia Z3 Compact Original Android Development] boojay:
Eep! Has anyone else confirmed this? I was going to unlock BL and root right away as soon as I got the Z3C, but if the camera is affected that much, I'm having second thoughts. Hopefully there's a workaround.
[Xperia Z3 Compact Original Android Development] muken:
I also wrote on Google+ about it: https://plus.google.com/103268679734951753634/posts/X6JYNrGAMYP

I have tested several shots with an unlocked Z3 Compact and my wifes Z1 Compact which is untouched and the images on the z3 compact is clearly more noisy and has more over exposed areas.
[Xperia Z3 Compact Original Android Development] Dsteppa:
But that could be because the phones aren't the same. Best would be to test it with 2 phones that are the same.
[Xperia Z3 Compact Original Android Development] tocirah1:
Does anyone else with an unlocked bootloader want to chime in on any other features? Please check the list here:

Loss of DRM Keys
[Xperia Z3 Compact Original Android Development] LastQuark:
Correct me if I'm wrong but I think the use of DRM here is a misnomer. DRM doesn't have anything to do with the camera output. DRM involves ownership of a digital copyright content which the camera output isn't.

So I'm a skeptic here if unlocking the phone affects the camera output unless the camera software itself is compromised during unlocking.
[Xperia Z3 Compact Original Android Development] daha2002:
I´m actually hoping SO badly for SlimRom on this bad boy, ultra mega fast!

---------- Post added at 11:04 AM ---------- Previous post was at 11:00 AM ----------

I have not seem any difference in the camera quality or performance but I CAN confirm that screen mirroring is broken (at least in mine), Im not able to connect to my cheapo ebay miracast adapter anymore whereas before BL unlock/kernel flash I could (it just says something like your device doesnt support HDCP or something like that, when I get home I´ll try again to edit with the exact error message)
[Xperia Z3 Compact Original Android Development] Iruwen:
That's correct, Miracast support requires a certification which enforces DRM via HDCP just like HDMI, so the loss of DRM keys after unlocking the bootloader leads to a loss of that functionality.
[Xperia Z3 Compact Original Android Development] DroidZombie:
DRM doesn't affect the physical aspects of the camera, but it does affect the software end.
[Xperia Z3 Compact Original Android Development] Iruwen:
You would wonder why e.g. BIONZ or whatever requires the existence of DRM keys though. There's no good reason that would come to my mind. If Sony says they're open to the developer community, then well... that would prove them wrong.
[Xperia Z3 Compact Original Android Development] DroidZombie:
They probably use the same software in their stand alone cameras and video recorders. It's possible that parts of it are included in their televisions and game consoles too.
[Xperia Z3 Compact Original Android Development] solarfusion:
Blank screen

Hi have tried this twice (restoring with Emma in between) but it results in a blank screen. Phone boots, plays sound and USB storage connects, but a blank screen.

Firmware 23.0.A.2.105, boot loader showing as unlocked. This is a UK based LTE phone if that makes any odds?

Thanks
[Xperia Z3 Compact Original Android Development] solarfusion:
Sorted now!

I *may* have been trying to flash the boot image / kernel for the Z3 rather than the Z3 compact so re-downloaded the image for the Z3 compact and tried the fastboot commands again... still black screen.

Tried again using flashtool in fastboot mode to flash the kernel and now all ok
[Xperia Z3 Compact Original Android Development] muken:
I just received confirmation from Sony via Anna Aleryd that the image processing algorithms used for low light processing will be lost.

Source: https://plus.google.com/103268679734951753634/posts/X6JYNrGAMYP
[Xperia Z3 Compact Original Android Development] Joe_Mama:
it is not confirmed. you are simply tired of them
[Xperia Z3 Compact Original Android Development] muken:
Quote from Annas reply: "The reason for this is that some advanced camera algorithms on our latest devices are protected by DRM, and will stop working when the keys are lost."
[Xperia Z3 Compact Original Android Development] kaiowas82:
official now http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/

at the end of the page
[Xperia Z3 Compact Original Android Development] Dsteppa:
But do notice that they use "may" and "might", so how certain is it that these things will actually happen. And how much impact will it have.
[Xperia Z3 Compact Original Android Development] dillalade:
Read similar DRM threads on predeccesor xperias... You'll notice undesirable circumstances occur when BL is UL'd
[Xperia Z3 Compact Original Android Development] boojay:
I saw on your G+ thread. What a shame. Let's hope this becomes big enough news and Sony does the right thing by restoring functionality to those who were unaware something like this would happen by unlocking the bootloader.
[Xperia Z3 Compact Original Android Development] muken:
I doubt that will happen. But I guess the race is on to find an exploit to gain root without unlocking the bootloader...
[Xperia Z3 Compact Original Android Development] dijorc:
I think it will be good if Doomlord adds a red exclamation after the sentence "

AND YES CAMERA STILL WORKS AFTER UNLOCKING BOOTLOADER!!!" that in low light situations camera pictures are degraded.
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
I wanted to buy the Z3 compact. But now? No thanks. Why Sony? WHY?????
[Xperia Z3 Compact Original Android Development] DooMLoRD:
What a cheap move by Sony... Really disappointed...

They keep saying that they will support developers... And then they do this! "If you want custom stuff then Sony stuff won't work"... Pathetic policies...

They can fix this if they want to but I don't think they will if the Z3/Z3c doesn't sell well...

Though this is atleast better than the crazy **** we faced with Z1... Camera functionality was completely broken after unlocking bootloader...

Ya adding right now
[Xperia Z3 Compact Original Android Development] boojay:
Agreed, I'm pretty torn. I received my Z3C yesterday and was ready to unlock/root until I saw muken's disclaimer.

What are the prospects of achieving root without having to unlock the bootloader now? I imagine this setback will turn off a lot of developers.
[Xperia Z3 Compact Original Android Development] DooMLoRD:
WARNING!!!!

Sony has changed their bootloader unlock policy:

Source: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia Z3 Compact Original Android Development] taze:
i hate to play devils advocate in this case but I've been on these forums for many years and I've seen many manufacture developed software features just get ripped and repackaged from OEM ROMS. Sony is trying to protect their investment. WIthout this software being protected by DRM developers would just port these features to other devices taking away the "magic" from Sony. I dont doubt for second the low light could be ported to Z1 and others without the DRM.

Here's hoping to a root exploit without UL BL. If someone wants to start a bounty, count me in.
[Xperia Z3 Compact Original Android Development] AlexFLCL:
I support that too, we need a root without loosing the DRM Keys :D
[Xperia Z3 Compact Original Android Development] iamnotkurtcobain:
This.

We should contact Sony. They are user and dev friendly, usually.
[Xperia Z3 Compact Original Android Development] bgmarian:
"First, you should confirm that it is possible to unlock the boot loader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.

In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked."

my z3 compact say NO :( what can i do ? thank you
[Xperia Z3 Compact Original Android Development] tribemac:
Nothing you can do
[Xperia Z3 Compact Original Android Development] LastQuark:
What this debacle will do is just encourage a developer to come up with a camera app that matches Sony's software if indeed Sony is pushing the envelop here. If it comes out, it will be made available to all the Androids of the world.

This is a lost cause to Sony. They will lose sales, lose developers, lose faith by the owners, and breed developers that will compete with them. They never learned to see the big picture. :(
[Xperia Z3 Compact Original Android Development] cyphomatic:
Tested camera jb+ app on locked bootloader / no root. I found the picture quality to be superior. Don't know if it uses drm keys. Even succeeded taking hdr pictures in full 20p. Might be a valid alternative for people who lost drm.
[Xperia Z3 Compact Original Android Development] King p1n:
Kinda sad for those who believed Doomlord original statement in his OP that said the camera wont be affected, especially when there was a lot of speculation.

TIP: Dont make such statements without solid proof, it'll mislead users. Theres probably at least one poor soul who unlocked and now has a poorer camera.
[Xperia Z3 Compact Original Android Development] boojay:
I've tested Sony's stock camera in extreme low light, almost complete darkness, and have been extremely impressed with what was captured under such conditions. Losing this capability by unlocking the bootloader would be a huge blow:

Xiaomi Mi2S, HDR mode. Normally does very well in poor lighting conditions, but still couldn't capture much in the dark.

Canon S110. Takes REALLY good low light pictures and does a formidable job here. In fact, it captured more light than what my eyes could see in person.

Z3 Compact. No contest. I was astounded with the result.
[Xperia Z3 Compact Original Android Development] dillalade:
That z3c shot taken with flash? Looks unreal in comparison
[Xperia Z3 Compact Original Android Development] boojay:
No flash, whatsoever.

This is what the Z3C looked like with flash :
[Xperia Z3 Compact Original Android Development] Frontier3:
Searching all over for this answer but couldn't find it. Even though the DRM keys are lost an the bootloader be relocked? Can I simply run a command to make the phone register as locked again?
[Xperia Z3 Compact Original Android Development] mattdm:
It can be relocked. The real question is, would a bootloader locked phone without the DRM keys be covered by warranty?
[Xperia Z3 Compact Original Android Development] Frontier3:
Any idea how to do the relock? I feel like at that point only Sony doing an in depth analysis would be able to tell.

*EDIT

http://xperiafirmware.com/8-firmware/65-sony-xperia-z3-compact-d5803

Appears to have working directions. I don't actually want to relock my phone right now but I did install the software and get all the way to the point where I could press the relock button.
[Xperia Z3 Compact Original Android Development] bu2askoor:
Deleted
[Xperia Z3 Compact Original Android Development] Rhonin86:
DRM keys

Hi folx,

i decided yesterday to order the z3 after 2 and 1/2 years with my beloved SGS+. I was proud after ordering but then i found issue concerning rooting:

http://www.androidpolice.com/2014/10/02/unlocking-the-bootloader-on-sonys-xperia-z3-and-z3-compact-causes-poor-low-light-camera-performance-thanks-to-drm/

Will there be a possibility to restore these DRM keys ? - I'm still a noob after all this time but i can imagine, that this special keys could be extracted from the phone and shoud be restored to the phone again after unlocking the phone...

Any guess will be appreciated...

THX in advance

Rhonin
[Xperia Z3 Compact Original Android Development] Iruwen:
Unfortunately not, unless Sony does so when you pay the fee in case there's a problem with an unlocked device as mentioned on the unlock site.
[Xperia Z3 Compact Original Android Development] dijorc:
+1

I'm such a poor soul not happy with this.
[Xperia Z3 Compact Original Android Development] Iruwen:
The original statement resulted from an issue where the camera completely stopped working after unlocking the bootloader.

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

Don't criticize DoomLord for Sony's miserable failure to provide complete information now and back then.
[Xperia Z3 Compact Original Android Development] NisseGurra:
Who care about some cameras features?, a working recovery is way more important :)
[Xperia Z3 Compact Original Android Development] vidge1111:
not just some camera features but the overall quality of pictures are downgraded after BL unlock.. you will see the difference right away when taking pictures and when zooming in on pictures.
[Xperia Z3 Compact Original Android Development] DroidZombie:
And the number one rule of customizing is due so at your OWN risk. Don't ***** because developers aren't omnipotent.
[Xperia Z3 Compact Original Android Development] NisseGurra:
I removed all the sony camera junk and use Snap camera HDR, it takes very good pics, good enough for me.

So the missing features is a small loss for the recovery.
[Xperia Z3 Compact Original Android Development] boojay:
Yeah, this is absolutely NOT any fault of DoomLord's. Anyone who thinks otherwise shouldn't have been here in the first place and instead, go use an iPhone.
[Xperia Z3 Compact Original Android Development] vidge1111:
What I'm saying is, unlocking the BL will downgrade picture quality overall no matter what camera app you use. It's not about missing on some features.

I too have BL unlocked my Z3 and I can tell instantly that the quality of pictures taken have decreased alot, specially when you view the picture from your pc, even in normal lighting conditions you can see there is a lot of noise and it's not as sharp.
[Xperia Z3 Compact Original Android Development] dillalade:
This is exacccctly what occurred on my z1c when I ULd BL.

When you'd zoom inbto the images the noise is horrendous. I did try using google camera back then but also produced poor quality images.

Very unfortunate for those who've lost DRM.
[Xperia Z3 Compact Original Android Development] NisseGurra:
Most likely its the image noise reduction you see in action. This can be made in any image post procession software afterwards if needed. I will make some sample pics with the snap camera tomorrow to show the capability of the 20MP shooter in an unlocked Z3C.
[Xperia Z3 Compact Original Android Development] elaurens:
I'm a bit confused. I just dialled the service number on my Z3C and I get a Yes for "Bootloader unlock allowed". Does this mean that I get to keep the DRM keys (after unlocking) using Sony's unlock method or do I lose them anyway? Sorry if this seems like a silly question (and I'm not behind a PC atm to verify)

Thx.
[Xperia Z3 Compact Original Android Development] vidge1111:
You will lose drm and a whole lot of sony features and get a downgraded camera when you unlock the bootloader. Better wait for a root alternative.
[Xperia Z3 Compact Original Android Development] bu2askoor:
Guys. I tried to relock as per this site:

http://xperiafirmware.com/8-firmware/66-sony-xperia-z3-d6603

But then phone doesn't boot. I unlock it and it works again. any ideas? I realize that locking won't help the situation. Just wanted to do it.
[Xperia Z3 Compact Original Android Development] vidge1111:
Please take sample shots pre and post processing so we can identify difference in quality and probably get tips on post processing as well. thanks

---------- Post added at 02:42 PM ---------- Previous post was at 02:38 PM ----------

Re-locking won't get the drm keys back, and with that, xreality, bravia engine etc. We must find another way to regain those features without drm. Even regaining the original camera ability would be great enough.
[Xperia Z3 Compact Original Android Development] dew.man:
Don't the ftf firmware files contain a ta partition? So why doesn't flashing them restore drm?
[Xperia Z3 Compact Original Android Development] vidge1111:
t partition backup only works for properly rooted devices, specially post v4.2 os.
[Xperia Z3 Compact Original Android Development] dew.man:
I wasn't asking about backups. I'm trying to understand how, if the drm keys are part of the TA partition, and the official ftf firmware flash contains a complete TA partition, then why does flashing a factory firmware NOT restore complete drm functionality?
[Xperia Z3 Compact Original Android Development] DroidZombie:
The keys aren't in the firmware files. If they were people wouldn't be angry at losing them. It would be a simple matter to flash the stock firmware and restore function to their phones.
[Xperia Z3 Compact Original Android Development] DooMLoRD:
hi King p1n,

I have been on the Xperia scene for almost 4 years now ... I try and share all the knowledge and information that i have so that users can benefit...

at the time of creating this thread, there was no indication that there was any such issue... and when the issue was raised, sony quietly adding this under "Risks" section of their website, i did my best to keep users informed by updating this thread and by posting about this on twitter...

to all poor souls with "poorer camera":

sorry guys I honestly didnt know...

regards,

DooMLoRD
[Xperia Z3 Compact Original Android Development] CosmicDance:
[MENTION=2784807]DooMLoRD[/MENTION]

No need to apologise, you genuinely didn't know and I'm sure no one would have even anticipated it. You have contributed immensely to the Xperia devices and we are all thankful to you for it. Let this incident not discourage you from contributing to the Android/Xperia scene in the future.

It's kinda sad that Sony decided to do this, literally making them being a developer friendly manufacturer a 'farce'

Regards,

CD
[Xperia Z3 Compact Original Android Development] aKiLL3r:
We have just to say a big thanks to doomlord, who helped us in these years about xperias (personally i had xperia s, z, z1 compact and now z3 compact). Without him, perhaps, I would not have been able to unlock and mod my devices.

Now it's a little bit different for this z3c, and it's obvious that he didn't know about the loss of image quality with the UL. In Z series it's always a surprise what can happen to the device, for example in my sister's z1 camera didn't work totally (fortunately fixed after some time).

In my z1 compact i didn't noticed any loss of image quality after the unlock, sincerely, but now i think it's better to wait: we just have to hope that can be found the method to obtain the root and recovery without unlock the bootloader.

regards,

Dave
[Xperia Z3 Compact Original Android Development] Sean09:
I agree that nobody can really blame you, especially Sony did not disclose that either. It really sucks they'd go so far as to limit the hardware functionality (camera). That being said I too will anxiously await a root method that does not require unlocking the bootloader. This is my first Sony phone - has that been available on past Sony phones, and did it typically take a long time to happen?