yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] schizophrenia:
these are the running apps (battery screenshots were taken a few hours ago)

ha. i am sure you will claim that i have a lot running in background (i have all settings on map off, but it just keeps running)

but the point is I had the same sets of apps running for 2 months or so...

and still, on r86 the battery was very fine.

could that be because it's about hotplugging vs mpdecision?

well, if it can't be solved, so be it.

beautiful widget / zooper widget: refresh every 2 hours

k9: push (been using push since a few years ago)
[Nexus 4 Original Android Development] ÜBER™:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

....

Sent from my Nexus 4
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
Franco, is this the Wifi fix you put in?

If so, I don't think users should be scared that this is breaking anything. This is just a Google derp I believe.

Thanks.
[Nexus 4 Original Android Development] kioshi:
GOD DAMN SON! More than half your ram...never seen that before on this phone.

I can vouch for LINE app. I use that and it generally is running 24mb most of the time when idle. ;)

Fix that Google Plus...145mb usage... O_O
[Nexus 4 Original Android Development] aimetti:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Google plus for sure. Always destroys my battery life.
[Nexus 4 Original Android Development] vomer:
BTW - you should go on v3.1 PA. Get rid of G+ and FB if you have those.
[Nexus 4 Original Android Development] schizophrenia:
haa. you guys are overreacting

i turned off all sync of G+

and the reason why it's high is because i just finished using it

the ram is low because I was heavily using the phone just a moment ago

plus, lets not forget these apps have been there since more than half a year ago and battery was fine

FB, I am greenifying it already
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
Anyone notice that when you pick up a call and talk for a minute or two, proximity sensor will fail and your screen doesn't turn back on when you pull the phone away?

Disclaimer: I noticed this last night on CM 10.1 0302 nightly. I saw it again after upgrading to M2. I did a clean flash of M2 after that and tried to reproduce, but nothing. So I restored back to my main ROM with Franco. I am now backing up once again and doing a clean flash of CM 10.1 M2 + Franco R96 to see if this is Franco related or not.

Hang on while I try to test, but if anyone's seen this please chime in. Someone did on the CM thread but got told to STFU because he didn't post a logcat like me... lol.
[Nexus 4 Original Android Development] QUIETLYloud:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I'm guessing your REALLY asking about "maps"... After all you still have 80% battery life left. That's pretty good :cool:
[Nexus 4 Original Android Development] franciscofranco:
LOL you have a gazzilion apps, gazzilion services... no wonder your idle battery life is ****ed. Maybe one of the apps update ****ed it up since r86, I'm sure of that.

Thats the fix I used.
[Nexus 4 Original Android Development] schizophrenia:
PA v3.1 does some fix?
[Nexus 4 Original Android Development] kioshi:
Time to backup the apps, factory wipe system and start fresh?
[Nexus 4 Original Android Development] vomer:
there were some fixes moles added in for battery/msim etc.

edit - you might also benefit from Battery Guru (learns your usage and optimises accordingly)
[Nexus 4 Original Android Development] schizophrenia:
i used to have way more left, like over 85%.

I expected you guys reaction. haaa

but these apps I don't see much problem

social apps, messenging apps, weather apps very basic stuff

anyway, if you guys claim these apps drained the battery, i don't understand why any of these are not showing up on 1) betterbatterystat and 2) battery usage graph

these 2 are bugged?

i guess i will do a clean flash later

batteryguru stops my sync from it's learning and i actually know what I need and what I do not

and i don't have much sync/push anyway except what I need
[Nexus 4 Original Android Development] vomer:
what does your MSIM wakelock look like? Also powermanager wakelock? Check under Kernel wakelocks in BBS.
[Nexus 4 Original Android Development] BrandoHD:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

This has happened to me a couple times, but I am never in a position to do any troubleshooting or to grab a logcat

And I use only the stock ROM
[Nexus 4 Original Android Development] schizophrenia:
good question. it's important info but i forgot to screen cap them

hsic wakelock was less than 20 minutes

same for Powermanager wakelock
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I moved Google+ and Maps from system/app to data/app and greenified them.

Sent from my Nexus 4
[Nexus 4 Original Android Development] resynx:
Do you still get push notifications from G+ when it's greenified?

Edit: Never mind searched it up.
[Nexus 4 Original Android Development] vomer:
Hmm seems reasonable. I would suggest:

Install pa 3.1 with r97

Install latest radio and BL

Check refresh settings on apps

Disable location service

Should solve issues.
[Nexus 4 Original Android Development] thesebastian:
HAHA,

I tried opening a lot of games.....Asphalt 7, Temple Run 2, Water, a few angry birds..

And i couldn't reach 1GB Used ram!
[Nexus 4 Original Android Development] schizophrenia:
haa. waiting for r97 and i shall then do a clean flash.

i am already on latest radio and BL

thanks man
[Nexus 4 Original Android Development] thesebastian:
The patch from that thread only fix a few N4. ( I still had issues after changing that string to No Filter, less issues btw...).

I'm still thinking the real fix is here!! (Including Bluetooth + Wifi Calls issue).:

prima.git

But i don't know whether can be used right now. It's daily updated.

Isn't Prima our Wifi chipset? (Qualcomm Atheros).
[Nexus 4 Original Android Development] franciscofranco:
Not sure I want to add that, screams more problems than it solves, I don't know enough of the Wi-Fi + BT connections to understand what they are doing there. I will wait until Google reviews that patch.
[Nexus 4 Original Android Development] thesebastian:
I see! Well lets wait for Google to approve this. :good:
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Honestly I don't even know. Google+ isn't my choice of social networking. I just browse Google+ when I've checked everything else and still bored lol

Sent from my Nexus 4
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
I couldn't duplicate off a clean flash of CM 10.1 M2 + Latest 4.2.2 Gapps + Franco R96. However I reboot into my dirty flashed M2 + Franco R96 and can duplicate it immediately.

I will now do a Titanium Backup, clean flash 10.1 M2 + Franco R96, and restore a few apps and install the rest and see if I can duplicate. Ugh. Hoping its just a dirty flash issue and accumulation of junk.
[Nexus 4 Original Android Development] Whosdaman:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Could someone compile two test pure stock kernels with the patches applied in each one separately? That way we can see which one is the best. Possibly build a third test with both added in to see how that performs.

It could work.
[Nexus 4 Original Android Development] jack1984:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Do you have touch control installed? If you do, it's that.
[Nexus 4 Original Android Development] franciscofranco:
r97:

* Add Codeaurora fix to the Wi-Fi delay on screen off bug (hopefully Google pushes this to the stock kernel on the next update)

* Some memory related routines improvements

* Another fix to prevent some panics related to gamma code

If no BIG issues arise I won't be releasing a new version for some days, I need some reliable data, feedback and testing.
[Nexus 4 Original Android Development] rxmxsh:
Man, you are fantastic. Thank you, sir.
[Nexus 4 Original Android Development] DesertVelo:
Thanks... I am currently experiencing the wifi issue - I am flashing now and will let you know how it works. Thank you!
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Flashing now thanks. Wise move to release a new build in some days, this way we can test battery drain and other issues if any exist.
[Nexus 4 Original Android Development] noneabove:
:crying: how will I quench my flashing addiction :cry:

Been looking forward to this though for the last.. hour.. so thanks franco! :)
[Nexus 4 Original Android Development] franciscofranco:
I have 0 problems now, before I would always lose my connection to Google servers and lost tons of notifications... it was annoying but nothing we could fix so I didn't give a ****. Now its great !
[Nexus 4 Original Android Development] jack1984:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I didn't want to jinx it with r96 but ui smoothness now seems indistinguishable to stock. To achieve this using single core hot plugging on conservative governor is pretty amazing.
[Nexus 4 Original Android Development] DaX05:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Yeah, I haven't had that issue in a long time. :D

Beamed via Nexus 4
[Nexus 4 Original Android Development] alanwyl:
Flashed r97 just now,

your app shows the min frequency is 1026MHz again.....
[Nexus 4 Original Android Development] I2IEAILiiTY:
Did you wipe the app's data when you flashed the new kernel?

That might solve your problem
[Nexus 4 Original Android Development] drawde40599:
U could start over at build 1 :P ;):)

---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------

384 is min here, i just flashed 97, I didn't wipe app or anything else just flashed it works fine
[Nexus 4 Original Android Development] franciscofranco:
What apps do you have setting your frequencies? I bet you have some app doing that and it ****s up the protection I've set in the ramdisk to prevent that to happen.
[Nexus 4 Original Android Development] derPianist:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

I want to flash r97 so badly hut I have to leave the house to go to school. First world problems. :(

Thanks for the release. The WiFi fix does look so awesome. Can't wait to test it out. No more WhatsApp push delay. :highfive:
[Nexus 4 Original Android Development] Daniel Dumile:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Use franco's app.
[Nexus 4 Original Android Development] yokuyuki:
Try using terminal?

I hope this patch doesn't change battery drain though. The flashable fix that they posted in the thread increased battery drain.
[Nexus 4 Original Android Development] alanwyl:
Nothing. I use EOS, AOSP-based, there is a performance settings to set the minimum frequency.

I set it to 384 min and set on boot. Don't know what causes that.

Maybe it's the ROM's problem. @Uber:)
[Nexus 4 Original Android Development] franciscofranco:
Yes that ****s it up. Why would you set 384MHz as min on boot if thats the default? Makes 0 sense and you're just ruining the protection against MPdecision stupid minimum frequency scaling I placed in the ramdisk. ;)
[Nexus 4 Original Android Development] Kazliux:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Touch control is not working on 97 :(

Sent from my sexy Nexus 4
[Nexus 4 Original Android Development] rocklee80:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

Flashed r97 nothing changed in cpufreq At all. Its definetly one of your apps that cause min freq To be 1026mhz.

---------- Post added at 07:44 AM ---------- Previous post was at 07:42 AM ----------

Post that in bonpury's thread!!
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Yep. Just to hammer it home:

Sent from my Nexus 4
[Nexus 4 Original Android Development] drawde40599:
Ummmmm yes it dose , works fantastic using it right now
[Nexus 4 Original Android Development] flash-90:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

Can't confirm that, TC is working for me on r97

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] drawde40599:
Just freeze or uninstall from system , u don't need that app if u have Franco's , its just another app unnecessarily running in background . I use AOKP and froze that app long time ago , its useful if u don't use custom kernels that don't have there own app but .....
[Nexus 4 Original Android Development] Kazliux:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

So sorry... False alarm. Restarter n4, tc started to work. Sorry guys

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

No1 here is worried about touch control.
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Franco you implemented this one in r97 or I misunderstood? Thanks

Edit :Would you mind checking the BT+WiFi issue that cause a mutual crash for both ? Seems that Qualcomm is working on it too.
[Nexus 4 Original Android Development] thracemerin:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Its in there.
[Nexus 4 Original Android Development] darkamikaze:
Hmm tried to ping my phone after 10 seconds and it says host unreachable :/ ..

AirDroid doesn't seem to hold the connection when the device turns off as well X_x such a sneaky problem of the Nexus 4 this wifi bug is -__=
[Nexus 4 Original Android Development] drawde40599:
Try reeboot PC or use different browser on PC , that damn app gives me issues like that sometimes on every phone I have , eventually works ( not saying isn't this kernel but that app be screwy :P)
[Nexus 4 Original Android Development] xda890:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

No, only the wifi fix is included not the wifi+bt crash ...

BTJ
[Nexus 4 Original Android Development] Haomuch:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

What will Qualcomm do if their people find the fix?
[Nexus 4 Original Android Development] ectodroid:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Same happens here on eos rom, even with the performance service disabled.

Cleared app data for fK etc
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Push new drivers maybe...dunno yet :/
[Nexus 4 Original Android Development] drawde40599:
Check out post 17462 ;). I think he already answer that question 3 pages ago . if different from what ur talking about , sorry my bad ;)
[Nexus 4 Original Android Development] impruv:
Works fine for me.... paid version.
[Nexus 4 Original Android Development] franciscofranco:
They must have some kind of service resetting the permissions for the files that I protect. I really can't do anything about that, I'm sorry.
[Nexus 4 Original Android Development] mdv53:
would you like to add this to your kernel?, I'm using now faux kernel, i like the clearity of the ear sound.

https://github.com/faux123/mako/commit/0a8888fa80939df2e88240d19c874466dd3f0297

https://github.com/faux123/mako/commit/836151137e680316df852b1a7895682a4fe3cbda
[Nexus 4 Original Android Development] cenonmin:
Works fine here 2!
[Nexus 4 Original Android Development] fozzie:
McastBcastFilter

With the WiFi fixes in r97, should we revert the McastBcastFilter value change in http://xdaforums.com/showthread.php?t=2072930 back to '3', or leave it at '0?

Thanks.
[Nexus 4 Original Android Development] franciscofranco:
While I appreciate the contribution of faux by pushing those patches I don't plan on adding it in the foreseeable future.
[Nexus 4 Original Android Development] tibere86:
Franco, are you recommending leaving MPdecision on? I forgot how smooth it was :)
[Nexus 4 Original Android Development] DerKiLLa:
Which version of the aurorafix is integrated?

release-v1 or exp-v1.1?
[Nexus 4 Original Android Development] franciscofranco:
Just leave it on yep!

Aurorafix? Its late and I'm tired, am I missing something?
[Nexus 4 Original Android Development] ectodroid:
So 1026-1512 is not the f.K app default settings for cpu frequency on conservative governor ?

Just seems strange as I had no problem back when interactive was default. Always started at 384 then.

Didn't change rom between those versions.
[Nexus 4 Original Android Development] gmanb:
Where can I download the stock kernel for 4.2.2?

Also, should you restore to stock kernel everytime before I update the franco kernel or is it fine to update through the app?
[Nexus 4 Original Android Development] defnz:
The problem exists for all phones, some routers just handle the issue better than others
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Maybe there is an experimental fix on the WiFi issue if I got it...this is what he means I suppose

Edit : Copy from a guy in the same thread about Wifi + BT issue:

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] franciscofranco:
But there is no issue on the GN, nothing changes the minimum frequency on that device unless you change it yourself.

You can find stock kernel in the Nexus images from Google.

You do not need to flash anything before flashing this kernel - just flash and forget.

I'll be honest, at this time of the day, after a long working day in preparation for a deliverable tomorrow afternoon for Hyundai, I'm not gonna even bother trying to understand xD
[Nexus 4 Original Android Development] fozzie:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

No.
[Nexus 4 Original Android Development] DerKiLLa:
"Add Codeaurora fix"

;)

There is a stable v1 and a v1.1 which is experimental.

the v1.1 also includes another WiFi fix: "My WiFi drops while the screen off resulting in delayed notifications!"
[Nexus 4 Original Android Development] CruX.:
Just flashed r97, wifi drop does still happen :/
[Nexus 4 Original Android Development] franciscofranco:
Everything is fine here, my issue of losing connection to Google servers is fixed with the patch.
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

What's min/max frequency supposed to be set to in your app Franco? I wiped the data when I flashed r97 and it's at 384/1512.

The performance tab I settings for my rom (cm10 linaro +bionic) is the same.
[Nexus 4 Original Android Development] fozzie:
Those are correct.
[Nexus 4 Original Android Development] Amberyl:
r97 flashed

Wifi problem persist here... :(
[Nexus 4 Original Android Development] nguyen47:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I still have delay notifications
[Nexus 4 Original Android Development] franciscofranco:
Lets try something. According to this patch we should also set those settings: https://www.codeaurora.org/gitweb/e...;hpb=2214143009d76d137b5d37aead4d829e38c5c57c

So go to /system/etc/wifi/WCNSS_qcom_cfg.ini and change McastBcastFilter to 0 and hostArpOffload from 0 to 1. The other setting as far as I can see is non-existent.

Then reboot.

Let me know how that works.
[Nexus 4 Original Android Development] Lownita:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

McastBcastFilter to 0 always fixed it for me.
[Nexus 4 Original Android Development] franciscofranco:
[KERNEL][GPL][N4] franco.Kernel - r97

Yes but now that is properly handled in the code from the patch I merged so I guess it doesnt rape the battery like it did before the patch.
[Nexus 4 Original Android Development] Net.silb:
Trying now, but I am not in an area with WiFi at the moment... :p
[Nexus 4 Original Android Development] pro.aggro:
:good:

1. Screen with Stock Kernel

2. Screen with r97

Wifi problems solved? Seems to be legit!
[Nexus 4 Original Android Development] Amberyl:
When i do that, my wifi doesn´t start
[Nexus 4 Original Android Development] B3rt0:
same here!
[Nexus 4 Original Android Development] rocklee80:
done that too, everything is fine here.
[Nexus 4 Original Android Development] BlueHawk:
+1 :highfive:
[Nexus 4 Original Android Development] TRSolebum:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

Check the files permissions, it must be

rw-r--r--
[Nexus 4 Original Android Development] Amberyl:
facepalm...

Thank you very much!! haha, now its works fine!
[Nexus 4 Original Android Development] vomer:
8Hr 3G test complete. Drain is looking normal at around 7%.

@franco - noticed this strange app behaviour - if you change the download directory & download zip and flash - the phone stays in recovery mode after the flash until you manually hit reboot (TWRP). No big deal for me but just pointing it out. :good:
[Nexus 4 Original Android Development] keyra74:
nope i did that and it doesn't stick in recovery
[Nexus 4 Original Android Development] vomer:
Did you change download directory in Franco app? Also what version of TWRP you on?
[Nexus 4 Original Android Development] KingBeike:
Applied this now... will give you feedback in a few hours!

EDIT: Wifi does not work after reboot! Will try fixing permissions now...
[Nexus 4 Original Android Development] more2come:
Don't know if this is on purpose, but I like that mpdecision is back on deck! :) With all the other features, new franco kernel (nightly 97) is my new favourite kernel! Great responsiveness, snappy speed, smooth scrolling!
[Nexus 4 Original Android Development] blax123:
I flashed r97, then i applied those settings in the config file with the right permissions but it is still not working, maybe a bit better (maybe only a placebo)but not like it is supposed to be
[Nexus 4 Original Android Development] KingBeike:
After i changing the config file, the permission were set to rw- - - ... so it did not work... then i granted all permission ( i think a lot to much but for safety:D) and now everything works fine!
[Nexus 4 Original Android Development] nellisere:
Sometimes (every 1 out of 10 unlocks or so) when unlocking the phone, the touch is unresponsive, or it doesn't register that I've lifted my finger off the display, so I have to turn the screen off for a second, then back on, and it's fine. Would this be a kernel issue, rom issue, or hardware defect?
[Nexus 4 Original Android Development] KingBeike:
Still have the notification delay :(

Using r97 and the config file change :(

Screen was off for about 5 minuts and no notification was there (no led blink)... after waking the phone up the whats app messages appear... 2 minutes after they really arrived...
[Nexus 4 Original Android Development] meangreenie:
Did you try resetting your router?
[Nexus 4 Original Android Development] florichelle:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

Same here :(

... Nexus 4 in da House
[Nexus 4 Original Android Development] formicae:
Is 1026MHz still undervolted in the more recent kernel releases? If so, is it still by 50mV? I'd like to bump it to the stock value before playing with the +/-25 feature in the app.
[Nexus 4 Original Android Development] harlock:
WiFi driver patch

@franciscofranco:

Hi

I think there is something missing in the latest WiFi patch:

if you read here:

https://www.codeaurora.org/gitweb/e...;hpb=2214143009d76d137b5d37aead4d829e38c5c57c

there is another flag: gEnableActiveModeOffload

I looked in your git source but it looks like this is not handled in the code.

Thanks a lot for your work

Ciao
[Nexus 4 Original Android Development] rocklee80:
thats because you can edit it manually with a file explorer or with the terminal emulator. Franco mantioned it before. it is in the kernel already but you just must set the hostArpOffload=1 and the McastBcastFilter=0

EDIT: you can change it here: /system/etc/wifi/WCNSS_qcom_cfg.ini. Change McastBcastFilter from 3 to 0 and hostArpOffload from 0 to 1
[Nexus 4 Original Android Development] aimetti:
honestly , at this point I dont even care about the notification delay. I am so sick of wifi just not working after being in sleep for a bit. I am forced to go into airplane mode or toggle the wifi to get it back again.

Testing now at a location where I always have issues. I will report back with findings.