[HOW-TO][ROOT][5.02][SGP621] Rooted Lollipop on Locked Bootloader - Xperia Z3 Tablet Compact General

There are quite a few threads that have all the information but for new Z3TC owners, it can be challenging to know where to start and to understand the process.
How I started here is recently purchasing a Rogers Z3TC and to my surprise, the bootloader cannot be unlocked. I shouldn't have been surprised since carriers do tend to lock the bootloaders and if I did my research, I would have found out that Sony offers unlockable and non-unlockable versions of the same hardware. I have never had to worry about having a recovery to root the device or install custom ROMs with root. For anyone new to Android, the recovery is probably the single most important mode to setting up your device the way you want. A prerequisite for that is of course an unlocked bootloader so you can install the recovery of your choice - ClockworkMod (CWM) or TeamWin Recovery Project (TWRP).
So what makes the process confusing for some new Z3TC owners, such as myself, is that the process is somewhat backward. For most of my previous devices, it is:
1. Unlock bootloader
2. Install recovery
3. Gain root through flashing SuperSU or a rooted custom ROM
Because for my Rogers Z3TC cannot be bootloader unlocked, the process now looks like this:
1. Obtain root
2. Install recovery
3. Flash a pre-rooted Lollipop ROM
The only way we can get root on Lollipop is on a pre-rooted ROM because there is no exploit yet to do it directly. The only way we can install a pre-rooted ROM is through a custom recovery. The only way we can get a custom recovery is to be rooted. For unlocked bootloaders, they can get recovery through flashing the img of the recovery. The only way we can obtain root is through an exploit on a Z3 ROM, which thankfully works on the Z3TC due to the similar hardware.
So without quoting all the instructions of each step, I will provide the links and you just have to follow the instructions for each part.
Before you begin, you will need Flashtool and install the drivers for Flashmode and your device. You will not need Fastboot because unfortunately, you wont be doing anything with it on a locked bootloader. You may install it if you want.
If you are on Windows 8.1/10, you will need to to disable driver signature.
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
This is the simple template that I would imagine be the way those of us with locked bootloaders will install custom ROMs, obtain root or upgrade Android.
Thank you @lowtraxx for the root instructions and @[NUT] for the XZDualRecovery.

I am running stock Lollipop now.
If I take above mentioned steps,
do I lose the data with apps and settings I am using now?

ux50jp said:
I am running stock Lollipop now.
If I take above mentioned steps,
do I lose the data with apps and settings I am using now?
Click to expand...
Click to collapse
I have tried downgrading from Lollipop back to step one without wipe in Flashtool but I think the system data are incompatible and caused bootloop.
Once I flashed a fresh SGP621_23.0.1.A.0.167_CE.ftf, I did not bother setting up any apps until I did a fresh install of the pre-rooted Lollipop ROM. If you can back up everything first, that would be best. If you cannot, try Flashtool without wipe and worst case scenario if you bootloop, there is a shut off button beside the SIM card tray and you can still get back into Flashmode.

hellocng said:
I have tried downgrading from Lollipop back to step one without wipe in Flashtool but I think the system data are incompatible and caused bootloop.
Once I flashed a fresh SGP621_23.0.1.A.0.167_CE.ftf, I did not bother setting up any apps until I did a fresh install of the pre-rooted Lollipop ROM. If you can back up everything first, that would be best. If you cannot, try Flashtool without wipe and worst case scenario if you bootloop, there is a shut off button beside the SIM card tray and you can still get back into Flashmode.
Click to expand...
Click to collapse
If someone could do a tutorial video, I think a lot of people along with myself would highly appreciate it. I tried doing root on locked bootloader prior to Lollipop, but it just wasn't happening for me. So I decided to give up and just update it since it was too much of a hassle.

Thanks for the post.
Has anyone else tried this?
I am wondering why the root method previously need to unlock the bootloader to get the 621 firmware back on an rooted.
What has changed for this to work without unlocking the bootloader?
Thanks in advance

hellocng said:
1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
This is the simple template that I would imagine be the way those of us with locked bootloaders will install custom ROMs, obtain root or upgrade Android.
Thank you @lowtraxx for the root instructions and @[NUT] for the XZDualRecovery.
Click to expand...
Click to collapse
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader

Jiyeon90 said:
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader
Click to expand...
Click to collapse
yes if you don't follow this steps
1- flash stock 4.4.4 with flashtool
2-flash the 4.4.4 Z3 system only" with flastool
3-factory reset in settings enable usb debuging etc,etc
4-obtain root with giefroot
5-backup TA partition
6-unlock boot loader
7-install dual recovery
8-flash prerooted 5.0.2 with custom recovery
9- gain get system R/W access with ricdefeat
10-relock boot loader restoring TA
good luck

Jiyeon90 said:
Will I lose my drm keys by doing this? I want to get root but dont wanna unlock my bootloader
Click to expand...
Click to collapse
No, we cannot unlock our bootloader so we will not lose DRM.
Speedy Gonzalez said:
yes if you don't follow this steps
1- flash stock 4.4.4 with flashtool
2-flash the 4.4.4 Z3 system only" with flastool
3-factory reset in settings enable usb debuging etc,etc
4-obtain root with giefroot
5-backup TA partition
6-unlock boot loader
7-install dual recovery
8-flash prerooted 5.0.2 with custom recovery
9- gain get system R/W access with ricdefeat
10-relock boot loader restoring TA
good luck
Click to expand...
Click to collapse
Step 3 and 5 is not necessary because we cant do step 6.

hellocng said:
No, we cannot unlock our bootloader so we will not lose DRM.
Step 3 and 5 is not necessary because we cant do step 6.
Click to expand...
Click to collapse
what do you mean with we can't ? you don't want to ?
Never mind I didn't knew you CAN'T unlock the bootloader at all

1. Obtain root by first flashing SGP621_23.0.1.A.0.167_CE.ftf and the system partition of D6603_23.0.A.2.93_Generic_20GLOBAL.ftf. Then use giefroot to root.
2. Prepare prerooted flashable zip of 23.1.A.0.690 NOBA on your internal storage or external SD.
3. Install XZDualRecovery and now you will have TWRP to install 23.1.A.0.690 NOBA on your SD card.
I would finish off by running SGP621-RICDefeat.zip to get R/W system access.
Click to expand...
Click to collapse
These steps don't unlock bootloader. So DRM stays intact. No need to backup/restore TA!!!

hellocng said:
No, we cannot unlock our bootloader so we will not lose DRM.
Step 3 and 5 is not necessary because we cant do step 6.
Click to expand...
Click to collapse
So I can get root even if I skip step 3, 5, and 6?

Jiyeon90 said:
So I can get root even if I skip step 3, 5, and 6?
Click to expand...
Click to collapse
Yes.

Thank you, its working now, yeah no need to backup TA, unlock bootloader, etc.
It was a bit tricky but not as hard as in the other threads.
I did one mistake, I flashed the SGP621 pre-rooted zip on my SGP611, it wouldnt turn on obviously, so I created a pre-rooted file for the SGP611 and now I'm on lollipop with root and dual recovery
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
Here's the pre-rooted file for the SGP611 users
https://drive.google.com/file/d/0Bz4ANHmLVuVTR2FqWHEzemxORjg/view?usp=sharing
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.

Jiyeon90 said:
Thank you, its working now, yeah no need to backup TA, unlock bootloader, etc.
It was a bit tricky but not as hard as in the other threads.
I did one mistake, I flashed the SGP621 pre-rooted zip on my SGP611, it wouldnt turn on obviously, so I created a pre-rooted file for the SGP611 and now I'm on lollipop with root and dual recovery
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
Here's the pre-rooted file for the SGP611 users
https://drive.google.com/file/d/0Bz4ANHmLVuVTR2FqWHEzemxORjg/view?usp=sharing
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.
Click to expand...
Click to collapse
Could that prerooted 611 file work on my lollipop 612? Or would it need 612 specifically to work?
Thanks

GigaSPX said:
Could that prerooted 611 file work on my lollipop 612? Or would it need 612 specifically to work?
Thanks
Click to expand...
Click to collapse
I'm not sure, you could give it a try.
Or just make a pre-rooted file yourself, it's quite easy, just remember to use the right lollipop .FTF file for your 612 device.

Jiyeon90 said:
I'm not sure, you could give it a try.
Or just make a pre-rooted file yourself, it's quite easy, just remember to use the right lollipop .FTF file for your 612 device.
Click to expand...
Click to collapse
Just follow the same instructions from the first post?

GigaSPX said:
Just follow the same instructions from the first post?
Click to expand...
Click to collapse
Yes, what I did was.
Downgrade to 4.4.4 using flashtool, if you are on 611 or 612 dont use the ftf file in the first post as your device wont turn on, use the correct ftf file for your device.
Flash z3 compact system using flashtool (dont wipe anything and exclude everything but system, you will end up with with the z3 system and you will get error messages when you turn it on, thats fine)
Root using giefrrot (it took me 3 tries to get it rooted)
Install double recovery.
Put the pre-rooted file in your phone memory or sd card.
Flash the pre-rooted lollipop file and reboot, thats all.
But as you have the 612 device I would recommend you to make your own pre-rooted file, just follow these instructions
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

Jiyeon90 said:
Flashing the ricdefeat file fails everytime though but thats a very minor issue.
It seems really hard to brick the device too, I ran out of space on my pc while flashing 4.4.4 with flashtool so the processes was aborted at about 50% but I was still able to get into flash mode again.
Click to expand...
Click to collapse
The RICDefeat is quite important if you want to remove bloatware or alter the system in anyway, which is one of my prime reasons for rooting. What was the error or message?
Flash mode is intact as long as the bootloader is locked as we cannot modify any of the kernel or boot partitions.

Jiyeon90 said:
Yes, what I did was.
Downgrade to 4.4.4 using flashtool, if you are on 611 or 612 dont use the ftf file in the first post as your device wont turn on, use the correct ftf file for your device.
Flash z3 compact system using flashtool (dont wipe anything and exclude everything but system, you will end up with with the z3 system and you will get error messages when you turn it on, thats fine)
Root using giefrrot (it took me 3 tries to get it rooted)
Install double recovery.
Put the pre-rooted file in your phone memory or sd card.
Flash the pre-rooted lollipop file and reboot, thats all.
But as you have the 612 device I would recommend you to make your own pre-rooted file, just follow these instructions
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Click to expand...
Click to collapse
I want to personally thank you for the instructions. I'm now running perfectly as is prerooted Lollipop SGP612. It took me several tries too with the rooting with giefroot because each time I run it, I can't get it connected to USB anymore, which I had to constantly restart to get.

hellocng said:
The RICDefeat is quite important if you want to remove bloatware or alter the system in anyway, which is one of my prime reasons for rooting. What was the error or message?
Flash mode is intact as long as the bootloader is locked as we cannot modify any of the kernel or boot partitions.
Click to expand...
Click to collapse
I don't remember what error message I got, all I remember is seeing the word 'aborted' with the green Android guy laying down.
I have removed several apps that came pre-installed using titanium backup, I also installed the SD card fix so I can use the SD card freely. I haven't had a single issue so far.
---------- Post added at 12:03 AM ---------- Previous post was at 12:03 AM ----------
GigaSPX said:
I want to personally thank you for the instructions. I'm now running perfectly as is prerooted Lollipop SGP612. It took me several tries too with the rooting with giefroot because each time I run it, I can't get it connected to USB anymore, which I had to constantly restart to get.
Click to expand...
Click to collapse
No problem, glad I could help [emoji2]

Related

[UNLOCKED BOOTLOADER] Possible 4.4 Root (NOT MY WORK)

This is not my work, and I can not vouch if it works or not as I am a US Cellular customer and don't have a working version of 4.4 on my device. This was posted on Reddit. Link and entire post to follow:
Video "proof":
http://www.youtube.com/watch?v=NP9WXLIzhTY&feature=youtu.be
http://www.reddit.com/r/MotoX/comments/1r3y30/root_achieved_for_44_kitkat_on_my_dev_edition/
------------------------------------------------------------------------------------------
[–]8bitremixguy 1 point 33 minutes ago*
I want to first say that I did not figure out this method on my own, I saw it on Google+ via Matthew Pierce and modified it to make it easier to follow
Second, do not try this on a device with a locked bootloader. You need the unlocked bootloader to do this.
You'll want to first download these 2 things
1) Superuser zip to be installed in recovery (from Chainfire) -> http://download.chainfire.eu/366/SuperSU/BETA-SuperSU-v1.72B.zip
2) New TWRP for 4.4 KitKat (from Hashcode)-> http://forum.xda-developers.com/showthread.php?t=2534850
Here's the method to get root:
1) let the system fully install the 4.4 Kitkat ota and reboot. Make sure you are on the first OTA before you try to install the KitKat OTA, otherwise your phone could have major issues. After it installs, do not do anything else, let it boot into android.
1b) Take the SuperSU installable zip and place it onto the internal storage
2) reboot phone to bootloader.
3) install Hashcode's TWRP using mfastboot flash recovery twrp-2.6.3.1-ghost-4.4.img. (use the motorola fastboot binary)
4) reboot device to recovery, do not boot into android before this step!
5) go to install and find then select BETA-SuperSU-v1.72B.zip
6) Boot back into android, and if needed, go to the Play Store and install SuperSU from Chainfire
7) enjoy root!
If you do this correctly you will regain root.
------------------------------------------------------------------------------------------
Again, don't kill the messenger! I figured I would pass this information along.
i.Design said:
This is not my work, and I can not vouch if it works or not as I am a US Cellular customer and don't have a working version of 4.4 on my device. This was posted on Reddit. Link and entire post to follow:
Video "proof":
http://www.youtube.com/watch?v=NP9WXLIzhTY&feature=youtu.be
http://www.reddit.com/r/MotoX/comments/1r3y30/root_achieved_for_44_kitkat_on_my_dev_edition/
------------------------------------------------------------------------------------------
[–]8bitremixguy 1 point 33 minutes ago*
I want to first say that I did not figure out this method on my own, I saw it on Google+ via Matthew Pierce and modified it to make it easier to follow
Second, do not try this on a device with a locked bootloader. You need the unlocked bootloader to do this.
You'll want to first download these 2 things
1) Superuser zip to be installed in recovery (from Chainfire) -> http://download.chainfire.eu/366/SuperSU/BETA-SuperSU-v1.72B.zip
2) New TWRP for 4.4 KitKat (from Hashcode)-> http://forum.xda-developers.com/showthread.php?t=2534850
Here's the method to get root:
1) let the system fully install the 4.4 Kitkat ota and reboot. Make sure you are on the first OTA before you try to install the KitKat OTA, otherwise your phone could have major issues. After it installs, do not do anything else, let it boot into android.
1b) Take the SuperSU installable zip and place it onto the internal storage
2) reboot phone to bootloader.
3) install Hashcode's TWRP using mfastboot flash recovery twrp-2.6.3.1-ghost-4.4.img. (use the motorola fastboot binary)
4) reboot device to recovery, do not boot into android before this step!
5) go to install and find then select BETA-SuperSU-v1.72B.zip
6) Boot back into android, and if needed, go to the Play Store and install SuperSU from Chainfire
7) enjoy root!
If you do this correctly you will regain root.
------------------------------------------------------------------------------------------
Again, don't kill the messenger! I figured I would pass this information along.
Click to expand...
Click to collapse
I tried yesterday and it works flawlesly, just to remenber that you need an unlocked BL , basically you will gain root on any unlocked boatloader as you can install TWRP or CWM
unlocked bootloader </thread>
jcase said:
unlocked bootloader </thread>
Click to expand...
Click to collapse
Ha. Classic.
I wasn't aware that this was the case with unlocked bootloaders. I just came from my S3 where an unlock method was readily available when I purchased the phone. In either case, I think this information is useful for noobs (such as myself) if unlocking the bootloader is an option (like myself).
Also, I hope you're having luck with the new root method for non-dev variants, jcase.
Fastboot
beelzebu said:
I tried yesterday and it works flawlesly, just to remenber that you need an unlocked BL , basically you will gain root on any unlocked boatloader as you can install TWRP or CWM
Click to expand...
Click to collapse
Where can I find info for installing Motorola fastboot files for KitKat?
downloading the tmo retail 4.4 from motorola has the necessary files.
Fastboot
beelzebu said:
downloading the tmo retail 4.4 from motorola has the necessary files.
Click to expand...
Click to collapse
I am looking for the fastboot command file to flash the TWRP image. Can you please provide me with the link.
Thanks.
rooting a phone with an unlocked bootloader is something a toddler could do
Fastboot
BaconDrips said:
rooting a phone with an unlocked bootloader is something a toddler could do
Click to expand...
Click to collapse
Agree.
Usually flash using the fastboot command in the SDK-platform-tools.
Comments suggest that that will not work and I need mfastboot, motorola binary. Unfamiliar with that one.
Appreciate a constructive comment. We all have to start somewhere.
Thanks.

[Q] New TN7 - what to do first: root or upgrade?

Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
freeekbert said:
Hello guys,
my TN7 is nagging me to upgrade from 4.2.2 to 4.3 via OTA. I've read that with the upgrade the bootloader will be locked and if I tried to root afterwards a full wipe will be neccessary to unlock the bootloader.
So here's my question: if I root first and upgrade then will root access persist or do I have to suffer a full reset anyway? What would you suggest?
Any hints are appreciated!
Click to expand...
Click to collapse
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting. ( I am having 4.4.2. )
What is the advantage of rooting TN7?
asratxda said:
I have not rooted my device but after you upgrade to 4.3, within 5-10 minutes it will ask you again to upgrade to 4.4.2. I think you should consider this also before rooting.
Click to expand...
Click to collapse
Thanks for the info. Up to now I'm not a big fan of KitKat...
asratxda said:
What is the advantage of rooting TN7?
Click to expand...
Click to collapse
All my Android devices are rooted, because in general I don't like the idea that there is a lot of potential hidden from the customer. For example if you want to make Nandroid backups you need root access. And I'm using Nandroids excessively
Other apps like Tasker need root access to use their full potential.
So the question remains: will root stick through the upgrade(s) or not? And if it doesn't, what can I do make it persist?
no, you will need to root after each update. So you might as well do the updates, then the root. many here are wishing they would have just stayed on 4.3 and not rooted (IMHO) The only thing I like about KK is the gamepad mapper.
I did the two updates (4.3 and then 4.4.2) then I unlocked the boot loader and rooted using the tool as it supports the 4.4.3 update.
Was plain sailing and no problems.
Phil
Thanks guys, so I'm going to root on current version to backup all apps and settings. Then I can do both updates and unlock the boot loader without worrying about data loss.
I'll give feedback how it went :thumbsup:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
freeekbert said:
So, I promised to report back. Coming from Android 4.2.2 I did the following:
Root like described in here:
HTML:
http://forum.xda-developers.com/showpost.php?p=47810386&postcount=1
I used the Chinese method, but please be aware that this way there is strange software installed on your device.
Then I grabbed Titanium Backup Pro and created a backup of all my installed apps. Those backups and important data from internal storage were pushed to a remote FTP server, because I read that unlocking the boot loader also wipes sdcard0.
Next step is installing all three OTA updates. Please be patient, because that this (especially the update to 4.4.2) may take some time.
Unlock boot loader. CAUTION: ALL DATA WILL BE LOST! Follow the instructions of Super Tool:
HTML:
http://forum.xda-developers.com/showthread.php?t=2627654
Flash ClockworkMod Recovery with Super Tool or manually via fastboot. I recommend Super Tool, because it's very handy to use.
Boot to CWM and flash SuperSU.zip by Chainfire and you should be good to go. Now you can reinstall Titanium Backup and restore your previously backed up apps and data from your remote location!
I hope this could come in handy for someone!
Click to expand...
Click to collapse
:good: GREAT!!!! you finally rooted your device!!! I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
...
...
I am going to root , but after at least 3-4 month's of usage. In the past I had rooted LG O1, CUBE U9GT4, iBall Andi4.3a. I also love taking BKPs with TB, very useful for game progress.
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
asratxda said:
I just want to ask you, is it possible to flash "SuperSU.zip" from "STOCK recovery" after unlocking the bootloader? i.e
1) Unlock bootloader 2) Flash SuperSU.zip from stock recovery ; thats all, now your are rooted. ???
Click to expand...
Click to collapse
Nope, unfortunately it won't work this way, because the stock recovery system looks for a special signature which is not present in the zip file.
asratxda said:
Have you tried "viper4android audio mod" and "GLTools"(for maximizing graphics performance for any app)?
Click to expand...
Click to collapse
Neither one of them. But this is possibly because I don't play games on my tablet usually
asratxda said:
I am going to root , but after at least 3-4 month's of usage.
Click to expand...
Click to collapse
Personally I'd do it as soon as possible, because you will lose all your saved data. So the earlier you root, the less you have to restore

[ROOT] 23.0.1.A.0.167 [LOCKED BL] No recovery needed

Hello,
I just wanted to share how I have rooted my device today, and it was way easier than the methods I have been reading about so far.
My device: Xperia Z2 , C6543.
How I did it:
1- I updated my flashtool to the latest version, downloaded the 7.1.2.A.0.314 ftf for my region and flashed like instructed in the post. (Note that If you don't have flashtool installed, you have to go inside it's drivers folder and install the Z2 driver so it can communicate to the phone).
http://forum.xda-developers.com/showthread.php?t=2759934
2- After the downgrade to the 7.1.2.A.0.314 version mentioned above, I went to the flashtool menu (My 65XX -> Root -> Force towelroot)
When prompted to, I have choosen the SuperSU option.
Then the towelroot app showed in the phone's screen, I've tapped on "make it rain" and let it run.
After that the phone restarted and it was rooted.
3. Okay, now that the 7.1.2.A.0.314 is rooted, an OTA update notification showed up to update to the same version (lol). Well, I just let it update, and the root was there (I confirmed by restoring some data in titanium backup).
4. After that, another OTA update showed up to update to 23.0.1.A.0.167. Again, I let it download and install.
Well, that's what it took for me to root my z2 in it's latest version with only one downgrade and no manual adb commands, no manual rootkit downloads, pretty similar to the way I've always rooted my ZQ (R.I.P - it drowned lol).
The credits are due to the hard-working people who made all the mentioned tools, I am only doing my part by sharing an easier method than what i've seen around. Feel free to share your toughts.
Laters!
Sorry to be noob! Will it break anything like camera x reality or anything? And for warranty, can I claim it by just unrooting it(it's in the su) ?
Did not break anything for me. Now I can use foldermount and transfer heavy apps to the external sd. Wonderful. As for the warranty, since there is no recovery installed and no bootloader unlocked, it is as easy as doing the step 1 in the procedure described. It will flash the unrooted system back.
But ist same method, if u use this or this tool.
This post doesnt deserve an original development section!
thanks. I will follow this guide as i had root, upgraded and lost it. But i've have been itching to flash stuff lol.
But ist same method, if u use this or this tool.
Click to expand...
Click to collapse
I am not sure I understand what you mean, but if you are talking about the xperiarootkit compared to the "force towelroot" from flashtool, I checked the scripts in advance and they seem to be the same thing yes. The only shortcut to what I did was not having to flash recovery, and creating customized ftf, etc.
This post doesnt deserve an original development section!
Click to expand...
Click to collapse
I am sorry you feel that way man, that comment was a great way to add value to the conversation, thank you.
remydlc said:
thanks. I will follow this guide as i had root, upgraded and lost it. But i've have been itching to flash stuff lol.
Click to expand...
Click to collapse
Did you tried ota survival in Supersu?
rjshrjndrn said:
Did you tried ota survival in Supersu?
Click to expand...
Click to collapse
not before applying the OTA. Perhaps that would have helped. I have the app installed, but it says the binaries are not installed, to consult the forums for re-rooting
remydlc said:
not before applying the OTA. Perhaps that would have helped. I have the app installed, but it says the binaries are not installed, to consult the forums for re-rooting
Click to expand...
Click to collapse
I think you have to do all the stuff one again and root device. Then check the option for its root survival and do ota updates. I think you'll be fine with the updates.
Question, /System RW? (don't confuse it with a TA Restore, as it could only be restoring to the /Data partition).
Moscow Desire said:
Question, /System RW? (don't confuse it with a TA Restore, as it could only be restoring to the /Data partition).
Click to expand...
Click to collapse
I doubt you'll have system RW access as sony ric should still be running, but if root is working fine flashing nut's recovery should fix this easily.
root achieved and kept
Nice one thanks for the info worked well and updated to .167 ota and kept root.
Going to give this a try. Thanks
Thanks for the info, OP.
I used flashtool to downgrade my D6503 to .55, tried to use towelroot, no luck. used the CVE root exploit and got root, but after that update center failed the verification to .314.
Your method works, so cheers!
Will the Phone be wiped during this root method
ecolupo said:
Will the Phone be wiped during this root method
Click to expand...
Click to collapse
flashtool will wipe your phone unless you unselect data partition (not recommended). The rooting part is non-destructive so no that part won't your phone.
ptmaniac said:
I doubt you'll have system RW access as sony ric should still be running, but if root is working fine flashing nut's recovery should fix this easily.
Click to expand...
Click to collapse
Tried to install nut's recovery with supersu option but all the apks in the script could not be written into system folder. Also could not install xposed installer. May have to downgrade again and avoid this method
update: no need to downgrade again. sony_ric prevents r/w to system folder even with root, so I just used ric killer by forty two: http://forum.xda-developers.com/xperia-z2/general/4-4-4-sony-ric-killer-t2953141
afterward I was able to install xposed installer via normal method.
Thank you for the tutorial. It worked fine for me.
What will happen if I do a factory reset via settings-menu? Will root be gone? Do I have to downgrade again or can I install SuperSU to get root back?
Sent from my D6503 using XDA Free mobile app

[STOCK][D58XX][5.X] Installing ROOT tutorial

Hi friends!
I've got absolutely no expirience on how to write tutorials on XDA and i'm from Denmark, so if it's way off on regards to spelling and guidelines, you now know why.
The goal of this tutorial is to guide you through the process of gaining root access with Recovery on your Xperia Z3 Compact running Android Lollipop 5+.
WARNING: DO NOT USE THIS METHOD IF YOU ARE ON A LOCKED BOOTLOADER!
Lets start
Download AndroPlusKernel from here: http://forum.xda-developers.com/z3-compact/development/kernel-andropluskernel-t2937173
Download XZDualRecovery Kernel from here: http://nut.xperia-files.com/
Copy XZDualRecovery Kernel to your Xperia phone
Open AndroPlusKernel.zip, extract the boot.img and flash it using flashboot with the command "fastboot flash boot boot.img"
Turn on your phone, pressing the volume up to start the recovery.
Flash the ZDualRecovery Kernel
Reboot and open SuperSU so finalize the root access.
Enjoy!
PEAS!!!
This method will not delete any data on your phone.
- Simon
Im root on the 5.0.2 ftf listed in this forum.
I have locked bootlaoder... Although xzdr is nor working.... Is this procedure you detail still ok for my current device?
Do not use this on a Phone with locked bootloader! Put up a warning on this or some May get softbricked phones...
Sent from my D5803 using interwebz
dillalade said:
Im root on the 5.0.2 ftf listed in this forum.
I have locked bootlaoder... Although xzdr is nor working.... Is this procedure you detail still ok for my current device?
Click to expand...
Click to collapse
If you are on a locked bootloader - please see this page http://nut.xperia-files.com/ and flash the "XZDualRecovery"
T2U-lockeddualrecovery2.8.3-RELEASE.flashable.zip - it wont delete your TDA partition.
tndb said:
Do not use this on a Phone with locked bootloader! Put up a warning on this or some May get softbricked phones...
Sent from my D5803 using interwebz
Click to expand...
Click to collapse
Thanks for the heads up - I just added the warning.
sessingø said:
If you are on a locked bootloader - please see this page http://nut.xperia-files.com/ and flash the "XZDualRecovery"
T2U-lockeddualrecovery2.8.3-RELEASE.flashable.zip - it wont delete your TDA partition.
Click to expand...
Click to collapse
Apparently this recovery is not yet compatible with lollipop. Besides there's no recovery in my setup to flash any flashable.
But this procedure is for LolliPop 5.0 ? I know that Custom Recovery of NUT is not compatible with it !?!
So your procedure for lock bootloader will be:
Download AndroPlusKernel from here: http://forum.xda-developers.com/z3-c...ernel-t2937173...link is wrong: is http://forum.xda-developers.com/z3-compact/development/kernel-andropluskernel-t2937173 and the kernel is Z3C_AndroPlusKernel_v31.zip ..BUT this kernel want Unlocked bootloader ??
Download XZDualRecovery Kernel from here: http://nut.xperia-files.com/ : T2U-lockeddualrecovery2.8.3-RELEASE.flashable.zip
Copy XZDualRecovery Kernel to your Xperia phone
Open AndroPlusKernel.zip, extract the boot.img and flash it using flashboot with the command "fastboot flash boot boot.img"
Turn on your phone, pressing the volume up to start the recovery.
Flash the ZDualRecovery Kernel
Reboot and open SuperSU so finalize the root access.
...so is not clear all ?!?
Hispanico
If i download
http://nut.xperia-files.com/
Z3C-lockeddualrecovery2.8.3-RELEASE.installer.zip
And start the process for 5.0.2 in locked bootloader will work? Is this recovery working?
Sent from my D5803 using XDA Free mobile app
XZDR isn't working for LP yet, regardless of bootloader status. OP can you please provide proof that you have working recovery in LP, because it seems you're the only user with this
Sent from my D5803 using Tapatalk
I'm sorry for the misleading title, my method will not install any recovery on your phone - but only root access. Sorry for the mistake.
But for now root access is cool as it enables me to use airstream, vpn and other features that weren't available before.
When a working recovery is released the steps can be used again (flashing androplus) followed by flashing wathever you want to flash from within the recovery. Just remember to flash a compatible lollipop kernel in order for boot to work afterwards.
- Simon
hispanico957 said:
But this procedure is for LolliPop 5.0 ? I know that Custom Recovery of NUT is not compatible with it !?!
So your procedure for lock bootloader will be:
Download AndroPlusKernel from here: http://forum.xda-developers.com/z3-c...ernel-t2937173...link is wrong: is http://forum.xda-developers.com/z3-compact/development/kernel-andropluskernel-t2937173 and the kernel is Z3C_AndroPlusKernel_v31.zip ..BUT this kernel want Unlocked bootloader ??
Download XZDualRecovery Kernel from here: http://nut.xperia-files.com/ : T2U-lockeddualrecovery2.8.3-RELEASE.flashable.zip
Copy XZDualRecovery Kernel to your Xperia phone
Open AndroPlusKernel.zip, extract the boot.img and flash it using flashboot with the command "fastboot flash boot boot.img"
Turn on your phone, pressing the volume up to start the recovery.
Flash the ZDualRecovery Kernel
Reboot and open SuperSU so finalize the root access.
...so is not clear all ?!?
Hispanico
Click to expand...
Click to collapse
Hi Hispanico. I just got a z3c with Lollipop installed. Its basically a stock z3c that receieved the lollipop upgrade. If I follow your steps stated here, will I be able to gain root on 5.0.2? I just want to double check on it, because I don't want to end with a brick. Your steps are clear, but I have not found anyone else saying that they did it with success (or not)...
Thanks!
Hi. How do I know if my z3c is locked bootloader or not locked ?
Chaleman said:
Hi Hispanico. I just got a z3c with Lollipop installed. Its basically a stock z3c that receieved the lollipop upgrade. If I follow your steps stated here, will I be able to gain root on 5.0.2? I just want to double check on it, because I don't want to end with a brick. Your steps are clear, but I have not found anyone else saying that they did it with success (or not)...
Thanks!
Click to expand...
Click to collapse
Hi
I have the same question or @Chaleman did you try
@Taurintas
Dial *#*#7378423#*#* . Then go to -> "Service Info" -> "Configuration". If there is:
Bootloader unlock allowed - Yes << this means that your Bootloader is Locked
Bootloader Unlocked - Yes << this means that your bootloader is unlocked
@ukunilus
Did it and it says bootloader unlock allowed - no. What does it mean ? It means that I cannot do these steps ?
Taurintas said:
@ukunilus
Did it and it says bootloader unlock allowed - no. What does it mean ? It means that I cannot do these steps ?
Click to expand...
Click to collapse
It means your bootloader is locked and can't be unlocked in any way.
So yes, you cannot do those steps...
Hi
I have the same question or @Chaleman did you try
Click to expand...
Click to collapse
What I actually did was install this ROM (http://forum.xda-developers.com/z3-compact/development/d5833-23-1-0-690r9c-t3071901) directly over my rooted z3c D5833 with 4.4.4 and presto! i did a dirty install over my existing rom/apps and have had no issues whatsoever!
Thanks!
Carlos

Z1 Android 5.1.1 Full Stock Rooting method without downgrade !

Hello,
Installing prerooted rom for Unlocked bootloader !
This Rom is Stock Untouched Android 5.1.1 pre-rooted and can be used on any android version on your Xperia Z1.
Things you need:
1-Xperia Z1 with any android version.
2-Prerooted European Stock 5.1.1 FW version bellow
3-SuperSU update (download from the tutorial bellow or anywhere you can find it)
4-Custom Recovery - i used Z1 locked Dual Recovery
First of all you have to go and unlock bootloader, after that install CWM recovery following this tutorial:
Install CWM tutorial from AndroidDevices dot com
After you did this go and download PreRooted Rom, SuperSU flashable and some Recovery Flashable also.
Put them all on your SD card.
I cant post links so i will tell you how to make a prerooted rom.
Download Sony Flashtool and XperiFirm.
Select your desired rom and download prf file - uncheck extract.
Dowload PRF Creator, select Rom File, SuperSU Flashable and Recovery Flashable.
Click Create, wait for your ZIP file that you will need bellow !
STEPS:
Asuming that you instaled CWM Recovery, press Volume Up and Power button, keep pressing volume up when light is purple and boot in CWM Recovery.
Wipe everything, chache, system, davil etc.
Install zip from sd card - choose prerooted rom.
After finishing install it will say that cant install SuperSU and Recovery zips.
DONT REBOOT PHONE.
Choose again Install Zip from SD Card and flash SuperSU.
DONT REBOOT PHONE.
Go back, Install ZIP from SD Card and flash recovery zip.
Now you can reboot.
DONE, you have now successfully Android 5.1.1 Stock FW rooted on your XPeria Z!
Proof
Go to postimage dot com / image/9jpca6kmx/f477cd94/
Is this joke?
Do that printscreen looks like joke to you ?
I will upload a video to youtube soon.
Edit: go to youtube and /watch?v=c2ujy44_Dns
Bican said:
Do that printscreen looks like joke to you ?
Click to expand...
Click to collapse
I said joke because everyone know how to root with unlocked bootloader
We need locked bootloader root
munged said:
I said joke because everyone know how to root with unlocked bootloader
We need locked bootloader root
Click to expand...
Click to collapse
I'm new to this kind of stuff. I tryed many Roms for the battery drop issue since Android Lolipop Update.
Dont know if it helps you but you can use Sony's Developer guide on how to unlock your bootloader or you can use flastool dot net 1 click bootloader unlock.
Open program, conect phone in fastboot, click BL button, then unlock bootloader.
where are the files and the tutorial??
This is a troll, also operator versions of z1 has their bootloader permanently locked
Bican said:
I'm new to this kind of stuff. I tryed many Roms for the battery drop issue since Android Lolipop Update.
Dont know if it helps you but you can use Sony's Developer guide on how to unlock your bootloader or you can use flastool dot net 1 click bootloader unlock.
Open program, conect phone in fastboot, click BL button, then unlock bootloader.
Click to expand...
Click to collapse
but, when you unlock bl you will lose guarantee.
this is a deal breaker
tracer123 said:
but, when you unlock bl you will lose guarantee.
this is a deal breaker
Click to expand...
Click to collapse
I got this phone Second Hand so there is no problem.
Not a troll, this is how i have rooted my phone today with android 5.1.1 - check video on youtube , posted today.
Sony Flashtool via flashtool dot net
Also has included XperiFirm to get any original firmware you want.
PRF Creator via this forum links
Recovery Flashable also from this forum
CWM Recovery boot.img found on that forum also with tutorial - flash it via fastboot (android sdk platform tools) or via Sony Flash Tool
You can find LINK of everything used in this tutorial on this forum.
Get all files then follow this to root Android 5.1.1
Again, im new thats why i cant post links !
Gamer4Life said:
This is a troll, also operator versions of z1 has their bootloader permanently locked
Click to expand...
Click to collapse
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Bican said:
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Click to expand...
Click to collapse
We know how to unlock bootloader but we will lose drm key forever
So downgrade is the best choice for now
Bican said:
I flashed Stock Versions/Custom roms or howerver you called them. via sony PC Companion, Emma, Sony Flash tool
Search this on google "sony unlock bootloader"
Click to expand...
Click to collapse
You, my friend, are insulting intelligence of XDA members. First of all, you can't install recovery if you have no root. Second of all, you can't unlock your bootloader if you have no root. Now understand how d*mb you sound? If I were you, I would beg the modes to wipe this thread and then get another ID or disappear forever.
optimumpro said:
You, my friend, are insulting intelligence of XDA members. First of all, you can't install recovery if you have no root. Second of all, you can't unlock your bootloader if you have no root. Now understand how d*mb you sound? If I were you, I would beg the modes to wipe this thread and then get another ID or disappear forever.
Click to expand...
Click to collapse
forgive him and be kind got qoute from some where, Here's an inspirational qoute
some her know things but never share knowledge, they think they have a top secret under their belt, must make them feel special. Come on guys remember the newbies of today will be the pros of tomorrow and without newbies today there will be no pros tomorrow.
Don't Give Up @Bican ask mods to wipe this thread
Definitly delete this thread, unlocking bootloader we know about it. PRF Creator we know to use, but what how about devices with "unlock bootloader allowed....no"? I think your intentions was good, but this is not a solution, sorry
iedafarha said:
forgive him and be kind got qoute from some where, Here's an inspirational qoute
some her know things but never share knowledge, they think they have a top secret under their belt, must make them feel special. Come on guys remember the newbies of today will be the pros of tomorrow and without newbies today there will be no pros tomorrow.
Don't Give Up @Bican ask mods to wipe this thread
Click to expand...
Click to collapse
The quote is OK, but it applies to those who refuse to share knowledge. Not me...
optimumpro said:
The quote is OK, but it applies to those who refuse to share knowledge. Not me...
Click to expand...
Click to collapse
haha .. sorry not point to you mate, just take full qoutation from somewhere. thanks
Do the same without unlocking bootloader... then we have some business to do.. Hows your camera btw ? is it nice to shoot without focus ?
I've done something similar WITHOUT UNLOCKING BOOTLOADER. In my case , i have a xperia Z1 without the posibility to unlock the bootloader (Unlocking bootloader status set to NO). I have to mention that i did not have any recovery installed on my phone. I've done the following steps:
1. I flashed a KITKAT (4.4.4)(downgraded) to my Xperia Z1.
2. After that i rooted the phone with the simply root (automatic one) or one click root.
3. I've installed dual recovery for Z1 with flashtool.
4. After that , i've flashed a 5.1.1 Android(with recovery) with root, xposed and everything...(IT HAS TO BE COMPATIBLE WITH LOCKED BOOTLOADER , READ CAREFULLY IN DESCRIPTION)
5. Right now i enjoy the rooted 5.1.1 with xposed and everything
Here you have the link of the 5.1.1 flash:http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
ENJOY!
optimumpro said:
Second of all, you can't unlock your bootloader if you have no roo
Click to expand...
Click to collapse
what?
We don't need a root to unlock BL.

Categories

Resources