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 · May 22, 2015 at 10:35 pm · 4 comments

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover Android, so we're wondering which other sites our community likes to frequent. Tell us your favorite Android website and what about the site that makes it your favorite.

DISCUSS
Mathew Brack · May 22, 2015 at 02:30 pm · 4 comments

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager to learn and the bold. Everyday we see innovation and brilliant ideas across the site, from this we know that many of you have great insight in to your respective fields. That is why today, I am honored to announce a new project that will allow us to work with you directly to have your views and thoughts expressed clearer than ever. Introducing:    ...

XDA NEWS
Jimmy McGee · May 22, 2015 at 12:10 pm · 4 comments

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Sony cutting the price of the Xperia Z1 and be sure to check out the article talking about the YotaPhone 2 Indiegogo pre-order. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
Share This