yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] TheMops:
Yes, I´m in fastboot mode

The tool starts....in TWRP I can see the screen "mount decrypt data" after

I´ve waited, then the TWRP screen locked starts

After more then 5 minutes I replug USB and then I´ve two peeps and the XZP boots

but only in a bootloop after 10 secs of booting it starts again with booting

In the moment I´m again in TRWP for 10 mins now and nothing happens
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Are you sure you selected the right version in XperiFIX?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Wipe cache and date to reset ur device

Working here xzp dual

Sometime twrp touch stopped working but it is fine.

Edit:

Modding some files in system/etc folder

And now twrp has black screen then bootloop

I have a backup i will do backup if it boot to twrp
[Sony Xperia XZ Premium Guides, News, & Discussion] TheMops:
Sorry for stupiness :(

I´ve choosed the oreo firmware and i had installed nougat huhu

Now i´ll try it with the right version
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Anyone got errors when attempting to flash Oreo rom on their XZ Premium? I'm getting ''vid:0x0fce pid0xb00b'' error message when attempting to flash Oreo firmware on my XZP. I have all drivers installed, ADB and Fast Boot drivers correctly working yet I keep getting the above message. :(

It's times like this I WISH Flashtool worked.

I'm trying to update my firmware to Oreo so that I may test the Xperia Installer Fix. Thanks for anyone who can help.
[Sony Xperia XZ Premium Guides, News, & Discussion] TheMops:
Now it works perfect....Thank you

Great work
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
That's not exclusive to Oreo but ***flasher and it means no usb device.

---------- Post added at 08:15 PM ---------- Previous post was at 08:13 PM ----------

Restoring a backup via twrp doesn't work, it gives an error.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
So my phone doesn't let me update through OTA. Is there anything I need to disable first like root or magisk?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
I will try and old se-linux fix for sony

I reflash the fix and works fine
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You can't update via OTA once you unlock bootloader :cyclops:

You were able to restore a backup via twrp? How?
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Oh :D So What's the current method? I saw flashtool doesn't work for it atm.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
https://xdaforums.com/xz-premium/help/flashing-generic-fw-simple-guide-t3652103
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Hm it's not really clear if the "repair device" step will factory reset my phone. Does it? >_<
[Sony Xperia XZ Premium Guides, News, & Discussion] pikeylfc:
Hi storm do you have a drmfix zip for Oreo. I already have root and working twrp and was hoping to flash it since I'm not home.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Download the newest firmware with Xperifirm.

In the downloaded firmware folder, delete userdata.sin file (to keep apps and data) .

Use Newflasher and flash the firmware to your device.

After that, use XperiFIX...
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You have a working TWRP on Oreo? Please share it!

Do you have Magisk? Then you can use XperiFIX, too.

You need my patched kernel. The DRMpatch doesn't work without it.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Huh, not sure why that step was there, you can just ignore it since you can't use that tool with unlocked bootloader anyway.

Also, please be aware that if want to keep your files you need to remove certain files in the fw folder.

If you don't you will get "Failed Decryption" when the phone has booted which will force you to format the phone.

Did you plan on doing an upgrade instead of full flash?
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
It would've worked but my phone was encrypted and there was no prompt to ever enter it...so now the OS is damaged and I had to factory reset =_= Luckily I did a titanium backup before AND saved my Fate Go ID (like super important xD)

Should've used a bible as the folder had so many huge sins in it...

Edit: To Clarify I am on Patched Oreo now :D

Edit2: Aaaaand touch does not work in twrp so I cannot unlock my system partition to flash stuff >_>
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Naw, but now you know at least if you update in the future.

But doing a full system/user+data backup/restore via Titanium Backup is really painless so it could be worse!

You can also backup data via twrp! (But right now there's a bug when restoring so don't try).

I use a 256GB memcard and use Titanium Backup frequently, saving the backups there on the memcard.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Yea I read about the not working twrp earlier. Also touch does not work so I cannot go into twrp again to flash stuff...
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You can flash via pc in worst case.
[Sony Xperia XZ Premium Guides, News, & Discussion] pikeylfc:
https://www.dropbox.com/s/hb4s43h9lw15f8p/MOV_0029.mp4?dl=0
[Sony Xperia XZ Premium Guides, News, & Discussion] RS7Quattro:
:victory:Er hat es schon wieder getan!!!

I used your tool and Everything is ok. So now i can use my phone like i want to use it !!! whooop whooop:victory::highfive:
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
So many stupid questions I ask I assume, but I never flashed apps via PC o_o The last time I've activley flashed around stuff was my Z1... Time flies :D
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Ich wette Sony hasst mich... Hahaha...

Nice to hear that ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
use prfcreator and put magisk with the place of su

use volume key for twrp if don't work

for me it is working fine now.

modifiying media file in etc and build.prop and cam is better and have big improvement now

use root explorer for root file manager

tanks storm
[Sony Xperia XZ Premium Guides, News, & Discussion] Hotfingers:
My phone was also encrypted - turns out there's an option when you set the PIN / Password / Pattern to unlock your phone.

The phone prompts you to "keep your phone safe at boot time" - and recommends "Yes".

This translates to "Encrypt phone" - so you can answer "No".

After I re-set my PIN, and answered NO - then XperiFIX worked ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
No this isn't that, it's still encrypted without a pin.

Can you please stop quoting me? It's never directed at me so I don't know why you do it.
[Sony Xperia XZ Premium Guides, News, & Discussion] Emiliano7774:
STORM!! Following the instructions the twrp still freeze. Solution?
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
sToRm// , it looks like ok:

- Removed google account + any device lock before restart

- Rebooted to fastboot, started your tool

- Your tool just did the job, without any problem, freeze, etc (twrp start and ready to work in 10-20 seconds).

on G8142_Customized CE1_1308-8226_47.1.A.3.254_R2B

Camera tested: fine, I'll check other DRM related things.

BTW, if you want to make a really foolproof version, you can start in flashmode, there's some commands:

getvar:product - response G8141 v 8142
getvar:Phone-id	- response IMEI: 1 for G8141, 2 for G8142
getvar:Rooting-status - response ROOTABLE,ROOTED etc.
Read-TA:2:2202	- response last flashed version, ex 1306-8501_45.0.A.7.90
reboot-bootloader - reboot to fastboot
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
This is a great job！

It seems that the twrp not good work on Oreo,had you fixed it？

The Kernel based on AndroPlus Kerne-v7？
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
@ sToRm, I can confirm I am finally on Android Oreo 8 and after having flashed your XperiFix Application, the device is having recovery, root and drm fix.

Everything working 100% first time. Sony screen enhancements and camera also working fine.
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
I know this was posted before, but would like to confirm. For those who rooted and unlocked on Oreo, can you still pass Safetynet with Magisk?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Yepp ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] j840425:
hello, the touch screen on the TWRP for G8141 @ Android: 8.0.0 does not work, can you help me?
[Sony Xperia XZ Premium Guides, News, & Discussion] Kanoe:
Tested XperiaFIX at Dual-SIM Oreo: working except no touch in TWRP. XpreiFIX hanged in "booting recovery" with 100%CPU so I had kill it and manually install drm/magisk over shell. The booted kernel prints many errors/oopses due not mounted /debugfs though
[Sony Xperia XZ Premium Guides, News, & Discussion] Hotfingers:
XperiaFix on single SIM Oreo: - Works perfectly as long as your "keep device secure during boot" option is turned off.

(if the option is turned on, then you get asked for your pin / password when TWRP is loaded, and you can't put it in).

Just an aside (slightly off topic)

* We all know that TWRP is not stable on Oreo yet, but I also found out that when I tried installing BusyBox for Magisk, then after rebooting I got a boot-loop.

So be careful with using Magisk.
[Sony Xperia XZ Premium Guides, News, & Discussion] Alex1911:
[MENTION=8363210]sToRm//[/MENTION]

German: XperiFix funktioniert für mich nicht.

Es friert ein sobald es in's Recovery bootet und tut dann gar nichts mehr, auch nicht wenn ich das Usb-Kabel neu einstecke.

Jetzt kann ich weder Kernel noch Recovery flashen außer das recovery das mit XperiFix kommt.

Ich hab meine ganze Firmware 3 mal komplett neu geflasht um sicher zu gehen das alles frisch und neu ist, versuchte es jedes mal und alles endete mit einem bootloop.

Wen ich denn drmfix manuell installiere geht alles nur die Kamera schießt keine Fotos.

Ich hab mir the ganzen thread sorgfältig und genau durchgelesen um Fehler aus zu schließen.( könnte ja was vergessen haben etc.)

Ich habe sogar die partitions.zip mit geflashed und seit dem scheint das flashen von boot.img und recovery.img nicht mehr zu funltioniern.

Ich glaub ich habs kaputt gemacht ?

Hast du irgendwelche Tipp's was ich noch versuchen könnte oder woran's liegen könnte ?

_______________________

English:

XperiFix does not work for me.

It freezes when booting to recovery and does nothing even after replugging the usb cable.

Now i also can't flash/boot any boot.img or recovery.img

except the recovery you provided by XperiFix.

I reflashed the whole Firmware 3 times to make sure that everything is fresh and new, tried it every time and ended with a bootloop. When i try to install the drmfix manually the Camera App doesn't shoots Photo's anymore.

I read this thread carefully and precise to prevent any issues ( Forgot something etc.)

I even have flashed the partition.zip,

I think i wrecked my phone ?

Any Tips what i did wrong ?

Best Regard's

Alex1911

EDIT: Is it possible that not all different Firmwares are supported ? Example: some carrier provided Firmware's don't/can't work.
[Sony Xperia XZ Premium Guides, News, & Discussion] alexander1995:
Hello, storm. Could you please patch the androplus v

07 kernel?
[Sony Xperia XZ Premium Guides, News, & Discussion] BigBrainAFK:
Check out the Data folder inside the XperiFIX folder after installation.

//EDIT: Flashed the kernel.img using TWRP and then flashed the drmfix.zip using TWRP but still getting green images.

//2.EDIT: Flashed the kernel etc again in the same order now it works. I suggest maybe having an option if people want to flash recovery and root or if they already have it. For me I already had it so I was nervous that it might break TWRP again.
[Sony Xperia XZ Premium Guides, News, & Discussion] xpt1:
nice work!

but i Need help,

i cant change/edit my hostfile root browser have su premission, also i cant delete bloat apps like Amazon.....

##################################

ok it work now, i use an other browser :)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
1. Please be careful to flash the right files (version must match your device).

2. Problem is: If you already rooted your device you will lose root while you flash the kernel (needed for DRMpatch). But if you have rooted with Magisk, there is absolutely no problem at all. XperiFIX flashes the kernel and Magisk, so you have root again without any change. If you want to keep your TWRP, just flash it back after XperiFIX is done.
[Sony Xperia XZ Premium Guides, News, & Discussion] BigBrainAFK:
I think the first time it didnt work cause i tried flashing the kernel with TWRP and despite selecting it to flash to boot it didnt work. After using fastboot to flash it worked as expected.

//EDIT: I was fully aware of needing to reroot. I mean after all we flash over the boot.img that magisk modified.
[Sony Xperia XZ Premium Guides, News, & Discussion] Charos87:
I to can attest to the device still passing Safetynet. I have used Android pay today too with no issues.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
German: Hast du sicher die richtige Version für dein Gerät ausgewählt? Es gab einen anderen User der das gleiche Problem hatte, aber schlichtweg die falsche Firmware Version ausgewählt hat. Habe gerade ein Update für XperiFIX hochgeladen (einfach nochmal den Installer downloaden und installieren, vorher ggf. die alte Version deinstallieren). Probiere es mal damit. Bitte auch darauf achten, dass OEM Entsperrung aktiviert ist. Vielleicht auch mal USB debugging aktivieren (hat hier und da auch schon geholfen). Hast du die komplette Firmware mit Newflasher geflasht oder zuvor Dateien aus dem Firmware-Ordner gelöscht?

English: I updated XperiFIX. Please try the new version (uninstall old - install new). Please be careful to choose the right version for your device. Also be sure you enabled "OEM unlock" option and USB debugging in developer settings. Also be sure to flash the firmware right (fresh & complete).
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
It's always better to flash a boot.img (kernel.img) with fastboot. Reroot is needed because while the boot image is flashed, there are no root modifications in it. Magisk will then load the boot image, unpack it, do some patches, repack it and flash it back. If you had Magisk before, there is no problem, because Magisk checks if related files from an older Magisk installation are on your device and will do the needed things to the boot image. It keeps your Magisk settings, too. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
[MENTION=8363210]sToRm//[/MENTION] I have problem after fix All time see Sony logo and this communication
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
That's normal. It says that your bootloader is unlocked.
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
That's what happens when you unlock the bootloader. It can't be bypassed. It's a Google requirement since MM. You will see it each time you reboot.
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
And ? Whats now? My phone is still restarting after this message is displayed. I can not run system

Edit ok I Once again install the fix and now phone starting
[Sony Xperia XZ Premium Guides, News, & Discussion] uammama:
Donation done confirmation NUmber:1HB32972Y8233701T.

Thank you very very very much for your hard work!!!!!
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
[MENTION=8363210]sToRm//[/MENTION] Camera working and all function But i dont have twrp and i dont have root and magisk. One more time install you fix or download magisk menager and try install ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Alex1911:
german: Danke für den Tipp hatte die Vermutung weil die Firmware mit "Customization R2B" installiert habe wegen dem Provider aber, R4B angegeben ist. Ich glaub das es das sein wird. :)

english: Thanks for the Tip, i guess i have the wrong Firmware Customization (R2B) because of my Provider but, only R4B is mentioned. I think that is the Problem.

I will report back.

Best Regard's

Alex1911
[Sony Xperia XZ Premium Guides, News, & Discussion] lokilin:
Can I unroot it after patch the DRMfix?

By using Magisk-uninstaller or other method.

Which method is your suggest?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
What? Why? If you don't want root, why did you unlock your bootloader?
[Sony Xperia XZ Premium Guides, News, & Discussion] AlexSkiff:
It doesn't work.

I am sorry, I done like you advice with XperiFIX, but when in the end of this procedure TWRP displays freeze, screen don't touch and appear "Unmodified System Partition ...." and I can reboot device only POWER+VOLUME(+). It repeats evrytime ))

I have Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.3.254_R2B
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
TWRP doesn't freeze, it's only without touch functionality, because there is no 100% working TWRP for XZP on Oreo. XperiFIX is using adb shell in recovery mode via TWRP to flash things. That works without touch.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
So its basically like flashing via adb on pc, neat.

If only this damn bug restore bug could be fixed.

I guess only [MENTION=3816568]Myself5[/MENTION] can fix it?
[Sony Xperia XZ Premium Guides, News, & Discussion] lokilin:
I want remove some app and fix HDCP error on my system

Now I temporarily uninstall root by use Magisk-manager. And it looks OK , but root will back if I reboot or something. I don't known can I remove all of the root?

Because I am playing a game Fate grand order can detect all of system debug/root/modify is running.

And it detect the root even I enable magisk-hide.

I want to fix the HDCP problem to miracast so I root it but the method doesn't work on XZP.

Does anybody know how to fix it?

https://xdaforums.com/xperia-xz/how-to/guide-fix-miracast-screen-mirroring-t3583743

This problem can unroot after fix either on my Z5P.
[Sony Xperia XZ Premium Guides, News, & Discussion] baster72:
i try to unlock bootloader i turn off. after push volume up and connect the cable and only the blue led light is show what i need to do please??
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
for people who has problem with twrp

can use volume keys with the place of touch

our bro fix the root and to be succes we should reset the phone before flashing the fix

i have xzp dual and rooted fine

ican change and modify all system files

but how to update without loosing data and root in the next update?

sony start rolling out november security patch

that mean new software is coming in few days

x compact the forst who got the update in 34.3.A.0.244 software version

the new update for xzp and to be same softwre as xz1 is coming.

hope tof sensor problem will be fixed
[Sony Xperia XZ Premium Guides, News, & Discussion] enige1993:
For me everything works great. Tried on G8141 Oreo.

Waiting this day since I bought the Smartphone. Thanks [MENTION=8363210]sToRm//[/MENTION] :fingers-crossed: I will donate as soon as possible.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
before turning off in developper option put oem unlock on and turn off the device then install adb driver

and read the construction in the first post
[Sony Xperia XZ Premium Guides, News, & Discussion] baster72:
did that oem unlock is allready on
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You need to flash the uninstaller for magisk, removing the app doesn't remove magisk.

You need to remove all .ta files + appslog_x.sin, diag_x.sin, qnovo_x.sin, ssd_x.sin. userdata_x.sin.

I'm not 100% sure which files causes the failed decryption error but that's what I remove and never get failed decryption.

You can also simply flash system.sin only if you want a simple system update.
[Sony Xperia XZ Premium Guides, News, & Discussion] AlexSkiff:
Understand

Understood, but camera not working , green picture. What need to do?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Thank you

I prefer flashing system.sin and no other files to not got error
[Sony Xperia XZ Premium Guides, News, & Discussion] TboneThomas:
when I run xperifix it seems to get stuck on "booting the recovery." When it gets here, the phone turns on, and the sony logo comes up, then it just sits there. Any suggestions? I'm going to try to do it manually and see if I run into any errors that could cause the program to crash.
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
OMG Finally thanks to you ! Google Daydream all function and games working on XZ Premium after copy file to system Working PERFECT Thanks for root. Now I can use all what I want on device ?
[Sony Xperia XZ Premium Guides, News, & Discussion] pikeylfc:
Ya I copied them to my sd and flashed it thru TWRP. Works great now ?
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
I need to get SuperSU working. It seems now it will not boot into TWRP :(

Is there any other way I can flash or install SuperSU onto the XZ Premium? Thanks!
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Have u followed the Instructions given by Sony for next stage?
[Sony Xperia XZ Premium Guides, News, & Discussion] baster72:
im trying to update after copy th fileandroid_winbus.inf "When asked for a driver, open the Devices and Printers directory, click on the fastboot driver and press Update. Browse and point towards the location of the new android_winbus.inf file" but it not let me i add pic
[Sony Xperia XZ Premium Guides, News, & Discussion] Alex1911:
DRMFix works

The DRMFIX work's now.

[MENTION=8363210]sToRm//[/MENTION] Please include this info for manual installation.

Short info on how i did it on Oreo Firmware:

1. Make sure you have a Firmware with Customization R4B.

2. flash the whole Firmware except ".ta Files" with latest newflasher include also partition.zip

( unpack in the root-folder of newflasher. example newflasher/partition/ *all files from the zip* )

3. start up the system and make sure you have usb Debugging and oem-unlock allow enabled and

your PC authorized on your Phone (message pops up with usb-debugging enabled, if not replug)

4. now push the drmpatch.zip for Oreo from XperiFix to your device and keep also kernel.img in the root-Folder of Fastboot to flash it later.

5. put your device in fastboot mode (blue LED), and flash the kernel.img of Oreo and your Model (G8141 or G8142).

6. after that, boot with the official TWRP for XZ Premium and wipe data, cache and davil-cache. (Fastboot command --> fastboot boot recovery)

7. Now flash Magisk V14.3 and drmpatch.zip and reboot.

8. It should all work now.

Best Regard's

Alex1911
[Sony Xperia XZ Premium Guides, News, & Discussion] serajr:
[MENTION=8363210]sToRm//[/MENTION] ... and on the subject of heart attack we talked about earlier today, I think some sony devs have had it (kidding again)! :p

You have just hit the bull's-eye!! Amazing work!!!

I have now no excuse to not buy an new Xperia anymore (XZ1, maybe XZ1C), damn it!!

(drm****.so >> LMAO)

Beers (2AH65358TN8257055)
[Sony Xperia XZ Premium Guides, News, & Discussion] Let1107:
it work with Android 8.0?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
Quick question for everyone, how do you suppress or completely disable the message at boot up about the device being untrusted?