yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Yes, and you did a great job for the community. Thank you! We had a move in my family before Christmas and during the holidays. I did not have time to worry about the fix, but I kept reading on XDA. Then I saw that you shared the kernels, sat sweating on the couch with moving boxes in front of me, and smiled. Hehe...

It's not the problem that somebody shares his own repacks or a fix with my files included. I saw there are kernels with pre-included fixes. They are absolutely welcome. It's nice to see that other people can use it. I'm the last person on this earth who would be angry about that, because I think that things are more easy and effective if some devs work together and share their knowledge. That's the reason why I shared my knowledge and things i noticed, on the thread about the long way to the fix. Also I shared instructions to include it in other kernels.

What really sucks is that I invested tons of hours for a new fix for other devices... I worked together with testers and made a lot of tests over weeks and f*** my brain with that. I sat on my desktop for nights to get a fix for other devices, which I don't own... Only to make other users happy. I gave my test fixes to testers and explicitly said "Please, don't share the files." because they were only for testing. And then there comes up a fix for the XZ1/XZ1c which was out of my test files. The included "update-binary" contains the hint that it was an unofficial pack. The files are identical and the included "secd" is 1:1 patched (my hack). So... What really pisses me off is the fact, that they shared my invested time without my knowledge and another user comes up with that. It would be absolutely enough to ask me if another user can have the files.

In the fix is a library from tobias.waldvogel (old drmfix) which I included. I personally tried to contact him over different ways, to get his "okay". He is not active and I didn't got an answer for a long time, so I decided to include it and mention him and his work. But the difference is, it was a public file, not a unofficial fix sent via pm. You know what I mean?

And... Because there was somebody who said I do it for the money... Haha...

Dude... That's bull****. I'm shareholder and director of 3 companies. I'm not rich, but I'm also not greedy. There were some users that said to me "I would share the fix only for payment." but that's not my intention. I got donations, yes and that's really nice. Because I use it not only for pizza. For example: I got donations for the manual instructions and files and then I took the money and bought a license for the framework that I used to develop XperiFIX. A software that is free to all and for sure I would not need. If I would do it for the money, I would create a runtime fix with closed source and serials.

And...

I didn't say "There will be no update for the rest of my life". But right now I'm just pissed off. That's why I'm now mainly concerned with private and business. I make updates when I have time or I get bored.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
yes bro you are right.

i saw and read about xz1c/xz1 in others thread.

you are a good man

all know that you are the man who ****ed sony and did the fix.

hope to have many future update.

have a good time and save our phone
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
I had the same issue, I think its the the (hide) VoLTE overlay (somehow), I deleted it and now its fine. I dont know if you are using it or not but it worked for me.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
I didn't add anything for my phone overlay.

I will check if i delete any overlay and works.

Can you please send a screenshot for your overlay files
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thats system/vendor/overlay. The framework-res overlay is a navbar size overlay.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Same . I will try to find any solution
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
there is already a fix for the 47.1.A.8.49-R4B version
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
where is it？
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

So I did it. Really perfectly prepared and documented, not a problem. The worst thing was to install wine to unpack the files from the XperiFIX binary :). After that, it was easy :).

- Unlocked BL.

- Copied kernel (flashable zip of 8.49 for G8141), drmfix and magisk (v15.2) to /sdcard.

- Fastbooted recovery.

- Entered recovery (surprised a bit that the VolDown must be held during power on. I'm used to look at LED and press VolDn when it starts to glow).

- Flashed kernel, magisk and drmfix.

- Wiped completely (it was empty after unlocking, so no harm).

- Rebooted

- Installed Magisk Manager

... and it was mostly all! Recovered the data from the backup and the phone seems to work normally.

Security test shows almost normal status except SOMC FIDO and Attest keys, which are NOT PROVISIONED now. What are these keys for ? I don't see any difference.

But I have a small problem: I wanted to modify build.prop and change build.type from user to userdebug. I did it manually by vi in recovery shell. But it causes bootloop! I tried to wipe cache/dalvik but no help. Still bootloop. When I used the same tools and returned build.prop to original state, it booted normally again. Why the system can't boot with userdebug build ? Is it just another kind of security check, or some general problem ? I need it to start Modem Selector app, which doesn't run in user build....

WIth regards, Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Did you try setting permissions to 644? I flashed a fix for screen mirroring (since unlocking the BL breaks screen mirroring) and also had a bootloop. Turns out I just had to set permissions for the build.prop to 644.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi

Unfortunately it's not my case. Even after changing perms to 644 (but on the untouched system it's 600) the modified build.prop bootlooped. After going back it revived again. Something prevents booting with userdebug build.

OK, so I need to utilize some alternative methods.

I need to patch or replace some files in the /oem directory. It's on the partition /dev/sda14. But even if I remount it r/w (successfully), it doesn't allow to make any changes on it (always Permission denied even for root). What's the problem ? selinux ? Shall I change it to permissive ?

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] shafiq01:
I think the build.prop is sort of symlinked or so to say, meaning you will also find same build.prop in both /system and /vendor and both places it shall be 0644 and is that the only change you need to do?

---------- Post added at 11:20 PM ---------- Previous post was at 11:17 PM ----------

And it can also be in /oem but here you will only rw access via twrp. So in twrp you can push the modified build.prop from /system to /oem and remember to chmod it afterwards via twrp again to 0644
[Sony Xperia XZ Premium Guides, News, & Discussion] angelica_kh:
Hiya folks,

Help me out here. First off does Magisk 15.2 work with 5.51? If so, do I just flash it in recovery? Will it affect the drmfix? And if it does, do I just flash the drmfix.zip again or do I go about doing the kernel then blah and blah?

Any help would be hella appreciated.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Buenos días Storm, ya tienes una nueva versión de XperiFIX

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

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

Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

It's normally working. I'm using 15.2 with 5.5.3 (the latest one) and no problem. Just flash Magisk and then reflash drmzip and that's all. Verified and working.

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
After changing your build.prop try the following (root shell) :

chown root:root /system/build.prop

chcon u:object_r:system_file:s0 /system/build.prop

chmod 0600 /system/build.prop

Does it work?
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

It doesn't work, because the context and permissions are already OK:

G8141:/system # ls -lZ build.prop
-rw------- 1 root root u:object_r:system_file:s0 14347 1970-03-26 12:49 build.prop

so it's not necessary to enter it again.

But I already solved my problem - I found and copied (from XZ1, because XZP is not customized for my carrier) proper overlays onto /oem/overlay (in recovery) and now the phone correctly recognizes my carrier and enables Vo* features :).

I don't need to change build.props anymore.

But a supplementary question appeared: Is the /oem partition included in the TWRP backup of "system" ? I'm afraid that it isn't because it's not writing anything about mounting/umounting /oem... In such a case, I'll do it manually by plain tar because I want to have backup of my changes.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
That's strange, had no such problems. Did you change the file on your device or on pc? Maybe a file format problem. Hm...

You could do a backup and unpack it on your pc to check it.
[Sony Xperia XZ Premium Guides, News, & Discussion] angelica_kh:
Just to be a 100% sure, you're on 47.1.A.5.51 firmware version correct?
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
I checked it: the problem is not with the fact that the file was edited (directly on the phone using vi in recovery) but that the build type is changed to userdebug. I edited another unimportant thing and the system booted normally. So, probably some fundamental app is crashing here in userdebug mode, causing the bootloop.

Pavel

EDIT: I forgot to write that the bootloop is very quick: SONY logo, then Powered by Android, then XPERIA, and exactly in the moment when customized (carrier) boot animation would start, black display and repeat.
[Sony Xperia XZ Premium Guides, News, & Discussion] VeixES:
patrol-cz, i know what are you trying to achieve with the buildtype=userdebug. I did that on XZ with 7.1.1 to get CustomizationSelector to launch. But with 8.0 on XZ, userdebug set the CustomizationSelector does not launch(flashes quickly and then dissappears). Same happened to my friend who has XZp, the CustomizationSelector is not launching. He had same bootloops also. If you want the amss_fsg_maple_telekom_czech_volte_vowifi_tar.mbn to load then one option is just to rename it to amss_fsg_maple_tar.mbn and replace the default one. Then do couple of changes SIM changes and it should load the modem config from it.

Also for anyone who does not have carrier specific configuration loaded, can rename the amss_fsg_maple_euro_dl256qam_ul64qam_tar.mbn to amss_fsg_maple_tar.mbn in /etc/customization/modem. Then do couple of sim swaps(let it optimize the netowork configuration of whatever) and then you can enjoy slightly faster LTE speeds if your provider supports DL256QAM and UL64QAM. Does not hurt if the operator does not.
[Sony Xperia XZ Premium Guides, News, & Discussion] Kanoe:
Anybody having problems with camera after upgrading to latest magisk ? G8142 running Oreo 47.1.A.5.51 + drmfix:

...

[12536.532042] type=1400 audit(1515692251.086:5996): avc: denied { read } for pid=7014 comm="CameraAccess" name="u:object_r:camera_prop:s0" dev="tmpfs" ino=9770 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0 ppid=2682 pcomm="main" pgid=7014 pgcomm=".android.camera"

...

cat /sys/fs/selinux/enforce

1

...

01-11 19:37:31.812 863 7131 E cald : 12537241184276 excal_focus_stats_conv.cpp (974) 7131 E [EXC] [COMP] [FocusStatsConv 020] Function failed. r = -101

01-11 19:37:31.812 863 7124 E cald : 12537241414848 excal_prc_image_conv.cpp (185) 7124 E [EXC] [COMP] [PrcImageConv 027] Ckb apply fail

01-11 19:37:31.815 21462 21485 E linker : package com.sonyericsson.album: library "/system/lib64/libiddjni.so" ("/system/lib64/libiddjni.so") needed or dlopened by "/system/lib64/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="/data/app/com.sonyericsson.album-ugUNnG4-1IG8BkIg-82oFA==/lib/arm64:/data/app/com.sonyericsson.album-ugUNnG4-1IG8BkIg-82oFA==/base.apk!/lib/arm64-v8a", permitted_paths="/data:/mnt/expand:/data/data/com.sonyericsson.album"]

01-11 19:37:31.819 21462 21485 D IddJniLib: Failed to load libiddjni - go fallback to Java HIDL

...

01-11 19:37:31.732 2703 2703 E CredMgrCore: CredMgr_HashIdentities() ended. result 3 - CREDMGR_RESULT_INVALID_INPUT_PARAMETER

01-11 19:37:31.732 2703 2703 E CredMgrCore: CredMgr_GetCredential() ended. result 3 - CREDMGR_RESULT_INVALID_INPUT_PARAMETER

01-11 19:37:31.732 2703 2703 E secd : GetCredential() ended. result 3 - CREDMGR_RESULT_INVALID_INPUT_PARAMETER

01-11 19:37:31.732 2703 2703 E secd : secd_backend_credential_manager.cpp:190 GetCredential failed with error 3

01-11 19:37:31.732 2703 2703 E secd : secd_backend_credential_manager.cpp:204 do_backend_credmgr_get_credential() ended. result 7 - DEPENDANCY_ERROR

01-11 19:37:31.732 2703 2703 E secd : secd_idd.cpp:26 message 202 failed, error code 7

01-11 19:37:31.732 2703 2703 E secd : secd_idd.cpp:27 routine credential_manager, caller /vendor/bin/hw/vendor.somc.hardware.camera.provider@1.0-service

...

---------- Post added at 06:18 PM ---------- Previous post was at 06:05 PM ----------

Forgot to say: yes I've tried to re-flash the drmpatch.zip from the TWRP. Camera still do not work.
[Sony Xperia XZ Premium Guides, News, & Discussion] Doom Slayer:
[MENTION=7275275]Kanoe[/MENTION],

As I understood correctly some working has been done to stabilize Magisk 15.2 only for 8.49.

So you have two options: either downgrade magisk to 14.5 or update your rom and install fix for 8.49.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Good afternoon Storm, I fixed the problem of the green camera of my Sony XZ premium G8142, with the XperiFIX solution you made. Updating the rom to 8.29 of oreo damage the camera arrangements that were made in the versión 5.51 ?

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

Thank you

---------- Post added at 10:07 PM ---------- Previous post was at 10:06 PM ----------

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

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

Thank you

---------- Post added at 10:30 PM ---------- Previous post was at 10:07 PM ----------

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

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

Thank you
[Sony Xperia XZ Premium Guides, News, & Discussion] Kanoe:
Got it, updated, checked. Confirmed - camera works at 8.49 and latest magisk. Thanks !
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
No, I'm on 47.1.A.8.49. But the drmfix is the same, just kernel image is different, and I believe it doesn't change anything.

EDIT: Oh, sorry for misinformation. Now I read that it didn't work with 5.51. I didn't know it, I started diretly on 8.49 and I believed that the culprit is in the drmfix and 'cause it's the same that it will work as well. Sorry again.

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
Does the fix for the 47.1.A.8.49. Version?
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

Magisk 15.3 is available. Is it tested and compliant with our kernel / drmpatch ?

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Working fine with 8.49 kernel

Also safety net and magisk hide works fine

Also camera is fine (drm fix are fine)

And for 5.51 didn't test
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
[MENTION=8363210]sToRm//[/MENTION]

Have you looked into the Amazon video stuff I mentioned earlier at all?
[Sony Xperia XZ Premium Guides, News, & Discussion] sfex3best:
Is anyone working on this 120hz rumour thing I heard? Saw just yesterday that the xz premium screen is capable of 120hz is it true and has any Dev looked into it yet?
[Sony Xperia XZ Premium Guides, News, & Discussion] Doom Slayer:
With magisk 15.3 I started to have random reboots.

Gonna try to reflash drm and wipe cache.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
How did you install it ? Using the Manager or manually in the recovery ? I let the Manager only to download it and then went to recovery and flashed it and drmfix immediately. Not wiping anything. After that, the system works for 6 hours of frequent usage, still without a reboot. But the time is still short to take a conclusion...

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] SyLvEsTeR20007:
Bump!

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

Bump
[Sony Xperia XZ Premium Guides, News, & Discussion] Doom Slayer:
I updated via direct install. Worked well well previously without even reinstalling drmfix (since it didn't go anywhere :D).

I guess in my case wiping cache would be enough, but I did it just in case.
[Sony Xperia XZ Premium Guides, News, & Discussion] muhschaf:
nvm
[Sony Xperia XZ Premium Guides, News, & Discussion] bigb159:
Yes, I am having the very same issue. Tap to focus and camera trigger simply do nothing. Update to newest version of magisk did not help. Can someone direct me to the 14.5 download? Can't find it anywhere.
[Sony Xperia XZ Premium Guides, News, & Discussion] aprilthemoo:
It looks like Amazon Video might actually use those Widevine keys that are now lost.

130|G8141:/ $ logcat | grep Widevine

01-13 00:10:56.506 24534 26002 W AmazonVideo: Warning: Reverting to PlayReady as Widevine is not supported on: VISUAL_ON

I'm not sure if a bypass will be available. Might need to stick to VLC for 4K HDR content.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Help

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

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

Thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] aotalorav1966:
Good afternoon Storm, I fixed the problem of the green camera of my Sony XZ premium G8142, with the XperiFIX solution you made. Updating the rom to 8.49 damage the camera arrangements that were made in the versión 5.51 ?

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

Thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi!

IT's necessary to flash a different kernel for 8.49. The download link and instructions are in the post #1005 of this thread.

Regards, Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] tolol:
kernel+magisk+drm
[Sony Xperia XZ Premium Guides, News, & Discussion] derjaeger:
It looks like that spectre patch for XZP is getting closer, Sony just patched XA1:

http://community.vodafone.ie/t5/And...-with-Spectre-and-Meltdown-patches/m-p/214787
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Follow instructions of [MENTION=4675598]shoey63[/MENTION]

- update to 47.1.A.8.49 (use xperifirm to download rom, and flash with new flasher)

- copy the zip below 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.

Kernel Dual sim:

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

Kernel Single sim:

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

Good luck :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] motg300105:
I still can not make the mirror screen work, apparently the modification of the build.prop and the wfdconfig does not work in oreo. Someone who has solved it? I have a G8141 with version 47.1.A.8.49

Enviado desde mi G8141 mediante Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
I did all this but i keep getting update available when already on latest 49

---------- Post added at 11:31 PM ---------- Previous post was at 11:11 PM ----------

Also no magisk rooted get Warrety time device above screen
[Sony Xperia XZ Premium Guides, News, & Discussion] Shellyaffff:
Can I just normal root be much easier dint need special modules don't use just need root
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
[MENTION=8363210]sToRm//[/MENTION]

Pizza on its way

Confirmation number: 6DV31369C3986691S.

You give up your free time to solving problems for us, constantly hounded for new realeases and new versions, occasionaly not even given the kudos for your toil.

We want you to know that you are very much apreciated, please keep up the good work.

Thanks again for all your effort in making our phones super.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Search and you will find the answer you desire
[Sony Xperia XZ Premium Guides, News, & Discussion] Sasafrass:
Thanks!
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
new firmware 47.1.A.12.34

january patch and others fix
[Sony Xperia XZ Premium Guides, News, & Discussion] jianlin3062:
Have a look every day, // sToRm have not been updated
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
This is because some prick thief stole all the work he made without permission and took credit for it!

How would you feel if that happened to you? Storm spent hours and weeks of his spare time making this hack possible and his work was stolen and used elsewhere. How do you want him to feel?

There is always some [MENTION=7982030]ssho[/MENTION]le who has to f**k things up and we all suffer for it, unfortunately.

Thinking about it, should storm never have shared his work in the first place, there is a very strong chance we would still have no root, no DRM restoration, recovery, nothing.

So bless Storm for his efforts here. He was the only one who made this possible, no one else was able to do so.
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
Link to where it was stolen, are you talking about the new kernel that was released by another user in this thread for the newest oreo build?
[Sony Xperia XZ Premium Guides, News, & Discussion] Didgesteve:
Link to where it was stolen
[Sony Xperia XZ Premium Guides, News, & Discussion] avi312singh:
lol
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
Yes, the hard work of sToRm was taken and used without his permission. Clearly a cheap shot...
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Update will be available the next days. Some fixes, some new stuff.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Thank you bro.

You are the best
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Then you did something wrong. It does not matter what it says after _ as long as the fw is version 137.

Any 45.0.A.7.137 will work because it's all the same.