Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ZmyDust

macrumors regular
Original poster
Feb 20, 2011
109
0
So I'm brand new to Jailbreaking iOS, just did it for the first time earlier today on my new iPhone4.. but I am computer literate and picked up the basics quickly. I've done a search but haven't been able to find this answer. Im working with winterboard, Lockinfo, and various other things to make life easier.

I found a theme I like that is simple... just includes some changes to the lock/unlock bar and the theme included a home screen wallpaper.png image that I didn't like, and deleted in iFile. This initially did come up and apply itself to the homescreen background

However in /var/stash/Themes it does have a LockBackground.png wallpaper that I do like and would like to keep as default on this theme. But I cannot get it to automatically change to this particular background for the lock screen when I switch from this theme to another and back again. I've read that I should have this theme on the top of the list in winterboard to keep others from overriding it, which I do.

I just want to be able to switch easy between themes and have the lock screen background change with the theme upon doing so.. and not have to switch it manually under the native wallpaper menu in settings.

There has to be something very simple I'm missing, what is it?
 
Last edited:
Built Theme- Everything works except LockBackground

I am having the same issues. I have built a theme from scratch with new battery images, slider, carrier logo, slider text, wallpaper, and lockbackground. Everything works but the lockbackground. My file structure is in Theme/LockBackground.png but I can't for the life of me figure out what is going on! Apple's settings are overriding my theme, but only for the lockscreen! Any help would be much appreciated :) I have uploaded my file structure and screenshots:confused:
 

Attachments

  • Screen shot 2011-02-23 at 4.57.54 AM.png
    Screen shot 2011-02-23 at 4.57.54 AM.png
    44.6 KB · Views: 133
  • IU Lockscreen.PNG
    IU Lockscreen.PNG
    28.2 KB · Views: 124
  • IU Wallpaper.png
    IU Wallpaper.png
    312 KB · Views: 105
OK, please note that I'm NOT an expert on this. Whatever advice I can give, I took it from this and other forums. If the following can not help, I would suggest you post a request for help in the "Post your Jailbroken Home Screen (Part 2)" topic, which is always in the first page of the iPhone Hacks.

As far as I understand, Apple change the dynamic of theming with iOS 4.2.1
You can find more info here: https://forums.macrumors.com/threads/1092235/

There are basically two scenarios that I'm aware of:

1-) Theme was designed to use the wallpaper defined by the Camera Roll
You need to edit the respective HTML file within the theme.

<img src="/var/mobile/Library/SpringBoard/LockBackground.jpg"
and change it to:
<img src="/Library/Themes/"THEME NAME"/LockBackground.png"
If you don't see the above in your html file try adding <img src="LockBackground.png" into your html file.

Then just copy the image you want to have as wallpaper, paste it into the theme folder and name it as LockBackground.jpg
Note that you can actually name it as you like, as long as the path is correct in the HTML.

2-) Theme was designed with and includes it's own wallpaper
That's easier. Just go into the respective theme folder, see what is the name of the image file (for example: Wallpaper.jpg), delete / rename it, copy the image you want to have as wallpaper and rename it accordingly.

NOTE: for either scenario, if you even want to replace the wallpaper, you will ALWAYS need to do so manually, as explained above.


I hope this helps you both. I'm actually using two different themes for the Lock and SpringBoard, but if you are still stuck, upload or give me a link to the theme you want to use and I'll try to see if I can tweak it. This change in 4.2.1 is very annoying, I hope someone will come up with a proper solution for this... :(
 
OK, please note that I'm NOT an expert on this. Whatever advice I can give, I took it from this and other forums. If the following can not help, I would suggest you post a request for help in the "Post your Jailbroken Home Screen (Part 2)" topic, which is always in the first page of the iPhone Hacks.

As far as I understand, Apple change the dynamic of theming with iOS 4.2.1
You can find more info here: https://forums.macrumors.com/threads/1092235/

There are basically two scenarios that I'm aware of:

1-) Theme was designed to use the wallpaper defined by the Camera Roll
You need to edit the respective HTML file within the theme.

<img src="/var/mobile/Library/SpringBoard/LockBackground.jpg"
and change it to:
<img src="/Library/Themes/"THEME NAME"/LockBackground.png"
If you don't see the above in your html file try adding <img src="LockBackground.png" into your html file.

Then just copy the image you want to have as wallpaper, paste it into the theme folder and name it as LockBackground.jpg
Note that you can actually name it as you like, as long as the path is correct in the HTML.

2-) Theme was designed with and includes it's own wallpaper
That's easier. Just go into the respective theme folder, see what is the name of the image file (for example: Wallpaper.jpg), delete / rename it, copy the image you want to have as wallpaper and rename it accordingly.

NOTE: for either scenario, if you even want to replace the wallpaper, you will ALWAYS need to do so manually, as explained above.


I hope this helps you both. I'm actually using two different themes for the Lock and SpringBoard, but if you are still stuck, upload or give me a link to the theme you want to use and I'll try to see if I can tweak it. This change in 4.2.1 is very annoying, I hope someone will come up with a proper solution for this... :(

the wallpaper image renders correctly, it is just the lockbackground.png that doesn't override the springboard.app I guess I could change it in the actual springboard.app, but I want the theme to do it and then relinquish control back to springboard it if is disabled. Thanks for the info!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.