yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] fareeed:
Anyone having issues rooting? It used to work perfectly for me now it's not working :( Run the script and it looks like it works, but when I reboot it tells me that I'm not rooted. Tried running the script again but it just hangs when i go into the service menu. Any suggestions? :)
[Xperia Z Original Android Development] lyndonguti:
Type *#*#7378423#*#* into the dialer then press "service info" > "configuration" > "rooting status". It will tell you if it's locked, unlocked or even unlockable.
[Xperia Z Original Android Development] BeDesireS:
me too!

First try it hangs at the end and after reboot and another try, it stops at the service menu.

Phone is not rooted but NFC is broken!?
[Xperia Z Original Android Development] Willyfxp:
You selected option 1, you need to select option 3.
[Xperia Z Original Android Development] BeDesireS:
I have the same issue and truly selected option 3 everytime!
[Xperia Z Original Android Development] Flashben:
I have the same issue at 1st try and looked carefully then selected 3.
[Xperia Z Original Android Development] fareeed:
If it's not working, use Doom's method worked for me :)
[Xperia Z Original Android Development] Bin4ry:
IF you hang on this particular part

"Running onload.sh ..."

then also Doom's script will not work, because it is EXACTLY the same part ;)

The resason is that your pc is most likely too messed up or your device is already too messed up. So the thing you can do is reflash a clean firmware and reroot now again from a PC which does not yell any adb errors ;)

I have checked here again. I took my Xperia ZL C6503 Firmware 350 and runned the v23 of the script, all is fine except a little "rm -rf" error at the end. But i will upload a minior v24 fix for it.

@shivindera:

v23 and v21 does not differ in this step of process, on v23 ONLY superuser or supersu choice was added!

Regards
[Xperia Z Original Android Development] BeDesireS:
Hey guys, for those of you who tried and stuck in system test, try follows:

Just reboot.. wait some hours and install superuser app from playstore.

This worked for me. Dont know why, but my phone is rooted now,

yet it doesn`t work directly after the script run.
[Xperia Z Original Android Development] Bin4ry:
Thats a COMMON issue with superuser, it just lags on jb. Use supersu and you dont have this problems ... IF that was your problem :cyclops:
[Xperia Z Original Android Development] BeDesireS:
Not at all. My phone was not rooted after several tries and I tried SU and superuser app. Then I gave up and let it be.

Then yesterday I read in a thread from a person that had the same problem and just installed superuser and it works.

And for me it worked, too. Witouth doing anything else!?
[Xperia Z Original Android Development] Bin4ry:
Ok, then i misunderstood you. Well thats very strange, but sometimes strange things happen :D I hope i have imporved now the isntallation stuff with v24, will upload asap.

Regards
[Xperia Z Original Android Development] MuRpHyNiGHtLonG:
I locked here :

If you got any solution :rolleyes:

I do restart comp, run it as admin, and all usual thing..
[Xperia Z Original Android Development] nobnut:
Try this:

Reboot your phone and go to the Play Store, download and install SuperUser or SuperSU and then open the app and install the binary if prompted.

It worked that way for me, as previously stated by BeDesireS. Forget the fact that a Super user app is installed, just install again from the Play Store.
[Xperia Z Original Android Development] MuRpHyNiGHtLonG:
Well... so I reboot the phone, install super user, disable every windows "can be messy" app (Windows media player, kaspersky), connect the phone, launch the "RunMe", and still locked on the same screen :confused:

I really dunno what do try now :/
[Xperia Z Original Android Development] nobnut:
No, you misunderstood.

Just open the Superuser app after you have installed it from the Play Store and open it. It should prompt you to install the binary. If it does (and is successful), you are rooted.

If it doesn't... flash a .FTF wiping data and cache and try again by using v24.
[Xperia Z Original Android Development] shivindera:
@Bin4ry - I get what u r saying but my phone got stuck thrice on onload.sh line... then I tried v21 and somehow it worked... and it's just not me... many people are getting stuck on that part...

Btw thanks for everything :D
[Xperia Z Original Android Development] fareeed:
Hi quick question, I have the stamina mode bug where my led doesn't work. I know the fix is to do a factory reset but I want to know how will this affect root. As far as I know the only root related file on the data partition is the superuser app itself or is there something else that I'm missing? :)
[Xperia Z Original Android Development] BeDesireS:
Yeah, for me it`s the same.

I did a clean flash and tried with V24 but it stuck at the end of the script.

Installed SU from Playstore and it worked fine. I have root and TB and other apps

are working fine, too. But when I use es file explorer phones reboots.

Also when I try to remove or rename a system file with a adb based explorer the phone reboots, but the file is deleted or renamed!

I don`t know what to do. I tried all versions of unroot and also dooms method without success.

Also the manual fix via ADB for the file explorer error doesn`t work for me.
[Xperia Z Original Android Development] Bin4ry:
AW: [ROOT] LOCKED and UNLOCKED Bootloaders

Hey,

Seems for you ric did not get exchanged.

See in stuff folder there is a ric file.

Adb shell

Su

Stop ric

Now you can remount system rw and change the syszem/bin/ric with my one (dont forget to chmod 755)

After reboot all apps should be able to remount system ;)

Sorry for bad explain but i am currently on phone :)
[Xperia Z Original Android Development] BeDesireS:
Thanks a lot for your help Bin4ry! I have done something similiar before, but it doesn`t work.

But I will test this again when I am back at home.
[Xperia Z Original Android Development] BeDesireS:
Didn`t work! Tried it two more times without success!?

Any suggestion?

Edit: I wiped my phone completly and repaired it via PC Companion.

Then I tried V24 onother time and it stuck at the "shell running forever" screen.

I disconnected the evice and reconnected it. Phone reboots and the script goes on,

but at some stage comes an error message with something like: Can`t mount (are you rooted?)

But the script goes on till the end.

After a reboot no root. I installed superuser app again over playstore and did a update in the app and root works fine.

And till now, no reboots when I open es file explorer in root mode! *fingers crossed*
[Xperia Z Original Android Development] Bin4ry:
Wel maybe you should've tried with v25 ;)

But ok. Can it be that you have this VF Germany messed firmware on your device? I would suggest to install the generic firmware, i heard from some problems on the VF firmware.

Regards
[Xperia Z Original Android Development] ozzybulldog:
Thanks for this, worked perfect on my Xperia Z!

Oz
[Xperia Z Original Android Development] BeDesireS:
AW: [ROOT] LOCKED and UNLOCKED Bootloaders

Oh. I didn't see the new version. :D

But it's working fine now.

I have a branding free device, not a Vodafone one.

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] kbadone:
I rooted My XZ .434 firmware (Locked bootloader) using Binary root ver 25, Installed CWM and all apps that requires root access are use-able but I noticed 2 things

* Superuser app list is empty! and every time I open an app that requires root privilege it doesn't ask for one at all, it just opens and run as is!

* Root explorer, whenever I go to system/app folder and switch from R/O to R/RW the phone reboots! Tried this several times

Any idea what causing these problems?
[Xperia Z Original Android Development] Flashben:
I don't think u r rooted at all...
[Xperia Z Original Android Development] kbadone:
Then how come i installed CWM and titanium backup detected my phone rooted? something else going on!
[Xperia Z Original Android Development] Risky_:
Not able to root

I upgraded from 350 to 434 via sony update (Locked bootloader)

Tried to root again via V21 and then V25 but failed.

Can anyone explain what im doing wrong.

P.S : 350 rooted with V21 like a charm
[Xperia Z Original Android Development] BeDesireS:
AW: [ROOT] LOCKED and UNLOCKED Bootloaders

This is the same problem I had.

Do a repair via PC companion and follow the steps I posted on the page before.

This worked for me.

Good luck!

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] schaggo:
Could be the FW but I doubt it. As the process uses a loophole in a proprietary app which VF probably isnt allowed to mess with. I say this because it took me about 7-10 tries and subsequent wipes and total reflashes of the posted stock .434 NL firmware before the script went through without any hickup. It hang a couple times at the "will run forever" line. I checked the batch file, it seems to wait for a parameter to change and just hangs, if it doesnt. At this time, the actual rooting is (partially) done but the script didnt finish, didnt clean up etc. This is the explanation why one is still able to obtain root access when manually loading SU or SuperSU from the market.

A couple times it also hang at the first step where one is supposed to do the display service test. I guess this is not something you can do anything against. Its the method itself which is a bit unstable. But as its the only working way at the moment, thats what it costs, I guess.

I cancelled the script a couple times and found out that this isnt the smartest thing to do either. It just produces errors because files already exist but cannot be overwritten etc. Thats why I wiped and reflashed after every unsuccessful run of the script. I got it done in the end by simply letting the device settle for about an hour after the initial setup (gmail account, terms of use, etc) - thx Navy CIS :p - and then tried again. Worked a treat. The earlier tries were always right after the setup, basically as soon as possible after the reflash. I didnt recheck if that actually could have anything to do with it, as it took me too many tries to get t done and I didnt want to risk it to have to stay up all night only to get root and left it at that successful one try. My experience with Android tells me though, that background operations which take place in the first couple hours after a flash could indeed interfere with the script and the actions it does. It could be such a simple thing like a timeout at a crucial moment due to too much background noise by all the other **** going on otherwise with the system. Dunno, I just post my experiences.

PS: I am said "other user" from "another thread" mentioned further up.

Sent from my ASUS Transformer Pad TF300T
[Xperia Z Original Android Development] kbadone:
That did the trick! Thanks!
[Xperia Z Original Android Development] BeDesireS:
Bad News! My problem is back and I have done absolutely nothing! :confused:

Today I went into es file explorer and bam... reboot!

After that I opend superuser to look and update the binaries, but superuser fc.

Then I tried to restore my nandroid via CWM, but the issue is still there.

And after the restore I am unable to access CWM again!?

I really don`t know whats going on. It seems that my phone is having his own life

and changes things without my permission!

How could this be?
[Xperia Z Original Android Development] juDGEY2k10:
Dont get pass the screen test just sits there, i have reinstalled the os still the same
[Xperia Z Original Android Development] MafiaManV:
any news on this rebooting glick? It's. really starting to bug me since I'm in process of deleting system apps. Every single time i get reboot when deleting something :mad:. Any solution? I'm on stock deodex .350. I remember i haven't had this problem on odex rom..

Sent from Sony Xperia™ Z
[Xperia Z Original Android Development] BeDesireS:
AW: [ROOT] LOCKED and UNLOCKED Bootloaders

Yeah, the same here but I am on stock 434.

I replaced the ril file manually, but it still happens,

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] MafiaManV:
Flashed stock deodex 434, and rooted with latest v26 by bin4ry and chosen SU instead of superuser. All fine now :thumbup:

Hope to stay this way :)

Sent from Sony Xperia™ Z
[Xperia Z Original Android Development] BeDesireS:
AW: [ROOT] LOCKED and UNLOCKED Bootloaders

Isn't the deodexed version from ka prerooted?

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] MafiaManV:
Yes it is, but i was getting reboot when accessing the system folder.

Sent from Sony Xperia™ Z
[Xperia Z Original Android Development] BeDesireS:
Yeah, that`s the same sh..t I get after a while.

I tried it 4 times now. Everytime with a clean install and it works fine for 2-3 days,

but suddenly it doesn`t work anymore and I didn`t flash anything else or installed a new app!? It `s really wired.

Did you try V26 over the problem system or did you a clean flash of system before?

I don`t want to setup my whole system again, if the new version works fine then.

Have you locked or unlocked BL?

Edit: I tried V26 over my rebooting-rooted installation and it was the first time,

that the script went without any probs till the end! Everything is fine and root is working perfect,

even when system is mounted and I copy files! Hopefully it will last now!

Thanks for this brilliant update bin4ry!!!
[Xperia Z Original Android Development] MafiaManV:
Yep, seems like v26 solved that problem :thumbup::thumbup:

Sent from Sony Xperia™ Z
[Xperia Z Original Android Development] TheTrooper:
So... If I successful rooted XZ with v21 should i root again with never version?
[Xperia Z Original Android Development] NetSkill:
Hello there i want to root my xz, device is totally untouched, i have few questions before i begin

1. Does the NFC Works fine with latest v26?

2. Are there any disadvantages?

3. What about warranty?

Thx in advance :)

Odoslané z C6603 cez Tapatalk 2
[Xperia Z Original Android Development] Flashben:
1) The NFC issue is solved during v23 so any later version should not have problem. I have rooted using v25 after firmware update.

2) You cannot flash custom Roms?

3) No issue if u r using stock Rom.
[Xperia Z Original Android Development] NetSkill:
I decided to root my xperia z now and i stuck at the "onload.sh..." like some users there..

i read the whole topic and tried everythink but no luck...

..win 7 x64 / FW 350 locked BL / root with res.v26

Edit: succesfully rooted thanks
[Xperia Z Original Android Development] Risky_:
Unable to Root

Hello,

I recently upgraded my Z to .434 from .350 from then on i am unable to root my device. I am on locked boot-loader and region specific(India) .434 firmware.

Can any one tell me what im doing wrong.

I am always stuck onload.sh.....

Or any other way which does not involve unlocking my boatloader
[Xperia Z Original Android Development] schaggo:
Things seem borked. I recommend running a full repair operation on the phone to reset it fully stock, then try again.

This seems excessive, personal experiences, comments gathered from this and other threads suggest, once the procedure didnt fully go through, the process most likely wont ever go through and finish. Probably access right restrictions or similar, who knows.

Pull a backup with either Sony's backup tool or get yourself Carbon from the market to retain at least some of your data.

Gesendet von meinem C6603
[Xperia Z Original Android Development] parapaul:
Please would someone email me the .zip file?

I went to d/l it, Chrome needed to update Flash player and the d/l failed. Now I have to wait 3 hours before I can try again :(

Thanks ;)

Edit: Sorted :) flawless. That's a superb utility, great job!
[Xperia Z Original Android Development] eniux:
same problem here, could someone please PM me a mirror?
[Xperia Z Original Android Development] Thidge:
Used V26 to root after updated to .434 and it then broke my nfc any help
[Xperia Z Original Android Development] Cookie Ninja:
Delete the /data/usf folder using a root-enabled explorer.

Very simple....

Dead cookies leave no trails...
[Xperia Z Original Android Development] schaggo:
/data/usf

just sayin'... :highfive:
[Xperia Z Original Android Development] Thidge:
Thanks alot
[Xperia Z Original Android Development] snel76:
Sorry if this was asked already, if i flash this firmware and then root the phone it is supposed to work well? No reboots etc.? what about those APN stuff (the settings from my provider to get internet access), do i have to set them up maualy?
[Xperia Z Original Android Development] Anastomosys:
Stock rom, NFC doubt

Hi

Today with a friend we install root (i´m newbie and my friend is samsung note 2 expert), on my xperia Z.

I decided to install root, because i would love to have access with Paragon to NTFS at my 64Gb micro-sd and read 1080p films, and vualá everything works fine.

But one problem was detected with NFC, if i remove micro-sd i have access to nfc, if it installed, can´t selected nfc square icon :( HAVE GOOD NEWS...i read in other post to resolve this problem is necessary to delete USF File, i do not delete because inside this file have many files, simply rename USF to USF1, restart xperia Z and NFC square Works perfect.

My doubt is: imagine Sony release android 4.2.2 stock rom, after root installed it will be possible to install 4.2.2 stock Rom??? or is it possible unroot xperia before install 4.2.2???

Sorry for my bad english

Many thanks
[Xperia Z Original Android Development] BeDesireS:
No need to worry. Only if you have unlocked your bootloader you won't be able to update.

Rooting your device doesn't matter for updates.

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] SalamiQueen:
I know this enables nfc to work but does it actually bring back the icon in the status bar too? Some of the tutorial videos I have seen when fixing this shows the nfc works but no icon?

Also, which toolkit is best to use? binary's v26 or the other version 1.01/1.02 with less bugs etc? Oh & superuser or supersu?

Thanks! :)
[Xperia Z Original Android Development] Cookie Ninja:
1. Icon available in taskbar and NFC running.

2. Use bin4ry's v2.6.

3. Use superuser. Thereafter, once you have installed a recovery partition, switch to super SU or move superuser to system. (super SU needs a recovery partition to update its binaries).

Dead cookies leave no trails...
[Xperia Z Original Android Development] SalamiQueen:
Woohoo, rooted successfully & nfc is working perfectly with icon.

My bootloader status also has stayed as 'yes', so everything is good. Thank you all & to the devs especially! :good:

Now just need to install CWM..
[Xperia Z Original Android Development] Anastomosys:
i used this method

Hi

After i root my xperia z and lost NFC... next found this toturial..and love it

This guy have other videos explainind NFC problems and other..

enjoy..http://www.youtube.com/watch?v=nsh51O1ImMM
[Xperia Z Original Android Development] zige:
Cant get it work... Stuck every time at

* daemon not running. starting it now on port 5037*

* daemon started successfully * and then nothing happen... USB debugging is on. My computer is using win8.
[Xperia Z Original Android Development] schaggo:
Sounds like drivers not installed. Double and tripple check you did.

Gesendet von meinem C6603
[Xperia Z Original Android Development] zige:
I have installed Sony Companion and update service (and drivers which comes with those softwares)... What else is missing then and how to get them?

I'm guru with rooting Samsung phones, but this is my first other phone so i'm little noob now :angel:
[Xperia Z Original Android Development] BeDesireS:
You must install adb drivers first and this is a bit complicated on windows 8.

First you have to deactivate signed drivers in win8. There was a guide posted here somewhere. Search for it and after that rooting should work fine.

Gesendet von meinem Xperia Z via Tapatalk
[Xperia Z Original Android Development] zige:
Tried to find with search and also checked every messages, but only thing i founded was that someone talked about doomslord guide, but no link or any guide.. I will test with win7 computer.

EDIT: Yeap, worked without problem with Win7 computer.
[Xperia Z Original Android Development] zige:
Hmm... My phone keep booting when i try to use root explorer when i mount r/w...
[Xperia Z Original Android Development] zige:
I have problem with root. I used this thread to root my locked XZ. Now when i get root permission ask, example on titanium backup and i aölow it, my device will restart itself. Everytime that happen with every apps... Any suggest guys? I choosed Supersu, its that problem? Maybe i can unroot and re root again, but how to unroot Xperia Z? I only know how to unroot Samsung's phones..
[Xperia Z Original Android Development] DooMLoRD:
FYI this rooting procedure works on Xperia Tablet Z!

cheers!

shell@android:/ $ su
su
shell@android:/ # id
id
uid=0(root) gid=0(root) groups=1004(input),1007(log),1009(mount),1011(adb),1015(
sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw
_stats)
shell@android:/ # uname -a
uname -a
Linux localhost 3.4.0-g298631f-02042-gddbbce6 #1 SMP PREEMPT Mon Apr 1 17:52:05
2013 armv7l GNU/Linux
shell@android:/ # getprop ro.build.fingerprint
getprop ro.build.fingerprint
Sony/SGP311_1272-1907/SGP311:4.1.2/10.1.C.0.344/p35_rw:user/release-keys
shell@android:/ #
[Xperia Z Original Android Development] tjackbjorn:
Hey dudes! Just have a little question. If I root my Z with locked bootloader, and updates it when an update is avalible, I will loose root right? :)

Thanks
[Xperia Z Original Android Development] schaggo:
Probably, yes.

Gesendet von meinem C6603
[Xperia Z Original Android Development] tjackbjorn:
Well ok. My phone will go back to stock and my warranty will come back too?
[Xperia Z Original Android Development] schaggo:
Yes an no.

No, it most likely won't go back to fully stock. You'll lose root, but there will most likely be residues and left overs from what you did.

But yes, you can simply completely reflash including wiping your device and this should get rid of the most obvious traces.
[Xperia Z Original Android Development] thomas7ca:
sorry if that has already been discussed in the 130 of 155 posts that i didnt read, but i got a little annoyance to mention. whenever an app requires root (like GMD Gesture Control, AdFree, Root Browser...) i do get the pop up to allow it and it works, but the pop up appears again and again for like ten times, even when i set it to remember my choice to allow it. solution anyone? :))

edit: using supersu instead of superuser totally solves all my problems. sorry for the unessecary post :D
[Xperia Z Original Android Development] mandarjoshiin:
Has anyone confirmed it working on 10.1.1.A.1.253 FW ?
[Xperia Z Original Android Development] surdu_petru:
Hello !

I can confirm : this method does not work on the last update 10.1.1.A.1.253 !

( Xperia Z C6603 with locked BL )