yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium Guides, News, & Discussion] YasuHamed:
EDIT

already got reply from sir [MENTION=8363210]sToRm//[/MENTION]

Dear sir [MENTION=8363210]sToRm//[/MENTION]

i have XZ F8522 and oreo kernel is not supported by tobias fix

is there any other thing i can do to have that sort of result for oreo kernel

---------- Post added at 07:44 AM ---------- Previous post was at 07:17 AM ----------

there has been a modfied script based on sir Tobias by [MENTION=3989065]serajr[/MENTION]

https://xdaforums.com/showpost.php?p=71175804&postcount=2236

with [MENTION=4120742]munjeni[/MENTION] TOC (if you have TA.img)

this script has support for XZ , and X and working PERFECT for android 6 and 7

now the only issue is that if this script has support for OREO kernel it can do the magic

when XZP was on 7.1.1, i made its sin kernel to img file (using unsinv1.6) and accpt the DRM thing, this script did patch the kernel for everything else.

I have X and XZ and OREO is out but i am not updating because I cant have root access :(

i wish this script has update by [MENTION=3989065]serajr[/MENTION] and sir [MENTION=357342]tobias.waldvogel[/MENTION] adding support for OREO kernels
[Sony Xperia XZ Premium Guides, News, & Discussion] Pandemic:
eagerly waiting to root my XZs on oreo with this masterpiece ^^

Verstuurd vanaf mijn G8231 met Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] 4rz0:
Wait, the angela method works on the XZ1(c)?

Could you describe, ideally in a new thread, how that works?
[Sony Xperia XZ Premium Guides, News, & Discussion] shafiq01:
Sorry i compare now between OP5T and XZ1C and it is not rooted, so Angela - No Go!

it was just a funny idea, while my head was boiling last night

sorry for giving any false hopes, it was just mee to eager to achieve root
[Sony Xperia XZ Premium Guides, News, & Discussion] Patrck744:
Storm,

Would it be possible to add a new I/O scheduler like SmartAss V2, FIOPS, Zen v2 and Westwood+ TCP on your planned kernel?

Thanks for the great work as always btw.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
No. I don't compile a kernel from sources. I just patch the stock kernel to get a working DRM fix.
[Sony Xperia XZ Premium Guides, News, & Discussion] juanpirulo:
coul be nice if you add to your tool the feature to include your own TA backup instead of drmfix, I dont know if this posible using poc method. cheers
[Sony Xperia XZ Premium Guides, News, & Discussion] leofungwai:
thanks a lot sToRm !!

work fine for me on xz premium with oreo ..

but i have a question .... possible to remove the ÿour device is unlocked and cant be trusted screen ?

thank again for your masterpiece
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
No.
[Sony Xperia XZ Premium Guides, News, & Discussion] jsbutran:
Please help. Im on widows 10 system. Not able to establish ADB interface connection with the device. Run Xperifix program and it always shows "No Device Connected". I have installed the mini adb with fastboot but some how not able to establish connection with the device. Tried all sort of available usb adb drivers but no luck. How to go about it. which driver to install. Can someone provide the driver and instructions please.
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
Should just work with the Google USB driver plus installation of ADB and fastboot
[Sony Xperia XZ Premium Guides, News, & Discussion] Pandemic:
I dunno if you know now already since you sit on xda but Flash another his TA back up will brick your device.. Every device have a different one and yes every device.!

Verstuurd vanaf mijn G8231 met Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] lebigmac:
Yes of course its possible.

Everything is possible.

In rooted Xperia XA this message disappeared after applying the crack. So it should be possible with XZ Premium as well.
[Sony Xperia XZ Premium Guides, News, & Discussion] juanpirulo:
Yes, i know i meant to add the option like in poc tool to include your own Ta backup img. Cheers

Enviado desde mi F8331 mediante Tapatalk
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
There is actually no way to backup TA. So it would be useless.
[Sony Xperia XZ Premium Guides, News, & Discussion] juanpirulo:
i meant for xperia xz users. I ve got allready my own ta backup, thats why i asked if is posible to make a tool like yours but with the option to include my own ta backup before used drm keys. cheers
[Sony Xperia XZ Premium Guides, News, & Discussion] PhonerX:
I second juanpirulo's suggestion. An option to include original TA would be more than great for us XZ users. Please implement it if possible.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Hi all,

I am sure this is a very dumb question but for the life of me I simply cannot figure out how to enter into flash mode so I can newflasher 47.1.A.5.51 seeing the default Volume down + power button would enter into TWRP mode.

Do I have to wipe out the entire boot or system so TWRP can be removed before I attempt volume down and power again or what are the correct steps to follow?

Thanks,

Brad
[Sony Xperia XZ Premium Guides, News, & Discussion] Mackay53:
While the phone is off hold the relevant volume key while plugging in the usb cable. Do not touch the power button when doing it
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Ah, Mate, that worked like a charm! Thank you! you are a life saver!
[Sony Xperia XZ Premium Guides, News, & Discussion] pergoteborg:
Sorry if I seems a NOOB

I would be damn thankful to be able to root my unlocked boatloader XZ1 Dual (G8342) with OREO 47.1.A.5.51 but I just cant find out how :(
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
Now I managed to flash 47.1.A.5.51 and wanting to XperiFIX it... (Volume up) and connect when XperiFIX is executed as System administrator, now it gives me Error - No Devices Connected. I have rebooted windows and it is the same. I have uninstalled XperiFIX as I had an old version and re-installed the new one and still the same. I had all the drivers installed in the past when running the older firmware... I simply cannot understand why I am getting this error again... (bootloader unlocked and everything and I double checked all the requirements) :confused:

---------- Post added at 07:45 PM ---------- Previous post was at 06:57 PM ----------

Never mind and this is why I hate Windows... I had to go into device manager to find a non working android device and re-install whatever ADB drivers ... This is the dumbest system I have ever seen! (Sorry, even though I have been using Windows for years and only recently found Linux (still a newbie) but Linux is just so much.. simpler!)
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
[MENTION=8363210]sToRm//[/MENTION] if you're gonna make a universal solution, maybe it's worth also having a thread in the crossdevice section?

Since this forum is about the XZP and not XZ, XZ1, XZ1C etc.

I mean, since people are unable to read and follow instructions.
[Sony Xperia XZ Premium Guides, News, & Discussion] chefboyct:
LOL... I had all the ADB drivers installed in the past.. and it was not even one month ago. And I didn't even think about going to check device manager seeing if it had shown unknown and error device. I have like 3 or 4 different copies of USB drivers for it. And the funniest thing is that it WOULDN'T allow me to select individual *.inf file and I had to choose some other options before it actually shows list of devices and I had to choose android to find the existing ADB drivers (which I installed in the past) so Windows can actually apply for it... That's all I am saying.. and sorry to say.. Linux nowadays are pretty much PNP
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Sounds like a user error to me. All you need is one, connect phone, install and never worry again.

Why don't you use Linux then? Oh you need Windows? Doesn't sound very PNP to me :good:
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
Nothing new till now for xz1
[Sony Xperia XZ Premium Guides, News, & Discussion] ApriliaM3:
Knock it off guys...

This is a development thread on a development forum.

People don't want to be alerted to new posts on a development thread and then find out it's just some random argument about Windows or Linux
[Sony Xperia XZ Premium Guides, News, & Discussion] Haru_:
Has anyone been able to verify this? It would be highly appreciated if I could know the answer to this before I decide to root this newly purchased phone of mine.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
As of right now you can disregard his post because no, it's not possible.
[Sony Xperia XZ Premium Guides, News, & Discussion] supermaus100:
When running XperiFIX, this error comes at the end. https://picload.org/view/drcwiala/screenshot39.png.html
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
[MENTION=236992]Storm[/MENTION] [MENTION=8004595]FartyParty[/MENTION]

New twrp relased yesterday.

3.2. Solved restore error

Xperia xz has the update but xz premium stil in 3.1.1
[Sony Xperia XZ Premium Guides, News, & Discussion] gokhanemir:
How can we add mirrorlink application? [MENTION=8363210]sToRm//[/MENTION]
[Sony Xperia XZ Premium Guides, News, & Discussion] blindman666:
Hello sToRm//,

I was able to achieve root on my xz1 compact with SuperSU, do you have a version of your drm fix to test, or can I help you testing your drm fix for xz1 comapct in any way?

Greetings

Blindman666
[Sony Xperia XZ Premium Guides, News, & Discussion] Omniscor:
Model: G8141 @ Android: 8.0.0 @ Build: 47.1.A.5.51_R4B

I would like to ask someone encountered a cell phone automatically restart every few hours

And how to solve it？

---------- Post added at 03:22 PM ---------- Previous post was at 03:16 PM ----------

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

I would like to ask someone encountered a cell phone automatically restart every few hours

And how to solve it？
[Sony Xperia XZ Premium Guides, News, & Discussion] fobtob387:
Are there any plans to add support for Model: G8141 @ Android: 7.1.1 @ Build 45.0.A.7.90?
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
new software 47.1.A.7.1 is comming bug fixed and december patch
[Sony Xperia XZ Premium Guides, News, & Discussion] VeixES:
It's not december security patch. Still november security

From XZ1 build.prop (attached)

ro.semc.version.fs_revision=47.1.A.7.1
ro.build.id=47.1.A.7.1
ro.build.display.id=47.1.A.7.1
...
ro.semc.product.model=G8341
ro.semc.ms_type_id=PM-1054-BV
ro.semc.version.fs=GENERIC
ro.semc.product.name=Xperia XZ1
ro.semc.product.device=G83
ro.product.model=G8341
...
ro.build.version.incremental=1
ro.build.version.sdk=26
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=8.0.0
ro.build.version.security_patch=2017-11-01
ro.build.version.base_os=
ro.build.type=user
ro.build.tags=dev-keys
ro.build.flavor=poplar-user
ro.product.brand=Sony
ro.product.name=poplar
ro.product.device=poplar
...
ro.treble.enabled=true
[Sony Xperia XZ Premium Guides, News, & Discussion] enricostella:
Hello [MENTION=8363210]sToRm//[/MENTION] , all

I'm a noob so don't laugh :P

quick (...) question regarding this fix, which is working like a charm until I had to install apps that doesn't like "root".

I would like to remove root privileges because some apps are not working well with.

I've uninstalled majisk but the problem is that since, there are "greenified" pictures again. Is there any workaround for keeping the camera working without root privileges?

Thanks a lot

Cheers

Enrico
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Why don't use Magisk hide function?
[Sony Xperia XZ Premium Guides, News, & Discussion] enricostella:
T H A N K S a lot!!!

indeed, easy like "Bonjour"

Many thanks again :)
[Sony Xperia XZ Premium Guides, News, & Discussion] iArvee:
Magisk prompts me to update. Is it safe to update? Though I just hid the notification.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Its just the manager app that needs updating, you can leave it or update it, up to you. I had to download from xda as it never updated from the notification.
[Sony Xperia XZ Premium Guides, News, & Discussion] schickel:
It's not related to this thread, but check your permissions for the manager app. Allow access to write to your phone and it will update it
[Sony Xperia XZ Premium Guides, News, & Discussion] msrowley:
I know it has been asked before, but I haven't yet found a way to make my windows 10 recognise the device in fast boot mode. have installed the google driver from android sdk, no luck. I have tried installing the drivers for the xz from the official sony website, no luck either. This is the first time I feel stuck with a device. Can please someone take the time and explain the exact steps that I have to follow in order to have a working driver? I already unlocked my bootloader. Thank you guys!
[Sony Xperia XZ Premium Guides, News, & Discussion] charlatan01:
It works. Be sure you use advanced restart in windows and allow for unsigned drivers to be installed (option 7 IIRC). Then the drivers should install.
[Sony Xperia XZ Premium Guides, News, & Discussion] fobtob387:
What should I do if XperiFIX is stuck at "booting the recovery" even after re-plugging the cable (no restart and in TWRP)?

Edit: Solved it by changing around the drivers in Windows.

Edit #2: ...and now my phone's stuck in a bootloop, yay :/

Edit #3: Running the tool again fixed it, I guess just setup your drivers before running the tool and not during it haha
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Is there any functional difference between this DRM fix and having the true DRM keys?
[Sony Xperia XZ Premium Guides, News, & Discussion] Hotfingers:
no
[Sony Xperia XZ Premium Guides, News, & Discussion] Ayit Boss Geez:
Do you get some sort of message on startup like "this bootloader is unlocked"?
[Sony Xperia XZ Premium Guides, News, & Discussion] 4rz0:
yes
[Sony Xperia XZ Premium Guides, News, & Discussion] Ayit Boss Geez:
is there any way to hide it for say if you were going to a repair center?
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
After installing it seems that Amazon Prime Video no longer provides 4K/HDR video, is anyone else experiencing this/know how to fix?
[Sony Xperia XZ Premium Guides, News, & Discussion] xvagosx:
Could any of you guys that have already unlocked-rooted their XZ Premiums try something?

I want you to test out the HDR+ enabled Google Camera port.

It requires that camera api2 is enabled, which is only done if you're rooted.

You need to edit the /system/build.prop file using a text editor and add the line "persist.camera.HAL3.enabled=1" (without the quotes) in the end.

This enables camera api2, and then you need to install any GCam port apk from this link.

Ideally, this apk, with these settings.

If anyone has the time and is willing to help by posting some samples, just let me know.

Thanks in advance! :D
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
googke camera works but @8mp

---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------

any one have it working @ full res 19 mp

---------- Post added at 08:11 PM ---------- Previous post was at 07:41 PM ----------

btw this app linked here is not working with xzp all time got fc . nkt opened [MENTION=535343]all[/MENTION]
[Sony Xperia XZ Premium Guides, News, & Discussion] N1ghtr08d:
Any chance we can see support coming for the Xperia XZ1 G8341 anytime soon? I know you're busy so we appreciate all the work you're doing but i desperately wanna have root but don't want to sacrifice my camera for root.

Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Camera API is limited on Sony devices. There is no HDR without or with root by using API. So... No... It doesn't work.
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
Actually I work on a fix for XZ1 Compact, but it's hard to get it. Because I don't own this device and can't debug or hook (live) functions. There are differences to XZP. The secd fix doesn't work actually. I will try to remote debug and crack it on a virtual machine with remote shell on a plugged XZ1c from an other XDA user. Hahaha... Crazy things will happen... Would be much easier if I had this device here.
[Sony Xperia XZ Premium Guides, News, & Discussion] xvagosx:
Thanks for the effort.

Two things:

1. I understand that Google Camera and all third party cameras are capped to 8mpixels. I am interested specifically about that APK I linked, which is the HDR+ enabled port.

2. After editing the build.prop, you need to restart the device, I forgot to mention that. That's why you got the fcs. If you could please try that, too, I'd really appreciate it.

So, please, after editing build.prop, restart, install linked APK, enable the linked settings, close app from Recents, and try taking a photo.

Thanks in advance!

One thing I'm wondering is how the camera and that edit work on AOSP. I'm still trying to understand if there is an "official" Sony AOSP and third-party AOSP for our XZ Premium. The only link I've found about AOSP is the one from Sony detailing how you can build AOSP yourself. Other than that, there are a couple AOSP-based (as far as I understand) ROMS in the Development subforum.

In Sony-based "vanilla" AOSP, the camera works at 8mp even in stock Google Camera?

My point is, the 19mixels only work on completely STOCK SONY ROMs? And, the unlocked-rooted stock rom will also have 8mpixels max in Stock Sony Camera app?

I'm really confused. Please bear with me. I know I could simply root and get my answers but I plan on reselling the device if GCam port with HDR+ does not work, so I want to avoid voiding the warranty for no reason.

Thanks again!
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
All 3rd party camera apps which are using the API aren't able to take pictures with more than 8MP (back). The API itself is limited and there is no way to change that. Only the stock Sony camera can take pictures with full resolution. If rooted or not makes no difference.
[Sony Xperia XZ Premium Guides, News, & Discussion] xvagosx:
Oh well. I was afraid that would be the answer.

Thank you ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
use snap camera or open camera

works @19 mp
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Snap Camera HDR :good: Go buy it now!
[Sony Xperia XZ Premium Guides, News, & Discussion] xvagosx:
I just did!

I think I might give the phone another chance.

It's absolutely infuriating that Sony won't let you use your phone as you wish even AFTER you viod your warranty by rooting.

However, I don't think we've covered the case of pure AOSP. In AOSP I belive api2 is enabled by default, right? What's the maximum resolution in AOSP? Has anyone tried that?

I might open a new topic about that, though.
[Sony Xperia XZ Premium Guides, News, & Discussion] R4z0r93:
nothing happened

I followed all the steps with the XperiFIX program, everything worked perfect. But when I restart it, nothing happens, it's still the same as before (No Root, No Recovery)

my Phone is G8141 47.1.A.5.51, Bootloader open, Firmware CDA (1309-2163) R3B

I chose the program options perfectly

Any idea what happened?

Thank you!
[Sony Xperia XZ Premium Guides, News, & Discussion] the_brad:
Somebody might als the creator of snap camera, how he circumvented this limitation... His app does take pictures with the full resolution on nonrooted (and maybe rooted) Sony phones.
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
Has anyone gotten Viper4Android working on oreo? I'm trying to install the ViPER4Android FX Magisk Module (https://xdaforums.com/apps/magisk/module-viper4android-fx-2-5-0-5-t3577058), but get bootloops upon installation. Any advice?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
The API2 is enabled by default on stock firnware, too. But it's limited by Sony, also on custom systems which need vendor files.

But... Why do you need the API or other camera apps, if you can fix the device and use the stock camera?
[Sony Xperia XZ Premium Guides, News, & Discussion] sToRm//:
He uses the old camera api and own processing. The pictures are okay, but faaaaar away from stock quality or camera2 api.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
I find Snap Camera superior, it has a setting to enable api 2 in the settings.

You're claiming the stock app is "faaaaar" superior in terms of quality?
[Sony Xperia XZ Premium Guides, News, & Discussion] R4z0r93:
thanks for answering. I do not know much about this, where I have to see if it is encrypted.
[Sony Xperia XZ Premium Guides, News, & Discussion] mirhl:
What?

I thought it was just about a simple permission?
[Sony Xperia XZ Premium Guides, News, & Discussion] patrol-cz:
Hi sToRm!

Is there a Linux version of XperiFIX, please ? For reasons very similar to those which lead to XperiFIX being written, I'm not using *dows OS, the only alternative for me is Linux or other fully open OS.

And Linux is much better when hacking Android in general, because Android uses the Linux kernel, and Linux OS had never problems with USB drivers, which are big pain for *dows OS.

With regards,

Pavel
[Sony Xperia XZ Premium Guides, News, & Discussion] Castiglionais:
Hi storm,

Thank you for your work and your tutorial;

For me it works except the TWPR, it doesn't work, when starting the phone I can't run it with the low volume button;

At startup it always shows me the unlocked bootloader message "your device has been unlocked and can not be trusted";

Magisk manager works fine except when I update it, the saftynet doesn't work and closes the application

Any adeas about this errors, thank's in advance
[Sony Xperia XZ Premium Guides, News, & Discussion] F1Fanatic27:
I hate to be that guy, but make sure you're pressing the right buttons at the right time. The process for me is start holding down the volume down button, then start holding the power button, keep them both held through the bootloader message until the TWRP splash screen shows up, THEN let go of the buttons.

That bootloader message is a requirements for all phones with unlocked bootloaders, so you'll have to live with that.

As for Magisk, I've had issues updating it too. I usually just download an apk from online instead of updating within the app.
[Sony Xperia XZ Premium Guides, News, & Discussion] FartyParty:
Just wipe cache after you've updated.

You just need to hold power+volume down until sony logo comes up then you can release.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Thanks mate, works like a charm.
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
After experiencing bootloop problems due to attempted installation of magisk modules, I eventually had to completely reset my system (wiped data and system, flashed stock firmware, reflashed xperifix). However, I am still having problems that I was not experiencing prior to that. My phone regularly reboots randomly (when this happens, the notification LED appears to blink blue and green). I have tried rewiping and installing, but the problem persists. What could be causing this, or how can I find out what is causing this?

EDIT: I realized I have been uninstalling system apps in titanium backup, could this be causing it?
[Sony Xperia XZ Premium Guides, News, & Discussion] charlatan01:
Yes. I typically freeze them, and I do not have the issue your having.
[Sony Xperia XZ Premium Guides, News, & Discussion] Nouatik:
Are u on the latest firmware?
[Sony Xperia XZ Premium Guides, News, & Discussion] ishemes:
There is an magisk.img file somewhere on your data partition. If you delete this image file from within TWRP and then flash the Magisk installer immediately after you should be able to reboot without any problems. This will remove all the modules you installed in Magisk, which should fix the bootloop if it is caused by a Magisk module.