yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] harlock:
I did change them already. I m just saying that further to the 2 values, ( hostArpOffload and McastBcastFilter ) in the code aurora git there is a third one: gEnableActiveModeOffload which is not handled in the kernel source.
[Nexus 4 Original Android Development] i860:
I flash r97 about 8.15am ( phone was 100% full ) and switch the phone to 3 g only. I use chrome for about 27 m and the phone start to get hot. Also the battery drain was a high. Just testing now the wifi and no problem on my end.
[Nexus 4 Original Android Development] danillll:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I've had the same issue since day one, the fix for me was to configure my router to use static IP for the nexus 4 MAC. Since then no issue with notification delay!
[Nexus 4 Original Android Development] thracemerin:
That 3rd parameter first appears in this patch https://www.codeaurora.org/gitweb/e...it;h=9f22e663fc171ac32c63c544a9d157cfa0391cbf and I don't think its necessary unless that patch is fully implemented.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I'm experiencing the same thing as you. :(
[Nexus 4 Original Android Development] diegozz:
Wifi still dropping here, r97 and changing the .ini values... TuneIn radio just stops after some minutes and notifications don't reach the phone.
[Nexus 4 Original Android Development] rxmxsh:
My drain on r97 is nearly 6%/hr compared to 3.9%/hr on r96. I haven't changed anything other than the kernel update and the single core idles at 1026mHz instead of 384 like r96 did.
[Nexus 4 Original Android Development] calanizzle:
I had 0.4%/hour drain last night
[Nexus 4 Original Android Development] rxmxsh:
That's great, but relative. I know my numbers are useless to you, but when literally nothing has changed on my phone, that's a big jump.
[Nexus 4 Original Android Development] baza14:
My phone can't get any signal. I had r96, my phone was shuted down because low battery and now I can't any signal. Have CM M2, r97 and 0.48 modem. I tried to reflash modem, reboot, insert SIM again, toggle airplane mode and choose network manually but nothing works. Is hardreset only solution?
[Nexus 4 Original Android Development] harlock:
What about return to full stock?

https://developers.google.com/android/nexus/images
[Nexus 4 Original Android Development] baza14:
I know, but that's the last solution I would like to do.:laugh:
[Nexus 4 Original Android Development] rxmxsh:
I cleared app data for FKU. Now it drops to 702Mhz, sometimes to 486Mhz. It does seem to hover at 702Mhz with the second core kicking in quite a bit.
[Nexus 4 Original Android Development] Jamal Ahmed:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Having around 4 soft reboots on this ROM daily. I have no right to complain because Franco does this for free...

But just as a feedback, this is really really annoying. Since r90 I've been having so many soft reboots... I'm chatting and suddenly PA boot animation starts.

Searched for it, found its not only me...

Any possible fix for it? I like this kernel extremely. I love it. I can't move to any other kernel, but these soft reboots are really heart breaking...

EDIT: *and I don't know how to produce a log cat so I'm sorry I cant post it*
[Nexus 4 Original Android Development] harlock:
What about posting last_kmsg? At least...
[Nexus 4 Original Android Development] KestrelX:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Apologies for the noob question, but do changes like this persist after a kernel update or will we need to edit it again?
[Nexus 4 Original Android Development] Twau:
I had that issue since r93, we described it almost identical:

http://xdaforums.com/showpost.php?p=38590240&postcount=16457
[Nexus 4 Original Android Development] harlock:
yes as long as you dont delete the file...
[Nexus 4 Original Android Development] Jamal Ahmed:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I sadly don't know how to produce it... :(
[Nexus 4 Original Android Development] rxmxsh:
Not to be douchey, but hit up google. You'll find the commands within a minute. I promise. That's what I did my first time.
[Nexus 4 Original Android Development] harlock:
If you are rooted simply go inside proc/

inside there is a file named last_kmsg
[Nexus 4 Original Android Development] ergalle2:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

The WiFi patch is not working for me, even with permissions added.
[Nexus 4 Original Android Development] fozzie:
...and just copy it to your SD card with something like Root Explorer.
[Nexus 4 Original Android Development] B3rt0:
for me neither.
[Nexus 4 Original Android Development] flakinarist:
...and me neither :(
[Nexus 4 Original Android Development] Roxxas049:
Ok I don't post much because I haven't had any problems at all with this kernel and I'm happily riding the wave..... buuuuut After I flashed r97 whenever I reboot my phone it automatically does a dalvik format and goes goes through the "android is upgrading" 3-4 minute thing. I didn't post a kmsg thingy because I'm not sure it's not just something I did wrong.

Oh and I'm on stock rom
[Nexus 4 Original Android Development] Jamal Ahmed:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

http://db.tt/GScGshYt

Just had the 6th soft reboot of today. Here's my last_kmesg file i pulled from /proc

Thanks for telling me how to find the file :)
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

My phone has been considerably warm since I flashed r97 this morning. Right now it's around 30 to 32 degrees Celsius. Every kernel release before that I had an average of 23.5 degrees Celsius on average. What seems to be the cause of this warmth that I'm getting? I use my phone every morning to listen to music, browse news article and use tapatalk while riding the bus to school.
[Nexus 4 Original Android Development] BlueHawk:
Ok. Notifications come through fine on my r97 deployment, with 50 minutes in screen off - with the config tweaks in place. I made sure of the WiFi operation by turning off mobile data.

Bad news is that I seemed to get a lot of suspend_backoff activity - about 6 minutes in that 50 minutes. I haven't seen that before. Obviously faster battery drain with that.

r97 seems to have fixed the problem I had with trying to access the phone before it had settled after a reboot.
[Nexus 4 Original Android Development] yokuyuki:
Just went from r92 -> r97 and the conservative governor + mpdecision is really snappy. Also had my best idle drain last night, < 1% per hour which I never had before. Awesome progress so far, Franco.

Never had the delayed wifi problem before so I can't really tell if it's work or not, but I'm definitely noticing an uptick in msm_hsic_host wakelock after this although it doesn't seem to have much of an impact on my battery life as that might have been offset by the change in governor.
[Nexus 4 Original Android Development] sigmabeta:
Is there any possibility of merging in a fix that might do something about the other wifi issue?

http://xdaforums.com/showthread.php?t=2140584

I ask because from poking around the codeaurora git repo, there are several commits that appear to pertain to "BMPS" (although I'm unclear on what that is, or whether or not any of those commits would even actually fix any problems.)
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Any app could have caused that extra 2% jump. Any work on the towers around you (which usually happen in the middle of the night) could have borked the signal and consequently it would have used more juice. Your previous kernel had settled at least for a couple of days, this one is out a few hrs ago. And you comment on overnight drain.. :p

It's not always the kernel guys.

On my end: all seems good, no heat (have you ever used a galaxy nexus..? :p) or unexpected / unaccounted drain.

Thank you F!
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Pardon me but why do see you ask that in some of your posts? What's the reason behind that? (I still want a GNexus.) :(
[Nexus 4 Original Android Development] rxmxsh:
Thanks for your response. I understand that it may be premature, and I'll report back. That said - my usage is consistent and the drain has differed. It could be anything. I'm not planning on updating my ROM or anything. I'm curious to see what happens.

Cheers.
[Nexus 4 Original Android Development] chrisgtl:
BMPS "Beacon Mode Power Save"
[Nexus 4 Original Android Development] sigmabeta:
Hm. That just brings up further questions for me. I was under the impression that an 802.11 "beacon" was an access point. Am I wrong?
[Nexus 4 Original Android Development] -JFK-:
Hi,

https://play.google.com/store/apps/details?id=com.nolanlawson.logcat&hl=en
[Nexus 4 Original Android Development] fozzie:
Anyone with delayed notifications tried http://xdaforums.com/showthread.php?t=2142503 ? Could be worth a shot.
[Nexus 4 Original Android Development] chrisgtl:
Holy Cow!!

I've just tried this which I found on another XDA thread. My pings before were anywhere from 10ms to 300+ms.

After doing >>>>>>> /system/etc/wifi/WCNSS_qcom_cfg.ini

set "gEnableBmps=0"

and reboot.....

I get pings of 2ms to 11ms.

Edit** Plus my wifi seems to respond after screen off (need to test more)
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

What, that the gn was heating up? Have I mentioned it that often?? :p

In my experience the gn was heating up badly, much faster than this here.

Again though, each user = different usage pattern, everything's possible.
[Nexus 4 Original Android Development] combatdeity:
Link to thread please.
[Nexus 4 Original Android Development] sigmabeta:
http://xdaforums.com/showthread.php?t=2140584
[Nexus 4 Original Android Development] Dan53:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

That'll work but you've turned off wifi power save... Prepare for Battery death
[Nexus 4 Original Android Development] realfelix:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

Dont talk about things you dont know. Wifi powersave is complete bollocks.
[Nexus 4 Original Android Development] chrisgtl:
I will live with it if it means I have a phone that works until they come up with a better suggestion.
[Nexus 4 Original Android Development] sigmabeta:
He's right though. Without the fix, I routinely burn through about 1% battery/hour on idle. with the fix, it's more like 5-6%/hour.
[Nexus 4 Original Android Development] richteralan:
Report back. After one day, the battery is great and the phone does not get warm. As great as r14.

Thanks Francisco for your great contribution!
[Nexus 4 Original Android Development] Vanhoud:
Smooth sailing on R15 :)
[Nexus 4 Original Android Development] ManOnTheMoon:
I have never got this great battery life ever on any phone I ever owned besides my old nokia lol. This is just simply amazing. Thanks brah
[Nexus 4 Original Android Development] calanizzle:
Happy flashing r15 :)
[Nexus 4 Original Android Development] jasonwc:
Franco,

Thanks for the awesome kernel. I've noticed a huge increase in battery life over stock. I was just wondering if you could add an option to disable the warning for fast charging. It appears on every boot. Thanks again for your hard work!
[Nexus 4 Original Android Development] blitz911:
Make sure the apps you download don't mess with the phone...apparently it was a game that was causing issues since j downloaded r15 right after...deleted the latest games/apps and all is good. Once again r15 is a champ. FWIW, I'm running bone stock rooted(super boot method) ROM OTA'd from 4.2 to 4.2.1, TWRP recovery, but flashing kernels via Franco app.
[Nexus 4 Original Android Development] miku3191:
Guys... Give the device a break.... Don't monitor continuously... Let it settle down for a day or two... Then do the analysis.

Flashed r15 and everything is cool... Loving it... Had 16hrs+ of battery juice yesterday...

Performance is good too... No lags at all.

Although didn't try to benchmark... after reading that post.... Haha...

Sent from my Nexus 4 - Paranoid Android ROM v2.99 - Franco.KERNEL r15
[Nexus 4 Original Android Development] Zealotki11er:
So much better then stock. 100% to 5% took me 2 Days 14 Hours, 4:30 Screen Time and 3 hours Talk. I don't think stock could last even 70% as long.
[Nexus 4 Original Android Development] _Opiate_:
There has to be some kind of explanation for this "red LED" problem other than hardware failure. I mean notice it always happens when running a benchmark, yet you can be playing a game till your phone is red hot with no problems.
[Nexus 4 Original Android Development] fresh_TD:
Everything stock here just rooted..
[Nexus 4 Original Android Development] JNewms:
It could be Google letting everyone know to quit wasting time on benchmarks that mean nothing anyway.
[Nexus 4 Original Android Development] ragnarokx:
^this

The Android gods smite those who worship false idols :)
[Nexus 4 Original Android Development] benblb:
Okay. I have decided to flash r15. I did notice that the phone feels more sluggish with Franco's kernel than with stock. The battery life is definitely worth using this kernel over stock, but is there anything I can do to make it smooth as butter again without too much impact on my battery life? Does r15 address any of this?

EDIT: I have put the MAX CPU frequency back at 1512 from 1026. It appears to have seriously helped my lag issue. Can someone tell me what the MAX frequency does and how it will affect my battery life?
[Nexus 4 Original Android Development] xploder270:
Oh, there was someone else but me?

Anyway, after I charged it - it went from 0% to 100% in about 15 minutes on AC - my device seems fine now (except for being on stock kernel with crap battery life :D).

It seems that, while benchmarking, something caused the device to shut down and the battery calibration to completely reset.

To get it out of the red LED bootloop (which was probably caused by the battery reporting 0%) it seems to need more than the 500mA from usb.
[Nexus 4 Original Android Development] benblb:
Wow! Did you do anything else to accomplish this? That is mind-blowing.
[Nexus 4 Original Android Development] cyberkid2002:
Random question but does this kernel tweak the camera at all? Really struggling to get it to focus (every shot seems blurred). Don't remember having this issue before.
[Nexus 4 Original Android Development] versd:
Don't think this kernel affects the camera!
[Nexus 4 Original Android Development] NoLunchBox_:
A lot of people come here complaining that there's a problem when they flash the kernel. Its not the kernel, its you...and the ROM lol

This kernel is 100% stable nothing wrong with it. If something broke, then it was most likely the ROM. Check that first and continue on.

Franco, good **** BTW. Kernel is running smooooooth
[Nexus 4 Original Android Development] expl0it4:
Easily double the battery life of stock or any other kernel I've tried thus far. Bought the Franco app to show my support. :thumbup:
[Nexus 4 Original Android Development] 19phil67:
I agree. I've flashed this kernel yesterday and I've no issue with camera. Battery life improvment is amazing. Great job :good:
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

And I thought "Bollocks" was what only us British said. Learn something new everyday! :)

Sent from my Nexus4™
[Nexus 4 Original Android Development] prim3:
Same here, did some tesing:

Nexus4 (IP:10.0.50.124) locked and screen off while testing :good:
[Nexus 4 Original Android Development] iammudd:
On r97, changing ONLY hostArpOffload to 1 did not work for me. As soon as I remove the arp entry, the N4 does not respond to arp requests. And on previous tests, disabling the bcast filter alone (McastBcastFilter=2) resulted in 2x the standby battery drain (even on a home network).

Even if arp offload can actually ignore all arp requests which are not targeted at the N4 (and NOT wake up the phone), there can still be a lot of broadcast traffic on the local segment. Other users can be running dropbox, samba and other uPnP devices which are constantly advertising or syncing themselves. So disabling the filter isn't a very good option for me. (If you have iptv and your N4 does not require mcast, then you'll get a much bigger battery hit with McastBcastFilter=0)
[Nexus 4 Original Android Development] malukiz:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Today I had 2 random reboot for the first time. One with r96 and one r97. Maybe it's the rom PA rom 3.1 03/03.

I was running sg:deadzone
[Nexus 4 Original Android Development] agalvin13:
r97 is amazing.. :highfive:

3% idle drain overnight. Charged to 100% before leaving for work. I read the news heavily on my commute to work which often takes 10-20% of my battery in about 20-30min. Today i arrived at work with 97% with the same usage.

AOKP PUB Unofficial / r97 / conservative / basically everything greenified :good:
[Nexus 4 Original Android Development] whittikins:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Is there a place in Franco's app to toggle mpdecision? I can't find it, and it was clearly not on because I was monitoring frequencies and it wasn't going to 1026 when swiping, etc. I had to go to trickster app, which showed it was on, but had to toggle it off then on. Now it's working properly and using 1026 as it should (with conservative governor).

Any idea why it wasn't on to begin with after a fresh 97 flash? I came from motley kernel on codefirex ROM if that matters. I have trickster but nothing set on boot. No init scripts either.
[Nexus 4 Original Android Development] pylip_lyroy:
i'm also having quite the battery save on my device.

been on since 820am and it's almost noon and still at 96%

it did one of those funny 100%--> 98% --> 100% things first though
[Nexus 4 Original Android Development] Dan53:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Implying WiFi optimisation doesn't exist? Power save is the way everyone will understand it. I don't much care for your answer though, as its already been confirmed on the last page that the fix will burn through your battery
[Nexus 4 Original Android Development] ctfrommn:
I think it has been removed/disabled in this and all other kernels using hotplugging (thalmus's). I could be wrong with Francos though.
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

On r97 my cpu0 stays at 384 and cpu1 goes to 1026.if you're using francos app to monitor you won't see it go to 1026 because it's showing the cpu0 frequency
[Nexus 4 Original Android Development] aimetti:
for the first time ever I have made it to noon at work and havent had to reset my wifi or reboot my device.

holy crap i think its fixed
[Nexus 4 Original Android Development] jarturoar:
Buddy, if you check the last 5 pages you'll notice that the only other person complain about reboots is also running PA, I think that you need to try flash stock and see if the problem persists.
[Nexus 4 Original Android Development] i860:
Just to add to my earlier post: went for my run (on 3g), same rom same programs same time ( well today was sunny for a change ;) ) and i had a 20% drain of battery, yesterday and days before it was a maximum 10 % .
[Nexus 4 Original Android Development] ÜBER™:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

You are correct. He has removed mpdecision and uses thalamus' open source hotplug drivers.

Sent from my Nexus 4
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Pretty sure this was missed last night.

Aka thalamus is out MPdecision is back.
[Nexus 4 Original Android Development] iammudd:
Sorry but unless it is a tethering test (pinging THROUGH the N4 instead of FROM the N4), the phone is not even an active participant; it is simply the device initiating the test and gathering the stats. And ping times are really meaningless. If it really took 300ms roundtrip (150ms one way) to transmit a (say 512 bit) icmp packet. ppl would be screaming that their connection is only 512 bits / 0.15s = 3413 bps. The bulk of the delay is from the remote. (It is NOT really in its job description to respond to pings from "strangers". :))

Tweaking the setting increased the power settings (and batt drain) which does increase bandwidth in a sense... but having discovered that, pls don't ask franco to put power tweaks in his app. ;)
[Nexus 4 Original Android Development] sigmabeta:
I'm not asking for anything to do with that gEnableBmps setting tweak.

There is obviously a bug in the default behavior - that is, BMPS being enabled. If you check the codeaurora git (where he pulled the other Wifi fix from) there are many, many commits that reference BMPS in one way or another. I was asking if it is possible to merge those as well. It's possible that he's already done that and they've had no effect - which is fine, I know franco is not superhuman and cannot snap his fingers and fix everything.

If nothing else now the issue is on the radar so perhaps if they do make a commit that fixes the issue, he will know to get that merged as well.
[Nexus 4 Original Android Development] mjehan:
Is MPDecision in R97 the reason why the kernel's minimum frequency is set to 1026 MHz ?

... and another query ... do i need to edit the config files to activate the Wifi patches or are the enabled by default ?

EDIT: Just flashing r97 did not solve greying out Wifi issue. Will try with the edits now
[Nexus 4 Original Android Development] Amberyl:
Same here... r97, .ini values and permissions added...
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Sorry for reposting this one but I can't find the section on n codeaurora for this...is there a way to search it based on change-id or this CRs-Fixed number ??

Fix WLAN connection issues with BTC

Increase the channel scan dwell time min/max values whenever BTC

events indicates to compromise on scan time while BT and WLAN does

the time sharing. This improves the WLAN scan results and connection

time.

Change-Id: I20db6a011c6ce6e0fd6b4171ddfa16c1b74d4613

CRs-Fixed: 360804

Via NeXuS 4 / xda-developers app
[Nexus 4 Original Android Development] BlueHawk:
+1.

For most people, having the phone respond instantaneously to an external transmission would burn through battery since the circuits will never go into a low power mode, and they wouldn't appreciate the responsiveness. For on-line gamers, that's probably a different story. The default setting is probably right for most people. A better test for normal "browsing" usage is to run Ookla's Speedtest and see what your upload and download speed is.

I'll have to try my phone at home now and see if the power consumption with the other WiFi tweak is as high as for the work network, since we have a lot more broadcast traffic here which will probably keep the WiFi circuits "switched on" more often.
[Nexus 4 Original Android Development] iowabeakster:
I was going to make a few init.d scripts today and I ran into a dead end. I'm a noob to Franco Kernel... sorry if this has been covered before... I can't find it...

In the changelog, way back on r10 it says

There is no such directory (/sys/module/msm_otg and of course no sub-dirs) on my r95. I don't see any mentions of changes in the changelog about fastcharge beyond r10.

edit -- I ran the above command from Terminal, as a test before making script. The effect of running that command seems to have disabled ALL charging, fast or otherwise. uh-oh.

edit-- edit-- I was plugged into one the several usb cords on my desk... one that wasn't connected to my PC... derp.

I've seen numerous mentions, while googling, about people not being able to enable fastcharge from various apps for Franco Kernal also.

Where would it be located? Was fastcharge removed?

Thank you.
[Nexus 4 Original Android Development] BlueHawk:
It's here. https://www.codeaurora.org/gitweb/e...it;h=3527f0c1fcb464a37a36d5b71bea2709d633f9dc

A mess of code. :p
[Nexus 4 Original Android Development] BrandoHD:
He moved it recently, you would have to search through his posts to find out though, sorry I couldn't direct you straight to that particular post