How to Port the LG Weather/Clock Widget to Any ROM

1 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 1 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 Filament.io 1 Flares ×

As of now, the android ecosystem has produced several different variants of the infamous weather 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. This is really 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.

LG Weather Widget

Asking the developer to port it would also be a viable option, however, your waiting is end up here. The XDA forum member devilex94 created a new guide showing how to modify framework.jar from any ROM in order to get the widget working.

Requirements:

  • A nice working rooted mobile phone
  • A working PC with java installed
  • apktool

DISCLAIMER : Best Android Blog would not be held responsible/liable for any damages that takes place to your device by following this procedure. So, do everything at your own risk.

Procedure:

  • First extract framework.jar from /system/framework/ through any root file manager.
  • Decompile it through apktool, a newly created framework.jar.out will be there.

Code:

apktool d framework.jar

  • Download LG smali.zip from attachment and extract it.
  • Copy “lge” from com folder of LG smali and paste it in framework.jar.out/smali/com ( in apktool folder). It must be like this “framework.jar.out/smali/com/lge”.
  • Compile framework.jar.out

Code:

apktool b framework.jar.out

  • Push the newly compiled framework.jar from apktool/framework.jar.out/dist into your phone’s/system/framework directory
  • Reboot your phone. It will take some time to reboot so, don’t get tensed. Wait until the process is over.
  • After that download the widget from here and install as regular app.
About Sarvesh Darak

Sarvesh Darak is a blogger, an online marketer, a social media specialist and an Android Lover. At Best Android Blog, he writes Android news & tutorials for Android Rooting. He is the tech head and ensures that the blog keeps running at good pace. He also looks after all the SEO and promotion work. He’s from Surat, India and keep contributing regularly at the blog.

Speak Your Mind

*

1 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 1 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 Filament.io 1 Flares ×