Related
12/06/2014: I created a Greek generic pre-rooted 12.1.A.1.205 made with @quetzalcoatl2435 guide.
Download.
07/04/2014: 12.1.A.1.201 made with @quetzalcoatl2435 guide. Includes be2_album for Bravia Engine fix.
Download.
Mirror but with zipped file (needs unzipping to get the flashable zip).
To root --> Follow this guide.
To CWM --> Follow this guide.
To flash Rom:
-------------
1. Boot in CWM.
2. Clear dalvik cache, wipe cache, wipe data.
3. Flash the Rom zip.
4. Flash SuperSU 1.93.
5. POWER OFF <-- Very important or you will get bootloop!.
6. (Old:Flash .201 kernel with flashtool in flashmode). Flash .205 kernel with flashtool in flashmode from a .205 ftf firmware file choosing first to exlude everything but kernel. Or you can flash .205 kernel sin file with flashtool in fastboot mode, guide.
subwrc said:
I created a Greek generic pre-rooted 12.1.A.1.201 made with @quetzalcoatl2435 guide.
Download.
To root --> Follow this guide.
To CWM --> Follow this guide.
To flash Rom:
-------------
1. Boot in CWM.
2. Clear dalvik cache, wipe cache, wipe data.
3. Flash the Rom zip.
4. Flash SuperSU 1.93.
5. Power off.
6. Flash .201 kernel with flashtool in flashmode.
Click to expand...
Click to collapse
Is the kernel same for all country's and Models ?
Rushaan™ said:
Is the kernel same for all country's and Models ?
Click to expand...
Click to collapse
According to this post i think so, but I can' t tell you for sure.
Thanks
subwrc said:
According to this post i think so, but I can' t tell you for sure.
Click to expand...
Click to collapse
Thanks for answering my question
Have a nice day
If it's a flash able zip, then why does your title says FtF
Sent from my C5303 using Tapatalk
neXus PRIME said:
If it's a flash able zip, then why does your title says FtF
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Oh sorry! I corrected it!
subwrc said:
I created a Greek generic pre-rooted 12.1.A.1.201 made with @quetzalcoatl2435 guide. Includes be2_album for Bravia Engine fix.
Download.
To root --> Follow this guide.
To CWM --> Follow this guide.
To flash Rom:
-------------
1. Boot in CWM.
2. Clear dalvik cache, wipe cache, wipe data.
3. Flash the Rom zip.
4. Flash SuperSU 1.93.
5. Power off.
6. Flash .201 kernel with flashtool in flashmode.
Click to expand...
Click to collapse
Thanks for this ,but for newbies the how to is a bit scant
for example -
Where is the Rom. zip as per -
3. Flash the Rom zip.
and is this all i have to do, as in will i then have Greek 12.1.A.201 on my phone after this -
6. Flash .201 kernel with flashtool in flashmode.
also, as this is a Greek rom, will i be able to read the menus as i am not Greek?
...please pardon all the noob questions, just wanna be sure so i dont brick my phone
b00b said:
Thanks for this ,but for newbies the how to is a bit scant
for example -
Where is the Rom. zip as per -
3. Flash the Rom zip.
and is this all i have to do, as in will i then have Greek 12.1.A.201 on my phone after this -
6. Flash .201 kernel with flashtool in flashmode.
also, as this is a Greek rom, will i be able to read the menus as i am not Greek?
...please pardon all the noob questions, just wanna be sure so i dont brick my phone
Click to expand...
Click to collapse
In (3) i mean to flash the downloaded rom from the link i gave, witch is a zip file.
Yes you can change language and read the menus.
Here is a detailed guide but for another rom file.
subwrc said:
In (3) i mean to flash the downloaded rom from the link i gave, witch is a zip file.
Yes you can change language and read the menus.
Here is a detailed guide but for another rom file.
Click to expand...
Click to collapse
Most appreciated subwrc
Please delete it.. wrong section..
Is this for C5302 or C5303?
Also, do you have to "wipe data" or can you keep your data so when you start the phone after completing the installation, all your apps still remain?
Xadious said:
Is this for C5302 or C5303?
Also, do you have to "wipe data" or can you keep your data so when you start the phone after completing the installation, all your apps still remain?
Click to expand...
Click to collapse
It's for C5303.
I think you can keep your data partition but haven't tried though. Do a backup first.
I am running 121A1201 official.What should i do to install this rom .I ask this because as i see this guide is referred to people who have not already updated to 201...
Thanks in advance!
Theorw said:
I am running 121A1201 official.What should i do to install this rom .I ask this because as i see this guide is referred to people who have not already updated to 201...
Thanks in advance!
Click to expand...
Click to collapse
You have to do everything from the beginning as described in the first post. Root, install recovery and flash rom.
Thank you for the kernel itself. My C5303 (Central Europe) now works flawlessly with ROOT. DooMLoRD kernel had problems with RAM.
I bit the bullet and done this upgrade (from android v4.12 to now android v4.3) and it went well
So now i have android 4.3 on my xperia sp and i also have my data intact too as i chose not to 'wipe data' before flashing, however i did clear dalvik cache and wipe cache.
Most important though, is that i can now use three (3 uk) 4g (LTE), which i couldnt use without upgrading to android v4.3
For the curious this is what I used (and i followed the instruction here -http://forum.xda-developers.com/showpost.php?p=51654818&postcount=1) -
- pre-rooted.C5303_12.1.A.1.201_Generic GR_1272-4887.zip - (the rom in this thread using the link provided by the OP in the 1st post in this thread)
- UPDATE-SuperSU-v1.93.zip - (using the link provided by the OP in the 1st post in this thread)
- recoverys_signed_040414_162006.zip --- (my new recovery - for more see here - http://forum.xda-developers.com/showpost.php?p=50359355&postcount=1)
Now that i am happy with the upgrade, my question to those who have upgraded to android v4.3 is this -
(1). for security i used to use LBE Security Guard in v4.12 and it worked okay, however the version i have does not seem to be working properly on android v4.3, especially the blocking of apps from using the internet (4g/LTE) ...any known solutions with regards to this app?
(2). Likewise for security i used to use Xprivacy on android 4.12 but however it too does not seem to be working properly all the time now and i suspect that its because i still have installed the version i had before upgrading to v4.3, any suggestions as to the version of Xprivacy that anyone on v4.3 are now using please?
correction
just realised no wifi after upgrade
wifi does turn on but no router shows up and i am surrounded with routers and even if i manually add a router or access point, it does not do anything when i click on the newly created access point.
Anyone having this issue and any suggestion pls?
b00b said:
correction
just realised no wifi after upgrade
wifi does turn on but no router shows up and i am surrounded with routers and even if i manually add a router or access point, it does not do anything when i click on the newly created access point.
Anyone having this issue and any suggestion pls?
Click to expand...
Click to collapse
You may have to try a clean install.
subwrc said:
You may have to try a clean install.
Click to expand...
Click to collapse
Actually the problem has been traced back to the ROM, something to do with symlink, see here for fix after upgrade -
http://forum.xda-developers.com/showthread.php?p=52662520
Thanks to the OP in that post, his post and subsequent solution saved me a lot of headache and maybe me posting this here will help others in a similar situation
Updated to .205.
Note: Since lowtraxx's guide has included how to get back to stock rom since the time this post was made, I strongly suggest to follow his guide instead.
==========================
Disclaimer:
I make no claims to any of the codes, scripts and programs listed in this post. Credit goes to the creators.
This serves as a extension of lowtraxx's guide (which left your device on a rooted SGP621 on a D6603 system).
These are what I did to get stock rooted firmware on my SGP621 while keeping the bootloader locked and most importantly, the DRM keys intact. I make no guarantees that you will not brick your device, but I did quite a lot of trial and error flashing without messing things up, so if you know what you are doing, these steps should be relatively safe.
Files/Tools Required:
Backup TA by DevShaft
Flashtool by Androxyde
Stock SGP621 FTF (I compiled my own by downloading the firmware using XperiFirm by laguCool and bundling the FTF using Flashtool. Alternatively, you can just use the one provided in lowtraxx's guide.)
Advanced Stock Kernel by krabappel2548
PRFCreator by zxz0O0
SuperSU by Chainfire
SonyRICDefeat by dosomder
Prerequisite:
Follow lowtraxx's guide to completion.
Steps:
Backup TA partition using Backup TA.
Return to stock unrooted by flashing the SGP621 FTF using Flashtool.
Unlock the bootloader (You'll lose the DRM keys here, but it doesn't matter anymore since you already have them backed up using Backup TA).
Flash the Advanced Stock Kernel using Flashtool in FastBoot mode. At this point your device will be unlocked, with DRM keys lost, and rooted with custom recovery.
Using PRFCreator on the SGP621 FTF and the SuperSU zip, create a rooted stock firmware flashable zip. Note: Be sure to check all the checkboxes under the "Include" section.
Copy the resulting zip onto your device's internal storage or external SD card.
Also copy the SonyRICDefeat zip to the same location.
Boot into TWRP on your device (Boot up the device and press the Volume down key when the purple LED lights up on the Sony boot screen).
Flash the rooted stock firmware zip followed by the SonyRICDefeat zip.
Once complete, reboot into system and set up the device for USD Debugging.
Restore the TA partition using Backup TA.
Reboot the device again and you now have the device on rooted stock firmware, with DRM keys intact.
CubicU07 said:
Disclaimer:
I make no claims to any of the codes, scripts and programs listed in this post. Credit goes to the creators.
This serves as a extension of lowtraxx's guide (which left your device on a rooted SGP621 on a D6603 system).
These are what I did to get stock rooted firmware on my SGP621 while keeping the bootloader locked and most importantly, the DRM keys intact. I make no guarantees that you will not brick your device, but I did quite a lot of trial and error flashing without messing things up, so if you know what you are doing, these steps should be relatively safe.
Files/Tools Required:
Backup TA by DevShaft
Flashtool by Androxyde
Stock SGP621 FTF (I compiled my own by downloading the firmware using XperiFirm by laguCool and bundling the FTF using Flashtool. Alternatively, you can just use the one provided in lowtraxx's guide.)
Advanced Stock Kernel by krabappel2548
PRFCreator by zxz0O0
SuperSU by Chainfire
SonyRICDefeat by dosomder
Prerequisite:
Follow lowtraxx's guide to completion.
Steps:
Backup TA partition using Backup TA.
Return to stock unrooted by flashing the SGP621 FTF using Flashtool.
Unlock the bootloader (You'll lose the DRM keys here, but it doesn't matter anymore since you already have them backed up using Backup TA).
Flash the Advanced Stock Kernel using Flashtool in FastBoot mode. At this point your device will be unlocked, with DRM keys lost, and rooted with custom recovery.
Using PRFCreator on the SGP621 FTF and the SuperSU zip, create a rooted stock firmware flashable zip.
Copy the resulting zip onto your device's internal storage or external SD card.
Also copy the SonyRICDefeat zip to the same location.
Boot into TWRP on your device (Boot up the device and press the Volume down key when the purple LED lights up on the Sony boot screen).
Flash the rooted stock firmware zip followed by the SonyRICDefeat zip.
Once complete, reboot into system and set up the device for USD Debugging.
Restore the TA partition using Backup TA.
Reboot the device again and you now have the device on rooted stock firmware, with DRM keys intact.
Click to expand...
Click to collapse
Hey, How did you manage to avoid soft bricking your tablet?
i followed your instructions but i still get softbricks.
frostmore said:
Hey, How did you manage to avoid soft bricking your tablet?
i followed your instructions but i still get softbricks.
Click to expand...
Click to collapse
At which point did you get softbricks? Try to do a data wipe from recovery and see if it helps.
CubicU07 said:
At which point did you get softbricks? Try to do a data wipe from recovery and see if it helps.
Click to expand...
Click to collapse
Step 9.
For me, I got soft brick after restoring the TA partition. Ended up repeating the whole process flashing stock firmware again. After that, I found that I need to tick all the checkbox in the PRFCreator when creating the flashable zip. After the flash and restore, I am able to boot smoothly.
Pingpoi said:
For me, I got soft brick after restoring the TA partition. Ended up repeating the whole process flashing stock firmware again. After that, I found that I need to tick all the checkbox in the PRFCreator when creating the flashable zip. After the flash and restore, I am able to boot smoothly.
Click to expand...
Click to collapse
I guess I wasn't too clear on how to use PRFCreator, apologies for that. Added a note in to reflect that in the original post.
Can i do it on unlocked bootloder?
Which step should i skip? Thanks
zalaz said:
Can i do it on unlocked bootloder?
Which step should i skip? Thanks
Click to expand...
Click to collapse
Start from Step 4 since your bootloader is unlocked.
Since lowtraxx's guide now also include guides to flash rooted stock or CM, so that means both guides do the same thing now? Since I was a little confused while reading the instruction:
Prerequisite:
Follow lowtraxx's guide to completion.
Anyway, thanks both for the great works!!
Please,i have the same confuse as ultima888 with "Prerequisite:
Follow lowtraxx's guide to completion.".
Should i only follow that guide,from this topic? (as it describe full way to get root and stock rooted FW,
or i understand some wrong?) Or i must to go all through lowtrack's guide and THEN do in ptactice the same steps from this guide?
Pls understand me, here are some confusings her, i don't like to softbrick my device and ask just to be sure...
Thanks in advance!!!
ValVK said:
Please,i have the same confuse as ultima888 with "Prerequisite:
Follow lowtraxx's guide to completion.".
Should i only follow that guide,from this topic? (as it describe full way to get root and stock rooted FW,
or i understand some wrong?) Or i must to go all through lowtrack's guide and THEN do in ptactice the same steps from this guide?
Pls understand me, here are some confusings her, i don't like to softbrick my device and ask just to be sure...
Thanks in advance!!!
Click to expand...
Click to collapse
Do lowtraxx's post first.
Then follow this post.
i am little bit confused by all of those steps to get root. (described in this and related threads)
if i understood the whole procedure right then we have to get root first
via flashing a vulnerable firmware made for another device, to be able to backup the drm keys right?
but then we lose root again while flashing back latest stock rom.
now we have to proceed with unlocking the bootloader to get root and recovery.
finally we restore drm keys and doing so bootloader is locked again ?
is this basically what all those steps are for and do i have to go through all of them
if i "just" want to get root on latest stock (no custom roms) to install xposed framework?
thanx in advance and keep up the good work.
sorry, I only speak Spanish, I used google translate:
The original firmware is not vulnerable. The only way get root is opening the bootloader (and put a custom recovery to install SuperSU) but that the drm keys are lost. To keep the drm keys have to get to backup the partition TA without opening the bootloader. To make the backup you need to root and to achieve this must be mixed before 2 firmwares.
Restoring the TA partition relock the bootloader
You should only restore the TA partition with an original kernel
Bundling the FTF question
[*]Stock SGP621 FTF (I compiled my own by downloading the firmware using XperiFirm by laguCool and bundling the FTF using Flashtool. Alternatively, you can just use the one provided in lowtraxx's guide.)
Click to expand...
Click to collapse
Thanks for the guide!
Just a newbie question. What Sony device did you select in Flashtool when you bundled the firmware? I can not find SGP621 anywhere.
/kusk
SO i made a lollipo ftf pre rooted but when i tried to flash RICDefeat it would give me an error. I rebooted the system and everything seems fine, what exactly did that zip file do. What problems im i going to have with the divice and is there any way of fixing it.
thx
Dear CubicU07.
I have a question for u. I have a z3 tablet but it's SGP641 so if i follow this guide for my z3t 641 , have any problems with this ?
Ty for reading
Works on SPG611
Thank you for the guide. Was redirected from http://forum.xda-developers.com/z3-...t-rooting-sgp611-giefroot-bootloader-t3017314 and your guide was perfect. Thank you for your effort.
Same for me
Sony RIC protection not work on Lolipop. A new Version would be nice.
Hi everyone,
In step 5,
1. do I have to check the checkbox in "Sign zip"?
2. do I have to put any recovery file under "recovery zip" section?
Thanks.
waichai said:
Hi everyone,
In step 5,
1. do I have to check the checkbox in "Sign zip"?
2. do I have to put any recovery file under "recovery zip" section?
Thanks.
Click to expand...
Click to collapse
1. no
2.no
Hi Guys,
I have uploaded the latest Xperia Z1 firmwire (14.6.A.1.216). This is Customized India version of the firmware. Happy Flashing.
FTF: Stock Firmwire from Xperifirm
Google Drive:https://drive.google.com/file/d/0By3wU4_J-OtSc1AzX1VGVHBGaWM/view?usp=sharing
Mega Link:https://mega.nz/#!Zl5G2L7a!ApEVE_cnByb8d6mGrdkfHShuJG8fw-fJ0O_NCJQaLTc
PRE-Rooted Firmwire: Added, with Dual recovery and SuperSU V2.48. The Zip is signed
Google Drive:https://drive.google.com/file/d/0By3wU4_J-OtSTzZFNlBPanhBdTQ/view?usp=sharing
Mega Link:https://mega.nz/#!ZoI3kSZT!Ka2yNisE_vN2bcsTTNHxvkR5NzWQ--uuhTJcfnoA10M
credits:
Sony- obviously!!, for the awesome Xperia Z1 and this update
IaguCool -for Xperifirm
Androxyde & DoomLord-for Flashtool
zxz0O0-for PRF creator
Pre-Rooted Firmwire added!!
Google Drive links soon...
Procedure:
Full wipes
Flash preroot
Flash supersu
Flash xzdualrecovery
Or
Only wipes and flash prerooted zip
Enviado desde mi C6902 usando Tapatalk 2
@ismaelghr Only wipe and flash Pre-Rooted Firmwire
Is for c6903 to? Or is only to c6902?
Enviado do meu C6903 através de Tapatalk
@Botandroid Only C6902..
Good.
Needed help on flashing
hi. i am new to this flashing stuffs. i currently run on generic 4.4.2 rooted on my Z1. i am looking for Pre-rooted stock 14.6.A.1.216. can someone help me how to flash my mobile step-by-step?
Siddharth Mahendran said:
hi. i am new to this flashing stuffs. i currently run on generic 4.4.2 rooted on my Z1. i am looking for Pre-rooted stock 14.6.A.1.216. can someone help me how to flash my mobile step-by-step?
Click to expand...
Click to collapse
@Siddharth Mahendran You should have a Recovery installed on your phone before flashing a Pre-Rooted firmware...
Use Xperia [Nut]'s Dual recovery installer for Xperia Z1: http://nut.xperia-files.com/?ql=162303ad4b67ec4f7c00159b1de0e18807279c4a
If the Procedure hasn't changed(Becoz its been long since I used it), It should have .bat file or some kind of command line script. Have USB debugging and unknown sources enabled on your device. Connect your phone to ur PC and execute the bat file. It should search for the device and it will install the Dual Recovery.
Then, Copy the pre-rooted firmware that you downloaded from here into your phone. Reboot your phone, while booting the notification LED will light up, and then press Volume Down/Up button, based on the recovery you want. Then, wipe system, data, cache and dalvik cache using the option like wipe/format based on the recovery you are using. Then, Choose install->search for the Pre-rooted Firmware you copied,select it and Confirm installation. Once Completed, Reboot device.
Remember That, First boot will take a long time, be patient...
Backup all data before, trying anything on XDA!!!!
I am not responsible, if you do anything wrong or something went wrong in the Procedure!!!
Gladwin_Prince said:
@Siddharth Mahendran You should have a Recovery installed on your phone before flashing a Pre-Rooted firmware...
Use Xperia [Nut]'s Dual recovery installer for Xperia Z1: http://nut.xperia-files.com/?ql=162303ad4b67ec4f7c00159b1de0e18807279c4a
If the Procedure hasn't changed(Becoz its been long since I used it), It should have .bat file or some kind of command line script. Have USB debugging and unknown sources enabled on your device. Connect your phone to ur PC and execute the bat file. It should search for the device and it will install the Dual Recovery.
Then, Copy the pre-rooted firmware that you downloaded from here into your phone. Reboot your phone, while booting the notification LED will light up, and then press Volume Down/Up button, based on the recovery you want. Then, wipe system, data, cache and dalvik cache using the option like wipe/format based on the recovery you are using. Then, Choose install->search for the Pre-rooted Firmware you copied,select it and Confirm installation. Once Completed, Reboot device.
Remember That, First boot will take a long time, be patient...
Backup all data before, trying anything on XDA!!!!
I am not responsible, if you do anything wrong or something went wrong in the Procedure!!!
Click to expand...
Click to collapse
thanks. I will try this once the .zip file got downloaded
Gladwin_Prince said:
@Siddharth Mahendran You should have a Recovery installed on your phone before flashing a Pre-Rooted firmware...
Use Xperia [Nut]'s Dual recovery installer for Xperia Z1: http://nut.xperia-files.com/?ql=162303ad4b67ec4f7c00159b1de0e18807279c4a
If the Procedure hasn't changed(Becoz its been long since I used it), It should have .bat file or some kind of command line script. Have USB debugging and unknown sources enabled on your device. Connect your phone to ur PC and execute the bat file. It should search for the device and it will install the Dual Recovery.
Then, Copy the pre-rooted firmware that you downloaded from here into your phone. Reboot your phone, while booting the notification LED will light up, and then press Volume Down/Up button, based on the recovery you want. Then, wipe system, data, cache and dalvik cache using the option like wipe/format based on the recovery you are using. Then, Choose install->search for the Pre-rooted Firmware you copied,select it and Confirm installation. Once Completed, Reboot device.
Remember That, First boot will take a long time, be patient...
Backup all data before, trying anything on XDA!!!!
I am not responsible, if you do anything wrong or something went wrong in the Procedure!!!
Click to expand...
Click to collapse
@Gladwin_Prince Thanks bro. Changed to Android 5.1.1. I see no amazing features in lollipop.thats disappointing
gonna port needed apps
lol i softbrick my device!
I tried to flash stock ftf using flashtool but still no use!
restarts on booting! what to do now?
I mean which files i do include or exclude? and what to do when it ask to use fsc script found?
Nagesh_Noddy said:
lol i softbrick my device!
I tried to flash stock ftf using flashtool but still no use!
restarts on booting! what to do now?
I mean which files i do include or exclude? and what to do when it ask to use fsc script found?
Click to expand...
Click to collapse
Just use the latest Flashtool, it should solve all the problems with the fsc script... To recover your device from softbrick, don't exclude anything, make sure all wipes are checked and you are good to go. hope that helps.
Gladwin_Prince said:
Just use the latest Flashtool, it should solve all the problems with the fsc script... To recover your device from softbrick, don't exclude anything, make sure all wipes are checked and you are good to go. hope that helps.
Click to expand...
Click to collapse
I flashed .108 by flashtool with user-data.sin and exclude some items! rooted by rootkit! install nut recovery now again ready to flash pre-rooted .216!
tysm for firmware
Installed this and deodexed as well, xposed doesnt work. Any solutions?
Thanks.
timvonlee said:
Installed this and deodexed as well, xposed doesnt work. Any solutions?
Thanks.
Click to expand...
Click to collapse
Xposed works with .216 firmware. Running it myself.
Have you downloaded the correct 2 files for running xposed on lollipop?
motorazrv3 said:
Xposed works with .216 firmware. Running it myself.
Have you downloaded the correct 2 files for running xposed on lollipop?
Click to expand...
Click to collapse
Can you Give the link for correct xposed? i reverted back to 4.4.2 since xposed didnt work fo me
Siddharth Mahendran said:
Can you Give the link for correct xposed? i reverted back to 4.4.2 since xposed didnt work fo me
Click to expand...
Click to collapse
I think the system isn't getting mounted as rw, and since xposed installer writes to system, it is failing to install. Kindly tell me how to mount system as rw since even after deodexing it isn't getting mounted.
timvonlee said:
I think the system isn't getting mounted as rw, and since xposed installer writes to system, it is failing to install. Kindly tell me how to mount system as rw since even after deodexing it isn't getting mounted.
Click to expand...
Click to collapse
Sorry. idk about that.maybe senior members would help
Hi! can you update this with the the latest release 236?
=========================How To Backup/Restore TA Partition And Root The Device?=======================
=========Basic Questions/Answers Related To Sony Mobiles=========
1) What Is TA Partition?
A) Sony Xperia devices store all the precious information regarding warranty status, DRM keys, etc. into a partition called â??TAâ?Â, and fortunately you can backup this TA partition before unlocking the Bootloader on your Xperia device and restore it when needed.
2) What are DRM keys?
A) DRM keys are the unique keys that enables advanced technologies like the BIONZ image processor ,X-Reality Engine etc..
3) What Happens If You Unlock Bootloader?
A) When you unlock Bootloader,the TA Partition is formatted as a result the DRM keys are lost thus we will lose technologies like the BIONZ image processor ,X-Reality Engine etc..
4) What Is DRM Fix?
A) DRM Fix is a tool that to restore the lost functions.
*******************************************************************************************************************************
===================================How To Backup TA Partiton==================================
"iovyroot" A developer has developed a tool for backing up the TA Partiton. Unfortunatly it works only on Lollipop Kernel so you will have to downgrade to Lollipop.
Downgrading To Lollipop
* Download Flashtool and install it
* Download firmware from below link :
https://goo.gl/MJSEJd
* Start Flashtool
* Click on the lightning bolt icon
* Select "Flashmode"
* Locate the Lollipop firmware you have downloaded and select it.
* In the Wipe Option Select all the partitons. (Otherwise things will crash a lot and you won't get into the phone properly.)
* Turn off the phone.
* Wait for Flashtool to finish preparing the files.
* When prompted, hold "volume DOWN" button while plugging in the USB.
* Wait for it to finish.
* Once finished reboot the device.
Backing Up TA Partiton
Now that you're on Lollipop, you can use iovyroot. With this we can gain temporary root access and dump the TA partition to a file. This file is what we use to restore the DRM keys to your device after it's been wiped by unlocking the bootloader.
*Extract iovyroot_v0.4.zip and run "tabackup.bat"
Once it's done, you should have a TA-####.img file which sorta looks like "TA-16042016.img" and is approximately 2mb in size. That's your TA backup done and dusted!
Keep it safe somewhere.
===================================Unlocking The Booloader======================================
* Go to Settings > Developer options
* Tick "Enable OEM unlock"
* Open up a browser on your computer and follow the instructions at Sony's developer website.
* After receiving your email, entering your IMEI number and accepting some user conditions will provide you with an unlock code.
* Turn off your phone.
* In Flashtool, click on "BLU"
* Hold "volume DOWN" on your phone and plug it into the computer.
* When prompted, release volume down and unplug.
* Hold volume UP and plug it back in.
* You should now get a dialog which lets you enter an unlock code.
* Paste in the unlock code and click "Unlock".
* Wait for the phone to finish doing it's thing and restart.
===================================Rooting The Device==================================
* Download Latest AndroPlus Kernel From The Below Link:
https://goo.gl/mHJOFN
* Extract the zip file and find boot.img
* Flash the boot.img using cmd and fastboot.
Then,
* Download TWRP Recovery from Below Link :
https://goo.gl/AQ9Edi
* Flash the TWRP Recovery using cmd and fastboot.
* Now Download Latest SuperSu From Below Link :
http://download.chainfire.eu/supersu
* Transfer the file in to the device.
* Now Reboot the device.
* When booting press the volume rockers to access TWRP Recovery.
* Click Install and Flash the SuperSU zip file.
That's It ! You have rooted your device !
===================================How To Restore TA Partiton?==================================
Note : Restoring TA Partiton Will Re-Lock The Boot-Loader And You Will Loose Root Access.
* Copy your TA partition backup to the TA tool's extracted folder.
* Connect your device with USB Debugging Enabled
* Open up a command prompt to the extracted folder and type in the following:
tarestore.bat {Your TA Backup File}
Example :
tarestore.bat TA-14102016.img
This new restored TA partition should persist across device wipes and Android upgrades.
===================================How To Upgrade Your Device?==================================
* Download and install Flashtool.
* You will find a XperiFirm icon on the tool. Click it and download the latest firmware of your device.
As your download completes the tool automatically creates ftf file.
* Now click on the lightning bolt icon on the Flashtool.
* Select the Flashmode.
* Now,Select The Firmware.
* Tick all the boxes under Wipe.
Note: If you don't want to wipe user data then exclude userdata from ticking.
* Click on Flash
* Connect your device in flashmode when prompted.
* Wait for the firmware to flash and reboot once done!
That's it.
Please Hit Thanks If Helped
Thank You!
***********************************************************************************************************************
Thanks iovyroot for the tool.
Thanks XperiaBlog for the firmware.
Thanks a lot for this Tuto,
I think I will ry after work....
TA restoring can be done even if I want to use custom roms?
Can I use stock .305 and your kernel : Customized Stock Kernel {32.2.A.0.305 - 6.0.1} {Update} by heptyle to have directly root and TWRP after unlocking BL ?
mickael91210 said:
Thanks a lot for this Tuto,
I think I will ry after work....
TA restoring can be done even if I want to use custom roms?
Can I use stock .305 and your kernel : Customized Stock Kernel {32.2.A.0.305 - 6.0.1} {Update} by heptyle to have directly root and TWRP after unlocking BL ?
Click to expand...
Click to collapse
Yes, you can restore TA at any time. Install and try as many roms as you want. Also you can use the kernel directly for root and twrp.
Thank You!
I use E5803. Is it ok if i use ur tft file to roll nack to lollipop? If ok will i loose my finger print scanner? How do i get it back? Thanks
paq1170 said:
I use E5803. Is it ok if i use ur tft file to roll nack to lollipop? If ok will i loose my finger print scanner? How do i get it back? Thanks
Click to expand...
Click to collapse
I think it will work with E5803 too. Even if you loose fingerprint scanner you can upgrade to marshmallow after backuping the TA partition.
Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?
Thanks a lot
Mickael
Envoyé de mon D5803 en utilisant Tapatalk
mickael91210 said:
Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?
Thanks a lot
Mickael
Envoyé de mon D5803 en utilisant Tapatalk
Click to expand...
Click to collapse
Yes, now you are very safe as you have backed up the TA Partition .
Now,you can unlock bootloader from Sony's official site.
You can restore TA partition at any time.
You may install the kernel for root access,twrp recovery and all other features.
Thank You!
mickael91210 said:
Hello and sorry for noob questions...
I backed up my ta partition and I updated phone to .305...
Now :
Is it possible to unlock bootloader with Sony's site? I think yes but after:
Will it be possible to restore ta partition with adb commands in the thread?
And Will it be possible to root the device with your kernel?
Thanks a lot
Mickael
Envoyé de mon D5803 en utilisant Tapatalk
Click to expand...
Click to collapse
Yes, go ahead and unlock your bootloader if you want. Just make sure that you have your TA backup.
Will it be possible to restore ta partition with adb commands in the thread?
Click to expand...
Click to collapse
Yes, but bootloader will be locked again if you restore your TA partition. And the TA partition is a dangerous part, make sure your backup of TA partition is not corrupted or damaged before doing it.
And Will it be possible to root the device with your kernel?
Click to expand...
Click to collapse
Take a look here, if you repack the stock kernel with this script, you'll be able to root by flashing the supersu zip via the TWRP recovery. You can also reactivate your original device key (from your TA partition) too.
ipromeh said:
Yes, but bootloader will be locked again if you restore your TA partition. And the TA partition is a dangerous part, make sure your backup of TA partition is not corrupted or damaged before doing it.
Click to expand...
Click to collapse
Is it really right? because if I have bootloader locked again I couldn't root ?
How can I check if TA backup is not corrupted? I had a succesfullness message after the backup?
ipromeh said:
Take a look here, if you repack the stock kernel with this script, you'll be able to root by flashing the supersu zip via the TWRP recovery. You can also reactivate your original device key (from your TA partition) too.
Click to expand...
Click to collapse
I thought that the heptyle's kernel will do all alone. Am I wrong?
mickael91210 said:
Is it really right? because if I have bootloader locked again I couldn't root ?
How can I check if TA backup is not corrupted? I had a succesfullness message after the backup?
I thought that the heptyle's kernel will do all alone. Am I wrong?
Click to expand...
Click to collapse
Yes,the kernel would do all. Don't worry!
There is no chance for getting the backup corrupted as you have followed steps clearly and got successful message.
I am on e5803 I rolled back to discuss lollipop firmware, now I am confused in restoring my TA. My phone now gets so hot just by texting, I tried ur above kernel(don't If I used the right one) my phone will not turn on. I give up trying to root Sony! I have rooted every other phone with out this hassle. Pls I need a detailed instruction on how to EASILY restore my TA and an ftf for e5803. Pleeeeeeese. I am a Sony nooob
paq1170 said:
I am on e5803 I rolled back to discuss lollipop firmware, now I am confused in restoring my TA. My phone now gets so hot just by texting, I tried ur above kernel(don't If I used the right one) my phone will not turn on. I give up trying to root Sony! I have rooted every other phone with out this hassle. Pls I need a detailed instruction on how to EASILY restore my TA and an ftf for e5803. Pleeeeeeese. I am a Sony nooob
Click to expand...
Click to collapse
You flashed .305 kernel on Lolliop that's the reason. Just reinstall the stock firmware again and have a TA Backup or if you have fed up rooting then Use flashtool and xperifirm and upgrade to latest .305 firmware.
I'm a bit confused. When I first bought my Xperia Z5C, I immediately backed up the DRM Keys/TA Partition. I unlocked the bootloader and later installed AndroPlusKernel which included the DRM fix. Upon checking the bootloader unlocked status, it says "Bootloader unlock allowed: Yes" Is that due to the DRM fix? Do I still need to restore my TA partition?
iArvee said:
I'm a bit confused. When I first bought my Xperia Z5C, I immediately backed up the DRM Keys/TA Partition. I unlocked the bootloader and later installed AndroPlusKernel which included the DRM fix. Upon checking the bootloader unlocked status, it says "Bootloader unlock allowed: Yes" Is that due to the DRM fix? Do I still need to restore my TA partition?
Click to expand...
Click to collapse
As you have applied kernel with drm fix you don't have to restore the TA Partiton.
heptyle said:
You flashed .305 kernel on Lolliop that's the reason. Just reinstall the stock firmware again and have a TA Backup or if you have fed up rooting then Use flashtool and xperifirm and upgrade to latest .305 firmware.
Click to expand...
Click to collapse
Pls can u give me a link to the right kernel, I didn't know I was flashing a marshmallow kernel.
paq1170 said:
Pls can u give me a link to the right kernel, I didn't know I was flashing a marshmallow kernel.
Click to expand...
Click to collapse
Download the stock firmware from below thread and flash it using Flashtool.
http://forum.xda-developers.com/z5-compact/general/stock-firmware-32-0-6-200-t3479713
Hi guys, I can't get iovyroot to see my device...
error: device not found
What am I doing wrong chaps?
Flashing went smoothly but...
l33boy said:
Hi guys, I can't get iovyroot to see my device...
error: device not found
What am I doing wrong chaps?
Click to expand...
Click to collapse
Did you enable USB Debugging from developer option?
Check whether the drivers are installed correctly.
If not
Download and install it from here :
http://developer.sonymobile.com/downloads/drivers/xperia-z5-compact-driver/
heptyle said:
Did you enable USB Debugging from developer option?
Check whether the drivers are installed correctly.
If not
Download and install it from here :
http://developer.sonymobile.com/downloads/drivers/xperia-z5-compact-driver/
Click to expand...
Click to collapse
Yep, USB debug is set.
and it flashed OK and I can see the phone in windows explorer
l33boy said:
Yep, USB debug is set.
and it flashed OK and I can see the phone in windows explorer
Click to expand...
Click to collapse
Can you send me the screen shot of windows device manager.
Hi,
I'll received my XC this week, and I'd like to root it.
I don't want a custom ROM, but just a stock one with xposed and remove some bloatwares.
Here are my needs:
keep DRM
latest stock rom
twrp
untouched system partition
easy OTA
XC Genesis kernel
xposed + module
Do you think it possible to achieve such a configuration?
How-to?
Thanks
EDIT: I'll update this post to make it an HOW-To for futures users with same questions.
Assuming you're unable to unlock your BL the steps are as follows...
Flash back to 198.
Backup your TA.
Unlock your BL
Update to 311
Extract kernel - ftf/sin/elf
Run elf through Rootkernel_v5.23 - (In cmd prompt window - rootkernel kernel.elf boot.img)
Create DK ftf with Rootkernel_v5.23 (In cmd prompt window - flash_dk TA-19022017.img DK.ftf)
Flash new boot.img
Flash TWRP.img
Flash Super User zip
Flash DK.ftf with Flashtool 9.22
...and that should be it.
Latest stock Rom + xposed will not be possible...
mika91 said:
Hi,
I'll received my XC this week, and I'd like to root it.
I don't want a custom ROM, but just a stock one with xposed and remove some bloatwares.
Here are my needs:
keep DRM
latest stock rom
twrp
untouched system partition
easy OTA
XC Genesis kernel
xposed + module
Do you think it possible to achieve such a configuration?
How-to?
Thanks
EDIT: I'll update this post to make it an HOW-To for futures users with same questions.
Click to expand...
Click to collapse
Forget about OTA when rooted...
I though that using xposed leave the system partition untouched, so OTA updates are possible...
mika91 said:
I though that using xposed leave the system partition untouched, so OTA updates are possible...
Click to expand...
Click to collapse
OTA is not possible once bootloader is unlocked. System partition touched or not played no role.
ok.
So if I want root the XC, I have to unlock the bootloader, loose DRM and ota?
How is the camera quality without the drm keys?
Thanks
mika91 said:
ok.
So if I want root the XC, I have to unlock the bootloader, loose DRM and ota?
Click to expand...
Click to collapse
See my post to get a rooted stock with DRM.
mika91 said:
ok.
So if I want root the XC, I have to unlock the bootloader, loose DRM and ota?
How is the camera quality without the drm keys?
Thanks
Click to expand...
Click to collapse
You HAVE to unlock. There is NO root on LOCKED bootloader.
Unlocking bootloader deletes TA partition, containing DRM keys. You should BACKUP your TA partition BEFORE unlocking using DirtyCow Backup tool from Sony Cross Devices forum.
After unlocking, you can either flash kernel that supports DRM patching either by using fake DRM libraries, or your real DRM keys, either flashed in alternative location (see RootKernel tool in Z5 forums, works on almost all modern Xperias) or PoC TA tool from Sony Cross devices, that mounts your TA backup as TA partition, therefore your phone looks as having DRM keys and locked.
XperienceD said:
Assuming you're unable to unlock your BL the steps are as follows...
Flash back to 198.
Backup your TA.
[*]Unlock your BL
[*]Update to 311
[*]Extract kernel - ftf/sin/elf
[*]Run elf through Rootkernel_v5.23 - (In cmd prompt window - rootkernel kernel.elf boot.img)
[*]Create DK ftf with Rootkernel_v5.23 (In cmd prompt window - flash_dk TA-19022017.img DK.ftf)
[*]Flash new boot.img
[*]Flash TWRP.img
[*]Flash Super User zip
[*]Flash DK.ftf with Flashtool 9.22
...and that should be it.
Click to expand...
Click to collapse
Would you mind detailing a bit more those steps, especially the first 2? Im coming from a really old phone so im still a bit lost. (where can i learn about ftf/sin/elf?)
How can we flash back to 198? Flashing doesnt require an unlocked BL, wich to be achieved deletes your TA?
im on a brand new X Compact, 7.0 (34.2.A.0.292), secure patch 01/01/17
managed to get flashtool, adb/fastboot and Universal TA Backup v2 on my pc but no dice on TA backup yet
fredsky2 said:
Would you mind detailing a bit more those steps, especially the first 2? Im coming from a really old phone so im still a bit lost. (where can i learn about ftf/sin/elf?)
Click to expand...
Click to collapse
Sure. You don't really need to learn about those stuff but is handy to know, you'll pick stuff up along the way. They are basically firmware files.
fredsky2 said:
How can we flash back to 198? Flashing doesnt require an unlocked BL, wich to be achieved deletes your TA?
Click to expand...
Click to collapse
Open the flashtool and run Xperifirm (icon with XI) on it, then browse to the XC, then click on F5321 and it will load up the different regions and available firmware. If you click on "check all" it will then show which FW is available to download, Central Europe 5 still shows as 198, so you need to select it on the right of the screen under the picture of the phone, it will then download and it's simply a matter of following the instructions to flash it.
fredsky2 said:
im on a brand new X Compact, 7.0 (34.2.A.0.292), secure patch 01/01/17
managed to get flashtool, adb/fastboot and Universal TA Backup v2 on my pc but no dice on TA backup yet
Click to expand...
Click to collapse
When you get 198 on your phone then you'll be able to back your TA. If you get stuck give us a shout.
XperienceD said:
Sure. You don't really need to learn about those stuff but is handy to know, you'll pick stuff up along the way. They are basically firmware files.
Open the flashtool and run Xperifirm (icon with XI) on it, then browse to the XC, then click on F5321 and it will load up the different regions and available firmware. If you click on "check all" it will then show which FW is available to download, Central Europe 5 still shows as 198, so you need to select it on the right of the screen under the picture of the phone, it will then download and it's simply a matter of following the instructions to flash it.
When you get 198 on your phone then you'll be able to back your TA. If you get stuck give us a shout.
Click to expand...
Click to collapse
Thank you, i was able to successfully backup my TA earlier yesterday. But now im struggling with how to restore it in MM 6.0.1 (34.1.A.1.198).
I've read that i'll need a custom kernel for that (and to get TWRP+supersu+magisk+xposed) but im unsure if i should use Genesis (probably unsuported but the only one that says it'll restore MY TA) or Advanced Stock Kernel from Androplus. Ive read that messing with TA can hardbrick my phone so im trying to be extra careful.
atm im following ondrejvaroscak's quickrecap to make sure everything goes smooth with my TA keys and then i plan to downgrade to 6.0, install Advanced Stock Kernel, supersu 2.79 and magisk and then pray for the best (without reflashing my own DK.ftf?)
fredsky2 said:
Thank you, i was able to successfully backup my TA earlier yesterday. But now im struggling with how to restore it in MM 6.0.1 (34.1.A.1.198).
Click to expand...
Click to collapse
Download Flashtool 9.22.3 and flash your DK.ftf, flashing with a newer version doesn't work, you should then be able to verify it's worked in the service menu.
fredsky2 said:
I've read that i'll need a custom kernel for that (and to get TWRP+supersu+magisk+xposed) but im unsure if i should use Genesis (probably unsuported but the only one that says it'll restore MY TA) or Advanced Stock Kernel from Androplus. Ive read that messing with TA can hardbrick my phone so im trying to be extra careful.
Click to expand...
Click to collapse
You can use the RootKernel tool to modify your own kernel, extract the kernel.sin from the ftf with a zip program, then use the flashtool to extract the kernel.elf, Tools-Sin Editor-Extract Data then run it through the RootKernel tool and flash the boot.img it creates, then flash TWRP separately to the recovery partition which will allow you then to flash SuperSU.
SuperSU and BusyBox are the only options I didn't include when creating my kernel. Others will have to help with the other two things you want as I refuse to use them.
XperienceD said:
Download Flashtool 9.22.3 and flash your DK.ftf, flashing with a newer version doesn't work, you should then be able to verify it's worked in the service menu.
You can use the RootKernel tool to modify your own kernel, extract the kernel.sin from the ftf with a zip program, then use the flashtool to extract the kernel.elf, Tools-Sin Editor-Extract Data then run it through the RootKernel tool and flash the boot.img it creates, then flash TWRP separately to the recovery partition which will allow you then to flash SuperSU.
SuperSU and BusyBox are the only options I didn't include when creating my kernel. Others will have to help with the other two things you want as I refuse to use them.
Click to expand...
Click to collapse
Thanks again. I was worried that the drm-fix from the kernel editing tool could corrupt my TA partition but thankfully i was wrong on that .
Im now at MM 6.0, original DRM keys, TWRP, xposed, rooted with magisk and im almost sure that with busybox. Why do you refuse to use them? Just curious!
Thanks a lot for your help, cheers
fredsky2 said:
Thanks again. I was worried that the drm-fix from the kernel editing tool could corrupt my TA partition but thankfully i was wrong on that .
Click to expand...
Click to collapse
I flashed a kernel I made with the Rootkernel tool without the drm fix but it showed some mumbo jumbo where it should say ok and provisioned, included the drm fix in the next one and it worked fine then.
fredsky2 said:
Im now at MM 6.0, original DRM keys, TWRP, xposed, rooted with magisk and im almost sure that with busybox. Why do you refuse to use them? Just curious!
Thanks a lot for your help, cheers
Click to expand...
Click to collapse
You're welcome. I refuse because I prefer to know how to mod apks directly and I found Xposed to be quite buggy. I can see the benefits, it's just not for me.