yashsingh1/xdaforums huggingface dataset:
[Android General] isavegas:
ahh... well, turns out unrooting cannot be done with a CWM backup... you probably have to find a nandroid or a clean version of kernel with rom. the su file dissapears, although root is still there. ill keep playing with it, i have an idea why root stays although su disappears from the system files. anyways, i will still supply a backup thats pre-rooted for anyone who is willing to have a fresh start on their replenish. it will have superuser.apk preinstalled along with busybox, and everything else will be wiped. this will be a sprint backup, so if anyone has the boost version and is willing to back up with CWM and factory reset, then follow my guide, install busybox and superuser.apk, then back it up again, id be eternally grateful to have a copy :D

by the way, if anyone has problems with restoring a backup due to "md5" tags or whatever it is, make sure the name of the backup has no spaces. i was freaking out til i found that tip on an obscure forum (well, to me. i dont have a Motorola. lol. just a Sony Ericsson and 2 Samsungs)

update: sorry i havent uploaded the backup. i realized it would give whoever used it the number on this phone and i have to fix that. havent had time to anyways, plus it would only work on a sprint phone. it would convert any boost mobile to sprint, so thats a no-go. sorry... :(
[Android General] cgrimm9:
does this work for the boost mobile replenish that is 2.3.6 if so how long does it take to odin
[Android General] isavegas:
It should work. And Odin just flashes cwm (really fast) for the duration of the next boot cycle, which it automatically initiates, so hold the recovery button (I think it's u) as it goes into it and you'll have temp root. Make sure it's in download mode before you start. Remember, it cannot be unrooted, so if you value your warranty, plz think twice before doing it. I'm just here to supply the how-to if you decide to, not to say you have to. If you do, enjoy root access! :)
[Android General] cgrimm9:
Thanks. I did not know if there is a fail safe if something went wrong. so I was second guessing. Very simple to do thank you assuming with odin I made a back up. if I where to mess my system up I can use odin and restore my backup and I be back up and running again no need to sbf
[Android General] bscabl:
i keep getting : ~ # mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

mount: mounting /dev/block/mtdblock3 on /system failed: Invalid argument
[Android General] isavegas:
hmm... i am familiar with the error (ive gotten it with 3 different phones in my attempt to root it, but i have succeeded each time regardless) but are you sure you actually have clockworkmod OPEN on your phone when the error shows up? i cant actually do anything from my end, because i no longer have a computer i can use to test anything, or the replenish i rooted with the method... but i opened the cwm several times before thinking to test the adb and seeing the "~#". i actually restarted the phone and did it again before actually rooting it, seeing if i had rooted it or what, and tho i got the same prompt every time it was booted in cwm, it wouldnt show up if i allowed the phone to boot normally after using odin, i HAD to ACTUALLY boot into the cwm menu, which is completely seperate from the OS itself, although it has access to the system files.

by the way, copy and paste this directly into the command prompt when you get to the step to avoid human error. mount -t rfs -o remount,rw /dev/block/stl9 /system

or, if it wont work, try this mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

sorry bout the babbling XD. anyways, cwm should be circumnavigating the root permissions. hmm.... if you still have problems after that, try skipping to the adb push for the "su" file.

sorry i havent been on top of the thread. ill set up an email notification.

and by the way, something i found very useful on my xperia play when it went into infinite reboot, you can always just restore the system files in the advanced restore option, allowing you to keep all of your app data if, later down the line, your phone needs to be restored. hope this helps. it helped me XD thought id lose all of my messages, but nope. i decided to explore the advanced restore and yay! i got to keep them XD

UPDATE

I don't know if it matters to you anymore, but apparently, some people have trouble with this and fix it by going to the mount menu in CWM and mounting /system
[Android General] halfcab123:
Couple of corrections:

chmod 777 /system/bin/su

should be chmod 06755 /system/bin/su

and then following that command should be

ln -s /system/bin/su /system/xbin/su

and I saw someone say this is unrootable. Thats not correct. Simply running the unroot script would unroot. Doomlord made a nice one.

To use it do the following:

adb push unroot /data/local/
adb shell chmod 777 /data/local/unroot
adb shell su -c "/data/local/unroot"
adb reboot
[code]

The above will unroot almost any android device.
[Android General] isavegas:
Important fix----

If step 11 doesn't work, go to the "mount" menu in cwm and mount /system. Some people on androidcentral were kind enough to mention that this fixed their problem with mounting /system as rewritable
[Android General] shabbypenguin:
thats because your command is wrong
[Android General] isavegas:
How? Throughout my own rooting of one of the phones, I had this working perfectly. Every time I hit a snag, I found a way around it and documented it. A few other people had errors show up because the phone itself hadn't mounted the system, but the problem was resolved, and only a couple people had any other problems, and they were unrelated to that. I assure you, every command works properly, as far as I know.
[Android General] shabbypenguin:
exactly my point. your command to mount system is wrong.

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

lets break it down shall we?

mount - this is teh command

-o remount,rw - this is where you tell it what option you want, in this case remounting as rw.

-t yaffs2 - here you are telling mount that it should expect a yaffs2 formatted device, which is not what the samsung replenish is. the replenish uses RFS (robust file system), the best way i can describe it is like telling your windows computer that your hard drive is fat32 when its actually ntfs.

/dev/block/mtdblock3 - this is where you tell mount what you are looking to mount, the issue here is that the replenish doesnt use MTD blocks, it uses STL's and BML's.

/system here is where you are trying to mount the said device to..

out of 5 parts you did get 3 correct tho. you might wish to modify your guide to reflect the actual mount command, for your device it is the following:

mount -o remount,rw -t rfs /dev/block/stl12 /system

and that will kick out system as r/w :)
[Android General] isavegas:
Hmmmm.... Odd..... *shrugs* I had no problem with the command, but I guess other ppl had pickier computers or phones. Hell, Vista's buginess might have worked in my favor that time XD. Thanks for the pointer. I didn't really understand the exact way the replenish was built. I just found a lil guide for making it boot into cwm and found it allowed for me to use that as an exploit to root the device. In fact, I've done the same kind of stuff to root the samsung Intercept, except I made their own software flash a pre-rooted kernel. :P anyways, I'll update the guide on xda and androidcentral. Thanks!
[Android General] shabbypenguin:
chances are you had system mounted in cwm without knowing it.

for future knowledge always check the devices fstab for where to mount and filesystem type

https://github.com/Shabbypenguin/android_device_replenish/blob/master/recovery/recovery.fstab

as you can see the proper mounts from the files i used to make CWM for the replenish ;)
[Android General] isavegas:
Eh, maybe. For all I know the first thing I did was mount everything with cwm. I DID do this several months ago. I don't even have the phone anymore. The owner of the phone was gonna give it to me after upgrading, but she sold it, so I kept her 500gb laptop hard drive instead. Popped it out of the external hdd casing and stuck it in a laptop. XD. It now has Linux on it.

Anyways, I've updated the guide to have the right command and note that if it doesn't work to use cwm to mount /system. And how do you find the fstab? Just Google it? Or is it somewhere on the device?

Btw, do you know anything about cwm? It refuses to properly back up my xperia play anymore. The .android_secure folder keeps giving it errors.
[Android General] shabbypenguin:
its where the recovery is on the device. each device has their own fstab. as for your error sounds like a conflict, either with cwm itself or that folder
[Android General] isavegas:
It HAS to he cwm, because the folder is regarded as super hidden by the device. The folder itself can be seen, but the contents can ONLY be edited by the rom or a pc, and I haven't touched it with a pc before. It's where your apps go when you move them to the sd card. I've been trying to back my phone up with cwm because I wanted to test the jelly bean alpha release for it. :P its the xperia play 4g. Stupid backup crashes every time I try and it ends up eating up what room is left in my sdcard.
[Android General] arodey:
i followed your guide and have root in shell. however i cant get root permission on any apps, the window doesnt pop up asking me for permission. i also get a toast notification saying superuser access denied for whatever app im trying to open. any ideas?
[Android General] -eldorado-:
What does your Superuser log show?

Sent from my PC36100
[Android General] -eldorado-:
a2sd

Thanks for the work you are putting into this. I am debating using your method to root my wife's Replenish. But the reason I am wanting to root is the space issues. Is it possible to get Darktremmor's a2sd script on the Replenish? I figure you could just flash it except if cwm is temp, that wouldn't work.

Just thinking out loud. Still researching.
[Android General] arodey:
nothing in the log. ive wiped data on the superuser app. pushed su and busybox to /system/bin and chmod'd them. this is my wifes phone and she refuses to let me factory reset or instal a different rom so im kind of handcuffed with what i can do. also im an htc guy so this odin stuff is new to me.

---------- Post added at 06:24 PM ---------- Previous post was at 06:23 PM ----------

i saw over at android central someone said they got a2sd working with an app called "link2sd". im trying to get root for the exact same reason as you! lol
[Android General] isavegas:
Try setting the superuser app to automatically allow root access to new requests.
[Android General] isavegas:
There is an app called "absolute system root tools (might just be "absolute system" now) that has EVERYTHING you need. I don't suggest changing boot animation with it tho. Samsung devices don't like it when you do. But it deletes any app, can back them up, and lets you set a2sd. Terminal emulator always fails to get su on my Xperia Play tho... Costs money but it's worth it.

I used it to change my Xperia's "about" list in settings to say "2.3.3 Rooted" with the build.prop editor :P
[Android General] arodey:
i tried the allow instead of prompt thing. its like i dont actually have root permissions. although in adb i have su and can do whatever i want.

---------- Post added at 06:34 PM ---------- Previous post was at 06:33 PM ----------

i have used that app before. but the problem is i would never be allowed to give it su permission.
[Android General] isavegas:
Try restarting your phone and getting the terminal emulator off the play store. Clear the superuser cache, force close it, then open it, and put "su" into the terminal emulator. If it returns with a prompt of #, type "reboot" and it SHOULD reboot really fast.
[Android General] arodey:
so i force closed and cleared data on superuser app. then in terminal emulator i type in "su" and it says "Permission denied". i also get a toast notification saying terminal emulator was denied superuser permission.
[Android General] isavegas:
Not sure why you get the toast about permission denied. I don't understand what it's doing. Go into superuser and look at the app settings. If you see a :( next to the app name, click it and it SHOULD let you change it to a :) which allows ot.

About factory resetting..... Did you make a CWM backup?? If you DID, you could just restore the data portion of the phone, which puts all texts, contacts, and i THINK apps back on it, but leaves /system alone.
[Android General] isavegas:
Look and see what shows for superuser itself in the app. Here's a screenshot (on my Xperia Play)
[Android General] arodey:
nothing shows in apps part of superuser. when i go to the log tab i see all the apps that have been denied.
[Android General] isavegas:
How odd..... I am truly confused. When you say you have root access in adb, do you mean that you have your phone booted up normally? As in, your phone isn't in CWM?
[Android General] arodey:
correct
[Android General] isavegas:
Ummmmmmmmmmmmmmmmmmmmmmmmm.......... Try updating the su binary in superuser. If that doesn't work, I'll upload an older superuser apk to the folder the link in the guide leads to.

You do have busybox installed?
[Android General] arodey:
i did flash a kernel that i found on android central. ive tried a bunch of different superuser versions and binary versions. maybe if i flash the stock kernel...
[Android General] isavegas:
Yeah, that would mess it up..... If you flash stock kernel, it might get it up and running for you. This guide was built with a completely stock version of gingerbread. Stock kernel, stock rom, stock everything.

What kernel, btw?
[Android General] arodey:
http://forums.androidcentral.com/sa...print-boost-two-click-root-custom-kernel.html

thats the kernel. any idea where i could procure a stock kernel?
[Android General] isavegas:
Wait, did you actually install the su binary? To see, go into any file manager (try es file explorer) and select "up to root" in the settings and see if the su binary is in there

Maybe you should try following the rest of the other persons guide if you can't find a stock kernel
[Android General] arodey:
facepalm!! i will follow the guide completely thru and report back.

edit: got superuser working properly!!!!!!!!!! thanks!
[Android General] isavegas:
Lol. Good luck. I read it through, and it seems pretty cut and dry, so you shouldn't have too many problems. Just read the comments for solutions if you have problems with the guide.
[Android General] arodey:
after getting root worked out i installed link2sd. i set it up per their instructions on their website and its working perfectly!!!
[Android General] 4WildJokers:
If you have problems with that, try using CWM to mount "/system". Some friendly people over at androidcentral pointed that out. I personally didn't have that problem, but I'm glad it's fixed.

Also, someone said something about "chmod 06755 /system/bin/su", so if you might try using that instead of "chmod 777 /system/bin/su". 777 worked for me, but maybe this works better for you.

Do these two steps and it will work. I tried it and it worked flawlessly.
[Android General] seansich:
I am unable to root. I am able to mount the SD card using Odin and CWM and am able to push the su file to my phone.

I have tried using both chmod commands. On both I ran "ln -s /system/bin/su /system/xbin/su" and had no success.

I keep getting permission denied after reboot. Please let me know if I need to put anything else to aid in solving this.
[Android General] kc8iqw:
Just as an FYI, in the version of adb I got while doing this (1.0.26), typing mount /system worked. Seems to be predefined now or possibly something related to the version of 2.3.6 on this phone.:confused:
[Android General] isavegas:
"ln -s /system/bin/su /system/xbin/su"??? Why would you run that? Throughout the entire guide, I don't believe that I mentioned this command... All you should be doing is booting into CWM through Odin (you shouldn't need an SD card...) and then pushing/chmodding a file. The "ln -s" command isn't necessary... Just run the commands stated in the guide, with the chmod that ISNT 777 (I don't see it in front of me ATM) and you should be good.
[Android General] _P__:
root relevancy

is this root still good at the moment???
[Android General] isavegas:
I don't know if there has been an update to the firmware on the Samsung Replenish, but as of 2.3.6, this root method works.
[Android General] nerys71:
any chance of some help with this :)

Odin works fine. gets me into CWM

the mount -o .... command fails unless I mount /system in CWM

once I did that all the commands appear to work fine.

no errors that I can see

but here is my result

C:\>adb shell

~ # mount -o remount,rw -t rfs /dev/block/stl12 /system

mount -o remount,rw -t rfs /dev/block/stl12 /system

~ # exit

exit

C:\>adb push su /system/bin

176 KB/s (26324 bytes in 0.146s)

C:\>adb shell

~ # chmod 06755 /system/bin/su

chmod 06755 /system/bin/su

~ # reboot

reboot

C:\>adb shell

$ su

su

Permission denied

$

the last is after the phone boots up. I tried 777 first that gave the exact same response.

suggestions?

Hmm I think I got it. it seems the adb shell - su thing just does not work

I installed super user and busy box and root checker says I am all golden. super users pops up when I installeds busybox and root checker and I hit allow and it seems to be working.

yup it appears to be rooted just fine. installed rom toolbox and am now gutting the crap out of it :)

rom toolbox REBOOTS a lot when I am uninstalling stuff.

my prevail did this a lot too anyway to stop it doing that?
[Android General] isavegas:
Just use something else. Lol. When I need to uninstall system apps, I back them up and use "Absolute System" to uninstall them. Otherwise, I don't ever need it. You can use it to change the boot animation (MAKE A BACKUP FIRST. It might brick your phone, but CWM will still restore it, so just make sure you back it up before trying it for the first time) and make it so all apps go straight to the SD card.
[Android General] creed10:
I know how to keep it permanently. In the Samsung Galaxy Prevail, there's a stick.zip file that makes cwm, well, stick. I'll see if I can't upload it for ya.

https://www.dropbox.com/s/b65rnrnu126ttxq/stick.zip

There you go. Flash that in clockworkmod and you should be good to go.
[Android General] squish7793:
User was thanked for this...

thanked for this. Registered just to give thanks. Tried every other method there was on this page, this one got it rooted according to root checker and superuser. May continue to lurk around, reading occasionally posting.

[COLOR="Red"user was thanked for this post. You should thank him too. Especially if boost coverage SUCKS. (which it does)][/COLOR]
[Android General] nerys71:
I still can't uninstall bloat without crashing (hard boom black screen reboots) but at least I only have to do it once per phone :) both titanium and rom toolbox both "crash"

I was hoping RTB's batch process might work but it still crashes at some point and reboots the phone.

anyone found a tool like titanium or RTB that does not crash these when uninstalling crap? (I figure I have maybe 10 more to do)
[Android General] Vigi1296:
Thanks...worked for me...finally enjoying my newly rooted phone:)
[Android General] isavegas:
Absolute System works. It will uninstall almost anything without any issues (long as it isn't a system app, like "phone" :P) and it has several other benefits, like the ability to force all apps that have the ability to be moved to your sd card install straight onto it (aka, a2sd) and change the boot animation (although some phones will brick if you do, requiring a CWM restore) and has a database of animations you can download in-app.
[Android General] nerys71:
nope. absolute system crashes it too. its something about the prevail and now replenish. you can uninstall stuff but it random hard boots when your doing it so it takes FOREVER as you wait for it to reboot so you can goto the next app to uninstall.
[Android General] rockybonne:
does this root work for Sprint

I see a few talking about boost on this thread.. will this work as a root only for sprint version of the samsung replenish??
[Android General] isavegas:
Now that is weird. Never had that issue with any phone. I uninstalled a bunch of stuff without issues like that when I was rooting my friends Replenish.

No, silly person. :P It works for any Replenish, unless Boost mobile has decided to change it to Windows Phone 7 or some abomination of iOS, and I haven't heard of any Android changing OS like that. ^^
[Android General] nerys71:
I now have 6 replenish's both boost and sprint. every one does the same thing. (ever prevail I have did as well)

what I need is a stock rom I can flash. then I can just "gut" the rom first and then flash it.
[Android General] isavegas:
? What you can do is take one of them and use factory reset, then turn around and make a CWM backup and try to edit the files in it
[Android General] nerys71:
hmmm now THAT is not a bad idea isavegas!

for some reason I did not think you could use backups on other devices.
[Android General] isavegas:
xD It's the same physical device, and as long as it is the same phone, it works. You might be able to even remove the apk files by booting into CWM and removing them with ADB manually.
[Android General] none1498:
Updated for stick.zip

Link is not working for stick.zip so i found it on another site and attached it to this post.
[Android General] mblock68:
Permissions?

Thanks isavegas and nerys71 and to all who have contributed to this thread.

I just finished rooting my Replenish, but I am getting errors from Root Checker and BusyBox. Root Checker just hangs forever and has to be forcibly shut down. BusyBox tells me that it cannot open a shell with root access and suggests there may be a problem with superuser/supersu permissions.

I am fairly certain I AM rooted as I can see the root directory in File Expert, but I'd like to understand and fix these errors before moving on.

Thanks Everyone!
[Android General] aretizzle:
adb is not recognized as an internal......

This always seems to happen to me. I follow a step by step guides and still something goes wrong. In the command prompt, typing in adb shell returns " 'adb' is not recognized as an internal or external command, operable program or batch file."

At first I did this without sdk, I moved adb and su to my C drive. After failing, I downloaded SDK and followed the ' cd android-sdk...platform-tools' and get 'the system cannot find the specified path.'

I am most definitely a NOOB!! Heeelp
[Galaxy S I9000 Q&A, Help & Troubleshooting] skibbi_pl:
Hello fellow XDA users!

I'm considering upgrade from GB to ICS. My only concern is related to my contacts. For some reasons I prefer not to store them on google. My question is how to transfer my current contacts from Samsung app to ICS contacts app? Do ICS supports storing contacts in phone or I have to sync them with google? If I export my current contact list to vCard (vcf) can I import it later in ICS? I would like to keep all additional information like emails, photos, companies etc.
[Galaxy S I9000 Q&A, Help & Troubleshooting] SnoopyDog:
You still can keep your contacts local. But the birthdays of your contacts are not shown by calendar apps anymore (except Calengoo) because there seems to be no local calendar DB on the phone. Calengoo has a workaround for this.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nwsk:
ICS supports importing contacts from a vcf file. (not sure how much info vcf stores, since I don't attach photos to my contacts)
[Galaxy S I9000 Q&A, Help & Troubleshooting] abhijit_net:
I have 450 .vcf files, which i transferred through Bluetooth, from Nokia to Galaxy S Plus (CM9 ROM).

If i select one contact at a time to import, it works.

I i choose import all, it shows a message box saying "caching to local temporary storage, actual transfer will start shortly".

It doesn't do any thing ... even after a long time....

:crying:

On gingerbread, just transferring through Bluetooth would add the .VCF to contact list.