[Q] Rooting z1 compact stock lollipop

bumjrah

Senior Member
Oct 31, 2013
296
47
0
We all have gotten a sneak peek of Sony's lollipop update onto our beloved z1 compact. Through the many ways available I for instance used an ftf file. But they do not come pre-rooted like the zip file alternatives.
The only way to root ftf I am told is to flash a kernel pre-installed with a recovery then flash SuperSU zip. I have flashed like 3 different boot.imgs only to find no TWRP/Philz/cmw recovery.

Can anyone give me a WORKING kernel that will boot into a recovery? Would really appreciate this.


Found my solution

Edit: I just found a cm11 snapshot boot.img kernel, flashed it. Booted to recovery and flashed a pre-rooted rom zip. Easy as pie.

Thanks all.
 
Last edited:

martin091

Senior Member
Jul 2, 2012
59
9
0
Sheffield
I've done it.

I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.

You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
 

bumjrah

Senior Member
Oct 31, 2013
296
47
0
I've done it.

I made a pre-rooted ftf using PRF creator and compiling the SUPERSU v2.37 and Z1C locked dual recovery 2.8.12 from Nuts site.

You can use Xperifirm to download the the firmware, then use Flashtool to decrypt the fileset and create the FTF, then you're good to go.
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
 

martin091

Senior Member
Jul 2, 2012
59
9
0
Sheffield
Awesome, which version region did you use? Mind sharing?
I am almost running out of options
I'm from the UK but I used the "Customized US" version. It works all the same, I've put together a UK one now but I'll need to wipe data before I can use it.

I'd share if I didn't have awful internet. The file is massive, unfortunately.

You'll find multiple threads on how to do different parts.

You need to create your pre-rooted firmware, then you'll need to download KK with Xperifirm (probably .108) and flash it with Flashtool.
Root KK using Easy Root Tool and install XZDualRecovery using the desktop client.

Once you're rooted with SuperSU/SuperUser and Recovery you can install the pre-rooted firmware (PRF) as a flashable zip within Recovery itself.

There's also work arounds for Xposed which you can find too, I've used them and it's all working as it should for now.

I also have a locked bootloader, so don't worry about unlocking it. I'll have a look around for the threads I used and post any I find.

---------- Post added at 08:38 AM ---------- Previous post was at 08:24 AM ----------

Working Xposed work-around
http://forum.xda-developers.com/showpost.php?p=60298690&postcount=123?

FR pre-rooted firmware with extras (not sure on your region or if it'll work properly. Worth a try?)
http://forum.xda-developers.com/sony-xperia-z1-compact/general/14-5-0-242customizedfrpre-t3083055

PRF Creator
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

Xperifirm
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142

Flashtool
http://forum.xda-developers.com/showthread.php?t=2335555

I'll leave you to find your own SuperSU or SuperUser zip, same with XZDualRecovery as they're frequently updated so you're better off finding the latest versions.
 
  • Like
Reactions: Mateo Diego

dazzerfong

Member
Nov 22, 2014
16
9
0
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?

Not sent by me!
OK, there seems to be some loss in translation somewhere. Hope this will clear up some stuff:

1. Flash KitKat (kernel, system, everything).
2. Root it.
3. Install recovery (here)
4. Since you don't want to make your own pre-rooted firmware, here. Click on 'Google Drive' for the zip, and FTF. You need both.
5. Put the zip in your SD card/internal.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded. Check System and Baseband on the 'exclude' column.
9. Have fun!
 

BlackArtsInc

Senior Member
Apr 26, 2012
773
77
0
Athens
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?

Are these steps correct or not? Im about to try today cos I really miss root on my phone.

If you are already on Lollipop and your bootloader is locked you can get root this way.
1.Download the correct KitKat (.157) ROM for your country/operator using Xperifim.
Convert it to FTF using Flashtool. (there are tutorials,search)
2.Flash the FTF you created using Flashtool's Flashmode. Include everything.
3.Root your KitKat (.157) using the forum's tutorials and also install [NUT]'s recovery.
4.Boot into recovery and flash your pre rooted ROM in flashable zip format.
(There are also tutorials on how to create this with Xperifim and PRF programs).
5.Enjoy rooted Lollipop with locked bootloader.
Not sent by me!
 
Last edited:
  • Like
Reactions: bugggmenot

dazzerfong

Member
Nov 22, 2014
16
9
0
@dazzerfong OK,first of all thanks for your answer. What I'm asking is how did you do the first step with locked bootloader.
Flashtool->Flashmode->KitKat 157 FTF->Then root it blah blah?

Not sent by me!
Yep! All done with locked bootloader (or, if you want, unlocked, but you're wasting your time if you're unlocked). So, first you flash the FTF of a KitKat ROM.

Rooting, use Towelroot or something. No idea why, but Towelroot refuses to play with my TWRP (recovery), so I used the old method.
 
  • Like
Reactions: BlackArtsInc

BlackArtsInc

Senior Member
Apr 26, 2012
773
77
0
Athens
@dazzerfong

One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.
6. Boot into recovery and clear all data (dalvik, system, data, everything).
7. Flash the zip. DO NOT REBOOT.
8. Shutdown and use Flashtool to flash the .ftf you downloaded.
Check System and Baseband on the 'exclude' column.
On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
 

dazzerfong

Member
Nov 22, 2014
16
9
0
@dazzerfong

One last question cos I just did all the steps but I couldnt reboot into Lollipop after flashing my pre rooted rom zip file.


On step 8 which FTF you mean exactly? I assume you mean the FTF from which you created
your pre rooted zip initially? In my case the Customized GR version?
N.
You should have downloaded 2 things so far: the zip, and the FTF. That FTF is Lollipop stock: doesn't matter where it's from. Flash that in Flashtool, but remember to check 'System' and 'Baseband' in the 'Exclude' column.
 
  • Like
Reactions: BlackArtsInc

c6nsor9d

Member
Mar 10, 2009
28
4
0
Casablanca
How did you downgrade really?
You just flashed the 157 FTF in flashmode? It's doable?

Not sent by me!
Downgrade to .108 (with flashtool) in order to directly root the phone, whereas with .157, you'll have to flash an older kernel with flashtool in order to get root.
Once rooted, just get yourself a flashable prerooted firmware (zip file) and flash it from the recovery (after a wipe factory reset; wipe data; wipe cache; wipe Davilk Cache and Wipe System).