Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
tur0kx
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Aug 2009
Default How i can unrooting my HTC Hero?

Hello!

I am use this Tutorial to rooting my Hero: http://forum.xda-developers.com/showthread.php?t=543571

How i can unrooting my Hero? I think, its possible, because the boot.img dont replaced with a other rom...

I found this Command *thanks!*:
Quote:
* adb shell mount /system
* adb shell rm /system/app/Superuser.apk (if you have it)
* adb push su /system/bin/
* reboot
.. the problem is, i havent the original su
Can someone upload the original su?


Do I need to change the rights?
*from Tutorial*
Quote:
adb shell chmod 4755 /system/bin/su
Big Thanks! Nice Community!

*sorry, my english is very bad >.< xD*
 
ak1ra1nblack
Old
#2  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Aug 2009
My advice would be, keep reading. Page 5 or 6 IIRR has Dayzee's guide which is what I used to root mine, but IIRR she tells you how to unroot again
 
badgaz
Old
#3  
Member
Thanks Meter 1
Posts: 48
Join Date: Jul 2009
If you did a Nandroid backup first you could just restore from that?
 
tur0kx
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Aug 2009
@ak1ra1nblack: I dont found..
@badgaz: I haven't a backup...

I need the original su file and the original rights for
adb shell chmod 4755 /system/bin/su

Thanks!
 
tur0kx
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Aug 2009
Ok, Close please ~~
 
minogue
Old
#6  
Senior Member
Thanks Meter 0
Posts: 487
Join Date: Jan 2009
Location: Elizabeth
Quote:
Originally Posted by tur0kx View Post
Ok, Close please ~~
did you manage to unroot it! IF so share with us the complete steps and link to original su file!
 
Dayzee
Old
#7  
Dayzee's Avatar
Senior Member
Thanks Meter 10
Posts: 328
Join Date: Jan 2008
Location: Manchester UK
If someone can provide us with an original SU file or a changed back one (Maybe enlightener can help?) then I'll add it in the guide - I don't have it in there yet, though there is code to remove superuser.apk and repush it if it goes wrong which might be what the other poster was thinking about. I do think rooting state can be reversed if you did this method, so lets see if we can get an unrooted SU (or do we just have to remove su file altogether to be virgin again?)

Hugs to all - Dayzee
G1 - Google Ion - HTC Hero - Milestone - Nexus One - Desire Z - Samsung Galaxy S II currently using Westcrips REMIX 1.1 ICS Rom

Twitter : @daized

My Amazon Author's Profile
 
phlo
Old
#8  
Junior Member
Thanks Meter 0
Posts: 26
Join Date: Jul 2008
I just checked.
I restored my nandroid backup.

I booted the cm-recovery mounted /system.
and now in /system/bin there is no su.

I expected this already.

To unroot removing su and SuperUser.apk should be enough.


BR

phlo
 
badgaz
Old
#9  
Member
Thanks Meter 1
Posts: 48
Join Date: Jul 2009
Ok is there somebody that could please clarify on the specific steps to unroot the phone?

I don't like to guess at all with these kind of things for obvious reasons
 
tur0kx
Old
#10  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Aug 2009
Open Windows Console and connect Hero with PC

write this:

fastboot boot cm-hero-recovery.img
adb shell mount /system
adb shell rm /system/app/Superuser.apk
adb shell rm /system/bin/su
adb shell reboot

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more