yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 General] Chewy84:
I was following this method everything was working as stated but then i hit a road block :crying:

Turns out i have ---- BootLoader Unlock Allowed - No :crying:

I tried different firmwares and it stays on No, Look for ways of changing it and nothing found apart from it can not be changed, Looks like i've got an unrootable Device at this moment in time :rolleyes:
[Xperia Z5 General] josephnero:
Did you buy your phone from a carrier?
[Xperia Z5 General] Chewy84:
it's a contract phone so i got it from O2 UK, But i can put any sim card in as i've tried and it works, It's been the first phone i've had on contract that has ever been blocked from unlocking the boot loader

I can even flash another carriers firmware for the same phone and it works, just can't unlock the bootloader to root it
[Xperia Z5 General] jugglerpl:
Your status of bootloader was changed after doing tutorial? If Yes, that status is fake

Wysłane z mojego E6653 przy użyciu Tapatalka
[Xperia Z5 General] josephnero:
Yeah that's weird. sadly you can't root but backing up TA might come in handy oneday
[Xperia Z5 General] Chewy84:
I just tried a different sim again and its now Sim Locked and it's asking for a Sim Unlock Code.

Could this be a reason the bootloader unlock allowed is set to No ???
[Xperia Z5 General] josephnero:
Yep. It's carrier locked. There might be some ways to unlock for free but I'm not sure
[Xperia Z5 General] Chewy84:
Yes you are correct there is a FREE way of doing it and i'm in the process of that now. All i done was logged into my phone account online, and i saw an option to unlock the sim. so instead of doing it manually i jumped onto live chat and spoke with one of the support staff and they have set everything up.

I've got to wait upto 7-days for an email with the final instructions in them.

Already got a back up of the TA partition also got adb drives and so on ready to go, So it's just a waiting game really. just glad with this method i can restore the drm keys and get the functions back :)
[Xperia Z5 General] Chewy84:
Well i unlocked the Sim and.............................. Bootloader unlock allowed = NOOOOOO :crying:
[Xperia Z5 General] josephnero:
Darn.Sorry to hear that mate :mad:
[Xperia Z5 General] mrbubba999:
You will never be able to unlock the bootloader, mines the same. Only hope Is that someone works out how to root with a locked one, but I can't see that happening
[Xperia Z5 General] Chewy84:
yea same here, i've spent 3 days trying different things lol, Even thought about ending one contract and taking out another at a different store but then thought what a waste of time if it's the same outcome
[Xperia Z5 General] GeramanX:
AdGuard sucks, I'll root my phone using your guide.

I will let you know to you my results.
[Xperia Z5 General] devilmaycry2020:
This guide won't work on my Z5d E6683 running LL
[Xperia Z5 General] viperc:
Trying to root my Z5P with this guide. Any idea where I can download 32.0.A.6.200 build? Xperiafirm only has the latest version available. Thanks.
[Xperia Z5 General] lordloki77:
Because after reading 13 pages this doesn't seem to have been definitively answered...

I am on 32.1.A.1.185 (unmodified, never unlocked) on an e6653 (I assume "retail"). Can I:

1. Downgrade to 32.0.A.6.200.

2. Backup my TA partition (DRM keys).

3. Unlock and Root.

4. Restore my TA partition.

5. Fun. Do whatever I want, unlocked bootloader, root, xposed, whatever using restored TA partition (my own DRM keys intact) OR using the method on http://xdaforums.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383. (To be clear, I DO NOT care if I can relock my bootloader AND have root - fine keeping it unlocked as long as TA partition with DRM keys is restorable / I can go back to where I started without issue).

6. Return later if I choose to 32.1.A.1.185 on UNMODIFIED kernel with restored DRM keys? (In other words, return FULLY to where I am now, stock 32.1.A.1.185, with DRM keys intact, bootloader *locked*, etc.)

If the OP is to be believed, this must be a yes, but I confess it's not clear to me that most of the people responding on this are that certain about what they're doing.

Another point I failed to note above. Assuming the above is "yes" to all - if I am using this device in the US, which firmware region should I use to downgrade to 32.0.A.6.200, and which to come back up to 32.1.A.1.185? Does it matter? For what it's worth, my reception on this device is pretty bad where I live (SF Bay Area).

Edit: the iovyroot forum actually confirms the above is "YES". Only question that remains is the above - which region should I be downloading to downgrade?
[Xperia Z5 General] frostmore:
You download the FW that relates to the carrier you are using. I.e if you are on T-MO, dl T-Mo's FW. Usually if you use xperifrim to DL FW, it should be easy to spot north america regions.

i cannot remember the details as i do not have access to my personal computer.I'll help you check when i do.

on the side note, please be aware that you cannot have locked bootloader whilst having root this has been repeated till the cows come home despite TS claims.

to return to locked and stock, first restore TA keys using backup TA program, then flash official firmware and boom, locked bootloader with bloat galore!!
[Xperia Z5 General] GeramanX:
Oh guys that's great!

Lordloki77, since you're about to do this procedure, can you please make a step by step guide and also make a video so people like me can do it without screwing our phone?

This could really be great for the Xperia Z5 community.
[Xperia Z5 General] Barthlon:
TS just refuses to change OP and ignores people that point it out / or calls them ignorant :p

the method described is ok, but you end up with either:

1) rooted device with unlocked bootloader (drm fix)

or

2) unrooted device with locked bootloader (patched with ta backup)

if done correctly, you can always go from 1) to 2) or back. so if you have a strict warranty policy in your country, you can always revert to 'as bought' conditions (given that you waited for the ta fix :p)

---------- Post added at 02:51 PM ---------- Previous post was at 02:47 PM ----------

so: backup your ta with the iovyroot tool. once you've done that, you can flash any custom rom / kernel and then apply the drm fix. then you are at 5).

(from there, you can always go back to 6) by patching a stock setup with your backup up ta.)

hope it's clear now!
[Xperia Z5 General] josephnero:
@ Barthlon

First of all,thread title changed.I hope you are happy now.I didn't ignore the thread,I have some grave family problems so I couldn't check thread.

Second please please and please show me where did I call you or anyone ignorant?that's an aweful way to seek attention
[Xperia Z5 General] GeramanX:
Haters gonna hate.

Please make a video of the whole process for people like me XD
[Xperia Z5 General] Barthlon:
you didn't use the word ignorant, but you made it perfectly clear that i didn't know what i was talking about. it would've been nice if you came back on that statement. i'm not a tender soul, so i don't care, but the problem is that the guide in OP still states incorrect information (step 8). that's why people are confused (see above).

i'm not a hater, i appreciate that you took the effort to make a guide for everybody to use. it just has an confusing error in it.

and even after all your effort, people still wan't more... ;)
[Xperia Z5 General] josephnero:
That was never my intention.As I said I'm pretty busy with some crappy business but after I'm done I'll rewrite the whole OP
[Xperia Z5 General] josephnero:
Step 8 edited.BTW I'm so sorry but to do a video I must unroot my phone and at the present I can't do it.sorry
[Xperia Z5 General] Phazonclash:
Worked like a charm, but as stated before, you can't have a locked bootloader + root ;) Anyway, everything works perfectly, I restored my DRM keys, debloated my ROM, etc. Feels like a new phone!
[Xperia Z5 General] GeramanX:
Ok guys, I´m going to do it...

Please pray for me so I can do it without bricking my phone.

Also, can you guys tell me if there´s a way to get the SDFix thing working in rooted Marshmallow? I really want to be able to have full access to my SD card just like in the good old days.

I´ll keep you posted...

Step 1: Downloading Firmware...
[Xperia Z5 General] josephnero:
Don't worry mate.the risk is minimal
[Xperia Z5 General] GeramanX:
Sorry, I have a situation here, I downloaded the firmware using XperiFirm but I didn´t get a ftf file, all I see are lots of files in the downloaded folder.

Am I doing something wrong?
[Xperia Z5 General] GeramanX:
I figured out what to do about that, then I was able to back up my keys, then I´m going back to MM.

It´s been like an hour! So far I´m ok, I´ll let you know how did it go.
[Xperia Z5 General] josephnero:
Now that you have drm back up you can safely return to original state if needed
[Xperia Z5 General] Phazonclash:
The only thing that caused me an issue when I did it yesterday is at "step 8".

If you follow the guide, it's mentionned that you can put your SuperSu.zip in the folder and it will get pre-installed, when you patch your Kernel.

See here:

In my case it never worked, so I patched my kernel WITHOUT SuperSu, and I just installed SuperSu afterward, by flashing it in TWRP. I probably lost half an hour on that one, trying to figure out why I couldn't get root and SuperSu to work.
[Xperia Z5 General] GeramanX:
Almost there...

I´m almost done, I just got the .elf file! I´m so tired but it´s worth it...
[Xperia Z5 General] Wess.a:
I have a question here that might be repeated. Restoring back the drm keys won't harm my warranty? will there be any leftovers or changes that will tell that i unlocked my BL before?
[Xperia Z5 General] GeramanX:
I could really use some help here, I can´t get the adb to work and can´t input commands for some reason.
[Xperia Z5 General] Phazonclash:
You mean when you have to flash your patched kernel with this command: fastboot flash boot kernelblablabla.elf ?

You don't have to ADB. Just make sure that:

1) Your patched kernel (.elf) is in the same directory as rootkernel (the tool you downloaded here)

2) Your command prompt (on your PC) is pointing to the right directory. For example, if your kernel and rootkernel are in "C:\rootkernel", make sure your command prompt is "C:\rootkernel>" so your command looks like C:\rootkernel>rootkernel flash boot kernelblablabla.elf

3) Your fastboot drivers are installed properly on your computer (they're included with Flashtool)

4) Your phone is in "fastboot" mode when you enter the command to flash your patched kernel (Unplug your phone > Turn it off > Hold Volume Up > Plug it)
[Xperia Z5 General] GeramanX:
Im scared! Can you please help me using TeamViewer? Im starting to regret this.

---------- Post added at 01:49 PM ---------- Previous post was at 01:14 PM ----------

I thought I did it but only got this:

C:\Users\Gerardo\Desktop\Z5\Ya abierto>rootkernel kernel.elf

- Unpacking kernel

Found elf boot image

Kernel version: 3.10.84

Found appended DTB

- Detected vendor: somc (Sony), device: sumire (Z5), variant: row

- Unpacking initramfs

- Detected platform: 64-bit

- Detected Android version: 6.0

- Disabling dm-verity

- Disabling SONY RIC

- Installing TWRP

- Found SuperSU-root-BETA-v2.67.zip

Adding service entry for SuperSU

- Configuring keyprovd

- Configuring credmgrd

- Configuring secd

- Configuring wvkbd

- Configuring drmserver

- Creating new initramfs

- Creating boot image

error: could not create ''

- Cleaning up

Done
[Xperia Z5 General] josephnero:
[MENTION=5267986]GeramanX[/MENTION]

Don't Worry mate.Just upload your kernel elf plus Ta image somewhere and post it in repack thread.someone will do it for you.sadly I don't have access to pc rignt now :(
[Xperia Z5 General] koziakauzu:
For anyone having issues understanding the steps, you can follow the same guide from here, a bit more detailed. (it's for z5c but the tools and steps are exactly the same, of course don't get the wrong FW)

http://twigstechtips.blogspot.hk/2016/04/sony-z5-compact-root-without-losing-ta.html?m=0

Thanks OP, just did mine 2 days ago following both guides.
[Xperia Z5 General] GeramanX:
I finally did it! I don't know how but I'm all set, removed bloatware with Titanium Backup and removed ads with AdAway.

I'm in peace now.

Thank you all for your help.

---------- Post added at 01:11 AM ---------- Previous post was at 01:10 AM ----------

Of course I will donate one of these days ;)
[Xperia Z5 General] .LEONARDO.:
A video would be great! Rooting my Z2 was to much easier ?
[Xperia Z5 General] viperc:
Rooted my Z5 Premium successfully with this guide:D
[Xperia Z5 General] josephnero:
Glad to hear that
[Xperia Z5 General] .LEONARDO.:
I'm having a hard time trying to use this method. Can,t even root to backup TA. I've tried 2 different firmwares and only got the same result. Does anyone know what can I do to make it work? Thanks!

E6603 currently on 5.1.1 32.0.A.6.152 - USB debugging mode on, fake locations too, external apps allowed...

Unable to open /data/local/tmp/iovyroot: No such file or directory

Unable to open /data/local/tmp/backup.sh: No such file or directory

/system/bin/sh: /data/local/tmp/iovyroot: not found

rm: /data/local/tmp/tabackup/TA-*.img: No such file or directory

rm: /data/local/tmp/backup.sh: No such file or directory

rm: /data/local/tmp/iovyroot: No such file or directory

---------- Post added at 12:58 AM ---------- Previous post was at 12:41 AM ----------

Just tried it again using another notebook (win 10). Mine is still on win 7. But I got exactly the same result:

Unable to open /data/local/tmp/iovyroot: No such file or directory

Unable to open /data/local/tmp/backup.sh: No such file or directory

/system/bin/sh: /data/local/tmp/iovyroot: not found

rm: /data/local/tmp/tabackup/TA-*.img: No such file or directory

rm: /data/local/tmp/backup.sh: No such file or directory

rm: /data/local/tmp/iovyroot: No such file or directory

Please, help =/
[Xperia Z5 General] josephnero:
First I would like to apologize because I check this thread about once a week so I'm really sorry if I miss some posts. [MENTION=4449729]leonardo.[/MENTION]

Have you tried redownloading the root package?

Also do you have ADB drivers installed?
[Xperia Z5 General] .LEONARDO.:
I apreciatte your reply. Yes, I tried to redownload it 3 times. Did the same to flashtool and drives, reboot phone and PC's and tried on a third PC today. I just made it work some hours ago, but using v 0.2. On the first 3 times, my phone restarted before it completes the hole process, but after this, it worked. Now I'm going to follow the next steps in order to unlock BL, upgrade to MM and root it. :good:
[Xperia Z5 General] Bill62335:
E6683

does this guide would work for my E6683 model?
[Xperia Z5 General] nabeelrazanaqvi:
HI there, thanks for the comperehnsive tutorial, i want to ask that i have experia z5 dual E6633, i have followed the whole procedure and now i an on MM 32.1.A.1.185 with root access and locked bootloader(flashed TA img). i want to unroot now, how can i do that? i have tried to flash the firmware several times but it unlocks the bootloader again after flashing the FTF file, i need your quick responce, thanks in advance
[Xperia Z5 General] josephnero:
Should work on any 64 bit sony device
[Xperia Z5 General] boyq:
Up until now, can anyone confirm if there's still no root possible for those on locked bootloaders?

Thanks!
[Xperia Z5 General] josephnero:
Unfortunately yes.the kernel ric and dm variety check makes locked bootloader root impossible for now
[Xperia Z5 General] GeramanX:
We'll just keep waiting :)
[Xperia Z5 General] heildnix:
hey guys i have a problem here.

i followed the guide and everything worked fine till i installed SuperSU. I flashed the newest version and everything looked fine in the beginning. Titanium Backup worked fine. Then i wanted to edit my build.prop to change the dpi of the screen. But it was impossible to change the file and save it. There was an error message in different apps (ES, Root Browser, etc.) So how can i fix this? Any ideas?
[Xperia Z5 General] josephnero:
Added how to fix camera FC after xposed update to second post.

[MENTION=5418552]heildnix[/MENTION]

Did you try enabling R/W mode in root explorer?
[Xperia Z5 General] heildnix:
[MENTION=3844251]josephnero[/MENTION]

yes i tried it. it says the file was saved successfully. but when i open it afterwards it hasnt changed. also other apps like AdAway dont work. AdAway says that i have no root access. also xposed cant get any root access.

Edit: i have read something about selinux modes. can the problem be related to this? http://xdaforums.com/showthread.php?t=2524485

it seems to me, like i dont have any write permissions on the /system partition. Can i fix this somehow with the recovery or flashing something?
[Xperia Z5 General] josephnero:
That's RIC protection and patching Kernel should have defeated that.My suugestion is to patch your kernel again and flash it again
[Xperia Z5 General] jbbandos:
Anyone with an E6633 here has a link to a working 32.0.A.6.152 firmware? I am unable to flash any of those in xperifirm, they hang flashing data for modem.sin, and the 32.0.A.5.19 is not recognised by iovyroot.

Edit: never mind, I managed to flash using flashtool 0.9.20. 0.9.22 never finished.
[Xperia Z5 General] 9006:
I know what you mean, sometimes everyone talks like that doesn't matter, lol.
[Xperia Z5 General] Barthlon:
no, and probably never will. every topic / faq around here gives that info, so it's not that confusing.
[Xperia Z5 General] viperc:
Saw a new system update over OTA, but build number is still .185. If I do OTA update, will my root be gone?
[Xperia Z5 General] josephnero:
Yeah
[Xperia Z5 General] viperc:
Ok. Thanks. Guess I will ignore this update for now.
[Xperia Z5 General] Phazonclash:
Hi guys, just wanted to let you know that this method (rootkernel) still works flawlessly with the new 6.0.1 (32.2.A.0.224) build. Go ahead ;)

-Root with SuperSU: Works

-TWRP: Works

-Xposed: Works

-DRM/TA partition restoration: Works
[Xperia Z5 General] viperc:
Thanks for the update. :good: Waiting for my region to launch the update.
[Xperia Z5 General] viperc:
Updated to latest. But I realised my image enhancement is not working.

Update: Went to shutdown and start my phone again. Now the image enhancement is working again.
[Xperia Z5 General] sakis_the_fraud:
Hello!

as described in step 2, where I can get an older version to flash? I'm now on 32.1.A.1.185 on E6653.

thanks!
[Xperia Z5 General] josephnero:
http://xdaforums.com/xperia-z5/general/ftf-files-sony-xperia-z5z5-dual-t3214397

http://www.xperiablog.net/forum/resources/
[Xperia Z5 General] sakis_the_fraud:
[MENTION=3844251]josephnero[/MENTION] thanks!

maybe you should add the links to the first post too. ;)

I was told to watch out and don't flash others TA partition on top of mine, is there any step that I should take with caution or uncheck something?

I don't want to brick a brand new phone! :p
[Xperia Z5 General] josephnero:
you can exclude Ta partition in FTF if it's included(usually it isn't)
[Xperia Z5 General] sakis_the_fraud:
If it was, i should remove it from there?

Good news is that I can't find it, so maybe it isn't there.

And for the repacking of the firmware downloaded from XperiFirm to FTF is it ok to follow this guide?

http://www.xperiablog.net/2015/03/1...peria-lollipop-using-xperifirm-and-flashtool/
[Xperia Z5 General] josephnero:
yep. and don't worry the TA bits included in FTF don't brick the phone. flashing someone elses TA back up hardbricks the phone
[Xperia Z5 General] sakis_the_fraud:
hello again. :)

I have sucessfully flashed the "E6653_32.0.A.6.152_R5B_Central Europe 5 Generic_1298-7654.ftf" :D

I'm in the process of taking backup my DRM keys and continue with the process to root my device, but I got another question.

My phone was using the Customised GR version and I was thinking if it is essential to use again the same version or I can stick with the CE 5. I'm thinking about it just to skip the second flashing, if I can use the CE 5, I think that an update with the Xperia companion will do the trick. ;)

What do you think;

Also I would like to ask if the provider's version is better, because my provider has got one. Maybe i could get better signal reception?
[Xperia Z5 General] josephnero:
well it doesn't really matter. you can flash or just use PC companion. not much difference in Reception as I even used saudi arabia FTF once
[Xperia Z5 General] sakis_the_fraud:
Is there something wrong with unlocking bootloader or backing up my DRM keys that prevents my device from updating?

I decided to unlock it and then update to MM, but neither the xperia comanion nor the software update on the phone is detecting the update.

Maybe I won't skip the flashing :(

Another question, If i'm rooted can I use OTA updates? If not I will flash my carrier's version just to be sure, if yes, I should flash the one that got updates first. ;)
[Xperia Z5 Compact Q&A, Help & Troubleshooting] febriasm:
there are people who will sell the phone at a low price, but with the following conditions (as in the photo)

whether they can be fixed / serious problems?

I am a layman in this field, thanks for the answer
[Xperia Z5 Compact Q&A, Help & Troubleshooting] civicsr2cool:
I don't see why flashing a new ROM over it wouldn't clean the slate.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] febriasm:
whether it can bypassed?
[Xperia Z5 Compact Q&A, Help & Troubleshooting] kumeipark:
I don't think so!
[Xperia Z5 Compact Q&A, Help & Troubleshooting] civicsr2cool:
Yes. There are lots of ways to do it. I've done it in a Samsung.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Artanis02:
I'm sure that flashing a new rom via Flashtool will resolve this issue. But ofc these devices are stolen (or eligible for refund/return), so no warranty and/or possible law-related consequeces. Just buy the phone at full price ;)

Personaly, I can't imagine buying a used phone. All I need to think of is the things I do with my own devices >_>
[8125, K-JAM, P4300, MDA Vario ROM Development] Brando457:
Looking for a guide to cook a WM6 rom for my G3 Wizard. I see a bunch of stickies, but am unsure which is the correct one to follow.
[8125, K-JAM, P4300, MDA Vario ROM Development] grinminded:
http://xdaforums.com/showthread.php?t=303195
[8125, K-JAM, P4300, MDA Vario ROM Development] Brando457:
thank you now time to read oyyy
[8125, K-JAM, P4300, MDA Vario ROM Development] ANTC:
you can also read the links in my sig..