yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] Black_Shadow103:
root undetected

I have following system: Oreo (47.1.A.5.51)

G8141 unlocked bootloader.

I start XperiFIX as Administrator he do her Job all done but when i download supersu, root undetected please help me there are no errors or any bug.

Thank you any way.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Google Play not downloading

Hi all,

Just a random question and not sure if it is related to this. My google play has since stopped working (can't download or update) though I have APKPURE installed so it sort of managed the whole updating and downloading process. I have done everything, force stop, clear data and cache and disable and enable the works but I cannot seem to get it to work. If anyone has good suggestions, please let me know.

and also downloaded the latest version from apkmirror and still not working (can't even update my skype!)

Thanks,
[Sony Xperia XZ Premium Guides, News, & Discussion] busayaphol:
Just like my case. All you need to do is "do it manually" i mean install one after one in twrp mode if you read this thread carfully you will find the way really clear im sure about it :)

Have a good time :)
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
I also had this problem. Have it manually on the fix folder and copied to the card and then installed via ZWRP.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
all is working fine with me, without any problem.

insall al drivers for xzp before flashing the fix.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
I always do it the manual way, it's easy and fast.

The easier you make it the harder it becomes for people.

(Judging by how many that had issues with the app).

:P
[Sony Xperia XZ Premium Guides, News, & Discussion] mustang2011:
I have recently got my XZ P phone. I unlocked the bootloader and tried to install fix but it is stuck on "booting the recovery" ,tried several times but it is not working. my phone is G8142 with the latest firmware Oreo 47.1.A.5.51. Also tried doing it manually but failed. Phone came with Oreo installed, can someone tell me how I can downgrade to Nougat and try the fix.
[Sony Xperia XZ Premium Guides, News, & Discussion] sadeyia:
xperifix

dear you do not need to downgrade

all what you need to do after appling fix and stuck on rebooting to recovery is disconnect from pc and entre recovery manually by holding power and volume - and enter recovery and reconnect the phone it will continue installing the fix
[Sony Xperia XZ Premium Guides, News, & Discussion] artpra:
[MENTION=236992]Storm[/MENTION]

First of all my biggest respect mate, you have done incredible job, thanks! I was reading this and brainstorming threads like a some thriller novel with ups, downs, twists and happy ending. A story of amazing achievement.

I'm still considering bootloader unlock but have some Q's to those of you on a dark "drmf u c k" side. On my old and trusty Z2 there were two apps that somehow always could detect UB and root (even with magisk hide/DRM fix with actual keys from my Z2/kernel with universal DRM fix applied/SafetyNet checks green):

1. Xperia lounge: when trying to unlock and download free content which is normally (in Google Play) a payed one (a Xperia theme for example). Force close or no reaction at all when pressing a download button which should take me to the Google Play with price reduction applied for that content. It looks like there is Sony server in-between my phone and store that fails to authenticate and rejects the operation.

2. PS4 Remote Play: very important one, I use it a lot, daily. This thing is coded to scan for rooted phone and refuses to work if found. It's so good at it, that even magisk hide can't hide root from it. App throws an error and that's it. It's constantly updated too, alongside with PS4 firmware, PSN infrastructure etc.

3. Streaming apps like Netflix and Amazon Prime: can't access premium content which for XZPremium means no 4K videos.

So guys, let's assume that I unlock bootloader, apply this DRM fix, root with magisk and use magisk hide for those apps, will they work like nothing happened? Can you check it guys on yours already freed XZPremiums if they are working ok? Saw some reports about not working videos in Amazon app after UB, can't risk.

And [MENTION=236992]Storm[/MENTION], thanks once again for that option, even when I will not use it eventually.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
1.3: Update @ 14 December 2017

- modified TWRP for temporary use in XperiFIX

- TWRP boot problem fixed (freeze on Sony screen)

- updated to TWRP 3.2.1.0

- integrated debugging/log (log txt-file in app folder)

- integrated timer check for recovery boot

- changes in DRMpatch (root-status: allowed / not done)

- some bugfixes...

Download is updated in the first post.

Feel free to test the new version and give feedback.

XZ1 / XZ1 Compact users:

I actually work on the fix for the other devices. But there are some changes that Sony made. The fix actually doesn't work, because the second credential manager returns "error". So there must be something different to XZP. I have to find and fix it. Plese keep in mind that I don't own this device(s) and it's really difficult to check, debug and fix something without the hardware in my hand. Also... I do this in my freetime and you know it's almost christmas (some stress). Please be patient.
[Sony Xperia XZ Premium Guides, News, & Discussion] pergoteborg:
Thanks sToRm

We have succeeded with TWRP and root using SuperSU for XZ1. Main issue at this point is DRM

Skickat från min G8342 via Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] N1ghtr08d:
We appreciate all the hard work you're putting in bro. If there's any way I can help you with the work on the xz1/xz1c then just let me know.
[Sony Xperia XZ Premium Guides, News, & Discussion] aledoom:
andro+

I ported the kernel ANDRO+, and installed the magic successfully, just turned off SONY Ric and got the full functionality of a safeaty net and also a full root access, maybe this will help you, if anything else I can help you write.
[Sony Xperia XZ Premium Guides, News, & Discussion] N1ghtr08d:
Please can you share this goodness?
[Sony Xperia XZ Premium Guides, News, & Discussion] aledoom:
andro+

in PM

https://drive.google.com/open?id=1Q8BMKRVkW4TWsfT93LpRwQ0HY6UbiX0o
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Link not working
[Sony Xperia XZ Premium Guides, News, & Discussion] ricardo99831390:
Does the app works on encrypted devices?, ive searched in here but i havent find an anwser.

If it doesnt work, how do i unencrypt it? thanks.
[Sony Xperia XZ Premium Guides, News, & Discussion] Udit68:
Custom rom

Strom sir can you build some custom rom for this device

Thank you sir for your work
[Sony Xperia XZ Premium Guides, News, & Discussion] ricardo99831390:
Help please my fastbooot is not working after i unlocked the bootloader, it just power off the device after puting any comand.

after the bootloader unlock my device its encrypted
[Sony Xperia XZ Premium Guides, News, & Discussion] aledoom:
magisk

I cant post links here, write in PM
[Sony Xperia XZ Premium Guides, News, & Discussion] ricardo99831390:
Did you get any answers(better than mine). You can force stop the app by going into settings apps show sistem apps and then force close that app

I wonder if this has something to do with the fake DRM keys
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
If you have root then just uninstall the app
[Sony Xperia XZ Premium Guides, News, & Discussion] SyLvEsTeR20007:
Great news, but one question

How long do you think that you will be keep the xz premium and be able to keep the app running? Because when you stop updating the tool / drm fix, we must accept that we are stuck on the last supported update of the XZP.

So, I'm just asking what do you expect the shelf life of your XZP to be?
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Which is why (besides xposed) that I'm staying on Nougat a very, very long time.
[Sony Xperia XZ Premium Guides, News, & Discussion] will0n:
Hi [MENTION=8363210]sToRm//[/MENTION]. I want to update my TWRP to 3.2.1 by flashing the img included in XperiFIX(I cannot find the download link of 3.2.1 in Myself5's thread) but I found there is also a twrptemp.img. What is the twrptemp.img file? Should I flash it too?
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
No just flash twrp if you want to update it. No need to go through the app again.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I'm that person that keeps his device until it's fcked up. So... I think I will update the tool for a long time.

The downloads for TWRP are on their official website twrp.me

The twrptemp.img is a patched version for XperiFIX, that works with boot command. So you don't need to flash it. It's just for XperiFIX to work automatically. XperiFIX flashes the twrp.img in the device related folder.
[Sony Xperia XZ Premium Guides, News, & Discussion] Indashio:
New firmware available 47.1.A.8.49
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
Can i update this if I have latest firmware before this its just a update I get from mobile
[Sony Xperia XZ Premium Guides, News, & Discussion] enricostella:
Hi,

quick question. There is this new firmware 47.1.A.8.49 which I'm trying to install on my XZP but I always get the error message that's impossible to install the update, try again... etc...

How can we "unblock" this situation (except to not install it :) )?

Thanks a lot
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You can't update with your running device when it's rooted. You have to download the firmware using Xperifirm and flash the firmware with Newflasher.
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
Can i update with out lossing data
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
I thought it was unlocked bootloader?

Also, check the commit I linked on page 89
[Sony Xperia XZ Premium Guides, News, & Discussion] Nouatik:
Well u have to unlock bootloader in the first place to even be able to root... I believe?
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
In the case of >XZ yes, at least for the moment.. but so what?

Does it mean that if I don't root I can do OTA?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Unlocked bootloader = no OTA
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Hoooly...

I had a notification from PayPal and can't believe what I see... [MENTION=289433]fquant[/MENTION] donated $100 a few minutes ago. This is really awesome! He said I should buy a little present for my son. Bro, be sure I will. And I will order pizza, too. Hehe... Thank you sir! Also big thanks for all other donations. You are all awesome.
[Sony Xperia XZ Premium Guides, News, & Discussion] enricostella:
Thanks a lot :o
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Hello,

when I install system update 47.1.A.8.49-R4B for SONY XZP. is the root gone then?
[Sony Xperia XZ Premium Guides, News, & Discussion] weso565:
Yes then it's gone

Gesendet von meinem G8141 mit Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
hope today
[Sony Xperia XZ Premium Guides, News, & Discussion] Postal Psycho:
Can I use Xperifirm to download and install stock firmware after being rooted? I understand the drm keys are forever gone. Would the camera be suffering from disability?
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Yes you can flash stock firmware even after root. And yes, once you unlock bootloader, DRM keys are forever lost. You will lose Sony enhancements and get noisy/grainy or green images, etc.

However, as another user said, you will have to flash the DRM fix once again to restore full functionality of camera as well as all other Sony enhancements.

The DRM fix will not replace your lost keys but fools the system into thinking they are there. Think of it as using a pirate version of Windows 10 having an automatic Activation crack/hack, basically you don't have a key but it automatically fools the system into thinking you have.

That's exactly what the DRM hack does, very clever and thankfully Storm was able to crack it!!
[Sony Xperia XZ Premium Guides, News, & Discussion] YumeMichi:
How about source build kernel? I want to build the latest 8.1 according to official guide, but I don't know how to patch the source build kernel.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
don't use 5.51 it doesn't works

bootloop and restart all time
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Hello Storm,

can you please do the fix for the "47.1.A.8.49-R4B" version as well?
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
it works, finally, manual install drm and magicdisk copy to sd card, install in recovery, rooted
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
[MENTION=8363210]sToRm//[/MENTION]

brother can you update your fix, my phone keep restarting with old kernel

---------- Post added at 07:01 PM ---------- Previous post was at 07:00 PM ----------

5.51 or the latest rom
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Be patient
[Sony Xperia XZ Premium Guides, News, & Discussion] XperiaFZ:
can someone tell me if xposed works on the XZP? Because on the Xposed thread, it said that some xperias have odexed run and xposed wouldn't be able to run on that

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

have you tried xposed with sony's default rom? and does it work?

---------- Post added at 12:44 AM ---------- Previous post was at 12:43 AM ----------

hey, does xposed work on xzp without needing to change roms? i.e. xzp's default ROM

---------- Post added at 12:49 AM ---------- Previous post was at 12:44 AM ----------

hey, did you have to change anything with the phone to make xposed work with xzp? like, did you change roms? on the xposed page it said that some xperias have odexed rom meaning xposed wont work on that

---------- Post added at 12:49 AM ---------- Previous post was at 12:49 AM ----------

hey, does xposed work on xzp without needing to change roms? i.e. xzp's default ROM

---------- Post added at 12:50 AM ---------- Previous post was at 12:49 AM ----------

hey, did you have to change anything with the phone to make xposed work with xzp? like, did you change roms? on the xposed page it said that some xperias have odexed rom meaning xposed wont work on that
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Here is your answer :)

https://xdaforums.com/xz-premium/de...-xperia-xz-premium-twrp-t3695171/post74310718
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
It works fine on nougat, flash the relevant xposed files
[Sony Xperia XZ Premium Guides, News, & Discussion] frgmassi:
hello,

ugly green pictures not fixed i'm with firmwar Build: 47.1.A.5.51_R4B ??? please help me.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Reflash the fix. It works
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Nueva version de oreo hoy 21 de diciembre

Good afternoon Storm, I fixed the problem of the green camera of my Sony XZ premium G8142, with the XperiFIX solution you made. Updating the rom to 8.49 of oreo damage the camera arrangements that were made in the versión 5.51 ?

I do not speak English very well, excuse me. You have a new version of XperiFIX for rom 8.49?

Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] weso565:
Only English please

Gesendet von meinem G8141 mit Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
you want to wait some time bro

maybe now it is harder than before to fix
[Sony Xperia XZ Premium Guides, News, & Discussion] gonzodude:
Looking for a bit of help with DRM fix. I have searched through forum and trying to make this fix work with 8142 and build 47.1.A.5.51.

I have followed instructions from 1st post and every time I get to where it needs to reboot, it gets stuck in main screen of recovery and never reboots.

All I see is Team Win Recovery Project and a bunch of Buttons.. ie: Install, wipe, backup Restore..etc etc

Program gets stuck in booting recovery then I get popup asking to unplug usb and go through steps which never sends phone to reboot.

Any help or guidance would be great as I am also stuck with green pics.

gonzodude
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Start XperiFIX again. If it stucks in booting recovery, then do exactly what the popup says. Unplug and shutdown the device while XperiFIX is running and the pop-up shows up. Then start the recovery manual an plug in the USB cable. After that, XperiFIX will continue. If not, send the logs from application folder.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I have to update again to Oreo. I am actually at Nougat for some testing. After I updated to the current version, I will update XperiFIX with the latest files and publish it like before. But keep in mind that it's christmas this weekend and I have a kid. So there is only a small amount of free time. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] Mario119:
Same problem here, reflashing does not work.
[Sony Xperia XZ Premium Guides, News, & Discussion] XperiaFZ:
sorry to pesteryou with more questions, it's just that I'm considering to buy the XZP. I want to know, ...you didn't have to flash any rom at all, just used son'y's default skin/rom for xposed to work? and do you think xposed will stop working on XZP's oreo update once it's offically available for oreo?

---------- Post added at 12:19 AM ---------- Previous post was at 12:15 AM ----------

Hey, sorry for the irrelevant comment to your reply. but do you have xposed on your XZP, and if so, did you use a non-default rom? i just want to make sure that xposed works on XZP (nougat for now)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Dude... Xposed is irrelevant to this whole thread. Please open a thread in the relevant section.

And... No... I don't use Xposed.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
ok bro.

have fun with your family and kids.

Merry christmas and have a good time.
[Sony Xperia XZ Premium Guides, News, & Discussion] farsow:
Is there anyway to re-lock G8142 boot loader? I tried with flash tool but it stocks at waiting for flash mode.. thanks Storm
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
yes it is ok, you should wait long, if not after trying in flash mode flash full rom with new flasher. or relock via adb
[Sony Xperia XZ Premium Guides, News, & Discussion] SyLvEsTeR20007:
It doesn't matter, your drm keys are now gone and that means no camera without the drm fix.

Its in the first post.
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
i got "your device has been unlocked and cant be trusted" on every boot up, is there any way to fix this ? root achieved, but i cannot boot into recovery.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
No, already been mentioned several times
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Hello sToRm//,

can you please do the DRM Fix for the "47.1.A.8.49-R4B" version as well?
[Sony Xperia XZ Premium Guides, News, & Discussion] VeixES:
Stop requesting. It's disappointing to see this kind of posts over and over again.

Please wait like everyone else.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
SORRY :crying:
[Sony Xperia XZ Premium Guides, News, & Discussion] gonzodude:
Part of the log that seems to be causing the issue.

booting...

OKAY [ 0.002s]

finished. total time: 0.569s

20-12-2017_15-38-35 ===> Mount /system test

error: no devices/emulators found

20-12-2017_15-38-37 ===> Push Magisk

adb: error: failed to get feature set: no devices/emulators found

20-12-2017_15-38-40 ===> Push DRMPatch

adb: error: failed to get feature set: no devices/emulators found

20-12-2017_15-38-43 ===> Wipe Cache

error: no devices/emulators found

20-12-2017_15-38-43 ===> Wipe Dalvik

error: no devices/emulators found

20-12-2017_15-38-46 ===> Install Root

error: no devices/emulators found

20-12-2017_15-38-51 ===> Install DRMPatch

error: no devices/emulators found

20-12-2017_15-38-54 ===> Wipe Cache

error: no devices/emulators found

20-12-2017_15-38-54 ===> Wipe Dalvik

error: no devices/emulators found

20-12-2017_15-38-54 ===> Reboot

error: no devices/emulators found
[Sony Xperia XZ Premium Guides, News, & Discussion] YumeMichi:
deleted.....
[Sony Xperia XZ Premium Guides, News, & Discussion] sammyg05:
get that root bit ***

Hi, first time on the forum. Gave up waiting for Optus to provide the update to Oreo.

Xperifix keeps getting stuck in TWRP at the stage of 'get that root bit ***'

After further research realise my ROM is 47.1.A.3.254_R2B ... does it need to be R4B?
[Sony Xperia XZ Premium Guides, News, & Discussion] 771709789:
Supported devices:

Model: G8141 @ Android: 7.1.1 @ Build: 45.0.A.7.137_R7A

Model: G8142 @ Android: 7.1.1 @ Build: 45.0.A.7.137_R5A

Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.3.254_R4B

Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.3.254_R2B

Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R4B

Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R2B

我的版本号是符合的，但版本号后面的R2B我不一样，可以使用你的工具吗？

我的版本是

G8142 @ Android: 8.0.0 @ Build: 47.1.A.5.51

后面是

1308_8911_R4B。thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] Bumble-Bee:
Seeing as this makes use of a modified kernel have you published the source code changes to follow GPL ? Also thought about making the patches for the system files public to allow a better understanding of the root cause of this bug that Sony keeps falling back on ?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I answered to this question weeks ago. There is no modified source code. It's the original stock kernel with a patched ramdisk only. Everybody can unpack the ramdisk and check the environment variables for changes that I made. The kernel binary itself is untouched. So there is no need for publishing source - I don't have source to publish.

For the system files, there is actually no possibility to publish a guide or patcher, because the changes are different on different devices. You must have a understanding of the disassembly to find the right places. Maybe I will find a way in the future, to realize a universal patcher or something, but this needs a lot of work and backtests. It's not a source mod or bug which makes it possible, it's simply a "crack".
[Sony Xperia XZ Premium Guides, News, & Discussion] Aerocap:
We are all VERY lucky to have you if you ask me..
[Sony Xperia XZ Premium Guides, News, & Discussion] sev7en:
Good morning,

I am with that setup: Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.3.254_R2B

The device boot into the recovery then it goes stuck where there is the slider to swap... I wait a long and the tools ask to reboot it again in recovery but what it stranges... if I click once again to it the process goes ahead I get the result successfull but nothing happened to my SONY and it is still stucks in the slide bar.