yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] mirhl:
I already heard about similar glitches

As far as i remember, you only need to wipe the data of some apps

Media and DRM **#.. Something like that
[Xperia Z1 Android Development] xasbo:
No Z1s is unlockable because it's bought from a carrier.
[Xperia Z1 Android Development] sxrsxrsx:
Camera works fine now?

As I can see the camera problem has been deleted, so it works fine now? Is there any known flaws after unlocking the bootloader?:confused:
[Xperia Z1 Android Development] 301stSpartan:
The bravia engine (x-reality) will stop working
[Xperia Z1 Android Development] sxrsxrsx:
Thanx for your kindly and quickly help,man
[Xperia Z1 Android Development] juicio90:
Hi guys, I Unlocked bootloader.

Now... How I know if already? And if do restore with a stock rom maybe the bootloader relock?
[Xperia Z1 Android Development] mirhl:
restoring stock ROM doesn't automatically relock your bootloader

restoring your TA partition, on the other hand, does
[Xperia Z1 Android Development] juicio90:
Ok... But how I know or can I test or do something to check UB?

And.. Look this thread about restore

http://xdaforums.com/showthread.php?p=48555400
[Xperia Z1 Android Development] BeetoCarvalho:
unlock bootloader

bootloader no unlock
[Xperia Z1 Android Development] munjeni:
Hey found how these specific format is generated, its generated by flashtool (ta dumper), easy :)
[Xperia Z1 Android Development] munjeni:
Is possible to unlock bootloader by writing unit (8B2 0010 <----unlock key here ---->) using flashtool, will be drm keys untouched on device??? I experimented with that and sucesfully relocked my bootloader by making relock.ftf using my backup.ta file created by flashtool. Please let me know if some one tried! Maybe by oficial sony way (fastboot oem unlock) we mess drm keys, but unlocking by unit we will not mess that??
[Xperia Z1 Android Development] munjeni:
And one more question. I can see on xperia p there is 3 diferencie between unlocked.ta, locked.ta, relocked.ta: on locked ta unit 8B2 and 9F6 is not exist but after unlocking|relocking these 2 units allways exist, unit 8B3 is changed after relocking from 55 to BA (hope missing something in procedure??), so question is: do we can delete unit 8B2 and 9F6 by this way:

000008b2 0000

000009F6 0000

and back unit 8B3 to old state:

000008B3 0004 55 00 00 00

What you think??? Do we can get drm working again?

Edit:

Tested by self. Thats the same like doing fastboot oem unlock. Created relock.ta with 2 unit 000008b2 0000 and 000009F6 0000, got locked status the same like done with unit 000008b2 0002 00 00 no doferencie.
[Xperia Z1 Android Development] munjeni:
Mission imposible! http://xdaforums.com/showpost.php?p=49958520&postcount=687 If some one try to change byte 00 to 01 in TA line "rooting.status.alowed=XX" hard brick is guaranted! I have analysed some dumps and must say: found no way restoring my lost drm keys since I not made TA backup before unlocking :(
[Xperia Z1 Android Development] munjeni:
Thanks again, analyse is in attachment :good:

There is some things which I am unable to figure out (seems hashes), but some things is easy for figuring out (for example some blocks is only log data?), only problem by now is offset 0x20004 (crc?) and some data at 0x22be8 (0x20 byte lenght - probably hach too?)...
[Xperia Z1 Android Development] laochek:
Hi i obeserve something wierd. I was on 290, unlock bootloader. only flashed philz cwm and super su. Stock rom . Camera was working fine. After a while camera breaks. restore TA but camera still dead. Had to reflash new fw and camera restored. So i wiped and did everything fresh. Then Unlock and camera still works but after some time camera stops again. Now back on relocked BL and stock 136, dare not try aagain:confused:
[Xperia Z1 Android Development] omegahanggara:
You camera dead on 136? Well, that's strange. ?
[Xperia Z1 Android Development] laochek:
No .dead on 290
[Xperia Z1 Android Development] omegahanggara:
That's strange too.... :/

But your camera is okay on 136 even bootloader has been unlock, isn't it?
[Xperia Z1 Android Development] laochek:
I dare not unlock on 136. I see stars already:silly:
[Xperia Z1 Android Development] omegahanggara:
I see ?
[Xperia Z1 Android Development] tdthd:
I wonder when the bootloader is unblocked and the camera was lost, if the restored partición ta, relock bootloader, he turned to retrieve the camera.
[Xperia Z1 Android Development] LiquidNitrogen1412:
Hey guys,

I am thinking of unlocking my bootloader.The reasons are, I testet many Roms and I figure out that I like debloated without all that useless stuff most like the I hackers 2.1 minimal.An other reason Is because it takes so long to make a new clean install, you all know this stuff flash back root many more.And an other one is also I get like 31-34000 points on antutu and I expect a little more.Do you think it is a good idea with my reasons?.to me I am only a user no developer, I have a little knowledge of this theme because all my last phones from Samsung but not in any professional way.Gives there any things why you would say to not unlock like bugs or no warranty or so?.
[Xperia Z1 Android Development] mirhl:
debloating doesn't necessarily requires unlocking bl... but my advice is:

unlock and enjoy custom roms how they should ever be tested (= with their respective custom kernels)

just take a backup of your TA for safety
[Xperia Z1 Android Development] LSD DREAMER:
Is there a way of making a copy of your ta partition without root.
[Xperia Z1 Android Development] timberwolf60:
No way. You can root it easily by nut without unlocked the bootloader:

1) http://xdaforums.com/showthread.php?t=2572988

2) http://xdaforums.com/showthread.php?t=2628185

3) http://xdaforums.com/showthread.php?t=2261606

After you rooted the phone then done a TA backup. Hope it help.

Send from my C6903 using XDA premium.

my Sg devices: Z1 rooted136 ROM by NUT with TWRP and Phil dual recovery, mod by GavityBox. Samsung S2 standby for Z1 when Z1 no power.
[Xperia Z1 Android Development] LSD DREAMER:
Thanks it did help. But it's just 2much work for now and to much risk. Will see if I can get my gf to take my z1 and then get me a LG or Samsung where rooting is easy.

If I downgrade will my carrier splash screen also be wiped?

Why do sony lock there dam bootloaders
[Xperia Z1 Android Development] timberwolf60:
For rooting purposes, you need to avoid Samsung due to knox warranty void. Now all phone with locked bootloader. For Z1 you need to know those keys functions. Read up http://xdaforums.com/showthread.php?t=2439328

For unlocking z1 you will loose up like camera problems and rooting on Samsung also somethings not worked properly. Now I was enjoying z1 on locked bootloader and I can mod the phone with xpose framework +gravity box and enjoy. I just sold my one month old S4 plus for S$600. And my z1 was by exchanged an unopened N3 lte because I don't like a brand new note 3 whose warranty void due to rooting.

Send from my C6903 using TapatalkPro

my Sg device: Z1 rooted136 ROM by NUT with 2.7.86 dualrecovery, mod by GavityBox 2.9.6. Samsung S2 standby for Z1 when Z1 no power.
[Xperia Z1 Android Development] finduz:
I'm having some trouble unlocking the bootloader on my Z1c. Rooting and TA backup was no problem and it says Yes on unlock allowed.

I've tried on two Win7 computers and one with Win8 now. On the other two computers I can see S1 Service under Other Devices in dev. manager.

On the computer I rooted it the drivers should already be installed, but when I run the command "fastboot.exe -i 0x0fce getvar version"

it just says < waiting for device >.

Any ideas for what I should try next?
[Xperia Z1 Android Development] mirhl:
is blue light on?

are there any unknown device in the windows device manager?
[Xperia Z1 Android Development] finduz:
Haven't seen anything about a blue light in the guides. I see the green and red light flashing when I connect the USB (indicating fast boot I think).

On the other computer I see it as "S1 Service" with an yellow exclamation mark, and it doesn't recognize the driver when I add it manually.

I did a backup and root with this computer, so shouldn't it work here when Flashtool works? It says "Device connected in flashmode",

then fastboot.exe should find it too, right? Or do I need to install other drivers?
[Xperia Z1 Android Development] mirhl:
Flashmode ≠ fastboot

And if the phone is in flashmode, this doesn't mean the computer can "talk/communicate" to him

Actually, the yellow exclamation mark means you haven't drivers installed. Check these
[Xperia Z1 Android Development] LSD DREAMER:
I pulled my finger out my ass. I rooted installed custom recovery and backed up my ta partition just in case. Thanks for your help. It's really appreciated.
[Xperia Z1 Android Development] std396:
Is there any updates on possible root and custom recovery on Xperia Z1s?
[Xperia Z1 Android Development] slonn:
I'm about to relock the bootloader on my Z1. I just need to be sure that I've fully understood these steps:

- Having installed the latest Flastool I flash the kernel.sin first.

- Once this has been flashed I click on BLU.

I have a backup of the TA partition. Does that need to be placed back before relocking?
[Xperia Z1 Android Development] mirhl:
if you restore your backup-ed TA partition bootloader will relock jointly
[Xperia Z1 Android Development] slonn:
But wouldn't the stock kernel have to be flashed first?
[Xperia Z1 Android Development] mirhl:
Before or after it doesn't really matter

The fact is that you couldn't boot your phone with locked bl and custom kernel though.
[Xperia Z1 Android Development] ogunja:
I did not find the link to download the tool Backup TA
[Xperia Z1 Android Development] craoul:
stock firmware

So I should flash stock firmware only afret relock?
[Xperia Z1 Android Development] mirhl:
[MENTION=2725797]craoul[/MENTION]

As you want

Just remember that you'll need to root after you have flashed again stock

And that after relocking you could not boot your phone any longer until you flash the stock kernel
[Xperia Z1 Android Development] craoul:
My question was actually:

If I flashed stock firmware can I relock the device without doing anything else?

Root is not a concern for me.
[Xperia Z1 Android Development] mirhl:
Root is something else afaik :p

Aside from that, no
[Xperia Z1 Android Development] AndroidInsanity:
Guys, are their ANY disadvantages of unlocking the bootloader? Is it true camera image quality decreases??
[Xperia Z1 Android Development] luqman98:
The downside is:

- Some OEM apps will malfunction because DRM keys will be wiped.

It isn't true. Camera still works if you're on 4.3 update.

Sent from my highly pimped Galaxy Pocket.

1. Love doesn't need any reason.

2. Wanna speed up 3G (not 4G LTE)?

Here it is:

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

3. My blog

4. Press the thanks button if I really helped/assisted you.
[Xperia Z1 Android Development] AndroidInsanity:
Thanks I know it works but does image quality decrease?
[Xperia Z1 Android Development] luqman98:
No. Why Sony need to do that? :rolleyes:

Sent from my highly pimped Galaxy Pocket.

1. Love doesn't need any reason.

2. Wanna speed up 3G (not 4G LTE)?

Here it is:

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

3. My blog

4. Press the thanks button if I really helped/assisted you.
[Xperia Z1 Android Development] AndroidInsanity:
http://xdaforums.com/showthread.php?t=2643859

Not sure :/
[Xperia Z1 Android Development] luqman98:
Same. Thank god I didn't own any Z1 units.

EDIT: I only have a Xperia X8 (hard bricked, lol)

Sent from my highly pimped Galaxy Pocket.

1. Love doesn't need any reason.

2. Wanna speed up 3G (not 4G LTE)?

Here it is:

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

3. My blog

4. Press the thanks button if I really helped/assisted you.
[Xperia Z1 Android Development] mirhl:
The only interested sony app should be the bravia engine

(Somebody report trackid but it should still work after unlocking)
[Xperia Z1 Android Development] -Happy Feet-:
hello, i have unlocked my Bootloader and since i have random reboots.

i have updated the Recovery and SUper user but still reboots at the iHackers Boot logo. Can anyone help me? Can anyone help me? http://xdaforums.com/showthread.php?t=2673654
[Xperia Z1 Android Development] Svid:
With the unlocking process and DRM keys lost (Did TA backup anyway before unlocking) we lose Exmor RS and Bionz mobile too? (camera features).

I know that X-Reality will stop working (anyway installed walkaround that posted here).
[Xperia Z1 Android Development] mirhl:
camera works even after bootloader unlock since 4.3 update
[Xperia Z1 Android Development] phantom4u:
Do i need to create a TA backup necessarily before unlocking? I mean i wouldn't be able to relock bootloader without TA backup? or flashtool can relock bootloader even if i don't have TA backup?
[Xperia Z1 Android Development] 301stSpartan:
You should back up the TA, it's the only way to relock and restore your DRM keys.
[Xperia Z1 Android Development] HotKillerZzz:
HI, would like some help.

So after unlocking boot loader, lets say there is a problem with my phone and i need to send it for repair, i just need to relock the bootloader and it can be sent for warranty?
[Xperia Z1 Android Development] 301stSpartan:
Yes. Just restore the TA backup that you should have made
[Xperia Z1 Android Development] HotKillerZzz:
ok thanks.
[Xperia Z1 Android Development] HotKillerZzz:
so i have unlocked the bootloader. do i have to restore the TA thing?
[Xperia Z1 Android Development] 301stSpartan:
If you want to re-lock your bootloader you do this by restoring the TA partition backup. The only reason to restore your TA is if you want to re-lock the bootloader. But just make sure you're running a ROM with a stock kernel or you won't be able to boot again after (obviously because the locked bootloader would prevent the non-stock ROM from loading)
[Xperia Z1 Android Development] mnickkk:
So with unlocked bootloader I can't use my camera?
[Xperia Z1 Android Development] 301stSpartan:
Huh? Your phone comes with a locked bootloader, so obviously everything works. Sony couldn't sell a phone and have the camera not work out of the box.

With an UNLOCKED bootloader, the camera still works on 4.3 builds and above. Won't work on older builds.
[Xperia Z1 Android Development] shaikhfaisal13:
Is it possible unlock bootloader on . 136 firmware?

I have TA backup already.
[Xperia Z1 Android Development] 301stSpartan:
Yes, of course
[Xperia Z1 Android Development] shaikhfaisal13:
So after rooting can i restore stock kernel only from ftf?

Will it retain root?

Can i restore Ta after that?
[Xperia Z1 Android Development] zigory:
Is there any unofficial way to unlock bootloader for those who have "Bootloader unlock allowed: no"?
[Xperia Z1 Android Development] DooMLoRD:
nope
[Xperia Z1 Android Development] -Happy Feet-:
hello,

i would relock my Bootloader.

I have an TA Backup and the original (.136) ftf File. Now i must start the Flashtool and select the ftf file. Then in the right Corner i only unselected from the Execlude List the Kernel (kernel.sin, rpm.sin and loader.sin) i flash this.

After that i restore my TA Backup. Now my bootloader is locked.

Is this right?

Sorry for my english
[Xperia Z1 Android Development] Ferranza:
I want to relock my z1 so I downloaded a generic firmware (136) then extracted the kernel.sin but the flashtool says error, it is not a boot image... How can I solve? thanks
[Xperia Z1 Android Development] Ferranza:
Please help!!! I relock the bootloader but I've no signal at all. tried to restore the TA but no way... please!
[Xperia Z1 Android Development] gregbradley:
Flash a stock ftf...
[Xperia Z1 Android Development] -Happy Feet-:
Must I go back to 534 Firmware or just need to flash a Stock ftf Firmware to relocking?

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Android Development] gregbradley:
Flashing an FTF will not relock your phone, you must restore your TA backup for that
[Xperia Z1 Android Development] noobz1:
are you sure???

i think one can relock the bootloader without TA partition. Even this DooMLoRD's method of relocking the bootloader does not use TA partition anywhere. Correct me if i am wrong :)
[Xperia Z1 Android Development] gregbradley:
If you want to restore your drm keys then restoring your TA partition is the only way.

They are stored in your TA area, so you need to restore it.

You can relock without it, but you don't get the DRM keys back

AFAIK
[Xperia Z1 Android Development] sushi143:
can i relock after kitkat?

Can I relock my bootloader after upgrading to kitkat .681 commercial/journalist version? by after, I mean by staying on the kitkat firmware and relocking, not downgrading and relocking.
[Xperia Z1 Android Development] mirhl:
yes, you can
[Xperia Z1 Android Development] hrvooje:
Hi to all! I'm noob at this and this is my 11th post :) I have a question:

I entered *#*#7378423#*#* to access the service menu in my Xperia Z1 (C6903) and it says "Bootloader unlock allowed - No". Is it still possible to unlock and flash this phone in some other way?

What about this video, http://www.youtube.com/watch?v=1aq9YTlfCgc They say I can unlock a bootloader even if it says "bootloader unlock allowed - no"?
[Xperia Z1 Android Development] 301stSpartan:
Rooting and bootloader unlocking are completely different. You can not unlock your bootloader. That video you linked, however, is about rooting, which you can do.
[Xperia Z1 Android Development] hrvooje:
Thank you for your quick reply. Can you tell me, what advantage do I get when I unlock the bootloader? The phone is locked with one provider. If I root it, is it possible to use it with another provider?
[Xperia Z1 Android Development] 301stSpartan:
If you unlock the bootloader you can install non-stock kernels. You can't do this on a locked bootloader. All AOSP ROMs obviously don't have a stock kernel, so unless you unlock the bootloader you can't use these. Also you can't install stock based kernels that have tweaks and improvements in them (like doomkernel)
[Xperia Z1 Android Development] Gnubaver:
Why do you need to write your name and email and imei number when unlocking bootloader? So if something goes wrong they will be able to tell it's because this device has been unlocked?
[Xperia Z1 Android Development] gregbradley:
Yes, and also because they send you the unlock code by email, so they need your email to send it to you
[Xperia Z1 Android Development] groperfish:
Hi all. Have had a very stressful time with this phone recently, due to a corrupt download of a custom room, I think.

Phone was soft bricked for a while.. I managed to get it running on an old firmware (IMEI returned after flashing stock ftf) but since the bootloader was unlocked, I now have a borked camera.

Have TA keys stored, but phone is not rooted anymore.

Can I restore TA keys without root? I am really struggling to find an understandable method of how to relive bootloader, restore TA and get cam back.

Any help would be greatly appreciated. :)
[Xperia Z1 Android Development] gregbradley:
If the bootloader is unlocked then flash doomkernel with fastboot.

Then flash SuperSU from chainfire to get root.

Them you can do what you want, restore TA to relock bootloader (You will get a soft brick as you are on DooMKerneL, but then you can just flash a stock FTF anyway) or flash any .zip update to get a stock based rom etc....
[Xperia Z1 Android Development] craoul:
I re locked, and now I cannot unlock anymore. Phone works but I cannot unlock. It's telling me that the phone is already rooted.
[Xperia Z1 Android Development] gregbradley:
I have a feeling you have not restored your TA partition.

The phone will report it is not unlocked but the unlock process may see the lack of DRM keys as a sign the phone is already unlocked.

Please root then restore your TA partition.

To root, downgrade to 534 FTF, install dual recovery then flash SuperSU from chainfire
[Xperia Z1 Android Development] craoul:
I do not have a partition to restore because out of stupidity and rush I did not do a back-up.
[Xperia Z1 Android Development] gregbradley:
Ouch....
[Xperia Z1 Android Development] craoul:
This means that I will be using stock from now.
[Xperia Z1 Android Development] gregbradley:
Wait, we haven't finished here yet... Let me get home and we will see what else can be done
[Xperia Z1 Android Development] craoul:
OK, I like your determination.
[Xperia Z1 Android Development] gregbradley:
OK, it may take some time but I will get back to you about this.

I have some reading to do..

Greg

EDIT

Try using flashtool to unlock the bootloader (Use the BLU button) instead of using the command window.

Greg
[Xperia Z1 Android Development] groperfish:
Great, Greg. Thanks so much for this.

I'm going to give it a try tomorrow night, when I have some more time to figure out exactly how to use fastboot. My lack of knowledge got me into troible last time!

Thanks again. Hope I won't need your help in the near future. :)
[Xperia Z1 Android Development] gregbradley:
Give it ago, best way to learn is to try.. I am her if it goes wrong...
[Xperia Z1 Android Development] groperfish:
Greg, after flashing DooMKernel and SuperSU, I cannot restore TA as Backup TA sits on the message "Waiting for USB Debugging."

Any tips?
[Xperia Z1 Android Development] mirhl:
Enable usb debugging?

Check if root permissions are avaiable to both "apps" and "adb" in the developer settings?
[Xperia Z1 Android Development] groperfish:
Thanks mirhl. I managed to get it working by flashing NUTS firmware, getting root (Vroot) and restoring Backup TA.

Thanks for your suggestions.
[Xperia Z1 Android Development] gregbradley:
[MENTION=2784807]DooMLoRD[/MENTION]

please can you link this thread to the OP on how to use flashtool to relock and unlock without a TA backup. Thanks

http://xdaforums.com/showthread.php?t=2703456
[Xperia Z1 Android Development] xsony.plus:
if relock z1 can unlock again?

after relocking OTA works?

what about image enhancements?

best regards.
[Xperia Z1 Android Development] gregbradley:
If you restore your TA backup its just like it was before you unlocked.
[Xperia Z1 Android Development] xsony.plus:
well no backup,relocking without it?
[Xperia Z1 Android Development] 301stSpartan:
[MENTION=3843529]gregbradley[/MENTION] posted a link on how to do this in the post directly before yours. There's a post in that thread from Nut with all the instructions on how this can be done

I terms of your questions, without the TA restore you won't regain the bravia (xreality) engine or the bionz image processing. I think ota should work though. There's a thread for getting bravia to work though on ulbl's, but haven't tried it myself so can't vouch for it
[Xperia Z1 Android Development] xsony.plus:
thanks

relocked (4.4.2)bravia backs to life(relock and reunlock is ok with no limitation)

http://xdaforums.com/xperia-z/themes-apps/bravia-engine-2-restore-4-1-4-2-4-3-t2610923

http://xdaforums.com/showthread.php?t=2635986
[Xperia Z1 Android Development] EDD!E:
Am face the same issue as Potatoman, however my bootloader unlocked show Yes. Anyone know what's wrong ?
[Xperia Z1 Android Development] bong0x00:
Hi. Good day!

I just want to ask if it is possible to unlock a relocked bootloader?

History:

1. Unlocked using official sony unlocked without TA Backup

2. Relocked bootloader to get OTA using flashtool.

3. Updated to the first 4.4 version.

4. Tried to unlock BL again using sony official unlock guide.

5. Updated to the latest 4.4

5. Tried to unlock again and this is the message:

Please help! Thanks :D

---------- Post added at 01:33 AM ---------- Previous post was at 01:27 AM ----------

let me try this

Edit: This Works! It ROCKS!
[Xperia Z1 Android Development] kantk20111:
Someone over in the general section said that if you unlock your bootloader you lose BIONZ, and that you cannot get it back even if you relock BL and restore your backup TA. Can someone please confirm?
[Xperia Z1 Android Development] mirhl:
If you restore your previously made backup, everything will be like before
[Xperia Z1 Android Development] kantk20111:
That's what I thought. Thanks for the confirmation.