Hi. I am having this WifiOffDelayIfNotUsed wakelock showing up in BBS and accounting for a major part of my Android OS drain. Has anybody else had it and how did you get rid of it?
Stock D80210a unrooted
You do have the wifi off right? And you also have the wifi notification off?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my VS980 4G using Tapatalk
Got the same wakelock. Haven't figured it out though
Sent from my LG-D802 using Tapatalk
comk4ver said:
You do have the wifi off right? And you also have the wifi notification off?
View attachment 2494219
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
No I have it on. Even when disabling WiFi I don't get the same option as you
I don't think it's something you have to worry about.
I have the same wakelock and my battery last 2 days with 4-5 hours screen on time.
Well you might be right. I'm mostly getting 4 hours of screen on time while others are getting about 6. There's also ActivityManager-Launch wake lock. Which software version are you on? I'm on D80210a and I intend on upgrading to 10f depending on which software you have. If you have a newer one I won't upgrade since increased battery life is the main goal of upgrading for me.
Sent from my LG-D802 using xda app-developers app
I am on 10D upgraded from10C via ota but same wakelocks and it doesn't bother me.
I'm getting the same wakelock as well.
The problem is that it's the number one processq in the Android system category.
Last night 3h after I charged it,there was a 1.5h wakelock...
Sent from my Nexus 7 using Tapatalk
Doesn't really get any better. I made a factory reset but it didn't help at all. Oh my god...
It accounts for 10 percent of the battery drain...
Sent from my LG-D802 using xda app-developers app
I've the same problem too, it seems that it's normal right now, maybe only google can solve this problem...
I'm on T-Mo and I have this wakelock as well. I think it's what's causing my WiFi Calling to disconnect when the phone sleeps. Would love to figure out how to disable whatever is causing this wakelock.
Same problem here... LG G2 D802 Stock 4.4.2 Rooted
Durocks.
Sent from my LG-D802 using Tapatalk
It's caused by the WiFi timer feature, which turns off WiFi after a specific interval, even if you disabled that feature. I used to remove that wakelock by modifying com.lge.wifiext.jar
Sent from my LG-D802 using xda app-developers app
metalboy94 said:
It's caused by the WiFi timer feature, which turns off WiFi after a specific interval, even if you disabled that feature. I used to remove that wakelock by modifying com.lge.wifiext.jar
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
Would you mind sharing how to do that? Thank you!
metalboy94 said:
It's caused by the WiFi timer feature, which turns off WiFi after a specific interval, even if you disabled that feature. I used to remove that wakelock by modifying com.lge.wifiext.jar
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
Please, tell how to do this? I'm having the same problem on my LG L90. The only thing that helps is reboot.
metalboy94 said:
It's caused by the WiFi timer feature, which turns off WiFi after a specific interval, even if you disabled that feature. I used to remove that wakelock by modifying com.lge.wifiext.jar
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
I know it's an old thread, but can you explain the method, please?
And what consequences does it have, if any?
The following requires adb and smali/baksmali knowledge. I apologize for the sparseness of this tutorial, it has been a long time since I last did this.
Here's the gist of it - pull com.lge.wifiext.odex from /system/framework, then decompile it with baksmali ( https://code.google.com/p/smali/wiki/DeodexInstructions ). In the decompiled folder go to com > lge >wifiext and open WifiOffDelayIfNotUsed.smali with a good text editor (I recommend Notepad++). Search the file for "acquire" - you will find a snippet of code similar to:
Code:
.line 155
:cond_12
:try_start_12
const-string v0, "WifiOffDelayIfNotUsed"
const-string v1, "startMonitoring"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 156
sget-object v0, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->sWiFiStopWakeLock:Landroid/os/PowerManager$WakeLock;
invoke-virtual {v0}, Landroid/os/PowerManager$WakeLock;->acquire()V
.line 157
invoke-direct {p0}, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->GetWiFiStats()V
.line 158
iget-object v0, p0, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->mWifiHandler:Landroid/os/Handler;
const/4 v1, 0x1
The "acquire" line is where the wakelock is actually started. To disable it, just place a # in front of the line, so it will become:
Code:
.line 155
:cond_12
:try_start_12
const-string v0, "WifiOffDelayIfNotUsed"
const-string v1, "startMonitoring"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 156
sget-object v0, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->sWiFiStopWakeLock:Landroid/os/PowerManager$WakeLock;
[COLOR="Red"]#[/COLOR]invoke-virtual {v0}, Landroid/os/PowerManager$WakeLock;->acquire()V
.line 157
invoke-direct {p0}, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->GetWiFiStats()V
.line 158
iget-object v0, p0, Lcom/lge/wifiext/WifiOffDelayIfNotUsed;->mWifiHandler:Landroid/os/Handler;
const/4 v1, 0x1
Now recompile the folder with smali to a .dex file. Pull com.lge.wifiext.jar from /system/framework and use IZArc/WinRAR to insert the .dex file into the .jar file. Make backups of com.lge.wifiext.jar and com.lge.wifiext.odex from your phone in case something goes wrong, then remove com.lge.wifiext.odex from the phone and push the new com.lge.wifiext.jar, overwriting the previous one. Set correct permissions, then reboot the phone. If everything went right, the WifiOffDelayIfNotUsed wakelock will be gone.
@metalboy94 Thanks a ton, man! :laugh:
Setting the router to give my phone a static IP fixes this issue.
@metalboy94 and others : does removing the wakelock actually improve any battery life ?
Related
Today I realized my phone has been getting rather hot lately unsure why... I do have brightness all the way but although I have setcpu installed... I keep it ondemand. But today I noticed it even go up to 105. Idk what the issue is. I just dropped down the CPU to 768mhz hoping it would help but why should I have to? I'll give a screenshot
Sent from my HTC Glacier using XDA App
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC Glacier using XDA App
So is this normal? By the time I got around to speaking about this issue... the temp went down a bit but this was after i underclocked to 768mhz. I've yet to over overclock, run a rom or anything... just rooted, removed bloat and that was about it. Very strange.
Sent from my HTC Glacier using XDA App
coolcat615 said:
So is this normal? By the time I got around to speaking about this issue... the temp went down a bit but this was after i underclocked to 768mhz. I've yet to over overclock, run a rom or anything... just rooted, removed bloat and that was about it. Very strange.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
I would be worried if it's getting that hot without overclocking, but without seeing your settings I dunno what you've actually got set in setcpu
the temp quotes people give are in celsius... 105ºF = 40.5ºC which is ok. I personally set it temp > 40º to clock down to 800 max, and screen off to the lowest number for max and min
EDIT: looking at your kernel you shouldn't even be able to overclock... I might be a little worried...
I know and I don't know what to do... I also notice that now when I'm on wifi both the wifi symbol and the H stays at the same time when it use to be just one or the other. I don't know what to do.
Sent from my HTC Glacier using XDA App
I'm a little new to android... I know like literally nothing about kernals and stuff.
Sent from my HTC Glacier using XDA App
Mine gets as hot as 107f when playing some high end games. HTC techsupport said that its within norms.
The safety is at 140f I think.
alex9025 said:
Mine gets as hot as 107f when playing some high end games. HTC techsupport said that its within norms.
The safety is at 140f I think.
Click to expand...
Click to collapse
they have high end games???? are they > or < Angry birds?
Did you save a original copy of your Rom, if you did flash it back and see if goes that high.
Sent from my Desire HD using XDA App
slhpss said:
they have high end games???? are they > or < Angry birds?
Click to expand...
Click to collapse
haha poor choice of words I guess, I meant games that use 3d like tank hero, the phone gets a tad hot after a while.
Yeah I did a complete backup of my original stock rom with RM. While it was in its factory state. I'll give it a shot.... ahh man all my precious work lol
Sent from my HTC Glacier using XDA App
I had the same issue but it was on my stock non-rooted 4g. I read in another thread(unfortunately dont remember which one) that if you turn on usb debugging it solves it. Not sure how or why it happens but I haven't had a heat issue since.
Sent from my HTC Glacier using XDA App
I have mine on lol
Sent from my HTC Glacier using XDA App
BTW guys, I won't be concentrating on development this week, and possibly for a while. My grandfather recently got diagnosed with brain cancer and I haven't had a lot of time on the computer (on the phone, yes. I'm on twitter a lot). Don't worry though, I'll get back on it soon
Here it is guys, the kernel you've never heard about. If you're a battery fanatic, this is the kernel for you. With a max clock of 800 MHz and a HZ of 100, this kernel will give you the best battery life you've ever had. Coupled with the optional Undervolting via Xan's Voltage Control app (download here, you're going to be getting a day or two out of this one. Seriously. Its really battery efficient.
You've also got BLN, Voodoo Sound v7, and xcaliburinhand's car dock fixes.
To those of you worrying about speed sacrifices, let me tell you, the tradeoff is worth it. You're getting several extra hours of battery life for a slightly reduced Linpack score. Trust me. It's worth it.
Disclaimer: This will eat your babies
Actually, I'm not responsible for any damage this kernel might do to the space-time continuum (or your phone)
Download: http://goo.gl/Lj9LL
Download:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Grab a nightly here: http://goo.gl/Ng8YC (Usually done ~1:05 AM EST depending on the processor workload and the bandwidth available for me to use)
I pride myself on opensourcing my work. https://github.com/ytt3r/android_kernel_samsung has the stuff.
Don't forget to hit thanks or buy me a root beer! Of course you can also follow me on twitter or get me more dropbox space
Credits
TheEscapist
Morfic
Netarchy
Codeworkx
Coola
Atinm
Supercurio (Seriously, donuts to him! All of his hard work powers this.)
everyone's re-using my patchs & stuff for lagfix/color/sound
and even make pure clones of my kernel (i'm thinking about Dark something)
and as a result i get 0 contribution (open source way)
and 0 donation
Click to expand...
Click to collapse
Changelog for Build #10
10^10% working BLN
Rebased on 2.6.35.11 "bug-free"
New recovery that writes over bad blocks instead of skipping them
Changelog for Build #5:
Voodoo Sound v7
Voodoo Color (51 of you said we needed it, I guess majority rules... )
"Unlocked" FPS Cap
100% working BLN
Bugs:
You tell me.
Downloading
Sent from my GT-I9000 using XDA Premium App
My wifi doesn't work anymore. :/
+1 no wifi after flash.
Sent from my GT-I9000 using XDA Premium App
I have to wait until morning. Too tired to flash.
Derp. I included the wrong WiFi module. Anyways, a working version is on it's way shortly.
AAANd we're back, feel free to flash away
Does this include Xcaliburhand's fix for the car dock? If so I'm so in to try it. If not you should consider adding it.
InsaneJester17 said:
Does this include Xcaliburhand's fix for the car dock? If so I'm so in to try it. If not you should consider adding it.
Click to expand...
Click to collapse
It's there, I should've mentioned it
Sweet mang. Gonna give this a go tomorrow when my brain isn't mush. Will let you know
Is the nightly being added, i keep getting file not found... :/
Just flashed. It could be just me but my phone stopped reporting hspa as H in notification bar. Still getting faster upload though with 3g icon.
Thanks! Can't wait to field test this tomorrow!
Sent from my SGH-I897 using XDA App
kannonball2290 said:
Is the nightly being added, i keep getting file not found... :/
Click to expand...
Click to collapse
Nightly is ready around 4:20, like I said
The first build isn't up. The Trident nightly is, and I'm going to run the nightly now, so expect a nightly in about 20-30 minutes. Just check back.
Thanks I appreciate it and I like this kernel already, it runs extremely smooth and hardly and difference with it running at 800mhz
Sent from my GT-I9000 using XDA App
I'm sorry if this is a retarded question, but is kernel will work with the Miui rom right? Since its gingerbread?
Sent from my SGH-I897 using XDA Premium App
kamots said:
I'm sorry if this is a retarded question, but is kernel will work with the Miui rom right? Since its gingerbread?
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
Yes this works on miui
MIUI
mcord11758 said:
Yes this works on miui
MIUI
Click to expand...
Click to collapse
Sweet! will try it out. thank you for the reply
Edit. Ummm flash with Odin or cwm, or does it matter? Once I get used to the rom I will stop with the dumb questions. Promise
Sent from my SGH-I897 using XDA Premium App
Cwm flash
MIUI
Thank you again
Sent from my SGH-I897 using XDA Premium App
I just wanted to start a thread where people can post their working UV settings for faux's newest kernel. I'm at -25 for everything and -75 for 216MHz, but I know I can go lower. What do you guys have?
One thing to bare in mind was people list UV values in this thread is that not all phones are created equal. Just because someone can get down to certain settings doesn't mean your phone can as well.
Also, make sure you don't check off "set at boot" in the undervolting section of setCPU (or whatever app you are using) until you know that the settings are safe.
DK
DeathKoil said:
One thing to bare in mind was people list UV values in this thread is that not all phones are created equal. Just because someone can get down to certain settings doesn't mean your phone can as well.
Also, make sure you don't check off "set at boot" in the undervolting section of setCPU (or whatever app you are using) until you know that the settings are safe.
DK
Click to expand...
Click to collapse
Thanks for the info. Should clear things up for people.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Still testing...
more info @ http://forum.xda-developers.com/showpost.php?p=17151565&postcount=131
I have had great success with these settings.
ECdOc said:
Still testing...
more info @ http://forum.xda-developers.com/showpost.php?p=17151565&postcount=131
Click to expand...
Click to collapse
I've yet to find a stable medium for uv settings..ill try similar to this and report back
Sent from my Motorola Atrix 4G MB860 using Tapatalk
0
0
0
25
50
150
225
Any more and I get either reboots freezes or FC's
Stable, no reboots.
Sent from my Motorola Olympus using XDA Premium App.
Working for me thanks, hadda turn down my 216 setting. Working great now.
Vangelis13 said:
Stable, no reboots.
Sent from my Motorola Olympus using XDA Premium App.
Click to expand...
Click to collapse
-50 on everything and -100 for 216MHz and 456MHz. Seems to be doing real good for me. Keep em coming
Hardcore but stable..
Sent from my Motorola Olympus using XDA Premium App.
Vangelis13 said:
Hardcore but stable..
Sent from my Motorola Olympus using XDA Premium App.
Click to expand...
Click to collapse
Wow can't handle anything this low without freezes or reboots. I'm at a level of very minor undervolting but that's alright, cool that everyone is sharing there's here.
Sent from my Motorola Atrix 4G MB860 using Tapatalk
It is stable. No reboot.
havent had any reboots so far
cachookaman said:
havent had any reboots so far
Click to expand...
Click to collapse
Can you run a quadrant test on those settings? Mine freezes the quadrant app but the phone is ok...weird.
Edit: Disregard i rebooted now it runs...my bad.
Stable
Sent from my MB860 using XDA App
100mv diference rule no more necessary?
Yeh I'm thinking these settings are not actually being applied. From what I understand u can set the undervolting to whatever u want. Doesn't mean it will take and stick and actually work. Someone correct me if I'm wrong and this particular kernel allows more than a 100mv jump between.
Sent from my MB860 using xda premium
+1
> >
Originally Posted by faux123
The Dynamic Voltage Frequency Scaler (DVFS) has a built-in check for difference > 100mv (this is due to Tegra2's design, supposedly swings > 100mv is unstable for Tegra2 chipset in general). So any delta > 100mv will be limited to 100mv by DVFS automatically
<<
cachookaman said:
havent had any reboots so far
Click to expand...
Click to collapse
Got a reboot almost right away with that one.
Hi all
Me and Dazznuts been playing with ripple renderer and found the following to remove the hazy overlay that made dark lockscreen wallpapers look bad on our devices. The mod makes two changes. One to remove the cloud and one to improve ripple visibility on dark walls. We just replace some values with 0x1 and 0x0.
We changed the refractiveIndex because if using a black heavy background the ripple became hard to see. Changing the refractiveIndex makes it refract a greater distance so it will usually pick up some of the colored part of the wallpaper. Using a totally black wallpaper with no image will result in ripple being invisible.
Decompile android.policy.jar and open CircleUnlockRippleRenderer.smali.
Search for this...
Code:
.line 159
const v5, 0x3f666666
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mReductionRate:F
.line 162
const v5, 0x3f6e147b
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->refractiveIndex:F
.line 163
const v5, 0x3e051eb8
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->reflectionRatio:F
.line 164
iput v10, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->alphaRatio1:F
We need to change refractiveIndex and alphaRatio1. So at this line...
const v5, 0x3f6e147b
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->refractiveIndex:F
Change it to....
const/4 v5, 0x1
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->refractiveIndex:F
That improves ripple and now we remove cloudiness.....
This line...
iput v10, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->alphaRatio1:F
Becomes...
const/4 v5, 0x0
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->alphaRatio1:F
So full code is....
Code:
.line 159
const/4 v5, 0x3f666666
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mReductionRate:F
.line 162
const v5, 0x1
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->refractiveIndex:F
.line 163
const v5, 0x3e051eb8
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->reflectionRatio:F
const v5, 0x0
.line 164
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->alphaRatio1:F
And thats it. Should work on any device. Renderer may be a little different but post and ask if you're not sure
Have fun and please spread the word to your respective devices devs
Sent from my GT-I9305 using Tapatalk 4
Oh...screenshots...
Before....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After....
Video... (laggy due to screen capture app)
https://www.youtube.com/watch?v=wDhLA-Zmo78&feature=youtube_gdata_player
Sent from my GT-I9305 using Tapatalk 4
And it really does just give ripple that nice finish
Great work :thumbup::thumbup:
andrewwright said:
Great work :thumbup::thumbup:
Click to expand...
Click to collapse
+100
Bravo :thumbup::thumbup:
Sent from my NeatRom'ed GT-I9300 wifi hotspoting from my NeatRom'ed GT-I9100
Works and looks great thankyou m8 :thumbup:
Sent from my GT-I9500
Just thought I would add a couple of things for anyone trying this mod...
(it works perfectly btw. Thanks for this guys )
From the code above, this line (actually, mReductionRate is missing entirely) does not exist in all smali codes. It is missing from the version I am using for JB 4.1.2:
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mReductionRate:F
It doesn't really matter but just saying if someone is looking for an exact match, they may not find it.
Also, for newbies, just do a search for something simple like refractiveIndex
instead of the entire line since the public values are going to be different from rom to rom and the variables are also going to change.
For instance before I change the refractiveIndex value my line reads:
const v3, 0x3f6e147b
new line would be:
const/4 v3, 0x1
tdunham said:
From the code above, this line (actually, mReductionRate is missing entirely) does not exist in all smali codes. It is missing from the version I am using for JB 4.1.2:
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mReductionRate:F
It doesn't really matter but just saying if someone is looking for an exact match, they may not find it.
Click to expand...
Click to collapse
Yeah smalis will differ. Mine is different. If using ink effect smalis its different for a start
Also, for newbies, just do a search for something simple like refractiveIndex
instead of the entire line since the public values are going to be different from rom to rom and the variables are also going to change.
For instance before I change the refractiveIndex value my line reads:
const v3, 0x3f6e147b
new line would be:
const/4 v3, 0x1
Click to expand...
Click to collapse
You mean the v rather than an ID? There is no public ids in that bit of code
Registers can indeed be different though with v5 vs v3 like you say
Sent from my GT-I9305 using Tapatalk 4
bombaybadboy said:
Works and looks great thankyou m8 :thumbup:
Sent from my GT-I9500
Click to expand...
Click to collapse
It does and its such an easy mod
@Goldieking, Hey mate, I tried to replicate your mod but apktool gives me an error(s) and it won't recompile my android.policy.jar
I've attached both my CircleUnlockRippleRenderer.smali (zipped) and a picture of what error I'm getting in apktool...
(edit: sorry for the picture's bad quality, xda must have compressed it while uploading it...)
Please help me out
Sami Kabir said:
@Goldieking, Hey mate, I tried to replicate your mod but apktool gives me an error(s) and it won't recompile my android.policy.jar
I've attached both my CircleUnlockRippleRenderer.smali (zipped) and a picture of what error I'm getting in apktool...
(edit: sorry for the picture's bad quality, xda must have compressed it while uploading it...)
Please help me out
Click to expand...
Click to collapse
Im guessing you're alphaRatio1 was v10 like alphaRatio2. You should leave the v as they were and just replace what is after the ","
Sent from my GT-I9305 using Tapatalk
Goldieking said:
Im guessing you're alphaRatio1 was v10 like alphaRatio2. You should leave the v as they were and just replace what is after the ","
Sent from my GT-I9305 using Tapatalk
Click to expand...
Click to collapse
Sorry mate, I didn't exactly get you.. can you elaborate on what line (or lines) I should and shouldn't edit?
Actually scratch that. Are you sure you didn't edit anything else? Try to put const/4 instead of just const in the two lines.
Sent from my GT-I9305 using Tapatalk
Goldieking said:
Actually scratch that. Are you sure you didn't edit anything else? Try to put const/4 instead of just const in the two lines.
Sent from my GT-I9305 using Tapatalk
Click to expand...
Click to collapse
Okay, I found out that one of the lines/codes in my smali file had "const/4 v5" and the other one was "const v5"... so all I had to do was remove the "4" from that line
So, yeah now your mod works perfectly!! THANKS FOR SHARING THIS MATE!
One more thing, the first time when I tap on my lockscreen, the ripple effect will either not work or will lag.. But then if I tap again and again, it becomes normal and lag free... I've noticed this before applying your mod, but I just want to know that did you ever experience it or do you know how to solve it?
Its not a major issue but it gives a bad "first impression" if you know what I meant..
Sami Kabir said:
Okay, I found out that one of the lines/codes in my smali file had "const/4 v5" and the other one was "const v5"... so all I had to do was remove the "4" from that line
So, yeah now your mod works perfectly!! THANKS FOR SHARING THIS MATE!
One more thing, the first time when I tap on my lockscreen, the ripple effect will either not work or will lag.. But then if I tap again and again, it becomes normal and lag free... I've noticed this before applying your mod, but I just want to know that did you ever experience it or do you know how to solve it?
Its not a major issue but it gives a bad "first impression" if you know what I meant..
Click to expand...
Click to collapse
Cant say ive seen this myself, just tested a few times aswell.
M8 this mod are perfect
Sent from my GT-I9070 using Tapatalk
Thanks for the code. Works great on my Note 3 (N900).
i think you should update this for 4.3, this code
Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer
is now
Lcom/android/internal/policy/impl/keyguard/sec/CircleUnlockRippleRenderer
great guide! works well on the S3 4.3! goodjob!
tdunham said:
Just thought I would add a couple of things for anyone trying this mod...
(it works perfectly btw. Thanks for this guys )
From the code above, this line (actually, mReductionRate is missing entirely) does not exist in all smali codes. It is missing from the version I am using for JB 4.1.2:
iput v5, p0, Lcom/android/internal/policy/impl/sec/CircleUnlockRippleRenderer;->mReductionRate:F
It doesn't really matter but just saying if someone is looking for an exact match, they may not find it.
Also, for newbies, just do a search for something simple like refractiveIndex
instead of the entire line since the public values are going to be different from rom to rom and the variables are also going to change.
For instance before I change the refractiveIndex value my line reads:
const v3, 0x3f6e147b
new line would be:
const/4 v3, 0x1
Click to expand...
Click to collapse
Hi. I'm on JB 4.1.2. I've try to change the Value like You suggest (const/4 v3, 0x1).
The Phone start, but cause me big quantity of FC. It doesn't arrive to the Lock Screen.
Mod work, in fact If I push Power button... the display turn off regulary and I can see the hazy overlay fixed. But, like said... all in FC.
Where I Wrong?
Cant help without logcat
Sent from my GT-I9305 using Tapatalk
Hi!
Why does it all the time(every few minutes sometimes, sometimes every few hours) warn me about this thing? and what is it anyway?
It has started few days ago and now it doesnt stop.. I have installed many apps so I dont know after which one it has started.
- when I click OK it shows application manager, and not showing exact app that it has prevented.. what to do?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank you
itox said:
Hi!
Why does it all the time(every few minutes sometimes, sometimes every few hours) warn me about this thing? and what is it anyway?
It has started few days ago and now it doesnt stop.. I have installed many apps so I dont know after which one it has started.
- when I click OK it shows application manager, and not showing exact app that it has prevented.. what to do?
Thank you
Click to expand...
Click to collapse
Hi
This is a known bug, reproducable by
Switch off
Switch on
Turn on wifi
Connect to network
Will be fixed by updates soon i think, you can do nothing but delaying it for 30 days... if you are rooted you can freeze knox releated apps...
EDIT: or use wanam exposed "disable knox notifications" under security settings...
Hope that helps
Sent from my SM-N9005 using XDA Premium 4 mobile app
Killberty said:
Hi
This is a known bug, reproducable by
Switch off
Switch on
Turn on wifi
Connect to network
Will be fixed by updates soon i think, you can do nothing but delaying it for 30 days... if you are rooted you can freeze knox releated apps...
EDIT: or use wanam exposed "disable knox notifications" under security settings...
Hope that helps
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Okay, I have put do not show for 30 days, I can do that every 30 days I dont care, but only thing I am worried it could be malware or similar.. I have installed some apks which did not arrive from play store.
Edit: and yeah! thanx for such a fast reply
itox said:
Okay, I have put do not show for 30 days, I can do that every 30 days I dont care, but only thing I am worried it could be malware or similar.. I have installed some apks which did not arrive from play store.
Click to expand...
Click to collapse
Yeah thats what i did while i was on stock
If you are scared about maleware download avast! or avg antiviruns from playStore and scan your device
Hope that helps
Sent from my SM-N9005 using XDA Premium 4 mobile app
Killberty said:
Yeah thats what i did while i was on stock
If you are scared about maleware download avast! or avg antiviruns from playStore and scan your device
Hope that helps
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I use avast since my S2, Im thinking of rooting soon, just waiting for some better roms to come out.
It shouldnt happen ..
tnx again!
itox said:
I use avast since my S2, Im thinking of rooting soon, just waiting for some better roms to come out.
It shouldnt happen ..
tnx again!
Click to expand...
Click to collapse
Np for the fast reply pleasure to help you
Roms will void your knox warranty, so care (nobody really knows if we should care about that)
If you want to be safe use root de la vega
If i helped you there is a button for this
Sent from my SM-N9005 using XDA Premium 4 mobile app