yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] barcodevii:
dont get what you mean "after _" bro.

so here's the story. i did all instruction in first page and its done and success, then doing normally full backup through twrp, reinstall apps, xposed, etc.

after an hour i realized i got problem with my power button, if we push power button for about 2 or 3 sec, normally they will pop up power menu like shut down, restart, screenshot. but its not.

then i tried to restore using my backup in twrp. but then bootloop happen. solution?:p
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
The "R5A" part doesn't matter, it can be whatever. The most important is that the firmware version is 137.

You never had an problem to begin with. I also got the delay on power menu showing up (I guess xposed caused it) which I easily fixed by installing a power tweak module in xposed.

I use NeoPowerMenu which is awesome.
[Sony Xperia XZ Premium Guides, News, & Discussion] barcodevii:
then what's the solution for this bootloop. i cant found any flashable stock .zip.

Dalvik cache wipe cant solve. now mine just stuck on Sony logo. :|
[Sony Xperia XZ Premium Guides, News, & Discussion] bosskillers:
Hello after the flash I felt that the camera and slowed less bright since the flash, do you have any idea of ​​this problem ??? my second problem and I can not start TWRP, but yesterday I managed today I can not restart on recovery must you flash TWRP again ??? Thank you for your help
[Sony Xperia XZ Premium Guides, News, & Discussion] Hotfingers:
It's off topic, but here's a thread that let's you what to look for, and how to use it.

https://xdaforums.com/xz-premium/help/flashing-generic-fw-simple-guide-t3652103
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
I would try to flash any of the firmwares available with Newflasher. You just need to figure out what firmware you have currently running and download it. Check the Newflasher thread for more information.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Sooo just did the do on my phone as well :D Setting it up again.

Two questions with can have the same answer:

That message on boot "Bla your device is unsafe bla bla bla" appears now. It would disappear if I relock the BL again I guess, and can I just relock the BL and keep using the phone with all the stuff I did now from this guide?

Alternate questions: Can this message be removed in another way other than relocking BL?
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
That's normal even with locked bootloader, would take up a lot more storage if it was higher quality
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Reflash the firmware which you can get via XperiFirm.

No, you cannot remove the message.

No, you cannot relock your bootloader.
[Sony Xperia XZ Premium Guides, News, & Discussion] cheddarchi:
I understand it's only at 720p, but I'm seeing "FUgly because you unlocked bootloader" quality. Compared to 120fps (which is also 720p) it's a lot worse (not resolution wise, but brightness/noise of video) I've uploaded a few videos to compare.

Here's a 120FPS one :good:

https://youtu.be/RjmKJhCQkgA

Here's the 960FPS one, which is :crying:

https://youtu.be/SdSKVtwwiyw

And here's a video of me taking those videos (you can see the quality drop as soon as i change to 960fps)

https://youtu.be/tkMW9dRU3uM

so is that normal?

edit: embedded doesn't work... leaving it as URLs
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Yes it's normal that you get lower quality the higher speed you go.

Not sure what you're expecting really?
[Sony Xperia XZ Premium Guides, News, & Discussion] arjun.arora:
Which version of xposed are you using buddy.. Have you faced any problems..
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
xposed-v88.1-sdk25-arm64 is what I downloaded and flashed.

No issues besides delayed stock power menu (meaning it's slow to appear (can be fixed by a power menu module)* and that it breaks SafetyNet.

Other than that it works amazingly smoothly alongside Magisk.

* Using XZP_AndroPlusKernel_v06_sToRm as kernel fixed the delay without/with xposed.

Let's blame xposed.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I noticed that this feature has lower quality since firmware x.137

Was a little bit better before. But I think it has nothing to do with the fix.
[Sony Xperia XZ Premium Guides, News, & Discussion] arjun.arora:
Thanks buddy.. Will try it soon..
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
About the delay in power menu, I wonder if it could be the kernel storm supplied or if it's really xposed.

Gonna test.

Delay gone after flashing XZP_AndroPlusKernel_v06_sToRm as kernel.

Let's blame xposed.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I think it's because of Xposed. My patched kernel is 99% stock Sony. Only dm-verity and Sony RIC are disabled, encryptable option is set and the DRMpatch files are linked as preload.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Well it's interesting because I just reflashed the kernel you added after (XZP_AndroPlusKernel_v06_sToRm) and the delay is now gone even after flashing xposed.

When I then flashed your first kernel you had just to compare the delay were there again! So XZP_AndroPlusKernel_v06_sToRm is definitely the one to use.

You know what? I think my mind is playing tricks on me. I think it's xposed after all and that it just played nice this time, haha sorry!
[Sony Xperia XZ Premium Guides, News, & Discussion] onkelfeix:
You need natural light sources ( and bright enough as well ) to have less distortion/grain etc.

Had the same problems when I was capturing a Nerfgun-Attack on my Colleagues at work - but anyway it's so much fun :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Excited! Your work really means a lot to us.
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
Still not sure how you guys have got the latest TWRP working, i get black screen whenever i try open recovery. I keep having to revert to the older recovery in Storm's fix which as the error 255() in it when restoring data and system back ups
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Which firmware version?
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
8.49 and TWRP-3.1.1-0. Whenever I try flashing the latest image from twrp website I get black screen in twrp.. Also using shoeys kernel for the updated Sony firmware, which he released quite a while ago in this thread if I can remember correctly..
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Try to fastboot flash the twrp.img from the 5.51 in XperiFIX application folder. If you get a black screen, try the twrptemp.img. Make sure you have the latest adb&fastboot on your pc.
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
The twrptemp.img saved the day! :)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Strange... That's my patched recovery for temporary using, because the original twrp don't want to boot with fastboot boot command. But okay... If it works then it's cool. Haha...
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
No... I'm not. I'm just a random guy who's mad on Sony. Haha...
[Sony Xperia XZ Premium Guides, News, & Discussion] Kanoe:
the latest twrp is 3.2.1.0

https://dl.twrp.me/maple/

do not having problem with it. 3.1.x always showed black screen for me.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
And we are all glad Sony took your attentions. Im a bit of a Sony fan too, ive had the Xperia Z, Z1/2/3, (with a galaxy note edge in there as well, please everyone forgive me haha, it was heavy as hell but innovative, being the only Samsung phone to properly utilise its 'edge' so far) and the X Performance and now XZP.
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Any word on the Amazon video DRM stuff?
[Sony Xperia XZ Premium Guides, News, & Discussion] Udit68:
Hey guys the previous drm fix zip with repacked andro kernel is working fine on 47.1.a.8.49 thank you storm so much 47.1.a.12.34
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I don't use Amazon, so I can't try and maybe debug it. Sorry...
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
Drminfo should do it as well at showing widevine feature level.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
yes it should works ,

androplus based works on others version . but problem with network . cz it is based on single sim the repacked one.

i am waiting to the fix for 12.34 to update my device.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Is there synonymous SuperSU for the Sony XZP 8141?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Ask in the supersu thread mate, and no need to repost 2.5 hours later
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
where is the thread?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Google is your friend.

Google 'supersu xda' or 'supersu beta xda'.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
If you have the chance, you can always do a 1 month trial.

EDIT: I checked drminfo, the issue seems to be that the drmpatch only gives widevine level 3, whereas hd streaming requires widevine level 1. Can this be fixed?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I have an updated XperiFIX prepared, but only with the working files for 47.1.A.8.49 because I bricked my device after updating to the new firmware version. I have not much time this week, so I decided to downgrade and continue later to fix the new version.

Will upload the current version of XperiFIX tomorrow, when I'm back on my desk.
[Sony Xperia XZ Premium Guides, News, & Discussion] derjaeger:
Hello, thanks Storm for your new efforts!

These days I was also thinking the following: 8.49 is probably the (almost?) last version to offer unmitigated spectre vulnerabilities, as snapdragon835 should be in the list of non-immune CPUs.

Would it someday be possible to conceive a rooting "from inside" using some spectre exploit against an old system release? Hijacking bootloader without unlocking should be enough!

Are these spectre exploits already around for other android phones?
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Even if that could work, asking a user to run a spectre exploit on their phone is not smart imo.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Thank

--------

Thanks for your work Storm, you could do a step by step to update from version 5.51 to version 8.49, and then apply the XperiFIX.

A new version is coming for the XZp 12.34

Sorry, I do not speak English
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
Meltdown is the one extraneous to current phones.

Spectre affects almost everything.

Said this, everyone of these hacks are just about reading "protected stuff" - nothing about writing or overriding them.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
A quick question.. My G8141 (as per my previous post) that kept on restarting randomly (even just at night charging) . I believe it is crashing for some unknown reason. Can anyone here (seeing you are all hacking experts and knowing the system well). Where can I find the log on the phone? I am using Linux so it would probably be easy for me to access the logs and go through it. Thanks.

This is the link I got from Google and not sure if it is applicable https://android.stackexchange.com/questions/14430/how-can-i-view-and-examine-the-android-log
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Thanks Storm and can't wait. I think I am going to have to upgrade to the new kernel again seeing this phone restarting thing is just not ending.. I am yet to go through some logs from the phone but not sure if I would be able to make any sense of it :)
[Sony Xperia XZ Premium Guides, News, & Discussion] Amiish:
green photos not fixed

hi

i hve done trying drmfix (xperifix) but still am getting green photos

yes right bluid number

its boot in twrp and do nthing for a minute then a message pop up hold v+ and power to reset then hole v- and power when its show twrp then replug usb then click ok

after that its install normaly bur phone dosent restart automatcially i hve to restart from twrp

and then i checked the camera and its not solved

Please help :crying:
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
XperiFIX 1.4: Update 17.01.2018

1.4: Update 17.01.2018

- added device (Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.8.49)

- added device (Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.8.49)

- some changes in XperiFIX design

- new folder structure (data), saved ~300MB disk space

- small bugfixes

- ...

Info for 1.4:

There is Magisk 15.2 included in the 47.1.A.8.49 version. If you want to update Magisk to 15.3, you can do it in Magisk Manager. It will ask you to update. Then choose "yes" and flash Magisk directly via Magisk Manager. That causes no problems.

Info for all users:

If your device is encrypted, please DON'T UPGRADE to 47.1.A.12.34 without backing up your data while the phone is running! I did it without a backup (first time ever) and bricked my device (all userdata f*** up). The reason was, that I used the repacked kernel from shoey because I had no time do patch it myself. The ramdisk wasn't prepared for optional encryption, so the device was encrypted after the first start. I upgraded to 47.1.A.12.34 and after that, the data partition was corrupted. TWRP was unable to decrypt it, the stock firmware also. So if you want to upgrade an ecrypted phone, make a backup of all your files to an external SD and also backups with Titanium, to get all your data back. It's really recommended to flash a complete clean firmware and restore the backup after that.

Because my device was soft-bricked, I decided to wait with the updated files for 47.1.A.12.34 until I have more time to debug it. Looks like there were changes to the firmware that made our routine a little bit harder. But I think we can get this done.

Idea for the future:

There were some users that said that I would do this only for the money (donations). Thats bull****... Also there was a discussion in the bounty thread for XZ1/XZ1c where they talked about the payout for me (or not). I have an idea for this... The main problem that my updates take some time is that I use my phone daily and I have to do this things in free time where I am able to repair a f*** up device without having problems. If I would have a device just for testing, it would be much easier. I could do a lot of more debugging and testing, also for mods and other hacks. If it soft-bricks, I can repair it faster or just flash a clean fw without loosing my data or restore it everytime.

If a few more users would donate a few bucks, I could buy used devices on eBay that are just for development. Maybe another XZP and an XZ1, because the most new devices are using their structures. I think this would be a cool plan. What do you guys think about it?

Happy weekend to all users!

Cheers!
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Another thing to keep in mind is that a new flagship is likely coming soon, and could very well have a similar drm structure, so you might want to save donations for that.

Also, have you looked into patching in widevine level 1 at all?

Thanks again for all your work!
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I personally think that the new devices will have the same structures as XZ1. So it should be enough to have that device beside the XZP.

No, had no time to get into this. But I will have a look at it soon.
[Sony Xperia XZ Premium Guides, News, & Discussion] KrakerJak01:
Great for the new update.

Saving my donation for XZ1C support. I see "other" ways to get it working, but waiting for it to come from you //storm!
[Sony Xperia XZ Premium Guides, News, & Discussion] tehekueb_:
Update works flawlessly

Just run the updated tool on my XZ Premium, it works great.

It appears that DRM fix is done - images are no longer green from stock camera, also the connectivity issue is gone (if I use wifi and the mobile data is disabled, after I move away from wifi router, i.e. signal is lost or weak - when attempting to switch "ON" the mobile data usage - nothing happens...restart of the phone was needed to fix this, the good news: now everything works as it should - no phone restarts to enable mobile data).

Also my phone (I have encrypted it) now boots up noticeably faster, maybe twice as fast. I used the kernel from androxyde, not sure if this is related, or it was a combination of factors.

Important note: I had to manually re-plug (unplug fast and then plug-in) the USB cable during the patch - first on "Get that root..." and then on "Lets fix this DRM...". The TWRP was on screen, but nothing happened, so I could not wait for 5 minutes (as it is written on instructions), so waited 1 minute only.

After that the phone rebooted and everything is just OK. Recommended update, my version is xxxx.8.49.

Please, provide a bitcoin or etherium address for donation!
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Awesome! Thanks again!
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Step by step

-----1

Thanks storm, where I can download the new XperiFIX for the .49 version, and you can do a step by step, thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Take a look at the first post. I update it every time. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Page 1 has been edited and the version available there is the latest one.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Manually update

----

Storm:

You could make a thread to do the update manually. Sometimes when updating with XperiFIX it does not recognize the Usb and it is necessary to do it manually.

Thank you.

---------- Post added at 03:49 AM ---------- Previous post was at 03:41 AM ----------

----------

Storm :

You could make a thread to do the update manually. Sometimes when updating with XperiFIX it does not recognize the Usb and it is necessary to do it manually.

Thank you

---------- Post added at 03:51 AM ---------- Previous post was at 03:49 AM ----------

You could make a thread to do the update manually. Sometimes when updating with XperiFIX it does not recognize the Usb and it is necessary to do it manually.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
[MENTION=8733844]aotalorav[/MENTION] I think you need to work on your posing skills, you are cluttering the thread with your huge repetitive post. No need for a new thread either, its not hard to read back in the thread where manual instructions have been posted.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

I also think that it's enough to keep the manual instructions in this thread, but the description in the first post (that they are "old" and "for nougat") are suggesting that they are not updated for current software versions and some people may be unsure whethere they are still fully usable.

I'm also voting for publishing the files in a format of standard archive (.tar.gz or possibly .zip), not only in the XperiFIX executable. You know, not everyone is using windows and wine (windows compatibility layer for Linux) is too big to serve just as an archive unpacker :).

With regards,

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
is there chance to decrypt this phone with twrp? i'm on encrypted 8.49 and not gonna upgrade it for a while
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
On 8.49 you should be able to make a backup in TWRP. For the newest firmware we need a new TWRP recovery, because the current version is not able to decrypt it. Don't forget to backup the userdata (internal sd), too.
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
i've tried to backup everything with TWRP when i'm using 5.51, and then upgrade it to 8.49, then restore the backup, and surprisingly, i'm back to 5.51. everything goes to 5.51 ? not the internal sd, but the entire system.

i hope the newest version of TWRP later can decrypt our phones so we dont have any struggles with encryption anymore.
[Sony Xperia XZ Premium Guides, News, & Discussion] the_brad:
Great idea! Just donated a few bucks for another device. Keep your head up, bro.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
When you restored the backup you had system selected. Un tick system before you restore.
[Sony Xperia XZ Premium Guides, News, & Discussion] feizhel_vandrago:
ah, right. why i even forget that ._.

thanks, i'll do it later when we have fix and twrp for the newest firmware :)
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Update

-----

I agree, it would only be to update the thread where the manual form is described with the new updates.

Thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
try to flash the 12.34 ftf firmware via latest flashtool untick all and when successfully flashed let the phone start normally , then power off and flash the kernel.

or flash system x .sin and moden.sin and oem.sin via new flasher and delete all others .sin and .zip and .xml and .ta files let the phone boot normally then power off and flash the kernel and magisk.

iit should works.

i will try when have some free time, not tday or tomorrow.

thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Storm :

There is a procedure to delete this message when the XZp cell phone is turned on when it is open bootloader?

"Your device has been unlocked

and can't be trusted.

Your device Will boot in 5 second"

Thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
No...
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
but the drm not work
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
New important update for Flashtool, a powerful tool capable of flashing new firmware and obtaining root permissions on Sony brand devices.

The new version 0.9.24.2 adds support to three recent devices launched during 2017, namely Xperia XZ Premium, Xperia XZ1 and Xperia XZ1 Compact. Thanks to this compatibility, it is now possible to use the software on these smartphones, with all the advantages that users of mods will appreciate.
[Sony Xperia XZ Premium Guides, News, & Discussion] Inerent:
Hello guys!

It will be nice if devs spend some time for:

1. Enable Qualcomm 835 native Displayport (hdmi)

2. Play with Qualcomm default ISP Spectra api to see if it can process 4k 60fps (i know for sure it can process 4k 48 fps)

3. Same thing with 120 Hz refresh rate

Thx
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Use the fix
[Sony Xperia XZ Premium Guides, News, & Discussion] VeixES:
Donated towards buying used XZ1 for sToRm// . I hope that XZ1 effort can help towards future Sony flagships. Not owning XZ Premium anymore.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
[MENTION=8363210]sToRm//[/MENTION] just a quick question.. if I load the latest 47.1.A.12.34 version for G8141 from XperiFIRM and then use your XperiFIX ... will it still work? (meaning I completely wipe the phone with stock rom like I always do as I dont know the shortcut yet or how it works)? Right now I think Magisk is causing issues with my phone (complete uninstall and re-install and also used TWRP with official uninstalled.zip but my phone still randomly restart all the time) . I want to have the latest ROM for as long as I can without flashing it again in the soon future?

Thanks,
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Actually no. If you flash 47.1.A.12.34 and use XperiFIX, it will not work. There is a bug in Magisk that causes problems with the environment variables.

I will try to get a more flexible solution for the fix on newer versions.