yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] AlexSkiff:
When it to do?

Sorry, when it to do? After you flash Oreo fw?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I will check the problems with TWRP. Maybe there is way to get a stable config. The problem here is TWRP itself, not XperiFIX. Hmmmm...
[Sony Xperia XZ Premium Guides, News, & Discussion] Saadkhalid786:
Thank you. Oreo heats up for me i tried everything but no luck. so if i can achieve root then i will uninstall all useless system apps to see if heating is fixed otherwise back to nougat.

BTW, xperifix window not responding while booting in recovery status is normal?
[Sony Xperia XZ Premium Guides, News, & Discussion] whoosename:
Yes, after flash Oreo before using XperiFIX

---------- Post added at 11:22 PM ---------- Previous post was at 11:02 PM ----------

@sToRm// I managed to use your fix on Oreo with two devices (G8141) comming from Nougat with your fix for Nougat. Both devices running like a charm camera ok (didn't test much right now).

Thank you for your amazing work.

Here you are:	0GD5022969921360B
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
I had nougat before, and the manual method worked without issue since TWRP was fully functional. After installing Oreo, TWRP was no longer responsive to screen input, and required the ADB connection to install the fix, which was accomplished by XperiFix after the boot-up security was disabled.
[Sony Xperia XZ Premium Guides, News, & Discussion] noobsforlife:
void warrenty notification

anyone know how to get rid of the warranty notification that appears after root?
[Sony Xperia XZ Premium Guides, News, & Discussion] cdnutter:
That cannot be removed. It is a new policy by Google after Marshmellow came out.

---------- Post added at 03:34 PM ---------- Previous post was at 03:32 PM ----------

There was someone earlier in this thread that had Oreo and didn't have problems with TWRP. Is it a problem for certain devices (Dual Sim/Single Sim) or is it just an error converting TWRP to Oreo? Cause you mentioned you converted TWRP yourself.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
In G8141_Customized DE_1308-5289_47.1.A.3.254_R4B firmware i found the following line in default.prop of the stock kernel ramdisk:

ro.oem_unlock_supported=true

I don't know if it works, but you could try to flash the kernel.sin of this firmware and try to unlock the bootloader then?

I checked the Nougat kernel ramdisk and there is no such line. Maybe Sony changed the unlock option for some firmware configs.

Have no idea... Hahaha...
[Sony Xperia XZ Premium Guides, News, & Discussion] oneheart:
for the source code of twrp 3.1.1.0 is base to AOSP 7.1.2, maybe! here link https://twrp.me/site/update/2017/05/19/twrp-3.1.1-0-released.html
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Updated XperiFIX

- Included new patched TWRP for Oreo (still no working touch, but more stable)

- Bugs on G8142 should be solved now

- Updated ADB & Fastboot (new AndroidLib build)
[Sony Xperia XZ Premium Guides, News, & Discussion] noobsforlife:
Does expirifix have an auto update or will we have to redownload from the link
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Update: WORKING TWRP for XZ Premium Oreo :)

Wohooo... I did it! :cowboy::laugh:

XperiFIX - Update:

- We have a working TWRP with WORKING TOUCH for Oreo now! Wohooo...

- Some bugs fixed

XperiFIX installer is updated. Just download it again and use it like you did before.

After XperiFIX your TWRP works with Volume(-) + Power like on Nougat.

I'm fu*** tired now, but have to go to work in 2 hours for the rest of the day.

Was a long night, but okay it had a reason.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Wow wow and wow

Wohaaa

You did it bro

Thank you genius.

I am going work now and will try when i return home

A big tanks
[Sony Xperia XZ Premium Guides, News, & Discussion] gregbradley:
Thread temporarily closed for non English post clean up

OK, I have just deleted 33 posts that were not in English or were posts talking about non English posts.

Let me remind you of the rules

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).

I have deleted the non English posts as I am not going to spend several hours translating them myself. It does not matter if your English is not good, you can always use google translate, I did in this post as my German is terrible.

OK, ich habe gerade 33 Beiträge gelöscht, die nicht auf Englisch waren oder Beiträge über nicht englischsprachige Beiträge besprachen.

Lass mich dich an die Regeln erinnern

4. Verwenden Sie die englische Sprache.

Wir verstehen, dass bei all den verschiedenen Nationalitäten nicht jeder gut Englisch spricht, aber bitte versuchen Sie es. Wenn Sie wirklich nicht auf Englisch posten können, verwenden Sie einen Online-Übersetzer. Sie können Ihre Originalnachricht in Ihrer eigenen Sprache unter der englischen Übersetzung einfügen. (Diese Regel umfasst Ihre Posts, Profileinträge und Unterschriften).

Ich habe die nicht englischen Beiträge gelöscht, da ich nicht mehrere Stunden damit verbringe, sie selbst zu übersetzen. Es spielt keine Rolle, ob Ihr Englisch nicht gut ist, Sie können immer google translate verwenden, ich habe in diesem Beitrag getan, da mein Deutsch schrecklich ist.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Thank you [MENTION=3843529]gregbradley[/MENTION]

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

@sToRm//

Uninstalling old fix on my pc

Installing the latest version

Twrp works fine now with my xzp dual

The small problem not fixed is the tof sensor still -1

Some time twrp touch stop after locking screen when using but lock and unlock the device solvethe problem

Thank u
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
Hey, ive tested the Fix, but i had a wrong Version of Oreo installed.

Problem is: Bootloop with "Not Trust / Open Bootloader" Warning.

I have flashed with "Emma" , so phone works again, but i want get my camera back.

I want to Flash my 8141 with NewFlasher. Any solution where i can find a 7.11 or 8.00 fw, which is working / matching with the XperiFix?

Thanks Anyway
[Sony Xperia XZ Premium Guides, News, & Discussion] AlexSkiff:
Thank you so much! But few quetsions

Yes you do it!!! You are Super!! Thank you so much!! TWRP work good, but camera not work. Device G8142.
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
What is your problem in camera?

Try to reintall the fix.

MODEDIT by [MENTION=3843529]gregbradley[/MENTION]

Rule 6

6. Do not post or request warez.

If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit members to request, post, promote or describe ways in which warez, cracks, serial codes or other means of avoiding payment, can be obtained or used. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.
[Sony Xperia XZ Premium Guides, News, & Discussion] Charos87:
For those having certain issues whilst flashing, try uninstalling your current drivers and install the Google drivers and then manually set the Google driver once in fastboot via device manager. It helped fix all sorts of bootloops for me!
[Sony Xperia XZ Premium Guides, News, & Discussion] will0n:
xperiFIX stuck in booting the recovery for very long time and I've tried to replug usb cable (no restart) but noting happened, what should I do?

Update:

I unpluged usb cable and rebooted. Then turned off the phone and repluged cable with holding volumeup. Status bar went forward but DRM is not fixed after rebooting. I tried xperiFIX the second time, and xperiFIX stuck in booting the recovery again.

The replug trick cannot make PC recognize the adb device. My xzp is on Oreo. Any suggestion? [MENTION=8363210]sToRm//[/MENTION]

I've found that the phone model is G8142 but customization version in software info is R4B. Does that matter?

I didn't notice that XperiFIX is updated today (I downloaded it yesterday). I'm going to try the new version.

Update:

The new version works fine. Thank you for your work!
[Sony Xperia XZ Premium Guides, News, & Discussion] alexander1995:
Hi, Storm. The Oreo's new version 47.1.A.5.51 is out. Hope you could make a fix for it
[Sony Xperia XZ Premium Guides, News, & Discussion] ryanz999:
has anyone managed to get busybox up and running cant install from the store app and magisk module causes boot loop?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
ok

i got the msg

i am sorry about what i discuss

---------- Post added at 01:19 PM ---------- Previous post was at 01:05 PM ----------

november security

and rgb anf tof sensor works now
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
I will check it ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Please read the instructions carefully. You should replug while TWRP is running, not reboot to fastboot. New version of XperiFIX should work better, but wait about 2+ minutes if it stucks in booting recovery.
[Sony Xperia XZ Premium Guides, News, & Discussion] will0n:
The new version works with no problem, thanks for your reply:)

I think the update info is better included in OP too.
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
Hey guys. I've been following this thread for a while and I'm tempted to unlock my phone. I'm just really happy wit the phone as it is and I'm not sure if it is worth losing my keys and have the hassle of no more OTA updates. What is everybody doing with their root access? Honestly the only two things I miss from my HTC One M8 that was rooted are Titanium Backup and CF.lumen. Not sure what else I would to with root at the moment.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
It's 100% worth it and then some but then again I never cared about the camera so now that there's a fix for it there's literally no reason not to unlock/root.

Flashing an updated fw takes a few mins and it's not like they release everyday so I don't consider that an issue.

With amazing apps like Titanium Backup you can simply backup your whole system/userapps+data in a few mins and restore just as quick.

I'm using Magisk + modules, Xposed + moduels. There's just so much you can do with root. You can simply customize your phone 100% the way you want it in any way.

Want something? Add it! Want to remove? Simply remove it.

Either yourself or with apps/modules.

Not to mention, an 100% adfree experience both in browsers/apps/youtube/twitch.

It's amazing.
[Sony Xperia XZ Premium Guides, News, & Discussion] will0n:
Maybe another noob question but I can't find anything about it in OP: after the fix is done, the system is not rooted. Can I install magisk with magiskmanager manually?

flash magisk in twrp and it works fine:fingers-crossed:
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Did it again ;)

Whooop https://www.youtube.com/watch?v=r-bVvnCxqp4

++++ XperiFIX Update: +++++++++++++++++++++++++++

Now we can update our device to...

- Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R4B

- Model: G8142 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R2B

Just download the current version of XperiFIX (link in first post) and install it. Then use XperiFIX as you did before ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
Dude! Driving me crazy! Making me want to destroy those DRM keys! :D
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
The working TWRP on Oreo is amazing! You are amazing!

FYI, when the Secure Start-up is enabled (under Lock Screen and Security/Screen Lock/PIN) (Oreo 3.254 on G8142), the script gets stuck on "Get that root bit" while TWRP was waiting on input for "Keep system read-only". Disabling Secure Start-up fixes this. Worth putting in the FAQ I think.

ps. Another donation sent! Thanks for your efforts
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You can use Xperifirm to download the latest firmware for your device. Install it with Newflasher then. You can delete the userdata.sin file in the firmware folder to keep your apps and settings. But it's recommended to do a clean full install (Backup your files before).
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
How to disable secure start-up

I didn't find it

Btw latest fix works fine
[Sony Xperia XZ Premium Guides, News, & Discussion] atl001:
Secure startup is under Settings/Lock screen & security/Screen lock/PIN, it asks if you want to require your PIN before start-up. Answer "no"
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
It's only if you have a pin that locks the phone.

If you have, disable it.
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
I have this Problem:

After i use XperiFIX @ 47.1.A.5.51_R4B, the Phone Reboots into the Recovery , all fine.

But then, it stucks ... in Windows Hardware List i have seen the Phone is now !ADB Interface without Driver :(

My PC Cannot Found and Install ADB Drivers after restart into recovery ....

any Solution?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Did you wait a few minutes while in TWRP? Windows needs some time to recognize the device right.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
So there is a small OTA update out. Do I have to use newsflasher all the time now or is there a more convinient way for OTA updates?
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You need to use NewFlasher for all updates.

You can simply flash kernel.sin, system.sin, modem.sin if you want a quick flash without losing data.
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
Yes, 5 minutes.... I have hard reset the Phone again and now i test it again.... The Same :( now.... Windows have found an ADB Interface , but without drivers again.... and the Blue LED is off.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Ah okay. So I simply only put system.sin into the folder with the newsflasher exe and execute it?

Also last time I did that, the phone encryption broke. Can I somehow "unencrypt" android?
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
[IMG="Screen"]https://imgur.com/a/IjBrN[/IMG]

imgur.com/a/IjBrN
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
You can either remove everything so you only have kernel, system, modem left or move these to a new folder.

The failed decryption should NOT happen if you remove all .ta and some .sin files.

So that's why I flash as few files as possible.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Ah! I'll try that (AFTER I performaed a full Titanium Backup :P)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Unplug your phone. Download and install the right ADB drivers for your device. Go into fastboot mode again and start XperiFIX.
[Sony Xperia XZ Premium Guides, News, & Discussion] AlexSkiff:
Sorry please

Dear Developer, I apologize if something offended someone. By the way, I made 2 PayPal money transfers in this thread. You do very cool things and I'm grateful for that!
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
I´ve installed the Drivers from Sony. Fastboot drivers are fine until reboot into recovery, thats the Problem.... Do You have orther Drivers for G8141?
[Sony Xperia XZ Premium Guides, News, & Discussion] kanej2006:
@ sToRm, just wanted to say I flashed the latest Xperia fix on my XZ Premium G8142 Dual Sim, there were no issues or freezing at all whilst the setup took place, flashed smoothly without any problem.

- TWRP is fully working. It did not freeze as it did previously and the touchscreen is working just fine.

- Camera is working fine, even at iso 400 no green issue or anything else.

- DRM fix is working - All Sony enhancements fully working, screen, camera, etc.

- Magisk is working as normal - Fully rooted.

Well done, bravo!!
[Sony Xperia XZ Premium Guides, News, & Discussion] derART:
Well done!

Works Perfectly with the Latest XperiaFIX -> Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R4B

My Problem was, thats windows has killed the ADB Drivers after the phone reboots in Recovery. In Hardware Manager i have installed them then manually again and whooop XperiFIX runs again :)

THX sToRm for Help !!!!
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
When you boot into recovery and then go into device manager, are there any yellow triangles?

If there are right click and update drivers, browse for driver manually, pick from a list, select android, select ADB driver and install.

Oh, great.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
[MENTION=8004595]FartyParty[/MENTION] Oh and do I have to apply the patch again after OTA updating? (Since I flashed a new kernel?)
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Yes.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
I did so. I am now getting a bootloop at the animated Xperia Logo...

Flash OTA (system, modem, kernel) >Switched to Fastboot >XperiFix > TWRP > Flashed Magisk 14.5 (unofficial build) > bootloop at "Powered by android"

Reflashed OTA > Wanted to boot normally > "Your phone is being encrypted" > waited >bootloop at xperia logo
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
You should always flash the whole firmware, because it's possible Sony changed something there. Only system, modem and kernel is really dirty. You can delete userdata.sin file in the firmware folder, that's all you need. Unpack the partition.zip, too.

Just thinking... If you want to upgrade Windows, you sure don't want to just copy C:/Windows from the new version to the old drive, huh? ;) If you only flash system.sin it's almost the same. Not recommended.
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Just followed the advice of [MENTION=8004595]FartyParty[/MENTION] :<

Last time I flashed everything (except userdata.sin) the encryption of the phone broke and I had to factory reset. I don't really want to do that every time I flash a small OTA update.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Can you try what happens if you don't flash Magisk 14.5? So what happens if you use XperiFIX only?
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
Well my second attempt was to just flash the new firmware without even using XperiFix

Edit: Flashed everything except userdata and applied XperiFix, now it's asking for my password but the one I used is "wrong" now... >_< Looks like another factory reset....

Edit2: Great now even TWRP is asking for a password now.

Edit3: Factory reset helped. How can I prevent this from happened again on the next update?
[Sony Xperia XZ Premium Guides, News, & Discussion] ponytojas:
Just to say, I update with newflasher (full also userdata), before to boot I use xperiaFirm and device don't encrypted itself
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Because my patched kernel has the encryptable option instead of force encrypt :)
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
After a clean firmware flash, just use XperiFIX directly, without booting the new installed firmware. It has a patched kernel with option "encryptable" in fstab instead of force encrypt. For me it works like a charme. Updated without userdata.sin and everything works perfect for me.
[Sony Xperia XZ Premium Guides, News, & Discussion] alexander1995:
Thanks! It fixed the ToF and RGBIC Sensors~
[Sony Xperia XZ Premium Guides, News, & Discussion] xshunin:
I'll check it next time then.
[Sony Xperia XZ Premium Guides, News, & Discussion] RS7Quattro:
Guys I have a system Update available... I
[Sony Xperia XZ Premium Guides, News, & Discussion] Saadkhalid786:
[MENTION=236992]Storm[/MENTION] good day brother!

do you have the nougat firmware customized for SA? i really need it because it fixes touch misses 90%

thank you.
[Sony Xperia XZ Premium Guides, News, & Discussion] MKIXperia:
https://xdaforums.com/showpost.php?p=74459322&postcount=494
[Sony Xperia XZ Premium Guides, News, & Discussion] Kanoe:
- Do the DATA backup with TWRP at previous version

- update as usual with newflasher

- XperaFIX device

- boot to TWRP, restore DATA

- reboot, then - adb shell; su; locksettings clear

- set the locksettings again
[Sony Xperia XZ Premium Guides, News, & Discussion] Emiliano7774:
Help!! My pc don't recognize the phone in fastboot mode, and the only way to install all files is through twrp, [MENTION=236992]Storm[/MENTION], you can give me the drmfix for the oreo .256 and the tool to root apart? ((as separate files)) Thanks, good work and cheers of argentina.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Just download the right drivers. You could install Sony Emma which has all needed drivers included. After that your PC should recognize your phone.
[Sony Xperia XZ Premium Guides, News, & Discussion] Emiliano7774:
I will try. Thx.
[Sony Xperia XZ Premium Guides, News, & Discussion] onkelfeix:
Damn , after flashing the updated firmware I got to "type your android password". Looks like I'd better removed the fingerprints and pin before flashing :)

Anyway thanks for updating.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
This has nothing to do with your stuff.

It's just as simple as this, if you flash everything you get failed decryption, if you remove .ta files + most .sin it works just fine.

This has been a thing since the release of the phone. I don't know exactly which files causes the failed decryption so I only flash the most critical ones.

I'm not sure if you read the whole discussion I had in the NewFlasher thread.

But it's like we've said, either do:

Quick and still have data.

Do full and lose data but backup before with TB.

Of course it would be nice if we could figure out the culprit.
[Sony Xperia XZ Premium Guides, News, & Discussion] noobsforlife:
So is there a reason why the patched kernel rejects busboy?

---------- Post added at 11:46 PM ---------- Previous post was at 11:15 PM ----------

Busy box
[Sony Xperia XZ Premium Guides, News, & Discussion] Emiliano7774:
Bro, sorry but the emma wasn't help me. Xperifix only makes the function of enter me in twrp and is stucked in "booting recovery" the only way left's is have the files apart and flash trhoug twrp one by one. Is the only way whats left me. Can leave me the files separately? I really want make this. In argentina buy other phone as xz premium costs me all around of 1400 dollars
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
The kernel doesn't do that. Magisk has it's own busybox. Copy /data/magisk/busybox to /system/xbin/ and you have busybox for apps that are using standard paths.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Take a look at the XperiFIX folder. There are all needed files. Flash the recovery and kernel with fastboot, and then flash Magisk and DRMpatch with TWRP. If you are on current Oreo version, the folder is Oreo2.
[Sony Xperia XZ Premium Guides, News, & Discussion] pbarrette:
And this is why I recommend you have a look at AnyKernel2.
[Sony Xperia XZ Premium Guides, News, & Discussion] noobsforlife:
You can't download busy box. If you try going through Magisk it breaks root and you end up in a boot loop. If you try and manually install it when you reboot the system deletes it
[Sony Xperia XZ Premium Guides, News, & Discussion] weso565:
how could i get a new firmware flash, after i am rooted the phone on oreo Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.3.254_R4B? My phone says i could not change the oem lock, in the blue position :(
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Works fine for me and after a reboot it's still fine