yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Original Android Development] strongylad28:
I have already used this tool to root my phone already, but when trying to do my friends, I keep getting "waiting for device" on the script.

Its a fresh install of .55 fw with wiped data. Anyone got any ideas? The phone isnt even being found as a usb storage device, I have SDK installed but still having the same issue. Flashtool is also saying "device connected with usb debugging disabled" but I have it enabled?!

So confused here, my phone was found fine , but its not even finding mine as a usb device now "
[Xperia Z2 Original Android Development] guhvanoh:
Had similar problem on my winxp laptop. Four reinstalls later and still no joy. I bit the bullet and used my Linux box. Five minutes later I was feeling good. I still am... Use Linux if you can
[Xperia Z2 Original Android Development] ParanormalBat:
Does rooting my device stop me from getting OTA updates?

Just wondering because the new update has been out for a while and I got .402 as soon as it came out
[Xperia Z2 Original Android Development] juicejuice:
Windows USB can be a real pain in the ass. Try a different USB port. If you don't have another USB port, try going via a USB hub. Worst case, a live linux CD/USB such as Elementary or Ubuntu will do the job but you will need to add adb and fastboot to the live image when it is running.

The other problem you might have is with adb authentication of USB debugging. Make sure you are using latest adb and have authenticated your friends devices for use with your PC.
[Xperia Z2 Original Android Development] mattdufrene:
You can also download USBDeview and remove all the USB drives associated with Android or Google and then reinstall them
[Xperia Z2 Original Android Development] macshanemike:
My next issue is when trying to update my phone ota to .402 I keep getting an error: Unable to verify. Is rooting the cause of that or is that an issue with my phone?
[Xperia Z2 Original Android Development] guhvanoh:
If you've rooted your fone you shouldn't be able to update via OTA. You can update via PC Companion and root again.
[Xperia Z2 Original Android Development] 050177e:
I successfully rooted my locked bootloader and I did the backed up on it... I would like to ask how can install cwm recovery on it?
[Xperia Z2 Original Android Development] ParanormalBat:
Use this:

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

It has both TWRP and CWM in it.

Be careful and choose the right file when installing
[Xperia Z2 Original Android Development] klashnikoff:
going to cry

I've just read this literally 37 minutes after I updated.........I'm assuming new update isn't rootable with locked bootloader then..... Ballsack
[Xperia Z2 Original Android Development] guhvanoh:
Updated to what? 438 is rootable by easyroot as has been reported many times. But then IDK what you upgraded to...
[Xperia Z2 Original Android Development] waleedsq81:
Great work doomlord :good:
[Xperia Z2 Original Android Development] frisco99:
thank you thank you thank you very much :good:
[Xperia Z2 Original Android Development] sofia-captivate:
Guys Havent had a sony phones since x10 now i have the z2. was wondering does this method works on canadian BELL z2 bootloader is locked and i dont want to unlock it. just root only to use greenify app. Not sure what ta backup and all the other stuff is do i need to do those?
[Xperia Z2 Original Android Development] guhvanoh:
You don't know what fun you missed, lol. Try it and see, it shouldn't take more than 5 min to confirm whether it works.
[Xperia Z2 Original Android Development] JustM3:
Is there any way to root a Z2 with 17.1.1.A.0.402 with a locked bootloader.

I've been having a look on towelroot, but I'm scared of one fact.

virustotal.com/en/file/5aa19d58ccda518979ecec97db9ee7a6a1de606fd661ef9238e65f3b533f170c/analysis/1405077599/

Thanks a lot,

JustM3
[Xperia Z2 Original Android Development] Mkvarner:
It is an exploit so it can be counted as a virus but it doesn't mean that it is dangerous to use for you.
[Xperia Z2 Original Android Development] harrymason37:
Im using xv and i used towelroot(apk) to root this and i didn't encounter any issue

respawn
[Xperia Z2 Original Android Development] guhvanoh:
Yes, that's how I got root on Linux. I couldn't get to work in WinXP.
[Xperia Z2 Original Android Development] wickednomad:
I'm on 55 version Brazilian (retail) variable and couldn't root.

Every message is the same as in the pics from 1st post and the service menu has crashed.

I rebooted the device and... root wasn't there.

Usb debugging is on and so is unknown sources.

Drivers are installed

Any ideas?

cheers
[Xperia Z2 Original Android Development] ocariee:
failure on step 1

I've tried a couple of times, and it is still not rooted. Then I started to read what it says on the cmd thing, and I noticed that on step 1,there was:

Warning: Activity not started, its current task has been brought to the front

Test VDC #1:

Failure

Others are either "complete" or "success".

Any ideas what does that mean? What should I do?

debug is on, I've tried to restart my phone a couple of time as well.

Please help! Many thanks!
[Xperia Z2 Original Android Development] ocariee:
omg I just updated to the new system (17.1.1.A.402)...I thought this might help, but even worse, still stuck in the first step, It now says:

--- DooMing device: PART 1!

--- Correcting permissions

--- Running services

Error connecting <Permission denied>

link failed Permission denied

Did I screw it? What should I do now...:(

It didn't ask me for any permission... It asked me for a permission before I update the system but I pressed always allow for this computer, so it doesn't ask me again, it was like a permission to connect the computer
[Xperia Z2 Original Android Development] Erik1805:
When i want to root my phone with a Locked Bootloader will i need to reinstall my apps?
[Xperia Z2 Original Android Development] LittleSamson:
No
[Xperia Z2 Original Android Development] Erik1805:
Does it work with 17.1.1.A.402?
[Xperia Z2 Original Android Development] padraigdoran:
Use the Easy Root tool instead. It is supposed to work fine on .402 You can find it here: http://xdaforums.com/showthread.php?t=2784900
[Xperia Z2 Original Android Development] bdithug:
Which method can I root a z2 purchased directly from Sony, leaving the bootloader locked, without wiping all my data and apps? Or will all methods wipe the device? Using .55
[Xperia Z2 Original Android Development] LittleSamson:
No it won't wipe anything.

I used this:

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

But this method should work too!
[Xperia Z2 Original Android Development] zhuhang:
Will it work on latest 314 update? Anyone tried?
[Xperia Z2 Original Android Development] juicejuice:
I think most people are using rootXperia or Easy Root. Current versions of both tools are tested and work with .314.
[Xperia Z2 Original Android Development] crazynewfie:
I running 17.1.1.A.0.402 rooted with EZDR. Just got a notice for the new.314 firmware. I'm not sure how to update now without losing my root. Can I just install this update OTA and root with easy root after?
[Xperia Z2 Original Android Development] juicejuice:
As long as you have stock recovery then OTA should work fine. Just re-root after the update. I used rootXperia after my .314 OTA and it worked fine.
[Xperia Z2 Original Android Development] crazynewfie:
I have Nuts EZ recovery installed
[Xperia Z2 Original Android Development] juicejuice:
You mean XZDualRecovery? If so, that probably means you didn't unlock your bootloader and didn't flash a custom recovery. Check the XZDualRecovery thread to see if the OTA will still work (not sure). If not, just disable XZDualRecovery as I think the OTA will clear it out anyway.
[Xperia Z2 Original Android Development] crazynewfie:
Yes I meant xzdualrecovery. My boot loader is locked.
[Xperia Z2 Original Android Development] Aust S5:
Hi DooMLoRD,

Quick question will the manual backing up of TA partition commands from here work on the z2 as well. Using linux and phone is rooted with the bootloader still locked.
[Xperia Z2 Original Android Development] XXXOmnicronXXX:
Is there anyway to flash the Updated Superuser.zip with the stock Sony recovery
[Xperia Z2 Original Android Development] shahabk818:
PLEASE HELP!!! When I click on configuration it doesn't blink for me... I tried restarting the phone a few times doesn't work... I still tried to crash the application but nothing happens...

I have a 17.1.1.a.0.402 UK Version
[Xperia Z2 Original Android Development] shahabk818:
I get this as well
[Xperia Z2 Original Android Development] JustM3:
I get the same thing. I guess is cuz of read / write permissions. I rooted the phone but I can't get that on. :)

Edit:

I fixed it with XZU Dual Recovery :)
[Xperia Z2 Original Android Development] guhvanoh:
In Cross-Device Development Projects for Sony Devices, there is a thread - Backup TA v9.11 for Windows. This is the easiest way to backup your TA.
[Xperia Z2 Original Android Development] Aust S5:
Thank you for the reply, but without wanting to be rude, you clearly didn't read the post properly. I am not using a windows based machine and as such 99% of the programs and methods on here don't work for me. I am trying to find a way to do this via a terminal program in Linux. Again thank you for trying though. :)
[Xperia Z2 Original Android Development] guhvanoh:
Apologies, you're right on that. Since that applies to the Z1 you'll have to make sure you're copying from the correct partition. I would strongly advise not copying to the partition. If your fone bricks, you get to keep it on the shelf, not me.
[Xperia Z2 Original Android Development] ZetanBloodline:
I've read through about 20 pages of this thread and I'm not entirely clear on the unrooting process. I've rooted a friends Z2 and while it works absolutely fine, Sky Go app which he uses won't work on rooted devices, so he now wants to unroot his phone.

From my understanding, just reflash.. but this resets the phone back to default. Is there a way to just unroot? Alternatively, is there a way to get Sky Go to work on rooted devices?
[Xperia Z2 Original Android Development] kulvertti:
You don't need to wipe anything when reflash with flashtool. Just unselect the wipe options.

By the way there is xposed module called "RootCloak" Which basically hide root from selected apps. But someone told that it isn't working correctly whit Sky Go.
[Xperia Z2 Original Android Development] Jhon998:
Get Xposed And RootCloak that way you hide root from any app you want...
[Xperia Z2 Original Android Development] ZetanBloodline:
Thanks guys, that's really helpful. We'll check those out.
[Xperia Z2 Original Android Development] 1iam5mith:
Does this have Mac support at all?
[Xperia Z2 Original Android Development] darkmage93:
does this work on the 17.1.2.A.0.323 build?
[Xperia Z2 Original Android Development] nippit:
17.1.2.A.0.323 build

has any one succeeded with 17.1.2.A.0.323 build?

cheers

nippit
[Xperia Z2 Original Android Development] zacutesz:
sorry if this is silly questions, can i use this tool to root my Xperia M2 with kitkat 4.4.2? i'm hopeless how to root kitkat in Xperia M2 :crying:
[Xperia Z2 Original Android Development] umeshxda:
i am getting this error

Error connecting (Permission denied)

link failed No such file or directory

Starting: Intent { act=android.intent.action.MAIN cmp=com.sonyericsson.android.s

ervicemenu/.ServiceMainMenu }

Test VDC #1:

Failure

PART 1 complete!
[Xperia Z2 Original Android Development] Technowhiteboi:
I am having trouble rooting with towelroot. I installed it and made it rain. I then installed super su and it says no su binary installed. I have rebooted but still same issue. any ideas?
[Xperia Z2 Original Android Development] muccioli:
Do you know if Works in xperia z3?

Thanks.
[Xperia Z2 Original Android Development] bacardiandwatermelon:
I'm pretty sure this only works on 55 or 69. Try another root tool like "easy root tool"
[Xperia Z2 Original Android Development] scorpion.poison:
after rooting , X-reality will be lost or not ??

or its related to bootloader unlock only ?
[Xperia Z2 Original Android Development] waynekirby:
Bootloader ONLY. :)
[Xperia Z2 Original Android Development] x_man9989:
Hi guys

I have a problem with my device.

I followed the steps but when the cell phone had to blink it didn't blink and nothing happened.(I couldn't root)

I think the firmware version causes this problem.

Build Number: 17.1.2.A.0.314

What would I do?

Is there any new version or any other method?

edit:

I did it with other method.

Thanks all.
[Xperia Z2 Original Android Development] ermacwins:
So if you root without bootloader unlock, you can't flash custom ROMs? If you do unlock, you lose some features? A friend wants to root his z2
[Xperia Z2 Original Android Development] munjeni:
Is there source code of this root?
[Xperia Z2 Original Android Development] kulvertti:
If you have unlocked bootloader you can flash stock based custom ROMs. You need unlocked bootloader to flash custom kernels or ROMs based another source than stock.
[Xperia Z2 Original Android Development] xerwudjohn:
working on 4.4.4?

Is this working on xperia z2 running 4.4.4?
[Xperia Z2 Original Android Development] El.Guaje:
No, it's not. Devs and explorers are trying to root lastest build
[Xperia Z2 Original Android Development] noord453:
update???????

Any news regarding root on the latest build?
[Xperia Z2 Original Android Development] norti:
There won't be an easy root option for latest KitKat firmwares until a new exploit is found. You can hope but if you want root you need to flash a pre-rooted update (with working rickiller patch) in recovery.
[Xperia Z2 Original Android Development] noord453:
The reason why I do not want to install a custom rom is that I will miss the auto update functions of Sony.

And I do not lose the data on the phone using the original roms and updates of Sony.
[Xperia Z2 Original Android Development] norti:
You can create a pre-rooted update package from the stock ftf's, you won't loose anything, it stays stock but you gain root (and recovery).
[Xperia Z2 Original Android Development] noord453:
Thanks Norti,

So I need to find a way to go back to the previous stock rom

root the phone

create a pre-rooted package from stock

upgrade

and done?

Can ony one please give me directions where to find the descriptions of how to do all this?

regards

Gerard
[Xperia Z2 Original Android Development] bdithug:
http://xdaforums.com/showthread.php?t=2933155
[Xperia Z2 Original Android Development] noord453:
This is great man, thanks.

/Gerard
[Xperia Z2 Original Android Development] fabiolemon:
hi i've Xperia Z2 firmware 17.1.A.2.55/.69 rooted thanks!

Now there 's possibility to update to 23.0.1.A.0.167

What we can do??? Update or not?
[Xperia Z2 Original Android Development] NastyNas_Common:
hey i have just downgraded my device from 4.4.4 us customized to 17.1.A.2.55 bell canada but the device is just rebooting and rebooting...i am worried..please help.
[Xperia Z2 Original Android Development] Godyn:
I've updated my Z2 to 4.4.4,

Should I wait for lollipop to come out to root it?
[Xperia Z2 Original Android Development] y300owner:
This scares me so much.

---------- Post added at 09:45 PM ---------- Previous post was at 09:44 PM ----------

This scares me.
[Xperia Z2 Original Android Development] mousis:
Working for Z2 with 167?
[Xperia Z2 Original Android Development] ridowski:
Need help!

to root xperia z2 with build-nummer 23.0.1.A.0167?????? Please help me
[Xperia Z2 Original Android Development] Envious_Data:
Check the PRF Creator thread at the top of general

Bootloop is what happens when you dont wipe data when flashing across roms which differenciate way too much
[Xperia Z2 Original Android Development] Boneslammer:
So, will this work on the new lollipop update?
[Xperia Z2 Original Android Development] yavhin:
Thanks, great work!
[Xperia Z2 Original Android Development] sankoranga:
.......

............
[Xperia Z2 Original Android Development] meckipower:
Hi! Does you've rooted your Z2 with stock .690 Lollipop with this Tool? It Works?
[Xperia Z2 Original Android Development] yavhin:
Hi, nope. This tool is not for .690 what I did is a long method.

1.) I Downgrade my 4.4.4 to 4.4.2

2.) Then used this toolkit to root

3.) Install a recovery

4.) Then created a pre-rooted stock .690 lollipop firmware
[Xperia Z2 Original Android Development] memogoren:
Deleted
[Xperia Z2 Original Android Development] GMTN:
Thanks OP.

If I actually read the instructions properly then I would have done it with my first attempt instead of my third.
[Xperia Z2 Original Android Development] mihailgreceanu:
didn t worked on mine, whoever has my problem try directly from flashtool (that worked for me) click on my device root towelroot. also you must have adb enabled and unknown sources
[Xperia Z2 Original Android Development] D.J BOY:
Thank you [MENTION=2784807]DooMLoRD[/MENTION]. You're the patron saint of this device..
[Xperia Z2 Original Android Development] Thieuke:
Sadly I'm getting nowhere with rooting my z2. This doesn't work probably because of the different firmware.

Anybody got some advice?

I tried the official (sony) way to unlock bootloader for instance, but my computer doesn't recognise my device in fastboot....

This rootkit does recognise my device, but it gets stuck at the crash the program part (I guess because of the reason I mentioned first).....

I don't know what to try next.

I'm not a complete newby for I successfully have rooted htc sensations, a desire, Samsung galaxy s4, galaxy tab3 10.1 and even a iphone (when this sheep was lost ;) ), which was also peanuts by the way.....

Still, with this device (z2) .... In getting nowhere :(

Verstuurd vanaf mijn D6503 met Tapatalk
[Xperia Z2 Original Android Development] Ruoro:
please help me root my xperia z2 running china-lte 17.1.1.f.0.43 system version. model is l50u

the above doesn't work
[Xperia Z2 Original Android Development] Atasever:
Didn't work for me. I unlock my bootloader with flashtool. Run this script. After First step completed, I choose Configuration but it's not blinking. It showed me configuration page. And same for second step. So when it's finished, it didn't work for me. What is the problem?
[Xperia Z2 Original Android Development] Optikn3rv:
my Z2 just had an update so will this rootkit work on a Z2 with droid 6.0.1 build 23.5.A.1.291
[Xperia Z2 Original Android Development] imkentoy:
Please try and let us know.
[Xperia Z2 Original Android Development] M4rtyn4:
Hello I just rooted my Z2 using this method. My phone is Bootloader unlock allowed no. I had to downgrade to 17.1.A.2.55

But now I'm just unsure how can I upate without loosing root and what is newest/best firmware to update to?
[Xperia Z2 Original Android Development] Snowli:
the download doasend work
[Xperia Z2 Original Android Development] Kenak:
Download Link not working

Hello, please download link is not working. Unable to download Z2-Community_RootKit.zip. searched everywhere. Please help out
[Xperia Z2 Original Android Development] quochr:
This tool can root for sony a2 docomo (so-04F)?
[Xperia Z2 Original Android Development] habuky:
Hi there

I have some permission problems:

I followed this xda tutorial on youtube: 53c1FwdjxtY ("How to Root the Sony Xperia Z2 ")

- flash D6503_17.1.1.A.0.402_UK+Generic+1282-0226_R2A.ftf (runs smoothly) on a Z2 D6503

- enable USB debugging

- allow installations from insecure locations

- connect PC and phone and grant access to the PC

- then I hit runme.bat from fully extracted Z2-Community_RootKit-v01 downloaded here

but i got the following error messages:

Some ideas?

Thanks!
[Xperia Z2 Original Android Development] scheldwoord:
Did you grant permission to your computer from the phone when the computer tried establishing an ADB or fastboot-session over USB? If not, then the computer is not allowed to do anything over ADB or fastboot.

When starting the script, keep an eye on the phone's screen and allow any request for USB debugging.
[Xperia Z2 Original Android Development] zoultrex:
Did you try it? Did it work?
[Xperia Z2 Original Android Development] amineKac:
Is there any other links so I can download the toolkit ? the links mentioned are not working anymore.
[Xperia Z2 Original Android Development] kingsamuraix:
can anyone post the download link for the toolkit pls, i can't download it anymore. Thanks so much
[Xperia Z2 Original Android Development] DRaGoN94RuS:
Can you give download link for Archive? I cant get file.
[Xperia Z2 Original Android Development] AndroidXL:
i need that for 23.5.A.1.291
[Xperia Z2 Original Android Development] Tessa33a:
Anyone can reup the file??? a other mirror? i can not download please!!!

Z2-Community_RootKit-v01.zip
[Xperia Z2 Original Android Development] mesery:
did u try this on .291 ? if not how did u root it ?
[Xperia Z2 Original Android Development] kubesak97:
I have the file ! Who want it, PM.
[Xperia Z2 Original Android Development] @muja@:
needed badly mate,thanks in advance and Bless You!!
[Xperia Z2 Original Android Development] dimon9041:
problem(error)
[Xperia Z2 Original Android Development] tescoolman:
Still looking for the file

Anyone have the file I could retreive or send me in MP? I have an old Z2 I'd like to root...

THANKS!!
[Xperia Z2 Original Android Development] merchupi:
https://drive.google.com/file/d/0B2I5z1mFfUpcbWU0cTF4WHBOTlE/view

---------- Post added at 10:53 AM ---------- Previous post was at 10:52 AM ----------

From here: https://guidebelajar.blogspot.com/2016/04/guide-full-root-on-android-sony-xperia-z2.html
[Xperia Z2 Original Android Development] nosidefcp:
ive tried to copy paste a file to system and i got a error "cant copy here because system is read only"
[Xperia Z2 Original Android Development] [NUT]:
ETA 24h tops :angel:
[Xperia Z2 Original Android Development] hidea:
You've opened a can of worm! Now everyone's gonna demand a ROM & dual recovery in the next 24hr ;).

In all seriousness, I look forward to your dual recovery and your ROM, whenever that may be.

Also, to all the other devs who contributed:

Thanks to all the hard work, devs!
[Xperia Z2 Original Android Development] DooMLoRD:
try it 1-2 minutes after system reboots