[Q] How to I uninstall/remove Superuser.apk or Unroot - AT&T Samsung Galaxy Note I717

Hi all,
I just did a System Level root here http://forum.xda-developers.com/showthread.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!

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/showpost.php?p=7386761&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!

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.

jpeg42 said:
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.
Click to expand...
Click to collapse
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.

Not sure if it will work but i would assume just flashing the stock att tar would remove root

jdphilly said:
Not sure if it will work but i would assume just flashing the stock att tar would remove root
Click to expand...
Click to collapse
Or just do a reset under settings>Privacy.

droidal said:
Or just do a reset under settings>Privacy.
Click to expand...
Click to collapse
will that actually "unroot" it?

spec2323 said:
will that actually "unroot" it?
Click to expand...
Click to collapse
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.

lastdeadmouse said:
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.
Click to expand...
Click to collapse
do you have a link for a real/safe ATT stock system.img we can flash?

http://forum.xda-developers.com/showthread.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.

thanks alot
keplenk said:
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/showpost.php?p=7386761&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!
Click to expand...
Click to collapse
it worked for me.. thanks a lot

Another way to return to stock is with Kies. I have used this method a couple of times with no problems. Once Kies wouldn't recognize my note, so I had to flash a stock ics rom from the super everything thread, then hook it up so kies would recognize. There is also a flash counter reset in the super everything if you are worried about that.
Did you get the insurance from Best Buy? Or just worried about warranty from Samsung? If you have BB insurance, just run over the thing with your car before taking it back. That's what I plan to do. Just before my contract is up I always return for a new phone. They can't check the flash counter if it is snapped in half

Sanjay Kumar
I will say a simple method to uninstall superuser.
First you root your phone again
Download clean master which is free.
Now open it. And allow superuser permission. Now open app manager.
It shows uninstall-backup -move options.
Select pre installed apps . Click superuser and click uninstall.
Hurray u have uninstalled superuser . My what's app number 7401660083. Message me I you have any doubt:good:

problem..
hello, i have i9505 phone and i had superuser with error. i tried to restore with odin just as you said, and i put pit file that was on the folder. i put pda file too. it was too long time to install and i close the connection. after that my phone remains to samsung logo. what can i do?pls help

Related

Removing bloatware on J16 update

Has anyone tried removing bloatware after the J16 update? Root Explorer isn't working for me anymore. Terminal isn't working either. I get a:
rm failed for example.apk Read Only file system
I finally got rid of everything using Root Manager.
Anyone else encountered this issue? Any fix? Or do we need to wait for updates on the apps?
HG! said:
Has anyone tried removing bloatware after the J16 update? Root Explorer isn't working for me anymore. Terminal isn't working either. I get a:
rm failed for example.apk Read Only file system
I finally got rid of everything using Root Manager.
Anyone else encountered this issue? Any fix? Or do we need to wait for updates on the apps?
Click to expand...
Click to collapse
Anytime you get a "Read only filesystem" error in terminal when dealing with /system, you need to remount the partition as RW using
Code:
mount -o rw,remount -t yaffs2 /dev/block/stl9 /system
I removed all my bloatware using an adb shell without an issue.
I learn something new everyday.
Thanks burner!
I removed them all... but it's always good to know another way.

Un rooting help.

I want to unroot my phone, obviously i deleted everything needed to go back to stock so i was hoping someone could tell me the best method.
I want to unroot it because I have a feeling my phone has some sort of defect a ota/root won't fix. IT will NOT download MMS messages at all, it was working two weeks ago but since all download messages fail, my moms blackberry and sisters iphone work fine but mine will not.
My phone was rooted a long time ago, like in october but I never installed any rom's or anyhting, it has superuser and clockworkmod/rom manger. Awhile ago I tried to install things on rom manager but never noticed any difference. I also did the fix permissions thing.
Just wondering if its safe to use http://forum.xda-developers.com/showthread.php?t=867648
and if i decide to just keep the phone how would i go about updating the phone to newer roms?
The easiest way is to odin the DL09 stock rom to your phone. It will install the OTA to the latest firmware after you boot up.
There is also a thread started by Adrynalyne that has the EA28 and ED01 update.zips, do you don't have to OTA the updates (which takes forever to download). The thread is about how to get the most updated radio.
Of course, using Odin will wipe everything off your phone.
P.S. Rom manager is borked on our phones, so don't use it
Sent from my SCH-I500 using XDA Premium App
Yes it is safe to use that DL01 Odin file, that is what I use. I would do that, then see if MMS works.
You could do it manually through adb:
adb shell
su (its going to ask you for permission on your phone so hit allow)
mount -t rfs -o remount,rw /dev/block/stl9 /system
rm /system/app/Superuser.apk
rm /system/xbin/busybox
rm /system/xbin/su
rm /system/bin/su
rm /system/bin/busybox
mount -t rfs -o remount,ro /dev/block/stl9 /system
exit
OhioYJ said:
Yes it is safe to use that DL01 Odin file, that is what I use. I would do that, then see if MMS works.
Click to expand...
Click to collapse
I think you mean DI01 or DL09. There is no DL01

/system partition read only now?

hi,
guys i am having trouble with my phone all of a sudden.
I flashed back to stock ED05 and now my /system rfs partition is READ ONLY.
I found out its only read only, because i couldn't root anymore. I need root for titanium backup so i can restore my apps.
How do i change it to Readwrite?
Im trying to remount, but i am having problems
i went into cmd > adb shell > window opened up i typed mount -o rw,remount -t rfs /dev/block/stl9 (the stl9 is my /system i think from the look of the screenshot if i am wrong plz post)
and then i tried chmod 777 /system
it says UNABLE TO chmod /system read-only file system
SCREENSHOT from adb shell
replace 1234 in link to http
1234://img535.imageshack.us/img535/1202/android2.jpg
i tried following this guide replace 1234 with http and 123 with www
1234://123.pocketmagic.net/?p=757
thx for help in advance
sorry for links it says u need to have 8 posts before u can link away from forums
someone plz help im going insane on this. I have tried odin DL09 and ED05 over and over again but /system stays read-only
-ADB shell doesnt fix it
-odin doesnt fix it
-trying to get root but since /system is read-only i cant get root
plz someone has to know this
I'm having the same problem. Tried using the Samsung root package mentioned in another thread and it fails to mount the system directory.
I just got my Fascinate this weekend due to a warranty swap from another phone. It ran the update to ED05 when I OTA'd it. Is this something locked down in ED05?
FYI, just found this thread and had no problems doing it the manual way. try it out.
http://forum.xda-developers.com/showthread.php?t=779238

UnRoot Galaxy Tab 10.1 4G LTE with ADB Commands

Can someone knowledgeable please submit a detailed post, which instructs how to remove any files added during the Root Process, as well as any other file permission changes or modifications of any other type?
I see many half assed posts in these forums made by unqualified members, which are nothing but a waste of time and clutter this great resource. I would appreciate it if this post could be addressed by those who truly understand this process.
The file that was used to Root the SCH-i905 from Verizon was the one attached to this post.
Thanks in advance! This could be a great learning tool if answered properly.
Can some one please respond? Or is it that everyone is too scared to post helpful information?
Well, since no one was of any assistance, I was forced to piece together information and come to an understanding of how this works, and how to fully reverse what was done by this Root Update.
To begin, I would like to mention, that removing Superuser.apk from the /system/app folder, along with 'su' from the /system/bin folder, will negate your Root Access, and put you back to your default levels of access. This will prevent Mobile Device Management Solutions, such as AirWatch, Zenprise, or MobileIron from detecting your device as being compromised.
I was not successful in removing these two files via the ADB shell, however I was successful when using a Terminal Emulator App on the Device itself.
1.) I began by installing a free Terminal Emulator from the Android Market.
2.) Launched the Terminal Emulator and typed 'su' , then pressed Enter to gain Root Shell Privileges.
3.) From the Root Shell, I typed the following commands to remount the '/System' Directory to gain Read/Write Access.
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
4.) I typed the following commands to remove 'Superuser.apk' and 'su'.
cd /system/app
rm Superuser.apk
cd /system/bin
rm su
5.) Type the following command to remount the '/System' Directory back to Read Only.
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
6.) Sync your device with Google under Settings / Accounts & Sync.
7.) Reboot your device, and you are good to go.
It might be a good practice to perform a Factory Reset on your device after doing this, however this is not completely necessary. I tested the Air-Watch Agent installation after performing the procedure mentioned above, and the Air-Watch console no longer detected my device as being compromised.
I will add that on my sch-i905 I found the bin directory under system not under system/app. For me, replacing cd /system/app/bin with cd /system/bin did the trick but the rest worked a treat - thanks for the post!
Thanks for pointing out my typo. I corrected the path in my Post.
Thanks for this.
Does this restore the stock recovery that was replaced with Clockwork when the kernel.zip and recovery.zip files were flashed to obtain root? I do not totally understand the relationship between Superuser and CWR. I found a reference to a flashable stock recovery in post 14 here http://forum.xda-developers.com/showthread.php?t=1205639&page=2 , but I'm unclear on the instructions.
I'm trying to understand how, if possible, to return my VZW LTE Tab to out-of-the-box stock, if desired.
Rooted: Droid Incredible / Droid X / Thunderbolt / 3G-4G Xoom / Galaxy Tab 10.1 LTE
I have the Superuser icon showing up in my apps folder, but I don't appear to have root access. I can't su in the terminal emulator nor can I load apps that require root access. I also tried removing the Superuser.apk via a file manager with no luck.
Any idea how to remove this thing if I don't actually have root access?
---------- Post added at 09:25 PM ---------- Previous post was at 09:10 PM ----------
OK, I rooted again and fixed whatever was broken. Then I was able to apply these commands to unroot the device.
Thank you!
tbcpn said:
Thanks for this.
Does this restore the stock recovery that was replaced with Clockwork when the kernel.zip and recovery.zip files were flashed to obtain root? I do not totally understand the relationship between Superuser and CWR. I found a reference to a flashable stock recovery in post 14 here http://forum.xda-developers.com/showthread.php?t=1205639&page=2 , but I'm unclear on the instructions.
I'm trying to understand how, if possible, to return my VZW LTE Tab to out-of-the-box stock, if desired.
Rooted: Droid Incredible / Droid X / Thunderbolt / 3G-4G Xoom / Galaxy Tab 10.1 LTE
Click to expand...
Click to collapse
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Stock Recovery isn't required to Root the device. However, if you wish to install CWM via ROM Manager from the Android Market, Root Permissions are required.
If you use an ODIN Flash of CWM, there is no need for Root Permissions because you are flashing via ODIN.
The stock recovery zip file that you referenced in the other post should be fine.
Just use ODIN to Flash back to Stock Recovery and use the process that I mentioned to remove Root Permissions and Super User, and you should be all set to return your device after a Factory Wipe.
Cheers!
~Scott~ said:
I have the Superuser icon showing up in my apps folder, but I don't appear to have root access. I can't su in the terminal emulator nor can I load apps that require root access. I also tried removing the Superuser.apk via a file manager with no luck.
Any idea how to remove this thing if I don't actually have root access?
---------- Post added at 09:25 PM ---------- Previous post was at 09:10 PM ----------
OK, I rooted again and fixed whatever was broken. Then I was able to apply these commands to unroot the device.
Thank you!
Click to expand...
Click to collapse
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Scott,
I'm sorry for just seeing your post. I'm sure that you figured it out by now. You need to gain Root Access to your device again to remove Super User. You are in a Catch22.
If you are using an SCH-I905, Root your device, then download Script Manager from the Android Market.
Run this very simple Bash Script that I wrote to remove Root and Super User.
Paste this into notepad and save it as Unroot.sh then run with Script Manager.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
cd /system/bin
rm su
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Be sure to run the Script as Root from within Script Manager. The app will kind of freeze up as soon as it runs, which is normal. This will certainly take care of your problem.
Thanks for your post of stockrec in a different post. You saved me a month ago with that one.
Cheers!
Will Samsung know if I rooted my GT 10.1 LTE after using these commands, and sending in for warranty?
Does anyone know how often airwatch checks for the root? anyway to bypass the checks?
Is this the same for the US Cellular 4G Tablet? I have been reading and all that I have found was WiFi only files. Which if I were to root with those I lose the 4G radio.
Perfect.. Just what I need. Thanks

[MOD] Webtop Via HDMI Without a Dock [CDMA/VZW] *Tentative support for intl as well.*

--THIS IS FOR THE VERIZON DROID RAZR--
Go here for the test files for international version: http://forum.xda-developers.com/showpost.php?p=19900530&postcount=11
I have enough confirmations that I can now confirm this is working, However the on screen controls appear not to be launching currently, but webtop launches.
What this mod does:
It removes the device ID string check from PortalApp, and enables the webtop option in DockService. Replacing these two apk files effectively allows the webtop to launch without proprietary hardware.
Click to expand...
Click to collapse
What this means to you:
Webtop mode over any HDMI without an expensive dock.
Click to expand...
Click to collapse
Installation:
Method 1: Flashable ZIP
Flash THIS zip.
Click to expand...
Click to collapse
Method 2: ADB install
Download the attached apk files.
First Get the files to the device and remount /system as rw:
Code:
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o remount,rw /system
Backup the original files:
Code:
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak
Copy the modded files over fix permissions and reboot:
Code:
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
chmod 644 /system/app/DockService.apk
chmod 644 /system/app/PortalApp.apk
reboot
Click to expand...
Click to collapse
Appreciate my work? Buy Me a Beer:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
love you.
10<3
ah jeeze... just noticed it's for the Verizon RAZR, will it by any chance work on a GSM version?
Just installed it, and on the bionic after connecting to the tv, the phone became a mouse. Here the screen goes black and doesn't respond to touch.
You on a Verizon device? Did the webtop or dock option list come up at all?
Yes, Verizon phone. Everything comes up great on the tv, The webtop option comes up on the list to choise from, when i hit webtop the tv comes on, the phone goes black, but no control of pointer at all.
That's a good sign at least. Did you install via the flash method or the adb method?
Flash. I flashed BigDX ics theme yesterday, maybe it has something to do with it, so restoring a nandroid backup of before and will flash the webtop hack again.
---------- Post added at 10:41 PM ---------- Previous post was at 10:12 PM ----------
Nope. Same. Phone screen goes black, no control of pointer.
That sucks stevessvt, maybe try installing via adb instead and see what happens.
I really want to try it on my GSM RAZR... Don't know what the difference would be. Anyone...?
EDIT:
My stock DockService.apk is 109kb - odex is 173kb, the PortalApp.apk is 1.21mb - odex is 591kb
Can anyone confirm the Verizon file sizes for me?
opensourcefan said:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
Click to expand...
Click to collapse
Try this one with method 2 for the international version: http://www.cheatersedge.org/android/RazrWebtopMod.rar
I'll try to look into the on screen mouse/keyboard issue. It may be slow going seeing as I don't actually have one of these devices to test on.
Sent from my SGH-I777 using XDA App
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
oh now i just got mad since the OTA i lost root so no Webtop for me. i don't wanna loose the OTA so i'm just gonna wait for somebody to find a way to get root again.. since i don't know how to do that.
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You can change the permissions with Root Explorer: Long hold on each file, and set RW- R-- R--, and then reboot, that ought to go it.
As for the command for the adb method it might be "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" Where "/dev/block/mtdblock3" is replaced with the actual block device for /system. You can check this by just typing "mount" and looking at the entry for /system.
only Verizon? not for EU GSM devices?
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
shady_lanem said:
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
Click to expand...
Click to collapse
you have a Vaarizon?
9100_it said:
you have a Vaarizon?
Click to expand...
Click to collapse
Download link for international version is posted on top of this page
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You have to do
su
To login as root before.
Sent from my awsome Motorola RAZR
Perfect!
I've asked to teach me how to make it, but it's the same. The important thing is that it is available, even if my curiosity reaches an unknown level.
Thanks!
P.S.: Please, edit the thread title to reflect this section rules!

Categories

Resources