yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] johnny_9790:
Hi guys.

I am going to inform you that after many attempts I was able to make the software work.

I downloaded the latest version of Flashtool and installed all the drives on it. this is the tip for anyone with the same difficulty.

:p

-------------------------------------------------- --------------------------------------------------------------

after running the software without any error screen, my device does not activated the root option, I installed the SuperSU application and as soon as it starts, it shows a message saying that my device does not have root enabled.

Could someone help me with this?
[Sony Xperia XZ Premium Guides, News, & Discussion] whoosename:
TWRP installed? Check wether Magisk installed properly, if not flash manually via twrp. Then use XperiFix again.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Read the last posts. TWRP must have read-write access to the system partition.
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
Hi, I'm having issues getting the right ADB driver for my XZ1 compact.

Can you go into a little more detail please about how you got this to work?

Thanks.

Edit: Flashed using 47.1.A.12.75/R8B Gemany Vodafone

ADB driver interface: Google v11

Portable Devices: Microsoft v6.1.760

Sony ADB interface: Google V4
[Sony Xperia XZ Premium Guides, News, & Discussion] abgrxenda:
Once TWRP launch immediately click on MOUNT and select mount system the first option, and un-select the very last option at the bottom under the OTG option
[Sony Xperia XZ Premium Guides, News, & Discussion] lolislover:
Thank a lot
[Sony Xperia XZ Premium Guides, News, & Discussion] kentompkins:
Unroot option?

Yes. I didn't back up my TA. So DRM is gone. I know. No need to remind me.

I have had HUGE success with this Root/DRM hack. Thank you.

BUT. My company just invoked the infamous Intune Company Portal. I have to get the phone back to a Stock-ish state.

I had some success by using XperiFix and then removing Magisk via the Magisk Manager.

I really just want the DRM fix so the camera and other DRM Protected stuff works.

Any chance there's a way to unroot effectively after using Xperifix? Or any chance you'd make it an option to Unroot as part of XperiFix once the DRM hack is applied?

---------- Post added at 04:29 PM ---------- Previous post was at 03:42 PM ----------

May have found my own answer to the "unrooted" option with DRM fix.

I used EMMA to put the phone back to stock but with unlocked bootloader.

I then installed Google Camera 4.3.016.147548696 and it takes photos and videos without the GREEN DRM issue at a good enough quality for me to use as a daily driver.

InTune passed the checks (for now) so it doesn't seem to care about unlocked bootloader as long as there's no evidence of Root. In my previous attempts (uninstall Magisk, flashed Turbo Rom + flashed SuperSU + removed SuperSu, etc...) Intune kept seeing a Binary folder - despite there being no binary in it - it failed inspection. Hopefully a new flash from Emma with no other adulteration except UBL will be acceptable. Otherwise, I have an unlocked bootloader XZP with no DRM backups for sale.

No more superslowmo and I assume that my noice cancelling and other DRM protected stuff is still jacked.

So I'd still be up for paying for a DRM fix only option in Xperifix.
[Sony Xperia XZ Premium Guides, News, & Discussion] zniesmaczony:
Hey [MENTION=236992]Storm[/MENTION], I was wondering if you could help a neighbor from behind your eastern border ;) I wanted to install your fix on my unlocked G8141, but unfortunately it didn't work.

I did as follow:

-flashed the appropriate firmware: 47.1.A.12.75

-installed the latest XperiFIX

-launched it, accodring to your instructions,

-rebooted the TWRP manually, as it didn't do it by itself

-waited until it finishes.

The result is: ALMOST NONE. I mean, TWRP works, but I found that my phone isn't rooted. Magisk hasn't been flashed. So I installed Magisk v.16.0 manually, confirmed the root status, repeated the procedure with the XperiFIX and the only thing I achieved is that my phone only makes pictures by the front camera, and not always - 1 of like 5 pics is right, the other four are green. The main camera is not working at all. Help me Obi.... err I mean storm, you're my only hope ;)

EDIT: after wiping dalvik and cache the front camera takes pictures in like 9/10 attempts. The main camera still not working.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Please add the XperiFIX log (program folder). Maybe TWRP has no write access to the system partition.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
@ all

The next version will support most new devices and future updates of the firmware. There will be an update check for the software and device related files and settings, too. I will also implement a manual option for testing on experimental devices and custom roms. My plan is to support most or all of the current and future devices. Hope it works like it should.

Cheers!
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
Are you also planning to check other drm, non photographic, functions?

Like widevine L1, or possibly the bravia/x-reality engine.
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
Yes, you need to mount system.

I would check that you have the right ADB drivers also,.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Read the logs... What are they telling you? There is no device found. What means that the device is not connected or the drivers are wrong or your firewall is blocking adb. I bet it's the driver. Please read the last posts in this thread. I gave instructions to fix this multiple times.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi [MENTION=8363210]sToRm//[/MENTION],

please, please, don't forget us the Linux users. We still cannot gain from your research. Your new approach of auto-patching the binaries and images is too complex to be done manually by most of users, even it's now possible when we have many logs containing exact procedure done on windows.

I'll send you a bounty of 50 Euros as soon as a working Linux version is available.

And I think there will be much less problems with the Linux version because there are no problems with drivers (see that MOST problems with windows are caused with incorrect/missing drivers)...

With regards,

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] zniesmaczony:
I assure you, for the last few days I've been doing nothing else except reading this thread. Although maybe it's not enough ;) Anyway. I disabled the windows firewall, installed the XZ premium driver and then installed the ADB driver from https://xdaforums.com/showthread.php?t=2588979. The ADB interface became recognizable in device manager, but after unplugging the phone and re-plugging it in fastboot mode, the ADB interface has again become unknown. Could it be possible that turning the USB debugging off could cause such behavior? I'll try to do everything one more time once I get back from work, yesterday was kind of chaotic and I might have missed something after several tries late at night.
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
USB debug needs to be turned on.

You need two or three drivers for it to work, not just one as there are several phases.

Flashmode - this should be a Google USB driver. I found these instructions useful. Although it's from the XZ1c thread, the drivers are the same

USB connect, when it's connecting to TWRP- this should be from Sony

Here is a list from a few pages back from someone who got it to work

The last one is for a compact. Not sure what you are trying to flash, but obviously get the driver for you deveice from the Sony link above.

Edit: I know the pain you are going through. I have been flashing and rooting Sony's since my Z1 compact. Getting this right took me two days of messing about with drivers and I wouldn't have described myself as a noob.

It's difficult, but stick with it.

One thing is for sure, it's not the fault of sToRm//'s code, which works perfectly when you get the drivers right.
[Sony Xperia XZ Premium Guides, News, & Discussion] zniesmaczony:
I'm flashing the XZP. Anyway, thanks. Will try those as soon as I get back from work.
[Sony Xperia XZ Premium Guides, News, & Discussion] derjaeger:
[MENTION=236992]Storm[/MENTION]

Hi, this night I finally unlocked and flashed my XZP.

1 hour lost messing with fastboot drivers under W2016, just to discover that the right thing to do was the one in the video whose link is posted at page 176 of this thread.

Then half an hour lost because TWRP wasn't showing up the swipe screen so, while one had to tap the screen to do the right procedure (Mount->Disable RO->mount /system) xperifix was already running ahead writing, thus rendering fix not working.

So my couple of suggestions:

1. pasting in OP the link to the video about fastboot driver install found at page 176.

2. Making xperifix PAUSE after TWRP is booted so that one has the time to calmly mount system RW and then press "continue" to finish the job.

For the rest, up to now, my XZP looks fine. Will test it for some days and, if everything OK, next week pizza is gonna come :)

Thanks again mate!
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
No, if you are on the latest firmware x.137 you are up to date with this. The next update is Oreo (Android 8), but there is no working TWRP so far. So if you update to Oreo, the fix is gone and you can't flash it again, because the relevant files are different (it maybe will brick your device).

This is not a problem with the DRMpatch. Maybe it's a problem with cache or something else gone wrong. Try to wipe your cache and maybe do a cleanup with something like CCleaner for android. If that doesn't solve your problem, try a fresh install of your firmware with a data wipe (please backup before) and then repeat the instructions in the first post.

Hmmm... no problem with updating Magisk here. You could try to flash the Magisk uninstaller and flash Magisk again. But I don't think it's related to the DRMpatch.
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
For the love of everything that's holy, please put a "what about oreo - gtfo please wait, period" q&a in the OP
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
[MENTION=8363210]sToRm//[/MENTION]

waiting for androplus to relase a kernel and modify the twrp

it is in the work.

try to updare rooted xzp 7.1.1 to android 8 install magisk you get root and try to flash the fix manually if it work.

if not try with any root file explorer with laptop or pc

maybe it work
[Sony Xperia XZ Premium Guides, News, & Discussion] bosskillers:
Storm thank you but can you explain to me how to simply copy the binary Magisk BB in this folder or create a symbolic link
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Brothers, one quick question, does doing the above procedure fully restore all Sony goodies? Do we get X reality/Image Enhancements and most importantly full camera functionality and clean images with no grain/high iso.

If the answer is YES I'm ready to do the above procedure!

Thanks all!
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
The DRMpatch can't be used with Oreo, because the system file is different. I have to patch it especially for each device and version.

You can copy the file /data/magisk/busybox into /system/xbin/

Sample...

I made a few pics outdoor at night, too. Awesome quality! So... Yes...
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Looks fantastic bro, happy to hear we get all Sony goodies!!

I have just ordered my Sony Xperia XZ Premium online and it will be delivered to me shortly, the dual sim edition. The second it arrives this evening I'll unlock the bootloader and follow the above steps in order to get root access and custom recovery.

I cannot live without root since I have several apps that require root such as Adaway, AppOpsXposed, Auto Hide Soft Keys, Kcal Colour Control, Greenify Donation, Root Explorer and Titanium Backup Pro.

Once my phone is received, I understand how to unlock the bootloader and flash recovery, etc, however, could you give me a basic guide with regards to flashing the kernel and restoring DRM keys? I've never done this before and do not wish to corrupt my device or get a boot loop.

First thing is to unlock bootloader, flash recovery and root. Could you please give the following steps for flashing Kernel and DRM keys?

Thank you so much for your support.
[Sony Xperia XZ Premium Guides, News, & Discussion] bosskillers:
desole Storm I followed your instructions copy the file / data / magisk / busybox in / system / xbin / after 1 reboot I run root checker and he told me stage 1 Superuser app installed

stage 2 Superuser binary files not installed .I may be missed something ??? .. thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
It says in op but unlock bl, flash fw 137, flash custom kernel, twrp (both in fastboot and after each other), go straight into twrp and simply flash magisk + drmfix.

Then when you launch your phone you have root + drmfix.
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
You need to allow storage permission in settings/Apps/Magisk Manager.

Then it will update. It's a Magisk bug, totally unrelated to DRM fix.
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Cheers bro, I'll follow your guide shortly once my phone arrives later on this evening.

I can only hope it is one of the two supported model numbers and even more importantly I am allowed to unlock bootloader.

I'm in the Middle East, however, after contacting the company, they said the model number can vary, hopefully it's either G8141 or G8142. All I know is the version ordered is dual sim.

I got it for an AMAZING price, brand new in the box with one year warranty for only 470 Euro!!

Will update this evening. :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Dual SIM = G8142

?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobzter:
its ok now, had a problem earlier trying to transfer the files to phone, it came up with errors in between saying it couldnt locate/mount data/cache/storage. managed to reboot into twrp again but this time had no problem except for error about /cache not mounting for some reason. followed the instructions as stated, then rebooted the phone, however, it kept going into bootloop on screen where the Xperia logo was. so just rebooted back to twrp, decided to wipe cache/dalvik first, and then flash the 3 files and reboot. now everything seems good so far.

thank you very much sToRm// for the root!

sorry about the essay. just thought i would write it incase anyone ends up in similar situation to me.
[Sony Xperia XZ Premium Guides, News, & Discussion] RJASSI21:
I know its said that thid doesnt backup the drm keys but im just wondering. Will this be our only way of root by simulating the keys or will there be a way of backing up the keys in the future? I always like to have a backup of the keys before I do anything like this. If theres no way of backing up in the future then I suppose ill just wait for warranty to run out then do this method. I would like to know if a backup maybe possible in the future. Thanks.
[Sony Xperia XZ Premium Guides, News, & Discussion] ponytojas:
[MENTION=8363210]sToRm//[/MENTION] as I promised, hope you enjoy it

2BS79698NJ242045P
[Sony Xperia XZ Premium Guides, News, & Discussion] bosskillers:
Storm I followed your instructions copy the file / data / magisk / busybox in / system / xbin / after 1 reboot I run root checker and he told me stage 1 Superuser app installed

stage 2 Superuser binary files not installed .I may be missed something ??? .. thank you

can anyone help me

---------- Post added at 15:02 ---------- Previous post was at 14:56 ----------

if i flash xposed-v88-sdk 25-arm64 .you think it can be the right way
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
In kernel folder there is three files I have the single sim model

---------- Post added at 04:29 PM ---------- Previous post was at 04:28 PM ----------

Do install my model.plus androplus kernel
[Sony Xperia XZ Premium Guides, News, & Discussion] LukeyWolf:
Where did you buy it for such a cheap price?
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
I have question.

When I rooted my Xperia XZ Premium with this fix drm and I change name my Xperia XZ on build.prop to Pixel XL 2 or Nexus I lost my drm? Will I lose DRM by changing the model name?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
DRM is lost as soon as u unlock bootloader
[Sony Xperia XZ Premium Guides, News, & Discussion] zniesmaczony:
I FINALLY managed to install the drivers, turned out that Windows has been shutting the driver off, like someone mentioned before. So the solution was to choose update driver, than point the device from the list of installed drivers. After that, the Xperifix went on working. everything seemed to run smoothly, the device rebooted by itself, but the camera still didn't work. Will try flashing the firmware again and try the patch...

EDIT: I flashed the new firmware, launched the XperiFIX one more time, went through my wife's yelling to turn that goddamn computer off. For the first time didn't have to reboot manually.

and...

SUCCESS!!!!!!!

[MENTION=8363210]sToRm//[/MENTION], a donation for you. Oh, and I'll ask Lewandowski to score some more for Bayern. Mia san Mia! CHEERS! :D
[Sony Xperia XZ Premium Guides, News, & Discussion] Hakkinen3K:
Hi, when you have the time, can you please test camera? photos 17-19 mpx videos, hd, Full HD 4k, Slow Motion? i'm searching and waiting for this info before unlock the bootloader and root with xperifix.

Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] johnny_9790:
Hello friends.

My cell phone went into bootloop, and I do not know what I can do.

I installed the superSU APK by Recovery mode, and I just forgot to make a backup install.

my phone is a Sony Xperia XZ Premium

Can someone help me?
[Sony Xperia XZ Premium Guides, News, & Discussion] Boxma:
Use xperifilm and flashtool
[Sony Xperia XZ Premium Guides, News, & Discussion] zniesmaczony:
[MENTION=8363210]sToRm//[/MENTION], is it possible that your fix could affect any other issues? Have you heard any reports regarding bluetooth problems related to unlocking the bootloader? Thing is, before I successfully installed your mod, I had severe bluetooth problems, it didn't scan for devices, it took forever to pair and in the end, it disconnected by itself and I couldn't connect it any longer or pair with anything else. After flashing the new firmware, the problem occurred again. The best part is that the bluetooth issue came out BEFORE unlocking the bootloader :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Rastabude:
no error by fastbood mode and flashing via storm 2.2 but magisk isnt installed and camera not workung on xz g1481 : 47.1.A.12.75 not working. what can i do? wich software should i install? i am running telekom rom flashtool because last week this work. but now i have got a new handy because of the mic problems and it doesn't work. did everything like before. need help

ps: can i download xperifix 2.1 anywhere? perhaps this would work G8141_Telekom.de DE_1309-2157_47.1.A.12.75_R3B is my rom but didnt't work. where can i downlaod a other one? xperifirm didn't have r5b or is this wayne and doesn't matter?
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
It doesn't matter which version of firmware you have.

Can you post the log files from xperiafirm? I know you say no error, but watching the meter get to 100% doesn't mean no errors, you need to check the logs.

Sounds like bad/wrong drivers
[Sony Xperia XZ Premium Guides, News, & Discussion] Moarten:
I just had something similar; XperiFIX flashed everything and said everything was ok, but there was no magisk and there were green pictures.

The fix was to first uninstall xperiFIX, remove whats left on c:\xperiFIX and then install 2.2. I had an old version installed and just installed the new version on top of it. Maybe that caused the wrong files being flashed or something.

So if you had an older version of xperifix: Uninstall and remove the xperifix folder before installing 2.2
[Sony Xperia XZ Premium Guides, News, & Discussion] snake218:
It's xperifirm working on XZ1 47.1.A.12.119 March update?
[Sony Xperia XZ Premium Guides, News, & Discussion] derjaeger:
Camera seems to be ok!
[Sony Xperia XZ Premium Guides, News, & Discussion] shiemng:
Why my g8142 skipped "booting the recovery"? No successful root
[Sony Xperia XZ Premium Guides, News, & Discussion] shimeng:
Why my g8142 skipped "booting the recovery". No successful root
[Sony Xperia XZ Premium Guides, News, & Discussion] DavidSnake:
Hello, I just went through the process on my XZ1 Compact. Unlocked bootloader, finding the right drivers was the hardest part..

Then I ran Xperifix. Had to manually enter TWRP and swipe right to allow modifications, but then the whole process went smooth.

I reboot the phone but now it seems that the DRM fix didn't work as all my pictures are green and root is not working.

Should I start the whole thing from the beginning?

edit: tried mounting system manually and made sure the system is read/write. I'm not sure what I'm missing here..
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
You need to check the logs from Xperiafix, although the progress bar gets to 100% it doesn't mean it was successful.

There are several drivers required for the different phases. Flashtool & USB ADB. It sounds like you might be missing the second set.
[Sony Xperia XZ Premium Guides, News, & Discussion] VeixES:
Had XZ Premium, sold it. Now bought used XZ1 for 299eur. On .75 firmware, installed XZ1 fastboot drivers. Unlocked the bootloader. Started xperifix, quickly swyped twrp to allow modifications. Xperifix finised, root available and no green pictures :)

Love the passive-aggressive donation :) Donated actually some months ago, but never used the xperifix with XZ premium.
[Sony Xperia XZ Premium Guides, News, & Discussion] Orange1k:
After unlocking bootloader i tried to give it a go with the XperiFix on my XZ1

It all seemed like it worked but no root unfortunable, but after running the process once more i had magisk and the root fix :D

Great work! i will send another donation when my paycheck arrives!
[Sony Xperia XZ Premium Guides, News, & Discussion] sudd1976:
Just one question

Hey Guys,

So after unlocking my XZ premium owhich is running 47.1.A.12.34, i tried the folowing the instructions with no luck.

I worked out that i had to clean flash using New flasher and i now have fake DRM and also Magisk installed, but for some reason I dont seem to be able to boot in to TWRP, Fastboot command does not work and even using the key combo I cannot boot recovery.

Anyone got any ideas where I am going wrong, as i only want to install Viper audio ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
Power off, then wait 5 seconds. Hold the volume down(-), then press the power button, let go when it vibrates, keep holding the volume down for another couple of seconds.

You can install Viper through Magisk, just check the modules listed under download.
[Sony Xperia XZ Premium Guides, News, & Discussion] sudd1976:
Thanks man, knew there had to be some simple answer,

:highfive:
[Sony Xperia XZ Premium Guides, News, & Discussion] md1982:
Hello there im gettin my xz1 compact tomorrow just wondering will this fix work on it?