CONTINUE
Once you are back in the OS, you still have root and busybox installed, because the nandroid backup you restored has those.
So the next step is to either open a terminal on the phone or go into ADB shell and run the following commands:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
rm /system/bin/busybox
rm /system/xbin/busybox
rm /system/app/Superuser.apk
cd /
mv recovery-from-boot.old recovery-from-boot.p
if you receive "error failed on 'recovery-from-boot.old' - No such file or directory" don't worry, it's ok, just go to the next step.
From there you still have su left, and you have 2 options for getting rid of it.
a) Since you are already root, just run rm /system/bin/su .. I personally don't like this option because the phone by default has a su binary that just doesnt allow you access.
After you do the above do this:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
sync
reboot
b)- (prefered method)
Download the official https://android.clients.google.com/u...0.84263456.zip , which will replace the 2.0.1 su binary.
Rename it to update.zip
Copy it to sdcard
Reboot phone in to recovery(hold x + power button, at the /!\ hold the volume+ and camera button.
Select apply sdcard:update.zip, you might see an error but it should complete.
Reboot when finished.
Once you are done with all of that you are back at a stock image.
To test if su is gone, download Android Terminal Emulator and do an su, you should get a permission denied response.If you want to take an extra step, which isn't really needed, do a factory reset.
Now go download at least a couple of the apps you use so your phone looks like it's actually been used.
THANKS TO SPEEFDYMON






Reply With Quote