yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] vdanh:
Hi,

I did backup TA again before I read your post. I followed this thread to backup TA: http://xdaforums.com/showthread.php?t=2292598

Here is my question:

the "TA.img" created after rooted, the size is 2MB. But the "TA-backup-20140618.073543.zip" ( my TA file name after backup) the size just only has 311KB. The different size is quite big.... So, which one is the best and full of TA backup?

Thanks
[Xperia Z2 Original Android Development] sbr_23:
If you extract the ta.img from the zip youll notice that it's the same size.
[Xperia Z2 Original Android Development] giank30:
can you please tell me how to change install.bat to root my Z2 with .402 without downgrading? :)

LOCKED BOOTLOADER, o fcourse :)
[Xperia Z2 Original Android Development] Felborn:
The error is now corrected, all you need to do is what it says on the first post

Sent fra min D6503 via Tapatalk
[Xperia Z2 Original Android Development] giank30:
you rooted with LB, right?
[Xperia Z2 Original Android Development] Felborn:
I will try on my z2 tablet when I get home, currently none rooted but seems this method let's you for root with locked bootloader and no need to downgrade fw

Sent fra min D6503 via Tapatalk
[Xperia Z2 Original Android Development] alinghi100:
I need to now it too, however how to backup keys after rooting? If I root with this method I will not loose anything right?

Inviato dal mio D6503 utilizzando Tapatalk
[Xperia Z2 Original Android Development] Pietroni:
Awesome guys! Rooted with no problems.

Will the recovery (for the lockedbl) be placed in post nr:1 or de we have to find it on our own? And how is the work/testing going?

Do we have to install it with flashtool, put files in folder or as simple as .apk?

Again, grate works guys!
[Xperia Z2 Original Android Development] leo_nidas:
Thanks all i rooted my device :D

Wysłane z mojego D6503 przy użyciu Tapatalka
[Xperia Z2 Original Android Development] ReventonX:
If I update the phone via pc companion to 402 , will I lose the root ?
[Xperia Z2 Original Android Development] SE_iCEQB:
Yes.
[Xperia Z2 Original Android Development] ReventonX:
Anyway to update but I can keep the root ?
[Xperia Z2 Original Android Development] Anakha56:
[MENTION=2784807]DooMLoRD[/MENTION] I know it is impolite to ask for ETA's, but what is the latest on V2?
[Xperia Z2 Original Android Development] SE_iCEQB:
A few people are reporting that this can root fw .402 (which I honestly can't believe, since the exploited bug was fixed in that kernel iirc):

http://xdaforums.com/showthread.php?t=2784900

Overwise, root with the community rootkit and update to a rooted .402 ROM with this:

http://xdaforums.com/showthread.php?t=2784757
[Xperia Z2 Original Android Development] ravdo:
You better believe it, because it really works :silly:
[Xperia Z2 Original Android Development] DjeMBeY:
It really does work mate!! I've managed to root my Z1 (FW .757 and locked BL) which was impossible (without downgrade way back) until now.. They mixed up Community Rootkit with TowelRoot and it works!! Just give it a try, it won't hurt.... :p

Sent from my C6903
[Xperia Z2 Original Android Development] Mrimstad:
It works!

Geniuses!
[Xperia Z2 Original Android Development] abheshekk:
Thnx DoomLord and Team for awesome work
[Xperia Z2 Original Android Development] kptnk:
As I understood these are based on two different exploits.
[Xperia Z2 Original Android Development] DevShaft:
The TA has a lot of empty space and a good amount of text in the 2MB it got assigned by Sony. This empty space and text can be highly compressed and thus leaves a ZIPed backup package which is many times smaller. I hope that explains it for you.
[Xperia Z2 Original Android Development] evilfox7:
I also confirm this :victory: I successfully rooted my .402 Z2 D6503 using that exploit.
[Xperia Z2 Original Android Development] alinghi100:
Intact, everything is working properly

Inviato dal mio D6503 utilizzando Tapatalk
[Xperia Z2 Original Android Development] KevinB88:
Root Problem

I rooted my Device with this tool on .55 firmware, installed [NUT]'s dualrecovery and flashed RomAur3.3. After rebooting device root is lost and i can't update SuperSU binary. Even installing SuperSU from chainfires Site doesn' t work.

Can i just root again with this tool even if i am on .402 custom rom.? Got the same problem with towelroot.
[Xperia Z2 Original Android Development] sbr_23:
Since you have dual recovery, try flashing the supersu.zip from recovery. That should work
[Xperia Z2 Original Android Development] KevinB88:
Well dualrecovery and the app to get into recovery are gone too or i am just too foolish to enter recovery mode manually.

Can i flash dualrecovery again althoug root with Community RootKit seems to be gone?
[Xperia Z2 Original Android Development] sbr_23:
I did the same mistake, I tried rooting using different methods from the forums. Then finally I had to reflash ftf with flashtool and I used the easy root tool. It worked after that. You can get the latest version from http://xdaforums.com/showthread.php?t=2784900.

Once you're rooted you can install dual recovery. I would think that's your best shot. Once doomlord releases the v02 of this tool it should fix all the current bugs
[Xperia Z2 Original Android Development] KevinB88:
Sbr_23

I tried that tool too (in version 3) and it's same problem. After flashing romaur3.3 root is lost and dual recovery is lost too. I think because it installs it's own supersu. Next I will try [Nut]'s Rom.

Our should I root with your method and romaur installed

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 Original Android Development] sbr_23:
V03 had bugs, he uploaded v04 that addresses the bugs from the previous version.
[Xperia Z2 Original Android Development] KevinB88:
I will try when I get home in 30 minutes.

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 Original Android Development] sbr_23:
It's best if you start fresh. I would suggest you flash the ftf and start from there. Let me know how it goes.:good:
[Xperia Z2 Original Android Development] KevinB88:
So i tried version 4 and after reboot root is still active. But flashing another Rom disables root.
[Xperia Z2 Original Android Development] sbr_23:
It seems after installing dual recovery overwrites some files from easy root toolkit v4. Your best chance would be to flash the supersu.zip via recovery
[Xperia Z2 Original Android Development] KevinB88:
No that's not the problem. Then I would have lost root just after every reboot. but it's only lost after flash romaur. I used this tool and than upgrade to.402 Rom with http://xdaforums.com/showthread.php?p=53444623

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 Original Android Development] sudisk:
you need to start over, but with one small difference:

- after flashing romaur, don't reboot and reflash dual recovery

you will then keep the ability to flash superuser/supersu afterwards.
[Xperia Z2 Original Android Development] PiskopatYazar:
I have flashed Romaur v3.3 and lost my root and CWM recovery

It is based on .402 firmware how can I root my phone and install CWM recovery again?
[Xperia Z2 Original Android Development] melvinrobertson:
Hey doomloard I had tried your method on my xperia ZL android 4.4, followed all the steps in the tool kit, my bootloader is locked, after the process my memory card automatically get removed, and I cant see contacts and messages nor supersu app was opening, I make an Idea, then I had flashed the official stock kernal for android 4.4 for xperia zl, after that I can use messages and contacts, and my memory card starts working, then I had checked supersu app, it asked me to install su binary by normal method or by recovery, I choosed normal method, su binaries get installed, I rebooted my phone, my xperia zl is now rooted with locked bootloader, but my question is is this safe, my last xperia zl had dual recovery installed and busybox in that cell slowly slowly make my battery dead, n finally I replaced my Xperia zl, So rply me is this safe ?
[Xperia Z2 Original Android Development] KevinB88:
But when I flash romaur am I able to use SuperSU even if I reflash it via recovery and root is gone because of flashing romaur?

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 Original Android Development] sbr_23:
After you flash romaur dont press on reboot phone. instead go back to main menu and flash the dual recovery again. then go back to menu and flash supersu.zip. then go back to menu and reboot through the power off menu there.
[Xperia Z2 Original Android Development] zgonacy:
Good work. Thanks.

D6503 cihazımdan Tapatalk kullanılarak gönderildi
[Xperia Z2 Original Android Development] alienex:
Hello - I managed to nearly brick my Z2 last night, followed the rooting procedure as per post 1 and then flashed a new ROM which didn't allow me to reboot, just flashing red light and vibrations.

So I downloaded SEUS and updated phone to stock.

However, since doing this, I'm on firmware 402, I run the script which seems to all be going ok, I click on make it rain and after 15 secs the phone reboots, then I check and it is not rooted.

I am not getting any errors coming up, I've tried it several times same result.

Any advice appreciated please. I've also tried the other root method available via the system menu config screen thingy....

Thanks in advance :confused:
[Xperia Z2 Original Android Development] nosidefcp:
do a fresh flash of fw .69 and then follow the steps again. step by step.
[Xperia Z2 Original Android Development] KevinB88:
I can't download supersu.zip from chainfire website. Are there any other links?

Gesendet von meinem D6503 mit Tapatalk
[Xperia Z2 Original Android Development] dahamsta:
Just to confirm, this won't work on 17.1.1.A.0.402? I'd have to go around with a factory reset?
[Xperia Z2 Original Android Development] sbr_23:
just tried. it works http://download.chainfire.eu/450/SuperSU/UPDATE-SuperSU-v2.00.zip

if it still doesnt work try from here https://www.dropbox.com/s/w50fg3w39iz67ei/UPDATE-SuperSU-v2.00.zip

---------- Post added at 08:51 PM ---------- Previous post was at 08:41 PM ----------

v01 wont work wit.402 firmware. you can try this http://xdaforums.com/showthread.php?t=2784900
[Xperia Z2 Original Android Development] DooMLoRD:
v02 is cancelled...

if u can root without downgrade then always better!

use TowelRoot!
[Xperia Z2 Original Android Development] qlulp:
http://download.chainfire.eu/450/SuperSU/UPDATE-SuperSU-v2.00.zip

Seems to be available and working.
[Xperia Z2 Original Android Development] deepgrass:
I found your all-in-one tool works better without needing to run 2/3 different applications from different sources to root and TA backup.

Anyway, support your decision. :good:
[Xperia Z2 Original Android Development] ParanormalBat:
Just to be sure, TA Partition is only lost when Unlocking the Bootloader and not when rooting (using TowelRoot), right?

Thanks

EDIT: It's only been two days and I'm already trying to root this smartphone.

That is a personal record
[Xperia Z2 Original Android Development] harrymason37:
Right. Backup ta before unlocking bootloader
[Xperia Z2 Original Android Development] iArvee:
Sorry, new to the whole Android scene. After rooting using the EasyRoot method, how do I go about unlocking the bootloader?
[Xperia Z2 Original Android Development] celine62:
Hello, am I into 55 and is it m impossible of root J obtain this screen can one m help? please ?
[Xperia Z2 Original Android Development] macshanemike:
how do i update my phone without losing root?
[Xperia Z2 Original Android Development] harrymason37:
Backup ta using this http://xdaforums.com/showthread.php?t=2292598

Go to Sony website and follow the instructions on unblocking bootloader
[Xperia Z2 Original Android Development] 3f1f37:
I lasted 24 hours :cyclops:

On my HTC One X, i lasted a month without rooting.

Got my Z2 last week tuesday, Wednesday @ 18H30, I found this method and BANG couldnt resist.

I'm not big on flashing custom ROMs anymore, partly due to how Xposed has thouroughly impressed me.

Now just root with SU and some custom tweaks and thats enough for me...

I spent more time flashing ROMs than i did enjoying my devices.
[Xperia Z2 Original Android Development] LittleSamson:
Is there a way to keep root access when upgrading to 17.1.1.A.0.402 or do I have to root again?

Should I use PC Companion or FlashTool to upgrade?
[Xperia Z2 Original Android Development] ParanormalBat:
It took me about the same time for my HTC One and even longer to flash a good custom ROM (too many security measures by HTC).

True fact -->
[Xperia Z2 Original Android Development] lanc3lot:
Question, before the headache that coming...

I have succesfully rooted the phone, and then i installed the .402 ota update. And now the phone starts and shows the android icon with a red mark on it, and then the phone switches off. Its bricked? :(
[Xperia Z2 Original Android Development] 3f1f37:
This depends, if you havent unlocked then you can update via PC companion and then you can root with GeoHotz "towelroot" (google that)

If you unlocked your bootloader, just download the ftf and flash via Flashtool..

Choice is yours!!!

---------- Post added at 04:21 PM ---------- Previous post was at 04:19 PM ----------

Might be a soft brick buddy, did you have a custom kernel flashed and then relocked BL while on custom kernel, if yes, your bricked!!!!
[Xperia Z2 Original Android Development] lanc3lot:
:confused:

Xm, anyway to solve this?
[Xperia Z2 Original Android Development] harrymason37:
If locked bootloader, repair your device using pc companion

If unlocked bootloader, flash stock rom using flashtool
[Xperia Z2 Original Android Development] macshanemike:
Is there a way I can update my phone and keep root without unlocking bootloader, I do have my TA partiton backed up if necessary I have to have it unlocked but that as far as I know voids warranty and I have only had my phone 4 days. I have played around with the Z so I know what to do should those steps need to be taken. Any help will be greatly appreciated
[Xperia Z2 Original Android Development] juicejuice:
Install XZDualRecovery then you have CWM or TWRP available to flash whatever you want? No unlocked bootloader required.
[Xperia Z2 Original Android Development] harrymason37:
Based on log, there's nothing wrong, try to recharge your phone
[Xperia Z2 Original Android Development] lanc3lot:
Hey everyone. The phone didn't charge, didn't even light up when put on usb or on charger. I decided to go to sony service, i told that it came that way and i don't know what happened, and after many...cries (haha) i get them to replace with another one!!!!

So, today, i tried another way and i propose it to everyone -> Easy Root -> http://xdaforums.com/showthread.php?t=2784900

It works flawlesly with Z2, .402, and everything went perfect, without any knowledge at all. Click and root. I am sorry to say, but this method here needs more work and if something goes badly, you are ****ed!
[Xperia Z2 Original Android Development] harrymason37:
It's good to hear that!
[Xperia Z2 Original Android Development] khemist92:
Hey!

New Xperia owner here, never owned a sony smartphone before. I'm really thinking of rooting sooner or later and I'm a bit concerned since its a two days old device.

I see that this project is mostly discontinued now, and you advised to use TowelRoot. Anyone tried the latest TowelRoot with 17.1.1.A.0.402?

Will it harm my TA partition of the phone or is it just a simple harmless root?

Thanks in advance!

-Khemist
[Xperia Z2 Original Android Development] Xernoxis:
I tried the newest version. It is really easy just connect your phone and start the program. Remember to check you phones screen if some prompts appear.

It will not harm your TA and you should backup TA after rooting. I didn't do it because I rooted first time a while ago so my TA is gone.
[Xperia Z2 Original Android Development] khemist92:
which is the best way of doing the backup? it's been such a long time since I had my nexus s :)

Tapatalk-kal küldve az én D6503-el
[Xperia Z2 Original Android Development] Xernoxis:
http://xdaforums.com/showthread.php?t=2292598

Haven't tested it, but it should work.
[Xperia Z2 Original Android Development] khemist92:
Hmm its really weird... When I click the make it rain button the app just hangs, and basically nothing happens =( Gonna try the previous version ^^

EDIT: Bah, very same thing with v1 =(
[Xperia Z2 Original Android Development] lanc3lot:
Ι had the same problem. Did it via Easy root and worked. Don't try through the apk yourself, do it through easy root
[Xperia Z2 Original Android Development] brockyneo:
hey guys im new to the z2 i dont want to unlock my bootloader (love the xreallity) i cannot seem to get the service menu to crash any idears im on 402 firmware

also does rooting loose the drm keys (x reallity ect)

thanks
[Xperia Z2 Original Android Development] qlulp:
Rooting itself does not make you lose your DRM keys. Only bootloader unlocking will wipe your keys (x-reality included). Use Towelroot to root your device on 4.4.2 while keeping bootloader locked.

After rooting. Make a backup of your TA partition just in case you want to unlock bootloader in the future. That way DRM key are backed up including xreality :).
[Xperia Z2 Original Android Development] brockyneo:
thanks ive tried towelroot but just seems to crash all the time is it because i dont have my sim card in yet as im still waiting for i through the post
[Xperia Z2 Original Android Development] qlulp:
Towelroot crash sometimes on Z2 .402. Try to use EasyRootTool_v5 then

here

, should work without issues. I don't think it's because of the sim card thingy though.
[Xperia Z2 Original Android Development] khemist92:
thanks for the suggestion. worked like a charm!

Tapatalk-kal küldve az én D6503-el
[Xperia Z2 Original Android Development] lanc3lot:
Glad for it mate, enjoy :good:
[Xperia Z2 Original Android Development] brockyneo:
doesnt seem to work for me it just freezes like the other one :(
[Xperia Z2 Original Android Development] Dan_kwc2000:
Just want to check my understanding about restoring the TA after rooting and unlocking the bootloader. So after I have the unlocked bootloader, I will lose the DRM keys. To restore my DRM keys, I will need to restore the TA and will I relock the bootloader?
[Xperia Z2 Original Android Development] harrymason37:
Yap!

"gadgets need love too"
[Xperia Z2 Original Android Development] Dan_kwc2000:
If I flash a custom ROM and want to keep using the Xperia Lounge, Movies Unlimited etc, I assume I need restore the TA? Does it work like that?
[Xperia Z2 Original Android Development] DooMLoRD:
we have done testing on .55

post the screenshot of the log of the script
[Xperia Z2 Original Android Development] kamalmawa:
How to root .402

How to root your .402 with locked bootloader

Root your device using firmware 17.1.A.2.55/.69 with exploit

Backup your TA if you haven't using [MENTION=5261329]DevShaft[/MENTION] latest Backup-TA tool from here : http://xdaforums.com/showthread.php?t=2292598

Install .402 firmware

Unlock your device bootloader using flashtool

Then install DooMLoRD's Advance stock kernel for .402 from here http://xdaforums.com/showthread.php?t=2764963 using fastboot

reboot your device into recovery and install latest version of SuperSU from here http://download.chainfire.eu/447/SuperSU/UPDATE-SuperSU-v1.99r4.zip

boot your device and maksure to run the SuperSU app once and update the binary using Normal method if necessary

Put your device into flashmode and Flash .402 stock Kernel only using .402 FTF (Untick APPSLOG, CACHE, DATA from Wipe and tick all except for KERNEL from Exclude in Flashtool)

Reboot your device and double check if you still have the root

Then Use Devshart's Backup-TA tool to restore your TA-Partition

Restart your device now you have rooted .402 firmware with locked bootloader ;)

Do this at your own risk

Those who have Bootloader unlock allowed:No gonna have to wait till NUT's dual recovery for locked bootloader and update zip package. This method should work for any firmware releases in the future
[Xperia Z2 Original Android Development] jake460:
So does this rootkit back up TA and root or just root

Thanks
[Xperia Z2 Original Android Development] sierrarohan:
Unbelievable!!!

The word 'Impossible' simply doesn't exist here!!! I was following lots of threads regarding root on LB and finally it came true thanks to you guys! Just a question, is there a chance of getting this kit working with. 402 or do I have to downgrade using Flashtool?

Also, read somewhere that downgrading may hard-brick the handset, is it so? Sorry if this is noobish but I'll be glad to test this kit and open new possibilities!!
[Xperia Z2 Original Android Development] nosidefcp:
backup and root

as far as i know, the exploit its patched in .402.

just downgrade it, root it and wait for the cwm and you will be able to flash 402 custom roms
[Xperia Z2 Original Android Development] Spellbound_91:
Sorry for my stupid question ,but how to get a log.The program window disappeare very fats
[Xperia Z2 Original Android Development] jjpro45:
Worked fine on my Z2, but it does not work well on Xperia Tablet Z2 (FW: .69).
[Xperia Z2 Original Android Development] Strangeland16:
how do i crash system menu im on locked bootloader unlock not allowed i go in to configuration but it doesnt crash
[Xperia Z2 Original Android Development] nosidefcp:
ive been there. you dont have to enter the service menu. the script will enter it for you. make sure you have android sdk installed in PC and just run the script.
[Xperia Z2 Original Android Development] Spellbound_91:
Here is the log

https://dl.dropboxusercontent.com/u/90274876/no%20name.jpg

After that,when i press enter the window desappeare
[Xperia Z2 Original Android Development] Strangeland16:
my bad didnt have android sdk installed grabbing it now
[Xperia Z2 Original Android Development] chesterr:
No worries DooM, I figured what was wrong. I really had to turn on the VPN since China has blocked their server for the installation. :mad:

I mean does it really require internet?Anyways :highfive:
[Xperia Z2 Original Android Development] chesterr:
I'm a happy Xperia Z2 user with Root Access :D
[Xperia Z2 Original Android Development] norti:
Try @xsacha's v10 version for the tablet.
[Xperia Z2 Original Android Development] Spellbound_91:
I successfully Root my Z2!!! Thanks DoomLord,thanks for All you boys who made this tool for us :)
[Xperia Z2 Original Android Development] [NUT]:
Of course :D
[Xperia Z2 Original Android Development] DooMLoRD:
someone please test it out with root explorer and report back if you can write to system.

i have already verified this manually but just want to be certain
[Xperia Z2 Original Android Development] ravdo:
Waiting for your pre-rooted .402 too :laugh:
[Xperia Z2 Original Android Development] norti:
I used Total Commander (for Android) during the tests and it is working.
[Xperia Z2 Original Android Development] Strangeland16:
im obviously doing something wrong ive downloaded android sdk run the script but the service menu opens i go in to configuration menu and it wont crash

is there a step by step guide somewhere not sure if i have to have android sdk running or what pleaase help me with step by step
[Xperia Z2 Original Android Development] Aust S5:
Hi DooMLoRD,

Firstly thank you to you and all the devs for your hard work here. Secondly and my only question after reading the first 10 pages of the thread is can we just run the bat commands from a terminal opened to the zip file contents if I am using ubuntu? A quick read of the bat file seems to only use the adb file commands that are installed on my build computers environment...
[Xperia Z2 Original Android Development] juicejuice:
Mate, just use EasyRoot. It supports Windows/Linux/MacOS and has been tested with all firmware versions up to .402.