[Guide] [SP][LB] [Root] 4.3 .201 - Complied Tutorials and Guide - Xperia SP General

Hi Everyone,
I bought my sony xperia sp c5303 last week, and I have been searching for proper rooting method so I can transfer all the data from my last phone and some applications which require rooting.
Anyways after time spending searches and thousand of guides (thanks to the people who spent time to prepare those tutorial and guides) I started my rooting procedure.
Firstly, no work is mine - its all gathered from XDA and please support and appreciate the developers (real heroes)
Below is the procedure I used to root my device i.e Sony Xperia c5303 [4.3] 12.1.A.1.201 - Locked bootloader
Do it on your own risk, I am not responsible for any damages and have patience
I wanted to stay with 4.3 hence, I started with this guide
STEP 1 - CREATE YOUR OWN PRE-ROOTED STOCK
IF YOU DO NOT WANT TO CREATE YOUR OWN STOCK THEN DOWNLOAD FROM OPTIONAL (ii) PRE-ROOTED Stock
Please follow the steps properly once its done then you need to downgrade your device to 4.1.2
2. Downgrade to 4.1.2
2(a) I used this to firmware to downgrade from this thread http://forum.xda-developers.com/showthread.php?t=2311964&page=4
XPERIA SP-C5303_12.0.A.2.254_IR_GENERIC-BABAK-SUS
acquire root and for that follow this guide
3. http://forum.xda-developers.com/showthread.php?t=2405933
Now to install recovery CWM please use this guide Philz, CWM Touch and TWRP for Xperia SP LB
So far if everything is fine then you are good to go the last step is to install the 4.3 pre-rooted stock and for this you need to;
Put the pre rooted firmware + SU zip into your internal SD
Wipe Cache/Data and Dalvik (Optional)
Flash both files and turn the phone off
Open flashtool into flashmode
Flash 201 kernel
Reboot device
Optional
TA Backup for copying the DRM Keys for BE and Bootlocker Guide
Pre-Rooted Stock 12.1.A.1.201 Firmware
Guys again thank so much for providing us the guides, its impossible without your hard work.

Guys would you kindly stop with creating the same guide of and over again:
http://forum.xda-developers.com/showthread.php?t=2705159
http://forum.xda-developers.com/showthread.php?t=2646904

Thread closed, as there already are several rooting TUTs

Related

[STOCK ROM] [Root] [FTF] 4.4.2 Kitkat Xperia Tablet Z SGP311 10.5.A.0.230 VMo UK IE

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​
Requirements:
Flashtool 0.9.15.0
Rooted SGP311 (on any other previous Android version) with custom recovery installed.
If you do not meet these conditions, for example, if you are on an unrooted 4.3 system, here is a guide to get you on a rooted 4.1.2 with recovery:
http://forum.xda-developers.com/showpost.php?p=53063218&postcount=14
This works on locked or unlocked bootloaders. This also works on any customization. Mine was US Generic before applying this. I used the UK customization because at the time of this posting that is the only English customization available. I can post the US root files later if need be.
The procedure should work with any pre-rooted Android version but I started with 10.1.C.0.370 (4.1.2) which was rooted with DooMLoRD_Easy-Rooting-Toolkit_v17, patched with remountrebootfix, and equipped with XZDualRecovery.
Limitations:
There is a small chance that the process would delete the files on your internal SDcard so back them up. Also, you will have to reinstall all your apps, as they get erased too.
Note that Sony has admitted that this release has a battery drain problem and has issued a workaround that involves disabling Google services:
http://talk.sonymobile.com/t5/Xperi...-Drain-issue-Workaround-Fix/m-p/708273#M42303
Download link:
Mega
https://mega.co.nz/#F!oxdFQLSa!2su-BTlYfaANi26VuV7o4w
You only need the zip and ftf files. The txt file is just the checksum if you want to verify that your download is error-free. I strongly recommend that you do the checksum before flashing.
Instructions:
1- Backup before you start messing with your tablet!
2- Put system.flashable.zip in /sdcard of your tablet.
3- Keep SGP311_10.5.A.0.230_R1D_VMo_UK_IE_NoSystem.ftf on your PC.
4- Disconnect any USB cable that may be attached to your tablet.
5- Reboot to recovery. Preferably to TWRP, but you can make CWM work too.
6- Do not wipe anything.
7- Once in recovery, flash system.flashable.zip.
8- It is important to NOT REBOOT the tablet after this step.
9- Find and use the Power Off option in the recovery and turn your tablet off. In CWM based PhilZ Touch it is under "Power Options" -> "Power Off". In TWRP it is under "Reboot" -> "Power Off". If you see your tablet rebooting, force it to turn off by pushing the power and volume up keys simultaneously (or however else you can!)
10- Open Flashtool 0.9.15.0 and click on the flash icon. Choose flash mode.
11- Navigate to where you have saved SGP311_10.5.A.0.230_R1D_VMo_UK_IE_NoSystem.ftf and flash this ftf with your tablet in flash mode. To put your tablet in flash mode, hold the volume down button when it is off and connect with the USB cable to the PC.
12- Reboot and enjoy!
Credits:
I only put the files together. All the credit should go to XDA's [NUT] and DooMLoRD and many others...
Thank you!
Worked perfectly fine and is rooted!
:good:
Thanks. Worked fine :good:
download from gdrive always fails.. is there a mirror?
Riekr said:
download from gdrive always fails.. is there a mirror?
Click to expand...
Click to collapse
Sorry about that. If you know a reliable server I can try and upload it there.
Ok
Riekr said:
download from gdrive always fails.. is there a mirror?
Click to expand...
Click to collapse
I'm uploading on mega now. Will post the link as soon as it's ready. Check back in about an hour.
hi najoor
my situation has as follow: tab z 4.3 non rooted running last FW.
i understood i have to downgrade to 4.1.2 and flash the build 10.1.C.0.370(i found a us version hope is ok) with flashtool, only then i can root with the doomlord link method.
after that i can start following this guide. can you confirm me it is correct?
also i assume i can use the version of flashtool you are mentioning.
thanks in advance.
mame3876 said:
hi najoor
my situation has as follow: tab z 4.3 non rooted running last FW.
i understood i have to downgrade to 4.1.2 and flash the build 10.1.C.0.370(i found a us version hope is ok) with flashtool, only then i can root with the doomlord link method.
after that i can start following this guide. can you confirm me it is correct?
also i assume i can use the version of flashtool you are mentioning.
thanks in advance.
Click to expand...
Click to collapse
Hello,
Yes, if you flash 4.1.2 on your unrooted 4.3 them you can use doomlord's method to root it. Once your 4.1.2 is rooted make sure you apply the remountrebootfix patch to it. Then install the XZDualRecovery or other recovery of your choice, then start my guide.
The flashtool version I mentioned should work for every thing.
Finally, if you are flashing a 4.1.2 ftf that you found online, exclude the ta partition, if it exists in the ftf, when flashing.
Many thanks for your reply. 2 questions where i can find the patch you mention and how i can install it? The ftf 4.1.2 i found here in xda i took from the thread in development used now to flash the 312 and to flash 311 are addressing to the thread you opened. I'll see how to use the flashtool since I'm new to xperia modding as i only did with Samsung devices.
Inviato dal mio GT-N5110 utilizzando Tapatalk
mame3876 said:
Many thanks for your reply. 2 questions where i can find the patch you mention and how i can install it? The ftf 4.1.2 i found here in xda i took from the thread in development used now to flash the 312 and to flash 311 are addressing to the thread you opened. I'll see how to use the flashtool since I'm new to xperia modding as i only did with Samsung devices.
Inviato dal mio GT-N5110 utilizzando Tapatalk
Click to expand...
Click to collapse
Ok give me a couple of hours to get back to my computer. I'll gather the files and post a mini guide for you.
Worked a treat so thanks for taking the time to write the tutorial and host the files.
A couple of times I was scratching my head.
First was that no dual recovery on my rooted system. All my fault from the last upgrade.
Second was "Shut-down..Don't reboot. but the big button said REBOOT.... It wasn't until I eventually clicked the reboot button in TWRP that it came up with Shutdown.
All in all a pretty straight forward upgrade (once I'd made good on my mistakes)
Great work and thanks again.
zach
najoor said:
Ok give me a couple of hours to get back to my computer. I'll gather the files and post a mini guide for you.
Click to expand...
Click to collapse
no rush and most of all many many thanks
How to Install a 4.1.2 stock rom on SGP-311 with root and recovery
One of the requirements for upgrading to new releases of Sony's Android for Tablet Z with root is to start with a previous Android version that has been rooted. At the time of this writing, I do not know of any easy method to root a 4.3 installation. For 4.2.2, there is always Vroot but over time I have become very skeptical of it. It certainly does root the rom but at the same time it behaves more and more like malware or at least bloatware so I don't use it unless I have to. Which leaves us with 4.1.2, which is the initial factory release version of Tablet Z, which also happens to be easily rootable.
So if you are on an unrooted ROM and want to upgrade to Kitkat with root, the reasonable way is to downgrade to 4.1.2, root and patch it, install recovery on it, and then try the instructions at the beginning of this thread. So here is a mini guide to:
How to install a 4.1.2 stock rom on SGP-311, root it, and add custom recovery​
0- Always back up. Flashing an ftf likely erases your internal SDcard.
1- You need Flashtool by Androxyde (not attached to this posting) to put the rom on your tablet (Don't confuse it with Sony's official flash tool called Emma). I recommend Flashtool version 0.9.15.0.
2- You need an image of the 4.1.2 rom, which is an ftf file (not attached to this posting). You can get one from here: http://forum.xda-developers.com/wiki/Sony_Xperia_Tablet_Z_SGP311 The customization is not important so 10.1.C.0.370 USA version should do just fine.
3- Fire up the flashtool and flash the ftf file into your tablet. There is a ton of tutorials on line about how to do this. The only thing I should add to them is that if you get the ftf from a third party (i.e. you didn't build it with you own tablet) you should exclude the TA partition when flashing it. The reason is that, as I understand it, the TA partition has data that is unique to each individual tablet. So I never understood why people pack their TA partitions in the ftf that they publish. If you forget to exclude the TA partition when you flash you will end up overwriting your own unique TA partition with someone else's. While that is not gonna render your tablet unfunctional, you will lose your warranty and a few other things of less importance.
4- Once you get 4.1.2 on your tablet, go to settings and find Developer Options. Under that locate USB debugging and activate it.
5- Attach your tablet to the PC and make sure you have closed the flashtool on the PC.
6- Unzip DooMLoRD_Easy-Rooting-Toolkit_v17_perf-event-exploit (attached to this posting) on your PC and run runme_win.bat (I am assuming you are on Windows)
7- Let the code do its thing and if all goes well, your tablet will reboot by itself and you will see SuperSU added to your installed apps.
8- This particular rooting method must be patched immediately after so unzip remountrebootfix-windows (attached to this posting) on your PC and run install.bat. Pay close attention to your tablet display as you are going through the instructions because at some point you have to grant root rights to ADB on your tablet and come back to the PC and "press any key to continue". The patch will be applied and the tablet will reboot.
9- (Very optional) You can install joeykrim's Root Checker form Android Market to verify this process has indeed given you root privileges. You can also install something like Rhythm Software's File Manager HD (Explorer) from the Market, then go to settings, check "Root Explorer" and then check "Mount System Folders". Without the patch in step 8 the tablet crashes and reboots itself a few seconds after you perform this mounting.
10- You now need to add a recovery partition to your Tablet. XZDualRecovery is a great piece of work by none other than [NUT] of the xda. Unzip TabZ-lockeddualrecovery2.7.94-BETA.installer (attached to this posting) and run install.bat. Once it is installed, the Tablet will immediately reboot into the installed recovery. If all goes well, you will see the recovery menu. Click on reboot. In future, if you want to get to the recoveries that you just installed, reboot your tablet and wait for the LED next to the power button to turn green then press volume up for CWM Philz recovery or volume down for TWRP.
That is it folks. Now you have a 4.1.2, with root and recovery (in fact 3 recoveries) installed.
sd delete
Hi
Thank you very much for this ROM,and instructions,it's awsome.
I've got only one problem after installing it. I can't delete anything from my sd card.
What did I wrong? What can I do?
Thanks in advance
Tamás
many thanks, finally a clear guide!! great job.
@ Szata68, the proble you experience is a feature of kitkat unfortunately. but now that you are root you can easily getting rid of that restrictions implemented by google, don't rememebre the name but if you search on google restricion sd card kitktat, one of the first results shown is how to deal with that
@ Szata68
I've not tried with any stock file browsers but ES File Explorer deleted files on internal and external. I haven't given it root access yet either.
I've been testing this for a good few hours now and I've not experienced any of the problems other people are having (other releases) It all seems happy.
szata.68 said:
Hi
Thank you very much for this ROM,and instructions,it's awsome.
I've got only one problem after installing it. I can't delete anything from my sd card.
What did I wrong? What can I do?
Thanks in advance
Tamás
Click to expand...
Click to collapse
Tamas,
I don't suggest you change anything to fix this problem because there are tools that come standard in this rom that can delete files on the sdcard and move data between internal and external storage (file commander and Sony file transfer) but if you insist, here is how to fix it permanently:
http://technofaq.org/posts/2014/04/fixing-external-sd-card-write-issue-on-android-kitkat/
Thank you very much guys!
I normally use FX Explorer,and that can't delete,but from now I won't use that with this ROM.
Thanks again for everyone!
update also possible with cyanogenmod
will the update also work with cyanogenmod 4.3 installed?
As far as I can see it, it should work ( I have apps requesting root sometimes ).
Thanks!

[GUIDE][ROOT]How to root Xperia Z KitKat (10.5.A.0.230) and regain Locked Bootloader

I know rooting Sony devices is pain in arse. But believe me, it's fun. Follow the steps to root your beloved Sony Xperia Z.
1. Downgrade to 4.2.2 (10.3.1.A.2.67) by flashing the ftf file of your region. Search the thread to find ftf corresponding to your region.
for C6502 India
http://forum.xda-developers.com/xperia-z/general/xz-c6602-stock-indian-4-2-2-fw-67-ftf-t2573610
2. Root this firmware by cubeundcube method.
http://forum.xda-developers.com/showthread.php?t=2559009
3. Take a TA partition backup using DevShaft's method. This is necessary for relocking your bootloader later.
http://forum.xda-developers.com/showthread.php?t=2292598
4. Upgrade to Kitkat using PCC or SUS (or flash a Kitkat ftf which is meant for your region). Don't panic that you've lost root. Read further.
5. Make a ftf file of the update files that has been downloaded to your computer using flashtool (if you upgraded via PCC or SUS).
http://forum.xda-developers.com/xperia-u/general/guide-how-make-ftf-stock-firmware-sus-t2075736 OR
http://forum.xda-developers.com/xperia-z/development/noobs-guide-create-stock-firmware-ftf-t2188129
6. Unlock bootloader by visiting this link (take a backup of all your data before unlocking bootloader). (Unlocking bootloader voids warranty. But don't worry you can relock it if you have backup of TA)
http://unlockbootloader.sonymobile.com
7. Download the latest update super su.zip from Chainfire's website. Save it in external micro SD card of your phone.
http://download.chainfire.eu/supersu
8. Flash a custom kernel by DooMLoRD. This is a modified stock kernel with CWM recovery built-in. Enter into the CWM recovery and flash the super su.zip you downloaded earlier to root your phone and turn off the phone in recovery itself.
http://forum.xda-developers.com/xperia-z/development/cwm-based-recovery-6-0-4-5-xperia-z-t2167381
9. To get back to stock recovery, use the ftf file you downloaded (or created) at step 4. above and Flash only the kernel and fotakernel.
10. Now relock your bootloader by restoring the TA partition backup you made at step 3. Your phone is rooted now with locked bootloader.
P.S.
>Users who already have a backup of TA, unlock your bootloader and follow steps from 7.
>Users whose bootloader can't be unlocked, follow first two steps, visit this thread to install [NUT]'s dual recovery.
http://forum.xda-developers.com/showthread.php?t=2261606
and flash this pre-rooted zip
http://forum.xda-developers.com/xperia-z/development/stock-update-to-10-5-0-230-t2761629
There already is a guide about this here:
http://forum.xda-developers.com/xperia-z/development/guide-how-to-root-101-firmware-lb-t2656698
Thread closed.

[How-to] Rooted stock SGP621 firmware with DRM keys

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

[STOCK][ROOT] Step-by-Step to rooted Lollipop 14.5.A.0.270 (locked bootloader)

Hey guys,
I jumped through several threads here until i found all steps needed to get my Z1 compact D5503 from my rooted KitKat 14.4.A.0.108 to a rooted 14.5.A.0.270,
[paranoia] without the need to install a firmware that someone manipulated for evil purposes[/paranoia]
In the end it was quite easy. I documented the steps - mostly for myself - and maybe someone can benefit from that.
No warranty, that it works the same flawless way for you or for any other Xperia model than Z1 compact D5503 (though it should...).
So just proceed with the steps if you know about the possible risks of killing your phone
If you find any mistakes please drop me a line...
For a cleaned up version go here - thanks
This brings your Z1 compact D5503 from a rooted 14.5.A.0.108 to a rooted 14.5.A.0.270 without any dataloss
User @codified also successfully updated a 14.4.A.0.157 with these steps (see here)
Just upgraded to 14.6.A.0.368 from 14.5.A.0.270 with these steps. Works like charm. And @JarrB reports success on upgrading from 14.4.A.0.157 to 14.6.A.0.368
Pre-requs:
- MS Windows - sorry, I don't do linuxes
- Xperia (Z1 compact) device stock(?) KitKat rooted (Newroot worked just fine without unlocking the boot loader )
- some custom recovery, the fancy dual recovery works just fine, install from rooted kitkat (dual recovery from http://nut.xperia-files.com/) - the installer.zip! not the flashable.zip
Tools needed:
- FlashTool: http://www.flashtool.net/index.php
- XPeriFirm: http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142 ahh no longer needed as separate download, as it's integrated in FlashTool now
- PRFCreator: http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Part 1: get a FTF file of the desired firmware
See also: http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/
UPDATED THIS PART - thanks to user codified
Open FlashTool and start XperiFirm (XF-button)
Download .270 (or .283/.368 if available) firmware with XperiFirm with auto-unpack (I chose to use the same carrier branded version that .108 was - USE Generic LAM for an unbranded version)
Have two cups of coffee - or tea if you prefer that
The .ftf is now in your .flashtool\firmwares subfolder
Original steps
Open FlashTool and start XperiFirm (XF-button)
Download .270 firmware with XperiFirm () with auto-unpack (I chose to use the same carrier branded version that .108 was)
Use FlashTool Bundle->Create
Select unpacked firmware path
Select Device From list
Add your branding info: Vodafone DE
add firmware version: 14.5.A.0.270
add all but the .ta files to the right listview
DELETE the fwinfo.xml in unpacked firmware folder THIS SEEMS TO BE ESSENTIAL - didn't dare to keep it
create
done. --> ftf file is in configured user home: C:\Users\USERNAME\.flashTool
Part 2: get your pre-rooted ftf file
Download latest SuperSU: http://download.chainfire.eu/supersu or the also as well/better working reported beta 2.49
Open PRFCreator
add D5503_14.5.A.0.270_Vodafone DE.ftf the .tft file you just created in part 1 as ftf file
add UPDATE-SuperSU-v2.46.zip as supersu zip
not needed, but also not wrong: add Z1C-lockeddualrecovery2.8.21-RELEASE.flashable.zip as recovery (dual recovery from http://nut.xperia-files.com/)
check all checkboxes, but the "sign zip"
maybe add extra zip
create
done. --> find flashable-prerooted.zip in PRFCreator folder
Part 3: flash your zip
nandroid-backup your phone
have 3 big cups of coffee - please, no tea at this step
get really nervous
wipe dalvik and cache only to get a better feeling
try dirty flash the new firmware with the pre-rooted zip via Recovery, not using Flashtool (OTA is also applied dirty, isn't it?)
whoa, flashing was fast
wipe dalvik and cache again. Could help prevent the unpredicted... could it?
AAAAHHH! booting takes so looohoooooong
Yeah! 386 Apps getting optimized...
looks good
hu? NFC firware update? OK. Go on.
Update for Google play services? YES. Go on.
done. --> be a happy Z1-compact-with-rooted-Android-5.0.2-user
totally optional part 4: Xposed
Now go on and install Xposed for Lollipop v69+ and hope for the best
rubbish! forget it for now, as it is bootlooping :/
done. --> still be a happy Z1-compact-with-rooted-Android-5.0.2-user with Xposed
regards!
done exactly this... rocking LP now
good to read, ltcdata! Happy I could provide sth. useful
While it optimizes the 327 apps in my case, I am wondering at what stage of the process does the firmware get rooted? Or is what is downloaded by Xperifirm already rooted? Very good guide BTW. Seems to go okay as long as you read everything carefully and in the right order. Thanks.
@nagusia thanks for liking my very first guide
Basically the root magic happens in part2 no 8 (pressing the create button in PRFCreator ):
PRFCreator unpacks the unrooted original stock fimrware that XPeriFirm downloaded and stuffs it into a new archive together with SuperSu and the other ZIPs you maybe added.
Code for that can be review in Job.cs at the projects GitHub repo: github.com/dosomder/PRFCreator (I'm still not allow to post outside-links here).
Pretty simple in the end...
I had a problem with charging reaching 89% and then the led randomly blinking. I did a restore to KitKat and there wasn't a problem. Then I thought I'd try flashing another of the DE generic pre-rooted roms posted on this forum. Here is where my problems started. It would get a upgrading - starting apps and then reboot. I tried making my own DE customized rom and the same problem. Then I went back to my orginal UK customized rom and ..... same problem. Finally did a factory reset in recovery and now it seems all good. I don't don't if I still have the charging issue yet. I have a theory that a dirty flash is OK the firs time, but a clean flash or factory reset after subsequent flashes may be necessary.
Dirty flashed from .242 to .270, without losing data. Only had to re-flash the Xposed alpha 4 zip (xposed-sdk21-arm-20150430.zip). It probably saves more time to just add this zip during part 2, step 7...
Thanks a lot for the guide.
Sweet guide dude. but I had trouble finding my region's KitKat firmware and downloading then rooting again seems like so much of a hassle so I did it the dirty way. Beware that this is very RISKY! I first downloaded Kingroot and rooted my device successfully, then installed NUT Recovery Installer version and installed TWRP via PC, then try to remove Kingroot using this guide. Thereafter, I followed your guide sans the flash KitKat step. And it works, Bootloader is still Unlocked. Thanks a lot dude!
uchihakurtz said:
Sweet guide dude. but I had trouble finding my region's KitKat firmware and downloading then rooting again seems like so much of a hassle so I did it the dirty way. Beware that this is very RISKY! I first downloaded Kingroot and rooted my device successfully, then installed NUT Recovery Installer version and installed TWRP via PC, then try to remove Kingroot using this guide. Thereafter, I followed your guide sans the flash KitKat step. And it works, Bootloader is still Unlocked. Thanks a lot dude!
Click to expand...
Click to collapse
The method is not at all risky, as long as You use the proper files!
Also, many people don't prefer using Kingroot as it is said that it shares Your phone information (like IMEI number) to some servers.
Hopefully You meant locked bootloader in last sentence!
Mirhawk said:
The method is not at all risky, as long as You use the proper files!
Also, many people don't prefer using Kingroot as it is said that it shares Your phone information (like IMEI number) to some servers.
Hopefully You meant locked bootloader in last sentence!
Click to expand...
Click to collapse
Actually by risky, I meant that part, you'll never know what Kingroot does, lol. Oh right, I meant the bootloader stays locked.
I already have updated to .270 via sony companion. Can I follow these same steps and replace current .270 with rooted .270?
@jooxxo
No, you need a custom recovery (root) to flash the resulting .zip file.
jooxxo said:
I already have updated to .270 via sony companion. Can I follow these same steps and replace current .270 with rooted .270?
Click to expand...
Click to collapse
No, but You can do this.
ok... well I took a nandroid backup of my kitkat (rooted & recovery obviously) before updating to .270 lollipop. If I restore that backup, will it restore recovery as well?
edit: I just dont want to lose all my apps & settings.
Any way to root if 5.0 is already on my phone?
Locked bootloader.
jooxxo said:
ok... well I took a nandroid backup of my kitkat (rooted & recovery obviously) before updating to .270 lollipop. If I restore that backup, will it restore recovery as well?
edit: I just dont want to lose all my apps & settings.
Click to expand...
Click to collapse
If You restore Your KitKat nandroid over backup (assuming the backup consists of system and data partitions), then it will cause You problems. The easiest way to keep Your apps and data is backing up them with an app since You are rooted, and then restoring them using the same app to restore apps and data on Lollipop. Don't use the Sony backup app, KitKat backups don't work on Lollipop. ALso to get a recovery after Lollipop, just simply install the XDualZRecovery.
EZY-E said:
Any way to root if 5.0 is already on my phone?
Locked bootloader.
Click to expand...
Click to collapse
Refer My post just 1 post before You.
Did it with latest 14.5.A.0.283 on my Z1C ... all good.
Thank you
Easy to follow tutorial for rooting your Z1's latest firmware Thanks!
@kalaja: 283? When did that happen?
sunbeam906 said:
Easy to follow tutorial for rooting your Z1's latest firmware Thanks!
@kalaja: 283? When did that happen?
Click to expand...
Click to collapse
from xperiablog net:
Xperia Z1 Compact sees new firmware (14.5.A.0.283) for carriers in Austria and Germany
by XB on 16/06/2015
in FIRMWARE, XPERIA Z1
Xperia Z1 Compact. A new firmware update with build number 14.5.A.0.283 has been released for the Sony Xperia Z1 Compact (D5503). The update has so far only been released for T-Mobile Austria and Telekom.de in Germany. However, users on these carriers were still rocking Android KitKat (14.4.A.0.157), so this update brings them a first taste of Android Lollipop. It is unclear whether this ‘283’ firmware will see a global release, the same build number has also been certified for the Xperia Z1 and Xperia Z Ultra, although those updates are not live right now.
Thanks for the info, kalaja Much appreciated.

[HOW-TO][Root+TWRP Recovery][LB]Stock Marshmallow 6.0.1 (23.5.A.0.575/.291)

Hello everyone,
Update 27.08.2016: It also works for version 23.5.A.1.291 (OS update that includes STAMINA). The procedure is identical, you just have to use the latest firmware available and create a pre-rooted .zip to update your tablet device.
I am pretty sure that I couldn't find a how-to guide anywhere that explains how rooting our precious Xperia Z3 Tablet Compact on Android 6.0.1 with locked bootloader works. This post simply shows the process of how I got root on my device (SGP611) and I am going to write the steps only in moderate detail so that hopefully everyone can follow without hassle. There are some steps that I'm not going to explain too much in detail but instead I highly recommend you to look around a bit on XDA to find theses already explained steps (I just want to get to the point on how to get root so that's why it may not be super noob friendly).
Edit: A little bit more info and additional steps that might help you further can be read in post #5.
Standard disclaimer:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, or any other issues that may arise from not following the steps correctly/carefully.
Click to expand...
Click to collapse
Also, I am not a developer so I am very sorry if I can't give you an answer to questions relating to problems with the tools we are going to use in this tutorial. It's better to ask the developers directly( I will link you to the needed threads).
Steps:
1. Downgrade device if necessary
2. Root using KingRoot exploit
3. Install XZDualRecovery custom recovery
4.1 Get the latest Marshmallow firmware and create FTF file
4.2 Create the pre-rooted .zip file
5. Flashing the pre-rooted .zip file correctly
Extra: Already created pre-rooted .zip file download for the lazy ones (At the very bottom)
1. First thing you need to know is that if you're device is currently bootloader locked and on Android Marshmallow 6.0.1 (23.5.A.0.575), as of the time I am writing this, you will not be able to achieve root directly through some kind of rooting tool. What you need to do now is to downgrade your device to an older version of Android, e.g. Android 5.0.2 or KitKat are good enough.
To do this you need to find the older firmware:
-Try this link to look for it: http://xperiafirmware.com/ (If you can't find Android 5.0.2 for example, use Google or look around XDA)
-Downgrading the device will wipe data/factory reset, so BACK UP YOUR STUFF before downgrading.
-Use flashtool to flash the firmware and downgrade: http://www.flashtool.net/index.php (I will expect you to know how to use flsahtool to flash ftf. files, there are many tutorials on how to do this)
2. Why you have to downgrade is because older firmwares have an exploit that can be used to root the device even when the bootloader is locked. So yes, something like a one-click root method is possible now.
-You may use this tool called KingRoot to root your tablet: http://forum.xda-developers.com/android/apps-games/one-click-root-tool-android-2-x-5-0-t3107461
Read the info carefully before doing anything.
3. Now, you should have managed to root your device with Android version other than 6.0.1. That is when another great tool comes in which is called XZDualrecovery. XZDualRecovery is "a" custom recovery that you'll need to be able to proceed from here.
-Install XZDualRecovery using the root method. That's the only way to get it onto the device.
-Link: http://forum.xda-developers.com/showthread.php?t=2261606 (Read the instruction there carefully)
4. Great! Now you should have root and custom recovery. If not, you did something wrong.
This is when you can create something called a "pre-rooted" firmware which is basically all you need to get root on Marshmallow 6.0.1.
4.1
-Use the tool called Xperifirm to download the Android 6.0.1: http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
-Launch Xperifirm and on the left hand side browse to "Xperia Z3 Tablet Compact -> the model number of your device (look under settings on your device to find out model number)"
-On the right side top you'll see "Check all", click it to let it check for latest firmware number
-Android 6.0.1 would be 23.5.A.0.575 23.5.A.1.291 (latest firmware). You can choose any Market or Operator you want (Tip: Use "Customized XXX" and avoid carriers)
-After downloading you'll need flashtool again to convert those downloaded files to .ftf format (Again, there are instrutions on the internet that you can look for)
4.2
-Make sure you have the .ftf file
-Get two .zip files
--1) RecRoot: http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357
--2) A dummy flashable file: http://forum.xda-developers.com/z3/...oid-6-0-mm-t3337357/post66569699#post66569699
-Get PRFCreator: http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
-Open PRFCreator and put the .ftf file to FTF, the RecRoot .zip file to RECOVERY, and the dummy_flashable.zip to SUPERSU. Don't do any other way!
-Tick Kernel, FOTAKernel, Modem, LTALable and Sign Zip
-Click "Create" to create the pre-rooted Marshmallow firmware
5. You should have created the pre-rooted Android 6.0.1 firmware now.
-Put the pre-rooted .zip file and the RecRoot .zip file onto your device's SD card/storage (anywhere where you can find them later)
-Reboot your tablet into TWRP recovery. (XZDualRecovery even provides you an app to choose and reboot to recovery) Don't reboot into any other recovery!
-Now, in TWRP recovery, erase dalvik cache, cache and system just to be clean.
-FIRSTLY, flash the pre-rooted.zip that you have put on your device. After flashing successfully, DON'T REBOOT YET!
-SECONDLY, flash the RecRoot.zip file
-Now you can reboot and if you did everything correctly, your Z3 Tablet Compact should boot up with Chainfire's SuperSU root and TWRP recovery (to access TWRP recovery, you have to reboot the device and while a green LED light appears for a moment, press and hold the volume down button. Then you will enter TWRP recovery. As for now, you cannot access the recovery any other way like using a reboot app, it will not work!).
CONGRATULATIONS! You have a rooted Z3 tablet with locked bootloader and you haven't lost Sony features. :laugh::good:
Thank you for reading this tutorial. And don't forget to thank all these devs that provided us the needed tools.
Extra: I will also put a link here where you can download my created pre-rooted Marshmallow firmware. It's build 23.5.A.0.575 Customized Germany and for SGP611 only!
https://mega.nz/#!TQ4AwbSZ!LNw11quAWurER_Tl9zHDyX_TiwZnzeVM1M0s10eyt4g
Just followed your instructions with my SGP621, worked great!
Teella said:
Just followed your instructions with my SGP621, worked great!
Click to expand...
Click to collapse
Great!
Would you be so kind and share your pre-rooted SGP621 ROM?
janla said:
Great!
Would you be so kind and share your pre-rooted SGP621 ROM?
Click to expand...
Click to collapse
I would love too, but my upload is very very slow and would take week to upload. Follow the instructions it's very easy, it was the first time I've ever touched and FTF or made a prerooted rom. Well not really made, just clicked a few buttons in flashtool and waited.
SGP621 additions
Hey man,
thanks for this concise guide to unroot our beloved tablet! I tried a few times before, but always gave up under the flood of outdated info available. With your guide, I successfully rooted my SGP621 (= Sony Z3 Tablet Compact with LTE).
Since you refer to "available info on the net" quite often, I had a few moments where I was unsure what to do exactly. Maybe the following hints can help others like me who are new to the world of Sony android devices.
Step 1:
You could probably also downgrade to 5.1, but to be safe, I chose 5.0.2. The needed ftf files for SGP621 as well as the SGP611 and SGP612 are avilable here.
I used the most current version of the flashtool, which is 0.9.22.3 as of this posting. I followed this (German) guide for installing and using the flashtool. To install the needed drivers, you'll have to navigate to wherever you installed the Flashtool to, there to the subfolder drivers, and execute the driver installer you find there. In the driver selection dialog install the first two, and of course the Z3TC driver you find somewhere in the list. Got two errors during the driver installs, ignored them, all went well.
Step 2:
Kingroot is a one-click-rooting solution you install directly on the phone, no pc connection necessary. After the tool is installed, you have to start it, swipe up a couple of times, and then tap on "Purify". The description in the xda thread made me think "Purify" is just an ad for an additional app, but it does start the rooting process.
Step 3:
After downloading and extracting XZDualRecovery, start the install.bat (under Windows, obviously). Connect your tablet, then choose menu item 1 (Install with SuperSU).
Step 4.1:
Many guides describe a decrypt / unpack step, you don't need this. The files are already unpacked after the download through XperiFirm. I did, however, delete the file "fwinfo.xml" from the downloaded files. No idea if that's needed, but it didn't hurt either.
To convert the downloaded files into an ftf file in the flashtool, select "Tools > Bundles > Create".
As "Source Folder" select the folder that XperiFirm created in the download path you specified. You'll then see a bunch of files in the "folder list" - select everything but the ".ta"-files (there were 5 ta-files in my case).
Doubleclick the empty "Device:" line, select the correct device.
I guess you can enter whatever in Branding and Version, I entered "German" and "23.5.A.1.291".
Step 4.2:
The "RecRoot"-File mentioned is indeed called "RecRoot_combined.zip". If you download that file, you're good to go. The PRFCreator tool needs to have Java installed for the last step (signing the prerooted rom). The file with the prerooted rom is saved in the PRFCreator dir itself.
Hoping this'll help someone!
@pull.me.under I am glad that I could help. Also, I'll thank you for your time extending my guide a bit with more detailed steps. That'll help users who are new to this stuff for sure. ?
Gesendet von meinem SGP611 mit Tapatalk
Hi,
If I follow this way, can I restore my tablet in stock settings if I have any trouble?
cheers
bozo13 said:
Hi,
If I follow this way, can I restore my tablet in stock settings if I have any trouble?
cheers
Click to expand...
Click to collapse
For restoring your tablet to stock, you only need flashtool with Xperifirm. It's like the first step where you have to download the stock firmware from Xperifirm and flash it with flashtool. Then you only have stock and clean operating system on your device. Unless, I'm not sure what you mean with stock settings?
Sent from my Sony E6553 using XDA Labs
Thanks for the guide. Using this guide, how can i install xposed on prerooted MM.
Shud i flash it after flashing recroot. Or shud i enter the system and then do it.
Following these steps will i lose recovery once i reboot to the system?
worked for me but god i kept soft bricking it. twrp kept wanting to reboot after wiping. now to wait and see if it will charge above 49%
Thank you for your efforts and detailed instructions. I did it smoothly on my 612. In my case the RecRoot was named as RecRootV4_combined.
Oddly, MobileUncle does not restart device to TWRP recovery, although it is doable the hard way
tzitzi2 said:
Thank you for your efforts and detailed instructions. I did it smoothly on my 612. In my case the RecRoot was named as RecRootV4_combined.
Oddly, MobileUncle does not restart device to TWRP recovery, although it is doable the hard way
Click to expand...
Click to collapse
Yes.
SGP612, can not enter TWRP recovery.
Sgp612 enters TWRP just fine, it does not do so thru mobileuncle
tzitzi2 said:
Sgp612 enters TWRP just fine, it does not do so thru mobileuncle
Click to expand...
Click to collapse
steps in details?
just did it with 23.5.A.1.291_R2D. seems ok
thanks!
Thanks for the Guide.
Post #5 is almost as important. It goes through a lot of details and problems I encountered (like the no neede to decrypt or the need to install Java to sign it).
For those who like the shortest path, here's a pre-rooted flashable zip:
Customized IBE Version 23.5.A.0.575 R8D for the SGP621
Decrypt key is:
!8G97O9eDtnF-_PntdsGh8uoRo7KQFpS7_D2c_FNaI-I
(edit) Lost root and I can't figure out why.
One moment I had 5.0.2 rooted with XZDualRecovery the next moment after step 5, I had 6.0.1 but root was lost.
XZDualRecovery is still there. I tried booting into TWRP and re-flashing RecRootV4_combined.zip to no avail. I had already done it according to the instructions right after the pre rooted ROM.
Anyone has an idea of what I could have missed?
For those who like the shortest path said:
Customized IBE Version 23.5.A.0.575 R8D for the SGP621 [/URL]
Click to expand...
Click to collapse
Tnx for pre-rooted rom
Your link need Decryption key.
WanderMax said:
steps in details?
Click to expand...
Click to collapse
Sorry for late answer.
Nothing fancy, just the usual way. Power off, power on, when led is green press volume -. TWRP is there
blue8 said:
Tnx for pre-rooted rom
Your link need Decryption key.
Click to expand...
Click to collapse
Updated on OP. But beware that something isn't probably right. I lost root as soon as I flashed MM.
Thanks for this wonderful guide:good:. I was able to install MM .291 to my SGP612 without any issues. I am attaching a picture of the PRF creator instruction followed if it might help others.
The install process after creating the prf zip file was quick. Also I noticed that I still have small apps after upgrading

Categories

Resources