Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,704 Members 52,528 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to I uninstall/remove Superuser.apk or Unroot

Tip us?
 
keplenk
Old
(Last edited by keplenk; 25th February 2012 at 04:19 PM.)
#1  
Senior Member - OP
Thanks Meter 18
Posts: 261
Join Date: Aug 2008
Default [Q] How to I uninstall/remove Superuser.apk or Unroot

Hi all,

I just did a System Level root here http://forum.xda-developers.com/show....php?t=1505062 and it was successful. It didn't add flash counters which is why I chose this method.

I was able to install Superuser and Titanium Backup.

However I need to return the phone for exchange because this one is currently defective (charger issues).

Now I'm trying to unroot and restore to defaults. First I uninstall Titanium backup which was easy. Then now I can't UNinstall Superuser.apk. I look for guides and found that I need to download Terminal Emulator, enable root then run these commands:

Code:
su
rm -r /system/app/Superuser.apk
rm -r /system/xbin/busybox
rm -r /system/bin/su
However, when I run this it gives me this error:

Code:
#rm -r /system app Superuser.apk
rm failed for Superuser.apk, Read-only file system
So yeah, it won't delete and I can't return it with Superuser installed in there

Is there a different method to just download the official restore .tar file from Samsung and just restore it that way using odin. If there is, where can I find that .tar file?

Please help, I only have a few hours before I can return this

Thanks!
The Following User Says Thank You to keplenk For This Useful Post: [ Click to Expand ]
 
keplenk
Old
#2  
Senior Member - OP
Thanks Meter 18
Posts: 261
Join Date: Aug 2008
Just an update (I'll just reply to myself since I found a solution)

I was able to delete the Superuser.apk,busybox,su by following this guide: http://forum.xda-developers.com/show...61&postcount=2

Code:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
However my device is still rooted. Although Bestbuy/AT&T might not detect it, Samsung probably will .. so warranty can still be voided.

Anyway, is there way to unroot easily?

I'm guessing that using the official .tar file from samsung ... will fix this.

Where can I find that file?

THanks again!
The Following 2 Users Say Thank You to keplenk For This Useful Post: [ Click to Expand ]
 
jpeg42
Old
#3  
jpeg42's Avatar
Senior Member
Thanks Meter 226
Posts: 663
Join Date: Jul 2010
Location: Oregon
How is Samsung going to link your Best Buy return back to you? Since you are within 30 days, your return will be fine. I think the concern is the flash counter when sending in for warranty repairs after the 30 day return window.
GALAXY NOTE SGH-i717 - Padawan JB || 4.1.2
 
keplenk
Old
#4  
Senior Member - OP
Thanks Meter 18
Posts: 261
Join Date: Aug 2008
Quote:
Originally Posted by jpeg42 View Post
How is Samsung going to link your Best Buy return back to you? Since you are within 30 days, your return will be fine. I think the concern is the flash counter when sending in for warranty repairs after the 30 day return window.
Thanks! Point taken. But yup .. I guess I was talking about future issues when I will have to deal with Samsung (hopefully not).

So .. is there a restore .tar file that samsung provides?

Thanks again.
 
jdphilly
Old
#5  
jdphilly's Avatar
Senior Member
Thanks Meter 10
Posts: 131
Join Date: Aug 2010
Location: Philly
Not sure if it will work but i would assume just flashing the stock att tar would remove root
Sent from my Galaxy Note 3 using xda premium
 
droidal
Old
#6  
droidal's Avatar
Senior Member
Thanks Meter 82
Posts: 402
Join Date: Jul 2010
Location: Saint Louis
Quote:
Originally Posted by jdphilly View Post
Not sure if it will work but i would assume just flashing the stock att tar would remove root
Or just do a reset under settings>Privacy.
Carbon Blue Galaxy Note i717 2/19/2012

 
spec2323
Old
#7  
Member
Thanks Meter 15
Posts: 65
Join Date: Feb 2012
Quote:
Originally Posted by droidal View Post
Or just do a reset under settings>Privacy.
will that actually "unroot" it?
 
lastdeadmouse
Old
#8  
Senior Member
Thanks Meter 32
Posts: 334
Join Date: Dec 2010
Location: Valparaiso
Quote:
Originally Posted by spec2323 View Post
will that actually "unroot" it?
No. 2 ways to unroot. Remount r/w, and remove said binaries, or flash system.img with stock the same way you flashed the rooted system.img.
 
orangekid
Old
#9  
orangekid's Avatar
Forum Moderator
Thanks Meter 2994
Posts: 10,039
Join Date: Apr 2009
Quote:
Originally Posted by lastdeadmouse View Post
No. 2 ways to unroot. Remount r/w, and remove said binaries, or flash system.img with stock the same way you flashed the rooted system.img.
do you have a link for a real/safe ATT stock system.img we can flash?
 
camaroz28
Old
#10  
camaroz28's Avatar
Senior Member
Thanks Meter 23
Posts: 134
Join Date: Apr 2010
Location: Atlanta
http://forum.xda-developers.com/show....php?t=1506330

There is a stock system here. I'm pretty sure since it is the stock signed kernal it shouldn't trip the counter either. Maybe someone with an already tripped counter can try it and report.
Smartphones Owned:
  • Samsung Galaxy Note 3 (SM-N900A) -Personal
  • Samsung Galaxy S 4 (SCH-i545) -Work
  • Samsung Galaxy Note (SGH-i717)
  • Samsung Captivate (SGH-i897)
  • Samsung Epix (SGH-i907)

*Bold denotes currently in use

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Run, Jump, and Shoot in Tales of Ciaxia

There are certain types of games that have become paramount of the portable gaming world. As we have … more

Samsung Gear Live Stock Firmware Image Pulled, Temp Root

Just yesterday,XDA Recognized Developer and TV ProducerAdamOutlertore apart … more