Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Renamed /system/xbin, can't re-root or unroot

OP kevorulez

8th March 2014, 08:26 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Nov 2010
HI all,

My Xperia Z is running 10.3.1.A.2.67 stock ROM.

An app I was trying to run has some mechanism to prevent running on rooted devices. I read somewhere and tried to circumvent this by renaming the /system/xbin folder. What I didn't realise is that cause my phone to lose root, i.e. SuperSU says "There is no SU binary installed..."

Now I tried to re-root using all the tools I could find (Doomlord, cubeundcube, Goroh_kun) but they all encountered a similar problem: /system/xbin/su: cannot open for write: No such file or directory. It seems that all the tools can't write file to the /system directory.

I also tried the unroot tool from http://forum.xda-developers.com/show....php?t=1886460, but it threw an error as well.

Can anyone shed some light into what's causing this, and how can I fix it?

Thank you all
8th March 2014, 10:02 AM   |  #2  
St.Jimmy90's Avatar
Senior Member
Flag Frankfurt
Thanks Meter: 142
 
611 posts
Join Date:Joined: Jul 2013
More
Flash official 4.2 ftf of your region. Use easy rooting method of general section. If your bootloader is locked, and only then, update via ota to 4.3

Gesendet von meinem C6603 mit Tapatalk
The Following User Says Thank You to St.Jimmy90 For This Useful Post: [ View ]
8th March 2014, 11:52 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by St.Jimmy90

Flash official 4.2 ftf of your region. Use easy rooting method of general section. If your bootloader is locked, and only then, update via ota to 4.3

Gesendet von meinem C6603 mit Tapatalk

Thank you very much! I've flashed the official firmware and now my phone is back in the original state before I messed things up. I used the cubeundcube method from Bin4ry script in http://forum.xda-developers.com/show....php?t=1886460.

I haven't updated to 4.3 yet because last time I read, the only way to root 4.3 is to unlock the bootloader. My bootloader is still locked, because I didn't want to mess with the DRM stuff when I got the phone. This understanding could be outdated.

It seems that I can keep root through the OTA process? Is there anything I should do to ensure I can get root after 4.3? Would Bin4ry's script allow it?

Thanks again
9th March 2014, 07:50 AM   |  #4  
St.Jimmy90's Avatar
Senior Member
Flag Frankfurt
Thanks Meter: 142
 
611 posts
Join Date:Joined: Jul 2013
More
If I remember correctly you should keep root while updating ota

Gesendet von meinem C6603 mit Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes