[Q] Deleted su file.. how can I restore..? - Acer Iconia Tab A100

Hi,
I've been having problems with my root and superuser. I tried to install supersu also but was crashing every time. The superuser could not get the new su version and generally my A100 acted as not rooted. I tried to do the rooting process again and again with no luck. I downloaded the latest su version and tried the commands again.
Then it crossed my mind to remove the old su from xbin (since I got the new version) and give the commands. So I rm it but then I gave it a closer look and saw that the command did not copy the new su to xbin but was using the cat command. The commands I gave are
(The su version is supposed to be the latest one)
$ export PATH=/data/local/bin:$PATH
$ pwd
/
$ cd sdcard
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su
$ su --version
0.83:SUPERSU
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su
$ su --version
0.83:SUPERSU
$ rm /system/xbin/su
rm failed for /system/xbin/su, Permission denied
$ ls -al /system/xbin/su
-rwsr-sr-x root root 91980 2012-03-24 01:40 su
$ /system/bin/cmdclient ec_micswitch '`chmod 6777 /system/xbin/su`'
$ ls -al /system/xbin/su
-rwsrwsrwx root root 91980 2012-03-24 01:40 su
$ rm /system/xbin/su
rm failed for /system/xbin/su, Permission denied
$ mv /system/xbin/su /mnt/sdcard/temp
failed on '/system/xbin/su' - Cross-device link
$ /system/bin/cmdclient ec_micswitch '`rm /system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
$ /system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
$ /system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
$ ls /system/xbin/su
/system/xbin/su: No such file or directory
Now I have no su file... how can I restore it? Can anyone send me the su from their A100 (I guess it would be the same)
I can't understand why the rooting stopped. It use to work ok...maybe the interference of superuser and supersu caused this..
It happened after a restart...
Anyhow... how do I get my root back...? Any ideas...?
Sent from my A100 using Tapatalk

SuperSu and Superuser both use different su binaries. Which one are you going to use (it's not wise to have both or else they are going to interfere with each other).

The superuser stopped responding but I couldn't uninstall it. The posts I've for the supersu said that it dike not matter whether you have superuser isntalled,so I installed it.
I would prefer supersu I guess... but at the moment anything would be just fine....
Sent from my A100 using Tapatalk

dkaratasos said:
The superuser stopped responding but I couldn't uninstall it. The posts I've for the supersu said that it dike not matter whether you have superuser isntalled,so I installed it.
I would prefer supersu I guess... but at the moment anything would be just fine....
Sent from my A100 using Tapatalk
Click to expand...
Click to collapse
Are you running honeycomb or ICS?

Theonew said:
Are you running honeycomb or ICS?
Click to expand...
Click to collapse
Honeycomb
Sent from my A100 using Tapatalk

dkaratasos said:
Honeycomb
Sent from my A100 using Tapatalk
Click to expand...
Click to collapse
Try re-rooting using this method: http://forum.xda-developers.com/showthread.php?t=1472521.

Theonew said:
Try re-rooting using this method: http://forum.xda-developers.com/showthread.php?t=1472521.
Click to expand...
Click to collapse
I did but did not work
$ sh root.sh
Copying root file & changing permissions (making your tab super!) Please wait...
-rwsr-sr-x root root 22148 2012-04-01 01:45 su
If su is listed above with out errors and is bigger than 0 bytes... That's all folks!!
Now you need to install superuser and open it, then go to the wrench icon and tap it
Find the update area and tap it, tap update now to update the super user file that this script copied over earlier
Once its updated, install busybox from the market and your all set!
$
Both superuser and supersu could not gain root shell...
If you check the size of the su file in xbin now and initially you will see a big difference ...
Can someone upload their su file...? Isn't it the same...?
Sent from my A100 using Tapatalk

I opened the root.sh ...
It has the same commands as a script... it would not do anything different...
Root.sh:
echo "Copying root file & changing permissions (making your tab super!) Please wait..."
sleep 2
/system/bin/cmdclient ec_micswitch '`mount -o remount,rw /system`'
sleep 2
/system/bin/cmdclient ec_micswitch '`cat /mnt/sdcard/su >/system/xbin/su`'
sleep 2
/system/bin/cmdclient ec_micswitch '`chmod 6755 /system/xbin/su`'
sleep 1
rm /mnt/sdcard/su
echo " "
ls -l /system/xbin/su
echo " "
echo "If su is listed above with out errors and is bigger than 0 bytes... That's all folks!!"
echo " "
echo "Now you need to install superuser and open it, then go to the wrench icon and tap it"
echo "Find the update area and tap it, tap update now to update the super user file that this script copied over earlier"
echo "Once its updated, install busybox from the market and your all set!"
Sent from my A100 using Tapatalk

The only thing left to try is a factory reset (or update to ICS if you want to keep all your data) then re-root (that will work). In these cases, one would just flash superuser via recovery, but since you are on HC and have no custom recovery, that simple fix is not possible.

How about taking the su file from an other A100...? Even a non rooted A100.. won't that work...?
Sent from my A100 using Tapatalk

dkaratasos said:
How about taking the su file from an other A100...? Even a non rooted A100.. won't that work...?
Sent from my A100 using Tapatalk
Click to expand...
Click to collapse
A non-rooted device does not have a su binary. The su binary of a rooted one would be the same as the one here: http://goo-inside.me/superuser/su-bin-3.0.3.2-efghi-signed.zip (until there's an update at least ).

Theonew said:
A non-rooted device does not have a su binary. The su binary of a rooted one would be the same as the one here: http://goo-inside.me/superuser/su-bin-3.0.3.2-efghi-signed.zip (until there's an update at least ).
Click to expand...
Click to collapse
That confuses me.... but then why the rerooting process did not work,if there was not already a su file there...? And why the scripts use cat instead of the simple cp ...? Even more... why the size of the su I had before is different than the new one..? Are you sure there is no su file on a non rooted A100..?
Sent from my A100 using Tapatalk

I did it... I tried a few different su versions I had downloaded in the past and one worked... with superuser ... the supersu crashes....
I got rid of supersu and through superuser I updated the su file..it worked like a charm...
Thanx for your help...
Sent from my A100 using Tapatalk

dkaratasos said:
That confuses me.... but then why the rerooting process did not work,if there was not already a su file there...? And why the scripts use cat instead of the simple cp ...? Even more... why the size of the su I had before is different than the new one..? Are you sure there is no su file on a non rooted A100..?
Sent from my A100 using Tapatalk
Click to expand...
Click to collapse
1. Corruption.
2. That's the chosen "exploit".
3. SuperSu's su binary will be a different size than Superuser's su binary.
4. No non-rooted device has a su binary. The su binary allows root access (which a non-rooted device does not have). The rooting process places the su binary in a device.
dkaratasos said:
I did it... I tried a few different su versions I had downloaded in the past and one worked... with superuser ... the supersu crashes....
I got rid of supersu and through superuser I updated the su file..it worked like a charm...
Click to expand...
Click to collapse
Great.
P.S. - You should have said you still had SuperSu installed.

And u should recheck next time on supersu's description I'm pretty sure it says u can't b running both
Sent from my A100 using Tapatalk 2 Beta-4

raphsabb said:
And u should recheck next time on supersu's description I'm pretty sure it says u can't b running both
Sent from my A100 using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Well according to chainfire here
http://forum.xda-developers.com/showpost.php?p=23442897&postcount=43
Both can be installed and whichever you update the su file grants you the superuser ....
It crashes thought having both...
Sent from my A100 using Tapatalk

They can both be installed but not used together, I added a screenshot of the description in play store, hopefully u can see it from my screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my A100 using tapatalk

Hi,
I'm facing a similar but slightly different problem and looking for some help. Here's the situation:
- I have a rooted galaxy s2 running CM7
- I recently deleted the su binary (why I did that is another story)
- I don't have SuperSU
How can I get root back?
Thanks!

aharol said:
Hi,
I'm facing a similar but slightly different problem and looking for some help. Here's the situation:
- I have a rooted galaxy s2 running CM7
- I recently deleted the su binary (why I did that is another story)
- I don't have SuperSU
How can I get root back?
Thanks!
Click to expand...
Click to collapse
Try doing an advanced restore of system assuming you have a nandroid of that rom that's decently recent. Would also work for the a100 on ICS, but is dependant on having a nandroid of the current rom and is somewhat up to date. This will restore your busy box and super user and root. Don't restore system from another rom. Wipe cache and dalvik after restore. Other option, flash the rom directly over the current install, though I wouldn't suggest it.
Tapatalked from my Galaxy S II.

pio_masaki said:
Try doing an advanced restore of system assuming you have a nandroid of that rom that's decently recent. Would also work for the a100 on ICS, but is dependant on having a nandroid of the current rom and is somewhat up to date. This will restore your busy box and super user and root. Don't restore system from another rom. Wipe cache and dalvik after restore. Other option, flash the rom directly over the current install, though I wouldn't suggest it.
Click to expand...
Click to collapse
I'm a relative noob so let me restate to make sure I understand.
- do a reboot in recovery mode
- go to the .zip file of the current rom (CM7 --- the file I have is the latest) and run it
- AFTER that is done (and not before?), wipe the cache and dalvik cache
Is this correct. Any critical step that I'm missing?
Thanks

Related

whoami: not found after root

When I try to perform a whoami from:
$ su
# whoami
whoami: not found
# busybox whoami
whoami: unknown uid 0
# system/xbin/whoami
system/xbin/whoami: not found
# system/bin/whoami
system/bin/whoami: not found
This is preventing me from running titanium backup among other things.
Does anyone know how I can fix this?
jerrberr said:
When I try to perform a whoami from:
$ su
# whoami
whoami: not found
# busybox whoami
whoami: unknown uid 0
# system/xbin/whoami
system/xbin/whoami: not found
# system/bin/whoami
system/bin/whoami: not found
This is preventing me from running titanium backup among other things.
Does anyone know how I can fix this?
Click to expand...
Click to collapse
Did you run
busybox --install /system/xbin
While in recovery?
Yeah I'm having the same issue. When I did those commands in recovery it came back with a "--install: applet not found" error. For some reason the superuser (ninja icon) doesn't display anything in the white list. I do have su with the shell, but it's just not working. I also downloaded the newest busybox inside TB. I'm at a loss.
OK loss over with.....here is the fix:
Reboot your phone into recovery and mount the /system partition.
Code:
adb shell
su
cd /system/xbin
/system/bin/cat /sdcard/busybox > busybox
chmod 777 busybox
./busybox --install -s /system/xbin
This correctly installs busybox incase you messed something up to begin with. Now we need to deal with superuser permissions.
Code:
adb shell
su
/system/bin/cat /system/bin/sh > /system/bin/su
/system/bin/chmod 4777 /system/bin/su
Once at root (#) prompt in adb recovery
export PATH=$PATH:/system/bin
cd /system/app
cat /sdcard/Superuser.apk > Superuser.apk
cd /system/bin
cat /sdcard/su > su
ln -s /system/bin/su /system/xbin/su
chmod 06755 su
Did that and boom everything is working just fine now. Titanium backup is asking for superuser permissions etc. Thanks to everyone who has been posting and knows more about linux than me!
jmdearras said:
Did you run
busybox --install /system/xbin
While in recovery?
Click to expand...
Click to collapse
Nope - I used the newest (for Jun-29-2010) unrEVOked ota.zip/busybox/payload-update.zip toolchain that is supposed to do all of that for me. Maybe this needs tweaked?
The point is moot - I was trying to run titanium backup with the usb cable attached. Once I disconnected the phone from usb, titanium backup is working fine.
On the other hand, I think that I ought to be able to call whoami from the client machine adb shell or from a shell window in the phone (connectbot) with the usb cable connected, so I'll probably give this a try.

Visionary r7 or visionary from android market NEEDED seriously to ROOT G2 plz help

I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA updated T-mobile G2.... either for temp-root or permanent root..I have tried the ADB/Rage/gfree method of rooting and I getting an ERROR on the last part instructions.... ""## mkdir failed for /system/xbin, File exists"
My main question is if anyone could check to see if their version of the Visionary app is the version 7 or r7...if so could you please used titanium backup to send me a copy of the file....
thank you so so much...
Not sure why a specific older version of Visionary would work if the newer (or older) versions would not.
Regarding your error message, is that when you run the command:
/data/local/tmp/root
Click to expand...
Click to collapse
If so you will note that the instructions on the wiki state immediately below that: You may see an error message along the lines of "mkdir: /system/xbin already exists", but if so you can ignore that, the rest of the script should still run ok.
If you boot into the bootloader (press volume down while powering on device) do you have S-OFF? If so you know that the GFREE part at least did work.
sammd301 said:
I have tried the latest version of Visionary "R14" but it doesn't work, I have also tried Visionary "R3" "R11" "R12" and "13" and they all don't work on my OTA updated T-mobile G2.... either for temp-root or permanent root..I have tried the ADB/Rage/gfree method of rooting and I getting an ERROR on the last part instructions.... ""## mkdir failed for /system/xbin, File exists"
My main question is if anyone could check to see if their version of the Visionary app is the version 7 or r7...if so could you please used titanium backup to send me a copy of the file....
thank you so so much...
Click to expand...
Click to collapse
As has been explained in the Development section, be VERY CAREFUL with Visionary as it is known to brick phones.
When I first got my DZ I was eager to Root and uses V14 to obtain root but remember that this is not a 'Real' S-OFF. GFREE is the best and safest method to use. I was a lucky newbie who didn't end up with a brick!
raitchison said:
Not sure why a specific older version of Visionary would work if the newer (or older) versions would not.
Regarding your error message, is that when you run the command:
If so you will note that the instructions on the wiki state immediately below that: You may see an error message along the lines of "mkdir: /system/xbin already exists", but if so you can ignore that, the rest of the script should still run ok.
If you boot into the bootloader (press volume down while powering on device) do you have S-OFF? If so you know that the GFREE part at least did work.
Click to expand...
Click to collapse
yes you are exactly right...when I input in this command " /data/local/tmp/root" then I got back this error "mkdir failed for /system/xbin, File exists" you see the difference, instead of "already exits" I did ignore the error message but when I tried to used a root required app like root explorer...It states the phone needs to rooted before the app can work....Lastly when I enter into the boot loader "I indeed notice that S-OFF" the problem is that the phone is not rooted not even temporary...as far as visionary r7 goes I recall after the OTA, it did work on my phone for temporary rooting...it is when I attempted to used visionary r14 to obtain permanent root that visionary r7 was overwritten by r14...which doesn't work even for temp rooting thanks for your input
gbarayah said:
As has been explained in the Development section, be VERY CAREFUL with Visionary as it is known to brick phones.
When I first got my DZ I was eager to Root and uses V14 to obtain root but remember that this is not a 'Real' S-OFF. GFREE is the best and safest method to use. I was a lucky newbie who didn't end up with a brick!
Click to expand...
Click to collapse
right now...neither method works not the "visionary r14 or ADB/RAGE/GFREE" I wouldn't mind using either method, the problem is that ADB/Rage/GFREE METHOD keep giving this error message "mkdir failed for /system/xbin, File exists" which I have done a ton of research and still can find a fixed,
sammd301 said:
yes you are exactly right...when I input in this command " /data/local/tmp/root" then I got back this error "mkdir failed for /system/xbin, File exists" you see the difference, instead of "already exits" I did ignore the error message but when I tried to used a root required app like root explorer...It states the phone needs to rooted before the app can work....Lastly when I enter into the boot loader "I indeed notice that S-OFF" the problem is that the phone is not rooted not even temporary...as far as visionary r7 goes I recall after the OTA, it did work on my phone for temporary rooting...it is when I attempted to used visionary r14 to obtain permanent root that visionary r7 was overwritten by r14...which doesn't work even for temp rooting thanks for your input
Click to expand...
Click to collapse
Crap I typed up this response but I guess I didn't submit it because it's gone...
OK what you are saying is actually good news, it means you had temp root at one point or gfree would not have worked (you would not have S-OFF now)
If you can get temp root to work even one more time you can flash ClockWorkMod recovery and then load a custom/pre-rooted ROM.
I do suspect that you have messed up your system with your various attempts at rooting (especially the fact that you used visionary and other deprecated root methods) and you need to wipe your system and start over with either a custom ROM or a pre-rooted stock ROM.
I would start by running this section of the root process:
ON YOUR PHONE:
1. Launch Terminal Emulator
2. Execute /data/local/tmp/rage
3. Wait for the message: "Forked #### childs."
4. Menu > Reset Term - Terminal Emulator will exit.
5. Launch Terminal Emulator, it Force Closes. Launch a second time, and you'll have a root shell
Click to expand...
Click to collapse
If you have a # prompt that means you have temp root, from there I would use flash_image to flash ClockWorkMod 3.0.5 to the phone (see guide)
Get ClockWorkMod here
Once you have CWM installed you can basically ignore your current OS and flash whatever you want, you can go with a custom ROM or if you don't want to do that you can go with a pre-rooted stock ROM (see this thread). In any case I would definitely wipe first (from within CWM)
Yeah, flashing a pre-rooted custom ROM is probably your cleanest solution at this point. If you want to try and fix what you have though, you can try the following steps:
1. Follow the instructions to get temp root with rage again.
2. In Terminal, try these commands and look for an error at any point (this is what the root script is actually doing, with the addition of the deletion of the xbin file/directory since that seems to be what is messing up):
Code:
# /data/local/tmp/busybox killall rage
# mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
# rm -rf /system/xbin
# mkdir /system/xbin
# /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox
# chmod 4755 /system/xbin/busybox
# /system/xbin/busybox --install -s /system/bin
# cp /sdcard/Superuser.apk /system/app/Superuser.apk
# cp /sdcard/su /system/bin/su
# chmod 4755 /system/bin/su
Flashing a custom ROM is probably easier though.
ianmcquinn said:
Yeah, flashing a pre-rooted custom ROM is probably your cleanest solution at this point. If you want to try and fix what you have though, you can try the following steps:
1. Follow the instructions to get temp root with rage again.
2. In Terminal, try these commands and look for an error at any point (this is what the root script is actually doing, with the addition of the deletion of the xbin file/directory since that seems to be what is messing up):
Code:
# /data/local/tmp/busybox killall rage
# mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
# rm -rf /system/xbin
# mkdir /system/xbin
# /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox
# chmod 4755 /system/xbin/busybox
# /system/xbin/busybox --install -s /system/bin
# cp /sdcard/Superuser.apk /system/app/Superuser.apk
# cp /sdcard/su /system/bin/su
# chmod 4755 /system/bin/su
Flashing a custom ROM is probably easier though.
Click to expand...
Click to collapse
Right now I going to try to use this command to fix the error and if it doesn't work, I will then try to flash a custom and see how that goes...Update will be posted as I go along....thanks for the kind help....
raitchison said:
Crap I typed up this response but I guess I didn't submit it because it's gone...
OK what you are saying is actually good news, it means you had temp root at one point or gfree would not have worked (you would not have S-OFF now)
If you can get temp root to work even one more time you can flash ClockWorkMod recovery and then load a custom/pre-rooted ROM.
I do suspect that you have messed up your system with your various attempts at rooting (especially the fact that you used visionary and other deprecated root methods) and you need to wipe your system and start over with either a custom ROM or a pre-rooted stock ROM.
I would start by running this section of the root process:
If you have a # prompt that means you have temp root, from there I would use flash_image to flash ClockWorkMod 3.0.5 to the phone (see guide)
Get ClockWorkMod here
Once you have CWM installed you can basically ignore your current OS and flash whatever you want, you can go with a custom ROM or if you don't want to do that you can go with a pre-rooted stock ROM (see this thread). In any case I would definitely wipe first (from within CWM)
Click to expand...
Click to collapse
I will attempt to flash ClockWorkmod, once I try out "ianmcquinn" suggesting in trying to fix the rooting error...thanks for the help
ianmcquinn said:
Yeah, flashing a pre-rooted custom ROM is probably your cleanest solution at this point. If you want to try and fix what you have though, you can try the following steps:
1. Follow the instructions to get temp root with rage again.
2. In Terminal, try these commands and look for an error at any point (this is what the root script is actually doing, with the addition of the deletion of the xbin file/directory since that seems to be what is messing up):
Code:
# /data/local/tmp/busybox killall rage
# mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
# rm -rf /system/xbin
# mkdir /system/xbin
# /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox
# chmod 4755 /system/xbin/busybox
# /system/xbin/busybox --install -s /system/bin
# cp /sdcard/Superuser.apk /system/app/Superuser.apk
# cp /sdcard/su /system/bin/su
# chmod 4755 /system/bin/su
Flashing a custom ROM is probably easier though.
Click to expand...
Click to collapse
Yes I used the wiki instruction to gain temporary root on the phone and proceeded to tryout the above command...I got mostly error with the command below is what I en-counted as I enter the command....
# /data/local/tmp/busybox killall rage
No error here just # prompt
# mount -o rw,remount -t ext3 /dev/block/mmcblk0p25 /system
No error again just # prompt
# rm -rf /system/xbin
Error "rm failed for -rf, Read-only file system"
# mkdir /system/xbin
Error "mkdir failed for /system/xbin, File exists"
# /data/local/tmp/busybox cp /data/local/tmp/busybox /system/xbin/busybox
Error "cp: can't stat '/system/xbin/busybox': Not a directory"
# chmod 4755 /system/xbin/busybox
Error "Unable to chmod /system/xbin/busybox: Not a directory"
# /system/xbin/busybox --install -s /system/bin
Error "/system/xbin/busybox: not found"
# cp /sdcard/Superuser.apk /system/app/Superuser.apk
Error "cp: not found"
# cp /sdcard/su /system/bin/su
Error "cp: not found"
# chmod 4755 /system/bin/su
Error "Unable to chmod /system/bin/su: No such file or directory
I am now going to attempt the Clockwork custom rom flash..
Folks victory is mine....No, VICTORY IS OURS, I sincerely like to thank all of you all, who replied with helpful suggesting...especially the following members "raitchison" from West Hill, CA and "ianmcquinn" a true senior member of xda-developer.
This is what I did to finally get the phone rooted....
I took "Raitchison" advice by trying to use flash_image to flash ClockWorkMod recovery... but during the process I could not get pass copying file to the phone root system folder usind android terminal emulator ...so I input this command "chmod 777/system" to gain write access to the folder...after doing that I manually moved busybox file to system folder and attempted a rooting the phone using the rooting instruction from the HTC G2/DESIRE Z wiki site...at...
http://forum.xda-developers.com/wik...cess_.28Permanent_Root_.2F_.22Permaroot.22.29
And this time around, everything went as normal after rooting the phone I open root required app and Wa La...no error message...
Guys I once again wants thank you all for the support....I also looked forward to help out others facing the same issue...so if anyone has encounter the same or similar issue please feel free to post here and I will response....
Can any one help me I am trying to close this thread...How do I go about doing it....thanks
There is no need to close the thread, if anyone has a similar problem and finds it via search they can come in here and bring the discussion back up, otherwise if there is no activity it will naturally fall to the bottom of the thread list.
It works for me I just did it yday using visionary and gfree all on my phone weird that it doesn't work for you?
Sent from my Liquid Metal using XDA Premium App

Rooting stock 2.3.6 EDIT: Odin flashable stock recovery

I'm a stock kind of guy. If I want to change things like launchers or whatever I can do it myself once I get root. Plus I like quickoffice and a lot of ROMs like to remove it. Here's what I did.
You can download the stock firmware from samfirmware.com. Flash using Odin. Do this if you want to return to stock 2.3.5. If you are an AT&T customer, you can get the 2.3.6 OTA at this point. I'm still working on pulling the OTA for non AT&T customers.
If you can't get the OTA because you have a custom recovery flashed, see the bottom of this post for the stock recovery. Unrar it and flash using the PDA mode in Odin.
Once you're on 2.3.6, flash CWM from this thread http://forum.xda-developers.com/showthread.php?t=1458153
At this point, there is no need whatsoever to find an exploit in the system in order to try to "root" this phone. CWM provides root access using adb.
Boot into CWM by holding the down volume and the power button. At this point your phone already has root. The only things missing are to push the su and busybox binaries and the superuser.apk. Go into mounts and storage and mount /system
Since I'm lazy, I downloaded DooMLoRD's rooting script here http://forum.xda-developers.com/showthread.php?t=1321582. Note the script does not work on our phone and we don't need the zerg exploit. All we need are the binaries and a way to push them to our phone. DooMLoRD also handily includes an adb shell
In the same folder as runme.bat, make runme2.bat in notepad and paste in the following:
Code:
@echo --- creating temporary directory
@files\adb shell "cd /data/local && mkdir tmp"
@echo --- cleaning
@files\adb shell "cd /data/local/tmp/ && rm *"
@echo --- pushing busybox
@files\adb push files\busybox /data/local/tmp/.
@echo --- correcting permissions
@files\adb shell "chmod 755 /data/local/tmp/busybox"
@echo --- copying busybox to /system/xbin/
@files\adb shell "dd if=/data/local/tmp/busybox of=/system/xbin/busybox"
@echo --- correcting ownership
@files\adb shell "chown root.shell /system/xbin/busybox"
@echo --- correcting permissions
@files\adb shell "chmod 04755 /system/xbin/busybox"
@echo --- installing busybox
@files\adb shell "/system/xbin/busybox --install -s /system/xbin"
@files\adb shell "rm -r /data/local/tmp/busybox"
@echo --- pushing SU binary
@files\adb push files\su /system/bin/su
@echo --- correcting ownership
@files\adb shell "chown root.shell /system/bin/su"
@echo --- correcting permissions
@files\adb shell "chmod 06755 /system/bin/su"
@echo --- correcting symlinks
@files\adb shell "rm /system/xbin/su"
@files\adb shell "ln -s /system/bin/su /system/xbin/su"
@echo --- pushing Superuser app
@files\adb push files\Superuser.apk /system/app/.
@echo --- cleaning
@files\adb shell "cd /data/local/tmp/; rm *"
@echo ALL DONE!!!
@pause
One more final note, after you reboot, update the superuser apk from Google Play. Reboot again before trying to update su or it will fail. Update busybox with the stericson app if you want but it's not necessary.
This method will work on stock 2.3.5 as well. To unroot, just open an adb shell and delete busybox, su, and superuser.apk
Hi Nardholio,
One quick clarifying question: if I flash back to stock 2.3.5 using Kies, will all my apps and personal data get wiped?
Thanks!
I've only had this phone for 2 days, but it looks like Kies will only flash a version you already have (that's not an upgrade) if you force it to initialize the phone. So yes. Hopefully someone will pull the stock recovery in a flashable package for us eventually. If you really want to do this and save your data in the meantime, flash a rooted 2.3.5 ROM (or if you installed CWM on top of non-rooted stock 2.3.5 you could use this same script to root it), then back up your data with Titanium to a safe place (external SD) before wiping the phone and getting the OTA.
Note, installing CWM doesn't appear to increase your flash counter so if you're currently on stock 2.3.5 and for some reason can't OTA to 2.3.6 AND you want to save your data and you care about your flash counter, rooting your 2.3.5 to save your apps seems to be the way to go.
Nardholio said:
I think you have to be an AT&T customer to get this.
Click to expand...
Click to collapse
So it's not enough to have the AT&T version of the phone, you actually have to have a valid AT&T SIM as well? About phone shows 2.3.5 and my phone is just telling me I'm up to date.
worked like a charm! thanks! this was the one thing that annoyed me, having to downgrade to be able to have root. i prefer to have 2.3.6 mainly because of the ability to have video chat on google talk.
Ahhhh, I wish I'd seen this thread before I flashed a custom kernal. Now I'm running ardatdat on the stock rom.
roothorick said:
So it's not enough to have the AT&T version of the phone, you actually have to have a valid AT&T SIM as well? About phone shows 2.3.5 and my phone is just telling me I'm up to date.
Click to expand...
Click to collapse
I have the same problem. Hoping someone will post a stock or rooted 2.3.6 ROM, or ICS will come out soon.
oldnoob said:
I have the same problem. Hoping someone will post a stock or rooted 2.3.6 ROM, or ICS will come out soon.
Click to expand...
Click to collapse
is there a way to create a flashable rom from a nandroid backup? or can someone flash another persons nandroid backup? i can go back to untouched stock and do a backup and post it if it could be used...
I'm sure there's a way to do it, I just don't know how. At this point it might be better to just wait for ICS to drop.
Wat does it matter having a certain build number? As long as everything works fine who cares
Sent from my SAMSUNG-SGH-I927 using XDA
http://db.tt/LbIu6LTv
Try this one, it's called megatron root. It's the only root that worked on lg thrill on gingerbread maybe it will work here.
Sent from my HTC One X using xda premium
deleted post
Will flashing CWMR prohibit the OTA ICS Update?
Nardholio said:
I'm a stock kind of guy. If I want to change things like launchers or whatever I can do it myself once I get root. Plus I like quickoffice and a lot of ROMs like to remove it. Here's what I did.
You can download the stock firmware from samfirmware.com. Flash using Odin. Do this if you want to return to stock 2.3.5. If you are an AT&T customer, you can get the 2.3.6 OTA at this point. I'm still working on pulling the OTA for non AT&T customers.
If you can't get the OTA because you have a custom recovery flashed, see the bottom of this post for the stock recovery. Unrar it and flash using the PDA mode in Odin.
Once you're on 2.3.6, flash CWM from this thread http://forum.xda-developers.com/showthread.php?t=1458153
At this point, there is no need whatsoever to find an exploit in the system in order to try to "root" this phone. CWM provides root access using adb.
Boot into CWM by holding the down volume and the power button. At this point your phone already has root. The only things missing are to push the su and busybox binaries and the superuser.apk. Go into mounts and storage and mount /system
Since I'm lazy, I downloaded DooMLoRD's rooting script here http://forum.xda-developers.com/showthread.php?t=1321582. Note the script does not work on our phone and we don't need the zerg exploit. All we need are the binaries and a way to push them to our phone. DooMLoRD also handily includes an adb shell
In the same folder as runme.bat, make runme2.bat in notepad and paste in the following:
Code:
@echo --- creating temporary directory
@files\adb shell "cd /data/local && mkdir tmp"
@echo --- cleaning
@files\adb shell "cd /data/local/tmp/ && rm *"
@echo --- pushing busybox
@files\adb push files\busybox /data/local/tmp/.
@echo --- correcting permissions
@files\adb shell "chmod 755 /data/local/tmp/busybox"
@echo --- copying busybox to /system/xbin/
@files\adb shell "dd if=/data/local/tmp/busybox of=/system/xbin/busybox"
@echo --- correcting ownership
@files\adb shell "chown root.shell /system/xbin/busybox"
@echo --- correcting permissions
@files\adb shell "chmod 04755 /system/xbin/busybox"
@echo --- installing busybox
@files\adb shell "/system/xbin/busybox --install -s /system/xbin"
@files\adb shell "rm -r /data/local/tmp/busybox"
@echo --- pushing SU binary
@files\adb push files\su /system/bin/su
@echo --- correcting ownership
@files\adb shell "chown root.shell /system/bin/su"
@echo --- correcting permissions
@files\adb shell "chmod 06755 /system/bin/su"
@echo --- correcting symlinks
@files\adb shell "rm /system/xbin/su"
@files\adb shell "ln -s /system/bin/su /system/xbin/su"
@echo --- pushing Superuser app
@files\adb push files\Superuser.apk /system/app/.
@echo --- cleaning
@files\adb shell "cd /data/local/tmp/; rm *"
@echo ALL DONE!!!
@pause
One more final note, after you reboot, update the superuser apk from Google Play. Reboot again before trying to update su or it will fail. Update busybox with the stericson app if you want but it's not necessary.
This method will work on stock 2.3.5 as well. To unroot, just open an adb shell and delete busybox, su, and superuser.apk
Click to expand...
Click to collapse
Thanks for all of your info.
I have gotten myself back to bone stock ATT 2.3.5 using samfirmware and then Kies updater to wipe and reload and then used the OTA updater to get me to 2.3.6. As far as the OTA system says, I am up to date. The problem is I can't use Titanium Backup to get all my apps back if I am not rooted or use this flashable CWMR you linked to. (or any other apps that depend on root.
I have no technical issues with doing this but I am scared that I will have to start over, and go back square one when the ICS drops if i have CWMR on my system. What do you think about this? Should I wait here with stock 2.3.6 and just check the OTA updater every 24 hours or go ahead and flash CWMR?
Thanks,
Mac
macwhite1 said:
Thanks for all of your info.
I have gotten myself back to bone stock ATT 2.3.5 using samfirmware and then Kies updater to wipe and reload and then used the OTA updater to get me to 2.3.6. As far as the OTA system says, I am up to date. The problem is I can't use Titanium Backup to get all my apps back if I am not rooted or use this flashable CWMR you linked to. (or any other apps that depend on root.
I have no technical issues with doing this but I am scared that I will have to start over, and go back square one when the ICS drops if i have CWMR on my system. What do you think about this? Should I wait here with stock 2.3.6 and just check the OTA updater every 24 hours or go ahead and flash CWMR?
Thanks,
Mac
Click to expand...
Click to collapse
You might as well just wait should be any day now. That way you could get the update when it is available.
Sent from my SAMSUNG-SGH-I927R using xda app-developers app
You should be able to flash the stock recovery on top of CWM and you'll be good to go for OTAs, although there isn't much point in *just* flashing CWM if you aren't going to deviate from stock otherwise.
One more thing, I found an even easier root method. If you download the CWM flashable version of superuser from http://androidsu.com/superuser/ and flash CWM, and then flash Superuser, bam, instant root!
Hi I have used odin and CWMR_recovery.tar.md5 flashed ok, but how do I flash superuser apk etc. I have the file runme2.bat ?? but how do I use it ?
This bit for me is unclear, can anyone assist and make this bit a little clearer for "simple is as simple does."
Thanks
pgunning1 said:
Hi I have used odin and CWMR_recovery.tar.md5 flashed ok, but how do I flash superuser apk etc. I have the file runme2.bat ?? but how do I use it ?
This bit for me is unclear, can anyone assist and make this bit a little clearer for "simple is as simple does."
Thanks
Click to expand...
Click to collapse
You dont flash an apk file you only flash zip files. if you go into the ROM zip/system/app just drop the superuser apk into there and then flash that rom. When you boot up the apk file you put in the ROM will turn into an app on your phones app drawer. Or you could just install superuser in market.:fingers-crossed:
Thanks for the quick reply, Ive just installed superuser and busybox and supersu ? superuser installed as did the other two, superuser opens but busybox says it cannot install as root is not complete/accessible. the flash of cmw by odin went ok and have rebooted no probs, I have not change operating system just trying to root 2.3.6 gingerbread ! any help appreciated so close yet so far LOL
ATB
pgunning1 said:
Thanks for the quick reply, Ive just installed superuser and busybox and supersu ? superuser installed as did the other two, superuser opens but busybox says it cannot install as root is not complete/accessible. the flash of cmw by odin went ok and have rebooted no probs, I have not change operating system just trying to root 2.3.6 gingerbread ! any help appreciated so close yet so far LOL
ATB
Click to expand...
Click to collapse
just by installing superuser doesnt root your phone, you have to flash the zip file to root your phone.

[Q] How do I UNroot if rooted (zeronull method) but no custom recovery installed

I rooted my A100 a few weeks ago, but have now decided to sell it and upgrade to newer tablet. I used Zeronull's batch file/method, and DID NOT install any sort of custom recovery. I've searched and searched, and the best advice I could find was to reflash a stock firmware using the Power/VolumeUp recovery method. I tried using "Acer_AV041_A100_0.002.00_WW_GEN1.zip" (renamed to "update.zip" on my microSD) but only quickly get the dead Android with the red triangle (w/exclamation point). I tried 2 different microSD cards (and 2 different downloads) just to make sure that wasn't the issue.
Is there a way (thru ADB or manual steps using root explorer) to "unwind" what Zeronull's batch file does? Worst case, I can do a Factory Reset and just sell it as "rooted", but I'd really prefer to have the thing back to true "stock" for the potential buyer. However, the LAST thing I want to do at this point is to take any unnecessary risks and brick the thing!
FWIW, this recertified A100 shipped with ICS 4.0.3. -- the Build number in my "Settings" screen shows "Acer_AV041_A100_1.015.00_PA_CUS1" and the Image version shows "Acer_AV041_A100_RV02RC01_PA_CUS1".
Thanks in advance!
delroot.sh -- is that my answer?
After looking at the shell scripts in zeronull's package, I see that there is a "delroot.sh" script that gets copied to /data/local/tmp. Do I just need to run this (via ADB or terminal emulator)? Could it be that easy (i.e. to run this, and then do a Factory Reset)?
Here's the script:
toolbox mount -o remount, rw /system/
rm /system/bin/mount
ln -s /system/bin/toolbox /system/bin/mount
/data/local/tmp/busybox cp /system/xbin/dexdump /data/local/tmp/dexdump
/data/local/tmp/busybox cp /system/xbin/tcpdump /data/local/tmp/tcpdump
rm /system/xbin/*
/data/local/tmp/busybox cp /data/local/tmp/dexdump /system/xbin/dexdump
/data/local/tmp/busybox cp /data/local/tmp/tcpdump /system/xbin/tcpdump
rm /data/local/tmp/tcpdump /data/local/tmp/dexdump
rm -r /system/sbin/
rm /system/bin/su
Sure looks like this would work (I'd also get rid of /data/local/tmp, since it was created in the initial runit-win.bat process)! Again, thanks for any advice...
kltalley said:
After looking at the shell scripts in zeronull's package, I see that there is a "delroot.sh" script that gets copied to /data/local/tmp. Do I just need to run this (via ADB or terminal emulator)? Could it be that easy (i.e. to run this, and then do a Factory Reset)?
Here's the script:
toolbox mount -o remount, rw /system/
rm /system/bin/mount
ln -s /system/bin/toolbox /system/bin/mount
/data/local/tmp/busybox cp /system/xbin/dexdump /data/local/tmp/dexdump
/data/local/tmp/busybox cp /system/xbin/tcpdump /data/local/tmp/tcpdump
rm /system/xbin/*
/data/local/tmp/busybox cp /data/local/tmp/dexdump /system/xbin/dexdump
/data/local/tmp/busybox cp /data/local/tmp/tcpdump /system/xbin/tcpdump
rm /data/local/tmp/tcpdump /data/local/tmp/dexdump
rm -r /system/sbin/
rm /system/bin/su
Sure looks like this would work (I'd also get rid of /data/local/tmp, since it was created in the initial runit-win.bat process)! Again, thanks for any advice...
Click to expand...
Click to collapse
Thatll do it for sure though deleting that dir by hand after losing root will likely fail. Perhaps add the in to the script right after dexdump deletion. It won't really matter though.
Sent from my Galaxy Nexus using Tapatalk 2
pio_masaki said:
Thatll do it for sure though deleting that dir by hand after losing root will likely fail. Perhaps add the in to the script right after dexdump deletion. It won't really matter though.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thanks, pio_masaki!

Nexus 5x Root Not Detected

Hello, new to forums.
Nexus 5x 7.0 rooted system less but iam no android programmer. Rooted by watching youtube tutorials etc. To fix my root not detected issue google says
adb shell
su
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
exit
reboot
but how ? via the terminal emulator app or go into recovery mode first then via the adb shell. Please provide some pointers.
The other option is see on this thread is
echo "BINDSYSTEMXBIN=true">>/data/.supersu and then reflash SU. But from where and how do I do the
echo "BINDSYSTEMXBIN=true">>/data/.supersu ?
Thanks
up_60188 said:
Hello, new to forums.
Nexus 5x 7.0 rooted system less but iam no android programmer. Rooted by watching youtube tutorials etc. To fix my root not detected issue google says
adb shell
su
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
exit
reboot
but how ? via the terminal emulator app or go into recovery mode first then via the adb shell. Please provide some pointers.
The other option is see on this thread is
echo "BINDSYSTEMXBIN=true">>/data/.supersu and then reflash SU. But from where and how do I do the
echo "BINDSYSTEMXBIN=true">>/data/.supersu ?
Thanks
Click to expand...
Click to collapse
Enter echo "BINDSYSTEMXBIN=true">>/data/.supersu in a terminal emulator.
For exaple => https://play.google.com/store/apps/details?id=yarolegovich.materialterminal
sonixdan said:
Enter echo "BINDSYSTEMXBIN=true">>/data/.supersu in a terminal emulator.
worked like a charm. Reflashed SU using flashfire. thanks
Click to expand...
Click to collapse
up_60188 said:
Hello, new to forums.
Nexus 5x 7.0 rooted system less but iam no android programmer. Rooted by watching youtube tutorials etc. To fix my root not detected issue google says
adb shell
su
mount -o remount,rw /system
touch /sbin/su /system/bin/su /system/xbin/su
mount -o remount,ro /system
exit
reboot
but how ? via the terminal emulator app or go into recovery mode first then via the adb shell. Please provide some pointers.
The other option is see on this thread is
echo "BINDSYSTEMXBIN=true">>/data/.supersu and then reflash SU. But from where and how do I do the
echo "BINDSYSTEMXBIN=true">>/data/.supersu ?
Thanks
Click to expand...
Click to collapse
You have to download adb command and use it from command line in Windows. Just enter the commands. You have to have correct drivers and USB debugging enabled at your phone.
Or you can use Terminal emulator in your phone
Touching those files is a terrible idea and will likely break root for other apps (it always broke TiBu for me). You can probably make the supersu file in a file explorer too
Sent from my Pixel using Tapatalk

Categories

Resources