yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Guides, News, & Discussion] ojukiyo:
Still Stuck

[MENTION=8058743]Ickule[/MENTION] Thanks for your answer.

Yes i tried this yet, but issue does not solved .

Moreover, device can´t connect in flashmode because of that I cant use Flashtool or PC Companion to try another way.

Really dejected

Hope someone could help me
[Sony Xperia XZ Guides, News, & Discussion] quera:
Provided I bought XZ in another country and don't have warranty anyway, will backing up of TA be any kind of useful for me?
[Sony Xperia XZ Guides, News, & Discussion] anhyeuviolet:
It will be useful when you need Stock ROM back with some special features from Sony.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Yes, follow the first link in first post of this thread.
[Sony Xperia XZ Guides, News, & Discussion] quera:
Effectively what have you found lost after unlocking bootloader on Xperia XZ?

I've read about myXperia, but I don't mind losing it.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
TLDR?

https://xdaforums.com/z3-compact/general/loss-drm-keys-t2890936
[Sony Xperia XZ Guides, News, & Discussion] quera:
No, didn't find these topics too long. Indeed I've read all the pages of this quoted and this current topic.

The only concrete information I've found is that on Z3 camera will underperform in low light and on XZ Premium photos will turn green.

I have not found any concrete information about XZ camera. Could anyone elaborate on this?
[Sony Xperia XZ Guides, News, & Discussion] quera:
Hi [MENTION=6294042]Erayh[/MENTION], which problems did you have with camera? What was not working?
[Sony Xperia XZ Guides, News, & Discussion] pradeep@57:
after boatloader relocking i have repaired my mobile using sony companion and i got android 7.0 but there is a problem i am facing is camera is not working and the error is "camera error camera is under use by another app
[Sony Xperia XZ Guides, News, & Discussion] Erayh:
HI Quera,

The quality got lower. I think it was because I didn't have a drm fix and the bionz engine wasn't working (correct me if I'm wrong. I'm just a noob)
[Sony Xperia XZ Guides, News, & Discussion] quera:
Thanks for the answer. But after flashing AndroPlus Kernel did you notice improvement?`

[MENTION=6294042]Erayh[/MENTION], another question. Did you lose AR effects?
[Sony Xperia XZ Guides, News, & Discussion] FallenSp:
First, Thanks for the great, simple and short tutorial, I'm looking for how to restore my DRM Keys in my Xperia Z3 Dual (D6633)

Reading this I have some doubts.

I am trying to unlock my bootloader to try Lineage OS 15, I will use the Dirtycow method to make a backup of my DRM keys using these tool

If someday I need to return to my Marshmallow stock rom with all functions, all I will need is flash my stock using Flashtool, and after flash, restart my phone in the TWRP (Recovery mode) and follow these steps and nothing more? Do I need to flash the stock again? These steps should be runned in the Stock or Custom Rom?

I understand that theses commands needed to be run in the Windows CMD in the Windows with the phone booted up in the TWRP, but how will I flash the Rom if my phone is in recovery mode?

And a last question, don't care the window of the TWRP, I just need run it on Windows CMD?

I am a great noob, I just know how to flash a Custom rom and go back to the stock in Older Xperias Like Xperia PRO, they don't have DRM keys, Sorry for my bad English.

Thanks for all
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
[MENTION=4862440]FallenSp[/MENTION]

Reread what you quoted from nathan30.

This answers your question.

Restoring TA means LOCKING the phone. With a locked device and NO stock ROM you have a soft bricked device.

TWRP is not mandatory at all (and even does not have to be installed to use it). Flashtool is.

With TWRP you can modify a custom ROM or you need it to install such ROMs at all.

Installing TWRP on a stock device -> soft brick
[Sony Xperia XZ Guides, News, & Discussion] FallenSp:
Thanks for the aswer [MENTION=6774113]DHGE[/MENTION], I understand when I restore my TA Backup this will lock my Bootloader, I don't understand when I need to run these commands.

a scenario...

I am in a Lineage OS with a bootloader unlocked, I want to restore my Backup then I go to Recovery mode, use these commands in CMD, this will lock my bootloader, now only thing I will need

is flash my Stock and untouched rom?

The phone is in recovery mode in this moment, can I turn off and turn on in flash mode, is it?

I have a Marshmallow Untouched Stock rom, I just have Flash it?

It is a simple doubt, but make all diference, thanks a lot for the help.
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Yes

Yes - the ONLY thing you can do now to unbrick your phone

Yes - I would flash Nougat though
[Sony Xperia XZ Guides, News, & Discussion] FallenSp:
I dont bricked my device yet, I just make the TA backup and I think that was donne with success how you can see here.

It's a noob question I know, but I only used a custom rom in my old Xperia PRO, when I wanted to go back to stock I just flash the stock FTF, but the Z3 is not the case.

but you gave me a great advice, TRWP and BL Locked = Soft brick, a video on youtube teach make root using a downgraded kernel and apply a zip then restore the kernel.

My doubt is only the order of the process.

Custom Rom, Reboot at Recovery, Run the commands(With this will lock my BL), after, all I need is turn off my phone, turn on in flash mode and flash any Stock FTF? if is this the process I don't have more doubts about this process.

Other last thing, I need flash the same stock rom that I made the TA Backup? or can I use other stock rom?
[MENTION=6774113]DHGE[/MENTION] thanks a lot for your patience, Z3 here in Brazil is extreme expensive, it's the reason for a lot of questions.
[Sony Xperia XZ Guides, News, & Discussion] FallenSp:
Up and a new Question...

Hey guys I already unlocked my bootloader, I just think that it was worked.

The problem is the model of my Z3, is a Dual, at Sony page, asked a IMEI, I imputed the IMEI 1, now in service menu report: Bootloader Unlocked:Yes

But I Tryed a lot of times flash TWRP, the Flash works fine, the problem is, don't boot in recovery, only boot in Stock, maybe a problem with the unlock process, I need unlock the second IMEI?

what I did wrong guys?

------------EDITED------------​

Forget it, donne and entering in Recovery now, Kernel Stock don't boot in TWRP but I flashed the kernel of a custom ROM, entered in TWRP, flahsed the ROM and all works now
[Sony Xperia XZ Guides, News, & Discussion] Erayh:
Hi everyone,

Thank you so much for this. I'm on full stock debloated rom with androplus v31, these mods and all new apps.

Still I'm not really getting the battery life I expected (barely lasted the day with 1,7 sot) Any clues as to why?

Cheers,

----edit----

Woops wrong topic, sorry guys.
[Sony Xperia XZ Guides, News, & Discussion] ネプテューヌ:
please help me:crying:
[Sony Xperia XZ Guides, News, & Discussion] anhyeuviolet:
From your pics, I think we can do nothing here.
[Sony Xperia XZ Guides, News, & Discussion] ネプテューヌ:
:crying: Why can not unlock it?
[Sony Xperia XZ Guides, News, & Discussion] anhyeuviolet:
Look like you have a sim lock version.

You have to unlock sim, them BL "may" change into Yes to Unlock.
[Sony Xperia XZ Guides, News, & Discussion] ネプテューヌ:
Thank you～But sim how to unlock？:confused:
[Sony Xperia XZ Guides, News, & Discussion] FreshlyBaked 420:
You can't unlock the bootloader. It says no. It's that simple. A Sim unlock won't help you either. This is pretty simple stuff to figure out with Google without posting the same question in multiple threads.
[Sony Xperia XZ Guides, News, & Discussion] xnevergonex:
I follow exactly to the Unlock BL steps and stuck in this problem.

After installing Android SKD, I try to install Google USB Driver but I have no idea where it is and cannot find it.

It's the same problem with the Fastboot driver.

Does anyone know where it is? Please help me with this problem.

Sorry for my bad English.

Many Thanks!

[IMG="UB 1"]https://uphinhnhanh.com/image/ikl8xf[/IMG]

[IMG="UB 2"]https://uphinhnhanh.com/image/ikl5eU[/IMG]
[Sony Xperia XZ Guides, News, & Discussion] anhyeuviolet:
Don't worry. Are you from Vietnam ? :confused:
[Sony Xperia XZ Guides, News, & Discussion] anubhabr50:
I tried to install a custom recovery in my XZ but forgot to backup the TA Partition. Is there anyway to get back the TA Partition, relocking the bootloader and get into stock ROM?

Please help
[Sony Xperia XZ Guides, News, & Discussion] STreeTNerD:
Sorry to say that, if you have already unlocked the bootloader without backing up the ta then it is lost forever. There is no way to get the once they are lost.
[Sony Xperia XZ Guides, News, & Discussion] anubhabr50:
I read somewhere that changing the motherboard might fix the problem. Is it true?
[Sony Xperia XZ Guides, News, & Discussion] anhyeuviolet:
FlashTool will help you turn back to Stock.

But TA will be gone forever.
[Sony Xperia XZ Guides, News, & Discussion] STreeTNerD:
Yes I think so. As long as it's never been unlocked.
[Sony Xperia XZ Guides, News, & Discussion] Niyolpaki:
hello

do i need a specific version of twrp for stock 41.2.A.7.53 ?

thanks in advance
[Sony Xperia XZ Guides, News, & Discussion] Saroj11488:
How to Restore stock rom for Xperia XZ dual
[Sony Xperia XZ Guides, News, & Discussion] iH8Ecchi:
Hey, I have a small question.

With Sony having discontinued MyXperia and switched to Google's Device manager, is the MyXperia kill switch still a concern? I couldn't care less about security, but having a "self-destruct" button around for kids and malicious people to tap is kinda disturbing.
[Sony Xperia XZ Guides, News, & Discussion] eddie130:
Hey everybody I'm new on here and I really hope you guys can help me out. I have just bought a new Sony xperia XZ it came with android 7 and the build number is 39.2.A.0.442 and I was wondering if someone can make a video tutorial on how to root the phone and post the link to video on here. I prefer to see it on video and doing it step by step as the person doing it so I know I'm not missing anything or not doing something wrong. Thanks alot for all of your help and have a great day
[Sony Xperia XZ Guides, News, & Discussion] ShAd0W_z0nE:
Hello I flashed the latest AndroPlus Kernel (v31). Does it recover all the lost functions or just some as the creator of the topic stated above?

Xreality is working but how can I be sure about the camera lost functions?
[Sony Xperia XZ Guides, News, & Discussion] zLucas:
Can anybody help me?

I unlocked Bootloader, a warning appears when the phone starts, but when I inject a kernel it does not start Rom or when it injects theTWRP into the stock kernel it does not start Rom, it always automatically opens the TWRP. Sorry for my bad English!
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
You might have installed the recovery (TWRP) into the boot partition.

fastboot flash boot boot.img

fastboot flash recovery twrp.img
[Sony Xperia XZ Guides, News, & Discussion] ongkhel:
I dont see that version anymore. Does 39.0A.1.213 works?
[Sony Xperia XZ Guides, News, & Discussion] kaakkuri:
Hello, I try to restore TAbackup but when in twrp my phone not detected by adb devices command??

Ok,now it says when i try to use adb shell command persmission denied??

Can someone please help? I am confused.
[Sony Xperia XZ Guides, News, & Discussion] zLucas:
Thanks for answering me!

I was using Flashtool in fastboot mode to put TWRP, and any other kernel I put gets stuck in the Sony logo, the phone just boots with the stock kernel. :(
[Sony Xperia XZ Guides, News, & Discussion] zLucas:
Thank you very much, I finally got it !!! :D :D :D
[Sony Xperia XZ Guides, News, & Discussion] ongkhel:
great guide. thanks anyway LOL
[Sony Xperia XZ Guides, News, & Discussion] treoking:
I have a Xperia XZ already on last Stock Oreo ROM.

I want to root the phone without lost the DRM keys, but I don't know if I can backup the TA in Android Oreo and how to make the complete process... Can I follow this tutorial step by step or I need a downgrade?
[Sony Xperia XZ Guides, News, & Discussion] nurav666:
I have a rooted (magisk) dual-sim XZ currently on the March update. If I want to upgrade to the April update, will my root be preserved? Or what do I need to do to re-root it?
[Sony Xperia XZ Guides, News, & Discussion] marius2du:
Hi guys

I flashed twrp , from XZ_AndroPlusKernel_v31, but after reboot twrp cannot be accessed.

I am on build 41.2.A.2.107, Xperia XZ F8332.

Any help would be aprreciated.

Thx
[Sony Xperia XZ Guides, News, & Discussion] bigkekko:
hi,

Can I relock the bootloader without the TA partition backup?

is it possible to rebuild it or use another one?

thanks
[Sony Xperia XZ Guides, News, & Discussion] Stoffl_:
yeah you can relock but you'll use all the DRM features.

No you can't restore/"rebuild" the TA partition if you didn't backup before unlocking. If it's gone, it's gone. You'll have to use drmfixed kernels.
[Sony Xperia XZ Guides, News, & Discussion] sirvo:
Hi,

I want to use google pay but as the phone is rooted, it won't work.

On previous ROM (not this one), I flashed safetynet or something like that do overcome this.

What do I need to flash to get the app working?

Thanks!
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Try Magisk, get rid of SuperSU

https://duckduckgo.com/html?q=magisk safetynet
[Sony Xperia XZ Guides, News, & Discussion] sirvo:
Hey,

Still no go.

ctsProfile still "false" and google pay won't accept.

I have tried running unSU and then Magisk on TWRP.

Then I tried setting SELinux to enforcing.

Any other way?
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
Maybe starting fresh helps.

This is over my head.

I have one device (Tablet Z4, LineageOS) where the CTS is false, another (XZ, stock patched) where everything is fine - the latter was set up fresh...

LineageOS with their kernel could be problematic. SELinux is strict on both devices.
[Sony Xperia XZ Guides, News, & Discussion] Asuka93sama:
Who can make root and twrp for Sony xperia l2 Duo?
[Sony Xperia XZ Guides, News, & Discussion] lilbrat:
I read over in one of the other threads for the L2 that Sony hasn't allowed the Bootloader to be unlocked, if this is true then development isn't going to happen..
[Sony Xperia XZ Guides, News, & Discussion] Asuka93sama:
loader I unblocked! The code from L and L1 is suitable.
[Sony Xperia XZ Guides, News, & Discussion] agentsandy007:
OREO

Can I follow tut on Oreo 8.0 to root my phone.

Is it necessary to downgrade?
[Sony Xperia XZ Guides, News, & Discussion] koekoek91:
It is necessary to downgrade to marshmallow to backup your TA.

If you haven't unlocked your bootloader yet I would do it if I was you ;)
[Sony Xperia XZ Guides, News, & Discussion] agentsandy007:
I don't want to backup TA.

It doesn't make sense to me.

I'm never gonna relock bootloader.

Can I follow tut on Oreo then?
[Sony Xperia XZ Guides, News, & Discussion] lilbrat:
Well in that cases, drive on.. No need to downgrade if you not worried about your DRM keys.. Just make sure the "root" kernel you flash matches your version of oreo on your phone..
[Sony Xperia XZ Guides, News, & Discussion] koekoek91:
I would still do it for warranty purposes in case you need to send back your phone to Sony.

But if you don't care about that, then yes you can follow the tutorial.

Just make sure to flash the correct files for your device and firmware version.
[Sony Xperia XZ Guides, News, & Discussion] agentsandy007:
Guys on Oreo I'm unable to unlock bootloader via fastboot.

The fastboot unlock code provided in Sony website's how to unlock bootloader isn't working.

After entering that command it says waiting for devices or command not recognized.

No issues with drivers.

I've a dual sim XZ F8332 and to get unlock code sony's website asks IMEI and i've dual sim i just entered one of the sim slot IMEI
[Sony Xperia XZ Guides, News, & Discussion] agentsandy007:
Anyone?
[Sony Xperia XZ Guides, News, & Discussion] J.M.Siyath:
ReCheck your IMEI and unlock code given to website and if you using windows 10 you have to Disable Driver Signature Like this

then Re Install drivers/ flashtool and try to unlock:good:
[Sony Xperia XZ Guides, News, & Discussion] XxperexX:
hey, can anyone tell me if this guide is up to date and will work today? i want to unlock my bootloader and flash a custom rom
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
the original [TM] guide is up to date
[Sony Xperia XZ Guides, News, & Discussion] XxperexX:
where is this?
[Sony Xperia XZ Guides, News, & Discussion] loparaan:
Hi, I have a question about DRM, if I need it or not

If the XZ is not going to have Android Pie support ... surely install AOSP Pie. If I have my DRM ... will they help me for something ?, the mobile phone is already out of warranty so any repair will not be covered.

If there is any way to install my DRM on a custom room ... then I would be interested to have them
[Sony Xperia XZ Guides, News, & Discussion] optixperiaa:
MOD EDIT by [MENTION=3843529]gregbradley[/MENTION]

There is never a need to quote the whole OP

does this methods Works on android 8 ?
[Sony Xperia XZ Guides, News, & Discussion] Xperixzuser:
MOD EDIT by [MENTION=3843529]gregbradley[/MENTION]

There is never a need to quote the whole OP

After relock bootloader i Will use sony features again xreality clearaudio etc.. Do i need to flash kernel stuff etc.. I am confused anyone can answer :((
[Sony Xperia XZ Guides, News, & Discussion] Mandy uncaged:
"If you are under Nougat already, you have to downgrade to Marshmallow"

I am on Oreo 8.0.0..

WHat method does apply for me and what about the provided DRM fix? Will it only work if i have not backed up anything previously?

Thanks in advance and fogive a noob XD
[Sony Xperia XZ Guides, News, & Discussion] Jovan1910:
is there a way to unlock the bootloader that gets no permissions? I use the Japanese version of Xperia XZ Sov34 help pleae
[Sony Xperia XZ Guides, News, & Discussion] Mandy uncaged:
so this thread is dead right?
[Sony Xperia XZ Guides, News, & Discussion] Mandy uncaged:
Link expired of:

Download the flashable zip of SuperSU : https://download.chainfire.eu/1021/
[Sony Xperia XZ Guides, News, & Discussion] optixperiaa:
Guys i am using omnirom. Can i root my Phone while using omnirom with same method? And is this supersu needed newer version? İ am abit noob sorry
[Sony Xperia XZ Guides, News, & Discussion] Stronger1101:
Hi guys. thanks for this excelent post, until now all work to me, but I have a doubt.

I can relock bootloader and restore the TA parttition with TWRP installed?

I have installed the FW 192
[Sony Xperia XZ Guides, News, & Discussion] gregbradley:
No,

Restoring the TA partition relocks the bootloader, so you will require a completely stock ROM if you restore it
[Sony Xperia XZ Guides, News, & Discussion] ShAd0W_z0nE:
Magisk crash

Hello I have magisk v16 installed every time I search for a download (in the apk) it crashes. Any solution to this?
[Sony Xperia XZ Guides, News, & Discussion] missk1126:
is this thread still active?i wanna ask if i downgraded to MM and unlocked my bootloader,how can i upgrade to oreo?
[Sony Xperia XZ Guides, News, & Discussion] XxperexX:
just by using flash tool and flashing oreo, make sure u saved ur drm keys tho
[Sony Xperia XZ Guides, News, & Discussion] missk1126:
so i will downgrade to MM and backup my DRM keys and then upgrade back to oreo and unlock bootloader?
[Sony Xperia XZ Guides, News, & Discussion] pawwaap:
And can write simply:

dd if=/location-of-your-choice/TAbackup.img of=/dev/block/bootdevice/by-name/TA

in TWRP's term console?

PC and cable every time, why If you have TWRP already?
[Sony Xperia XZ Guides, News, & Discussion] ahmedsy51:
Phone won't turn on!

Hi, i just did everything as you said and installed boot.img and the other one, but now my phone just won't boot up, it is stuck at sony logo, any ideas on how to fix it? also adb can't detect it but windows does.. :(:(:(
[Sony Xperia XZ Guides, News, & Discussion] MugenG:
You must download the correct XZ_AndroPlusKernel that corresponds with current firmware flashed on your device.

See this link for which XZ_AndroPlusKernel version you need: https://kernel.andro.plus/tone2.html

Here is a link to download XZ_AndroPlusKernel versions: https://drive.google.com/drive/folders/0B0j3VJ1Xp5N8Y1FZSmMwM1BOZDQ

After downloading the correct one simply flash boot.img again in cmd.
[Sony Xperia XZ Guides, News, & Discussion] Azha03:
forget backup TA

im forget to backup TA :crying:

anyone help to send backup TA F8331 :crying:
[Sony Xperia XZ Guides, News, & Discussion] gregbradley:
Then it is too late. You cannot use someone elses TA backup as it will hard brick your device.
[Sony Xperia XZ Guides, News, & Discussion] Azha03:
can i try?

please send a file backup ta :o

when hard brick can i reflash FW?

:crying:
[Sony Xperia XZ Guides, News, & Discussion] gregbradley:
You can try, but I wont send you my backup as I guarantee 100% that you will hard brick your device and you CANNOT recover it.

If someone else is willing to share, feel free to try it. BUT YOU WILL HARD BRICK YOUR DEVICE AND YOU CANNOT RECOVER IT.

Trust me on this.... ;)

Greg
[Sony Xperia XZ Guides, News, & Discussion] jutphaas:
Hard brick means end of Phone.

You can use Your Phone still pretty good without ta back-up... I find no problems for me, rooted/unlocked My xz1 before they had a ta back-up for xz1.

Maybe quality of camera is more noise when darker, but i am not Sure, overall i am happy with it (now on existenz 7, no drm fix)
[Sony Xperia XZ Guides, News, & Discussion] Azha03:
ok..i trust you :good:
[Sony Xperia XZ Guides, News, & Discussion] aoooz:
Hello !

I have rooted XZ with Magisk .184 and I want to update to .192 so I can use the fix for Xposed...

How exactly should I do it ?

Also additional question - is there kernel which improves battery,but has no bugs ?
[Sony Xperia XZ Guides, News, & Discussion] sonyfan54:
please delete

please delete
[Sony Xperia XZ Guides, News, & Discussion] Pistachio20:
hey guys trying to unlock bootloader and it just isn't working out for me i am stuck on the installing drivers part my computer keeps giving me an error that hash is missing and the driver has been altered. tryed redowloading the file and repeating steps to place it in the usb drivers folder then install. doesn't work

i can't get fastboot to recognize the xz any help?
[Sony Xperia XZ Guides, News, & Discussion] DHGE:
read my guide
[Sony Xperia XZ Guides, News, & Discussion] STreeTNerD:
Thanks for this......this was needed for newbies.
[Sony Xperia XZ Guides, News, & Discussion] seltoon:
It appears that the problem was using Flashtool without the latest patch! updated and worked. Thanks
[Sony Xperia XZ Guides, News, & Discussion] zroice:
guys i flashed this on a brand new xperia xz (unlocked BL) flashed kernel, flashed recovery, installed supersu.zip

But not its stuck at the sony logo?! I looked into the system info before i flashed - it was 6.0.1 Marshmallow, that should be compatible or?

Is there an easy way to flash compatible stock rom now that i have TWRP up and running?

And is there ANY way to remove that unlocked bootloader warning at the beginning of the boot?

EDIT: My bad I had the wrong kernel version.

But is there any way to a) disable system updates through ota b) remove the unlocked bl message? I think b is impossibe though..
[Sony Xperia XZ Guides, News, & Discussion] nathan30:
Unlocked bootloader block ota update. And no there is no way to remove this message. Or you have to relock your bootloader
[Sony Xperia XZ Guides, News, & Discussion] bautista0069@gmail.com:
[MENTION=4825559]nathan30[/MENTION] hi sir do you MM ftf for f8332 can you give me a link thanks and god bless
[Sony Xperia XZ Guides, News, & Discussion] Hijacks:
First I want to thank you for your Guide.

The Sense of backing up TA is to restore it after the phone is unlocked and rooted to get all the DRM funktions back if you do this.

So you need to complete your Guide with this:

https://xdaforums.com/showthread.php?p=69972315

Go on bro!