Enable all weather effect on LockScreen - G3
Clear effect, Rainy effect, Snowy effect, Cloudy effect and Thunder effect.
Decompile file priv-app/LGKeyguard.apk
Edit com/lge/effect/weather/WeatherEffect.smali,
Method .method public static getWeather()I
Find
Replace with
Find
Replace with
Compile LGKeyguard.apk, replace to priv-app and give permission 644
Remove LGKeyguard.odex and reboot.
Good luck.
My other mods:
[GUIDE] All weather effect on LockScreen - G3
[GUIDE] All LockScreen Effect on G3
If you like my work, click here to buy me a beer.
Source: http://lgviet.com/forum/threads/26145/
Clear effect, Rainy effect, Snowy effect, Cloudy effect and Thunder effect.
Decompile file priv-app/LGKeyguard.apk
Edit com/lge/effect/weather/WeatherEffect.smali,
Method .method public static getWeather()I
Find
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_2
.line 89
[B][COLOR="Red"]const/4 v2, 0x0[/COLOR][/B]
goto :goto_0
.line 91
:cond_2
const/4 v2, 0x3
.line 93
goto :goto_0
Replace with
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_2
.line 89
[COLOR="red"][B]const/4 v2, 0x3[/B][/COLOR]
goto :goto_0
.line 91
:cond_2
const/4 v2, 0x3
.line 93
goto :goto_0
Find
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_3
.line 97
[COLOR="red"][B]const/4 v2, 0x0[/B][/COLOR]
goto :goto_0
.line 99
:cond_3
const/4 v2, 0x4
.line 101
goto :goto_0
Replace with
Code:
sget v4, Lcom/lge/lockscreen/feature/LGFeatureConfig;->UI_VERSION:F
invoke-static {v4, v5}, Ljava/lang/Float;->compare(FF)I
move-result v4
if-lez v4, :cond_3
.line 97
[B][COLOR="red"]const/4 v2, 0x4[/COLOR][/B]
goto :goto_0
.line 99
:cond_3
const/4 v2, 0x4
.line 101
goto :goto_0
Compile LGKeyguard.apk, replace to priv-app and give permission 644
Remove LGKeyguard.odex and reboot.
Good luck.
My other mods:
[GUIDE] All weather effect on LockScreen - G3
[GUIDE] All LockScreen Effect on G3
If you like my work, click here to buy me a beer.
Source: http://lgviet.com/forum/threads/26145/
Last edited: