yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I noticed some changes in quality of photos and videos with latest firmware versions, but i think it's caused by changes which Sony made to the camera (software). If something with credentials would not work, the conversion would stop in TZ (green pic) and there would be some logged errors. But there is no sign that the patch misses something. Maybe there will be some fixes in next firmware updates.

Edit: Do you mean the "bootloader unlock allowed: no" message? That's normal, because the patch simulates a locked system. It's on Nougat also if you use the DRM patch.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
Thank you for this quick response STORM, ok, no problem, we will do with, I have noted for the photos (provided that someone finds a solution), and for the bootlader unlock, yes it is simulated under nougat, I had it understood, but why it does not appear simulated when flash under oreo?
[Sony Xperia XZ Premium Guides, News, & Discussion] Patrck744:
[MENTION=8363210]sToRm//[/MENTION]

Can you link the flashable zips on your first post. I don't access to a computer. I just need to flash the DRMfix for Nougat since I did a reinstall.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
It shoud say "bootloader unlock allowed: no" on both... Nougat and Oreo.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Read OP, link is there.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
:)

In fact my simple question was knowing knowing that my bootloader is unlocked, why under nougat flashed, it simulates and appears as if the bootloader was still locked (which indicates I imagine a good operation of the flash xperifix (my button is green and not gray) and why under oreo flash after it appears as if we had unlocked the bootloader (gray button)? Is it a clue to the proper operation of xperifix flash nougat and not under oreo? :silly:

EDIT: For the photo problem, I'm going to compare the photo quality on a device blocked on oreo with mine, I'll give my answer but if it turns out that the photo quality is better than on my phone it would mean that sony n ' has not changed anything on that side and if it is the case I think that a verification of third-party applications around the camera is necessary
[Sony Xperia XZ Premium Guides, News, & Discussion] imsims:
all ok with oreo 47.1.A.3.254.

when	47.1.A.5.51 will be avaible we have to re-patch after update?
[Sony Xperia XZ Premium Guides, News, & Discussion] SNOOPLAYAN:
Hi everyone,

Many thanks to Storm for this excellent post. I have a few questions.

I've never rooted any of my phones before and I would like to know the pros and cons of rooting my beloved XZ Premium.

So far the phone's working beautifully and I can't think of a reason to go through this risky process that would void my warranty and could potentially "brick" my device.

If the advantages are so great then I would love to learn more about the topic of this wonderful thread.

My battery life is great as I constantly get around 7-8 hours of screen on time with heavy use. Also wanted to note that the camera is quite decent for me too. I didn't understand what some of you meant when you mentioned "green pictures".

If this excellent phone can perform even better once rooted then I'm definitely giving this a go!
[Sony Xperia XZ Premium Guides, News, & Discussion] Requiett:
I think there may be an issue with the compiling on this? I've re-downloaded it and reinstalled 3 times.

[IMG="libwinpthread_error"]https://i.imgur.com/5S8s5bL.jpg[/IMG]

---------- Post added at 07:43 AM ---------- Previous post was at 07:33 AM ----------

Actually it turned out I had both Android SDK and another fastboot on my machine which was getting flagged from the app, so I just had to copy the dll from the SDK install to the one getting flagged and it worked. Thanks for your work on this project!
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Android without root = ??????

Root makes the phone 100% yours and you can transform old slow bricks to blazing fast.

BUT, root can only be as good as the user wants it to be.

If you have no creativity, motivation to fully tweak, optimize it then it's not very useful for a causal user like you.
[Sony Xperia XZ Premium Guides, News, & Discussion] Requiett:
Is TWRP required for this tool to work?
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Yes, you need twrp if you want to flash magisk/drmfix.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
https://xdaforums.com/xz-premium/development/hack-mod-sony-xperia-xz-premium-twrp-t3695171/page65

#641
[Sony Xperia XZ Premium Guides, News, & Discussion] Zelric:
If you're using Nougat, go with THIS ONE. If you're using Oreo, you can follow THIS SECONDARY GUIDE from a user.

I followed the Nougat (7.1.1) guide and it was pretty straightforward and has been working fine. I'll eventually look into upgrading to Oreo (8.0) when it's easier and less confusing (I'm still a bit of a newbie).
[Sony Xperia XZ Premium Guides, News, & Discussion] benengyj:
Just got my XZP today and I've unlocked and patched it. Everything seems fine.

Took longer than expected because of the annoying unlocking process (that seems more troublesome than before). Had to use the manual method of flashing the kernel/magisk/drmpatch too.
[Sony Xperia XZ Premium Guides, News, & Discussion] Germane:
Nandroid is not working? With TWRP?

Cant Restore anny Backups?
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
Someone makes a difference with the quality or the photo rendering with the patch applied correctly between NOUGAT and OREO or it's only me who sees that? :confused:

ok, the features 3rd photo (quality) with STORM patch under nougat are almost functional, the photos are superb. :good:

Under OREO despite the patch, the 3rd photo feature does not work! my photos are no longer green but my webcam hd is as good! :crying:

YOU MUST ADDRESS THE ACTIVATION PROBLEM 3RD FEATURES (all the tools that NORMALLY support the camera WITH THE PATCH UNDER OREO because ok, a phone unlocked, patched drm, rooted, which no longer takes the official updates, which costs 800 potato BUT with a photo quality of **** say, do not agree too much

I'm disgusted to have unlocked for patch ......:(

EDIT: STORM,sony blocks the thirds of the camera but you had to know it no?, Why not mention it in your tutorial? it would be nice to specify that when unlocking the bootloader we also lose the functionality of the special functions related to the quality of the camera (BRAVIA, noise canceling etc. etc tutti quanti) and not that the DRM :good:

it is necessary to update the patch urgently! :mad:
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
There's no need to mention the special functions because if everyone does their research they will know what the DRM does and what it affects, if they don't then it's their issue.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
Oh? since when? this information is also important and functional for the device
[Sony Xperia XZ Premium Guides, News, & Discussion] pbarrette:
I think the main problem here is that we simply do not understand what you are trying to say.

Specifically, what does not work?

I mean, exactly, precisely, which application, performing which function, with a screenshot and as much detail as you can provide.

Because I genuinely have no idea what a "3rd photo feature" is, or what you are talking about.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
simply that the BIONZ works badly or is not active (to see), that for example the video under youtube in 4K are not in 4K despite the chosen option (try in 2160 then in 1440, you will see that it is cleaner in 1440, noise canceling does not work, Bravia is inactive, X-reality is not functional, all things that make this phone a good camera and all because of the unlocked bootloader that inactivates some resources cited above .

("Some pre-loaded content on your device may also be inaccessible due to removal of DRM security keys." For high-end devices running recent software releases, such as Xperia Z3, removing DRM security keys may affect Advanced Camera Features For example, noise reduction algorithms could be removed, and performance when shooting in low light conditions could be affected. " (SONY website) )
[Sony Xperia XZ Premium Guides, News, & Discussion] bmayne81:
flashed the lastest firmware from the sony tool which is Region CE1 45.0.A.7.137/R5A. any idea why the nougat kernel isnt working with it? when i flash the kernel the phone hangs at the sony splash screen

Device: G8142 dual sim

Edit: disregard this. i figured it out and answered my own question. sorry
[Sony Xperia XZ Premium Guides, News, & Discussion] Nouatik:
Yo!

Just to make clear: does this fix cover all drm-based functions? Or just some, like the camera ( if, does the imagequality drop?).

Also which functions is drm-protected?

Best regards!
[Sony Xperia XZ Premium Guides, News, & Discussion] Mangtas_666:
Thats why before you do anything with your device you need to do your homework it is very basic that unlocking bootloader will void your warranty don't be lazy and wait for people here to spoon fed you. Devs are doing this for free so use it at your own risk.
[Sony Xperia XZ Premium Guides, News, & Discussion] benengyj:
Not sure what on earth you've been drinking (or saying even) but X-Reality works for me after the DRM patch.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
yes and NO ..... on condition of ALL saying (and not just reporting the final DRM loss and not reporting the rest because after reading a lot of forum, the dev you are well at current is it not that the material is not declared to flash, is it not ....) :confused:

---------- Post added at 09:27 AM ---------- Previous post was at 09:25 AM ----------

Post #705 :rolleyes:

---------- Post added at 09:32 AM ---------- Previous post was at 09:27 AM ----------

and Bravia ? and the noise cancelling ? Bionz ? Are you really sure? check with a friend in real, compare, you will understand (go to a shop compare!), Even Storm confirmed that there were gaps in quality photo (post # 705) by stipulating the fault on oreo , but I am not convinced by this answer because after several forum read on XDA, it is Sony and its DRM which blocks a third of the periphery dedicated to the quality in the event of unblocked boot

EDIT:

I remind those who read that I admire the work of storm, no problem! I write all this so that we try to find a solution, not to break the sugar on the work of storm, because all this is happening now in my phone and also surely yours. to all those who will answer me, go back under NOUGAT, made the drmfix, take a good photo with a good brightness, very clear of not too far, once the photo made, zoom on your photo under nougat and redo the same thing under Oreo and you will understand, Sincerely
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
thank you for your importance and what you are saying.

first of all didn't find any differance on nougat before and after the patch in stock camera photo quality'

second try to hide rood with magisk on the third part camera app

third didn't have any problems with my phone

i have xz premium dual
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
[MENTION=5327840]karrouma[/MENTION]

On nougat, no problem with the camera ( my firmware is nougat today) , It's with OREO ( compare nougat flashed or not with the quality in oreo patched)

My phone xz premium dual.

---------- Post added at 01:45 PM ---------- Previous post was at 01:22 PM ----------

how do you hide root with magisk with nougat? can you tell me the procedure? I would like to try your manipulation with nougat if I see a difference but with nougat without masking the root the camera works very well and I will reflash under oreo to redo the same manipulation and at the same time to make 2 photos witnesses of 2 system for all the world can judge.;)
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
No, it's broken.

OP cannot fix this, so don't ask.
[Sony Xperia XZ Premium Guides, News, & Discussion] Chicken4K:
[MENTION=8363210]sToRm//[/MENTION]

https://github.com/sonyxperiadev/kernel/commit/726d30677dfb812524f934902e3361799f9e6538

is this legit? could you build a custom kernel with this and the DRM fix?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Magisk manager

3line in the upper left

Magisk Hide

And chose your app you want to hide root wih it
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
ok thx !

I'll try it right away. there I went back under OREO, I took 2 photos in the same condition for you to judge.

here under oreo the photo lack of clarity and there is noise (not audio, photo!) and it is not clear, nougat patched everything is fine.

comparing the two photos I think BIONZ does not activate under patched oreo (BIONZ ™ = Image Processing Engine) and for clarity be BRAVIA ™ or super-vivid are also inactive

SO ?

EDIT: karrouma manipulation done under magisk but same result (oreo)
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Waiting to [MENTION=8363210]sToRm//[/MENTION] read about the problems and try to fix them.

yes big differance between the photo
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Whitch cam app u used.

Mine is fine, i used stock
[Sony Xperia XZ Premium Guides, News, & Discussion] 3marsiii:
Twitter doesnt work

My Twitter app doesnt work, it directly crashes at start.

Device information:

- G8141 Build 47.1.A.5.51 (Oreo)

- Magisk Manager 5.4.2 (63)

- SafetyNet-Status OK

- Other apps with root rights: AdAway, ES file explorer, Titanium Backup and iYTBP installed as Magisk Module YouTube .

- Used the "System Debloat script" by Pointless816

Have some one the same issues or any advise for me?

Many thanks in advance.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
me too, STOCK
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Compared...

Left without processing and Sony algos on Oreo. Right with processing and algos from Sony, also on Oreo. It's 01:00 AM here, so it's dark outside. You can see that the processing works. Maybe Sony changed something in their algos, but that's just guessing. All of the relevant functions are hidden in the TrustZone. Again... If there is problem with credentials for the related functions, there would be tons of error messages in logcat about failed TZ commands and processing.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
ok, seen, I will stay under nougat because the quality is better for the moment then sell it, buy me another, make me a TA.IMG backup for the next and we'll see. THANK YOU STORM for your help:good:

QUESTION: you took the 2 photos tonight, how did you disable (or enable) the function on the spot?

EDIT 1 :

we have the same time zone, my "young" president is a great friend with Angela

EDIT 2: my basic problem is not the brightness in the dark otherwise I would have tested in dark but my test happens the day, my problem is the "sharpness"

Thank you Storm :)
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
No problem found with sharpness bro

Check your case if you have one.

Try to take pics without case or clean camera lense.

Not any problem with me not @ light and not @ night

Try same phone same condition and dont rotate ur object and compare . Not like in your pic compared
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
[MENTION=236992]Storm[/MENTION] ok, i'm not dev, i will try to make a logcat, if i can send it to someone after that to check my problem ..... it would be really cool

[MENTION=5327840]karrouma[/MENTION] and yet ...... my camera make pictures like that, I can not do anything:(
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
Yeah I was wondering how he disabled the algos on the spot, unless he was carrying his laptop around with him lol
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
It was with Google camera. It doesn't use the Sony algos, so it's good to check if Sony functionality is given. ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Sony had bugs in the firmware https://talk.sonymobile.com/t5/Xper...nsor-not-reading-and-laser-focus/td-p/1272670

Some users reported that the problems still exist in 47.1.A.5.51. Maybe that's the case. For me it looks like a problem with the focus on 47.1.A.5.51, too.

If you are on 47.1.A.3.254 you should update the firmware.
[Sony Xperia XZ Premium Guides, News, & Discussion] cameljockey1:
Just wanted to say thank you. I ordered my xz and should get it tomorrow. The only reason I got it was because of you. And the instructions are straight forward. Can't wait to get back to Sony.
[Sony Xperia XZ Premium Guides, News, & Discussion] shoey63:
XZ or XZ premium? Pretty sure XZ can backup TA partition on mm with dirty cow exploit. Anyway, same here. Bought XZ premium the same day as I saw this fix [emoji4]
[Sony Xperia XZ Premium Guides, News, & Discussion] cameljockey1:
Premium of course. :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
OK :silly: , I made a new series of photos with the software STOCK camera (late morning) of the character MARIO with each firmware (51,137,254)

The measurement zone chosen is the "M" on the cap, in automatic mode, higher, 19MP (4: 3) (see photo).

The "RGBC-IR" + "ToF sensor" tests are also in photos * AND the LOGCAT ** of each versions are present (which you open with the CATLOG software on playstore***)

At the time of taking the photo, the support chosen to do these tests are 2 hard disks and a wood chip (see photo) (I made a bridge with all that and put the phone on it, each time ...). The tests were ALL performed in the same way (same height of shooting for each version), I wanted to clarify for the purists ...

Steps to follow ? you put the photos of the main mario in your phone (and not with a pc because otherwise is the interest to see if the phone works well?), you open it in the album, zoom in and zoom in again little more holding with your fingers at the ends of the screen and admire if it's sharp, blurry, with photo grain or not .....

Personally for me, the best quality / photographic grain is:

-in 1 , version 137 but there is no photo correction distortion (despite errors "camera" in the logcat!)

-in 2 version 254, almost identical to version 137, except that the RGBC-IR sensor does not work (bug sony), logcat level, a lot of errors too ...

-in 3 version 51, the most disgusting version in photo (zoom in on bottom) despite the proper operation of "RGBC-IR" + "ToF sensor"

That's my conclusion, what about you? may have to dig a little more towards the activation or opening (in another way) applications or processors that revolve around the camera stock not?

:confused:

* (At the level of LOGCAT, I'm not DEV in the soul but I still read a logcat, just type in the search box keywords like "error, fail, denied, crash etc etc .. .) and there are some errors ... and not only) photographic.

** (I forgot to take a picture of the RGCB-IR version 51 but memory works everything!)

***https://play.google.com/store/apps/details?id=com.nolanlawson.logcat&hl=us

(I do not know if I have the right but in case, tell me and I turn it)

-RAR no virus !
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
test 51
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
TEST 254
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
Test 137
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
That you even bother and care. All photos looks good to me.

Why did you unlock your bl if you're gonna throw such a hizzyfit about it.

What makes you think this is an issue with drmfix and not something Sony screwed up?

I'm using Snap Camera which I feel is superior to stock camera app.
[Sony Xperia XZ Premium Guides, News, & Discussion] reksonn1:
-play the game, put the 3 concerned photos in your phone because if you "look good" is that you have not looked in your phone.

-I unlocked my bootloader for the root (but not to have a phone that works half even rooted if not luxury brick (especially he must spit at the photo level)

-hizzyfit ? a link maybe?

-as I said before in a post, my but is not to break the work of Storm, far from it, he did an admirable job! my but is found a solution to what is wrong. The LOGCATS are full of error! Have you read them at least? NEVER SAID it was a problem with the drmFIX, JUST! is it SONY or DRMfix? There is the question ...

-Sorry, if I take a phone to 800th, it is also to use the camera stock (yes I saw, snap camera is good, there is more "stung" less "photo grains". I see you know at least make a diference in the stock app and snap camera, do as much with my 3 photos, push the analysis to your photo album of my three photos and ESPECIALLY READ THE LOGCATs with the app, it's easier to read the types of color error!

;)
[Sony Xperia XZ Premium Guides, News, & Discussion] pbarrette:
First, your zipfiles don't contain photos created by the camera. They only contain photos taken of the RGB and TOF sensor readouts that were taken with a different camera.

So you've provided no photos for compairson. Which makes it really hard to compare the photos.

Second, I have gone through the logcat output and simply do not see any problems.

In fact, those logcats are quite likely the most error / warning free of any logcat I've ever had to read.

A thing to understand about logcat messages is that an ERROR isn't always an error and an INFO isn't always just informational.

Take this entry:

11-24 10:22:11.018 E/TraceLog(14508): [DEBUG] [TIME=1511515331018][CameraDeviceHandler][main] : preloadCamera() E mode:NORMAL isFastCaptureSettingEnable:false isBypassCameraAvailable:false

It is presented as an ERROR ( E/ ), but it's really just a DEBUG message telling you that Fast-Capture is disabled and Bypass-Camera is not available.

That's not an error. It's informational.

Or this one:

11-24 10:22:11.096 E/QCExtractor(1124): ExtendedExtractor failed to instantiate extractor

Which is a direct result of the message which came immediately before it:

11-24 10:22:11.096 I/QComExtractorFactory(1124): QTI parser is not preferred for mime: application/ogg

So the "failure" is because the Qualcomm extractor isn't the preferred handler for OGG audio. Which isn't really an error at all.

I think you're focusing too much on the RED LINE BAD! aspect and not actually reading and interpreting the content of the messages.