yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Thanks mate, like I said... by flashing and uninstalling magisk and installing different version causes my phone to restart all the time. It doesnt matter whether I remove it or have it on my phone. I am going to install the .49 version now and I hope my camera will work this time (still not sure why it only works on 14.5 and not 15.2 on my phone)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Just flash the .49 and use XperiFIX. It should work. Do you have a single or dual sim device?
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Single hence G8141. I am still not quite understand why Magisk doesnt work with 15.2 but only 14.5 on my phone... and I dont think I ever want to mess about it again to avoid restarting issue. ...
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I'm on 15.3 with my G8141 without problems. Use XperiFIX and let it do its work. After that open Magisk Manager, update the app when it asks you. Then update Magisk to 15.3 with the Magisk Manager using the recommended "direct" option. For me it works perfectly.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
confirm that it is working like a charme.

v15.3(1531) working fine with latest fix
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
the patch for Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.8.49 also working on G8142 @ Android: 8.0.0 @ Build: 47.1.A.12.34_R3B
[Sony Xperia XZ Premium Guides, News, & Discussion] farso1:
It works but Update engine says that a new version is available to install
[Sony Xperia XZ Premium Guides, News, & Discussion] whoosename:
Because the bootloader is unlocked, the update will fail!
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Hi,

Got /system wiped in twrp for back to stock. Now the device won't access bootloader mode any longer. It keeps booting recovery. I'm a novice, so I don't know what to do now. Any help?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
If you wipe system partition, you no longer have a system installed dude... It's like you delete Windows folder on a PC. Haha...

Flash the stock firmware with Newflasher ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Thanks,

The problem is that it won’t boot fastboot mode (green light). It ends up in a boot loop.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Flash mode has green light.

Fastboot has a blue light.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
I would like to say a BIG THANK YOU TO [MENTION=8363210]sToRm//[/MENTION] as always being so helpful and patient. Again, his work is exceptional and no issues with any update based on his description and also some personal challenge my side (I don't do this for a living you know!)

Cheers to Storm for the excellent work and a great member / contributor to XDAdevelopers society! What will we do without you! (and Sony! ) :highfive::victory::svetius:
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Hi [MENTION=8363210]sToRm//[/MENTION]

Just one more question concerning the encryption by default of your Sony G8141. I am still not sure what that means but please find screenshots attached (I am very confused of various pictures from my handset). The one picture shows the encrypt button at the bottom with long explanation and etc. Does it mean that my phone isn't encrypted currently? so what does that mean or help? Does it mean when the new Stock ROM comes out and I can just flash certain files to get the upgrade without installing everything (with Titanium) from scratch?
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
I am assuming you know how to work with newflasher - 1) download the firmware .8.49 with XperiFIRM 2) create a new folder and copy everything across with latest Newflasher, also unzip partition.zip into the partition folder 3) Switch off your phone and wait for 5 secs. Then hold the volume down button and then plug in the USB (connected to the pc) and then run Newflasher with your .8.49 firmware.. Once done DO NOT SWITCH ON YOUR PHONE! Run XperiFIX straight away... (check post 1 for instruction)

It should do the tricks
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
This helped. BTW, if people are having issues entering download mode, try holding the key combo after green light disappears. Do this until it returns, now you're in download (flash) mode.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Not sure what you are referring to but I have asked the same question in the past (it is somewhere in the threads) so .. for

Flashing - Hold volume down key and then plug in your USB

Recovery with XperiFIX - hold volume up key then plug in your USB...

Standard TWRP recovery mode - hold volume down key and then press power button until boot up.

I hope I am using the correct terminologies here...
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
For me the "flashing" green light would turn off after 1 sec. I found that it turns back on after 10 secs of holding volume down and then flash mode works.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
But you arent suppose to have green light when using newflasher, it should be blue?

https://xdaforums.com/xz-premium/help/flashing-generic-fw-simple-guide-t3652103
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
You are confused.

Green light is flashmode

Blue light is fastboot
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Green indicates download mode and flash mode. Blue indicates fastboot mode and bootloader mode.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
Quick question for you all. Since Storm released the initial fix, I flashed with Newflasher and am still on Nougat but now Flashtool has been updated for our device, is it possible to use Flashtool with XperiFix or less troublesome sticking to Newflasher?

I am finally going to upgrade to Oreo so just need to check.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
I still use newflasher, its quicker than flashtool.

If you do use flashtool, use 9.24.1, 9.24.2 has issues with creating firmware once downloaded.
[Sony Xperia XZ Premium Guides, News, & Discussion] mustang2011:
I used the latest flashtool 9.24.2 to download and flash the latest Oreo firmware 47.1.A.12.34 and there were no problems. Then I used xperiFix and got bootloop so I manually flashed the kernal then latest majisk and then the drmfix and now everything working fine. My software is now showing 47.1.A.12.34 but kernel is 47.1.A.8.49, still phone is working fine. (My Phone G8142).
[Sony Xperia XZ Premium Guides, News, & Discussion] Patrck744:
Any info on the Widevine Level 3 situation?
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Thank you ... I think I will still be confused after this... luckily we have references to go back on in this post! XD

---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------

Thank you ... I think I will still be confused after this... luckily we have references to go back on in this post! XD
[Sony Xperia XZ Premium Guides, News, & Discussion] Compist:
Magisk Update Kills My Camera? And Weather Widget....?

I keep having issues with my XZ Premium (G8142, Dual Sim) randomly restarting, and came to find out that maybe Magisk being outdated was the issue. I was running 14.2.

But when I updated it to 15.3, my camera no longer took pictures, and for some reason my weather widget wouldn't load?

I ended up re-applying the Xperifix and it installed 14.5, and everything worked again.

Time will tell if I still get the restart issues, but for now, i'm ignoring the 15.3 update. I tried updating from 14.5 to see and it did the same thing. So back down to 14.5 (via XperiFix) and now all is well.

Maybe this is something that's unique to the Dual Sim, as you reported not having any issues?

Running Oreo, 47.1.A.5.51 (CE1 so I can use the fingerprint scanner, lol). I have the new 47.1.A.12.34 downloaded and unpacked ready, but I'm waiting on the XperiFix before I apply it :P
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You can stay on Magisk 14.5 that's no problem. If you want to, you can try to flash Magisk 15.2 out of the XperiFIX folder. It's also recommended to use the official Magisk uninstaller before (have a search here on XDA) that removes all Magisk related files before you flash another version.

The 47.1.A.12.34 actually doesn't work with the fix, because there is a compatibility problem with the new kernel, Magisk and the drm fix. My personal hero [MENTION=3989065]serajr[/MENTION] reported this problem already here https://xdaforums.com/showpost.php?p=75257893&postcount=4924

I played a little bit with the Magisk binaries the last days and tried to use a better method for the fix, without patching every new kernel ramdisk for the devices. I patched Magisk itself to inject the device related fix while installing Magisk. The patch works so far... but actually the drm fix doesn't work, because the environment fix fails. Buuuuut... I'm pretty sure I will get a working method this way. Would be really nice, because we could use any kernel to patch and I would only have to take care of the libs and the firmware related patch. I also tried to get a working Magisk module, but without success.

My personal "dream" would be a fully automated XperiFIX, which would be able to do it's job on every device, without prepatched files. Maybe I can find a way to get something like this to work. Would be really awesome and a "game changer" for Sony smartphones. We will see...
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
I am finally on Oreo thanks to Storm. I have one question for everyone, relating to SafetyNet. Magisk fails the safteynet check when running the check from within Magisk, is that a major issue? Thing is, it was fine after I installed .49 and XperiFix but after I installed the Magisk update when prompted by Magisk, upon checking again with the new version it fails.

Oh and thanks guys for your input regarding Newflasher and Flashtool, much appreciated, I decided to go with Newflasher to avoid any headaches.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Glad to hear that :)

I updated my signature with BTC address. But I'm syncing my wallet rarely, haha...
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Did you install only the new Magisk Manager or Magisk.zip, too? I'm actually on 8.49 firmware and Magisk 15.3 with success on SafetyNet. Please try to use XperiFIX again. If it still doesn't work, you could use the official Magisk uninstaller and then run XperiFIX again. It should work.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
I updated Magisk Manager to v5.5.5 and after that, it asked to update the zip to v15.3, which I did.

Odd, it did work before upgrading to v5.5.5 and v15.3.

---------- Post added at 08:25 PM ---------- Previous post was at 08:08 PM ----------

I am getting a lot of Application crashes, apps force closing all over the place. I think Magisk is the cause as I have been tampering with it, so looks like I am going to reflash Oreo again and see what happens.
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
[MENTION=8363210]sToRm//[/MENTION] is the guy you want to ask
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
I reinstalled Oreo and ran through XperiFix and you know what, I just realised what caused the SafetyNet issue. 'Systemless Host' support in Magisk settings, I keep turning it on and I only just tested it after turning it off again and that was it.
[Sony Xperia XZ Premium Guides, News, & Discussion] bakamusasabi:
Any chance of an update to the latest firmware 47.1.A.12.34? Thanks!
[Sony Xperia XZ Premium Guides, News, & Discussion] serajr:
Oh man, thanks... kind words!

I played with magiskinit binary too, and like you, with no success. Also created two different Magisk modules, and the same happened!

My last attempt would be cheating with props (setprop wrap.<PROCESS/PACKAGE> LD_PRELOAD=/path/to/lib.so) with an Magisk's system.prop module, but I didn't have time for that (due releasing of my xperia xposed oreo module).

How about you? I actually don't know if that will work.

Your dream is ours, too! Count on me on what you need to achieve that!

Respect!!
[Sony Xperia XZ Premium Guides, News, & Discussion] Mobfigurz:
There is your answer, you should try reading before posting, Storm only posted that on the previous page so you obviously did not bother to look around before asking.
[Sony Xperia XZ Premium Guides, News, & Discussion] TheDoh007:
Hello, i have gotten my phone rooted and tried using this tool, but my phone is now in a bootloop.

It is a G8141 running version xxxxx.8.49, and the tool said that the fix worked at the end, but my phone didn't restart (i also had to replug the USB cable because it got stuck at "booting the recovery"). After that, when i restarted the phone it was in a bootloop until i held down volume+ and power until it vibrated 3 times.

I have tried running the XperiFIX tool several times, remembering to follow the step carefully, but it doesn't seem to be working. (although the first time(s) i forgot to run it as administrator)

What should i try out?

Thanks in advance

Edit: i can still make TWRP show up (by starting it while holding volume-)
[Sony Xperia XZ Premium Guides, News, & Discussion] Compist:
Update, still having restart issues. Everything will lock up or force close, then it will restart itself.

This weekend I plan to start looking into the issue a bit more. I'm no where near your level of understanding when it comes to coding or developing, but I plan to get back into learning about this kind of stuff ASAP. I gotta find out a way to fix this issue. It's driving me nuts. A $600 phone that restarts when it wants to? Forget that.

If I find anything out I will post on here.

Also, if anyone has any ideas where I should start with troubleshooting this, let me know.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
No one have this issue here.

Find what you are doing in ur software what u are bricked.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Help! Any chance of an update to the latest firmware 47.1.A.12.34 and XperiFIX? Thanks!
[Sony Xperia XZ Premium Guides, News, & Discussion] whoosename:
Read a few pages back or use the search function to find the answer!

Short: sToRm// is working on it.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Whoooop! Good news!

- I found a new way to patch our devices and also other devices like the XZ1/XZ1c.

- They all should work with current Magisk versions 15+ then.

- The new method also fixes a bug in current firmware versions (service menu -> device info bugs)

- I actually work on a fully automatic version of XperiFIX (the big dream haha)

If I have a little bit more free time, I will make a little project page with needed files for Linux users, too. It's easier to update all relevant files on one single place.

Have a nice weekend my friends!
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Did you have a chance to look into widevine?
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

Really very good news! The Linux page will be really appreciated ! I'll test everything from there and report the results!

WIth regards,

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
It Look like sony has declared war on you [MENTION=8363210]sToRm//[/MENTION] Hahaha

Good job man, thank's in advance, you're the best :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] octopus82:
it does'nt work for me , latest version in supported list; hang on logo
[Sony Xperia XZ Premium Guides, News, & Discussion] gangurubhanu007:
[MENTION=8363210]sToRm//[/MENTION] I patched my using using the latest XperiFix version, Works just as like you mentioned

Didn't took more than 5 minutes

Though I just want to mention for all who are new to do this sort of stuff, you need to select the driver manually in device manager otherwise the phone doesn't know which adb drivers to use thus XperiFix can't able to detect phone in fastboot mode

Again Thanks for your hardwork [MENTION=8363210]sToRm//[/MENTION] Appreciated

Bhanu
[Sony Xperia XZ Premium Guides, News, & Discussion] gaijin1%:
And chance of optional kernel versions for 2K or 4k physical screens?

I don't want to just emulate 4K like the 'fake it' fixes. I went through the trouble of installing Daydream on this, and the images and videos are blurry like it's just scaling up from FHD :(

Much sharper pic on my Axon7 with 2K screen.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mopeygoth:
click click done - thanks so much for the 47.1.A.8.49 update! works, you rock bro!
[Sony Xperia XZ Premium Guides, News, & Discussion] Mopeygoth:
apart from making the camera work, and applying root - did you make the "fix" do aything else? my phone seems alot snappier since applying .. :D
[Sony Xperia XZ Premium Guides, News, & Discussion] sqdante:
nougat

Does anyone have the tft nougat .137 for the g8141? I need to return so that the camera works

:crying:
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Issue Reverting

Hello everyone! My brother just got the g8142 version and it's updated past what is supported for DRM fix here. I want to revert, but it has to be the US version as we keep running into issues with group MMS with chinese software etc. Xperifirm no longer has the older versions other than in China or HK. Can anyone get me the 47.1.A.8.49 US edition for g8142? I've been searching all day and cannot find it anywhere. )-'= Thanks in advance!

-Tom
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
A quick one..... can anyone give me advise on this?

---------- Post added at 09:58 AM ---------- Previous post was at 09:50 AM ----------

Hi Tom, have you checked on XperiFirm ... download it on windows and then check your G8142 there. It should be there... ? Please let me know if you managed it
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Well, whether there is a version that works well for the 8141 100%
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
It does......check xperifirm. Please read what I wrote. Does anyone have the firmware I identified? Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] overcustom:
My firmware version is 47.1.A.12.34... I guess it's not supported, right?
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Regretfully not. Thanks for checking though! Anyone else?

Update: got a Chinese version to work now, but no gapps appeared? This is a Chinese version straight from xperifirm. Anyone have an answer as to why gapps are native in this ROM? I flashed em like I would for lineage, but now they keep crashing {=
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Chinese firmware in general doesn't have GApps because the Chinese government doesn't permit all Google services.

I have the Custom Central Europe 8.49 firmware from XperiFirm on my system somewhere. Would that suffice?
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Interesting. YES PLEASE! If you gave me a link I would be so in debt to you! Thank you so much!!!!!
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Hi Sasafrass, I thought about that too but I dont think the frequency band in the EU are the same as US. I am not sure if it will be compatible. I wanted to suggest the same yesterday but wasn't sure if it would work. But maybe someone can test it out and provide feedback? ( Gene PIG ) :eek:
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
That could be. I'll share a download of the firmware and maybe itsttime206 can report back.
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
It will indeed work. I used it for the single sim version as well. Thank you SO much!
[Sony Xperia XZ Premium Guides, News, & Discussion] Shaggykjb:
This can also work for the dual sim G8142 as the fw Central Europe 1?

Just so im clear we are talking about reverting from 47.1.A.12.34 to 47.1.A.8.49?

If yes a link would be great.

Thanks,
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Yes - for the dual version. Just waiting for the link (=
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Very sorry to bother you, but before I upload a large file like that, I'd like you to try Sony's Flashtool "EMMA" https://developer.sonymobile.com/open-devices/flash-tool/how-to-download-and-install-the-flash-tool/ first. This is because they currently have 8.49 as the download in their tool. Just start the tool and hook up your device in download mode (green light).
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Sounds good, but if I do that, won't it encrypted the phone prior to me being able to install the fix etc.? I instructed my brother to download Emma, but a link to the software also would be extremely helpful. He's flashed firmware before but only using xperiflash in the zip of the firmware. {=

Thanks in advance,

-Tom
[Sony Xperia XZ Premium Guides, News, & Discussion] Andross01:
Interestingly the OTA Update is not available in EMMA.
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
Uhg, also, just tried contacting Sony and they will not give me access to Emma. Is there any chance you could just upload it? {=

If I need to PayPal you a few bucks first I definitely will, I'm desperate to just get my hands on the software and can't get Emma to work )-:

-Tom
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
The link I provided in my post has a download link. If that doesn't work then try this: https://drive.google.com/open?id=1Rujah7Fuwj0P896aanw4cDUAe5W8LJSU

The Flash Tool is the latest Emma installer. The firmware is an FTF file for Flashtool (not Newflasher or Emma).
[Sony Xperia XZ Premium Guides, News, & Discussion] itsttime206:
THANK YOU! I SO appreciate this! You don't know how much I've been looking for this - THANKS!!!
[Sony Xperia XZ Premium Guides, News, & Discussion] Shaggykjb:
where are you putting the FTF file in the flashtool folder?
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Put it in /firmwares. But from now on we should move flashing and firmware to another thread, if we want to continue..
[Sony Xperia XZ Premium Guides, News, & Discussion] vmicovic:
when will be supported 47.1.A.12.34 ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Just wait. as storm said he doesn't have much free time to work on the tool.
[Sony Xperia XZ Premium Guides, News, & Discussion] sadeyia:
. 34

Hello there

I already flash the latest firmware 47.1.A.12.34 for G8142 and I tried the xperifix but after entering recovery nothing happens so I apply the fix manually from recovery install then you need to copy drmpatch and magisk 15.3 first install magisk then drmpatch and restart everything working like charm

Thanks storm for the hard work
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Hey,

Are you saying you got 12.34 to somehow work with the DRM Patch?
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Does xperifix have support until version 8.49

Does xperifix have support until version 8.49, or has it been updated to 12.34 by Storm ?
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Keep checking page 1
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Hi, I'm on 12.34 now and have applied XperiFix. My camera seems to work properly, without lag and green photos.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

It's perfect! Please could you post a screenshot of the Security test ?

(dial *#*#7378423#*#* and then Service tests/Security)

With regards,

Pavel