yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] lokilin:
Hello I update to Magisk 14.5 beta is it work perfectly, and can hide root for my game!

And the Magisk update to 14.6 beta now, I try it and the DFMfix is dead, Camera and microphone can't work.

This is Magisk 14.6 beta and patch note.

Do you know which part make it break?

Would you update for this or wait to Stable version and update it again?

Thank you!

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

v14.6 (1468)

- [General] Move all files into a safe location: /data/adb

- [Daemon] New invincible implementation: use magiskinit_daemon to monitor sockets

- [Daemon] Rewrite logcat monitor to be more efficient

- [Daemon] Fix a bug where logcat monitor may spawn infinite logcat processes

- [MagiskSU] Update su to work the same as proper Linux implementation:

Initialize window size; all environment variables will be migrated (except HOME, SHELL, USER, LOGNAME, these will be set accordingly),

"--preserve-environment" option will preserve all variables, including those four exceptions.

Check the Linux su manpage for more info

- [MagiskBoot] Massive refactor, rewrite all cpio operations and CLI

- [MagiskInit][MagiskBoot] Support ramdisk high compression mode
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
cz of dtbo.img*patching support to disable avb-verity of the vendor partition.

if you want it working do a backup for the file in data/stock_dtbo.img.gz

named to:(stock_boot_127758b40d51ac30aa816d1b2b0f01e48c531524.img.gz)

in our xz premium

flash magisk 14.6 then delete this file ( data/stock_dtbo.img.gz) via twrp file manager and restore your old one.

If dtbo.img is detected on your device, KEEPVERITY is enabled by default. If your device is already encrypted, KEEPFORCEENCRYPT is enabled by default.

Not working. And v15 also has same emcryption by default also not working
[Sony Xperia XZ Premium Guides, News, & Discussion] sev7en:
When in the recovery, there is any way to run manually the scripts to restore the DRM? I would like relock the bootloader and get back at work the camera and the OTA.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
You can't restore the DRM because u lost them when u decided to unlock the bootloader. Relocking the bootloader is pointless as you will always have to rely on the DRM patch.

Does anyone actually read into it before the go ahead and decide to unlock their bootloader?
[Sony Xperia XZ Premium Guides, News, & Discussion] lokilin:
Thank you for answer.

I will try it!
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
hi there, maybe this is a silly question, but how to unlock bootloader properly? i've followed everything in sony's bootloader unlock page, i have the key to unlock, but when i follow the 1st step, installing android sdk to just install the fastboot driver, i have no idea what to do. i've download the commandline for driver, even the whole sdk in google sdk's page, but i still cant install the driver. i've tried to boot to fastboot and type fastboot devices and ended up nothing. i typed fastboot device (without "s") and it works but stuck in waiting for device. what is wrong?

fyi, i just bought this phone for a few days. today i've upgrade it to lates fw, then i realize storm hasn't any fix yet, and then i download the oreo fw that supported by storm and downgraded my phone. when the first time i boot it, it says encrypting device. is this the main problem? if yes, how can i decrypt, and am i still can install twrp, magisk and root?

my phone is g8142, has bootloader unlock allowed : yes, allowed to unlock bootloader in developer option, and usb debugging activated.

edit : solved this problem by myself. i thought the driver from androxyde's flashtool doesn't work with this phone, turn out it works perfectly. now i have root, twrp and magisk. thanks for the works!

ps. : if you guys have problem after unlock and flash xperifix, ie green picture like i've encountered right after first boot after installing xperifix, just install drmfix manually via twrp. i hope this can help others.
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
The silent minority...
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Merry Christmas to all of you , freinds.
[Sony Xperia XZ Premium Guides, News, & Discussion] brockyneo:
Ok great thanks if I don't unlock the bootloader and this can still be done do I still loose the drm keys?

Thanks again
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
If you haven't unlocked the bootloader you haven't lost the keys which means this fix isn't for you.

This is for people who unlocked their bootloaders which resulted in losing the keys which made the camera malfunction.

So this fix tricks the system into thinking keys are there which makes camera work.

You have your keys, your camera works.
[Sony Xperia XZ Premium Guides, News, & Discussion] sucker for sony's:
I am wondering if this fix could also work on Xperia x?? Reason I say this is because on Android 7.1.1 with my device the old drm fix doesn't work fully, my credmgr tables are empty and when trying to use sony's 4k app it appears that it isn't getting full access to the camera sensor (green and purple zone in viewfinder) or algorithms it goes dark and inverted when trying to record. I have no probs with making ramdisk edits to my stock kernel but would my system secd binary be specific to my device because if it is then that is something I am not yet capable of patching.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Added to my ToDo-list. ? Other devices, too.
[Sony Xperia XZ Premium Guides, News, & Discussion] Cherokee007:
And what about version for XZP Oreo? :)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I will try it on Oreo the next days. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
What about it? Nothings changed from the other updates already provided
[Sony Xperia XZ Premium Guides, News, & Discussion] daosis:
Thank you very much!!!
[Sony Xperia XZ Premium Guides, News, & Discussion] barcodevii:
"I'm A Free Man Now"

Thank you. Super!
[Sony Xperia XZ Premium Guides, News, & Discussion] MKIXperia:
Can i root xzp g 8142 with locked bootloader?
[Sony Xperia XZ Premium Guides, News, & Discussion] MKIXperia:
never ?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Nope... Impossible...

Maybe with an exploit (vulnerability) in the system, but not without...
[Sony Xperia XZ Premium Guides, News, & Discussion] MKIXperia:
Was kostete eine Pizza in München ? ?
[Sony Xperia XZ Premium Guides, News, & Discussion] schickel:
Angelehnt an die Immobilienpreise hier: 20 Euro pro Pizza :)

[MENTION=236992]Storm[/MENTION]: das Angebot auf ne Mass steht immer noch :)
[Sony Xperia XZ Premium Guides, News, & Discussion] taphius:
God amongst men.
[Sony Xperia XZ Premium Guides, News, & Discussion] cheddarchi:
storm, you are a legend! thank you so much for the fix.

just one thing, it seems like the 960fps quality is low on my phone, was wondering if it's just me?

G8142, stock 45.0.A.7.137_R7A (Singapore), downgraded from Oreo and patched as per your guide.

everything else works flawlessly.
[Sony Xperia XZ Premium Guides, News, & Discussion] stalkopat:
The 960 fps mode switches the resolution down to 720p and is very grainy without proper lighting, its normal for every slow mo camera.
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
extract kernels into PC ，then flash boot.img in blue model
[Sony Xperia XZ Premium Guides, News, & Discussion] barcodevii:
Hi guys, sorry off topic, do we have somewhere

flashable .zip rom for G8142 Build: 45.0.A.7.137_R5A (Stock). i got bootloop already :)
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Merry Christmas @ All
[Sony Xperia XZ Premium Guides, News, & Discussion] nmlam:
my firmware is 47.1.A.8.49, is there anyway to root it?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
If you have a unlocked bootloader, flash androplus kernel v08, then flash magisk, there is no DRM fix yet for .49 though.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Will there be one for the 49 version?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Eventually, its Christmas time mate, storm will get to it when he can
[Sony Xperia XZ Premium Guides, News, & Discussion] nmlam:
thanks, but i'll wait for DRM fix .
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
Magisk 15 not working DFMfix on 47.1.A.5.51 G8142
[Sony Xperia XZ Premium Guides, News, & Discussion] F1Fanatic27:
So it's not just me? I thought I was going crazy: I installed the update, restarted the phone and all of a sudden my camera stopped focusing and pictures refused to save.

Did you reflash an older Magisk to get things working again?
[Sony Xperia XZ Premium Guides, News, & Discussion] lokilin:
just install back to 14.5.

New version have issue with drmfix.
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
[MENTION=8363210]sToRm//[/MENTION] is a busy man and entitled to enjoy his Xmas break, however, the show must go on!

Accordingly, with his permission, I will share this zip I have made for G8141 47.1.A.8. 49.

It is the new kernel patched for

drm fix AND works with Magisk v15.

How To:

- update to 47.1.A.8.49

- copy this zip plus latest magisk zip and drmpatch. zip from C:/Xperifix/47.1.A.5.51 to your phone.

- boot to TWRP

- flash kernel.zip, then magisk.zip then drmpatch. zip (don't skip it or you could get a boot loop)

- wipe cache and dalvik and reboot.

That's it. You will be on latest rom and patched kernel, and latest Magisk with working camera.

I will remove the zip file when sTorM// does an update or if he requests it to be taken down.

Link
[Sony Xperia XZ Premium Guides, News, & Discussion] misi444:
Thanks man, but where is the zip?
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
Here

and in the post. Sorry about that Xda file manager was playing up:p
[Sony Xperia XZ Premium Guides, News, & Discussion] misi444:
Thank you very much! I just tested it on my G8141 with the latest non-beta magisk (v15.0) and it works! :)
[Sony Xperia XZ Premium Guides, News, & Discussion] banan4u66:
Hi, I have a question. I have Oreo 47.1.A.5.51 CE1 stock ROM on my G8141 + installed DRM fix etc. and everything works but I wonder if after this mod should I receive notifications about system updates? Because an update has already been released to 47.1.A.8.49 and I still have not received an update notification. Should I still wait or update manually? Sorry for my English.
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Awesome! Can't wait for the update for G8142. :D
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Since it's the Christmas period I'll go into spoonfeeding mode to answer your question that has already been answered so many times before in this thread.

Unlocked bootloader = no OTA updates
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
this is G8141 for single card XZP only ?
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
Yeah, because it's what I own. I wouldn't try it on dual sim. If someone posts the kernel.sin for dual sim, I might be able to make a zip for others to test.
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
here you go https://drive.google.com/file/d/1QmuepkD3vZZcYCQWO6KE5spEkAkZ26JC/view?usp=sharing

G8142_Starhub SG_1309-2185_47.1.A.5.51_R3B
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Here's the kernel.sin from the 47.1.A.8.49 (G8142_Customized PH_1309-2179_47.1.A.8.49_R2B) https://drive.google.com/open?id=1AuEoJni0fCY0rxu6miabrCxJFZscWZIu

Unfortunately, you uploaded the wrong kernel :P There's already a fix for that version.
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
How is everybody updating their phones to the latest firmware? Just a newflasher with the complete firmware and then reinstall the whole phone? Or are you doing something else. I have titanium Backup of all apps + data and I also have a twrp 3.2 backup. Perhaps a newflasher flash of the full firmware, DRM Fix, restore data partition backup from twrp might work without losing data?

This is going to be my first upgrade and I need my phone ready for use until Monday, so I can't try it yet. Just planning ahead.

P.S.: Thank you very much for your hard work [MENTION=8363210]sToRm//[/MENTION] . I only unlocked and did the DRM fix recently because I was hoping for a TA backup. But I'm happy I took back control over my phone. Couldn't have done it without you. I sent you a donation a few minutes ago. I hope you will enjoy it.
[Sony Xperia XZ Premium Guides, News, & Discussion] enige1993:
Sony today has introduced new updates, by mistake I downloaded it and tried to install, of course I knew that I could not do it with the root permissions.

The problem now is that the camera does not work anymore and if I try to take photos from other apps the photos are green ...

Now there is no remedy?

---------- Post added at 07:47 PM ---------- Previous post was at 07:46 PM ----------

So for everyone do not try to update via ota the official upgrade!
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Flash back the previous software version
[Sony Xperia XZ Premium Guides, News, & Discussion] misi444:
I used newflasher (for the first time btw). Before that I downloaded the latest firmware with XperiFirm, deleted the userdata.sin (and extracted the partitions.zip in a new partitions folder) and flashed it. I am now running the new software version and all my data is still there after the update.

I just reflashed the modded kernel after that, the v15.0 Magisk and the DRMFix and everything is working.
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
Here is my 8.49 patched kernel for dual sim

https://www.androidfilehost.com/?fid=673791459329069491

How To:

- update to 47.1.A.8.49

- copy this zip plus latest magisk zip and drmpatch. zip from C:/Xperifix/47.1.A.5.51 to your phone.

- boot to TWRP

- flash kernel.zip, then magisk.zip then drmpatch. zip (don't skip it or you could get a boot loop)

- wipe cache and dalvik and reboot.

Single sim here

https://www.androidfilehost.com/?fid=673791459329069402
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
G8142_Customized MY_1309-2177_47.1.A.8.49_R2B

https://drive.google.com/open?id=1KWqRpnU4F8Yf_kuDSBi8o4eegD4oX6Hh
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Thanks! I had to do a full wipe since I messed something up during the update, but everything else worked fine. Confirming that DRMFix works as intended, as well as Magisk. Safetynet also passed.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
you have flashed latest magisk v15
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Not the latest, but the same one in the folder of the last version. I ignored the update prompt when I launched the app.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Im using v15 on .49 firmware, no issues.
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
thankyou, dual sim work perfectly.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Hi all,

Late Merry Christmas and Happy new year soon! Hope everyone is having a great festive season!

A very QUICK question and problem actually. I am on Sony G8141 / 47.1.A.5.51 and Magis V15.0 V5.5.1 but it was updated a while back (a few days ago) and I literally used the camera this morning and this week and everything was perfect... .All the sudden I want take a picture and my camera app wouldn't allow me to take it and just hangs (while the screen can still move around but capture button is gone and nothing works so I had to manually close the app) and when I use Whatsapp, I got a green picture (but didn't capture either). Does anyone else experience the same thing and if you have suggestions and possible solutions to fix it?

Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Revert to magisk 14.5
[Sony Xperia XZ Premium Guides, News, & Discussion] banan4u66:
Thanks ! Works for me with Magisk v15.1 :D
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
i've did this but after reboot it says decryption unsuccessfull and i need to reset my phone. what is wrong? :confused:
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Delete all partion folder and .zip partion

And delete all .ta files and boog folder then reflash
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Hi,

Is it normal that it didn't do anything for my rom? there was no update to 8.49, it just corrected the error of the camera that didn't work, i followed all the instructions

Thank you for your answer in advance
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
If you didn't update the rom, only the kernel has been updated. (It will have a newer build date in settings).

Handy to know it works on the older rom for those who can't/won't update though.
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
I downloaded the update via update center, when the phone is rebooted nothing happened.

I'll download the rom via XperiFirm and flash it with newflasher.

I'll start your instructions again, and i'll keep you informed, thank you, have a nice day

Cordial greetings
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Thanks and I am trying to find V14.5 installer with Magisk Manager :(

UPDATE: Never mind, found the magisk.zip in the XperiFIX folder... I am going to attempts to re-install that
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
ah i see. but i've reset my phone already. i still have backup from my old phone, so no problem. thanks for the info, will do it later for next new firmware.

btw, am i still need to delete the userdata.sin?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
For me i deleted all file and folder leaved medem .sin and system x .sin

I put both file in new flasher folder and turned off device and flashed

I updated my phome and it works fine without loosing any data.

Flashed latest kernel from twrp then magisk then drm fix.zip

Reboot and all isfine and device is rooted
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Try this link for magisk 14.5 (not beta), enjoy ;)

http://www.rootandroidblog.com/download-magisk-v-14-5-zip-last-release/
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Shot mate and it worked like a charm.. I shall NOT update Magisk ever again ... :victory::rolleyes:
[Sony Xperia XZ Premium Guides, News, & Discussion] lologacela:
Xz premuim mexico

Does anyone use use this method with telcel in Mexico?
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Here, as promised I give you my feedback, it works properly with your kernel, my rom is updated rooted, drm fixed and camera works nickel, thank you for your support,

Cordial greetings
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Is there a possibility that you could apply your skills to androplus kernel v08? When using the v08 kernel, drmfix.zip and any magisk it has the camera freezing. I only use it as a means to have DT2W so its not a really big issue.
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
1 more question, if i want to rollback/downgrade from 47.1.A.8.49 to 47.1.A5.51, am i just only flash modem.sin and system.sim? imo, 5.51 has better audio and camera results.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Both better.

And yes 5.51 camera is better than 8.49.

I used 5.51 cam on latest firmware
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
thanks! i'll just back to 5.51 at all. but how can you use 5.51 cam in 8.49? just curious. :D
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
System/privateapp/semcameraxxxxxxxx copy and past the app and give it 0644 premission
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
Here you go https://www.androidfilehost.com/?fid=817906626617955520

Camera working and magisk 15.1 ready.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Working as expected with magisk v15.1, thanks mate. Have a good long weekend.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Hi there, Thanks for the reply but I don't quite follow your feedback / workaround. All I did was fastboot TWRP and then I ran the V14.5 Magisk zip file and then it reverted it back to 14.5. But the actual application is on V15.1 and V5.5.2 ... only the version is V14.5 which is now working after downgrading from V15.1 (still not sure the difference in between all these versions) ...
[Sony Xperia XZ Premium Guides, News, & Discussion] sfex3best:
Anyone comfirm Is ps4 remote play working with root?
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
I'm on magisk 15.1 and 5.5.2 manager, it works perfectly, usually the differences between these versions are bug fixes and safty.net.

I encountered a problem with magisk manager 5.5.0.

I advise you to update your version magisk, but you have to make a backup every time before you install the new version, you must be sure that everything works perfectly

---------- Post added at 18:26 ---------- Previous post was at 18:23 ----------

If it will not work, you have just to use magisk's safty.net and voila ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] sfex3best:
is ds4 also pairing up natively after this

Basically ps4 remote play doesn't work via mobile data currently I need an app or something to trick the app into thinking its WiFi

This most likely requires root and everything thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
Would you kindly share 5.51 files.
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
With the drmfix installed (and presumably without it installed), amazon prime video only gives SD video, no HD, 1080p, or 4K. Could this be due to an aspect of the drm that the fix missed?
[Sony Xperia XZ Premium Guides, News, & Discussion] SyLvEsTeR20007:
Good find, I have yet to take the plunge for fear of losing important functionality. I am truly disappointed that gaining root has become a trade off of certain features, its the same with Samsungs now, you can root it, but expect some features to never work again. Very **** imo.
[Sony Xperia XZ Premium Guides, News, & Discussion] frgmassi:
microphone

hello guy's

I have a small problem with the microphone, he walks with messenger and when I dial a num and call I hear nothing and even my contact. current Build: 47.1.A.5.51_R4B bootloder unloked and drmfix + magisk instaled

help me ???
[Sony Xperia XZ Premium Guides, News, & Discussion] MrMPod:
I have now returned to the version with instaled the stock CE1 47.1.A.3.254 [full] and [HACK+MOD] Sony Xperia XZ Premium TWRP + KERNEL + ROOT.

Important thing with [HACK+MOD] Sony Xperia XZ Premium TWRP + KERNEL + ROOT is that to have working camera without green sh..t I had to install [HACK+MOD] Sony Xperia XZ Premium TWRP + KERNEL + ROOT just after stock installation without any restart.

When I restarted my phon after stock install and than install [HACK+MOD] Sony Xperia XZ Premium TWRP + KERNEL + ROOT green sh..t was back there on my camera LOL.

Now I'm enjoying the working phone with root and can use my automagic app with full option .....
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Go to settings => applications => default apps

And make sure that Phone Application is (phone) and not messenger

Try this and give us a feed-back, good luck :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] gangurubhanu007:
Hello!

This tool really looks awesome

Thanks for all your hard work sToRm//

I can't find fix for 47.1.A.8.49, are you planning to get a patch for this version, if not in near future I can flash my phone to an existing version