• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROOT][CWM][R910/R915][GPL] Indulge All in One Root and ClockworkMod for Win/Intel Mac/Linux

DRockstar

Newbie
Jul 10, 2011
24
40
This will Root and install ClockworkMod 3.1.0.1 Purple Edition for both Samsung Galaxy Indulge models (R910 and R915).

This has been a lot of work, porting ClockworkMod separately for both indulge models, and creating an entirely new root script that checks for and installs the correct files for each model.

There is a menu in the script, to Install Root and ClockworkMod, Remove Root and ClockworkMod, Reboot Recovery, Reboot Phone, and Quit.

DISCLAIMER: As with all android development, I am not responsible for whatever may happen to your phone. You are being given tools that allow you to modify the phone in ways your carrier did not intend, which voids all warranties. I have made every effort to ensure this is safe for your phones; however, I can not control what you do with these tools.

OK, some of you are asking:

WHAT IS CLOCKWORKMOD AND WHAT DOES IT DO FOR YOU?

ClockworkMod Recovery is a replacement for the Samsung recovery, with additional functions that include:
* Backups and restores of your entire phone state, called nandroid backups. Nandroid backups include the entire partition contents for the system, data, and kernels.
* The ability to flash ROM zip files that developers make
* Wipe caches, and battery stats
* Ability to do this without a computer, all from the phone

ROM Manager allows you to perform the most widely used functions from the ROM Manager apk, available for free from the market. If you'd like to support koush, the creator of ClockworkMod and ROM Manager, then purchase ROM Manager Premium from the market. If you want to support me for porting ClockworkMod Recovery for both Indulge models, and writing one of the best and most complex root scripts ever, then CLICK HERE AND MAKE A DONATION.

DO NOT FLASH ZIPS THAT AREN'T SPECIFICALLY DESIGNED FOR YOUR EXACT PHONE MODEL, IT CAN RESULT IN A BRICK!!!! THIS ESPECIALLY INCLUDES ROMS BETWEEN THE R910 AND R915 MODELS!!!! IF IT ISN'T MADE FOR YOUR EXACT MODEL, DO NOT FLASH IT, OK???

NOTE: I AM WORKING ON NEW DEVELOPER NOTES FINALLY, SEE THE POST BELOW THIS ONE. Both Indulge models now are supported by ROM Manager, which is great news!

PLEASE READ THE FOLLOWING INSTRUCTIONS BEFORE INSTALLING:

Make sure the phone is in USB Debugging mode, by going to:
Phone home screen > menu > Settings > Applications > Development
and make sure USB debugging is checked.

Make sure your antivirus is off before downloading, since the exploit needed to get into the phone shows as a virus for most scanners... Don't worry, this will NOT harm your PC.

WINDOWS:

Install the drivers located here:
https://dl.dropboxusercontent.com/u...ng_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe

Extract the zip contents, and go into the indulge.aio.v1.02 directory

Double click run.

INTEL MAC AND LINUX:

Note: No drivers required. Certain Linux distros won't have the udev rule set up, and that will need to be created manually. If you don't know how to do this, boot from an Ubuntu boot disc and run the script from that.
Also: sudo privileges are required to start and stop the adb server when connecting to the phone. Please run from an adminstrator account (or in sudoers file), and provide your user password when prompted.

Extract the zip contents. Open Terminal. cd to the extracted directory. If the zip was downloaded and extracted in the ~/Downloads folder, the command would be:
Code:
cd ~/Downloads/indulge.aio.v1.02
Give execute permissions to the run.sh script:
Code:
chmod +x run.sh

Finally, run the script:
Code:
./run.sh

TROUBLESHOOTING:

If for some reason the script fails, then the first step is to reboot the phone. A computer reboot may also be necessary. In worst case, uninstall the drivers, reboot the computer, and reinstall them. Windows drivers can especially be a pain, and accounts for about 90% of all script failures.

BOOTING INTO CLOCKWORKMOD:

* Power off the phone.
* Hold down both the R keypad key, and Power, until you see the ClockworkMod menu.

Alternatively:
* Use the Quickboot apk, free from the android market, choosing Reboot Recovery
* Use ROM Manager, free from the android market, choose Reboot into Recovery. ROM Manager will boot into the latest recovery version supported by koush, the creator of ClockworkMod and ROM Manager.

NOW THAT YOU HAVE READ ALL OF THIS, PLEASE DOWNLOAD THE AIO BELOW:

You have read all this, right? OK:

https://dl.dropboxusercontent.com/u/500010/Indulge/indulge.aio.v1.02.zip


DONATIONS:
A lot of time and work went into accomplishing this, if you'd like to show your apprecation with a donation, I'd be truly grateful:

DONATE HERE


CREDITS:

Thanks to all of the testers, especially Silvist, who went through a scary incident at one point in time....

DRockstar (me): ClockworkMod port and compile, phone sh, batch, and bash scripting for root and ClockworkMod scripts
k0nane: the original Indulge One Click Root
koush: the creator of ClockworkMod and ROM Manager
joeykrim, noobnl, skeeterslint, firon: parts of script taken from their original one click script work

SOURCES:
Because I like to adhere to the priciples of GPL license...
and who knows, maybe some brainiac will come along and improve on what I've done...

https://github.com/DRockstar/AIO-Root-ClockworkMod

SCH-R910:
https://github.com/DRockstar/android_bootable_recovery
https://github.com/DRockstar/android_device_samsung_indulge910
https://github.com/DRockstar/android_external_busybox

SCH-R915:
https://github.com/DRockstar/android_bootable_recovery
https://https://github.com/DRockstar/android_device_samsung_indulge915
https://github.com/DRockstar/android_external_busybox
 
Last edited:
BOOTING INTO CLOCKWORKMOD RECOVERY:
FROM POWER OFF: Press and Hold the R Key, and Power at the same time, until the ClockworkMod menu appears.

BOTH INDULGE MODELS ARE NOW ROM MANAGER COMPATIBLE! Note that ClockworkMod must already be on the phone for it to work. Get ROM Manager free from the android market, open, and select Flash Clockwork Recovery. Choose Samsung Indulge 910 (MetroPCS) or Samsung Indulge 915 (Cricket). Now you should be able to use any of the ROM Manager functions. If you choose Reboot into Recovery from ROM Manager, you'll notice that the ClockworkMod menu is now orange, and says v4.0.1.5, which is the latest official version at the time of this post. Your backups and so forth should be compatible with my original v3.1.0.1 Purple Edition. Please note that you'll only boot into cwm v4.0.1.5 from ROM Manager, it does not replace the purple one from the All in One script.

It was another challenge for me to get official ROM Manager support for these phones... I had to learn some new things to get official support from koush, the creator of ClockworkMod and ROM Manager. Now that the Indulge is supported, Koush will now be able to put the latest ClockworkMod version into ROM Manager. Some will be baffled by the fact that using quickboot reboot recovery or R+Power combo will still boot into ClockworkMod v3.1.0.1... this is because ROM Manager isn't physically replacing the CWM, it is flashing the latest CWM *from* the current one, in what we call a CWM fakeflash. I wanted to explain why there are 2 versions of CWM, and that ROM Manager will always use the latest official CWM build for your phone.


DEVELOPER TUTORIALS:

EXTRACTING FILES FOR ROMS
* Make sure the phone is rooted first, and that all the files you want modified in the system are done how you want.
* Use your computer OS terminal to cd to the AIO directory.
* Make a folder named system.
* In the command line, issue the following commands:
Code:
adb pull /system system
adb shell ls -lR /system >sysperms.txt
* the system folder on your computer will contain all of the files in the partition, except for symlinks.
* Use the sysperms.txt as a reference for the permissions of all the files, I've found it to be handy. Also note the symlinks in this list, as you'll need to create them in your ROM updater-script.

ENSURING YOUR ROM ONLY FLASHES ON THE INTENDED PHONE MODEL

Since the SCH-R910 (MetroPCS) and SCH-R915 (Cricket) phone models differ in their mounts, ROMs that use model exclusive mount points and kernels should have an assert included in the top of the updater-script to ensure that the zip will only flash on the intended phone model. This can be achieved by using the foollowing edify script:
Code:
ui_print("Verifying Phone Model...");
assert(getprop("ro.product.device") == "SCH-R910" ||
       getprop("ro.build.product") == "SCH-R910");
This will prevent a lot of borks we have to deal with in the IRC channels due to someone with with a Cricket model flashing a MetroPCS ROM, for example.

COMING SOON:
Making ROM zips
Edify scripting
 
Upvote 0
ay bro I did everything u sayed but know i cant download anything from the market its say downloading but when its finished it says application not install

Hmm, this script only installs the root files and cwm files... it doesn't install anything having to do with market apps.

Out of curiosity, what model are you using (910 or 915), and have you installed any ROMs?
 
Upvote 0
Confused!! Can't seem to get past the phone not being connected!! tried all reboots!!!! plz help

k0nane and the Android Creative Syndicate present


::: :::
::: One Click Script for the Samsung Galaxy Indulge :::
::: :::


Original script by Firon, noobnl, joeykrim
and Drockstar for the Samsung Epic 4G

Menu:

1) Simple One Click Root
2) Simple One Click Unroot
3) Quit

Please type a number [1-3] and press enter 1


* daemon not running. starting it now *
* daemon started successfully *
Phone is not connected.
Press any key to continue . . .

EDIT: it must have been a mirror file i found for the drivers!!! Flashed Basix 1st time no problems!!!!!!!!!! Thank you!!!!!
 
Upvote 0
I installed the drivers for windows and after doing so, I download the AIO file, open the v.100 folder and click run.bat. IT then says rageagaunsttecage-arm5.bin is missing. Press any key to continue and then the window closes. Am I doing something wrong? Please help thank you.

You have to disable your antivirus software before downloading the AIO. rageagainstthecage is a Linux exploit (used to root the phone), and will be deleted by your AV software. That's why the script can't find it.

Disable your AV, redownload AIO, and start over.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones