yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
1- Maybe, but also backup to Google cloud using drive, sms backup and restore app or whatever non root tools you can find.

2-Of course Magisk works, it wouldn't be included if it didn't.

3-You can, but camera won't work after flashing stock and relocking, due to DRM keys being wiped during the initial unlock process.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
thank you bro for your effor and the update.

the AndroidLib build you mean did you update your kernel

i am in the previous version , it is nessesary to update or reflash XperiFIX
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
No, it's just an update of XperiFIX software. No changes in the DRMpatch or other files.
[Sony Xperia XZ Premium Guides, News, & Discussion] gerald.mrrsn:
Is there any way to get double tap to wake on official firmware or is it just just possible for AOSP? if not possible will you be implementing the feature in your kernel at anytime or is it not possible?

Also does it take time to get the link from sony to unlock the bootloader? im waiting for the link to proceed with the unlock as i haven't received it still :(

Info would be much appreciated :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
I think the androplus kernel supports double tap to wake.

Link should be sent out straight away
[Sony Xperia XZ Premium Guides, News, & Discussion] gerald.mrrsn:
thanks for the reply bud,

Yes is does but its for aosp roms and i was referring to using the feature on my stock rom, which i believe it doesnt work on, please correct me if im wrong :)

and really well ive tried twice and i still never got a link sent to my email yet :(
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Both DT2S and DT2W works just fine.

v03
Change the way to wakeup of tap to wake - now you only need this command to enable it:

adb shell
setprop persist.sys.touch.easywakeup 1
[Sony Xperia XZ Premium Guides, News, & Discussion] gerald.mrrsn:
so i could jus run the command on my stock rom and it'll work? :eek:
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Yes, since storm is using androplus kernel.
[Sony Xperia XZ Premium Guides, News, & Discussion] gerald.mrrsn:
I see alright cool, ill try that command out once i get this bad boy unlocked and rooted and ready to go in the next few hours when i can, thanks for the reply bud :) I don't really care about the feature but i always like to do stuff that i originally wouldn't be able to do without root so why not :P lol
[Sony Xperia XZ Premium Guides, News, & Discussion] ibjaredu:
Anyone know why I'm getting this when trying to install the fastboot driver android_winusb.inf?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
In current XperiFIX there is no AndroPlus kernel. It's all stock but with modified ramdisks. Maybe I will add AP kernel to XperiFIX as optional.
[Sony Xperia XZ Premium Guides, News, & Discussion] gerald.mrrsn:
that'd be great if you did..but that kernal cant be used with stock rom, only a custom aosp rom right, or am i wrong? jus wondering since im just gonna start working on my xzp now and get it all modded up finally..since its possible to do so now all thanks to your work, i wish i knew how to crack, develop and make the goods in the android world like u sir :P lol ill be sure to donate to you in the next days once i get my pay :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Is there any hope for getting a systemless fix (preferably with a proper backup of drm keys), or should I just go with this?
[Sony Xperia XZ Premium Guides, News, & Discussion] Inerent:
https://m.gsmarena.com/its_possible...eplus_phones_without_unlocking-news-28232.php

Hello guys?

Doesn't xz premium have a test like this in the settings?
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
A magisk module should be possible for systemless integration of the fix, but proper backup of drm keys is not currently possible due to

a) No one knows where they are (Not in TA partition anyone)

b) Root would be required to find them and back them up.

c) Can't (currently) root without unlocking the bootloader and losing the keys (Catch 22)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
To me that makes no sense. The DRMpatch contains a "cracked" system file (secd) which is not universal. It's different on other devices and firmware versions. So you have to replace the file in system/vendor/bin to get the DRMpatch to work.

a) That's wrong. They are on the TA partition (I found related functions and mentioned that in the brainstorming thread)

:)
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
Yes, I know, a different module for each device and each firmware, but the tech savvy can make their own. I wouldn't expect you to do it, you do enough already[emoji6]

But I thought [MENTION=4120742]munjeni[/MENTION] said drm keys were in a unknown location outside TA partition? Anyway, you own the device so you would know. I stand corrected [emoji5]
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Oh, I'm sure you said you were using it. Why did you change?

Androplus kernels works fine on Sony stock fw.

Where are you getting info from it wouldn't work?

It even says on the page itself.

I clearly remember this so that's why I started taking everything he says with a planet of salt.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
AndroPlus kernel was an optional download for the manual method (before XperiFIX).

I haven't included AndroPlus (Oreo) in XperiFIX so far, but i planned to do it.

;)
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
He still on the old oreo kernel

He didn't update his kernel
[Sony Xperia XZ Premium Guides, News, & Discussion] bosskillers:
hello how to put this command line directly on Android thank you

---------- Post added at 20:17 ---------- Previous post was at 20:02 ----------

hello I added this command line setprop persist.sys.touch.easywakeup 1 directly on Android and the XZ bug at startup how to remove it thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] Let1107:
Does anyone can help me... I already installed the new update for xperifix
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Do the command again with a 0 instead of 1.

Please search before you post, the issue has been brought up before.

Download here and put it where XperiFIX is located.
[Sony Xperia XZ Premium Guides, News, & Discussion] Let1107:
Hi I did and now when the app says booting recovery my phone doesn't do anything.... And when it done I still have green picture s :/
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You can wait for Storm to reply or simply flash the files manually which takes max 1 min.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You can't use double tap to wakeup on stock kernel which is included in XperiFIX.
[Sony Xperia XZ Premium Guides, News, & Discussion] saeed nino:
please help me " libwinpthread-1.dll is missing "

I tried to fix it but when i click on "Fix my device" said you must press volume + and plug the device to USB and when i plug my device in fastboot mode and blue light is one but when i press OK said System erour and libwinpthread-1.dll is missing.

Please help me to fix this broblem :crying:
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
That's not what hes asking. XperiFIX failed to fix his phone so hes asking for help :P.

Read 3 posts above you.
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
I can seem to find slow motion setting in camera I've latest firmware with fixed drm g8141
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
It's not related to DRM so the patch has no affect on it
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
xz1 and xz1 compact start receiving same xzp firmware version 47.1.A.5.51
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
+++ NFO ++++

I have a new version of XperiFIX here, with included files for the XZ1c and a few changes in the tool.

Actually I'm (remote) testing this build with a user, to get a working patch for the other device, too.

The XZ1c is using another encryption, so I have to change something in TWRP and kernel, to get it to work.

@ ALL:

There is a bug with the missing libwinpthread-1.dll in the current released version.

I fixed it, but on some machines it still doesn't work. If you are affected by this bug, you can download the

libwinpthread-1.dll and simply copy it to the XperiFIX folder (C:\XperiFIX\)

As soon as we get the fix for XZ1c to work, I will release the new XperiFIX version.

Be patient...

:cowboy:
[Sony Xperia XZ Premium Guides, News, & Discussion] ugh!:
Thanks a lot for your work on XZ1c!!! If you want, I can test your fix on my XZ1c too. I don't worry about unlocking bootloader (lose of DRM keys). Hopefully it will work and we can use full potencial of ours XZ1c's ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] DSFARGEGG:
Everything appears to have gone smooth with the FIX but I don't have root.

I'm running the G8142 and OREO X.X.X.3.254
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Flash root manually
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
I concur, for some reason the newest version doesn't root or install the DRMpatch successfully (oreo 5.51 on G8142). Manual install with TWRP works.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I will fix some things with the next update. Also there will be a log function, to send logs to me. So it's better to understand what's going wrong.
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
How do I manually apply the patch? (not worried about root)

It keeps getting stuck on the TWRP screen or blank screen and nothing happens. Im running the original orea update (not orea 2) of the single sim version. Just tell me which files to flash from the folder once twrp boots (-=

Thanks!
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Is your device encrypted?
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
uhhhh yup! {=

Im flashing using xperiflash so how can I do that and leave it unencrypted? I know how to do that if I'm flashing a ROM through TWRP.
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
I tried this simply to root my Xperia XZ Dual Sim version. I have previously rooted an old pantech where, once the root was done, the phone was the same, simply rooted.

I did everything as per the instructions and everything responded as written. Except I got stuck in a bootloop with the "Device unlocked, cannot trust device" and I can't boot into my phone.

Will I now be unable to boot my phone until I flash a new rom? Can I not boot into my phone as usual? Is all my data gone?

I sincerely apologize if this is too noob for this thread. I thought I knew enough and followed the process in its entirety and now I'm stuck here. I can go into TWRP recovery, but I don't understand how to boot into my phone normally. Please help.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
If you flash your firmware new, then don't boot it after that. Just shutdown, bring it into fastboot mode and run XperiFIX. The kernel is modified, so that encryption is optional, not forced. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
XZ or XZ Premium?
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
XZ Premium, USA version (no fingerprint reader).
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Did you use XperiFIX or manual instructions? Which firmware version?
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Excellent! Thank you! Just out of curiosity, does this work on an encrypted phone or just non encrypted phone?

Thanks in advance!
[Sony Xperia XZ Premium Guides, News, & Discussion] DSFARGEGG:
What would be a sign that the DRM patch did not work?
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
Used XperiFIX with Android: 8.0.0 Build: 47.1.A.5.51
[Sony Xperia XZ Premium Guides, News, & Discussion] F1Fanatic27:
Picture from the stock camera app coming out green.
[Sony Xperia XZ Premium Guides, News, & Discussion] fallwew:
So the software didn't work for me, some dll errors, no problem, I uploaded the files to my phone, flashed everything from the recovery and now it works as advertised. Great work man.
[Sony Xperia XZ Premium Guides, News, & Discussion] Patrck744:
I guess it didn't work on N then. Not sure if Magisk or Xposed is messing with it
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Kann gelöscht werden
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Sure, it does work. Magisk is no problem, Xposed also. You could try to wipe cache and dalvik with TWRP and then use XperiFIX again.
[Sony Xperia XZ Premium Guides, News, & Discussion] angelica_kh:
Regarding Future Updates

Hey Fellas,

I was wondering if I was to root now would I be able to update my software as fixes get released (assuming theres already an exploit for said update)? And If so, could someone describe in detail how that might work? Not necessarily a step-by-step but I'd appreciate it.

Thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Not via OTA, so you would have to manually flash each update and root will work on all future updates.
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Can someone please explain what items to flash manually? Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
DRM patch DID work, but had to install Magisk and DRM patch manually using TWRP
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
Manual instructions were given by AlexSkiff at post 578, referring to instructions from sToRm at post 285
[Sony Xperia XZ Premium Guides, News, & Discussion] DSFARGEGG:
Xposed works on the XZP?
[Sony Xperia XZ Premium Guides, News, & Discussion] DSFARGEGG:
Which version?
[Sony Xperia XZ Premium Guides, News, & Discussion] xueyaotianxia:
I'm considering buying either a xz premium or oneplus 5t. I do prefer xz p better because of the screen. Hence I'd like to ask after fixing the drm all the functions will work plus I can root it right? Just have to manually install the updates. What if I install a custom rom without fixing the drm, will the functions work? Are there a lot of custom roms for xzp? Sorry to ask so many questions, I have never owned a sony phone before...thank you guys!!
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
Since I couldn't boot, except for TWRP, someone advised me to use the EMMA tool and flashed a EU stock rom on the phone. I might've mentioned the wrong model before, but these are my current specs post-EMMA:

XZ Premium Dual G8142

Android N 7.1.1

September security patch

4.4.21 -perf+ Kernel

Build 45.0.A.7.137

Is there any way to make sure I can use XperiFIX again to make the fixes work (now i have green cam, unlocked warning, etc) or maybe even the manual instructions? I unlocked the bootloader so might as well continue with it rooted even if I have to forget OREO for now. I would love some help with this.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Android P
[Sony Xperia XZ Premium Guides, News, & Discussion] Patrck744:
It works -- user error, thanks for the patch!

I had to use AICP since the Sony went on a bootloop spree with some modules, I think its more stable. I just hope someone takes over it since the original author left
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Hey guys, one last thing that wasn't mentioned in the above posts: how do I flash "kernel.IMG"? Do I flash it to the boot partition? Otherwise all good on the rest!
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
The most recent official version works without any issues. 88.2

Once you unlock bootloader you flash twrp which you then use to flash magisk (root) and drmfix all in one go.

No because storm has to make changes to each fw.

Nope.

You can flash it via twrp or via adb "fastboot flash boot boot.img" (or whatever name the kernel has.).
[Sony Xperia XZ Premium Guides, News, & Discussion] xueyaotianxia:
Thank you...can I flash Supersu instead of Magisk? Never used it, is it the same process? It looks like it is 100% fine for me to get xzp because everything will be working, and with root. I have a oneplus 3t already so it would be boring to get another same brand phone lol....xzp looks so fine!
[Sony Xperia XZ Premium Guides, News, & Discussion] DSFARGEGG:
DRM worked great, I had to manually flash Magisk to achieve root but I'm sure OP will fix that minor issue. XZP is the most satisfying phone I have owned with a beautiful screen
[Sony Xperia XZ Premium Guides, News, & Discussion] xueyaotianxia:
Sounds good! Can i flash supersu instead? Or only magisk?

never used it before..
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
Manual worked like a charm

After the XperiFIX program kept freezing up on me, I attempted the manual method and it all worked like a charm! Now, to my understanding I should avoid upgrading, but my XZ Premium Dual (G1842) immediately offered system update. Assuming I should ignore OTA updates, where should I keep an eye out to upgrade my Android version safely while keeping all of storms//'s fixes? thanks in advance
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
This threads since storm needs to make fix for each fw and in the OP it says which version that is supported.
[Sony Xperia XZ Premium Guides, News, & Discussion] daosis:
Hi,

I have sony model g8141 and firmware 47.1.A.5.51-R2B, Which fix should I choose? Thanks in advance.
[Sony Xperia XZ Premium Guides, News, & Discussion] beammer335d:
Thanks for all your hard work on this. Just one question, Im running G8142 (US) 3.254 firmware, which Ive also loaded the files needed for the finger print scanner to work, everything works well, rooted, unlocked bootloader.

My question is that Id like to update to 5.51, can I just put the zip file onto a SD card and flash it in TWRP. ? Any thoughts would be great.. OR can I just wait for the OTA for my phone
[Sony Xperia XZ Premium Guides, News, & Discussion] frostlee937:
my device still takes green photos. (G8142 dual sim, Oreo, 47.1.A.5.51, unlocked, unroot)

after going through the FIX, every step goes fine. phone goes twrp and reboot, and it says good jobs and reboot at the end as phone doing so.

what seems the problem?
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R4B

You still need to flash kernel, twrp via adb but yes, you can put magisk, drmfix on the phone and flash via twrp.

You will never get updates over ota anymore.

Try doing it manually instead. Flash kernel, twrp via adb and then magisk, drmfix via twrp.
[Sony Xperia XZ Premium Guides, News, & Discussion] beammer335d:
Thanks again, will that delete all my data, or will it save it..before I install the newer firmware
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Flashing a new fw wipes the phone yes. You can remove userdata.sin to keep data. Or you can backup with Titanium Backup.
[Sony Xperia XZ Premium Guides, News, & Discussion] angelica_kh:
TWRP

Are nandroid backups working yet? Last I heard restoring a nandroid backup via TWRP resulted in an error?
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
Thanks for your hard work, although I had to flash manually I appreciate and donated! 3MW59335KD4621726

Can't find xperia keyboard anywhere though?
[Sony Xperia XZ Premium Guides, News, & Discussion] beammer335d:
Here you go:

https://www.apkmirror.com/apk/sony-...ria-keyboard-8-1-a-0-12-android-apk-download/
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
not working with me.

appnot installed.

i tryed to put in folder in app and give the right permission 0644

got xperia keyboard keep stopping

i use the version before
[Sony Xperia XZ Premium Guides, News, & Discussion] serajr:
Download and install it as regular app (working flawlessly here this way)!
[Sony Xperia XZ Premium Guides, News, & Discussion] Nouatik:
[MENTION=8363210]sToRm//[/MENTION]

Please make a new thread in XZ1c forum when xperifix is released for it :)

Thanks for your good work! Keep it up
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
Yeah I got that too? What is the name of the new folder you are giving permission to? Are you using system/app or system/priv-app folder?

In fact I got exactly the same, app not installed when installed as an apk and keyboard stops working when installed as a zip!! really annoying not sure what to do. I have completely removed xperia keyboard with TB

Edit: Got it working, flash this in recovery https://xdaforums.com/attachment.php?attachmentid=4330145&d=1510469033
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
thank you bro for the file
[Sony Xperia XZ Premium Guides, News, & Discussion] resklerato:
I'm going to buy this fantastic device and I would like to make the most of it thanks to your wonderful job. But I have a doubt. Will it be possible to make updates in the future that Sony will do, or will there be problems since it is modified?

Will you be upgrading official updates or will I have to wait for updates on updates?

Ps, thank you for the fantastic job, I'll cuddle the gift for your son .. ?
[Sony Xperia XZ Premium Guides, News, & Discussion] jsbutran:
Could you guide how to do it manually. I used the program and got the recovery working only but no root or DRM patch. what steps should I follow.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You will have to wait for storm to make drmfix for each fw.

Put magisk and drmfix on your phone, boot into twrp, flash both and that's it.
[Sony Xperia XZ Premium Guides, News, & Discussion] imsims:
https://www.virustotal.com/#/file/5...6eef3eb366b37a4a6c16f852392f2d4d2c7/detection

hum, what about it?

please could you add manual version not just .exe for oreo 8.0?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Sure... I spread malware... with my real name on my real domain. Dude...
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
False positives happen all the time with virus scanners. One of the reasons I stopped using anti virus software. Never caught any real viruses, but they made me jump through hoops a lot just to be able to use something legit that they consider a virus.
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
Hi guys I have question I see officially update to 47.1.A.5.51 version. Normally update system and again apply xperifix for 5.51? Or When I have the version 47.1.A.3.254 with applied xperifix I need install new version system with newflasher?
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
Hello to all, congratulations Storm for this exploit BUT .... I have a problem, I explain myself:

-sous nougat, the patch works (in menu developer, unlock bootloader ON (green), photos WITHOUT GRAIN (I insist), NET (I also insist on it), 4K videos is actually displayed in real UHD, only flat, no option for photo deformation

flash handling expirifix, no problem

-Oreo .254 and .51: the patch works half, I explain myself: menu developer, unlocking on OFF, photo not so clear that, I have the impression that the 19 million pixel does not that 17MP, made a test, take a close and sharp picture you will see the grain by zooming (redone the test with NOUGAT there is a difference of sharpness undeniable, you will see) and to finish the videos 4k are sharper in 1440p that in 2160p.

I think that 100% is not operational under oreo .254 and .51, that all the most functions attached to the camera do not declare all with the fix as under nougat, if lord STORM could check if all the applications and others for the camera went well all that!

I said that I had no problem flashing or other, made in xperifix manual, that I have the drivers and DLL for.

Thanks for an optimistic answer :)