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

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.

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!

[LolliPop][Prerooted flashable zip][23.1.A.0.690][Z2 tablet SGP511]

Hi
Here is flasable zip file wich install latest ROM 23.1.A.0.690 which is LolliPop and region is customized NCB, latest stable SuperSu v2.46 and latest fully working Dualrecovery 2.89 for Tablet Z2 with read and write acces to system.
Make nandroid backup before flashing.
Install it by flashing whole zip file with custom recovery TWRP recommend.
Factory reset is to recommend.
Here is the link:
If you allready are in LolliPop firmware without working recovery you need to downgrade you firmware first to rootable firmware.
1. Download rootable .314 firmware here: https://mega.nz/#!ZdoklTKD!i8Go-UqaVVt-RIEaRsi5p2ploLPUWaagYirEJJAqKKg and flash it via Flashtool.
2. Root your device with tool you choose. (Dualrecovery installer option 3, Easy Root Tool, Giefroot or other).
3. Install SuperSu to your device from Play store if your root tool don´t do it.
4. Install Dualrecovery with installer if you haven´t allready.
5. Resume your KitKat nandroid backup with custom recovery.
6. Flash prerooted .690 firmware with custom recovery.
7. Before booting up wipe cache/dalvik cache.
8. Boot your device and you are done.
Credits: @Androxyde @Chainfire @[NUT] @LaguCool @zxz0O0
kulvertti said:
Hi
Here is flasable zip file wich install latest ROM 23.1.A.0.690 which is LollyPop and region is customized NCB, latest stable SuperSu v2.46 and latest Dualrecovery 2.83 for Tablet Z2 with read/write acces to system. At the moment Dualrecovery don´t work but [NUT] is working on it.
Make nandroid backup before flashing.
Install it by flashing whole zip file with custom recovery. Factory reset is to recommend.
Here is the link:https://mega.co.nz/#!9ZIkBZBb!fiDxl5rRU3grHL70MxLW8mXs3B7ORvzfvxdiT3bkNtM
Click to expand...
Click to collapse
Great work Could you please upload one about phone screenshot ?
Thanks a lot!
ImAnurag said:
Great work Could you please upload one about phone screenshot ?
Click to expand...
Click to collapse
Sure. Added screenshot to op.
Which was the name of the tool to make this flashable prerooted roms?, i will need to do a SGP512 one for Spain country when it is available.
any advice when making it, kulvertti?
RoberM said:
Which was the name of the tool to make this flashable prerooted roms?, i will need to do a SGP512 one for Spain country when it is available.
any advice when making it, kulvertti?
Click to expand...
Click to collapse
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
and flashtool
RoberM said:
Which was the name of the tool to make this flashable prerooted roms?, i will need to do a SGP512 one for Spain country when it is available.
any advice when making it, kulvertti?
Click to expand...
Click to collapse
Here we go. First you have to download firmware from Sony servers. There are multiple way to do that. For example you can do it by official way using Sony Pc Companion or community tools like Flashtool or quite genious XperiFirm. Downloaded firmware is encrypted and it must be decrypt first. for this you can use Flashtool but if you download with XperiFirm it can do for you automaticly. Next thing to do is make .ftf which can be flashed via Flashtool. To do that use Flashtool. To make it prerooted, I know two methods. There is great quide by @[NUT] in Sony Cross-Device Development General section which explain the whole thing and then there is tool cold PRFCreator which basicly do the work for you if it succeed. With newest Sony firmware there is lastly one problem to figured out which is that you have to disable Sonyric to have write acces to system. Dualrecovery do it for you but as @[NUT] haven´t yet updated latest firmwares to it you have add your device version number manualy to dualrecovery installation file tmp folder file called "installdisableric.sh". Or find other way to disable Sonyric for example adding it Sonyric disabler seperately to the flashable.zip. At the moment though this isn´t enough to make write acces to system and we have to wait that dualrecovery is fixed or figure out some other way to do it.
kulvertti said:
Here we go. First you have to download firmware from Sony servers. There are multiple way to do that. For example you can do it by official way using Sony Pc Companion or community tools like Flashtool or quite genious XperiFirm. Downloaded firmware is encrypted and it must be decrypt first. for this you can use Flashtool but if you download with XperiFirm it can do for you automaticly. Next thing to do is make .ftf which can be flashed via Flashtool. To do that use Flashtool. To make it prerooted, I know two methods. There is great quide by @[NUT] in Sony Cross-Device Development General section which explain the whole thing and then there is tool cold PRFCreator which basicly do the work for you if it succeed. With newest Sony firmware there is lastly one problem to figured out which is that you have to disable Sonyric to have write acces to system. Dualrecovery do it for you but as @[NUT] haven´t yet updated latest firmwares to it you have add your device version number manualy to dualrecovery installation file tmp folder file called "installdisableric.sh". Or find other way to disable Sonyric for example adding it Sonyric disabler seperately to the flashable.zip.
Click to expand...
Click to collapse
Yeah, thanks a lot, i know everything about xperifirm, making a ftf and stuff, what i really needed to know was the prfcreator tool name (i heard about it months a go and i didn't remember), and if there was anything special to do to make it work, like some manual editing on the install script, or what you mentioned about RIC service and dualrecovery.
Thanks again!
I'm so addicted to @[NUT] 's dual recovery, I've forgotten what it's like to be without it. If I flash your (THANK YOU, by the way!) zip, what will be the steps once NUT updates the dual recovery? Just flash it, or will enabling rw be more complicated?
CAL7 said:
I'm so addicted to @[NUT] 's dual recovery, I've forgotten what it's like to be without it. If I flash your (THANK YOU, by the way!) zip, what will be the steps once NUT updates the dual recovery? Just flash it, or will enabling rw be more complicated?
Click to expand...
Click to collapse
We will see. I will update the thread when we have solution to this.
kulvertti said:
We will see. I will update the thread when we have solution to this.
Click to expand...
Click to collapse
is there a compatible version of xposed for this release. I heard it was working on android 5.0 but i got an error when i tried to install the framework. i am aware this release is 5.02 but i cant find any info on what specific versions xposed is compatible with.
Looks awesome! You said the zip comes with the latest dual recovery but it doesnt work? How would i flash my old nandroid backup then?
Or does it mean I should flash a different recovery like: http://forum.xda-developers.com/xpe...wrp-cwm-philz-recovery-collection-z2-t3052676 then I'd have a working recovery on Lollipop?
EDIT: Also can I dirty flash this? I would rather keep all my homescreens, apps n such
thecrunked said:
is there a compatible version of xposed for this release. I heard it was working on android 5.0 but i got an error when i tried to install the framework. i am aware this release is 5.02 but i cant find any info on what specific versions xposed is compatible with.
Click to expand...
Click to collapse
Well on my OnePlus One I had to flash the framework in TWRP after I installed the apk, so maybe its the same
thecrunked said:
is there a compatible version of xposed for this release. I heard it was working on android 5.0 but i got an error when i tried to install the framework. i am aware this release is 5.02 but i cant find any info on what specific versions xposed is compatible with.
Click to expand...
Click to collapse
Correct version of Xposed should work at least with this trick http://forum.xda-developers.com/showpost.php?p=58974714&postcount=2318. But as mentioned you have hard time to install it without working recovery.
GalaxyWhy said:
Looks awesome! You said the zip comes with the latest dual recovery but it doesnt work? How would i flash my old nandroid backup then?
Or does it mean I should flash a different recovery like: http://forum.xda-developers.com/xpe...wrp-cwm-philz-recovery-collection-z2-t3052676 then I'd have a working recovery on Lollipop?
Click to expand...
Click to collapse
Nandroid backup is quite handy when something goes wrong. I have already have bootloops when trying something and have to wipe everything, go back to firmware version .314, root it, install custom recovery, flash my backup and again this rom, without loosing any of my data. So, make nandroid backup. I don´t think that version of custom recovery that you are linking work either without update. @[NUT] is working on this and I´m sure we soon have working recovery.
Also can I dirty flash this? I would rather keep all my homescreens, apps n such
Click to expand...
Click to collapse
Yes you can.
kulvertti said:
Nandroid backup is quite handy when something goes wrong. I have already have bootloops when trying something and have to wipe everything, go back to firmware version .314, root it, install custom recovery, flash my backup and again this rom, without loosing any of my data. So, make nandroid backup. I don´t think that version of custom recovery that you are linking work either without update. @[NUT] is working on this and I´m sure we soon have working recovery.
Yes you can.
Click to expand...
Click to collapse
You've had bootloops on Lollipop?
I think i'll just wait for [NUT] to get the recovery working first Thanks for the reply though!
GalaxyWhy said:
You've had bootloops on Lollipop?
I think i'll just wait for [NUT] to get the recovery working first Thanks for the reply though!
Click to expand...
Click to collapse
Lol. No I don't have bootloops on normal use of LP and yes I have bootloops when trying something experimential [emoji6] which is quite normal with any firmware. Nothing to worry about mate.
kulvertti said:
Lol. No I don't have bootloops on normal use of LP and yes I have bootloops when trying something experimential [emoji6] which is quite normal with any firmware. Nothing to worry about mate.
Click to expand...
Click to collapse
Ah ok awesome!
So if i flashed it now, would I be able to get a recovery working for it later or should i just wait to get the package all in one?
Answering your question, no you have pre-rooted flashed so aslong as you dont break that part it will be possible to flash NUT's recovery through the -installer.zip version instead of the -flashable.zip version which you probably do now to update the recovery in most efficient way. No need to hesitate
Happy flashing
As said I don't see any reasons to wait. As long you have nandroid backup of your kk firmware and rootable version of your device firmware no matter what happen with recovery you don't loose anything and are able to try what ever you decide.
Here is link to .314 firmware (ftf) which is rootable. https://mega.co.nz/#!kcxxjaLA!itErjRi2fYPPswal-c7XasF_lAvPKyY4GwEzY3xgHZ0
T-junk said:
Answering your question, no you have pre-rooted flashed so aslong as you dont break that part it will be possible to flash NUT's recovery through the -installer.zip version instead of the -flashable.zip version which you probably do now to update the recovery in most efficient way. No need to hesitate
Happy flashing
Click to expand...
Click to collapse
Not exactly sure what the -installer.zip version is but ill trust you! Downloading it now

OTA Z2 Working Update Method - 4.4.2 + x.x.x

Update: Just bumping thread, seeing as betas and updates are coming down the pipe.
I've used this method for updating since before 5.0.2? I should add the steps from mashinie [dot] com and clean this tutorial up but ya, Finals have me busy.
Before anything, make sure you are or can get on either 4.4.2 or 4.4.4 with root and recovery.. BACK UP your stuff!
From testing 5.0.2 yesterday (April 7th 2015?) I rolled back to 4.4.2 with a little refresher to gain root and recovery in 5.0.2.
- I found my original android firmware in this forum topic Experia Firmware Downloader. Flashed it using Flashtool.
- I restored my 4.4.4 with root and recovery I had backed up originally
Path to my OTA files in PC Companion (win10) - C:\ProgramData\Sony Mobile\Update Engine\localstorage
- I used this tutorial to grab my ota update from PC Companion, extracted, compiled into a ftf, popped it into PRFcreator with a updated SuperSU and Dual recovery, hit create.
For above link, if they want you to like (social media or something).. find this code and remove the css background-color: on inspect element in your browser, if you don't want to support popups. Lol
.onp-sl-overlap-background {
/* background-color: #fefefe; */ <-- bad usability just comment out their #fefe bs.
z-index: 25;
-ms-filter: "alpha(Opacity=80)";
filter: alpha(opacity=80);
-moz-opacity: .8;
-khtml-opacity: .8;
opacity: .8;
}
Click to expand...
Click to collapse
- Flashed it using Sony Flashtool and bam! 5.0.2 OTA with root!
Reference for updated superSU and recoveries http://forum.xda-developers.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155
I could have got the files for 5.0.2 from the xperia firmware downloader as well but wanted to see the process of grabbing the OTA files I already had on my computer.
Recovery installer working with r/w its a go thanks @Nut
Hit those thanks buttons!!!
Cheers.
You mean a stock rom where someone with rooted 4.4.4 could just flash a single zip and achieve full root, recovery and r/w with lollipop?
The only thing I know how to do is create a pre-rooted flashable zip using a tutorial here. I already downloaded the firmware files from Flashtool, but haven't created the ftf yet or gotten further.
bdithug said:
You mean a stock rom where someone with rooted 4.4.4 could just flash a single zip and achieve full root, recovery and r/w with lollipop?
The only thing I know how to do is create a pre-rooted flashable zip using a tutorial here. I already downloaded the firmware files from Flashtool, but haven't created the ftf yet or gotten further.
Click to expand...
Click to collapse
Yeah I got the stock rom update, just wondering if there's a place to grab it before installation so I can plug it with root and stuff. Or just let someone else have a go. I realize now I'm using a US variant of 4.4.4 kitkat that I rooted, recovery etc last year.
So the update would be 5.0.2 US .690..
back to school. Back to school..
Yea as far as I know, the USA firmware is what is shipped with Canadian devices that are purchased unlocked from Sony. There is no Canadian firmware other than Bell Canada's. Really Sony should just rename it to North America. I'm going to take a stab at it tonight, hopefully Nut updates his recovery by then with fixes so I can create a pre-rooted flashable zip.
bdithug said:
Yea as far as I know, the USA firmware is what is shipped with Canadian devices that are purchased unlocked from Sony. There is no Canadian firmware other than Bell Canada's. Really Sony should just rename it to North America. I'm going to take a stab at it tonight, hopefully Nut updates his recovery by then with fixes so I can create a pre-rooted flashable zip.
Click to expand...
Click to collapse
EDIT:
Ah, bit of scouting around but use the experia firmware downloader found HERE
I'm using the 23.1.A.0.690 / R4C which I downloaded ota last night. I'm downloading it now with the firmware downloader which I can then roll back and inject this download with root and flash.
Bump* Just updated the topic and gave a little how to for my original question. 5.0.2 with root, recovery might be missing as well as a functioning busybox but at least it's rooted!
First, thanks for sharing your steps to bring root to 5.0.2 with us.
But now i have a some questions about your steps because i missing some detail information in your steps
SkyboneNoya said:
Before anything, make sure you are or can get on either 4.4.2 or 4.4.4 with root and recovery.. BACK UP your stuff!
Click to expand...
Click to collapse
How you have create the backup? With Titanium Backup or in custom recovery?
- I restored my 4.4.4 with root and recovery I had backed up originally
Click to expand...
Click to collapse
You mean you restored from a backup createt in custom recovery? How you have do this after you have installed OTA 5.0.2. because after the update you don't have custom recovery?
- I used this tutorial to grab my ota update from PC Companion, extracted, compiled into a ftf, popped it into PRFcreator with a updated SuperSU and Dual recovery, hit create.
Click to expand...
Click to collapse
i don't know PRFcreator and what it does, but i will ask my friend google
- Flashed it using Sony Flashtool and bam! 5.0.2 OTA with root!
Click to expand...
Click to collapse
And now you really have r/w in the system as well?
I hobe you can understand my questions because i know that my english is very bad
thanks and cheers
SkyBeat said:
First, thanks for sharing your steps to bring root to 5.0.2 with us.
But now i have a some questions about your steps because i missing some detail information in your steps
How you have create the backup? With Titanium Backup or in custom recovery?
You mean you restored from a backup createt in custom recovery? How you have do this after you have installed OTA 5.0.2. because after the update you don't have custom recovery?
i don't know PRFcreator and what it does, but i will ask my friend google
And now you really have r/w in the system as well?
I hobe you can understand my questions because i know that my english is very bad
thanks and cheers
Click to expand...
Click to collapse
- I backup with titanium backup as usual but I used the dual recovery I preinstalled to 4.4.4 which is the same method used here.
I just flashed 4.4.2 generic using Flashtool to downgrade, then root and restored my recovery backup from external SD card.
- PRF-Creator lets you bundle a flashable zip which will have root and recovery with it once you flash it in your 4.4.2/4.4.4 recovery you turn device off and flash the ftf OTA or firmware downloader file you downloaded.
I don't have write permission I think which is causing the busybox install to fail. I think there's more to this than meets the eye.
You can try it out yourself using the tutorial HERE but I would wait until the weekend at least for a working recovery.
The answers are all here on the forums and google, finding the correct files is the harder part. I'll try this again and maybe update the OP when I have time. The next two weeks are going to be hell.
SkyboneNoya said:
Update: figured out my original question on how to grab the OTA files. (you can also grab US .690 from firmware downloader.
Before anything, make sure you are or can get on either 4.4.2 or 4.4.4 with root and recovery.. BACK UP your stuff!
From testing 5.0.2 yesterday I rolled back to 4.4.2 with a little refresher to gain root and recovery in 5.0.2.
- I found my original android firmware in this forum topic Experia Firmware Downloader. Flashed it using Flashtool.
- I restored my 4.4.4 with root and recovery I had backed up originally
- I used this tutorial to grab my ota update from PC Companion, extracted, compiled into a ftf, popped it into PRFcreator with a updated SuperSU and Dual recovery, hit create.
- Flashed it using Sony Flashtool and bam! 5.0.2 OTA with root!
Reference for updated superSU and recoveries http://forum.xda-developers.com/xperia-z2/general/4-4-4-creating-rooted-update-package-t2933155
I could have got the files for 5.0.2 from the xperia firmware downloader as well but wanted to see the process of grabbing the OTA files I already had on my computer.
Recovery is a no go, and busybox needs work but I'm happy with the results. :good:
Hit those thanks buttons!!!
Cheers.
Click to expand...
Click to collapse
Would you mind posting a flashable version? I'm stuck at work and I'd love to download and flash this before the weekend!
Thanks either way!
faded_giant said:
Would you mind posting a flashable version? I'm stuck at work and I'd love to download and flash this before the weekend!
Thanks either way!
Click to expand...
Click to collapse
I'll try lol have to record a video promo final this weekend and a infographic poster for monday. Its make or break!
No worries! Thanks and good luck!
faded_giant said:
No worries! Thanks and good luck!
Click to expand...
Click to collapse
Recovery with r/w is up now 2.8.7 http://nut.xperia-files.com my internet is locked at 1mb/s upload lol.. I would upload it but yeah.. Maybe I can get a flashable version up this Monday at school. I'll pack it up for now.
Enjoy!
If I have some time tomorrow I'll do it. Been meaning to finish this for a few days now.
sounds good. I guess I will just wait for your flashable zip.
Hi. Thanx for your effort, I'm now on rooted 4.4.4 and I also have recovery, I heard you will upload a flashable 5.0.2 pre-rooted zip, will I be able to flash it over my 4.4.4 from recovery and get 5.0.2 rooted right away, if so, that will be great
Oh I almost forgot, I have the D6502 which doesnt doesn't have the same baseband as 6503, so your zip won't work for me if it packs 6503 baseband
I just realized that I follow the guide 100% to build the pre-rooted flashable zip. That means I don't include the kernel or baseband in the zip. I flash it via Flashtool afterwards. So my zip won't really help anyone as they'll still have to download the ftf to flash the kernel and baseband anyways. Sorry guys
Edit - unless someone wants to advise how to build a full pre-rooted flashable zip.. I've never done it before and don't want to risk ****in up someone else's device.
Here is a full flashable update I made.
http://www.mediafire.com/download/50s1co7cc4639za/D6503_23.1.A.690_R4C_North_America_5.0.2.zip
Updating from (stock, rooted, locked bootloader, nut's dualrecovery):
D6503_23.0.1.A.0.167_1281-9709_R1B.ftf
to this:
D6503_Customized US_1281-9709_23.1.A.0.690_R4C
- Downloaded D6503_Customized US_1281-9709_23.1.A.0.690_R4C from XperiaFirm
- Created the ftf with flashtool (everything except TA files)
- Used PRFCreator to package a flashable file containing the ftf (incl. kernel, baseband, boot, etc.), nut's dualrecovery 2.8.8 (Z2-lockeddualrecovery2.8.8-RELEASE.flashable), and SuperSU 2.46.
I flashed the zip in nut's dualrecovery I already had installed on 4.4.4, and everything works, root, r/w, and I didn't lose any data.
Wow thanks a lot! This worked great!
Murphy's Law... Flashed my pre-rooted North America lollipop zip on Sunday night, spent the night getting everything setup properly... 2 days later, Sony releases another update for bug fixes lol. Firmware 723 is now available on Flashtool for the North American region.
Since I did a full wipe in Flashtool when I flashed version 690, do you think I can get away with a dirty flash of 723 without wiping?
irishrally said:
Here is a full flashable update I made.
http://www.mediafire.com/download/50s1co7cc4639za/D6503_23.1.A.690_R4C_North_America_5.0.2.zip
Updating from (stock, rooted, locked bootloader, nut's dualrecovery):
D6503_23.0.1.A.0.167_1281-9709_R1B.ftf
to this:
D6503_Customized US_1281-9709_23.1.A.0.690_R4C
- Downloaded D6503_Customized US_1281-9709_23.1.A.0.690_R4C from XperiaFirm
- Created the ftf with flashtool (everything except TA files)
- Used PRFCreator to package a flashable file containing the ftf (incl. kernel, baseband, boot, etc.), nut's dualrecovery 2.8.8 (Z2-lockeddualrecovery2.8.8-RELEASE.flashable), and SuperSU 2.46.
I flashed the zip in nut's dualrecovery I already had installed on 4.4.4, and everything works, root, r/w, and I didn't lose any data.
Click to expand...
Click to collapse
Just flash the zip in recovery? do i need wipe before or after flash? and just hit reboot after ?

[C6906] Stock Customized US 14.6.A.0.368 1276-7484 flashable ZIP, pre-rooted + XZDR

For my convenience, I made a pre-rooted flashable zip to install the stock Sony Lollipop 5.1.1 Customized US FTF to my C6906.
The zip was built using PRFCreator v1.0, SuperSU-v2.46, and XZDualRecovery v2.8.21 based on the C6906_14.6.A.0.368_1276-7484_R2D FTF downloaded via XperiFirm.
Honestly, I have no idea if the locked version of XZDR will work the same on unlocked bootloaders. Since SuperSU and XZDR are both flashed as well, /system should be rw mountable.
Figured I could throw it up here for other folks to play with. It works perfectly from a clean flash, confirmed by a few different people. Based on some other problems people have been having with the update, I recommend doing a clean flash, but YMMV.
I am not responsible if you don't know what to do with this, use it incorrectly, or somehow otherwise make your life worse after reading this post.
MEGA: https://mega.nz/#!EVI1mR7S!xvvyMnVc4Y6QkKM-1hCiB4LHy3W-mSonTN-iaRymgps
edit: Confirmed working. Don't get too impatient on the first boot up Probably won't rebuild this to include Xposed, maybe the next time around.
I didn't have any luck with an ftf file I tried yesterday with SuperSU and XZDR (not yours though one I prepared myself). I tried again today with an FTF I downloaded using the flashtool and just put supersu on it, and that worked.
notzippy said:
I didn't have any luck with an ftf file I tried yesterday with SuperSU and XZDR (not yours though one I prepared myself). I tried again today with an FTF I downloaded using the flashtool and just put supersu on it, and that worked.
Click to expand...
Click to collapse
Where'd you get the FTF file?
@xasbo
http://forum.xda-developers.com/xperia-z1/general/ftf-xperia-z1-c6906-5-1-1-stagefright-t3202137 was the one I downloaded from XDA and modified with superSU and XZDR. My device did not boot after I tried to flash that zip.
Today I downloaded the ftf directly using flashtool, the size was different than the one I downloaded from the forum. I added only supersu and this time the flashing it worked..
Nz
notzippy said:
@xasbo
http://forum.xda-developers.com/xperia-z1/general/ftf-xperia-z1-c6906-5-1-1-stagefright-t3202137 was the one I downloaded from XDA and modified with superSU and XZDR. My device did not boot after I tried to flash that zip.
Today I downloaded the ftf directly using flashtool, the size was different than the one I downloaded from the forum. I added only supersu and this time the flashing it worked..
Nz
Click to expand...
Click to collapse
Ah, yeah, I was honestly a bit suspicious of that post, but maybe it's fine and your mods broke it? Dunno. The FTF via flashtool is what I built with, so it sounds like my flashable zip should work just fine. Still haven't had a chance to try, busy work day...
@xasbo
MD5Sums
d330fcd7f67d98dbb9479820ce396668 C6906_14.6.A.0.368_Customized_US.ftf
814f7c5b8e46b79668cbd19ea85b67e1 C6906_Customized+US_14.6.A.0.368.ftf
Worked just fine for me, thanks a lot! :good::highfive:
xasbo said:
For my convenience, I made a pre-rooted flashable zip to install the stock Sony Lollipop 5.1.1 Customized US FTF to my C6906.
The zip was built using PRFCreator v1.0, SuperSU-v2.46, and XZDualRecovery LOCKED v2.8.21 based on the C6906_14.6.A.0.368_1276-7484_R2D FTF downloaded via XperiFirm.
Honestly, I have no idea if the locked version of XZDR will work the same on unlocked bootloaders. Since SuperSU and XZDR are both flashed as well, /system should be rw mountable.
I am in the process of testing this, but thought I'd throw it up here for other folks to play with. If it works fine, I may re-build it with Xposed built-in as well. Based on some other problems people have been having with the update, I recommend doing a clean flash, but YMMV.
I am not responsible if you don't know what to do with this, use it incorrectly, or somehow otherwise make your life worse after reading this post.
MEGA: https://mega.nz/#!EVI1mR7S!xvvyMnVc4Y6QkKM-1hCiB4LHy3W-mSonTN-iaRymgps
Click to expand...
Click to collapse
Treatcon said:
Worked just fine for me, thanks a lot! :good::highfive:
Click to expand...
Click to collapse
Awesome! Thanks for the feedback. :good:
Works like a charm, dual recovery and rooted 5.1.1
el idolo said:
Works like a charm, dual recovery and rooted 5.1.1
Click to expand...
Click to collapse
:good: Flashed it myself last night, all good here as well.
notzippy said:
@xasbo
MD5Sums
d330fcd7f67d98dbb9479820ce396668 C6906_14.6.A.0.368_Customized_US.ftf
814f7c5b8e46b79668cbd19ea85b67e1 C6906_Customized+US_14.6.A.0.368.ftf
Click to expand...
Click to collapse
FYI... I realized that the FTF MD5 is not very reliable. For example, if you download the exact same firmware twice in a row on the same computer, one right after another, each FTF will have different MD5s. The reason is because XperiFirm downloads individual pieces of the FTF, which are then decrypted, and then packed into an FTF by flashtool. There must be some unique date/time stamps or something that get put in since the MD5 is different.
I tried flashing this on my C6906 with TWRP and it has me stuck in a bootloop now, I am getting the Sony message that the flash failed and to turn off phone and try again...Anyone know of a C6906 FTF pre-rooted? Now my recovery is wiped so I can't flash a zip any longer
bobbytomorow said:
I tried flashing this on my C6906 with TWRP and it has me stuck in a bootloop now, I am getting the Sony message that the flash failed and to turn off phone and try again...Anyone know of a C6906 FTF pre-rooted? Now my recovery is wiped so I can't flash a zip any longer
Click to expand...
Click to collapse
You have 2 options - as this happened to me too but with a different pre-rooted 5.1.1. source:
1. Downgrade to Kitkat 4.4.4, root it, then put a recovery to it, then give 5.1.1 upgrade another shot.
2. Downgrade to Lollipop 5.0.2, root it using Kingroot (which is very easy), [OPTIONAL] change Kingroot with SuperSU, then put a recovery to it, then give 5.1.1 upgrade another shot.
As for me, when my 1st attempt to upgrade to a pre-rooted 5.1.1 ROM failed, I did #2.
bobbytomorow said:
I tried flashing this on my C6906 with TWRP and it has me stuck in a bootloop now, I am getting the Sony message that the flash failed and to turn off phone and try again...Anyone know of a C6906 FTF pre-rooted? Now my recovery is wiped so I can't flash a zip any longer
Click to expand...
Click to collapse
Did you do a dirty flash or a clean flash? This worked flawlessly as a clean flash.
I think the only way you could have ended up with the stock recovery is if you interrupted the flash somehow. Otherwise, SuperSU and XZDR are flashed right after the stock ROM to replace the recovery.
Like @Deathschythe33 said, you have a couple ways to go. Neither has a particular advantage over the other.
Thanks for the fast response fellas, I used flashtool and a stock 5.1.1 ftf and all is well
works perfectly
Thanks ! this was exactly what i needed. No problems during install, I did a clean flash
Heres my Easy-Mode Guide to install this awsome FTF
Well i just install this ROM in the Z1 of my sister and it works perfect , Thx @xasbo
I am not responsible for any failure, if you follow the steps everything will be fine.
Before we start we must have:
- Do not be afraid of losing warranty.
- At least 70% of charge.
- The Phone everytime Pluged.
- Have a Stock ROM.
Lets started!
1.- You must have a previous version of the Stock Lollipop ( 5.0.2 )
2.- Root that Ver. with KingROOT and then Remplace it with SuperSU.
3.- Once you got you Root Access and the SuperSU install the XZDualRecovery
4.- Now Download the FTF this POST (Thanks @xasbo) and Copy it in your SDCARD.
5.- Save your Data, Photos, etc. and Restart the Phone.
6.- Run your Recovery, then look for Wipe > Advanced Wipe and then we going to Check: Davik Cache, System, Cache, Data, Internal Storage, Then Swipe to Wipe.
7.- When the Wipe finish, we going to go to Install, where said "Select Zip to Install" we going to select "External SDCARD" and search the C6906_14.6.A.0.368_1276-7484_R2D_flashable-prerooted.zip previously downloaded, then, Swipe to Confirm Flash.
8.- When the Flash end, you MUST wipe the Davik Cache to prevent Bootloops, then Go to Reboot > System.
9.- At the very first start of your phone after the flash, if You pass the Sony Logo and the Android Logo everything is going fine, when you hit the Purple Waves Screen, It took its time to load (Pretty Much Time), DO NOT PANIC, commonly take pretty much time to enter the environment (Just this time).
10.- Enjoy Your Lollipop 5.1.1 Rooted + The XZDualRecovery courtesy of @xasbo
NOTICE: I do not own any of these utilities, thanks those who took the time to develop them! :good:
i saw that someone put this on their Z1s c6916 but didnt go into details. How could this be?

[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