[PROGRAM] Updated:One Click Root/UnRoot (Mac and PC)

Search This thread

evil5826

Senior Member
Jul 22, 2010
59
1
Rooting

I have two files, one called updateC.zip and updateV.zip
updateC = Captivate
updateV = Vibrant

Code:
@echo off
cls
COLOR 27
echo ===============================================================
echo ===============================================================
echo One Click Root for ATT [U]Captivate[/U]
echo ===============================================================
echo ===============================================================
adb kill-server
echo __________________________________________________________
echo Pushing update.zip to /sdcard This is internal SD Card Please wait.
adb push [U]updateC.zip[/U] /sdcard/update.zip
echo Push of update.zip complete...Rebooting to Stock Recovery...
pause
adb reboot recovery
cls
COLOR 17
echo ============================================================
echo Now your phone is rebooting into the Android system recovery.
echo ___________________________________________
echo 1. Once you are in recovery click the volume down button
echo on the left side of the phone until "reinstall packages" 
echo is highlighted.
echo ___________________________________________
echo 2. Then press the power button on the right to start the
echo rooting process.
echo ___________________________________________
echo Once it completes your phone will reboot.
echo Congradulations you are rooted.
echo ___________________________________________
echo Once your phone boots up you can delete the update.zip 
echo file from your SDCard.
echo  ============================================================
pause

If you look at the code the underlined words are the only differences between my SideLoad Captivate batch and SideLoad Vibrant Batch.
Just edit those two things to what you have.
Remember this is pushing the file to your device so there is no need to mount the usb but you do need usb debugging on.
Once again just make sure you throw this batch file in the same folder on OP. Op attachment has the adb files needed for this to run. Common sense.
And thanks to the OP
 
Last edited:

evil5826

Senior Member
Jul 22, 2010
59
1
As you can see i get bored.... So I made an all in one script

Code:
@echo off
COLOR 27

:menu
echo.
echo		Samsung Captivate/Vibrant Rooting
echo.
echo ......................................................................
echo      Directions: ENTER the corresponding value for the 
echo                  function you would like to execute.
echo                  Please make sure USB Debugging is on
echo                  before choosing.
echo ......................................................................
echo.
echo  RUN COMMAND
echo	   1 - Root Captivate 
echo	   2 - Root Vibrant	
echo.		
echo.

set /p menuopt= Enter the number of the command you want to use: 

if %menuopt%==1 goto comm1
if %menuopt%==2 goto comm2

:comm1
@echo off
cls
COLOR 27
echo ===============================================================
echo ===============================================================
echo One Click Root for Samsung Captivate
echo ===============================================================
echo ===============================================================
adb kill-server
echo __________________________________________________________
echo Pushing update.zip to /sdcard This is internal SD Card Please wait.
adb push updateC.zip /sdcard/update.zip
echo Push of update.zip complete...
echo Press any key to reboot to Stock Recovery...
pause
adb reboot recovery
cls
COLOR 17
echo ============================================================
echo Now your phone is rebooting into the Android system recovery.
echo ___________________________________________
echo 1. Once you are in recovery click the volume down button
echo on the left side of the phone until "reinstall packages" 
echo is highlighted.
echo ___________________________________________
echo 2. Then press the power button on the right to start the
echo rooting process.
echo ___________________________________________
echo Once it completes your phone will reboot.
echo Congradulations you are rooted.
echo ___________________________________________
echo Once your phone boots up you can delete the update.zip 
echo file from your SDCard.
echo  ============================================================
pause
adb kill-server
cls
goto menu

:comm2
@echo off
cls
COLOR 27
echo ===============================================================
echo ===============================================================
echo One Click Root for Samsung Vibrant
echo ===============================================================
echo ===============================================================
adb kill-server
echo __________________________________________________________
echo Pushing update.zip to /sdcard This is internal SD Card Please wait.
adb push updateV.zip /sdcard/update.zip
echo Push of update.zip complete...
echo Press any key to reboot to Stock Recovery...
pause
adb reboot recovery
cls
COLOR 17
echo ============================================================
echo Now your phone is rebooting into the Android system recovery.
echo ___________________________________________
echo 1. Once you are in recovery click the volume down button
echo on the left side of the phone until "reinstall packages" 
echo is highlighted.
echo ___________________________________________
echo 2. Then press the power button on the right to start the
echo rooting process.
echo ___________________________________________
echo Once it completes your phone will reboot.
echo Congradulations you are rooted.
echo ___________________________________________
echo Once your phone boots up you can delete the update.zip 
echo file from your SDCard.
echo  ============================================================
pause
adb kill-server
cls
goto menu

I have tested it but its based on what i just posted and you can just choose from the menu.
Once again just make sure you throw this batch file in the same folder on OP. Op attachment has the adb files needed for this to run. Common sense.
Also remember to name your captivate root zip updateC.zip and your vibrant updateV.zip.
This batch is mainly for the people who have a captivate and like to go back and forth from stock to the I9000 firmware or are rooting friends phones.
 
Last edited:

KewlRobD

Senior Member
Oct 13, 2006
197
5
Thank you, this was super easy. I have had my Captivate since it's release date but I am a complete Android newb so I was hesitant to root it.

Being that I am an Android newb, I now just have to figure out what to do with my rooted phone.

Thanks again.
 

meboomboomyou

New member
Oct 8, 2009
1
0
err ... I like pennys AHHHH

I do not mean to sound thick or daft! But are there gobs of other manipulation software you need to have installed before you run this program? In addition to the device specific drivers there is mention of the sdk, clockworkmod recovery, and titanium backup. what effect does having or not having these items have on proper execution of this program?


Never overestimate youth and vigor as they do not hold a candle to experience and treachery.
 

nicassa

New member
Aug 2, 2010
1
0
Would this work for the UK Galaxy S? If not, is there a file you would need me to pull & post to be able to modify it?
 

TGA_Gunnman

Senior Member
Feb 5, 2010
565
784
Dallas, Texas
Updated the app to include unroot. Created a new update.zip file that will remove root. Also fixed the CMD shell launching minimized.
 
Last edited:
  • Like
Reactions: seeker9

TGA_Gunnman

Senior Member
Feb 5, 2010
565
784
Dallas, Texas
I do not mean to sound thick or daft! But are there gobs of other manipulation software you need to have installed before you run this program? In addition to the device specific drivers there is mention of the sdk, clockworkmod recovery, and titanium backup. what effect does having or not having these items have on proper execution of this program?


Never overestimate youth and vigor as they do not hold a candle to experience and treachery.

LOL. Are you stoned? Read the OP again. You need .net (if you don't keep up with windows update) and the drivers.

Geese

Everyone is a critic.


Sent from my SGH-T959 using XDA App
 

mwxiao

Senior Member
Aug 2, 2010
84
0
Chicago, IL
NewBie question

Thanks for your work...I am an Android newbie and I have a few questions...

1. This is for current AT&T Samsung Captivate, right?
2. What does unroot mean? does it mean I can go back to factory condition (with all the AT&T and samsung staff)?
3. After rooting, this phone will have 2.2 right? What if there is an update on Android? I am not talking about 3.0. I am thinking about small updates from Google or Samsung or whatever, will it be able to receive that? Or do I have to root it again?
4. Can I remove my sim card and external SD card while rooting? I don't want to have anything done to my sim card...

Thanks!
 
Last edited:

max_warheads

Senior Member
Jul 22, 2010
287
5
Lancaster
1) yes
2) it simply removes all the Root files so it's not possible to use root features, or tell it was there
3) No, it will still have 2.1 on it. When someone releases the 2.2 rom update, you'll be able to do that.
 

beazie0885

Senior Member
Jul 25, 2008
323
26
ATLantA
And 4) don't mess with your sd card!
Ok I'm having some serious issues. I'm stating to kick myself for switching to this phone from the aria! Which is very sad to say the least. Can anyone help me with installing the drivers. I am running vista x64 bit. I cannot get adb devices to recognize my device. When I plug my phone in (with usb debugging selected) and mount device, open cmd, navigate to my android sdk folder. Type in adb devices I get list of devices attached and that's all. No device# or anything, just blank... I have downloaded the device drivers for 64bit extracted them to the android sdk and still get nothing. I'm sure its something silly but, its something silly that always has me pulling my hair out and smoking way too many cigs. :) any input would be appreciated. Just tips or a link would help too. Also when I plug my phone in and it automatically tries to install samsung drivers I keep getting "insert disk that came with your device" I didn't get any disk with my device and I bet none of you did either because that box is too small! Thanks in advance for any help

Sent from my SAMSUNG-SGH-I897 using XDA App
 

beazie0885

Senior Member
Jul 25, 2008
323
26
ATLantA
that was it! i knew it was gonna be something stupid like that. adb now recognizes my device. i really appreciate the prompt responses. thank you... now i guess im gonna try this one click root. fun fun
 

jakester844

New member
Aug 2, 2010
2
0
help

android noob here,

i tried this and it gave me superuser permissions, but my Data/Network Connections stopped working. Phone/Voice calls work. the 3g icon does not show up at the top any more.


Edit: nevermind. problem with settings, unrelated to the root
 
Last edited:

kyphur

Retired Senior Moderator
Dec 3, 2005
2,435
1,714
Chicagoland
I have the proper drivers installed and every time I "Root" my Captivate I lose access to the phone's storage via USB.

If I "Unroot" then access is restored!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Team,

    This One-Click Root process will copy over the rooted-update.zip or unroot-update.zip file then reboot your phone. Follow the instructions in the CMD prompt that launches.​


    Credits:
    LeshaK at Samdroid: for the original rooted-update.zip.
    gunnarhafdal : for creating the Mac GUI for my app.​

    This has been tested on stock Android 2.1 Eclair only. If you rooted using another process you can use this process to unroot as long as you didnt load a rom that created links to busybox.

    For the following models:
    GT-I9000
    Captivate SHG-I897
    Vibrant SGH-959
    GT-I9000M
    Epic SPH-D700 (Untested but should work like other phones. Post with your results. This is harmless it will either work or it wont. It copies over 3 files to your existing build.)​

    Rooting adds the following to your system and unrooting removes them:
    /system/xbin/busybox (version 1.17.1)
    /system/xbin/su
    /system/app/Superuser.apk (version 2.3.1)
    and links /system/bin/su to /system/xbin/su​

    More will follow as they are released. PM me to add your Galaxy S Model.

    Warning: I am not responsible for bricked phones, rooting can void your warranty....

    PC Instructions:

    galaxysoneclickrootallm.jpg


    Download the app: here, mirror.

    Watch the video for the full procedure on The Unlockr.
    Video/Procedure Link Click Here

    Requirements: Install Link: Dot Net Framework version 4

    Rooting Instructions:

    1. Make sure your phone is on USB Debug mode: (MENU > Settings > Applications > Developement > USB debugging = Checked )

    2. For Windows x86 and x64 systems make sure that the Samsung Drivers are installed. You can get them here.

    3. Extract the contents of GalaxyS_Vibrant_One-Click_Root.rar to a folder.

    4. Connect your phone to your PC via the USB cable and launch the file "T-Mobile Vibrant One-Click Root.exe" file.

    5. Click the "One-Click Root" button. This will launch a command shell follow the instructions in the CMD window.​

    Mac Instructions:

    oneclickmac.jpg


    Download the app: here, mirror.

    • It requires Mac OS X 10.5 or higher.

    Rooting Instructions:

    1. Make sure your phone is on USB Debug mode: (MENU > Settings > Applications > Developement > USB debugging = Checked )

    2. Connect the phone to your computer.

    3. Click one of the buttons depending on what you want to do.

    4. After the phone has rebooted into recovery select "apply sdcard:update.zip" for I9000 and I9000M and choose "Reinstall Packages" for the US models using the volume keys and then press the home button for I9000 and I9000M and the power button on the right top side for US models to start the process.​

    =====================================================================

    Done! You are rooted.

    =====================================================================

    Un-Rooting Instructions:
    To Un-Root follow the same instructions except click on the Un-root button. If you rooted using another process you can use this process to un-root as long as you didnt load a rom that created links to busybox. I would suggest to restore you phone back to stock ROM before even needing to unroot and if you are on stock un-root all you want otherwise what is the point of un-rooting.

    =====================================================================

    Getting Started with Android After Rooting:

    Flash Clockwork Custom Recovery On your phone:

    Follow this URL to find fill information on ROM Manager:
    http://xdaforums.com/showthread.php?t=734164


    1. Install ROM Manager from Market.
    2. Launch ROM Manager and click on Backup ROM and save you android O/S stock rooted making getting back to stock un-rooted much easier..
    2
    ^ If u just want Root.
    When I was on the official Froyo 2.2 i897UCKB1 (I see ur on KB2), the only way I was able to get Root was through this...View attachment 711191

    Download/ extract the file/ open file/ right click and run as adminstrator the "SuperOneClick"/ go to phone Settings/ Applications/ Usb settings/ and select Mass storage/ back out of that and then select Development/ and put a check in the box of USB debugging/ Home/and then connect ur phone to the computer and then tap ROOT. The "psneuter" Exploit is the one that worked for me.

    Hope this helps ya...

    thank you, this really helped! it should be in the first post!
    1
    One question since this seems to be a major topic as well, any way you could have it load a generic settings.db file or one click exit to the existing one for non-market apps?

    That seems to be giving some people a bit of a headache.

    I will see what I can do. I don't have a Captivate. I have a Vibrant. But I have sent a request to kirbo20 to send me his file. If I get it I will add it to the app.
    1
    Updated the app to include unroot. Created a new update.zip file that will remove root. Also fixed the CMD shell launching minimized.
    1
    one click root or any other root seems to not be working with att captivate and 2.2 leaked froyo. just gets message E:signature verification failed installation aborted.

    any ideas? would be nice to be able to use the root functions and apps

    i had the same problem and flashed Odin back to the original ROM then the one click root worked.