SpringRoll r7, available on Cydia: http://r-ch.net/sr/

A SpringBoard beautifier; a transitional tool for SummerBoard and Customize users who are effing tired of manually copying icon.png files from one place to the other. Tested on 1.1.5 and 2.0.

See it in action!

---------------------
OLD POST:
Important: I'm not a big developer, this is what I've gotten to work with 5 hours of work and a month of experience with Ruby. Nonetheless:

I have a script that automates switching out the "icon.png" in all non-AppStore apps, as well as replacing the status bar, dock, and badge. (When run on 1.1.x, it also replaces sliders.) I originally developed it to work around my lack of SummerBoard on 1.1.5 but this morning I hacked it so it works fine with 2.0.

I call it SpringRoll, because it makes SpringBoard yummy again!

It's a command-line script that must be run as root via ssh (su and sudo don't pass off the right variables to the script) and it's meant to be a transitional tool while we wait for new versions of SummerBoard or Customize. So no real GUI development or anything will come out of me, just simple bug fixes if something breaks.

The effort required to get any SummerBoard theme to run on my script is simple:
* Upload the SummerBoard theme of your choice to /var/root.
* Run sr smbconv Theme/Icons for it to rename the icons into the compatible format
* Move the theme to /var/root/SpringRoll
* Run sr theme Theme and it'll do everything, respring, and you're running.

Would the community be interested in this script? I'm not going to release it if people are going to say it's not as good as SummerBoard/Customize because it's not supposed to. The goal is for it to make switching out icon sets faster than doing so manually, and I think it accomplishes that fairly well.
Last edited by Sakurina on July 31st, 2008, 2:25 am, edited 1 time in total.
sounds good, but why its not working with app store apps?
From my experience, switching out the icon.png in the AppStore apps will cause them to break. I only have one jailbroken 2.0 device to try it on, but it's happened every time I've done it. It could probably be hacked in with an hour or two of work though, and if people really want to see that, I'd certainly try to get it to work.
I'd be interested in this script, doing this manually is very tedious and time consuming. I had a thought on an app like this, but, for a GUI version. You would be given an iPhone interface, with your icons, and you could just drag and drop icons of your choosing on top of your old icons, and then respring, and viola. I don't think it would be hard to code at all, but, I don't know how to code.

But, back to the topic, I am interested in this script.
i am interest too, if you make it i will switch to fw 2 :P
Okay then. Releasing the first version:

SpringRoll r1
http://r-ch.net/sr/

There is a demo video I am uploading to Vimeo right now, it should be up in about 35 minutes. If anyone has any questions or problems, I should be on here pretty much all afternoon.
Demo video should run us through the process, right?
circa wrote:Demo video should run us through the process, right?

It shows me applying a theme and restoring.

edit: Just realized that SMS and Phone aren't being converted by smbconv, putting up a fix in not too long.
Also the demo video is up. http://vimeo.com/1381822
edit2: r2 is up and it fixes SMS and Phone icons.
Last edited by Sakurina on July 21st, 2008, 9:19 pm, edited 1 time in total.
not work for me ! i have this :
-sh: /usr/local/sbin/sr: Permission denied
EDIT1:
I set permission 755 for sr file and it work !
Last edited by m3hd1 on July 21st, 2008, 10:52 pm, edited 1 time in total.
You might have to chmod the file and set permissions correctly.

'chmod 777 sr' when you're in /usr/local/bin and it should work then.
Sakurina wrote:You might have to chmod the file and set permissions correctly.

'chmod 777 sr' when you're in /usr/local/bin and it should work then.

Yes it work
It work great with Deeptheme !! thanks but no wallpaper :|
Yeah, that can't be done without actually modifying SpringBoard in one way or another and I lack the technical knowhow to do that. Sorry. :S
Sakurina wrote:Yeah, that can't be done without actually modifying SpringBoard in one way or another and I lack the technical knowhow to do that. Sorry. :S

But it work ! thanks !
I am really new to terminal and stuff so I have no clue how to do this. I used CyberDuck to create that path. Then I tried opening Terminal and ssh into it.
Now what do I do?

EDIT: Nevermind for some reason my Mac renamed sr to sr.sh and opened it with Coda. Now that I delete the extension it works.
Last edited by Mac Intosh on July 21st, 2008, 11:37 pm, edited 1 time in total.
I'm assuming by "that path", you mean /usr/local/bin, and that you copied sr into the folder.

- run ssh root@<iPhone IP> (default password is 'alpine')
- once logged in run: chmod 777 /usr/local/bin/sr
- once that's done, you'll want to back up the current state: sr backup

SpringRoll doesn't come with any themes so you'd have to download a SummerBoard theme, and put it in /var/root/SpringRoll. Once that's done, still in SSH:

- sr smbconv SpringRoll/ThemeName/Icons
- sr theme ThemeName

Now that I'm actually looking it the procedure, it does look a little complex for the average user, I'll see if I can do anything to make it easier.

edit: To simplify things, I could try to get a Cydia repository up and running for SpringRoll installation and themes. We'll see.
edit2: SpringRoll r3 now does sliders on 2.0. Get it: http://r-ch.net/sr/
edit3: Beginning work on getting AppStore icons themable. Don't expect anything soon though.
Last edited by Sakurina on July 22nd, 2008, 12:54 am, edited 1 time in total.
impressive
Damn! THE ONLY thing you didn't tell us how to do is the battery!!!!!!!!!!!!!! :'(
Awesome work man :thumbsup:
oxeneers wrote:Damn! THE ONLY thing you didn't tell us how to do is the battery!!!!!!!!!!!!!! :'(

Put the battery images in a folder named "Battery" in the same folder as the theme you are using.
deliciousj wrote:
oxeneers wrote:Damn! THE ONLY thing you didn't tell us how to do is the battery!!!!!!!!!!!!!! :'(

Put the battery images in a folder named "Battery" in the same folder as the theme you are using.

What do they have to be named?

EDIT: Nevermind, they can be named default and it works. Anyways, this frickin thing rocks. Thanks so much OP.
Last edited by oxeneers on July 22nd, 2008, 8:29 am, edited 1 time in total.
That's awesome. Works very well! Good Job :thumbsup:
I think it has a problem with the Applications folder if they've been moved (by Cydia) and is now linked by an alias. But I'm not entirely sure, it would throw up an error claiming to be unable to find my Applications folder:

Code: Select all
** Backing up application icons:
/usr/local/sbin/sr:107:in `chdir': Not a directory - /Applications/.DS_Store (Errno::ENOTDIR)
   from /usr/local/sbin/sr:107:in `backup'
   from /usr/local/sbin/sr:420

However it could be some kind of error on my end, I just tried it then replaced my battery images and status bar.
SpringRoll is the best thing ever for 2.0!
Thanks a lot Sakurina :)
RasaFrasa wrote:I think it has a problem with the Applications folder if they've been moved (by Cydia) and is now linked by an alias. But I'm not entirely sure, it would throw up an error claiming to be unable to find my Applications folder:

Code: Select all
** Backing up application icons:
/usr/local/sbin/sr:107:in `chdir': Not a directory - /Applications/.DS_Store (Errno::ENOTDIR)
   from /usr/local/sbin/sr:107:in `backup'
   from /usr/local/sbin/sr:420

However it could be some kind of error on my end, I just tried it then replaced my battery images and status bar.

Actually, that's just an issue with it thinking the .DS_Store file is a folder when it isn't. I'll try to fix it in the next release. (It has nothing to do with Cydia moving your apps, the 2.0 iPod I tested on had its apps moved as well.)

Append: If you run rm /Applications/.DS_Store , it'll delete the file (which contains Finder layout information, not that big of a deal) and the script will run. It's a temporary fix but it should work.

oxeneers wrote:Damn! THE ONLY thing you didn't tell us how to do is the battery!!!!!!!!!!!!!! :'(

Hah, I knew I forgot to put *something* on the webpage. Thanks for letting me know. But yeah BatteryBG_n.png in a Battery folder in the theme's folder.

edit 11:49am ET: Just updated the page to cover the .DS_Store problem and the battery.
Last edited by Sakurina on July 22nd, 2008, 4:51 pm, edited 1 time in total.