egzthunder1 · Feb 17, 2013 at 02:30 pm

Guide for Porting the LG Weather/Clock Widget to any ROM

The weather widget has, since the days of TouchFLO in Windows Mobile, become an iconic feature on most smartphones. Its main purpose in life is to make your life a little simpler by giving you snippets of information regarding the weather in your neck of the woods (or anywhere in the world). In this day and age, the Android ecosystem has spawned several different variants of the infamous widget, each one presenting different features and eye candy animations. Manufacturers also present their own versions of it and LG is no exception. The weather/clock widget from the LG UI is a nice looking, animated widget that pretty much looks great on any home screen (YMMV, of course).

This is all great but, getting it to work on a ROM without the corresponding framework is a different story altogether. We normally either look for a flashable zip, an APK, or something to quickly get our fix. Asking devs to port it would also be a viable option, however, you could end up waiting for a while depending on who you ask. Since we at XDA-Developers believe in getting what you want/need by learning, we are always glad to come across guides like the one created by XDA Forum Member devilex94. The dev has created a quick guide showing how to modify framework.jar from any ROM in order to get the widget working. The process is relatively straight forward, and in essence it involves pulling and decompiling the aforementioned jar, adding a file provided by the dev, recompiling it, and pushing the modified framework.jar back into /system/framework.

There are a few tools that you will need, such as apktool for compiling/decompiling the framework.jar. We strongly recommend that you take a look at the original apktool thread by XDA Forum Member iBotPeaches as well, in case you are not familiar with how it works. Happy porting!

Requirements-
*A nice working rooted mobile phone
*A working PC with java installed
*apktool-[Don’t ask how to use it]

You can find more information in the original thread.

Want something published in the Portal? Contact any News Writer.


_________
Want something on the XDA Portal? Send us a tip!

egzthunder1

egzthunder1 is an editor on XDA-Developers, the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area. View egzthunder1's posts and articles here.
Emil Kako · Apr 19, 2015 at 02:10 pm · 4 comments

Do You Check for App Updates Regularly?

Do you let app updates happen automatically or do you regularly check for them? We're guessing the community will be pretty split here but we're interested in hearing your thoughts. Let us know below!

DISCUSS
Chris Gilliam · Apr 19, 2015 at 12:39 pm · 5 comments

Find The Best Apps With Google’s Picks & Other Tricks

The Google Play Store, weighing in with more than 1.4 million apps at last count, is a vast expanse of quality content and APK duds alike. To put this into context, it would take the average user more than 8 days of continuous scrolling to make it through the whole list at two per second, let alone the added months to click through and check out screenshots, or years to separate the wheat from the chaff via thorough review. Blogs...

XDA NEWS
Mario Tomás Serrafero · Apr 19, 2015 at 10:00 am · 5 comments

Sunday Debate: Better to Buy Older or Newer Hardware?

Join us in a fun Sunday Debate on New vs. Old. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below! Smartphone purchases make for some of the sweetest times of the year for many of us. After all, we are hobbyists of Android and a new...

XDA NEWS
Share This