Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

FXP Team Delivers Lollipop to Various Xperia Devices!

From all of us here at XDA-Developers, we’d like to wish you Happy Holidays! If … more

Turn Your Camera Into a Live Puzzle Game

The classic sliding puzzle game hasnt changed much, if at all, over the years. Dating all the way … more

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

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

OP keplenk

25th February 2012, 05:17 PM   |  #1  
OP Senior Member
Thanks Meter: 21
 
282 posts
Join Date:Joined: Aug 2008
More
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!
Last edited by keplenk; 25th February 2012 at 05:19 PM.
The Following User Says Thank You to keplenk For This Useful Post: [ View ]
25th February 2012, 05:45 PM   |  #2  
OP Senior Member
Thanks Meter: 21
 
282 posts
Join Date:Joined: Aug 2008
More
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: [ View ]
25th February 2012, 06:01 PM   |  #3  
jpeg42's Avatar
Senior Member
Flag Oregon
Thanks Meter: 226
 
664 posts
Join Date:Joined: Jul 2010
More
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.
25th February 2012, 06:10 PM   |  #4  
OP Senior Member
Thanks Meter: 21
 
282 posts
Join Date:Joined: Aug 2008
More
Quote:
Originally Posted by jpeg42

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.
26th February 2012, 12:35 AM   |  #5  
jdphilly's Avatar
Senior Member
Flag Philly
Thanks Meter: 10
 
131 posts
Join Date:Joined: Aug 2010
More
Not sure if it will work but i would assume just flashing the stock att tar would remove root
26th February 2012, 03:50 AM   |  #6  
droidal's Avatar
Senior Member
Flag Saint Louis
Thanks Meter: 82
 
402 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by jdphilly

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.
28th February 2012, 06:08 PM   |  #7  
Member
Thanks Meter: 15
 
65 posts
Join Date:Joined: Feb 2012
Quote:
Originally Posted by droidal

Or just do a reset under settings>Privacy.

will that actually "unroot" it?
28th February 2012, 07:04 PM   |  #8  
Senior Member
Flag Valparaiso
Thanks Meter: 32
 
335 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by spec2323

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.
28th February 2012, 07:18 PM   |  #9  
orangekid's Avatar
Forum Moderator
Thanks Meter: 3,197
 
10,377 posts
Join Date:Joined: Apr 2009
More
Quote:
Originally Posted by lastdeadmouse

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?
28th February 2012, 10:05 PM   |  #10  
camaroz28's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 23
 
134 posts
Join Date:Joined: Apr 2010
More
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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes