yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] digitallysick:
The default gamma settings for r102 for me personally, are not as good as it was for r96. Anyone else, or any way to tweak them to what they were on r96?
[Nexus 4 Original Android Development] LaboDJ:
Hi Franco, my Nexus 4 just arrived, I'm using it with PA and your kernel... everything fine.

I also bought franco kernel updater on PlayStore to support this great kernel.

Anyway... I think it will be usefull a "default/reset CPU voltage" in cpu voltage tab.

What do you think about that?
[Nexus 4 Original Android Development] Dan53:
Use http://xdaforums.com/showpost.php?p=38952426&postcount=18565 in the app. Or if you don't use the app I'll create an init.d file for you
[Nexus 4 Original Android Development] VivaErBetis:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Agree. Now you can untick the mark to retain values on reboot and just perform a reboot to do the same, but a reset option should be faster.
[Nexus 4 Original Android Development] gotjazz:
AW: [KERNEL][GPL][N4] franco.Kernel - r102

Not sure - this could be a coincidence but since flashing r102 in-call volume - although maxed out is very low. I don't understand anything. I didn't change any audio related settings. Only later to try and correct it that is. Going back to defaults and flashing r97 again didn't help either. Could it be kernel related or is my hardware broken?
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Been getting high msm wake lock again with 102 (4.5%) vs 100 (1.8%).

Anyone getting the same?
[Nexus 4 Original Android Development] mitch44:
AW: [KERNEL][GPL][N4] franco.Kernel - r102

Yes i used the Stock charger. I also tested with the charger from my girlfriends s3, but i have the same result. When charger is connected, the sens is Bad :(

..... from my Nexus 4 .....
[Nexus 4 Original Android Development] mikelodean7:
do you have USB-Debugging turned on all the time? i´ve got similar problems, wenn usb debugging is on and the phone is connected via usb. no matter if pc, charger or anything else.
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

I concur.... 4.1% overnight vs around 1% on r100. I figured there would be fallout from changing the polling frequency though so this is not unexpected. If I didn't think going back to r100 would change the gamma settings I absolutely love I would do it cause I had zero issues with notifications on r100. It seems there were many other changes to r102 that probably out weigh slightly higher wake locks though.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] kaiser_tytnii:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Yes and that's somewhat expected if you read the change log
[Nexus 4 Original Android Development] jak3z:
So far so good with 102. :laugh:

I don't really use the headphone amplification, since all my headsets are loud enough at 50% phone volume even in the street.

I also pushed to your github franco a new translation file for spanish with everything updated.
[Nexus 4 Original Android Development] florichelle:
AW: [KERNEL][GPL][N4] franco.Kernel - r102

Are there still any WLAN and 3G issues of the r100 in the newest r102? Some users were complaining about connection speed and loss.

... Nexus 4 in da House
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Useless post? I made an observation, the change log mentioned our being tweaked, I'm starting my findings and wanted to see other people's feedback
[Nexus 4 Original Android Development] C0qRouge:
I will be the 3566th user talking about the "new" colors but please read:

I switched from r97 to r102 and the recommended colors from obsanity did change :( I don't like the new one!

With the old one I did get a gamma value of 1.6 nearly perfect for all colors.

The "default" colors of r102 are somewhere between 1.8 and 2.2 depending on which color you are. So could someone please provide me with the recommended colors from obsanity of r97? that would be really nice!!

The recommended new color settings by obsanity are way to much in my opinion :(
[Nexus 4 Original Android Development] dark_ente:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

I'm usually not concern with battery since I have an external battery pack but HOLY ****, r102 is really something!!! Stock setting with-125 UV:

5 min derping around xda and browse the web and my battery didn't even lose 1%. If somebody is patient they can get over 8 hours SOT

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

I'm on r97, for me recommended is a bit to dark in the midtones, GUI looks nice but photos and videos not to my taste.
[Nexus 4 Original Android Development] :
The same to me !
[Nexus 4 Original Android Development] mitch44:
AW: [KERNEL][GPL][N4] franco.Kernel - r102

Yes i use USB debugging all the time. Because of titanium backup. I use the automatic Backup function every evening.

If i turn off usb debugging TB freezes most of time i use it.

..... from my Nexus 4 .....
[Nexus 4 Original Android Development] yukkio:
Hi, I wonder if you recommend mpdecision ON. Is it worse for battery?

Thanks.

BR.
[Nexus 4 Original Android Development] dark_ente:
Nope, see my post above

I can get 7-8h on screen time with 20% brightness if I try :D
[Nexus 4 Original Android Development] shamu11:
Well I'm starting to getting really excited nonetheless. Google always pulls through with some really neat things. I hope we get a new gallery, music, and contacts app. Google IO can't come soon enough! :D
[Nexus 4 Original Android Development] kaiser_tytnii:
not sure if yours or mine is useless since it is clearly stated in the changelog:

isn't that a good indication that that wakelock is going to go up? what else can you draw from this statement in the changelog?
[Nexus 4 Original Android Development] juggies:
I'm seeing extremely minimal usage overnight or idle on r102. Maybe 1% overnight.
[Nexus 4 Original Android Development] pandeus:
dammit franco, stop releasing so fast im getting tired of flashing jk, keep up the good work, your kernel has saved my battery tremendously
[Nexus 4 Original Android Development] yokuyuki:
Clear data.

The defaults are same.

I'm curious if franco can make that a configurable value so that those who don't need the extra auto_suspend timer can decrease it.

I don't think you can turn it off.
[Nexus 4 Original Android Development] duff91:
R: [KERNEL][GPL][N4] franco.Kernel - r102

Connection seems not wotking properly on mine with r102
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

I was speaking to wake lock % not battery drain. I lost 3% in 6 hours last night which is about average for me.... I'm on 3g/4g nearly all the time and have sync turned on.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] LaboDJ:
This way it clear all settings! I just want to restore voltages without reboot!
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Can't you just rename the mpdecision file with .bak or delete it?

Not a good idea though.

Sent from my Nexus 4
[Nexus 4 Original Android Development] kaiser_tytnii:
+1!!! That's what i had in mind as well!
[Nexus 4 Original Android Development] yukkio:
Ok, I thought it worse for battery and it did phone got hot. So with mpdecicion ON cpu scales 1026 to 1516, is it?
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Only when the screen is being touched..... Otherwise it will drop down to 384 after a second or two.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] fozzie:
Take a screenshot of the voltages _before_ you change them.
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Second full battery cycle and the closest I've gotten to 5 hr screen time ever.... All 3g, everything synced, auto brightness, and regular usage for me..... Amazing kernel!

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Unfortunately the battery meter is notoriously inaccurate. So it will almost certainly compensate a bit later by dropping a few percent for no apparent reason as it "catches up".

Sent from my Nexus 4
[Nexus 4 Original Android Development] starscream92:
r102 is indeed something! This is the smoothest f.K I've ever tried. Yet battery is still as amazing as always.

Yeah, it's very unfortunate.

"Ooh wow my battery is still at 99%"

*5 minutes later*

"Oh **** 80%"
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
the thing is streaming music won't make your phone run at 1.5ghz... we know this already. If it does, you need to look at the app you're running.

I actually feel like going after max CPU speed while screen off isn't really the solution to our battery problems. There's multiple things to look at. MY phone streams music at 384 mhz just fine. It sometimes spikes to the next freq and even hits 700mhz briefly, but that's it.

And so if I set 384mhz max, that could work, but then what? What happens when a Whatsapp notification pops up? Or a Google+ Hangoug comes in? Or my widget decides to update Facebook/Twitter? THen my phone doesn't have enough power. At that point you're going to induce a long wakelock as the system tries to work at 384mhz.

The solution is to look at your apps and to figure out what you can do to reduce wakelocks. A few wakelocks are ok, but when your phone can speedily get it done, you can get back to deep sleep faster. That will save more battery life.

If you're depending on a max freq for screen off, you're doing it wrong.

Edit: Google Play Music works at 384mhz no problem. GrooveMobile for GrooveShark is more intense, and uses 384/486/594/702 about evenly. That's HTML5 vs a native music player, so notice the difference. But even then NONE of these apps should be running at 1.5ghz x 4 100% cpu usage.
[Nexus 4 Original Android Development] johann2204:
can someone post the stock voltage setting. i know they were posted a few days ago, but cant find them. thx
[Nexus 4 Original Android Development] yokuyuki:
How many times do you need to reset your voltage? Why not just set it once and forget it?

That seems like a bad idea.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
One thing I'm particularly curious about is if there are objective battery tests we can run to compare our phones to stock. I see all these posts about 6 hours of SOT and how they browsed forever and only lost 2% battery, etc.

I run an iPhone 5 and Nexus 4 side by side. I set my iPhone 5 to an absurd # of notifications and enabled latitude to mimic my Nexus 4, or to at least handicap it. And while my Nexus 4 will not push exchange email at night, my iPhone 5 will go all night, and also screen on when Gmail comes in. Anyway, I'm digressing.

So I'm curious after all this tweaking how MUCH my Nexus 4 has improved. For example, Anandtech, Engadget, etc have battery rundown tests, and quite honestly, the Nexus 4 sucks at all those. I'm curious as to how much these numbers would improve with Franco kernel, etc. For example, in Engadget, we're behind the SGS3, HTC One X, iPhone 5, and Optimus G. Do we have a chance at beating them with custom kernels?
[Nexus 4 Original Android Development] trueblueram:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

It's not a race mate, that too of battery life:D
[Nexus 4 Original Android Development] Stretlow:
her in lies you biggest problem, no?
[Nexus 4 Original Android Development] TheByteSmasher:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Could someone point me to the post, like eleventy-billion pages back from the guy who did the explanation of color calibration... the film guy...? Thanks

Sent from my Nexus 4 or 7
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

It is. Unless you enable hot plugging before reboot or something.

Sent from my Nexus 4
[Nexus 4 Original Android Development] johann2204:
look here

http://xdaforums.com/showpost.php?p=39012344&postcount=18949

http://xdaforums.com/showpost.php?p=37917796&postcount=12471
[Nexus 4 Original Android Development] m3lover1:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Thanks Franco for the awesome r102. It's so freaking smooth at everything I just can't help swiping up and down in tapatalk, motorcycle app, sms, what's app, viber , any kind of app because I am amazed and love looking at how smooth it is. :D

Search for posts under visceralpsyche.
[Nexus 4 Original Android Development] michael_ta315:
here: http://xdaforums.com/showpost.php?p=37917796&postcount=12471

you should have searched for his name. maybe you forgot then that's okay. visceralpsyche is his name :good:
[Nexus 4 Original Android Development] TheByteSmasher:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Thanks, couldn't remember the name :o

Sent from my Nexus 4 or 7
[Nexus 4 Original Android Development] Archmag3:
being a big fan of your kernel and the color settings that have blown my mind..the respect for your work has increased 10 fold :) franco i could please please incorporate the wifi delayed notification fix please ? I'm in my office and on different floor away from PC and I dont get the mail or whatsapp notification of my team members :( please..it would be great boon for me if you could patch it some way..thanks a lot ^_^
[Nexus 4 Original Android Development] freddysam:
I looked for an app that could do this testing, but none exist. I created my own testing scheme, and it works fairly well. Charge your phone to 100%. Use it as you normally would until the battery drops to 50%. Write down the time it took. Repeat this 5 times. Do not update apps or change anything else while running the 5 tests. Average the times and double the value for your average battery life. If you want to test to see how actuate this method is, simply repeat it. You'll see that you get a similar value. Now change kernels/settings and test again.

What I found was that better life was slightly improved on franco vs stock. I originally did this on faux and found no improvement in battery life over stock. That is partly why I abandoned that kernel, but in general, no kernel is going to drastically change your battery life if you constantly use your phone.
[Nexus 4 Original Android Development] yokuyuki:
Which I don't think you can do anymore either.

I think you misunderstand. The Nexus 4 isn't syncing exchange and the iPhone is syncing exchange and also turns its screen on when a new mail from Gmail comes in meaning that the drain on the iPhone should be a lot greater yet it lasts longer than the Nexus 4.

Did r97 help for you? If it didn't, then putting the CAF fix back in isn't going to help you. If you don't care about its effect on battery life, I suggest you change those Bcast etc values.
[Nexus 4 Original Android Development] Archmag3:
I cant recall..But changing values hasnt helped :( only time i found it working properly was when I was on faux's kernel to test the patches couple of days ago. :eek:
[Nexus 4 Original Android Development] zadnica:
Francisco, thx for your work :D
[Nexus 4 Original Android Development] veyka:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Its not fixed yet, seems qcom got ARP offloading working, but haven't patched up the packet filter to fix the main issue, the patches floating around don't really help, and the ser franco merged before didn't do anything and in some cases made things worse.

Sent via Nexus 4
[Nexus 4 Original Android Development] I2IEAILiiTY:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Well go back to faux's kernel. We'll let you know when it's safe to come back home. :thumbup:
[Nexus 4 Original Android Development] Archmag3:
mind your attitude and language..i assume you being blind..coz you missed what I said.

also i dont see a point why I should not report if its going to make franco kernel the best out there without any shortcoming.I'm ready to take few tantrums from likes of you for sake of that ;)
[Nexus 4 Original Android Development] drawde40599:
recommended

These new recommended color settings are BadAss , pre 100 I thought to dark but these r very nice at 60% bright !!

Thanks everyone that was involved !!!
[Nexus 4 Original Android Development] NYZack:
Sorry, can I ask this question again? Is there still a custom power.msm8960.so in /system/lib/hw that needs to be changed to go back to the stock kernel, or is reverting to stock now just a matter of reflashing the stock kernel?
[Nexus 4 Original Android Development] nickster1:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

I cant believe how hostile this thread has become. I believe Franco said if you don't like what somebody posted than ignore it. No need to be rude. I believe his ONE request was for people to be nice on his thread.
[Nexus 4 Original Android Development] Riyanweb:
+1
[Nexus 4 Original Android Development] tkalli:
+2
[Nexus 4 Original Android Development] maddoggin:
actually this just means the pre-loaded classes needs updating does not mean system is ****ed lol. easy fix for a rom dev but the pre-loaded classes really does nothing and all this fix HERE will do is just silence those messages you see. allot of rom devs do not even bother with this since like i mentioned it does nothing but silence the warnings. sorry if this has been mentioned already i was gone for a few days and came back and was catching up where i left off! which was about 1000 pages ago lmao!
[Nexus 4 Original Android Development] punkeroso:
Franco, is there any drawback flashing the kernel using dd?

i.e.:

dd if=boot.img of=/dev/block/mmcblk0p6

Here is all fine so far; I guess if there is some kind of script that is executed after the flash, using CWM for example.

As always, thanks for this awesome kernel!
[Nexus 4 Original Android Development] Arstoien:
I too noticed the notification delay on wifi on r102 (I skipped r100). The previous versions didn't have any notification delay for me. Now back to r93, and it's working perfect (r97 had some screen issues with the screen turning on – every now and then it wasn't responsive and stayed dark). Could anyone tell me what exactly got "broken" from the patches that caused Franco to revert them? Is it related to data drops?

On another subject: Franco what are your plans regarding mpdecision? From my experience it's on par with the last hotplug version on both battery and smoothness. I might even say the old hotplugging is a bit smoother but if it is (not just placebo), it's minor. And I liked how I can force all 4 cores to be online when I'm playing a heavy game. When throttling GTA VC, it's got very low framerate on mpdecisions (usually two cores are on and 3rd and 4th come on and off every now and then). When all 4 cores are running at 1026, the gameplay is mostly smooth with little to no frame loss.

I would really appreciate an answer to these two questions, thanks!
[Nexus 4 Original Android Development] franciscofranco:
No need to change anything, just flash stock boot.img if you want stock kernel.

Nop, thats fine!
[Nexus 4 Original Android Development] ÜBER™:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

So glad the default values are back in the app... Those with a little saturation and contrast and its perfect. :D

Sent from my Nexus 4
[Nexus 4 Original Android Development] TRSolebum:
https://github.com/faux123/mako/commit/221d6ac6e2c0a4b6e98a1e33fb747cc064e35d31

this seems to be the fix used in faux kernel, maybe franco can take a look at it :)
[Nexus 4 Original Android Development] Archmag3:
I was about to link to that code but the hatred over here prevented me from doing so :( but yes i hope franco takes a look at it. :fingers-crossed:
[Nexus 4 Original Android Development] franciscofranco:
I had that patch, reverted it because it fixed some things but borked some other. Rather not risk that again.
[Nexus 4 Original Android Development] Rivermind:
It wasn't written by faux, only merged into his kernel. Worrying over this is like worrying over Franco using any other random Linux patch because another person decided to use it as well. Posting a link never hurt anyone.
[Nexus 4 Original Android Development] starscream92:
I tested the Recommended Gamma settings last night, and I personally found it a little too dark. The contrast is perfect though.

But I don't see anyone else complaining. Am I doing something wrong? All my RGB multipliers are at 255. Nothing else is changed.

How do you guys know what block and page (i.e. mmcblkxpy) is for what partition? I've always wondered this.
[Nexus 4 Original Android Development] franciscofranco:
Its fairly simple:

ls -l /dev/block/platform/msm_sdcc.1/by-name

;)
[Nexus 4 Original Android Development] Archmag3:
ohh damn :( was the damage serious ? :confused:
[Nexus 4 Original Android Development] miguepereira77:
Re: [KERNEL][GPL][N4] franco.Kernel - r102
[Nexus 4 Original Android Development] franciscofranco:
For example it fixed loss of google server connection on screen off for me (using wifi ofc), but it ****ed notifications even further and only way for me was chancing the multicast/broadcast flag in the .cfg which ****ed my battery. I just rather wait for Qualcomm/Google, they know what they are doing.
[Nexus 4 Original Android Development] Shano56:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

Why not just have an option to reset voltages? Will this hurt you? I see only positive outcome from this. It will make it easier for people who are adjusting voltages and it will stop people from posting asking for stock voltages.
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

But it does not fix the issue there are so many variables depends on the router etc...

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

PS: I need stock Voltage pls
[Nexus 4 Original Android Development] LaboDJ:
R: [KERNEL][GPL][N4] franco.Kernel - r102

+2
[Nexus 4 Original Android Development] Shano56:
Re: [KERNEL][GPL][N4] franco.Kernel - r102

I put the brightness up to 20, but it was too high for high backlight brightness, I find 15 is a good compromise for me, play around with the gamma brightness!
[Nexus 4 Original Android Development] rocklee80:
AW: [KERNEL][GPL][N4] franco.Kernel - r102

Just untick the set on Boot in voltages and reboot. Than you have the stock voltages
[Nexus 4 Original Android Development] franciscofranco:
Uncheck set on boot and reboot.
[Nexus 4 Original Android Development] yokuyuki:
Just flash a stock kernel that includes a powerhal.
[Nexus 4 Original Android Development] SpecRek9:
Hi mates, since a couple of weeks ago mi N4 randomly gets a black screen and don't respond to any button, call, sms, email, etc, It just happened again this afternoon; does anyone experienced this too? shall this be app related, userspace related, kernel related?

Any hint will be appreciated.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
I'm saying my iPhone 5 does a lot more in terms of notifications. It pushes exchange 24/7. It screens on when any notification arrives (Facebook, Twitter, Gmail).

My Nexus 4 pushes Exchange 7am - 7pm. Notifications only vibrate. Facebook sync is off. Twitter is on at 4 hours so I can get push. Notification LED comes on, but screen does not.

My point is that despite all this, my iPhone feels like it lasts longer.

Now this is all subjective, so I'd like to see if there are objective tests we users can run. You know how everyone here loves posting about benchmarks and Antutu? Why not have a battery benchmark test. SOT is really not sufficient IMO since it only measures screen time, as its hard to decouple CPU and other power consuming tasks.
[Nexus 4 Original Android Development] starscream92:
Sounds like a sleep of death. Are you undervolted? Can you pull last_kmsg if this ever happens again? It'll help Franco troubleshoot the problem (if it's actually kernel-related).
[Nexus 4 Original Android Development] LaboDJ:
...convenient, fast as hell! :eek: