[Utility]KK4 Easy Root

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
I've seen a number of new captivate owners who seem to have issues obtaining root or CWM on their phones for the first time. I wrote this batch file to help them get over those first hurdles with a helping hand. I am not a programmer (as you can tell by my coding skills) but I hope this will help a few people out.

Requirements:
  • Captivate i897 device on Gingerbread
  • Working USB port
  • Working Power Button

Preview:
This batch file uses a menu to select the operation. For Root, it uses ADB commands to get a user to download mode and then launches and Odin 1-click to replace the Kernel with the Corn 7.0A Kernel. After flashing, it reboots the user to Recovery and walks them through installing Root from the Corn Kernel CWM options (requires a working power button!). After the user is done, it will take them back to the menu to return to the Stock Kernel if they wish. There are a few extra menu options thrown in for fun.

Instructions for use:
  1. Turn on USB Debugging
  2. Connect Phone
  3. Extract contents of zip to a folder
  4. Run Batch file
  5. Follow on screen instructions
  6. ??????????????
  7. Profit!

Screenshots:
http://dl.dropbox.com/u/7368116/Images/Capture1.JPG
http://dl.dropbox.com/u/7368116/Images/Capture1.JPG

Download:
http://db.tt/Dz4fPI7N V1.1

Credits:
Thanks to Vashypooh for the Kindle Fire Utility which gave me the inspiration for this.
Thank you to 4-2ndtwin for the Odin One Click Creator that I was too lazy to download for myself.
Thank you to MTCarey for his Corn Kernel that I use in this batch file.
Thank you to all the devs and others that helped me along the way.

If this helps you or a friend out in any way please donate or Join Dropbox and get me some extra space.
 
Last edited:

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
And thank you for the files. They were the last piece I needed. I do need some real world testing on devices and computers other than mine to make sure I got all bugs worked out.
 
Last edited:

jmtheiss

Senior Member
May 16, 2008
1,221
776
0
None
Took a look at the code, and this looks like it's going to be a handy piece of software for people who just need to do some common commands and don't want to wade through a lot of additional steps.

Well done.
 

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
Thanks. That was my idea. I've noticed many of the questions resolve around the simple tasks. By allowing a menu-driven batch file to take care of it, hopefully the users won't have as many issues.

This will allow a stock KK4 user to get root and CWM which will help them start their flashing journey.
 
  • Like
Reactions: 4-2ndtwin

takeoutttt

Senior Member
Apr 10, 2012
742
337
0
General Trias
That was a huge file hehe. I'll try this later :)

---------- Post added at 09:50 AM ---------- Previous post was at 09:11 AM ----------

after using the utility my kernel version is CORNv70A is this correct?
 
  • Like
Reactions: ZephCr

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
Yep. That's the correct version. I wish I could get the file size lower but it's already zipped at Ultra compression. The two kernel files make up most of the size with the driver file making up the rest. I wanted to add in more files/options but it would have made the file even larger.

Sent from my SAMSUNG-SGH-I897 using XDA
 
  • Like
Reactions: 4-2ndtwin

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
Some people have stated that the 7.06 kernel causes issues on their phone. I use it on mine with no problems. I just went with the safe bet for the first time users.

Sent from my SAMSUNG-SGH-I897 using XDA
 
  • Like
Reactions: 4-2ndtwin

Red_81

Senior Member
Dec 5, 2010
1,367
672
0
St.Louis Metro
Yes. It will work just fine for 7.03.

You'll need to select the Root option which will install the 7.0A Kernel, but not actually follow any of the steps for adding root.

  1. Select Root Option
  2. Let it boot to download mode
  3. Install it via Odin 1-click that script launched
  4. Hit Ctrl+C to break out of script

You don't need the script to put you back into recovery which is why you break out.

Alternative Method:
  1. Unzip downloaded file
  2. Go to EXE Folder
  3. Put phone into download mode
  4. Run KK4_Root.exe

The ADB command to put your phone in download mode is: adb reboot download

Just open a command prompt to the downloaded/unzipped tools folder and type the above command with your phone plugged in.

Alternative #2
I added a new batch file to Post #3 to do just what you are asking.
 
Last edited: