yashsingh1/xdaforums huggingface dataset:
[Xperia Z General] babarnazmi:
Exactly, by the way, I managed to fix the reboot issue, it was RIC as Sir [MENTION=2452820]kingvortex[/MENTION] suggested in his earlier post and guide me to some RIC killers, but they didn't work, as they try to mount / (rw) or mount /system (rw) and that's where RIC reboots the phone.

So here is the procedure what I did for all people who are having reboot issues in Xperia (in my case it was C6606/C6616).

We need adb.exe to get a shell to execute commands, if you already have no issues, for others just download SonyRICDefeat(we use one of them for adb shell only)

Enable developer tools [tap build number so many times], enable usb debugging, connect your phone with your PC, open cmd (command prompt, from accessories), goto SonyRICDefeat directory and change directory to files

cd files

now run

adb shell

it will give you shell

type

su

Kingroot will prompt to allow or deny the request, press allow

now

cd /data/local/tmp
./busybox mount -o remount,rw /

phone will not reboot, now we have to kill RIC, but it will restart again, so chmod the /sbin/ric to 0644 to prevent ric from starting again.

Get the ric process PID

ps | grep /sbin/ric

it will return PID of RIC process

kill -9 pid_of_ric_process

OR

pkill -f /sbin/ric

after that

chmod 644 /sbin/ric

So far so good, now ric is stopped, may be trying to restart but due to chmod it will unable to start until reboot, now we can mount / or /system without any issue. BTW if we edit, init.sony.rc to comment out RIC service, it will come back on reboot.

For sake of clarity, here is the rest of the procedure, you might shifted Mr.Wolf mrw folder from here or from 1st post of this thread already on your sdcard so from the same adb shell type

cd /
sh /sdcard/mrw/root.sh

it will clean kingroot files and install supersu, that's it

Thanks to [MENTION=2452820]kingvortex[/MENTION] for his kind help, Mr.Wolf for his cleanup script and off-course [MENTION=5370689]edwuard[/MENTION] for this post
[Xperia Z General] babarnazmi:
Added modified mrw folder, as adb shell and commands are not easy for others, just download the mrw.zip file and move it to your phone. Rest is same.

cd /

sh /sdcard/mrw/root.sh
[Xperia Z General] kingvortex:
Nice work [MENTION=392308]babarnazmi[/MENTION] :).

Glad you got it working and it's proven that it was RIC causing the problems. I would have investigated this some more, but haven't been near my PC to unroot my phone and relock the bootloader etc, plus I don't trust KingRoot either.
[Xperia Z General] babarnazmi:
Thanks Sir, and I was with my pc for last 18 hours :) flashed ftf files couple of times, upgraded/downgraded, read RIC killers code and now it is working :)
[Xperia Z General] jamminen:
You got my thanks even i already managed to root and install existenz rom by unlocking bootloader, but i gotta say this would have been a lot faster. Great job! Too bad i missed it :P
[Xperia Z General] curryitors:
Does not work for me, it says not mountable
[Xperia Z General] theduke7:
i think [MENTION=5370689]edwuard[/MENTION] should add the new info to the OP , will be much easier and more helpful to others with the same issue.

and great work [MENTION=392308]babarnazmi[/MENTION]

---------- Post added at 08:08 AM ---------- Previous post was at 07:52 AM ----------

this is a reply for the thread you opened

if you already have supersu (even if its not working) it means the KingRott apps are gone,

if not uninstall them manually, then uninstall SuperSU > then reboot your device

after reboot, Install KingRoot from the the thread i showed you (only that version works) after you install open kingroot and Root the device, when 100% and Kingroot reports Root is success, keep Kinroot open and follow the thread steps...it should work,

if your phone suffers reboots, use the steps and script on post #102 here.
[Xperia Z General] curryitors:
When it says su binary install, Do press normal or twrp
[Xperia Z General] theduke7:
Normal, and when asked to reboot, reboot.
[Xperia Z General] curryitors:
Sweet that part is done. Now I have that zip file for the framework for xposed but I can't enter recovery mode.how do I enter that aha
[Xperia Z General] theduke7:
if you have Locked Bootloader, there's no recovery yet available, if you have Unlocked bootloader you'll need to use NUT tool

so you can't install Xposed with locked bootloader normally,

2 options . 1- downgraded to kK with recovery, and flash a rom with xposed in it (there's one on the development section)

2- is this thread http://xdaforums.com/xperia-z/general/guide-xposed-recovery-locker-bootloaders-t3122657

it claims that you can have xposed by only over writing files with root, it VERY RISKY... it caused me a bootloop but other people claim success, so do it at your own risk.
[Xperia Z General] curryitors:
Mines unlocked so how do I use NUT tool
[Xperia Z General] theduke7:
this is the official thread, read the instruction and download the files there.

http://xdaforums.com/showthread.php?t=2261606
[Xperia Z General] beaubrah:
my xperia z got stuck on bootloop and i dont know what to do

1) i cant enter recovery mode

2) Sony PC companion doesnt recognise the phones

can someone please help ASAP
[Xperia Z General] beespoison:
Thank you so much, its work without problem :)
[Xperia Z General] theduke7:
Hold down power button + vol.up for 10 seconds >> after 3 short vibration release buttons.

it s force to shut down quickly.

that said, recovery is ONLY for Unlocked bootloader, locked booloaders ends with bootloop.

after you shut the device down you'll have to flash the device with Flashtool (wipe everything) follow this guide by [MENTION=2452820]kingvortex[/MENTION]

http://xdaforums.com/xperia-z/general/guide-how-to-package-flash-stock-roms-t2914567
[Xperia Z General] beaubrah:
I got out of boot loop. Thanks. But how do I enter recovery mode to flash the zip for xposed framework because I used the XZ dual recovery (NUT-xperia files)thing you told me but that put my xperia into boot loop

atar goal:91 but will be happy with 85+
[Xperia Z General] kingvortex:
There is currently no recovery available for locked bootloader devices. You'll have to wait until (when and if) [NUT] gets XZDualRecovery working on Lollipop.
[Xperia Z General] fernando823:
I had bootloop after trying this method for rooting and I had the bootloader locked. Could that be the reason???

EDIT:

I have tried again and It has worked. Possible causes of my previous failure :

-I was with locked bootloader

-I used a newer kinngroot version that the one provided in this post.

Thanks a lot!!!
[Xperia Z General] r_s_dhar:
After many trials and defeats I have successfully replaced the Kingroot. In my case I had made a simple mistake which resulted in error messages being generated on running the script: permission denied etc.

The trick, in my case was NOT TO RUN "PURIFY" OPTION IN KINGROOT AFTER INSTALLING KINGROOT. The sequence of action in my case was to :

be ready with mrw folder

Install kingroot

install terminal emulator

root using kingroot (do not press purify option)

run script

That is it.

I have posted this hoping there might still be someone out there groping in the dark. Wonderful site this XDA forum
[Xperia Z General] edwuard:
Nobody tell to run purify, only root the phone bro in first post I don't mention that run purify
[Xperia Z General] cruzersteve:
Hey guys, I'm also having the bootloop issue caused by the RIC. Is there any way I can fix this without having to replace KingUser with SuperSU?

Thanks in advance!

EDIT: Sorry if this question is a bit offtopic, I just figured somebody in here could help me with this :)
[Xperia Z General] sutt2m:
wow amazing job done on my xperia z c6603.....thank you so much!
[Xperia Z General] FadlyAmiruddin:
noob question

first im sorry because english is not first language. can you explain me sir this path "go to SonyRICdefeat directory and change directory to files"?
[Xperia Z General] r_s_dhar:
Eduard you are right. But, you know, some of us are beginners and make many unforced errors. I posted my "eureka" bit not as a Guru, but as a beginner hoping that other little bees like me may not have to reinvent the wheel.

Thanks a million again.

'

'
[Xperia Z General] edwuard:
Xperia z3 compact work great so if anyone have z3 try
[Xperia Z General] akkufix:
Do exact this way - no manual reboot between these steps.

This worked pretty well on XZ and XZ ultra. :good:
[Xperia Z General] cruzersteve:
Hey babarnazmi! I tried your solution since I'm still having reboot issues caused by the RIC.

However when I executed your modified version of the root.sh, only thing that popped up was the credits of the creator (Mr. Wolf), after that nothing else happened, the procedure just ended :(

Might be me doing something wrong, can you help me out with this?

EDIT: I tried your manual steps now, but when trying to mount busybox, I get a "can't execute: Permission denied", despite being root
[Xperia Z General] gacc:
I have exactly the same problem
[Xperia Z General] Calla969:
I used this technique on my Tablet Z wifi version and I was able to root it without any trouble. I was not successful in removing Kingoroot and replacing it with SuperSU. After running the script, I began having serious issues. My tablet reboots randomly, always twice in a row before it will start up. I also lose my background and it just goes to all black. It also logs me off my wifi everytime it reboots itslef. I've used PC Companion to revert to stock twice and get the same result when I try it again. Also, any time I try to run a root app, the tablet reboots. I tried manually installing SuperSU, and I can't update the binaries. Am I doing something obviously wrong? I downloaded teh file, extracted it to the root of my internal memory, rooted with Kingroot, and ran sh /mrw/root.sh. It appears to run fine saying "success" after 3 lines, and then some sort of error, as expected. Has anyone else had similar trouble?
[Xperia Z General] akkufix:
Question:

Did you extract all them files in root directory or did you copied the directory "mrw" to root.

So you have /mrw/<files>?
[Xperia Z General] Calla969:
I used Root Explorer to extract the files to an "Extracted" folder. Then I opened the folder and moved the "mrw" folder to the root of the internal memory. So yes, I do have /mrw/<files>, unless i'm missing something.

Thanks!
[Xperia Z General] akkufix:
On my XZ ultra i had first some problems, because SuperSu was already on it, but didn't worked anymore after the update to Lollipop.

Script gave me lot of errors.

I removed (uninstalled) SuperSu, also Kingroot and did all steps again. Then it worked.

But i don't know why on a fresh Compagnion version it don't works.

Maybe you check it out, by executing the script manually step by step in adb shell.

Sure its more work, but this will give you more information about the errors.
[Xperia Z General] edwuard:
Bro look on Xperia tablet z general my wife tab z root without problems see the pictures don't know what u did but seems to have the same problems with RIC security of Sony, if you see the Xperia tab z general you can see my tablet root and lollipop bro
[Xperia Z General] edwuard:
Check this bro mymy http://xdaforums.com/xperia-tablet-z/general/root-xperia-tablet-z-lollipop-t3128259
[Xperia Z General] babarnazmi:
Are you sure you are rooted? when you type su, kinguser/kingroot should ask for permissions (grant/deny), if it is not happening means you are not rooted, after that it will not give you permissions error.
[Xperia Z General] Olawarley:
I successfully rooted my Xperia Z but after typing sh /sdcard/mrw/root.sh in terminal emulator, i got some errors and since then my phone keeps restarting at "POWERED BY ANDROID". How do i repair my software pls? someone help!
[Xperia Z General] edwuard:
Bro don't panic just push power and volume up and after u have 3 vibration the phone power of itself you can flash then with flashtool any rom stock, you need to feel the 3 vibration when push power and volume

up then let the buttons
[Xperia Z General] Olawarley:
Thanks alot bro. i got it powered off. could u pls suggest me a good stock ROM to flash ??? I'm in west africa region. can i flash stock ftf from Hong Kong?? Also is there a way i could flash without losing the apps installed??? I'm so sorry for the questions
[Xperia Z General] akkufix:
Look here:

http://xdaforums.com/xperia-z/general/ftf-10-6-0-454-customized-t3114078

For keeping your apps, try unchecking "data" in flashtool.

Anyone correct me, if i'm wrong.
[Xperia Z General] edwuard:
Yes bro you have a lot of stuff here on xda Xperia z general, good luck bro
[Xperia Z General] Olawarley:
Thanks bro .... I actually repaired the Phone's software via Sony PC companion. lost important files, sad though. However, I'd try and root again. but may i ask why some applications don't seem to get root access after i'd granted root permision with KingUser?? I could just stick to Kinguser if it works properly but it doesn't seem to
[Xperia Z General] Olawarley:
I'd successfully changed it to super su. Thanks Op
[Xperia Z General] unix72:
Thanks Bro, it's works

just follow your Guide and it's done
[Xperia Z General] Lamine Quiet:
thanks bro :D
[Xperia Z General] nitin_ko:
i has super su as a system app and after OTA to 5.0.2 i lost root access. previously i had used towelroot to root while in kitkat.

anyways 1st time it said success but nothing happened, i had to run kingroot again and it worked like a charm 2nd time around.
[Xperia Z General] android-jaya:
it doesn't work at all. SuperSU said it needs to update binary, and the binary can't update since kinguser is still installed.
[Xperia Z General] edwuard:
Sorry bro if you can't make it but seriously look here are a lot of people who made it, keep it up bro
[Xperia Z General] saifssj6:
Thank for the guide.It's just as theduke7 stayed the app on this page is different from the other kingroot apps.The terminal emulator did not work for me,but I used super sume.And that did it.Thank a lot mates you made my day
[Xperia Z General] tharmor:
Guys I am on 5.0.2 and have installed Kinguser but getting bootloops !! Cannot install terminal emulator...phone restarts before that :( !

thanks

Anyway to revert kinguser ?? Also does this work only with bootloader unlocked ?
[Xperia Z General] tharmor:
how did u fix these rwboots ??

---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------

How did u remove king root ?
[Xperia Z General] theduke7:
i doubt that Kinguser is the reason for your bootloop, it might be conflicting with something... do a factory reset from setting , then before installing anything else try this method or there's an alternative method without terminal HERE
[Xperia Z General] tharmor:
Tried both after factory reset.........none works............so i am assuming its my locked bootloader !!

However no bootloop if i disable root !
[Xperia Z General] gitzz:
What I did to have super su on my phone is, i rooted or with Kingroot and then I installed XZDR Recovery, then created a Pre rooted Zip including Super su zip and xposed zip and installed it with TWRP after full wipe, and after that installed XZDR Again

Sent from XDA not so Premium App

Gitzz's Xperia™ ZR [Stock 5.0.2, Rooted, SuperSu, Xposed LP, XZDR, LB]
[Xperia Z General] theduke7:
no, it has nothing to do with locked bootloader, if you disable root you don;t get bootloop , this means something with root permission is causing the loop...did you install Xposed ?

also you can try his idea if everything else fails,

my suggestion is to first install recovery, and from recovery do full wipe and then factory reset the , then factory reset from system...make sure no app are installed...

what customization (which country) of 5.0.2 did you install? did you flash with flashtool of updated from Sony?
[Xperia Z General] chamscal:
Hi,

I have C6603 and I get bootloops every time I try to install a root app. I also loose my wifi access points at each reboot. Also the phone is really hot. I followed exactly the instructions on the first post and I read all the thread and tried different methods with no luck. And when it finally installs Super SU, the binary does not update. The script gives me errors (segmentation fault and read only file). I guess it's a locked bootloader problem, but the problem is that my USB plug on the phone is broken, so I can not run ADB on this device, and I can not unlock the bootloader. The kingroot solution was the only one that could work for me, because of this broken USB plug. Unfortunately it does not work at all. So I just removed all the installed apps and now it works normally, but it still doesn't have root, unless somebody has a good suggestion for me...
[Xperia Z General] gitzz:
May be you could try the method i wrote 2 posts up!

Sent from XDA not so Premium App

Gitzz's Xperia™ ZR [Stock 5.0.2, Rooted, SuperSu, Xposed LP, XZDR, LB]
[Xperia Z General] Rascal74:
I tried it and I also get bootloops. I tried all the methods in this thread...
[Xperia Z General] gitzz:
Did u tried it with the latest recovery? Coz the old recoveries were having problem!!

Sent from XDA not so Premium App

Gitzz's Xperia™ ZR [Stock 5.0.2, Rooted, SuperSu, Xposed LP, XZDR, LB]
[Xperia Z General] Rascal74:
How could I get the latest recovery without pluging the phone to a computer ?
[Xperia Z General] gitzz:
I m new to the recovery thing, I installed recovery on my phone for the first time, on Kitkat I didn't have recovery. AFAIK For the first time u have to install the recovery through PC i guess, for further updates NUTS give two option eitheR through PC or though the already installed Recovery!!

Sent from XDA not so Premium App

Gitzz's Xperia™ ZR [Stock 5.0.2, Rooted, SuperSu, Xposed LP, XZDR, LB]
[Xperia Z General] Igi0815:
hello

it works with kingroot

xperia z

o2 branding

c6603

android 5.0.2

10.6.A.0.454

first download...

install Terminal

install kingroot

reboot...

start kingroot (with mobile data on!)

waiting for root

it installs kinguser, purify

start kinguser

start purify, testing root

test with root check

go to Terminal

make su

cd /

start the Script....

see a lot of text and 2 successfull

make update

ok it works

start supersu

reboot

now i installed busy box pro

and it ask for root and supersu comes up

ok

reboot

kinguser is removed

remove purify

it works

great

Greetings from Hamburg
[Xperia Z General] masteriori:
Thank you edwuard for a wonderful and easy guide.

What's the safest way to install a custom recovery on Lollipop 5.0.2? I want to try custom roms without actually unlocking the bootloader.

Many thanks
[Xperia Z General] milocj:
Works perfectly un xperia Z3 5.0.2!!!! Thanks mate, +10000

[MENTION=4946430]milocj[/MENTION] by devSXSTeam
[Xperia Z General] KornM:
Very easy and works perfectly :) i rooted my xperia z, THANKS!!!
[Xperia Z General] palaboy:
yes very easy my 5.0.2 is rooted now using this method. Thanks.

but we need internet to root using kingroot.
[Xperia Z General] Benben2a:
Yes I did and it works without bootloops

Envoyé de mon C6603 en utilisant Tapatalk

Édit: I tried v17, v18 and v20 no problem with my custom rom or with stock before install [emoji12]
[Xperia Z General] edwuard:
M2 install dual recovery without any problems bro give it a try
[Xperia Z General] edwuard:
I have just install without any problems BRO no bootloop no nothing
[Xperia Z General] lonixlon:
if you cant get it to replace kinguser, try this its easier

http://androidxda.com/replace-kinguser-with-supersu
[Xperia Z General] maly126:
Doesnt work at 5.1 :(

Wysłane z mojego SGP321 przy użyciu Tapatalka
[Xperia Z General] bizugodaterra:
:(

Doesn't work on xperia z C6603 5.1.1 ...anyone?
[Xperia Z General] datauk:
I just used your method to replace Kinguser on Xperia C6603 5.1.1 and it worked. Thanks very much.
[Xperia Z General] stukka2006:
could you explain what you did?

was your phone already rooted?

was it unlocked?
[Xperia Z General] datauk:
Hi stukka2006,

My C6603 was already running the image from Ben Ling from

http://xdaforums.com/xperia-z/general/rom-pre-rooted-supersu-xposed-framework-t3195782

and therefore was rooted and dualrecovery 2.8.21. It also has a locked bootloader (LB).
[Xperia Z General] allengorden:
Finally got it!

Hmm , tried for hours. Finally found out what was wrong with the post.

1. type in small caps.

2. Just type "su" then enter. Then type "allow root". Not "Allow root permission"

3. The post failed to mention- unzip the contents on your PC first then move them to the root folder of your phone.

4. Just ignore the "replacing" comment. There's no replacing going on.

Yeah, so with these 4 things in mind, you're all set to go.
[Xperia Z General] nitin_ko:
does this method work for 311 after the 5.1 update ?
[Xperia Z General] shoey63:
5.1.1 is not directly rootable at this stage. 5.0.2 is though, and kingroot is no longer needed. Check here http://xdaforums.com/showthread.php?p=63019587
[Xperia Z General] edwuard:
There is no root of 5.1
[One (M8) Q&A, Help & Troubleshooting] Cykhet:
Hello all,

Recently Google updated the Play Store to version 5.5.12 and HTC users on M7, M8 and M9 have all experienced intermittent errors when downloading from the Play Store. If you've encountered an error code 963 / 907, please read on.

The following is a bug report capturing the output from the Google Play store upon reaching this error. The below was tested while downloading the game: "Monument Valley"

The error above suggests that the problem is related to inadequate permissions to the file system however, it's generally caused by having a microsd card mounted in your device. For whatever reason, the latest iteration of the Google Play store will attempt to save portions of a downloaded application on the SD card. Once the card has been unmounted from the device, the Play Store functions as expected.

I was able to rid myself of the errors above by performing the following steps (*Note I can't guarantee that this will work for everyone, this is still work in progress)

1) Clear the application Cache / Data for the Google Play Store and Google Play Services through the Application Manager in Settings.

2) Reopen the Play Store, navigate to Settings and scroll to the bottom of the page, if you're on build 5.5.12, you're OK to proceed. If your device is on an older revision, please wait a bit until the Play Store automatically pushes the latest build to your device.

3) Navigate to Settings -> Storage and select: "Unmount SD Card"

4) Navigate back to the Play Store and attempt to download updates, or any other application /game you were previously having issues downloading.

5) Observe the results, if the problem goes away, great! If not, try physically taking the SD card out of your device, rebooting and following all of the above steps in order.

If you're still encountering Error 963 after unmounting your microsd card this is generally due to the incomplete binary blob files (*.obb) residing on the device's internal storage. To correct this, please follow step #1, then go back into the Play Store and attempt to re-download the application in question.

*NOTE* The above fix has been tested on a Verizon M8 on 5.0.1 and a Verizon M9 on 5.0.2 stock firmware.

*UPDATES*

Google is in the process of collecting bug reports and presumably working on a fix. If you've been affected by this bug, please contact Google Tech Support by clicking HERE. The more people that report this the quicker a fix will be issued.

It's been confirmed that this bug isn't specific to HTC devices, it's also been reported on the Samsung platform.

Please reply back with results, thanks for stopping by!
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
http://xdaforums.com/showthread.php?t=3037545
[One (M8) Q&A, Help & Troubleshooting] Dan the wolf:
error 963

it's the SD card an update cannot update data that is stored in the SD card I wrote this yesterday

---------- Post added at 03:07 PM ---------- Previous post was at 02:59 PM ----------

to fix this problem we move the data back to the internal memory and then do the update and if you want to you can put the data back in the SD card