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.
Jimmy McGee · Jul 3, 2015 at 06:00 am · no comments

Droid Turbo Lollipop OTA, 2015 Moto G Leaked – XDA TV

Android Lollipop for the Droid Turbo has been released. 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 the 2015 edition of the Moto G and be sure to check out the article talking about Android Lollipop for the Huawei Ascend Mate 2. That's not all that's covered in today's video! Jordan talks about the other videos released this week on...

XDA NEWS
Jack Jennings · Jul 3, 2015 at 04:12 am · no comments

EVLeaks Shows Off Possible BlackBerry Android Phone

It wasn't too long ago that we received reports of BlackBerry planning to use Android in their upcoming devices, although it wasn't confirmed how this would be implemented. The Canadian company has publicly announced that they 'remain committed to the BlackBerry 10 operating system', touting its strengths in security and productivity. Now, thanks to Evan Blass at EVLeaks, we have our first look at what one of these upcoming phones could look like.   The picture itself shows the bottom half of a design...

XDA NEWS
Faiz Malkani · Jul 2, 2015 at 08:41 pm · 1 comment

Mysterious GG1 Google Device Stops by FCC. Glass v2?

As the year progresses, we draw further away from Google's annual I/O conference, and closer to the time when the latest hardware from Mountain View is made available to the public. While I/O itself remains one of the most popular tech conferences, the hardware unveiling is a contrastively low-key post across social media, but nonetheless, remains an exciting and much awaited event. In the months leading up to the unveiling, a host of leaks take place, revealing various info about...

XDA NEWS
Share This