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.
Mario Tomás Serrafero · Jul 29, 2015 at 12:10 pm · 1 comment

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the past few days. Both have also promised great performance for a cheap price, and now that we know the specifications and details about both the Moto X Style and the OnePlus 2, we can begin planning our next purchase and debating which one is better. So, judging from everything we know, which phone is more impressive?

DISCUSS
Mathew Brack · Jul 29, 2015 at 10:35 am · 2 comments

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of us will have used it but you may feel that the module repository is missing something. We have the solution with several guides aimed at getting you started to build your own modules, something that may be daunting but can open an entire new field of development with a little time and effort.     Where better to start than at the beginning? Rovo89 has created a straight forward tutorial for getting started with development for Xposed....

XDA NEWS
Jimmy McGee · Jul 29, 2015 at 06:00 am · 2 comments

ZenFone 2 Lolliflash and ZenPower Giveaway!

We recently did an in-depth review of the Asus Zenfone 2 but one of the things people may not be aware of is that ASUS has actually created a line of accessories to compliment the ZenFone, or any other Android device. The Lolliflash is a Lollipop-shaped external flash and the ZenPower is a thin 10,000mAh external battery. In today's video, Jordan shows off the Lolliflash and the ZenPower Accessories. Additionally, ASUS and XDA have teamed up to give away 5...

XDA NEWS