[Q] Enable SDXC write access on KitKat with Locked Bootlaoder LB? - Sony Xperia Z Ultra

Hi All,
Great community! Great Device! I just a Xperia Z Ultra and I am loving it! Upgraded from a Samsung Skyrocket.
Question. From what I've read it is possible to modify the system partition while maintaining locked bootloader. I would like to enable SDXC card write access without having a rooted phone.
I found this thread that talks about modifying "/system/etc/permissions/platform.xml" to enable access to the SDXC
http://forum.xda-developers.com/showthread.php?t=2617921
Seems like it should work for the Xperia Z Ultra.
Is there anyway I can make this change offline without rooting my phone? Perhaps making a backup SEUS, editing and then restoring a modified version with flashtool?
I suppose I could downgrade, root, backup TA, upgrade, flash recovery, root, modify system and then relock.
Any advice on a better way. Does this sound like a reasonable plan?
Thanks!
-Mark

I would do it the last way,
Downgrade
Root
Backup TA
Upgrade
Unlock BL
Backup TA again (make sure to name it so you know it's the unlocked version)*
Flash recovery
Flash superSU update
Modify system
Relock.
* This will allow you to re-unlock the BL without the data wipe that happens if you use flashtool/adb to unlock the BL

Related

[Q] [SOLVED] Bootloader Unlock needs Root and Root needs Bootloader Unlock

Hello dear XDA Community,
- Xperia Z Ultra
- 4.4.2
- 14.3.A.0.681
- C6833
I have a big problem with understanding all of this tutorials. I read everything about rooting and unlocking the Bootloader.
I understood that I need to backup my TA Partition for Unlocking my Bootloader so I can continue to use Sony technology.
Requirements ? Root. Okay that was my first problem. So i looked up how to root my phone and what do i need ? A phone with a unlocked bootloader. great! Sure you can say "look at this topic and carefully read" but I really did that and I am really helpless. Thanks for any help!
What did I read ?
- http://forum.xda-developers.com/showthread.php?t=2292598&nocache=1 (requires root)
- http://forum.xda-developers.com/showthread.php?t=2569904 (requires unlocked bootloader)
- watched severel youtube videos and encountered the same problem
Greets
tr0teK
When your bootloader is unlocked, you can never use X-Reality and any other item which requires the DRM in the Trim Area partition,
Restoring the TA partition without relocking the bootloader will not result in the return of X-Reality and such even if you are using a Sony ROM. This situation appears to have changed since the release of 4.4.
Backing up the TA partition is only good for relocking the bootloader on a Stock ROM (any custom AOSP, CM, AOSPA etc will fail to boot on a locked bootloader), for personal choice or returning the phone under warranty.
You can unlock the bootloader when not rooted, in fact you don't do it with the phone running normally anyway so root or not rooted, it does not matter in that sense.
You don't need to unlock the bootloader to root, if you are willing to re-set up your phone again. What you need to do is downgrade to 4.2, which is rootable, root, install recovery and flash the 681 pre-rooted zip, and use flashtool to flash the associated ftf file to get rooted on 681.
Follow the instructions in Lord Manhattan's thread that you linked to,in order to downgrade and install a recovery, then visit the following link to get the zip & ftf to re-up to 4.4 (681). You most likely will lose cellular connectivity whilst you are downgraded (there is a way around this, but as you are only going down to 4.2 to get a recovery, maintaining your IMEI for that short period of time is just a waste of effort), but it will return when you are back on 681 (4.4).
http://forum.xda-developers.com/showthread.php?t=2687848
- Downgrade to 532
- Root it using Bin4ry's tool
- Backup the TA partition
- Unlock bootloader
- Either update to 681 again and take it from there or flash a kernel with recovery/TWRP and flash a pre-rooted 681. It's easy to root 681, so whatever floats your boat.
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Thanks for the Informations. I will give it a try the next days and report you if it worked.
coolmingli said:
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Click to expand...
Click to collapse
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
LordManhattan said:
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
Click to expand...
Click to collapse
Thanks for the reply, I think I will ditch rooting from this phone, too much troubles, I don't understand why Sony put the DRM key in a trim partition, perhaps they don't want us to root the phone after all.
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
tr0teK said:
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
Click to expand...
Click to collapse
is this witout unlock the bootloader?
MjsNL said:
is this witout unlock the bootloader?
Click to expand...
Click to collapse
Yep, that will work well on a locked BL
If you are only downgrading to flash the current rooted firmware, you don't even need to root 532, as [nut]'s dual recovery can be installed by the same method that bin4ry's root is delivered, just install the recovery, flash the zip, flash the ftf and away you go

[Q] Root?

Hey guys,
I own a stock Xperia Z3 Tablet LET (SGP621) and I have never upgraded it, still running stock 4.4.4.
I want to root it and only root (to Lolipop). I have read topics but there are so many and written in strange language for me I have no idea where to start.
I read I could just flash prerooted ROM without even touching my drm keys, right? But then I was not sure how could I do it.
Any help would be appreciated.
Thanks!
There is no method to root the tablet without unlocking the bootloader. The root exploit which most of the guys mentioning in these strangely written topics (giefroot, easy root tool, geohot, blablabla...) is useless now since Sony surely patched it. So to root, you have to unlock the bootloader. But wait, you would loose the DRM keys.
So, it means that you need to make a backup.
But, without root you can't backup.
But, how should you root if you don't have an unlocked bootloader??? And it goes on and on and on and on....
The "trick" is to flash a firmware from another device (not z3 tablet compact) that can be rooted via the exploit. But nobody wanta to use the "other" firmware to gain root. This "other" firmware is only used to gain root temporary so you can backup the drm keys.
Then you likely have to flash back the stock firmware (and root will be lost again).
Now that you backed up the drm keys, you are ready to unlock the bootloader and let the drm keys disappear for a while.
And then you still have to do some complex steps to achieve root on your stock firmware, then restore drm keys (bootloader locks up itself again...), blablabla
TL;DR forget rooting this device unless you are ready to do all these above steps. If you don't understand the steps and are new to rooting sony devices, I recommend you not to root and enjoy the stock firmware. Next thing is that lollipop will come and you could easily update without problems (via OTA). Until then, wait for some magicians/hackers/crackers find a new exploit which can root 2015 sony devices without unlocking the bootloader.
If you want to know if your device (firmware) can be rooted via exploit, try xdualrecovery. It contains the exploit root method. But if you are unsuccessful flashing xdualrecovery, that is because the exploit doesn't work and your firmware is patched.
Sadly, sony devices are nothing like nexus. And including this "afraid of loosing the drm keys", simply unlocking the bootloader might not be a pleasing thing to do.
just to add maybe we don't need to unlock bootloader to root our tablet
we temporarely flash z3 kitkat system to get a rootable core and we flash again z3 tablet compact system before reboot
or so I understood
ChiDi9901 said:
There is no method to root the tablet without unlocking the bootloader (false, there is a method detailed in this thread). The root exploit which most of the guys mentioning in these strangely written topics (giefroot, easy root tool, geohot, blablabla...) is useless now since Sony surely patched it. So to root, you have to unlock the bootloader. But wait, you would loose the DRM keys.
So, it means that you need to make a backup.
But, without root you can't backup.
But, how should you root if you don't have an unlocked bootloader??? And it goes on and on and on and on....
The "trick" is to flash a firmware from another device (not z3 tablet compact) that can be rooted via the exploit. But nobody wanta to use the "other" firmware to gain root. This "other" firmware is only used to gain root temporary so you can backup the drm keys (false, the other firmware is used to gain root and then install a custom recovery, so you can flash a prerooted and updated lollipop firmware based on official Xperia Z3 Tablet Compact firmware).
Click to expand...
Click to collapse
I would advise not to answer questions about root without understanding the process and/or misguiding people asking for help.
The information you give above is wrong. You don't need to unlock your bootloader provided you downgrade to an explotable firmware.
The thread that details how to root your Xperia Z3 Tablet Compact is this one:
http://forum.xda-developers.com/z3-...to-rooted-lollipop-locked-bootloader-t3083980
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
You may ask any doubts in that thread.
BarajaVLC said:
I would advise not to answer questions about root without understanding the process and/or misguiding people asking for help.
The information you give above is wrong. You don't need to unlock your bootloader provided you downgrade to an explotable firmware.
The thread that details how to root your Xperia Z3 Tablet Compact is this one:
http://forum.xda-developers.com/z3-...to-rooted-lollipop-locked-bootloader-t3083980
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
You may ask any doubts in that thread.
Click to expand...
Click to collapse
Well, the OP (junior member) mentioned "strange languages". So he/she might not understand all this complex steps. That's why I "let it be" to keep the things easy. If he/she understands these steps then it's good for him/she. But you're right, I lied. And thanks for the clarification and pointing out my wrong information.
Personally, I had every Xperia unlocked without backing up the DRM keys. I never had any disadvantage. I was, however, a little reluctant with the XT3C. That's because I use it as both my phone and tablet.
Still, did it now. No adverse effects. Root is SO much more important than the Bravia engine or whatever. And the camera isn't very good anyway so I don't miss the 'better' quality. It's bad either way

how to unlock bootloader

hello devs and members
i want to unlock bootloader of my d6503
how to do that
should i need to backup something?
before unlock bootloader
and bootloader unlocking is safe and to install roms like cm
Just follow original Sony guide. It may be a bit confusing for the first time but everything is described there.
Also before unlocking bootloader you may want to backup your TA partition. Just Google how to do it.
And yes, if you unlock your bootloader then you can install every rom.
I think there are guides on how to do what you want...
But make sure to backup EVERYTHING BEFORE you start the unlocking process.
Thank you sir for information
Unlocking bootloader is safe?
Unlocking your bootloader is perfectly safe, just make sure to backup everything since your phone(not your SD card though) will get wiped
thank you sir I backup my ta partition then I unlock bootloader. and now I'm using resremix latest version
Any way of unlocking the bootloader when the service menu says it can't be unlocked?

It's possible Root Xperia X keeping warranty?

Hello, I would like to know if it's possible root the Xperia X without unlock the bootloader... I need restore my Titanium backups from my old phone, but I don't want lose my warranty..
Thank you very much, best regards.
Not yet.
You can relock BL after rooting, but doing so wipes your TA partition, which contain DRM keys of your phone.

How do I relock the bootloader and update to the latest software?

So I rooted this phone 1 or 2 years ago and now I want to give this phone to my uncle. I read on some other sites to remove the root you just have to delete some folders etc and you're good. I did that but twrp is still on the phone.
I want to make it so the phone is no longer rooted and relock the bootloader so that it doesn't have the "do not trust this device" message on it
The build number it has installed is 34.4.A.2.85
hello. I'm XP docomo user here. let me tell you about my experience here. my bootloader unlock allowed was initially no. i backed up my ta partition before i force my bootloader allow to be yes. it was a successful attempt and i went straight unlocking my bootloader. then i attempted to flash back my ta for fun. the bootloader was automatically locked and the allow was no again. twrp recovery also gone lol. i don't know whether this will okay for you
the main point is backup your ta partition before unlocking the bootloader. it has drm keys which really vital to xperia camera as well as x reality mode/ super vivid. once you unlocked the bootloader, the drm keys will be gone for good unless you've it backed up.
i think restoring the ta partition which is created before unlock is the best way to relock the bootloader again.
first restore the ta partition, download latest firmware on xperifirm, use flashtool to flash ftf created by xperifirm. then, voila.
friendly reminder, flash only ftf supported for your variant. (eg. flash only f8131 ftf for f8131, SO-04H ftf for SO-04H, etc)
DO NOT ATTEMPT TO FLASH OTHER PERSON'S TA PARTITION OR YOU WILL GET ETERNITY HARD BRICK
If you didn't back up your TA partition, you can NOT unlock, as the previous poster said, trying to flash one from a different device will irrecoverably brick your one.
You can flash stock with Flashtool (the one by Androxyde, not Sony Flash Tool, they are different) though. While at it, you might give SailfishOS and Ubuntu Touch (alternative, Linux-based OSes) a shot.

Categories

Resources