[Fix]? WifiOffDelayIfNotUsed wakelock topic
I found this wakelock causing a great deal of wakelocks and keeping my apps drain shown on gsam sometimes above the consumtion of screen
I search a bit about this wakelock some saying its a notification/search wherever wifi is connected.. some others said that you need a static ip to make it go away..but i found a great guide from @metalboy94 saying how you can backsmali the jar com.lge.wifiext and remove this wakelock...
Im on stock 20i but i couldn't find this jar but i found somekind simmilar wifi-service.jar i decide to take a look i backsmali this jar and i found the WifiOffDelayIfNotUsed.smali using metalboys guide i find the line where the system aquire the wakelock
put an # infρont as the metalboy suggested and smali the jar back together...i replace the stock jar with this i made *I keep a backup of the original just in case* reboot and now im on for 8mins not much time but this wakelock is showing all the time and no wakelock at all
Of course im not sure what this wakelock do...im not sure if this wakelock is needed my wifi works im not test this for a very long time but i wanna share it with you so we can all test it...
Also the jar isn't flashable if someone has time and want to make it flashable feel free
This is from 20I stock rom...i don't know if it will work with other releases of 5.0 Lollipop but try if not restore your backup!
Thanks and sorry for my English! :)
I search a bit about this wakelock some saying its a notification/search wherever wifi is connected.. some others said that you need a static ip to make it go away..but i found a great guide from @metalboy94 saying how you can backsmali the jar com.lge.wifiext and remove this wakelock...
Im on stock 20i but i couldn't find this jar but i found somekind simmilar wifi-service.jar i decide to take a look i backsmali this jar and i found the WifiOffDelayIfNotUsed.smali using metalboys guide i find the line where the system aquire the wakelock
Code:
#invoke-virtual {v0}, Landroid/os/PowerManager$WakeLock;->acquire()V
Of course im not sure what this wakelock do...im not sure if this wakelock is needed my wifi works im not test this for a very long time but i wanna share it with you so we can all test it...
Also the jar isn't flashable if someone has time and want to make it flashable feel free
This is from 20I stock rom...i don't know if it will work with other releases of 5.0 Lollipop but try if not restore your backup!
Thanks and sorry for my English! :)
xda-developers
0 commentaires:
Enregistrer un commentaire