Root Achieved! - Sony Xperia XZ Premium Guides, News, & Discussion

Update to newest fw, unlock bootloader, , flash this boot and this recovery
When that's done you can flash either su, magisk via TWRP to get root.

Let us know how it goes!

I didn't think Sony had updated their website to support this device for unlocking yet?

alexp999 said:
I didn't think Sony had updated their website to support this device for unlocking yet?
Click to expand...
Click to collapse
With the Sony XZs you could just pick Sony XZ.

FartyParty said:
With the Sony XZs you could just pick Sony XZ.
Click to expand...
Click to collapse
They share the same chipset/platform though. The only difference is the camera.
The XZP is the first Sony with the SD835.

alexp999 said:
They share the same chipset/platform though. The only difference is the camera.
The XZP is the first Sony with the SD835.
Click to expand...
Click to collapse
Duh, I'm dumb!
I guess we have to wait then.

I just hope for a root method without unlocking the bootloader

xshunin said:
I just hope for a root method without unlocking the bootloader
Click to expand...
Click to collapse
No, that won't happen.

FartyParty said:
No, that won't happen.
Click to expand...
Click to collapse
Don't we just have to wait for an exploit?

I tried out my luck unlocking XZ Premium bootloader using older Sony XZ from the list, and I made it
xttp://i64.tinypic.com/2pshxu1.png
But I can't find suitable custom recovery to work with XZ Premium
twrp-3.1.1-0-kagura.img (TWRP for the old XZ) didn't work (using 'fastboot boot twrp-3.1.1-0-kagura.img' command without flashing it).

kemod said:
I tried out my luck unlocking XZ Premium bootloader using older Sony XZ from the list, and I made it
xttp://i64.tinypic.com/2pshxu1.png
But I can't find suitable custom recovery to work with XZ Premium
twrp-3.1.1-0-kagura.img (TWRP for the old XZ) didn't work (using 'fastboot boot twrp-3.1.1-0-kagura.img' command without flashing it).
Click to expand...
Click to collapse
You've unlocked your BL without backing up your TA? You know that you lost your DRM keys?
---------- Post added at 10:31 AM ---------- Previous post was at 10:25 AM ----------
It looks like something good is coming soon:
https://kernel.andro.plus/yoshino.html
https://github.com/AndroPlus-org/android-kernel-sony-msm8998

schickel said:
You've unlocked your BL without backing up your TA? You know that you lost your DRM keys?
Click to expand...
Click to collapse
Err...I don't know if I really need it (or know much about it). I guess it has something to do with Sony proprietary app, music, etc?
If yes, I don't think I really care about it. I don't even have the intention to relock the bootloader...I guess.

kemod said:
I tried out my luck unlocking XZ Premium bootloader using older Sony XZ from the list, and I made it
xttp://i64.tinypic.com/2pshxu1.png
But I can't find suitable custom recovery to work with XZ Premium
twrp-3.1.1-0-kagura.img (TWRP for the old XZ) didn't work (using 'fastboot boot twrp-3.1.1-0-kagura.img' command without flashing it).
Click to expand...
Click to collapse
You're awesome! Thanks for sharing this.
Have you tried twrp-3.0.2-4-kagura.img instead? That always worked for me.
kemod said:
Err...I don't know if I really need it (or know much about it). I guess it has something to do with Sony proprietary app, music, etc?
If yes, I don't think I really care about it. I don't even have the intention to relock the bootloader...I guess.
Click to expand...
Click to collapse
Same here, I don't care about the keys at all since I don't have intentions to relock bootloader and I don't care about the warranty.
I have no desire to wait for them to update tabackup tool .

kemod said:
Err...I don't know if I really need it (or know much about it). I guess it has something to do with Sony proprietary app, music, etc?
If yes, I don't think I really care about it. I don't even have the intention to relock the bootloader...I guess.
Click to expand...
Click to collapse
and @FartyParty
It's not only about proprietary apps. It's about advanced functions for both camera and music. There will be no noise canceling and other algorithms that make the backbone of decent looking pics and videos. That's why everyone is freaked about the TA backup. They're unique and cannot be used from another XZp. Relocking the BL won't do a thing since those keys are buh-bye forever. I for once bought this beauty for the looks, camera, and music (-ish), but I'll miss Xposed FW like crazy (hopefully we'll have xposed for N soon).
Best thing to do now is to wait for a custom kernel that restores those functions - it's just around the corner.
sorry for spamming the forum - got bored at work. still - DRM functionality is pretty important.

Sebi673 said:
and @FartyParty
It's not only about proprietary apps. It's about advanced functions for both camera and music. There will be no noise canceling and other algorithms that make the backbone of decent looking pics and videos. That's why everyone is freaked about the TA backup. They're unique and cannot be used from another XZp. Relocking the BL won't do a thing since those keys are buh-bye forever. I for once bought this beauty for the looks, camera, and music (-ish), but I'll miss Xposed FW like crazy (hopefully we'll have xposed for N soon).
Best thing to do now is to wait for a custom kernel that restores those functions - it's just around the corner.
sorry for spamming the forum - got bored at work. still - DRM functionality is pretty important.
Click to expand...
Click to collapse
I am fully aware what losing the drm-keys does and I simply do not care about it, since you can simply apply the drm-fix and be on your way.
When I got my XZs I rooted it instantly, applied the drm-fix and continued as normal.
For me, root is always #1 and I'm more than happy to lose the drm-keys to get it.

FartyParty said:
I am fully aware what losing the drm-keys does and I simply do not care about it, since you can simply apply the drm-fix and be on your way.
When I got my XZs I rooted it instantly, applied the drm-fix and continued as normal.
For me, root is always #1 and I'm more than happy to lose the drm-keys to get it.
Click to expand...
Click to collapse
Totally agree.. I now found out there is a DRM fix. I thought it would take some time. I'm one day away from my XZp

FartyParty said:
Have you tried twrp-3.0.2-4-kagura.img instead? That always worked for me..
Click to expand...
Click to collapse
Tried 3.0.2-0, 3.0.2-4, 3.1.0-0, 3.1.1-0 kaguras, still no luck via 'fastboot boot <recoveryfilename>'
How about you? Have you unlocked your bootloader yet? Have you found a custom recovery that works? I really really want to root this device.
FartyParty said:
I am fully aware what losing the drm-keys does and I simply do not care about it, since you can simply apply the drm-fix and be on your way.....
Click to expand...
Click to collapse
Well I on the other hand didn't know that
It's been a while since my last Xperia and this is ridiculous, to lose essential features that makes it different to other phone just from unlocking the bootloader? Seriously?

kemod said:
Tried 3.0.2-0, 3.0.2-4, 3.1.0-0, 3.1.1-0 kaguras, still no luck via 'fastboot boot <recoveryfilename>'
Well I on the other hand didn't know that
It's been a while since my last Xperia and this is ridiculous, to lose essential features that makes it different to other phone just from unlocking the bootloader? Seriously?
Click to expand...
Click to collapse
He tagged me so had to reply.
It's not really ridiculous at all. It's a choice you make. Either you keep it locked and use it without root or you unlock it.
With the drm-fix you don't really lose the features.
And not yet but I will as soon as I get my second pink .

I'm screwed....just took a photo to look how bad the result would be after bootloader unlock and it's just the worst experience ever.
No photo could be taken, all shots just gave me literally full blank green picture (no picture at all!). Video works normally I think...
Oh my....what did I just do

kemod said:
I'm screwed....just took a photo to look how bad the result would be after bootloader unlock and it's just the worst experience ever.
No photo could be taken, all shots just gave me literally full blank green picture (no picture at all!). Video works normally I think...
Oh my....what did I just do
Click to expand...
Click to collapse
You have to wait for a custom kernel that has drm-fix included and it will be fine again.
But your warranty is now gone.

Related

[Request] Root for Z3C (D5803) -> Solved

HI @all,
now that we have a FW for the device - is root possible?
All known root methods are not working.
BR
UserX10
Edit:
Solved -> Thanks you DooMLoRD
http://forum.xda-developers.com/z3-...58xx-cwm-based-recovery-6-0-4-7-root-t2890231
Delete.
Jeez.
People haven't even got their hands on the phone yet...
Be patient
Anyone wanna try Framaroot?
http://framaroot.net/index.html
framaroot does not work ...
Ok because I saw it posted on this blog and thought it would work. Strange!
plisk3n said:
Ok because I saw it posted on this blog and thought it would work. Strange!
Click to expand...
Click to collapse
Well, it says "tested on device" and is from 9/4, before the device was even unavailable. I'd be careful that apk isn't something more.
CollinsJ said:
Well, it says "tested on device" and is from 9/4, before the device was even unavailable. I'd be careful that apk isn't something more.
Click to expand...
Click to collapse
Yeah that's also the reason why I decided not to download it, I'll just wait till someone @ XDA finds a way to root the device. It's not like we'll die because our device isn't rooted for x weeks/months.
Weeks/months?! I would die! It's been a day and the amount of things I can't do is driving me nuts!
If you have an unlocked boot loader see what I say at http://forum.xda-developers.com/showthread.php?p=55709585. If you don't I think you'll be waiting for a while - someone needs to find an exploit and write the app/code needed to exploit it. This has become increasingly hard as Android has become more secure - before Towelroot AFAIK the Z1/Z2 was not rootable for a long time. You'd probably be waiting a similar length of time for the next big root exploit.
tilal6991 said:
If you have an unlocked boot loader see what I say at http://forum.xda-developers.com/showthread.php?p=55709585. If you don't I think you'll be waiting for a while - someone needs to find an exploit and write the app/code needed to exploit it. This has become increasingly hard as Android has become more secure - before Towelroot AFAIK the Z1/Z2 was not rootable for a long time. You'd probably be waiting a similar length of time for the next big root exploit.
Click to expand...
Click to collapse
Would it not be helpful to contact Sony themselves? They're increasingly developer friendly, these days. Maybe they'd be willing to offer pointers to root app developers?
mudnightoil said:
Would it not be helpful to contact Sony themselves? They're increasingly developer friendly, these days. Maybe they'd be willing to offer pointers to root app developers?
Click to expand...
Click to collapse
Well I know people at Sony and long story short: if you want root unlock the boot loader. Its as simple as that. You have to understand that while a root exploit looks nice to tinkerers its also a serious security issue which must be fixed - that is why many root solutions also patch the exploit they use after using it.
Does unlocking the bootloader require wiping the phone? I know this is required on the nexus phones. If it requires wipe then its the very first thing I'm doing once I get the phone out of the box.
Sent from my Nexus 5 using Tapatalk
tilal6991 said:
Well I know people at Sony and long story short: if you want root unlock the boot loader. Its as simple as that. You have to understand that while a root exploit looks nice to tinkerers its also a serious security issue which must be fixed - that is why many root solutions also patch the exploit they use after using it.
Click to expand...
Click to collapse
I'm aware of this ... but on the one hand being one of the few if only manufacturers to provide official unlocking for the bootloaders (with the obvious intention of spurring development etc), but on the other actively closing non-simple (i.e. ones requiring a dedicated program) root 'exploits' would seem a little at odds. Is it really that black and white? You'd think it might be in their interests to provide an official complex / secure rooting method.
sublimnl said:
Does unlocking the bootloader require wiping the phone? I know this is required on the nexus phones. If it requires wipe then its the very first thing I'm doing once I get the phone out of the box.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes. It will wipe everything AFAIK - double check with the website.
mudnightoil said:
I'm aware of this ... but on the one hand being one of the few if only manufacturers to provide official unlocking for the bootloaders (with the obvious intention of spurring development etc), but on the other actively closing non-simple (i.e. ones requiring a dedicated program) root 'exploits' would seem a little at odds. Is it really that black and white? You'd think it might be in their interests to provide an official complex / secure rooting method.
Click to expand...
Click to collapse
Your statements contradict themselves. Rooting without unlocking the bootloader needs a security flaw. How can any method which leaves a security hole be secure?
Bootloader unlocking gets around this by letting you control the boot partition of the device so you can disable the "security barrier" that android provides. This is a choice you are explicitly making which is why it is the only "secure" way to root.
Does towelroot work?
MrOeyta said:
Does towelroot work?
Click to expand...
Click to collapse
Unfortunately Towelroot does not work.
I've read some people saying that unlocking the bootloader causes you to lose your DRM keys which apparently would affect software/ camera issues?
Can anyone verify this?
tacocats said:
I've read some people saying that unlocking the bootloader causes you to lose your DRM keys which apparently would affect software/ camera issues?
Can anyone verify this?
Click to expand...
Click to collapse
This is very true. On the z1c I neglected to back up the TA partition. And apparently lost native mirror cast and some camera features when I rolled the device back to stock.
Back up your TA partition before unlocking BL.
dillalade said:
This is very true. On the z1c I neglected to back up the TA partition. And apparently lost native mirror cast and some camera features when I rolled the device back to stock.
Back up your TA partition before unlocking BL.
Click to expand...
Click to collapse
Any idea how this could be done?

[4.4.4] for [SGP521]

Is this Android 4.4.4 to SGP521?
Link
Exciting!
Yes, it is 4.4.4, and it will bring us the new Z3 UI, and some Z3 features.
Bird40 said:
Is this Android 4.4.4 to SGP521?
Link
Click to expand...
Click to collapse
Sure you are not being a bit previous? My Z2 is SGP512, not SGP521! Hope you are right though
UPDATE: Doh! Just realized that both are valid
Very good news
Finally!
Sent from my SGP521 using Tapatalk
The rumour-mill has gone scarily quiet.. I don't understand why, having subscribed to a "premium" product, we don't get "premium" service. Anyone prepared to stir the pot and get the rumours going again?
pdes said:
The rumour-mill has gone scarily quiet.. I don't understand why, having subscribed to a "premium" product, we don't get "premium" service. Anyone prepared to stir the pot and get the rumours going again?
Click to expand...
Click to collapse
Ok, try this one. They're not going to push the 4.4.4 and will go straight to 5L next year
New version
New version
Link
Has anyone been able to update? Mine just failes
Sent fra min D6503 via Tapatalk
Installed and working properly, we only need to root :good:
Bird40 said:
Is this Android 4.4.4 to SGP521?
Link
Click to expand...
Click to collapse
yes, i already got it, any one has recovery?
I managed to install it with dual recovery but I am having issues on mounting the system. Does anyone know how to?
chesterr said:
I managed to install it with dual recovery but I am having issues on mounting the system. Does anyone know how to?
Click to expand...
Click to collapse
But it is compatible? Now try but could
So, what do you guys think about this update? Is it really worth it? Curious to know.
The biggest reason for me to change was to get Remote Play to link with my PS4. Also, the applications button is now shifted to the middle of the bottom edge. Other than that, I haven't noticed any huge changes that blew me away.
Remote Play is pretty cool though, tried it out for a little bit last night and it was good enough to play Call of Duty campaign mode.
chesterr said:
I managed to install it with dual recovery but I am having issues on mounting the system. Does anyone know how to?
Click to expand...
Click to collapse
Need to modify the kernel ramdisk to make it insecure.
Moscow Desire said:
Need to modify the kernel ramdisk to make it insecure.
Click to expand...
Click to collapse
Yea it did ask me about ramdisk btw, guess I'm just gonna wait till PRF Creator tool to be updated,
chesterr said:
Yea it did ask me about ramdisk btw, guess I'm just gonna wait till PRF Creator tool to be updated,
Click to expand...
Click to collapse
Well, technically, it's not such a big deal, to swap kernels/ramdisk with an unlocked bootloader. It's a simple edit. But, at this point, it would mean unlocking bootloader, and losing DRM keys (still not sure what functions besides some lost advanced camera functions, not that anybody uses the camera anyhow except for skype).
Under the old rooting, it used an exploit to modify ramdisk, (and install the necessary apps), without unlocking bootloader via an exploit.
As for me, I will wait a couple weeks and see if there's a new exploit. If not, well, I will do the above method.
Moscow Desire said:
Well, technically, it's not such a big deal, to swap kernels/ramdisk with an unlocked bootloader. It's a simple edit. But, at this point, it would mean unlocking bootloader, and losing DRM keys (still not sure what functions besides some lost advanced camera functions, not that anybody uses the camera anyhow except for skype).
Under the old rooting, it used an exploit to modify ramdisk, (and install the necessary apps), without unlocking bootloader via an exploit.
As for me, I will wait a couple weeks and see if there's a new exploit. If not, well, I will do the above method.
Click to expand...
Click to collapse
Basically DRM keys are used to see if you have unlocked the device (in the past). So mainly for Sony to check if your warranty is still valid.
There is a tool that will backup your DRM keys though, and can restore it too. You just need root for that (just downgrade, root, backup keys and upgrade again) Just Google Xperia DRM backup and you're bound to find out

z5c root

I know it's too early, since no units have shipped yet, but my biggest concern about the z5c is root. The only way we have root on the z3c / z3 / z3 tablet compact is because of a KitKat exploit, I don't believe Lollipop 5.1.1 was ever exploited for Sony devices, so I'm worried the z5 family may not have root for quite awhile. Whenever I get a new device, I try to live without root, but it's impossible!
mickliq said:
I know it's too early, since no units have shipped yet, but my biggest concern about the z5c is root. The only way we have root on the z3c / z3 / z3 tablet compact is because of a KitKat exploit, I don't believe Lollipop 5.1.1 was ever exploited for Sony devices, so I'm worried the z5 family may not have root for quite awhile. Whenever I get a new device, I try to live without root, but it's impossible!
Click to expand...
Click to collapse
so what? It's really funny that everytime a new sw update comes for a phone people start to talk about root and the fact that it couldnt be rootet! and then after a while it would be rooted and again another update comes and...stop it man you cant live without root then get another phone, obviously you're not asking sony to release z5 with 5.0 intead of 5.1 huh?! then what's the point of mentioning it
I assume that you can root it easily with SuperSu (or something similar) if you open the bootloader.
But I don't really know about that DRM stuff when you open the bootloader.
Sent from my Nexus 5
Kianush said:
so what? It's really funny that everytime a new sw update comes for a phone people start to talk about root and the fact that it couldnt be rootet! and then after a while it would be rooted and again another update comes and...stop it man you cant live without root then get another phone, obviously you're not asking sony to release z5 with 5.0 intead of 5.1 huh?! then what's the point of mentioning it
Click to expand...
Click to collapse
I can relate to what mickliq was mentioning. Its not about adjusting. So many people now use root for their existing devices with mods and root-requiring apps. That all will go lost if root is not there and it can get frustrating. And btw Kianush, he expects some sort of hope that the device will get rooted in time, not to encourage him to go get another phone. Or he wont be in this section.
I would say then wait up for a month or two more after release of Z5c, and watch over the development till roots and ROMs arrive. Am going to do the same. Not to mention that Android Marshmallow is also coming soon.
There would be no problems rooting a phone with an open bootloader.
The problem is when you try to root a phone with a locked bootloader. That is not possible unless there is an exploit to do that.
So what kind of root are the OP referring?
Sent from my Nexus 5
Kianush said:
so what? It's really funny that everytime a new sw update comes for a phone people start to talk about root and the fact that it couldnt be rootet! and then after a while it would be rooted and again another update comes and...stop it man you cant live without root then get another phone, obviously you're not asking sony to release z5 with 5.0 intead of 5.1 huh?! then what's the point of mentioning it
Click to expand...
Click to collapse
Yea, so true bro! Most of the times its them n00bs that dont even do enough research.
I'm more worried about the drm stuff.
Sent from my A0001 using Tapatalk
I was referring to root without BL unlock because of camera loss quality.
With 32GB as the max on Nexus 5x today, z5c is an even stronger option...with root!
mickliq said:
I was referring to root without BL unlock because of camera loss quality.
With 32GB as the max on Nexus 5x today, z5c is an even stronger option...with root!
Click to expand...
Click to collapse
Well, with all the security stuff introduced since Lollipop. I don't think that will happen.
- I'd like to know about DRM in the Z5 line. Maybe we are now able to unlock the BL without loosing any DRM stuff.
- Regarding the Z5C vs N5X: They are two different concepts. N5X could be compared with the Z5 (non compact).
thesebastian said:
Well, with all the security stuff introduced since Lollipop. I don't think that will happen.
- I'd like to know about DRM in the Z5 line. Maybe we are now able to unlock the BL without loosing any DRM stuff.
- Regarding the Z5C vs N5X: They are two different concepts. N5X could be compared with the Z5 (non compact).
Click to expand...
Click to collapse
You're right in a way - I was thinking more of the old N5 at 4.95". It didn't feel particularly small in the hand, but there are so few devices < 5.2" these days, anything in the general vicinity needs to be considered
FWIW, the Z5, if it feels like the Z3, is probably too boxy in the hand, probably because of the squared corners.
did anyone root his z5c successfully yet?
M!tch said:
did anyone root his z5c successfully yet?
Click to expand...
Click to collapse
I have Z5C form5 days and after learnig a lot on smartphone battery and settings... I'm trying to understand something on commad task boot etc.. I try but to no avail and I hope that some developers began to try the phone
HISPANICO
root Z5 Compact
MOD EDIT: Link removed.
tania247260 said:
root Z5 Compact
scam site
Click to expand...
Click to collapse
Seriously?! That looks very fishy. Did you just search for "root z5 compact" on google and pasted the first link? lol..
NPK06 said:
Seriously?! That looks very fishy. Did you just search for "root z5 compact" on google and pasted the first link? lol..
Click to expand...
Click to collapse
<YuFFie> HELP MY MOUSE IS MOVING BY IT SELF
thesebastian said:
There would be no problems rooting a phone with an open bootloader.
Click to expand...
Click to collapse
How's that? I have it unlocked here and there's no bootloader that I could use to boot into a recovery. Even though there's a good chance the TWRP images by @o-l-a-v for z3c will work here too. Am I missing something?
.corrupt. said:
How's that? I have it unlocked here and there's no bootloader that I could use to boot into a recovery. Even though there's a good chance the TWRP images by @o-l-a-v for z3c will work here too. Am I missing something?
Click to expand...
Click to collapse
Try hot booting one, if it boots try flashing a SU zip.
.corrupt. said:
How's that? I have it unlocked here and there's no bootloader that I could use to boot into a recovery. Even though there's a good chance the TWRP images by @o-l-a-v for z3c will work here too. Am I missing something?
Click to expand...
Click to collapse
You'll probably have to wait for a custom recovery to support Z5 compact.
I've never used a custom recovery from other phone (My last 3 phones were nexus and they usually have a custom recovery pretty fast), maybe it's not risky at all. But who knows...I would just wait until a recovery is released.
Root, TWRP and especially ROMs will take a while. the Z5 and Z5 compact hasn't even been out a month and isn't even out on all markets yet. In the US it just released or will be released within days (not 100% sure) so many devs haven't even gotten their hands on them yet but since the bootloader can be unlocked it shouldn't be impossible to get custom stuff on the device, but just rooting with ease could take awhile since AFAIK there is no working exploit in 5.1.1. yet to get root. But the Z line is a very popular line and the z5 compact is a powerhouse with good battery life, would surprise me if all this was fixed within a few months. It almost always takes months, development isn't something that just magically appear, someone has to do the work.
XperienceD said:
Try hot booting one, if it boots try flashing a SU zip.
Click to expand...
Click to collapse
We did. It did not
To be more precise, we couldn't find a hot-bootable image with the right dtb. Or any dtb for that matter.

Problem after ulocking bootloader?

If I unlock the bootloader do I lose some functions like on the Sony Xperia where you are not able to use the Sony App and the quality of photo is reduced like the video reproduction because a chipset is disabled?
TIA
As far as i know, you are not be able to install OTA updates anymore. i read many times, that this will cause a bootloop.
Erazor84 said:
As far as i know, you are not be able to install OTA updates anymore. i read many times, that this will cause a bootloop.
Click to expand...
Click to collapse
Simply this is not true!!!
Harlock1978 said:
If I unlock the bootloader do I lose some functions like on the Sony Xperia where you are not able to use the Sony App and the quality of photo is reduced like the video reproduction because a chipset is disabled?
TIA
Click to expand...
Click to collapse
All functions are working well after bootloader is unlocked! And of course I receive OTA every time when flash and downgrade to 052
I confirm, OTA update works after unlocking bootloader!

Searching For Root..

I've had this phone a little while now and I'm itching to root it. There's nothing wrong with it, I just really want to get into the code and do some modding. But there doesn't seem to be any root solution available right now.
So I thought I'd start this thread so we could discuss any rooting tips and ideas you all might have.
First I should probably mention all the potentially dodgy rooting solutions out there. Google "root xa1" and you get many results that offer methods to gain root access on our phone.
I confess I haven't tried any of them but that's because they all look suspicious. Some were written before the phone launched, some require you to download unknown software (I'll keep my PC virus-free, thanks), some even go so far as to feature a fake comment section with people saying it works.
I have no desire to stick malware on either my PC or my phone so I'm steering well clear of those.
The XZs launched at the same time as the XA1 and there seems to be a solution available for that. This is a thread by @zlRampageSlz with details: https://forum.xda-developers.com/xzs/how-to/tutorial-step-step-guide-to-gain-root-t3612624
It looks like the best solution is to unlock the bootloader (making sure to back up your TA partition first!), flash a modified kernel (otherwise the camera takes green pictures), flash a recovery image and then flash Magisk.
Where do we get this modified kernel? Where do we get the recovery image?
I have no idea, sadly. This is all way beyond my area of expertise. I'm a themer, not a developer.
But if anybody knows better than me, please post here.
This is a great phone, let's work together so we can get it modded!
Ticklefish said:
I've had this phone a little while now and I'm itching to root it. There's nothing wrong with it, I just really want to get into the code and do some modding. But there doesn't seem to be any root solution available right now.
So I thought I'd start this thread so we could discuss any rooting tips and ideas you all might have.
First I should probably mention all the potentially dodgy rooting solutions out there. Google "root xa1" and you get many results that offer methods to gain root access on our phone.
I confess I haven't tried any of them but that's because they all look suspicious. Some were written before the phone launched, some require you to download unknown software (I'll keep my PC virus-free, thanks), some even go so far as to feature a fake comment section with people saying it works.
I have no desire to stick malware on either my PC or my phone so I'm steering well clear of those.
The XZs launched at the same time as the XA1 and there seems to be a solution available for that. This is a thread by @zlRampageSlz with details: https://forum.xda-developers.com/xzs/how-to/tutorial-step-step-guide-to-gain-root-t3612624
It looks like the best solution is to unlock the bootloader (making sure to back up your TA partition first!), flash a modified kernel (otherwise the camera takes green pictures), flash a recovery image and then flash Magisk.
Where do we get this modified kernel? Where do we get the recovery image?
I have no idea, sadly. This is all way beyond my area of expertise. I'm a themer, not a developer.
But if anybody knows better than me, please post here.
This is a great phone, let's work together so we can get it modded!
Click to expand...
Click to collapse
First of all thank you so much for your awesome tool "Tickle My Android" which i really like it (Y).
i'm about to get XA1 Ultra so sure i'm so curious about root also but i'll try to make it clear,
simply, don't waste your time searching for a root tool because it's impossible to have root without modifying kernel, so, 100% all of these tools are just malware !
in the new devices there's something calls DM-Verity which is a check tool and that means any modification to /system will leads to bootloop,
so DM-Verity must be disabled ( through kernel of course ) & any mess with kernel means you have to unlock bootloader.
another thing, Sony ric which is prevent mounting system, so, any modification must be through recovery or it will leads to bootloop also, so we must also disable it.
fortunately on my xperia z2 there is no DM-Verity and there's a module to disable sony ric through recovery so root was possible without unlocking bootloader but starting from xperia z3+ DM-Verity appeared !
so now root is impossible without unlocking bootloader ( which means losing drm keys forever if you didn't back it up ).
i downloaded the firmware for xa1 ultra through xperiafirm and i unpacked the kernel and tried with these tools to see how its going on:
https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
&
https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
the first one was hanging and i didn't get any information & the second one to be able to use it then you must put your ta.img ( your ta backup ) inside the folder,
i used my z2 ta.img as a test to see the process and the result was pretty good !
i successful disabled DM-Verity and there's no sony ric !!!!! but it's also still not safe and needs to be confirmed because maybe there's a bad surprise which is not clear yet, maybe something like sony ric but new !
so, if it's only the ****ty DM-Verity it's easy to disable it even away from this tool because we can't use it without ta.img, maybe by any script or unpacking kernel and modify it then repacking it this is not a problem at all & after that MAYBE we can flash supersu or magisk via ADB since there's no recovery yet ( completely not sure about this so it needs to be confirmed ) & in this case the choice is between root or drm features but at least root has been achieved.
so now, we need something like this to be able to backup ta without root and after that no problem of unlocking bootloader:
https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
or
https://forum.xda-developers.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597
or if it's not possible at this moment to backup ta without root then at least we need something like this to be able to to reactivate drm features such as camera denoise and x-reality...etc:
https://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
or
https://forum.xda-developers.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383
or the worst choice...root without drm & waiting for a fix like those above !
anyway, root is not easy like before but it's still possible after all, i tried to clarify everything as much as i can and i hope there's a solution soon !
@munjeni we need your help bro, please if you have free time have a look, i uploaded the kernel for xa1 ultra so try to tell us how it's going on & what is new !
https://www.mediafire.com/?bc63fgjw99r785d
good luck for everyone .
As my Z5 compact was broken, I bought the XA1. I didn't remember, how awful an unrooted phone is - So I am also waiting and would be very interested to be informed.
BR
Sopur
Did anyone tried this?
https://www.oneclickroot.com/sony/sony-xperia-xa1/
chauhanjayc said:
Did anyone tried this?
https://www.oneclickroot.com/sony/sony-xperia-xa1/
Click to expand...
Click to collapse
I haven't, personally. Every mention of it I can find just looks like an advert. And I'm not paying for something that might not work and might do something horrible to my phone.
Sent from my Sony Xperia XA1 using XDA Labs
Ticklefish said:
I haven't, personally. Every mention of it I can find just looks like an advert. And I'm not paying for something that might not work and might do something horrible to my phone.
Click to expand...
Click to collapse
Its free
chauhanjayc said:
Its free
Click to expand...
Click to collapse
One Click Root does not work at the moment :crying:
kpfreak said:
One Click Root does not work at the moment :crying:
Click to expand...
Click to collapse
Uffffd
Let wait till next exploit.
chauhanjayc said:
Uffffd
Let wait till next exploit.
Click to expand...
Click to collapse
I'm sure it's only a matter of time.
Sent from my Sony Xperia XA1 using XDA Labs
bought this phone to replace my oppo. i can't wait for root abilities to be made
Bought this phone to replace my old Xiaomi. It's a good, powerful phone. Hope to see root appear for it soon. Personally for me, I'm one of those people who will only root a phone once it gets slow (the warranty expires). So as much as I'm reluctant to root my phone now, I'll hold out and see what wonderful developments appear on this thread.
Given the XA1 (I have the XA1 not the XA1 Ultra, I believe they are different) runs a Mediatek processor, I'm inclined to see something along the lines of a MT Flash Tool being used. Correct me if I'm wrong but I've only had successful flashes and roots with Qualcomm processors. The last device I had with a Mediatek processor (Lenovo A8-50 A5500H, MT8382) bricked on me horribly and I had to throw it away :crying:.
Meh. Hope we'll see awesomeness come soon from here. I'm still pretty new to XDA, looks like an awesome community
MINGXXIE said:
Bought this phone to replace my old Xiaomi. It's a good, powerful phone. Hope to see root appear for it soon. Personally for me, I'm one of those people who will only root a phone once it gets slow (the warranty expires). So as much as I'm reluctant to root my phone now, I'll hold out and see what wonderful developments appear on this thread.
Given the XA1 (I have the XA1 not the XA1 Ultra, I believe they are different) runs a Mediatek processor, I'm inclined to see something along the lines of a MT Flash Tool being used. Correct me if I'm wrong but I've only had successful flashes and roots with Qualcomm processors. The last device I had with a Mediatek processor (Lenovo A8-50 A5500H, MT8382) bricked on me horribly and I had to throw it away :crying:.
Meh. Hope we'll see awesomeness come soon from here. I'm still pretty new to XDA, looks like an awesome community
Click to expand...
Click to collapse
from what i've seen on sony's support page, they've made their own flash tool to flash stock roms to your phone with in case of events like bricking
diosdetiempo said:
from what i've seen on sony's support page, they've made their own flash tool to flash stock roms to your phone with in case of events like bricking
Click to expand...
Click to collapse
Is it? That's wonderful, shall go check it out
Seems like the ultra version has gotten it.
https://forum.xda-developers.com/xa1-ultra/development/g3221-built-sources-t3622886
diosdetiempo said:
Seems like the ultra version has gotten it.
https://forum.xda-developers.com/xa1-ultra/development/g3221-built-sources-t3622886
Click to expand...
Click to collapse
Cool. I wonder if they can help with our device..
Sent from my Sony Xperia XA1 using XDA Labs
Hi. Wondered if I could ask advice. When trying to unlock bootloader using Sony website via a code. After entering the command with the code it says command not allowed, any ideas?
arienwalsall72 said:
Hi. Wondered if I could ask advice. When trying to unlock bootloader using Sony website via a code. After entering the command with the code it says command not allowed, any ideas?
Click to expand...
Click to collapse
I don't know, sorry. Did you definitely enter the right code?
Sent from my Sony Xperia XA1 using XDA Labs
Ticklefish said:
I don't know, sorry. Did you definitely enter the right code?
Click to expand...
Click to collapse
Yes. It gives the full command with the code on the Sony website. So I copied and pasted it from there. It does say on the phone in the service menu under bootloader unlock able = no. But says yes on the Sony website so not sure
arienwalsall72 said:
Yes. It gives the full command with the code on the Sony website. So I copied and pasted it from there. It does say on the phone in the service menu under bootloader unlock able = no. But says yes on the Sony website so not sure
Click to expand...
Click to collapse
if it says no on your phone then you're not able to
arienwalsall72 said:
Yes. It gives the full command with the code on the Sony website. So I copied and pasted it from there. It does say on the phone in the service menu under bootloader unlock able = no. But says yes on the Sony website so not sure
Click to expand...
Click to collapse
Go to Settings > About Phone.
Tap on Build Number until you get a toast notification that says you're a developer.
You should now be able to access Developer Options in Settings.
Go inside Developer Options then toggle OEM unlocking. Make sure it's on.
The code you get from the website should work now.

Categories

Resources