Cydia

If you’ve ever used LockHTML in the past, then you’ll be delighted to hear about LockHTML2 by iOS developer Bushe, which has just been released. LockHTML2 is a complete re-write of the tweak; the new version includes new features and it will be a free upgrade for all that own LockHTML already. If you don't own it yet, you can grab it from the ModMyi repository.

LockHTML2 comes with one widget already called LS Air (above on the left), however third-party developers can create their own widgets and host them in Cydia for you to download as add-ons for LockHTML2. The widget above on the right is one of said third-party add-ons called LS Reventon by d3stroy.

With the above two widgets having to do with weather, you’ll want to point them to your location. To do this, you’ll need to navigate to /var/mobile/Library/LockHTML/THEMENAME/ and find the JavaScript file associated with that widget. Once there, you can find the locale line and edit it so that it shows your Zip code. You can do this through iFile:

The tweak isn’t only an HTML widget tweak, but it is also a lock screen customization tweak. This is a great all-in-one solution for people trying to make their lock screen look good with the widget that they choose to use. Below are a few examples of the things you can customize on the lock screen that might compliment your widgets:

Everything that you hide or show, and all the widget you choose to enable on the lock screen, can be configured in the Settings application under the LockHTML2 preferences pane:

In the top section of the preferences, you’ll find all of the following options:

Enable or disable the HTML widgets on the lock screen

Enable or disable a smart lock screen clock hiding feature

Enable or disable moving with controls

Choose to hide or show the widget when charging the device

Choose to always show the background wallpaper or not

Hide or show the time in the Status Bar

In the middle section of the preferences, you’ll find all of the following options:

Hide or show the slide or unlock bar label text

Hide or show the glassy slide to unlock background

Hide or show the slide to unlock bar

Hide or show the Camera Grabber

Enable or disable a custom slide to unlock bar

Enable or disable a custom slide to unlock knob

In the bottom section of the preferences, you’ll find all of the following options:

Customize the height of the lock screen battery

Hide or show the lock screen battery

Enable or disable always showing the lock screen battery

Choose the HTML widget that you want to appear on the lock screen

You can check out the tweak in action via the video below compliments of the developer:

For a mobile-friendly video link that works with our app, tap on the video link below:

I was able to find the LS Revention Theme. It installed under Winterboard. If I chose the theme in Winterboard, it will work, but it has an orange background that I cannot change. I also cannot change the language or my location. For some reason, it is not showing as a theme in LockHTML2 (only the LS Air is showing). That is why I cannot find the file in iFile to make the required changes.

To make it display the way it is in the Review you must delete the code that loads the background, its near the bottom of the HTML file delete everything After <!-- Wallpaper --> and before <!-- Clock Image -->

To make it display the way it is in the Review you must delete the code that loads the background, its near the bottom of the HTML file delete everything After <!-- Wallpaper --> and before <!-- Clock Image -->

...To make it display the way it is in the Review you must delete the code that loads the background, its near the bottom of the HTML file delete everything After <!-- Wallpaper --> and before <!-- Clock Image -->

Thanks. All went well. However, after removing the wallpaper code, I get a small box on the upper left corner of my lock screen. Right on top of my status bars.

It's only there when I remove the wallpaper code. When I place the code back in, it's gone. But then I'm stuck with the orange wallpaper. The block is only seen on the lock screen.

To make it display the way it is in the Review you must delete the code that loads the background, its near the bottom of the HTML file delete everything After <!-- Wallpaper --> and before <!-- Clock Image -->

Deleting the wallpaper code for me leaves me with a black background and no ability to change the wallpaper normally. Anyone else have this issue?

Here's my modded version. I like downstyle type and a larger clock so I don't have to break out the glasses if I wake up in the middle of the night and want to know what time it is. I also removed the leading 0 in the time and the am pm indicator. I also shifted some content lower and put in an Auros slider. The top bar is Sarif theme.

Originally Posted by severe

Are you deleting the code immediately after Wallpaper and not the following Clock Image code or something else?

Just delete the text between the Wallpaper and Clock Image sections.

This leaves me with the wallpaper I'd previously installed.

Yeah doesn't work here. I looked all around seeing if some other tweak was overriding this: themeready, springtomize, etc.

If I delete the lockbackground.html then the stock apple wallpaper appears. If I delete just the line under wallpaper in the code then I get a black background with that white outline otherwise it looks normal. Guess I'm stuck having to manually change wallpapers by calling them wallpaper.png. Damn.

Here's my modded version. I like downstyle type and a larger clock so I don't have to break out the glasses if I wake up in the middle of the night and want to know what time it is. I also removed the leading 0 in the time and the am pm indicator. I also shifted some content lower and put in an Auros slider. The top bar is Sarif theme.

Yeah doesn't work here. I looked all around seeing if some other tweak was overriding this: themeready, springtomize, etc.

If I delete the lockbackground.html then the stock apple wallpaper appears. If I delete just the line under wallpaper in the code then I get a black background with that white outline otherwise it looks normal. Guess I'm stuck having to manually change wallpapers by calling them wallpaper.png. Damn.

Any chance of a link to download yours?

Does anyone know why my weather isn't updating? I have the interval set to 30 but it doesn't seem to be changing, it only changes on a respring. Thanks!

I had this problem, go into settings.js and look under the part where you put your zip code. There should be a website, copy that link and paste it into a browser and once it loads type your location into the search bar. It will show up with a "WOEID" number or something. Copy that and paste it in the "var locate" section replacing your zip code.

Does anyone else's springboard crash when editing the LockHTML2 settings? It happens constantly to me and the only way t fix it is to delete the settings file for it with ifile.

I had this problem, go into settings.js and look under the part where you put your zip code. There should be a website, copy that link and paste it into a browser and once it loads type your location into the search bar. It will show up with a "WOEID" number or something. Copy that and paste it in the "var locate" section replacing your zip code.

Does anyone else's springboard crash when editing the LockHTML2 settings? It happens constantly to me and the only way t fix it is to delete the settings file for it with ifile.

Reeiiko, Contact me with a list of tweaks you have installed. I have seen this issue before, it may be some unknown compatibility issue.