yashsingh1/xdaforums huggingface dataset:
[Xperia Z Android Development] reignzy:
rooting issues...

Hi guys, sorry for the newbee post, but i seriously have no idea why this is not working:

i have installed the adb drivers from the download link a few posts back, and downloaded all the rooting options also. mhy laptop is running win7 pro 32bit and according to the flashtools i have also downloaded the adb drivers are not installed.

Flashtools also says my phone is connected with usb debugging off, even though my phone says otherwise.

i just got my phone yesterday and i accidentally updated it to 10.1.A.1.434 and i saw a few posts back this fw is still rootable.

everytime i try to root it just hangs at the *daemon started successfully*

can anyone tell me what im doing wrong please???
[Xperia Z Android Development] schaggo:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

The device is not found. Incorrect drivers, incorrectly installed, whatever.

Try to get it working, manually establish an adb session before you try to root. Go ahead after you did that.

Sent from my C6603
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Thanks kind sir, I got it working. Drivers were installed. Phone and user error the issue. Changed phone connection from MTP to UMS and then ran root exploit. Work fine on the first try and now I'm even more excited to drive this beast!

Cheers to all you devs for making things like this possible!
[Xperia Z Android Development] pegasus1980:
I have the same problem .... anyone did find the solution for this ? Help please
[Xperia Z Android Development] lancebuks:
I had this the first time. I restarted the phone and started over and had no issues the second time, try it and see if it helps.
[Xperia Z Android Development] pegasus1980:
I have the same problem, did u find a solution? Help please
[Xperia Z Android Development] [NUT]:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

If the first attempt fails make sure you restart your phone, all retries will fail 100% of the time...
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

When you get to the part where the service menu comes up automatically on the device, press the back button and enter *#*#7378423#*#* manually, that may do the trick.
[Xperia Z Android Development] Yellow_Racing:
mine worked first time... yay.

watched the video in OP, thanks, thanks, thanks
[Xperia Z Android Development] hydkrash:
For those of you whom are having this problem. If you have McAfee Mobile Security app installed, you have to uninstall it first.

Did that and it installed in a whiz.
[Xperia Z Android Development] unixwise:
Thanks, it's simple and easy, far easier than Samsung
[Xperia Z Android Development] hovnovice:
Where did you find the phone connection to change from MTP to UMS please ?
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Enter phone settings, under device go to Xperia, then USB connection
[Xperia Z Android Development] bretto_aus:
Just tested on 10.1.A.1.434 with this method and worked perfectly the first time, I had too remove the directory /data/usf to get NFC to work again. But all good :good:

Edit: For some reason now L.E.D. notification doesn't work any more for missed call / texts etc? Any ideas? (had same problem with rooted 10.1.A.1.350)
[Xperia Z Android Development] Cookie Ninja:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Happens in case 'Stamina Mode' is on. LED notifications come on if stamina mode is off.

Dead cookies leave no trails...
[Xperia Z Android Development] hovnovice:
I did it but i See MSC not UMS ...and then the phone is not recognised on MSC (mass storage mode) ...any tip please ?
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

He you have a micro sd card, that will show

Just put it into ums and run the root exploit. You'll be fine I'm sure
[Xperia Z Android Development] hovnovice:
micro sd does not show at Xperia USB connectivity , I went to storage and tried to mount USB storage under external USB storage but that option is not enlightened and i can do nothing . I tried to use from Google store some apk for that but they all need root (( I am not lucky with this phone ...
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

That means one thing: you don't have a micro sd card in the phone.
[Xperia Z Android Development] hovnovice:
But I have one ..see screenshot ...thanks anyway
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

In the Xperia menu, can you show of a screenshot of the settings please?
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Here's mine:
[Xperia Z Android Development] hovnovice:
I

Here you are ...

Edit : I think SD card is read only ...to change it to read write (RW) with Root explorer you need to be ....rooted ...
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Set to MSC and run root exploit, root should be obtained after this. Please give this a go and let up know your results :)
[Xperia Z Android Development] hovnovice:
I already tried several times ...the phone is not recognized in MSC mode ((
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

I did this exact thing, changed to msc and connected phone to laptop. Got a popup to say memory card connected (after several attempts at installing adb drivers, as flashtools kept saying drivers weren't installed in mtp mode)

Checked with flashtools and confirmed drivers were installed after switching to msc, then ran exploit. Ran 1st time no issues....
[Xperia Z Android Development] hovnovice:
OK thanks I will try again and let you know )
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

I'm just guessing it worked???
[Xperia Z Android Development] hovnovice:
Nope ...adb won't recognize the phone ....Everything was so easy with my Samsung S 3 and with this phone it s such a big deal just to root stupid Xperia Z .. I just wanted to root mainly to improve the poor battery of this phone by UV but i am not succesful.. .I think I will buy the Galaxy S 4 ...Thanks for your feedback
[Xperia Z Android Development] shem2409:
Most likely the reason while you run into trouble is because you have other ADB drivers installed on your PC. Download an app called USBDeview http://download.cnet.com/USBDeview/3000-2094_4-10614190.html

and make sure you have all ADB drivers especially look for Samsung and Galaxy (since you have configured them previously with your S3). Uninstall those drivers, when you are done your computer should recognize your Xperia and you should be able to follow the procedure.
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

You don't by chance happen to have the pc suite or flashtools still running while you're trying to root, do you???
[Xperia Z Android Development] hovnovice:
Thank you very much ; sorry for the noob question : I don't know how to unistall usb drivers on Windows ( can you guide me ? thanks !
[Xperia Z Android Development] reignzy:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

There must be a reason this guy is failing at xz root...

Prior to root this phones battery is NOT poor!

I just came from S3 piece of junk to this awesome beast!

Stupid S3 after purchase always crashing, junk crap rubbish

I will admit, thanks to the s3 toolkit it was too easy to root, but I think something wrong with xz and pc communications
[Xperia Z Android Development] shem2409:
Do the following after installing USBDeview:
[Xperia Z Android Development] hovnovice:
Thank you very much , I have done asper your instructions but again no success ADB don't recognize my phone when USB connexion is on MSC. On MTP it hangs on(for ever). When I was on 350 version I had successfully rooted but after updating to 434 I lost my rooting ...Perhaps this Exploit should be rewritten ? )) Where are the good old times when with ODIN few clilcks the job was done ....?))
[Xperia Z Android Development] shem2409:
I have used this method to root my xperia Z after updating to 434 today and it worked without a problem, as I said before it has to do with your ADB drivers not with the exploit. Make sure no other ADB software is running on your computer (PC companion etc etc) and go through the ADB drivers installation again. Also use the cable provided with your xperia z.
[Xperia Z Android Development] schaggo:
Re: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_

Useless, you need an unlocked bootloader for that, root alone doesn't do that.

Sent from my C6603
[Xperia Z Android Development] hovnovice:
Ok I will try tomorrow with another Windows PC which is virgin without any ADB etc and start from scratch and will report Thanks
[Xperia Z Android Development] --anx--:
Just a quick question...can I perform this guide on

MacOS

?
[Xperia Z Android Development] DomFel:
R: [ROOT] Xperia Z for LOCKED, UNLOCKED bootloaders! [Exploit by: goroh_kun & huhka_c

Will a factory reset restore the phone to a stock status, so no-root??
[Xperia Z Android Development] shem2409:
Factory reset will not remove root access from the phone. To restore to default factory setting you need to either repair your phone via PC Companion or SUS or flash stock (unrooted) firmware.
[Xperia Z Android Development] [NUT]:
Warning to all it may concern: updating to the latest Sony ROM put my Z into a bootloop, though I also have the cwm for locked bootloaders installed!
[Xperia Z Android Development] zippy01:
Tested no issues at all on UK generic firmware update .434

Thanks again
[Xperia Z Android Development] [NUT]:
Well its warning, and I never said it was normal... :o

My Z also reboots with a kernel/driver issue from time to time... So it might be related... Anybody have the same issue? ES File Explorer does it always, but only as root. :(
[Xperia Z Android Development] Rildiz:
Same for Swedish.
[Xperia Z Android Development] robogo1982:
So, rooting, factory resetting and then just installing Superuser or SuperSU should restore root access?
[Xperia Z Android Development] shem2409:
Yes when you factory reset a rooted phone, the SU might still be present and if not when you install it the root access should be granted as the root permission do not get removed via a simpe factort reset.
[Xperia Z Android Development] brau__lio:
Great man! :good: :D
[Xperia Z Android Development] schaggo:
Heard this several times now, always with ES File Explorer.

I'd try another root explorer.

Gesendet von meinem C6603
[Xperia Z Android Development] [NUT]:
It seems to be related to the method used to mount system rw as root, smanager doesn't cause the reboot. Busybox installer causes the same issue...
[Xperia Z Android Development] Kallb123:
Isn't it caused by conflicting su binaries? I had this as I lost root and using the exploit caused this. I just started again from fresh 434 firmware and not had it since.
[Xperia Z Android Development] [NUT]:
Conflicting how? I can only find one su binary? :confused:
[Xperia Z Android Development] BeDesireS:
I am having the same issue.

I rooted my XZ now for more than 5 times and it worked fine at the beginning.

Then after 2-3 days I get reboots when system is mounted for writing, but other apps that need root are still working fine.

It's really wired, because every time I didn't change anything on my device.

This error comes after a while and I don't know why!?

Maybe it's because of the locked bootloader?

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Android Development] gm007:
@DoomLord

Can you put supersu instead of superuser in the script.

Superuser is outdated and is causing lot of problems for users.
[Xperia Z Android Development] moresco.dt:
If you install SuperSU anything changes, reeboots still remain. Problems are two: locked bootloader and root method. Btw there are no fix for now :(
[Xperia Z Android Development] BeDesireS:
I confirm. Tried superuser, super su and also the new superuser app from cwm with no luck!

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Android Development] DooMLoRD:
Ok I will Creative one when I am free...
[Xperia Z Android Development] diego9016:
This method worked like a charm firs time tried.

Thank you
[Xperia Z Android Development] [NUT]:
Actually, I don't think exchanging superuser for supersu will help much...

The more I think about the problems in cwm with /cache, the more I am starting to wonder if the 2 might be related... Could it be a write protected block causing this behaviour?

I have been reading the dmesg and lastkmsg logs for a checkup on what is going on but it seems like the Sony kernels have a lot of loose ends and feel like a rushed job... I see it not finding quite some things it says it needs and it has some restarts on the wlan module.

Right before the reboots I see the i2c module crapping out...

What do you make of that DooMLoRD?

-- Edit --

Attached dmesg & last_kmsg files.
[Xperia Z Android Development] schaggo:
You should make some noise about those findings on sonymobile.com

Heard several times now, that interesting things found by users - which this surely is - get passed on to the devs at sony. You could say, "they listen" if you wish.

Gesendet von meinem C6603
[Xperia Z Android Development] robogo1982:
Thanks, I might just try that out. :)
[Xperia Z Android Development] _JT:
After I have installed global LTE .434 firmware I root the device and then I reboot. Then I install LBE. When I've done that, the phone keeps crashing and rebooting not long after it's booted. Anyone else found similar problems?
[Xperia Z Android Development] [NUT]:
LBE? What's that exactly?
[Xperia Z Android Development] _JT:
LBE Privacy guard, it's an app that protects private data on your phone.
[Xperia Z Android Development] snark_be:
You're not alone with boot loop issues with LBE: https://www.google.be/webhp?q=lbe privacy guard reboot loop

Either LBE has not yet been updated for Jelly Bean, either it's the rooting process on the XZ that causes the problem. It seems to cause problems for some people with other apps that need root, like ES File Explorer for instance.

See comment on one of the pages listed in the google search results for request above:
[Xperia Z Android Development] [NUT]:
Even though my phone only went into a boot loop while updating my Z from .350 to .434, it does sound like the same issue...

DooMLoRD did you bootloader unlock your phone right away before rooting it? It might explain why you do not experience the issues we (locked root users) randomly do?
[Xperia Z Android Development] DooMLoRD:
Yes I did not bother waiting for root exploit.... I am mostly a kernel developer and if I get phone with unlockable bootloader the first thing I do is unlock bootloader :D
[Xperia Z Android Development] Andrewtst:
I root using v1.0.2, so far so good, no auto reboot issue when using root explorer.

I never try ES File Explorer as I never like this app.
[Xperia Z Android Development] BeDesireS:
For the first 2-3 days everything is fine for me, but then suddenly the phone

reboots if you write something to system and it doesn`t mater which app.

The thing with ES is, that ES instantly mounts the system writable and therefore the reboot comes as soon as you open the app.

Hm.. hard decision. Either lost bravia engine (what in my opinion is great on the XZ) or life with the reboots! Damn! ;)
[Xperia Z Android Development] _JT:
I have found a solution, use this version: http://xdaforums.com/showpost.php?p=37660848&postcount=858
[Xperia Z Android Development] [NUT]:
I guess that's what is causing the difference in behaviour then, wouldn't you agree?

Maybe the rooting method left something behind causing this reboot issue, like the issues with NFC and 'bootloader unlockable = NO'...

Has someone else found an alternative rooting method yet? Maybe we could compare the 2 and see if they cause different 'bugs'?
[Xperia Z Android Development] Andrewtst:
Oh, in that case it sound weird, as I already copy certain apps inside system/app using root explorer but working fine.

Anyway I didn't use ES, as long it not from time to time auto reboot for me automatically, it shall be fine for me.

I need observe few days as you all said if it really happen then.

I just read back few page regarding this auto reboot issue, I didn't use ES Explorer, never install it, also I did not using CWM, I use XZRecovery which is a non permanent TWRP.

Will report back if I face any auto reboot issue.
[Xperia Z Android Development] DooMLoRD:
those are fixable "issues"...

read the OP on how to resolve these issues
[Xperia Z Android Development] [NUT]:
You misunderstood me dude... I named them as examples...
[Xperia Z Android Development] SalamiQueen:
Hey guys, please bear with me as I am a complete noob to all this rooting business, but I have read through literally all the pages here & still have a few questions to ask - sorry if they're stupid! I am leaning :P

-What are the chances of me bricking the phone using this method? As I said I am a noob & have never rooted before, but looking at videos & tutorials it does look really simple, what could go wrong if anything? Even if I did follow the steps exactly?

-So some people are reporting bugs like reboots, should I wait for a solid method before I root? I found another video: http://www.youtube.com/watch?v=nsh51O1ImMM - which also suggests you can fix the nfc bug by turning it on before rooting & it works once rooted straight after. Does this mean I won't have to worry about it & having to delete stuff for it to work?

-I am confused with mods & roms etc, if I just root the phone on my locked bootloader, nothing more, what stuff can I do apart from titanium back ups? Am I able to do stuff like this http://xdaforums.com/showthread.php?t=2144464 or is there more to it? I can't deal with anymore complicated stuff haha..

Many thanks & appreciate the help! :)
[Xperia Z Android Development] Cookie Ninja:
Hi I had successfully rooted my unbranded C6602 Indian Xperia Z on .350 firmware ( two weeks back, before proceeding on family vacation to territories with no/sparse roaming coverage and definitely no wifi) using the Bin4ry method (v1.5). I vaguely remember that the 'Restore Option' involved some transfer of data / files and a phone reboot. therefter the *#*#SERVICE#*#* menu and the white screen (Screen test) took place almost automatically, without my intervention. Thereafter i found that "Superuser' was an uninstallable APK which could not be 'pushed to system' and i replaced it with Super SU (installed as system app) from the Playstore, which served me well till an hour ago when I returned from Summer Vacation and got to my PC. I upgraded to .434 firmware using SEUS and tried to root with Bin4ry's method (v1.5, v2.6) as well as Goroh-kun & huhkah-com method, but I am facing the following problems:

1. Restore option in the "runme.bat' file does nothing to restart my phone and on selecting 'press any key to continue' takes me to the *#*#SERVICE#*#* menu where i have to manually select tests amd screen options and wait therre for almost 30 minutes with no results, and choices but to press Control+C to terminate the DOS terminal window. Needless to say that root seems unobtainable, and i am at a loss as to how to root other than downgrade by Indian stovck 350 FTF and then root and use the generic EU rooted 434 Rooted FTF file ( I am not in favour of this method). BTW, i am on locked ootloader and am defenitely no novice in android rooting/s-off/playing in dangerous (root) territory.

Can anyone help me please?

Dead Cookies leave no trails...
[Xperia Z Android Development] [NUT]:
you could try to use SUS to restore your phone, but you can also try rooting right after a fresh reboot of your phone... I had the same issue and that fixed it for me.

Sounds like you don't really need root... But having it won't hurt...
[Xperia Z Android Development] SalamiQueen:
[QUOTE='[NUT];

Sounds like you don't really need root... But having it won't hurt...

[/QUOTE]

Sorry but may I ask why it sounds like I don't? I like the idea of customisation & would like to know what else root can do for me alone. I know I am a beginner but I am trying to learn... :rolleyes:
[Xperia Z Android Development] dave_id:
looks like there's a new package for the rootpackage...

don't know what's new in there ...(fix nfc.bat)

http://blog.huhka.com/2013/03/root-xperia-z-so-02e-rootingkit.html
[Xperia Z Android Development] [NUT]:
Well, don't apologize for curiosity :) I was on my way home and wanted to reply my first thought... home now and I'll elaborate now:

What can you do with root?

1.) You can install CWM/TWRP (even with locked bootloader, but you NEED root for it to install). Using CWM/TWRP you can install modifications the easy way, especially when they offer an AROMA installer.

2.) Root access allows you to do stuff to your phone's system partition. Like modifying your stock ROM to more of your taste and wishes.

3.) Root access allows you to move applications into the system partition to free up space used in the data partition, using the right apps.

4.) Root allows you to perform special tasks the default ROM environment will not allow or does not support. As a simple example: using ClockSync to calibrate your phone's clock to run in sync with an atomic clock. Setting the time by means of an app is not allowed without root permissions.

BUT (There is always a but)...

But rooting your phone and not knowing how to handle the extra power can also mean you give an app root access and giving it the ability to steal just about anything on your phone as root permissions allows the app to virtually do everything the default ROM will not allow. A rooted phone also has the added problem of malware/virus infections running rampant. You really, REALLY need to know for sure the app you run is legit and does not have a virus or some malware attached to it. I'm not saying this to scare you off, I'm saying this to warn you, it is something to keep in mind.
[Xperia Z Android Development] dave_id:
ok , I've tested the new version

1.0.2

apparently it's much easier whith a lot of the operations that you don't have to do...problem is that the command prompt menu was in japanese...
[Xperia Z Android Development] SalamiQueen:
Wow thank you for the detailed explanation :)

I apologised because I know it could be considered a stupid question :P Everyone in here are like pros so it's quite daunting for someone like me to just hop in asking the basics.

The viruses etc can be detected by virus apps can they not? Or pretty much useless? I am more scared about bricking the phone haha.. I mainly just want to customise a few things around like the thread I included on changing the lock screens to transparent when swiping to cam/music etc, & maybe change the way my interface looks. Oh & delete rubbish apps I don't need :)

Would you say I should go ahead & root just for these reasons? (I may come along others that interest me). Otherwise I can live without the sweet extra perks I guess. Just nice little touches here & there. If only I had a friend in real life that knew how to do all this!