[Q] Xperia SP Unblocking Bootloader and Rooting - Xperia SP General

Hi,
I have an Xperia SP (12.A.1.201, LOCKED bootloader). I want to root my device but rooting requires unlocked bootloader I need to preserve the DRM keys.
According to [Tutorial] Xperia SP Bootloader Unlocking/Relocking (http://forum.xda-developers.com/showthread.php?t=2354721), I need to ROOT my device first to backup the DRM keys but then as per [RECOVERY] CWM-Based Recovery 6.0.4.6 + ROOT for Xperia SP [20140528] (http://forum.xda-developers.com/showthread.php?p=50272112), I need to UNLOCK bootloader first.
Quite confusing. What needs to be done? I need help.
I cannot lose my DRM keys.
Thanks!

blitzrotz said:
Hi,
I have an Xperia SP (12.A.1.201, LOCKED bootloader). I want to root my device but rooting requires unlocked bootloader I need to preserve the DRM keys.
According to [Tutorial] Xperia SP Bootloader Unlocking/Relocking (http://forum.xda-developers.com/showthread.php?t=2354721), I need to ROOT my device first to backup the DRM keys but then as per [RECOVERY] CWM-Based Recovery 6.0.4.6 + ROOT for Xperia SP [20140528] (http://forum.xda-developers.com/showthread.php?p=50272112), I need to UNLOCK bootloader first.
Quite confusing. What needs to be done? I need help.
I cannot lose my DRM keys.
Thanks!
Click to expand...
Click to collapse
You have to downgrade then root to backup the DRM keys once the 4.3 doesn't have an exploit to root
IF I HELPED YOU PRESS THE THANKS BYTTON

Related

The Xperia Z3 and Z3 Compact receive root

Courtesy of recognized developer DooMLoRD, you can now root your new Xperia Z3 and Xperia Z3 Compact, and also slap on a custom recovery for all your flashing needs.
To do so, you'll need a model of either with an unlocked bootloader (stock firmware or ROMs based on it), and you'll have to flash a custom kernel. Once done, you'll have access to a ClockWorkMod custom recovery (v6.0.4.7). From that point on, if you'd like to root your Z3 or Z3 Compact, you'll have to download SuperSU and save it onto an SD card and flash it through CWM. The developer recommends you download BusyBox right after rooting, and install it in /system/xbin.
Right now, the list of known issues is very short: you'll only have to settle for not being able to use adb through the recovery. According to DooMLoRD, this can be solved later. For now though, you can enjoy your new-found freedom (granted you have one of the two new Xperias).
Without killing DRM keys and X-Reality ?
not until somebody finds a new exploit to get root without unlock.
You can check the threads in the android development section for more info
No. Unlocking the bootloader will kill the DRM keys.
We need to wait for someone to find an exploit-based root method so we can backup the partition with keys, unlock the bootloader, then restore. Does anyone know for sure what it is the DRM keys control? I've heard OTA updates and X-Reality but my main concern is losing remote-play when it's launched.
jayjoekuakua said:
Courtesy of recognized developer DooMLoRD, you can now root your new Xperia Z3 and Xperia Z3 Compact, and also slap on a custom recovery for all your flashing needs.
To do so, you'll need a model of either with an unlocked bootloader (stock firmware or ROMs based on it), and you'll have to flash a custom kernel. Once done, you'll have access to a ClockWorkMod custom recovery (v6.0.4.7). From that point on, if you'd like to root your Z3 or Z3 Compact, you'll have to download SuperSU and save it onto an SD card and flash it through CWM. The developer recommends you download BusyBox right after rooting, and install it in /system/xbin.
Right now, the list of known issues is very short: you'll only have to settle for not being able to use adb through the recovery. According to DooMLoRD, this can be solved later. For now though, you can enjoy your new-found freedom (granted you have one of the two new Xperias).
Click to expand...
Click to collapse
@jayjoekuakua please check your PM's.

An Idea To Root With Locked Bootloader (E6853)

Well, I have investigated a way to root and backup the drm keys before unlock the bootloader, and i found this guide to root an impossible tablet SGP21 with a system of a z3 phone d6603 vulnerable firmware and kernel:
http://forum.xda-developers.com/z3-...t/root-root-locked-bootloader-sgp621-t3013534
So maybe we can adapt this guide to work with our device and root with giefroot or with kingroot, what do you think guys?
Cause i wanna try to flash the system of a z3 first and see if it boots but i donĀ“t know if is possible to damage my phone or i can revert back without problem?
Thanks for reading my thoughts.....
Your idea is similar to this http://forum.xda-developers.com/xperia-z5/general/flash-z3-firmware-to-root-flash-z5-t3310611
The problem is, apart from the risk of bricking, that we don't have a rootable stock rom to flash for the Z5 line: Z4 has no locked bl root and Z3/Z3c have a completely different hardware and their firmware would probably not boot on a Z5.
I think that noone can tell you that you'll brick or not your phone, if you really wish, you have to try yourself. But, in my opinion, it's stupid to do so as it won't boot properly.
You are right , and how about this guide?
http://forum.xda-developers.com/att-galaxy-s6/general/root-5-1-1-qa-oj7-root-snag-t3334546
It looks like a tethered root is possible in a locked environment, it requires that each reboot you have to manually set selinux to permissive via adb in order to get your phone to boot, so may be we can implement in that way only to backup the DRM Keys and then unlock the bootloader and the phones with locked bootloader can achieve root with a tethered solution, is this possible in this phone? :fingers-crossed:
We need someone to help us
unfortunately this in not possible, because of dm-verity protection we have on Z5 devices, look here
http://www.xda-developers.com/a-look-at-marshmallow-root-verity-complications/
and my answer here:
http://forum.xda-developers.com/xperia-z5/general/root-using-vulnerabilities-snapdragon-t3338173
The only available option seems temporary root/system priviledges and backup of the TA partition, then unlock the bootloader

Z2 owners, it's time to get a Z5 !! (backup of TA partition now possible)

Thanks to @zxz0O0, backup of TA partition is now possible on the Z5 series: iovyroot - (temp) root tool. In other words, permanent root still need unlocked bootloader, but you can now backup your device DRM keys before unlocking the bootloader! Thus, if for one reason or another, you want to relock your bootloader, you will be able to restore your DRM keys. It's a huge step forward !
Due to DM-Verity, it is highly unlikely that permanent root will be achieved for locked bootloader.
Once the bootloarder is unlocked, the DRM keys are gone, but you can recover ALL the lost functionalities with the patch of @tobias.waldvogel
I've a Z5 for several months and I'm very very happy with it
Note: don't buy "on contract" phones, their bootloaders are often unlockable...
In other words, permanent root still need unlocked bootloader
How you take TA Backup without ROOT?
(Before Unlock Bootloader)
And That Patch, i dont think it give back our Official DRM Keys.
RaKesh said:
In other words, permanent root still need unlocked bootloader
How you take TA Backup without ROOT?
(Before Unlock Bootloader)
And That Patch, i dont think it give back our Official DRM Keys.
Click to expand...
Click to collapse
Pls read this thread and you will understand...
[WIP] [LB] [TEMP ROOT] Z5/Z5C Backup of TA Partition / DRM Keys

Xperia Z2 Pre-Unlocked Bootloader FTF file

Hello, to skip the normal intro let me cut to the chase:
I would like to ask if anyone knows of an FTF file with an already unlocked Bootloader.
(Or a viable method of installing/rooting my phone with a locked bootloader that doesn't require any bootloader actions to reach the recovery menu/ no use of a recovery menu at all)
I'm on a Nordic Generic OS (6.0.1) and my bootloader is fully locked without any possible way for it to be unlocked.
I tried the official way, flashtool way. Nada/Zip/Nope it just flat out doesn't work.
Does anyone know of a FTF that's already unlocked that can be linked to me? (I realise I've done a moronic mistake flashing a locked FTF)
I'm have a D6503 Xperia Z2 and is can I possibly flash a 4.4.2 version with an unlocked bootloader>root it>install Paranoid Android and be done with it?
root or recovery not recuired Unlocked Bootloader
downgrade to Lollipop and root and recovery or do like this
http://forum.xda-developers.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280

Shopping for Sony X Compact, Just a question.

Hello, my Nexus 5X has bootlooped for the second time and I'm on my second version. Sort of getting sick of this and looking for a new 4.5-5" screen phone. I was looking at the X Compact. My biggest qualifier for what I want in a phone is something that is rootable where I can run Adblock to block ads. I don't really mind about anything else, I just don't want to see ads. I was wondering what the current status is on unlocking bootloader, rooting, and running rooted on the Sony X Compact? Is there any caveats that I should know about before I jump into the phone? (I noticed that the XZ1 Compact if you root it, it sort of breaks the camera).
TL;DR
1. Downgrade to Marshmallow (use xperifirm)
2. Backup TA partition (https://forum.xda-developers.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236)
3. Flash Nougat/Oreo if needed
4. Flash boot img with drm fix or ta_poc (read this https://forum.xda-developers.com/x-compact/how-to/stock-8-0-root-recovery-t3747479)
Same thing happens with x compact. When you unlock bootloader, it wipes TA partition. If TA partition is wiped, it will make camera result bad. Do not unlock bootloader and root yet before backing up TA. TA partition can be backed up using an exploit on Marshmallow. Therefore you need to flash MM stock rom. Then use the tool to backup TA.
If you back up the TA partition, you can flash it back after (will relock the boot loader and wipe data). This is useful if you decide to go fully stock without root. This is also useful if you send your phone to sony for repair.
Two way of fixing camera issue are by using kernel with
1. the drm fix. This by pass drm check. This can be done even if you forgot the TA backup step
2. ta_poc. mount backed up TA partition and link it.

Categories

Resources