LockHTML 2 Lets You Add Dynamic HTML Widgets To Your iPhone’s Lock Screen

lockhtml1

If you’ve used LockHTML, then you’ll be happy to know that the developer Bushe has recently released a new version of the jailbreak tweak on Cydia.

LockHTML 2 allows you to add dynamic HTML widgets to your jailbroken device’s Lock screen and lots more.

It has been completely rewritten so you will be able to use your Lock screen wallpaper as the background rather than using JPEGifier.

The jailbreak tweak comes with a dynamic HTML widget for weather called LS Air, which needs to be enabled via the Settings app. The jailbreak tweak provides a framework that can be used by developers to create third party widgets for it.

Please note that you will first turn on the Enable Html toggle (Settings -> LockHTML 2), before selecting the theme. You will also need to tap on the Respring button at the top right corner to apply a new theme. You will also need to disable the default clock (Smart LSClock Hide toggle) from the Lock screen to ensure it doesn’t overlap over the HTML widgets.

The tweak offers lots of other settings that allow you to customize the behaviour of the widgets on the Lock screen such as move the HTML widget when you double press the Home button to access the playback controls from the Lock screen.

It also allows you to customize the Lock screen by allowing you to hide the label of the “slide to unlock” slider button, hide the camera grabber and more.

lockhtml2

Check out the demo video of the jailbreak tweak in action below:

It remains to be seen if developers will create custom widgets for LockHTML 2. I would love to see developers create HTML Lock screen widgets for web apps such as Forecast.io and Sun.

The tweak is available for $0.99 on Cydia. LockHTML 2 is a free update for existing users. You can click on the download link below if you’re on a jailbroken iOS device to purchase and install it.

Let me know what you think of the tweak below.

➤ Download link

Update:

To get the weather forecast for your location, you will need to edit the Settings.js file. For example for the LS Air theme, navigate to /var/mobile/Library/LockHTML/LS Air.theme/ using iFile, edit the file and replace locale with the appropriate Yahoo Where On Earth ID (WOEID). You can get it from this lookup.

Like this post? Share it!

  • Chase

    When changing the weather location I keep getting a “no connection” when I changed the location code in ifile. Any suggestions?

    • http://www.iphonehacks.com iPhoneHacks

      Did you use the Yahoo Where On Earth ID (WOEID) for your location? Try using the WOEID, it should work.

      You can get it from here:
      http://woeid.rosselliot.co.nz/

      • Chase

        Yes I have entered my city the code did not work. I’ve tried entering the zip at that website that code didn’t work. I have also tried entering other city codes to see if mine was not supported and those didn’t work. Would you be able to post a picture of the original location line in ifile so i can compare and see if I messed with the text lines. Thanks.

        • http://www.iphonehacks.com iPhoneHacks

          Let me know which city you want it for and attach the screenshot in the comment so I can check if you’re doing it right.

          • Chase

            Enterprise, AL coffee county

          • Justin Snell

            Change var tempUnit = “F”; to lowercase “f”. I had the same problem

          • Chase

            THANK YOU justin. That fixed it. It’s crazy how something so small can affect the whole thing

          • Justin Snell

            No problem. Glad I could help. I know. I changed a bunch of things when I first installed. Had to change everything back 1 by 1 b4 I figured out the problem.

          • kdps105

            I am having a problem with the day of the week not updating. The only way to get it to update is to respring it. The only other problem i had was no connection on the weather but i fixed it by disabling the gps.

  • nikhil

    how have you curved the status bar near the battere percentage??

  • Sandip

    Cannot change lockscreen knobs or slider…..

  • kdps105

    for some reason mine wont update the day of the week. The only problem i had previously was no connection for my weather but i fixed it by disabling the gps. but the only way to get the day of the week to update is to respring it.

  • kdps105

    My day of the week doesnt update unless i respring it. The weather updates and the time updates but the day of the week wont change. any suggestions