yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 General] realslimshady024:
I'm a complete noob here, can someone explain to me what I'm supposed to do to root my d6502 .291 firmware z2

I don't know much of anything right down to what and how I'm supposed to flash :(
[Xperia Z2 General] jelmerpeligrino:
I'm also new when it comes to rooting, can anyone help me how to do it?

I want to root my Z2 (D6503) (.291) because I want to use the Cyberian Camera.

Is there a need to flash something or do some downgrade before rooting?
[Xperia Z2 General] Nhocmt:
D6502 is similar D6503 .

just follow the tip in page one step by step.

---------- Post added at 08:26 AM ---------- Previous post was at 08:23 AM ----------

no need downgrade . just follow PO .

its very easy !
[Xperia Z2 General] jelmerpeligrino:
Pinoy?
[Xperia Z2 General] realslimshady024:
I have managed to flash the .575 kernel

kernel version says date april 22

ran install.bat but twrp won't install

it said "adb server (32) doesn't match this client xperia z2"

there was no installation of twrp, phone just rebooted normally

pardon me, i'm new to this, can you please help me out?
[Xperia Z2 General] Bewildered Wolf:
run install.bat as admin . and make sure you are using v5 version stated in original post. now the earlier version.

---------- Post added at 03:28 AM ---------- Previous post was at 03:08 AM ----------

so here it goes in easy words.

1. Enable USB Debugging.

2. DOWNLOAD THIS KERNEL AND PUT IT IN YOUR SD CARD. (THIS WILL BE USED LATER.)

AND

DOWNLOAD THIS SUPERSU AND PUT IT IN YOUR SD CARD. (THIS WILL BE USED LATER.)

3. DOWNLOAD THIS KERNEL NOW. AND RENAME IT FROM .zip to .ftf AND FLASH IT USING FLASHTOOL. YOU"LL HAVE TO SWITCH YOUR PHONE OFF FOR THIS.

4.Now download this and now extract the downoaded file. and then switch on your phone and connect it to PC. So, the from the extracted files run install.bat as admin. And when the process is finished your phone will boot into recovery.

5. In Recovery, you'll see an option install. tap on that. and then select SUPERSU (one of the files you placed in you sd card) and flash it. Now Again Install and Flash the kernel (the other file you download in step 2 and placed in your sd card.)

6. Start the device and congo. you're rooted now :)

And when you're done with this come to the cyberian thread. :)
[Xperia Z2 General] realslimshady024:
adb server version (32) doesn't match with the device (36), killing...

error: unknown host service

this is all i keep getting

after which it just reboots normally
[Xperia Z2 General] Bewildered Wolf:
Close flashtool and try again?

Idk if its related or not.
[Xperia Z2 General] realslimshady024:
hey i figured out that there was some trouble with the google android usb driver. I reinstalled it. and now i have successfully rooted thank you so much :D your step wise instructions really helped :D:D:D:D

now that i have rooted it, what apps do you strongly recommend?
[Xperia Z2 General] Bewildered Wolf:
Xposed installer for sure.

Search xposed installer for Marshmallow and you'll get it.

And please take a backup before hand of everything. You'll get it I'm twrp.

And about the apps.

Greenify, Amplify for battery savings.

Android n-ify for n style nav bar.

And bootmanager, ifonts and there are lots more.

Depends on what you want from your device. :)

Edit: Flash a custom rom. Existenz maybe? ?
[Xperia Z2 General] BlazeBlu3:
Heyo, i have the same problem recovery is not working when i open bat file information comes "" "adb" is not recognized as an internal or external command, operable program or batch file"" times 10 after min my phone turn on itself. not sure what to do i tried everything.
[Xperia Z2 General] Bewildered Wolf:
http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Please use the search tool brother. :)

Its very helpful.
[Xperia Z2 General] jelmerpeligrino:
I follow all the steps but I can't still flash the .575, I'm still on .291.
[Xperia Z2 General] jelmerpeligrino:
I always got this warning everytime I flash .575. Why? :(
[Xperia Z2 General] IshamTheGreat:
Thank you very much! I always wanted to root my Z2 in order to breathe some new life into it but I found tutorials to be harder than I thought. They would always ask me to downgrade my firmware and in the process all my data would be wiped.

But with this tutorial and after acquiring some basic knowledge of how things work after root, I am now rooted!! I can't thank this post enough!

Even though Z2 isn't gonna get 7, but I got most of the features of 7 with AndroidNify!

Rooting is fun!:svetius:
[Xperia Z2 General] Nhocmt:
hey little girl , what you mean ?
[Xperia Z2 General] Shri Arun Karthikeyan:
Do we need to install Xposed installer(http://xdaforums.com/attachment.php?attachmentid=3383776&d=1435601440) before flashing xposed V85...?
[Xperia Z2 General] Bewildered Wolf:
Uh need xposed installer and xposed framework both to get them working. It's upto you whether you flash the framework before or after xposed installer. But you need them both :)
[Xperia Z2 General] Shri Arun Karthikeyan:
thanks...should i go with installer 3.1.1 or 3.0
[Xperia Z2 General] Bewildered Wolf:
Go with the lastest version bro.

Press thanks if I helped you ;)
[Xperia Z2 General] kimoweantemo:
can i root my z2 D6502 6.0.1 23.5.A.1.291 or its just for D6503

and can someone please tell me how to do it step by step its my first time
[Xperia Z2 General] drivexcore:
Hey guys,

Hope someone can help me with this, I think I have sucessfully flashed the 575 kernel from what I can tell but then the recovery installer tool thingy is telling me that my device is not supported and just reboots the phone back into system! Any ideas?

EDIT: Fixed it, I was ticking a box in flashtool to exlude the kernel, just assumed it should be ticked when it didn't need to be!

EDIT 2: got into recovery, got rooted but now I can't get back into recovery again to install a custom rom :/

EDIT 3: Got into recovery, AOKP and AOSPA (MM builds) wont install but CM 12.1 has installed fine, what am I missing?

Thanks in advance :)

Ian
[Xperia Z2 General] marcp39:
I encounter a strange problem when following all the steps from post #1... My Z2 is booting in recovery the 1st time I'm using "Recovery_for_MM575-291v5" but then I'm unable to enter recovery again, each time the phone is booting android instead. If I'm flashing nut's recovery, it's not working.

I've searched in this thread but didn't find any solution, any idea ?
[Xperia Z2 General] vsnst:
can i do this while my device is 5.1.1
[Xperia Z2 General] Bewildered Wolf:
No, there will be another thread for Lollipop. Search on xda for that :)
[Xperia Z2 General] vsnst:
i found one,but need to use kingroot

i don't like this way,the rom isnt very clean
[Xperia Z2 General] Bewildered Wolf:
http://xdaforums.com/xperia-z2/general/root-t3108230

this might help :)

hit thanks if it helped.
[Xperia Z2 General] vsnst:
http://imgur.com/a/5nAQV

while i was installing the recovery,it shew this,after it said installed it,and the device didn't switch to recovery in auto

also, the device has not rooted.

http://imgur.com/a/5nAQV

---------- Post added at 12:56 PM ---------- Previous post was at 12:53 PM ----------

i don't know why i can't add images .

here's the link

imgur(.)com/a/5nAQV

---------- Post added at 01:40 PM ---------- Previous post was at 12:56 PM ----------

photo2

http://imgur(.)com/a/vSZXw

---------- Post added at 01:49 PM ---------- Previous post was at 01:40 PM ----------

i know how to fix it ,damn

waste my whole day, you have to close the flashtool before you run recovery install
[Xperia Z2 General] kimoweantemo:
Hi i need help i can't boot into recovery i rooted my phone finally

i followed every step in this post i did every step twice till it worked and i booted into recovery and i flashed super user and kernel 291 but i can't boot into recovery again

i installed boot apps and try to turn it off and press up and down button still can't

boot
[Xperia Z2 General] Bewildered Wolf:
Try this

http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Press thanks if it helped you :)
[Xperia Z2 General] yakupTR:
Bro my phone( lb) 575 kernel or 291 kernel stock?? Example I am install now drm keys?? Backup ta? Any risk drm keys? Pls report?

Xperia Z2™
[Xperia Z2 General] kanina:
Im little bit have problem can you make video for this step??
[Xperia Z2 General] Bewildered Wolf:
Not video but step by step tutorial

http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Press thanks if it helped.
[Xperia Z2 General] huar9966:
-start the device and connect it with pc and run the tool and wait till it finish the

-start the device and connect it with pc and run the recovery tool and wait till it finish then the device will boot into recovery automatically
[Xperia Z2 General] tonyt.:
Hi, I'm very newbie with this device, this will erase all my data? Or only root and my files keep untouched?

Thanks, regards
[Xperia Z2 General] macdoof.mp:
Hi together, THX for this tool. I followed the steps and my phone is now rooted. Titanium is installed and work fine. But I have no Recovery. Is there a way to flash Recovery again without loose Root?
[Xperia Z2 General] Bewildered Wolf:
http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Press thanks if it helped.
[Xperia Z2 General] singhs25:
Hey [MENTION=4702982]rocker00[/MENTION],

Thank you so much for sharing this. :):)

I would really appreciate the answers to some of my queries related to this which are as follows:

1. Does this require Rooted Device (as my Sony Xperia Z2 6503 is not Rooted)?

2. Along with the steps mentioned, would you be able to provide few screen captures which will be great help me out to carry out this process on my phone efficiently.

Thanks in Advance.
[Xperia Z2 General] Bewildered Wolf:
No, Rooted device is not required. Even after this method you get root and recovery both.

Not screenies but a step by step tutorial. Here :-

http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Press thanks if it helped :)
[Xperia Z2 General] singhs25:
I wasted my complete day doing this but couldn't get through as the mentioned steps are not at all clear.
[Xperia Z2 General] Bewildered Wolf:
Why not try this

http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Press thanks if it helped you :)
[Xperia Z2 General] Randagio_85:
Solved

Ok, solved

I had to put the entire path of the files folder in the install.bat script.

Thanks guys
[Xperia Z2 General] Bewildered Wolf:
You'll have to tun installer.bat as admin.
[Xperia Z2 General] Randagio_85:
Yes I know, and I did it. But for some strange reason mi pc didn't recognize the path of the files folder.

Anyway I already fixed it and rooted my phone.

Thanks a lot
[Xperia Z2 General] maniputha:
Done Z2 - 23.5.A.1.291 - 6.0.1

Thank you so much !

Just now I root My Z2 and cheked access with root checker every thing is fine !

Got help from this video ;)

https://youtu.be/T17IAnTg9gk

if any one got problems with install.bat follow this thred

http://xdaforums.com/z3/general/recovery-root-mm-575-291-lb-t3435214/page9

Thanks Good Luck!
[Xperia Z2 General] androsico:
I rooted my Z2 with this tool and totally worked but then after a while , the recovery is gone, I can't get into recovery anymore the phone boots into OS without any Notification light going on.

So i found a guide to flash recovery again http://xdaforums.com/xperia-z2/general/mm-twrp-recovery-lb-ub-xperia-build-570-t3433582

It worked and i could get into Recovery again but then after a while the same happens and the recovery is gone again

I'm using 23.5.A.1.291 Stock MM Rom

any idea what to do ?!
[Xperia Z2 General] Bewildered Wolf:
Use the steps in my signature :')

Root and recovery Z2 (MM)
[Xperia Z2 General] androsico:
I did those steps before and like i said i have rooted my device and i have supersu fully working, the problem is my Customrecovery TWRP gets replaced or removed after 5 6 uses I don't know , By itself !
[Xperia Z2 General] xPr0metheus:
I cannot download the attachments from the first post, is there anything wrong with it?
[Xperia Z2 General] dibla2:
Hello to everybody,

I´m afraid, I´m facing the same issue - I´m not able to download any of attached files in first post - please gentlemans be so nice and make re-upload.

Thank you for your help in advance.
[Xperia Z2 General] xPr0metheus:
Yeah I feared it was my internet, but I switched it now and still not able to download anything. But it worked earlier today... That's strange.
[Xperia Z2 General] foiros:
yeah same for me i manage to download the first files, and after many struggle with flashtool, i succeed to flash the older kernel, and now i cant download the others files, maybe a other link or something ???
[Xperia Z2 General] xPr0metheus:
Yup we need extern links, no xda attachment seems to work atm. Would be amazing if anyone who already has them could upload them somewhere else for us.
[Xperia Z2 General] 23Six:
Yeah. The download links aren't working. Please someone upload a mirror
[Xperia Z2 General] Chip_88:
Hi there,

thank you for your instructions.

Using Linux (Kubuntu) I followed all the steps.

The Recovery is installed and I can open it and install zip files from there.

I could also install SuperSU, but it doesn't work properly at the moment, because it seems to recognize, my Xperia is no rooted completely yet.

But unfortunatelly, the really first step doesn't work, no matter how many times I tried to flash the 575 kernel, it still remains on 291.

I read many of us had this issue, so my question would be, if there is meanwhile a solution for this problem???

Thank you in advance & happy new year!

Chipy
[Xperia Z2 General] Bewildered Wolf:
[MENTION=6891123]iXaidyiu[/MENTION] bro can you upload the files that are present in the xda attachments of the OP. as you know my windows crashed this week, so I dont have them.
[Xperia Z2 General] MJ999:
This exact thing happened to me as well
[Xperia Z2 General] xPr0metheus:
Downloads are working again! Now I have the problem that after finishing the root process I cannot boot into TWRP anymore... (want to flash Nougat firmware) any suggestions?
[Xperia Z2 General] Bewildered Wolf:
Run install.bat as admin. Nougat firmware on Z2?
[Xperia Z2 General] iXaidyiu:
There is no N firmware for Z2 that can be flashed in LBL.

If you want to try out those custom N ROMs, you will need to unlock your bootloader.

---------- Post added at 12:14 PM ---------- Previous post was at 12:13 PM ----------

The OP of this thread?
[Xperia Z2 General] xPr0metheus:
So I need to unlock the bootloader for TWRP to stay or what do you mean? (I am completely new to Sony and this device sorry, my Samsung got stolen again :/)
[Xperia Z2 General] iXaidyiu:
TWRP disappearance has nothing to do with the bootloader, that I will pass on to [MENTION=4865506]Dr. Death[/MENTION] for follow up.

Unlocking your bootloader is meant to let you flash custom ROMs onto your phone, eg, AOSP N you mentioned earlier.
[Xperia Z2 General] xPr0metheus:
Thanks for that info, might be a reason why it didn't work yet. I tried something very stupid - flashed all this tool and the zips for the N rom after another (without rebooting) and hoped it would work :D Guess what, it didn't^^
[Xperia Z2 General] Bewildered Wolf:
sorry ? didnt get you?
[Xperia Z2 General] iXaidyiu:
Tell him why his TWRP disappeared. And how can he save it.
[Xperia Z2 General] Bewildered Wolf:
can't figure it out bro. the downloaded files are same, the phones are same. for some people its working great. for some its not. i'll what i can do.
[Xperia Z2 General] xPr0metheus:
Maybe I used the wrong recovery file? Always tried with the newer file...
[Xperia Z2 General] Bewildered Wolf:
try this ?

https://xdaforums.com/showpost.php?p=69733535&postcount=254
[Xperia Z2 General] xPr0metheus:
That's the file I used. however I had to put the bat in the same folder as the other files for it to find them. And when I run it as administrator it doesn't work at all, only errors. When I run it normal I get into recovery but afterwards its gone.
[Xperia Z2 General] Bewildered Wolf:
Don't know brother. I'll see if i can help you. But I used these files and all of them were in same folder and ran as admin and it worked. ._.
[Xperia Z2 General] androsico:
I solved the disappearance problem by flashing a stock kernel with TWRP included ,

https://xdaforums.com/xperia-z2/development/kernel-advanced-stock-kernel-t3347413

everything works fine now.
[Xperia Z2 General] Bewildered Wolf:
Requires bootloader unlocked.
[Xperia Z2 General] xPr0metheus:
Is it possible to unlock it?
[Xperia Z2 General] Chip_88:
Hi there,

just once again I'd like to know why it seems impossible to flash the 575 kernel?

I tried already everything. Found even a suggestion to deactivate WiFi for getting it work. - Anyway: Nothing.

I read many of us had this issue, so my question would be, if there is meanwhile a solution for this problem???

Could a flashable 575 kernel be a solution? I mean, a kernel you execute like the other from a working recovery?

Thank you in advance & happy new year!

Chipy
[Xperia Z2 General] MJ999:
I flashed the 575 kernel today to root my 291 device after flashing checking the system info it still showed .291 on settings

Just went ahead to install.bat and it successfully flashed the recovery.
[Xperia Z2 General] xPr0metheus:
I finally made it and could flash Nougat :) jey and happy New year to you guys!
[Xperia Z2 General] Bewildered Wolf:
How did you made it ? Like what you did to make sure recovery didnt go after few accesses ?
[Xperia Z2 General] xPr0metheus:
I unlocked my boatloader and flashed the kernel as suggested above with twrp included
[Xperia Z2 General] Chip_88:
Yeah, I finally made it, too, and have root access now!

This is how a new year has to start! :cool: :fingers-crossed:
[Xperia Z2 General] M_Muwafi:
Hey Guys,

I did everything as in the instructions, But my phone didn't boot into recovery, it just restarts, I retried multiple times but I have the same results everytime. I attached a screenshot of the install.bat (I opened it as admin).
[Xperia Z2 General] vmik9:
Good morning,

I have a question, my Z2 is on the .570 firmware, with root and locked BL.

If i go on .291 firmware with PC companion, I can get root and recovery with this technique or i must go .570 to .291 rooted before ? (it is not a problem for me to reset my phone with pc companion).

Thank for your answer.
[Xperia Z2 General] Caiaky:
Sem sucesso ..

Meu Xperia Z2 Ã© a versÃ£o D6543 e eu nÃ£o estou conseguindo fazer os procedimentos, tenho o Bootloader Destravado porÃ©m, na hora de fazer o Flash da .575 nÃ£o acontece nada, eu ligo o aparelho e ele continua na .291, logo depois eu tento do memso geito fazer o TWPR, ele carrega tranquilamente, e reinicia o aparelho normalmante, sendo que o certo era reiniciar o aparelho no modo TWRP, alguÃ©m me ajuda?

--

Hello! I am Brazilian and I am using Google translator to talk to you, my Xperia Z2 is the D6543 version and I am not able to do the procedures, I have the Bootloader Unlocked, however, at the time of making the .575 Flash nothing happens, I turn the And it continues on the .291, soon after I try to do the TWRP, it loads quietly, and reboots the device normally, and the right thing was to reboot the device in TWRP mode, does anyone help me?

:crying:
[Xperia Z2 General] wicozani:
No harm in reinstalling root as part of installing recovery. The tool can do both functions based on the .575 kernel while the user is momentarily on it. I don't think that recovery can be directly installed on .291 kernel. I was already on the .291 kernel and rooted, and everything worked fine for me as long as you follow the directions exactly. Top tip: make sure your device is fully charged (> 80%) before trying these procedures. GL!
[Xperia Z2 General] jenrique91:
Thanks a lot.

It worked for me.
[Xperia Z2 General] vmik9:
Good morning,

I try to day and it is ok !

I only have a probleme with the zip to begin with "New", it don't work with my phone. I use other zip and it is ok.

thank you for your help
[Xperia Z2 General] muhamed alosh:
Hi, i did all of that but when i press flash button on the flash tool in the firmware box ther is no. Ftf file although i put it my self there any ideas plz?

---------- Post added at 07:01 AM ---------- Previous post was at 06:47 AM ----------

Hi brother iam having a problem with the flasging tool i couldn't find the specific ftf file although i put it my self in the firmware folder
[Xperia Z2 General] Bewildered Wolf:
The kernel you downloaded in the 3rd step put that in C< flashtool< firmwares and then flash using flashtool
[Xperia Z2 General] Thieuke:
Just want to let you know this worked just fine, thanks. I was on .575, so I just downloaded the program for the recovery installing. It worked great!
[Xperia Z2 General] muhamed alosh:
Ya brother i did all of that but when i press the flash button in the firmware box ther is no. Ftf file thats the problem
[Xperia Z2 General] Bewildered Wolf:
Have you renamed the .Zip to .Ftf ?
[Xperia Z2 General] muhamed alosh:
Ya brother i did it
[Xperia Z2 General] Bewildered Wolf:
Have you installed flashtool firmwares ? Go to flashtool then firmwares and then there will be an exe file to install firmwares. See YouTube more for info how to install flashtool firmwares.

And then try.

Hit thanks if it helped.
[Xperia Z2 General] muhamed alosh:
Brother can you send me the file in. ftf extension and i will try that

---------- Post added at 06:23 PM ---------- Previous post was at 06:21 PM ----------

Brother can u send me the file in. ftf extension
[Xperia Z2 General] Bewildered Wolf:
Don't have access to my PC. [MENTION=6891123]iXaidyiu[/MENTION] might help :)
[Xperia Z2 General] muhamed alosh:
Thanks bro and sorry for being rude to u and i am eager to root my device :o
[Xperia Z2 General] iXaidyiu:
You can download flashtool to accomplish this. The FTF file is too big for me to host.
[Xperia Z2 General] muhamed alosh:
Bro, i already downloaded it but when i press the flash button i couldn't find the. ftf file in the firmware box thats the problem
[Xperia Z2 General] iXaidyiu:
Did you place it in the correct directory?
[Xperia Z2 General] muhamed alosh:
Ya in the firmware folder in flash tool folder in the c folder
[Xperia Z2 General] iXaidyiu:
Which version of flashtool are you on?
[Xperia Z2 General] muhamed alosh:
0.9.23
[Xperia Z2 General] iXaidyiu:
Downgrade to 0.9.18.6 and retry.
[Xperia Z2 General] muhamed alosh:
:( the same problem thanks bro i will give it up now

If u have another way to root plz tell me
[Xperia Z2 General] AttilaGolik:
Did you do this step before trying to flash?
[Xperia Z2 General] AttilaGolik:
Sorry, this step:
[Xperia Z2 General] muhamed alosh:
Ya bro this is a picture from the folder
[Xperia Z2 General] john201036:
hi i already flash 575 kernel..but when i run recovery this happen.,,already enable usb debugging..pls help thanks
[Xperia Z2 General] Caiaky:
My device is the D6543 .291 Stock and I have the Bootloader Unlocked, I am not able to do the TWRP procedure, the device normally reboots without Recovery Mode, what should I do?
[Xperia Z2 General] prashanthedison:
iam not able to do it ,..

iam not able to do it ,,,provide detailed process to do rooting process of sony z2 d6502 marshmallow 6.0.1...step by step with attchments ,,thanks in advance
[Xperia Z2 General] Bewildered Wolf:
Use this and see if it can help.

http://xdaforums.com/xperia-z2/general/tool-rooting-23-5-1-291-supersu-t3437280/post69733535

Hit thanks if you were able to root properly :)
[Xperia Z2 General] M@c|-|oR:
Thank you very much for this.

However, am I missing something, or the flashtool is missing?
[Xperia Z2 General] iXaidyiu:
You can grab a copy of flashtool in my signature. Remember, the one with version v0.9.18.6.