yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Pete_79:
clear data of google services framework, reboot
[Nexus 4 Original Android Development] pro.aggro:
AW: [KERNEL][GPL][N4] franco.Kernel - r96

Everytime my screen is off, i lost my wifi connection. I tried all the things mentioned in the special wifi thread, but this does not solved it. With r33 it works.

Any ideas?

Sent from Nexus 4 powered by PARANOIDANDROID
[Nexus 4 Original Android Development] prim3:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Same here after flashing r96. Minimum CPU Frequency is set to 1026MHz by default.... :confused:
[Nexus 4 Original Android Development] matesc:
AW: [KERNEL][GPL][N4] franco.Kernel - r96

Just read! :o

And if you use CPU SPY from Play store you will see that 384MHz is used, though!
[Nexus 4 Original Android Development] fozzie:
Where/how are you looking? In Franco's app and using Perfmon you'll see it's 384MHz.

If the app says something different then Clear App Settings & reboot.
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Check with CPU Spy that 384MHz is used but not as much as with interactive. Also perfmon shows that the lowest at idle is 384MHz, see my screenshot attached (though as soon as you touch the screen the second core ramps up to 1026MHz).
[Nexus 4 Original Android Development] prim3:
My bad, just woke up:) After Clear App Settings & reboot all works fine :silly:
[Nexus 4 Original Android Development] Bar81:
I know I'm RLTTP, but the 4.2.2 binaries finally got released so I jumped on board a proper ROM and I have to say there must be some hardware differences between the different screens between revisions since these settings look fantastic on my rev11 while the the visceralpsyche settings look pretty dark and overblown.

In any case, thanks to you both for all of your hard work.
[Nexus 4 Original Android Development] prim3:
Minimum CPU Frequency

To bad, setting are still there, even after clearing app settings & reboot and reinstallation of FKU....
[Nexus 4 Original Android Development] ectodroid:
I set it to 384-1512 and Set CPU settings on boot.

Works fine.
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

R96 has fixed the lag for me. :cool:

Sent from my Nexus4™
[Nexus 4 Original Android Development] i860:
Supersu and Busybox updated?
[Nexus 4 Original Android Development] Whosdaman:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Hey franco, I noticed a few differences in the behavior of the CPU. I might be able to explain the lagging and stuttering based on some experiments I've done on my phone. Hopefully it isn't only happening to me. I noticed it, related it to a current issue, and I figured someone might be interested in hearing what I found. So here are a few of my observations, comments, and requests/suggestions. For awareness purposes, I was running CyanogenMod 10.1 nightly for theses tests, so just shoot me now. :P

While running the r95 kernel with the interactive governor, I noticed that there is only a single-core active when the phone is idling. That is awesome, but here's where I realized that something was wrong. When touching the display, a second core would not activate at all. Even the frequency didn't move at all. So micro-stuttering and -lagging would typically occur on the initial use of a device that is idling.

So, I installed r96 and read that you changed the default governor to conservation. Well, it works exactly like I remember it's suppose to. I only wish to inquire about anyway to change conservation governor to skip immediately to the minimum frequency when downscaling?

That aside, I switched back to interactive to test it out again. Still single-core idling present, which is great to see. When I touch the screen, the second core does go live immediately now. Though, there is an excessive delay in the scaling of the frequency to the max setting. In fact, when the second core goes back offline, the current frequency jumps to the max then falls back to idling status. I'm just reporting this into you, maybe it'll help you. If not, o well.

Nonetheless, Ill take idling using only one core over the interactive governor anyway. Your recent tweaks are precisely how I assumed this phone would have been operating all along. The frequency scaling control of the conservation governor should help people save battery life and keep most of them quiet.

Thank you for the hard work!
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

hi franco, why does this hotplug setting cannot be used?

via franco kernel r96 and cm10.1 m2
[Nexus 4 Original Android Development] itshotinhere:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Holy &%$#. R96 with the latest PA release is absolutely flying. So freaking fast and fluid. Hard to believe this is Conservative! Thanks, Franco!
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

i never play games, so i want to set the CPU hotplug settings to the dual-core for power savings. so now what should i do? :D
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Just play with what you have for now. Lol. I don't play games either. I would like a single core toggle option in the application. That would be nice. :D
[Nexus 4 Original Android Development] trident167:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

This flashing of r96 was weird. I did it through the app and phone took a little longer than normal to boot up. Then when it did, the wallpaper changed to a stock live wallpaper. Other than that all looks good so far.
[Nexus 4 Original Android Development] xatou:
The bug is also here on r96 like r95, when lock and unlock the phone the screen is black for 10 seconds.
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

but...

why? what's going on?? :(
[Nexus 4 Original Android Development] veyka:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Didn't mean to thank you, it's because the kernel is using mpdesison in the past version or so, as per the multiple posts over the past few pages.

Sent via Nexus 4
[Nexus 4 Original Android Development] fozzie:
Read!

http://xdaforums.com/showthread.php?p=38682404#post38682404
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

yes, i also have this problem
[Nexus 4 Original Android Development] itshotinhere:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

No problem here. Very responsive unlock. How long is your phone asleep before you notice this behavior?
[Nexus 4 Original Android Development] xatou:
Try to lock the phone when an app is open..
[Nexus 4 Original Android Development] jutley:
Can anyone help fix the colors on franco kernel thanks not sure how to do it i know it can be done.
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Fine for me. What ROM?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

You can use Franco's application or trickster mod app to modify the colors. In Franco's app, it's in color control and in trickster it's somewhere. :)
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Works fine for me. What ROM are you on?

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

+1.

Clearing "Google data services framework" solved it. Thanks
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

http://xdaforums.com/showthread.php?t=2174849 - Apparently, the screen looked gorgeous with the stock Optimus G kernel. So anyway to find out the gamma and rgb settings from it?

Sent from my Nexus4™
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Franco did you see this ? Seems like Qualcomm is working on some known WiFi bugs such as BT+WiFi crash and ARP offload ? Or its not related ? Thanks

https://www.codeaurora.org/gitweb/e...ff;h=b8ddf46808da1267b35086b478884bed27360e5c

https://www.codeaurora.org/gitweb/e...it;h=b8ddf46808da1267b35086b478884bed27360e5c

NeXus 4 / xda-developers app
[Nexus 4 Original Android Development] LuisLAN:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Same for me.

On r95 idle drain was around 4-5%/hour, now on r96 it is lower than 2%. Default settings and CM 28/02 in both cases.
[Nexus 4 Original Android Development] jayjay2244:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Getting a lot of drain on r96 PA. Only 30 mins on screen time :(
[Nexus 4 Original Android Development] Dan53:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

you're using spotify (I think that's the app in the status bar)... And are on 3g...
[Nexus 4 Original Android Development] jayjay2244:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I only started using it plus it's In offline mode so it isn't streaming
[Nexus 4 Original Android Development] rocklee80:
+1

the screen looked just awesome.
[Nexus 4 Original Android Development] xatou:
Απ: [KERNEL][GPL][N4] franco.Kernel - r96

Latest paranoid.

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] itshotinhere:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

No lag at all. Very quick for me. What ROM are you using?

EDIT: Just noticed I'm 3 pages behind in reading replies. Apologies of this has already been sorted.

---------- Post added at 12:57 AM ---------- Previous post was at 12:54 AM ----------

Me too! Clean flash for me as I sort of lost my backup :(
[Nexus 4 Original Android Development] fozzie:
I'm wondering if people are mis-reporting random reboots for something I just experienced (on r96, stock 4.2.2 ROM, UV'd by 50mV across all freqs).

I went to unlock the screen and was prompted for the SIM PIN. I thought "oh, its rebooted." I got the last_kmsg but the reason was just "reboot".

I then checked the system uptime and it hadn't actually rebooted at all, so something else must have happened.

Any other logs to check?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Yes, but it may be still running in the background. That could be why your phone is being drained of juice.
[Nexus 4 Original Android Development] Mahennemaha:
AW: [KERNEL][GPL][N4] franco.Kernel - r96

Something is wrong on your side.

On r90 i have 0.8%/h

On r95 i have 0.7%/h

Sync (Google/ Gmail, WhatsApp Push and 2 IMAP syncs every Hour on hspa+), plus GPS and wifi offline duringsleep.

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] CheesyNutz:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Just flashed r96 gov changed from default to conservative ?
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

oh i see , thanks. that means the hotplug settings will be back later ? :D
[Nexus 4 Original Android Development] fozzie:
Read the OP!

http://xdaforums.com/showpost.php?p=34375927&postcount=1

Then read the changelog that's linked there!

http://minooch.com/franciscofranco/Nexus4/4.2.2/appfiles/nightly-changelog

Then wonder why you didn't think of that ;)
[Nexus 4 Original Android Development] CheesyNutz:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I have read the op but completely spaced the change log lol
[Nexus 4 Original Android Development] BlueHawk:
I got a reboot on PA 3.1 from 3/MAR build. I tried to use the phone before everything had gotten running. Essentially, PA had displayed the boot screen, gotten to the stage where it showed the android lock screen, faded out. I hit the power button immediately to bring back the screen, screen came up, showed the lock pattern but was unresponsive to touch and then rebooted. This happened consistently. I was able to finally get in by allowing the system to finish all the other widget/initialization stuff (basically left the phone alone for 5 minutes). Attached is the last_kmsg which showed reason for reboot as being a kernel panic.
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

+1 on this. Saw one in a store and screen was awesome!
[Nexus 4 Original Android Development] calanizzle:
r95 so far , really good.
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

so this is my battery usage.

i cannot bring phone to school ( chinese middle school teachers don't like this. but you can bring it if you really need it for calling your parents ) ,

so i just leave it at home.

so i often use it at night when i get home from school.

PS: sorry for the chinese words in the screenshots...:D

the WIFI always on but GPS and NFC always off. the mobile network is CMCC China (aka China Mobile，中国移动) GSM network, no WCDMA network for CMCC (CMCC use TD-SCDMA for 3G, but China Unicom use WCDMA, so far no nexus devices support for TD SCDMA, what a pity.)

1 hour 46 miniutes and 27 seconds
[Nexus 4 Original Android Development] starscream92:
So, just to recap, what problems are people having on r96?

- Grey bars (no connection to Google Services)

- Min frequency capped at 1026 MHz (sounds like MPDecision doing its thing again somehow)
[Nexus 4 Original Android Development] Barguast:
Are the Nexus 4 and Optimus G supposed to have the same panel? Would be interesting to know the screen values, but I sometimes forget how vibrant the N4 screen can be provided you've got the brightness up full rather than auto.
[Nexus 4 Original Android Development] alanwyl:
Please just do not use "inline" for large screenshot:)
[Nexus 4 Original Android Development] sucre213:
:good:

:laugh: r u Chinese people It's kinda surprising to see a Chinese middle school student in this forum

I'm Chinese, too by the way

R96 is very great to me, perfect balance of performance and battery

keep it up~franco:good::good:
[Nexus 4 Original Android Development] BrandoHD:
A reboot fixes the first issues, doesn't seem to be related to kernel

And when I flashed, the min frequency was where it was supposed to me
[Nexus 4 Original Android Development] alanwyl:
lol it says my browser is not modern enough to download the file:cyclops:
[Nexus 4 Original Android Development] huhu2207:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

oh sorry i don't know that. :D
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Franco- since the optimus g kernel boots on our device, is there any goodies that we can use to benefit us?

Wonder if their radio would work on or nexus for lte?
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I'm more interested in the gamma and rgb values used in the kernel as the Optimus G screen is supposed to look stunning. Considering the N4 uses the same panel, it would be good to get the same setup that's on the Optimus G panel.

Here is the Optimus G ROM that comes with the stock Optimus G kernel to flash to try out the colours. Maybe someone can give it a go. :D

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

[ROM][PORT] OptimusNexus ALPHA: 1 | 04032013

Sent from my Nexus4™
[Nexus 4 Original Android Development] ctfrommn:
Deleted
[Nexus 4 Original Android Development] alanwyl:
Searched in several Optimus G roms

https://github.com/jokersax/le970-kernel/blob/master/arch/arm/mach-msm/lge/j1/board-j1-display.c

line 1746

static char p_gamma_r_setting[10] = {0xD0, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};
static char n_gamma_r_setting[10] = {0xD1, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};
static char p_gamma_g_setting[10] = {0xD2, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};
static char n_gamma_g_setting[10] = {0xD3, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};
static char p_gamma_b_setting[10] = {0xD4, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};
static char n_gamma_b_setting[10] = {0xD5, 0x72, 0x15, 0x76, 0x00, 0x00, 0x00, 0x50, 0x30, 0x02};

from Franco, it is

char p_gamma_r_setting[10] = {0xD0, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys, 0x02};

Therefore, in decimal, the values are:

RGB 255
g_white 114
g_mids 21
g_black 118
g_contrast 00
g_brightness 00
g_saturation 80
g_greys 48

Seems unlikely Optimus G and Nexus 4 share the same settings I think
[Nexus 4 Original Android Development] cchant:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

What's the rgb value? 255 across the board?
[Nexus 4 Original Android Development] alanwyl:
255
[Nexus 4 Original Android Development] Scottyfer:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Most of those values can't even be set with the gamma sliders in Franco's app.
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Wonder if there is a conversion?
[Nexus 4 Original Android Development] alanwyl:
@Franco

What does this file do?

OG

https://github.com/jokersax/le970-kernel/blob/master/arch/arm/mach-msm/lge/lge_qc_lcdc_luts.c

Franco mako

https://github.com/franciscofranco/...-mr1/arch/arm/mach-msm/lge/lge_qc_lcdc_luts.c

Google mako

https://android.googlesource.com/ke...da63/arch/arm/mach-msm/lge/lge_qc_lcdc_luts.c

Does it make a difference when there is different values?

---------- Post added at 12:29 AM ---------- Previous post was at 12:26 AM ----------

that's why I say the values cannot be shared

maybe the kernel or something has a different interpretations of colours

or a different screen model
[Nexus 4 Original Android Development] kaiser_tytnii:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Guess this the closest I can get with the app...
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Doesn't look that great in my opinion.
[Nexus 4 Original Android Development] davidcd13:
governor

My setting of the governor (ondemand) with the application franco.Kernel (Apply settings at startup is checked) are not restored after a reboot. Return to conservative governor after a reboot. why?

No problem with kernel r95.

Thank you.
[Nexus 4 Original Android Development] alanwyl:
and not expected to
[Nexus 4 Original Android Development] agalvin13:
this has happened to me since i got the phone. I chalked it up to the hardware of the screen / button. It happened on stock and all versions of the kernel for me.

but besides that.. r96 has been amazing so far.
[Nexus 4 Original Android Development] aLeda:
Lol where can you find changelog please ? :angel:
[Nexus 4 Original Android Development] alanwyl:
OP

http://minooch.com/franciscofranco/Nexus4/4.2.2/appfiles/nightly-changelog

OR in the thread

OR in the app
[Nexus 4 Original Android Development] malukiz:
When i update my PA rom i lost some setting option and my contrast/color in franco app but when i flash another time the franco kernel settings are back... why ?

It's the wipe dalvik/cache ?
[Nexus 4 Original Android Development] vomer:
r96 is excellent so far - 8hr idle test coming tonight!

Never expected conservative to be so smooth :o
[Nexus 4 Original Android Development] aLeda:
What are the bad points of this kernel ?

Is it the best one for Paranoid Android ?

Thanks and sorry for the noob questions :P
[Nexus 4 Original Android Development] malukiz:
There's no best kernel. You have to try which one suits best for your needs. :)
[Nexus 4 Original Android Development] alanwyl:
There is no best kernel or rom. Just the one that suits you best.

Bad points? It is not as smooth as stock.
[Nexus 4 Original Android Development] ctfrommn:
No kernels are.....its a tough balance. Im using stock again for now....we'll see how battery fairs. Its so much smoother than any custom kernel.
[Nexus 4 Original Android Development] bboran:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

The bug that makes notifications arrive with delay while phone is at deep sleep on wifi seems solved by qualcomm on code aurora site (i know not everyone has this issue):

https://www.codeaurora.org/gitweb/external/wlan/?p=prima.git;a=shortlog

Is there any chance we get that code merged on this kernel? If it's kernel related i mean.
[Nexus 4 Original Android Development] Lownita:
Try harsh. It is very close to stock and uses mpdecision! I find it as smooth as stock.
[Nexus 4 Original Android Development] ctfrommn:
Yep....long time favorite, but got SOD's on last couple. IR is nice too, but data issues. I love almost all the kernels being developed and have literally tried every one. Still waiting for that holy grail I guess...:D
[Nexus 4 Original Android Development] Stylez Ray.:
Kernels are like women, you have to find the right one for your needs.
[Nexus 4 Original Android Development] Dan53:
Your values need to be converted as per http://xdaforums.com/showpost.php?p=38175567&postcount=14150

theres a discussion wayyy back like page 1430~
[Nexus 4 Original Android Development] :
So this fixes the buzzing in the earpiece? What is wrong with stock that causes this?
[Nexus 4 Original Android Development] PhoenixTank:
Indeed! Someone posted about this a few pages ago, as well as a combined bluetooth & wifi bug: http://xdaforums.com/showthread.php?p=38738796&highlight=arp#post38738796

Would also love to see these merged in if possible, please Franco :)
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Maybe because the stock PA kernel overrides Franco kernel, and the gamma settings do not work with Franco's interface...
[Nexus 4 Original Android Development] Mendanbar:
Optimus G gammas?

So I think these are the proper converted gammas according to the posted Optimus G values (unless I did something dumb like reverse the nibbles):

Grays: 0

Mids: 5

Blacks: 6

Contrast: 0

Brightness: 0

Saturation: 0

Whites: 2

The latest settings from visceralpsyche look better to me, but I thought I'd throw this out there in case anyone cares to try it.
[Nexus 4 Original Android Development] Haomuch:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Another Chinese user here. Nice to see you two.
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Looks decent with max saturation.
[Nexus 4 Original Android Development] vickpick:
looks too bright and undersaturated on my screen
[Nexus 4 Original Android Development] farmerbb:
Those are definitely the same as the default values for franco.Kernel on the Nexus 4 (since r14). This commit is where he reverted to the Optimus G gamma values from what I assume are still the stock Nexus 4 values.

He's done a lot of changes to the gamma control since then but has opted to continue using these as the default values (see commit history for board-mako-display.c).

So basically... franco.Kernel by default uses the Optimus G settings out of the box.
[Nexus 4 Original Android Development] davidcd13:
Governor

Everyone has the same problem
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

That's most likely hardware related, don't know where you got the idea this kernel would fix it...
[Nexus 4 Original Android Development] murdah204:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

I find these to be the best color settings out there at the moment

R: 181

G: 167

B: 162

Grey: 0

Mids: 5

Blacks: 119

Contrast: 1

Brightness: 0

Saturation: 7

Whites: 2

The most accurate colors ev4r!

Turn brightness to 25%-50% if its too dark on auto brightness
[Nexus 4 Original Android Development] illuzi0n:
if people still searching for the perfect color calibration for their nexus 4 with franco kernel app try these settings

R 233
G 232
B 242

Gray 1
Mids 119
Black 103
Contrast 29
Brightness 6
Saturation 23
Whites 2

courtesy of Archmag3 :)
[Nexus 4 Original Android Development] Stylez Ray.:
Those settings clearly show that every display is different and that those "perfect settings" are non-existent!

Applying those on my phone makes my eyes hurt, too dark, no details at all even with brightness pumped up to 100%.

Really, there's no such things as most accurate as there is no best car or no most beautiful female celeb!
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r96

Isn't setting the gamma and basic rgb colors just as subjective as different battery usage of a phone? :what: