Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,799 Members 47,989 Now Online
XDA Developers Android and Mobile Development Forum

[REQ] LG Optimus Black weather widget

Tip us?
 
mortuus82
Old
#1  
mortuus82's Avatar
Senior Member - OP
Thanks Meter 6
Posts: 178
Join Date: Apr 2010
Location: Malmo
Default [REQ] LG Optimus Black weather widget

Is there someone that could dump the weather widget found in the new lg optimus black so u can install it as an .apk file ?

here is how it looks.

Device: Samsung Galaxy S3 16GB (White)
Home: Nova Launcher
Network: Telenor
ROM: Android 4.3 KitKat
Storage: Sandisk MicroSD 16GB Class 6
The Following User Says Thank You to mortuus82 For This Useful Post: [ Click to Expand ]
 
beeone42
Old
(Last edited by beeone42; 15th May 2011 at 10:39 AM.) Reason: adb install
#2  
beeone42's Avatar
Junior Member
Thanks Meter 26
Posts: 24
Join Date: Feb 2007
Location: Paris
tl;dr: it doesn't work

i'm uploading it here:

ge.tt/3rQvmBD

ge.tt/3rQvmBD/WeatherWidget-signed.apk (not working)

edit: deodexed and signed version: ge.tt/3rQvmBD/WeatherWidget-signed.apk (not working)

i tried to install it on my htc hd2 (TyphooN CyanogenMod 7 Nightly v3.2.6 rom) but it fail to install

with adb:

Code:
Select Code
C:\android-sdk-windows\platform-tools>adb install WeatherWidget.apk
2153 KB/s (16332962 bytes in 7.407s)
pkg: /data/local/tmp/WeatherWidget.apk
Failure [INSTALL_FAILED_DEXOPT]

C:\android-sdk-windows\platform-tools>
adb logcat:

Code:
Select Code
D/AndroidRuntime(13289):
D/AndroidRuntime(13289): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
I/AndroidRuntime(13289): Heap size: -Xmx32m
D/AndroidRuntime(13289): CheckJNI is OFF
D/dalvikvm(13289): creating instr width table
D/AndroidRuntime(13289): Calling main entry com.android.commands.pm.Pm
D/dalvikvm(12973): GC_EXPLICIT freed 10K, 52% free 2687K/5511K, external 0K/0K, paused 49ms
W/ActivityManager( 3086): No content provider found for:
W/ActivityManager( 3086): No content provider found for:
D/PackageParser( 3086): Scanning package: /data/app/vmdl-842848858.tmp
D/dalvikvm( 3086): GC_CONCURRENT freed 1975K, 35% free 8628K/13127K, external 4085K/4505K, paused 8ms+12ms
D/dalvikvm( 3086): GC_FOR_MALLOC freed 1053K, 36% free 8528K/13191K, external 4085K/4505K, paused 197ms
D/dalvikvm( 3086): GC_FOR_MALLOC freed 1027K, 36% free 8531K/13191K, external 4085K/4505K, paused 176ms
D/dalvikvm( 3086): GC_FOR_MALLOC freed 1025K, 36% free 8538K/13191K, external 4085K/4505K, paused 182ms
D/dalvikvm( 3086): GC_FOR_MALLOC freed 1025K, 36% free 8546K/13191K, external 4085K/4505K, paused 186ms
D/PackageManager( 3086): Scanning package com.lge.sizechangable.weather
E/PackageManager( 3086): Package com.lge.sizechangable.weather has mismatched uid: 10036 on disk, 10177 in settings
I/PackageManager( 3086): Linking native library dir for /data/app/com.lge.sizechangable.weather-1.apk
D/installd(   69): DexInv: --- BEGIN '/data/app/com.lge.sizechangable.weather-1.apk' ---
W/dalvikvm(13300): DexOptZ: zip archive '/data/app/com.lge.sizechangable.weather-1.apk' does not include classes.dex
W/installd(   69): DexInv: --- END '/data/app/com.lge.sizechangable.weather-1.apk' --- status=0xff00, process failed
E/installd(   69): dexopt failed on '/data/dalvik-cache/data@app@com.lge.sizechangable.weather-1.apk@classes.dex' res = 65280
W/PackageManager( 3086): Package couldn't be installed in /data/app/com.lge.sizechangable.weather-1.apk
D/dalvikvm( 3086): GC_EXPLICIT freed 260K, 36% free 8518K/13191K, external 4085K/4505K, paused 180ms
D/AndroidRuntime(13289): Shutting down VM
I/AndroidRuntime(13289): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm(13289): GC_CONCURRENT freed 213K, 71% free 303K/1024K, external 0K/0K, paused 1ms+0ms
D/jdwp    (13289): adbd disconnected
The Following 2 Users Say Thank You to beeone42 For This Useful Post: [ Click to Expand ]
 
onslaught86
Old
#3  
onslaught86's Avatar
Senior Member
Thanks Meter 262
Posts: 865
Join Date: Jul 2009
Location: Auckland, EnZed
Sounds like it was pulled directly from the dump without being deodexed.

Sent from my SGH-T959 using XDA Premium App
- onslaught86

Visit scenic AndroidNZ.net for news, reviews, and how-to's

HTC Apache PPC6700=>HTC Titan PPC6800=>Samsung Omnia i900=>TMOUS HTC HD2=>Galaxy S Vibrant=>Galaxy S i9000=>Galaxy S II i9100=>Motorola RAZR XT910=>Motorola Electrify=>Galaxy S III i9300=>Galaxy Note II N7100=>Galaxy Note 3 N9005
 
beeone42
Old
#4  
beeone42's Avatar
Junior Member
Thanks Meter 26
Posts: 24
Join Date: Feb 2007
Location: Paris
Quote:
Originally Posted by onslaught86 View Post
Sounds like it was pulled directly from the dump without being deodexed.
yes, i simply took this file from my wife's lg optimus black:

/system/app/WeatherWidget.apk

now i took the .odex, used Deodexer_2_3, it added classes.dex into the apk

but it doesn't work

Code:
Select Code
C:\android-sdk-windows\platform-tools>adb install WeatherWidget.apk
adb server is out of date.  killing...
* daemon started successfully *
1911 KB/s (16032027 bytes in 8.192s)
        pkg: /data/local/tmp/WeatherWidget.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

C:\android-sdk-windows\platform-tools>
Code:
Select Code
D/AndroidRuntime(16199):
D/AndroidRuntime(16199): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
I/AndroidRuntime(16199): Heap size: -Xmx32m
D/AndroidRuntime(16199): CheckJNI is OFF
D/dalvikvm(16199): creating instr width table
D/AndroidRuntime(16199): Calling main entry com.android.commands.pm.Pm
D/dalvikvm(16104): GC_EXPLICIT freed 40K, 52% free 2687K/5511K, external 0K/0K, paused 50ms
W/ActivityManager( 3086): No content provider found for:
I/OnAlarmReceiver( 9819): onReceive...
V/NetMeterService----------( 9819): NetMeterService+ int p is equals=0
D/NetMeterService( 9819): ====> Updating database <====
D/NetMeterService( 9819): Service onStart ->
D/NetMeterService( 9819): rmnet0 done in 27 ms.
D/NetMeterService( 9819): eth0 done in 40 ms.
D/NetMeterService( 9819): Alert: 2 ms
W/ActivityManager( 3086): No content provider found for:
D/PackageParser( 3086): Scanning package: /data/app/vmdl1381269041.tmp
D/szipinf ( 3086): Initializing inflate state
E/PackageParser( 3086): Package com.lge.sizechangable.weather has no certificates at entry classes.dex; ignoring!
D/dalvikvm( 3086): GC_EXPLICIT freed 1061K, 37% free 8375K/13191K, external 4091K/4402K, paused 306ms
D/AndroidRuntime(16199): Shutting down VM
I/AndroidRuntime(16199): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm(16199): GC_CONCURRENT freed 213K, 71% free 303K/1024K, external 0K/0K, paused 1ms+1ms
D/jdwp    (16199): adbd disconnected
SGS2 running XXLPQ // TF101 running ICS 4.0.3
 
beeone42
Old
(Last edited by beeone42; 14th May 2011 at 12:08 AM.)
#5  
beeone42's Avatar
Junior Member
Thanks Meter 26
Posts: 24
Join Date: Feb 2007
Location: Paris
so...

i deodexed the apk with Deodexer_2_3
i signed the result with SignApk and uploaded it to ge.tt
i installed WeatherWidget-signed.apk, it worked

but the widget fail to run

Code:
Select Code
D/szipinf ( 4257): Initializing inflate state
D/dalvikvm( 1032): GC_EXPLICIT freed 8K, 50% free 4201K/8327K, external 10759K/12807K, paused 119ms
D/szipinf ( 1032): Initializing inflate state
I/ActivityThread( 4257): Pub com.lge.weather.helper.weathercontentprovider: com.lge.sizechangable.weather.helper.WeatherContentProvi
der
I/Database( 4257): sqlite returned: error code = 14, msg = cannot open file at line 27205 of [42537b6056]
E/Database( 4257): sqlite3_open_v2("/data/data/com.lge.sizechangable.weather/databases/WeatherWidgetDB.db", &handle, 6, NULL) failed

D/AndroidRuntime( 4257): Shutting down VM
W/dalvikvm( 4257): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 4257): FATAL EXCEPTION: main
E/AndroidRuntime( 4257): java.lang.RuntimeException: Unable to get provider com.lge.sizechangable.weather.helper.WeatherContentProvi
der: android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 4257):        at android.app.ActivityThread.installProvider(ActivityThread.java:3709)
E/AndroidRuntime( 4257):        at android.app.ActivityThread.installContentProviders(ActivityThread.java:3461)
E/AndroidRuntime( 4257):        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3417)
E/AndroidRuntime( 4257):        at android.app.ActivityThread.access$2200(ActivityThread.java:123)
E/AndroidRuntime( 4257):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:977)
E/AndroidRuntime( 4257):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4257):        at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4257):        at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 4257):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4257):        at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 4257):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 4257):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 4257):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4257): Caused by: android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1849)
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/AndroidRuntime( 4257):        at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:570)
E/AndroidRuntime( 4257):        at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/AndroidRuntime( 4257):        at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/AndroidRuntime( 4257):        at com.lge.sizechangable.weather.remoteservice.DataHelper.<init>(DataHelper.java:126)
E/AndroidRuntime( 4257):        at com.lge.sizechangable.weather.helper.WeatherContentProvider.onCreate(WeatherContentProvider.java:
50)
E/AndroidRuntime( 4257):        at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/AndroidRuntime( 4257):        at android.app.ActivityThread.installProvider(ActivityThread.java:3706)
E/AndroidRuntime( 4257):        ... 12 more
i created /data/data/com.lge.sizechangable.weather/databases/ folder, so the widget created the databases into, but still not working

Code:
Select Code
E/ApplicationContext( 1662): Couldn't create directory for SharedPreferences file /data/data/com.lge.sizechangable.weather/shared_prefs/Weather.xml
created /data/data/com.lge.sizechangable.weather/shared_prefs/, widget created Weather.xml and other xml files, but still not working, FC when trying to specify a weather location:

Code:
Select Code
E/ActivityThread( 1771): Failed to inflate
E/ActivityThread( 1771): android.view.InflateException: Binary XML file line #279: Error inflating class <unknown>
E/ActivityThread( 1771):        at android.view.LayoutInflater.createView(LayoutInflater.java:518)
E/ActivityThread( 1771):        at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/ActivityThread( 1771):        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
E/ActivityThread( 1771):        at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
E/ActivityThread( 1771):        at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/ActivityThread( 1771):        at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/ActivityThread( 1771):        at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
E/ActivityThread( 1771):        at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/ActivityThread( 1771):        at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/ActivityThread( 1771):        at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:212)
E/ActivityThread( 1771):        at android.app.Activity.setContentView(Activity.java:1657)
E/ActivityThread( 1771):        at com.lge.sizechangable.weather.activities.TodaysViewActivity.onCreate(TodaysViewActivity.java:242)
E/ActivityThread( 1771):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/ActivityThread( 1771):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
E/ActivityThread( 1771):        at android.app.ActivityThread.startActivityNow(ActivityThread.java:1598)
E/ActivityThread( 1771):        at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
E/ActivityThread( 1771):        at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
E/ActivityThread( 1771):        at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:654)
E/ActivityThread( 1771):        at android.widget.TabHost.setCurrentTab(TabHost.java:326)
E/ActivityThread( 1771):        at android.widget.TabHost.addTab(TabHost.java:216)
E/ActivityThread( 1771):        at com.lge.sizechangable.weather.activities.WeatherDetailsTabView.onCreate(WeatherDetailsTabView.java:173)
E/ActivityThread( 1771):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/ActivityThread( 1771):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
E/ActivityThread( 1771):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
E/ActivityThread( 1771):        at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/ActivityThread( 1771):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
E/ActivityThread( 1771):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/ActivityThread( 1771):        at android.os.Looper.loop(Looper.java:130)
E/ActivityThread( 1771):        at android.app.ActivityThread.main(ActivityThread.java:3835)
E/ActivityThread( 1771):        at java.lang.reflect.Method.invokeNative(Native Method)
E/ActivityThread( 1771):        at java.lang.reflect.Method.invoke(Method.java:507)
E/ActivityThread( 1771):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/ActivityThread( 1771):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/ActivityThread( 1771):        at dalvik.system.NativeStart.main(Native Method)
E/ActivityThread( 1771): Caused by: java.lang.reflect.InvocationTargetException
E/ActivityThread( 1771):        at java.lang.reflect.Constructor.constructNative(Native Method)
E/ActivityThread( 1771):        at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
E/ActivityThread( 1771):        at android.view.LayoutInflater.createView(LayoutInflater.java:505)
E/ActivityThread( 1771):        ... 33 more
E/ActivityThread( 1771): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/ActivityThread( 1771):        at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
E/ActivityThread( 1771):        at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:460)
E/ActivityThread( 1771):        at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:336)
E/ActivityThread( 1771):        at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
E/ActivityThread( 1771):        at android.content.res.Resources.loadDrawable(Resources.java:1782)
E/ActivityThread( 1771):        at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/ActivityThread( 1771):        at android.view.View.<init>(View.java:1967)
E/ActivityThread( 1771):        at android.widget.ImageView.<init>(ImageView.java:112)
E/ActivityThread( 1771):        at android.widget.ImageView.<init>(ImageView.java:108)
E/ActivityThread( 1771):        ... 36 more
D/AndroidRuntime( 1771): Shutting down VM
W/dalvikvm( 1771): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 1771): FATAL EXCEPTION: main
E/AndroidRuntime( 1771): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lge.sizechangable.weather/com.lge.sizechangable.weather.activities.WeatherDetailsTabView}: java.lang.Run
timeException: Unable to start activity ComponentInfo{com.lge.sizechangable.weather/com.lge.sizechangable.weather.activities.TodaysViewActivity}: android.view.InflateException: Binary XML file line #2
SGS2 running XXLPQ // TF101 running ICS 4.0.3
 
mortuus82
Old
#6  
mortuus82's Avatar
Senior Member - OP
Thanks Meter 6
Posts: 178
Join Date: Apr 2010
Location: Malmo
Yeah install works fine but adding widgets doesnt work, the first one crashes when u try to configure it
Device: Samsung Galaxy S3 16GB (White)
Home: Nova Launcher
Network: Telenor
ROM: Android 4.3 KitKat
Storage: Sandisk MicroSD 16GB Class 6
 
mechaphil
Old
#7  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2011
It's not exact (seems to only be missing the refresh and AccuWeather.com buttons), but search anyways for "3D Digital Weather Clock" in the Market.

I'd link to it, but I don't have enough posts to link yet.
 
nickhammond121
Old
#8  
nickhammond121's Avatar
Senior Member
Thanks Meter 20
Posts: 131
Join Date: Jul 2010
Location: Bedworth
http://market.android.com/details?id...alWeatherClock

Link to the app on market

Sent from my Desire HD using XDA Premium App
 
K.D.M.
Old
#9  
K.D.M.'s Avatar
Senior Member
Thanks Meter 12
Posts: 201
Join Date: Aug 2010
Location: Wageningen
Quote:
Originally Posted by nickhammond121 View Post
http://market.android.com/details?id...alWeatherClock

Link to the app on market

Sent from my Desire HD using XDA Premium App
it is not the same, i can get you the optimus 2x weather clock, but this one is better
 
beeone42
Old
#10  
beeone42's Avatar
Junior Member
Thanks Meter 26
Posts: 24
Join Date: Feb 2007
Location: Paris
Quote:
Originally Posted by nickhammond121 View Post
http://market.android.com/details?id...alWeatherClock

Link to the app on market

Sent from my Desire HD using XDA Premium App
looks like (snapshot*.jpg), but the optimus black's one is much better (2011-05-15 *.jpg)
Attached Thumbnails
Click image for larger version

Name:	2011-05-15 20.11.20.jpg
Views:	4991
Size:	41.4 KB
ID:	597043   Click image for larger version

Name:	2011-05-15 20.11.27.jpg
Views:	1367
Size:	36.0 KB
ID:	597044   Click image for larger version

Name:	2011-05-15 20.11.49.jpg
Views:	1140
Size:	25.2 KB
ID:	597051   Click image for larger version

Name:	2011-05-15 20.11.55.jpg
Views:	1103
Size:	32.4 KB
ID:	597052   Click image for larger version

Name:	snapshot.jpg
Views:	1196
Size:	45.4 KB
ID:	597053  

Click image for larger version

Name:	snapshot (1).jpg
Views:	973
Size:	64.6 KB
ID:	597054  
SGS2 running XXLPQ // TF101 running ICS 4.0.3

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes