yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Dan53:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I think Its in sys/kernel/fast_charge/force_fast_charge
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Thanks mate.Franco could you please check this out ? Thanks

Via NeXuS 4 / xda-developers app
[Nexus 4 Original Android Development] FirelordAzula:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Franco, is your name a reference to the 1930s-1940s fascist dictator of Spain?
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Or it could be his name..
[Nexus 4 Original Android Development] Ultraman1966:
I'm back on R90 after finding that R95 and R97 caused issues, well 97 not so much but 95 definitely caused a near bootloop!
[Nexus 4 Original Android Development] trismegistos:
AW: [KERNEL][GPL][N4] franco.Kernel - r97

It is his real name :)
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

You have probably just asked the most invalid question I have ever seen in xda.. :(

No offence.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Lol. He answered this question several dozens pages ago.
[Nexus 4 Original Android Development] malukiz:
Wifi sleep after 2-3 minute with the screen off on r97. I can't listen music with that.
[Nexus 4 Original Android Development] MrDarkKV:
My phone has always done this after I rooted it, thought it was normal? Hmmm

Running r97 and AOKP, but its also done this for me on stock root.
[Nexus 4 Original Android Development] I2IEAILiiTY:
That's an old conversation to bring up

On another note, I don't see why everyone is having problems with r97.

I flashed it last night when franco posted it, used my phone for awhile before falling asleep and didn't experience any heat issues people are posting about with r97.

Also not experiencing any lag (if that was mentioned, I skipped several pages because you guys post too fast haha)

I don't have any random reboots (last time I had any was on r93 I believe, but that was also at the same time AOKP had RR's on the ROM side of things)

As far as push notifications over wifi during phone sleep, I have no clue of what you guys are talking about. I still receive notifications while not using my phone and on wifi.

I'm using r97 with bigxie's PUB build. Only changes to the kernel was turning off logging and changing screen gamma and rgb
[Nexus 4 Original Android Development] Roxxas049:
Not for me, I specifically remember a normal reboot taking all of about 10 seconds, it's not a big deal as I was just wondering if it was normal or not.
[Nexus 4 Original Android Development] starscream92:
Hey Franco, you're probably not gonna see this. but thanks so much for bringing down the max online cores down to 1 again :) now my phone stays super cool with your kernel (again)! Had time to test r95 yesterday for the whole day. Battery life has been amazing. Only issue was the wake-up lag with the Interactive governor (no issues with Conservative).

I also noticed performance to be a lot smoother than your previous (like < r83) kernels, while your signature amazing battery is still there. Amazing work man. Amazing work.

Running r97 right now :) everything seems to be working really well. Much lower idle consumption than r95 and/or r96. No performance issues even with Conservative. Undervolted frequencies above 1026 MHz (inclusive) by -100 mV, frequencies below 1026 MHz (exclusive) are undervolted by -150 mV (fast-binned). No reboots!
[Nexus 4 Original Android Development] squadz:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

@archmage I'm using your screen settings, but the screen is too dark out in the sunlight, what would you suggest? Is anyone else having that issue with his settings?

I'm assuming all that needs to be done is raising the brightness, but I'm not sure to which number. I remember reading that some numbers make no effect.
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I'm still using Interactive.

Sent from my Nexus4™
[Nexus 4 Original Android Development] ctfrommn:
Rebel :p
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Just play with the color settings and tweak it until you feel satisfied.
[Nexus 4 Original Android Development] Archmag3:
thanks for using :) hey can you please try these ones ?

R 245

G 240

B 242

Gray 1

Mids 119

Blacks 103

Contrast 29

Brightness 9

Saturation 23

Whites 2
[Nexus 4 Original Android Development] Pheno.menon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I'm having a lot of issues on the last two releases. Battery life has taken a nosedive too :/

Transmission sent from my badass Nexus 4
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

It would be helpful if you specify those issues.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Battery life has been good for me :)
[Nexus 4 Original Android Development] squadz:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Looking good so far, I'll try it out for a bit and update.

Thanks! Much appreciated.
[Nexus 4 Original Android Development] Archmag3:
The reason for keeping it bit dark and RGB values under 245 is that if you cross that either the colors are washed away or visual artifacts start to creep in the image.You can check for color configs by checking visual artifacts on this image : http://i.imgur.com/0GiUBcs.jpg

the light saber should be plain glow without any glitches or artifacts

And battery stats :
[Nexus 4 Original Android Development] yokuyuki:
It only affects people with certain routers. It doesn't happen on my home router running Tomato or work router, but it does on my parents' Uverse router.

Franco recommended settings work great for me which comes from obsanity.

---------- Post added at 02:18 PM ---------- Previous post was at 02:17 PM ----------

The problem with keeping it dark is that it looks way too dark if you use autobrightness.

Whoa wakelocks galore.
[Nexus 4 Original Android Development] 3thman:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Is it better to do a wipe partions and dalvik cach after installing the kernel???
[Nexus 4 Original Android Development] santeana:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Battery life on 97 has just been stupid! I've been messing with my phone all day long... So far about 9 hours and still at 55%! Normally I'm down to about 35-40 by now. Well done Franco!
[Nexus 4 Original Android Development] Archmag3:
Please read my previous post...updated it :)
[Nexus 4 Original Android Development] veyka:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

No, no, nope, none of the caches have anything to do with the kernel.

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

I'm reverting back to r96. I can't deal with this heat issue. I had my phone in my pocket and when I take it out to check the time, it's incredibly warm. My battery life has pummeled to 40%.
[Nexus 4 Original Android Development] BlueHawk:
Need your partial wakelocks to see what is contributing to your PowerManagerService.
[Nexus 4 Original Android Development] italia0101:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I do also feel my phone to be warmer on r97
[Nexus 4 Original Android Development] Kandydish:
It could be placebo, but I'm feeling it too...

On another note, has it been reported that with FastCharge enabled, it thinks that it's plugged into USB when it's really plugged into the outlet? I don't know if this has any negative effects on the battery (and charging) but I just find it annoying that I can't get rid of the icon.

Oh, and my computer still does recognize the device with FastCharge enabled.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

My phone is currently at 28c, is that good?
[Nexus 4 Original Android Development] starscream92:
My phone is charging right now and it's at 27C. That's pretty cool considering it's being charged. Haven't seem to see any issues with temperature so far.

What are your governor/CPU-scaling settings?
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
On r97 and using mobile data, but I've cut my battery drop to 2% / hour or so. Not to take any credit away from Franco, but I hate those who go "omg RXX was SOOO Much better than R(XX-1)." I think most of the credit went to Greenify which I found to be an amazing app.

I know Franco has most services turned off, which is an effective way of having great battery life, but my work phone is an iPhone 5. And when the screen turns on for EVERY FAcebook notification, Twitter notification, Gmail, AND work email, I wonder how my iPhone 5 goes home with like 60% battery life each day while playing plenty of temple run 2 on the toilet. So yes, I think Greenify is part of the solution to get my Nexus 4 to behave more like an iPhone in terms of battery.

Meanwhile I find the conservative governor to be great. I always have fears of it being "slow," but in terms of responsiveness, it's still great.
[Nexus 4 Original Android Development] ctfrommn:
mpdecision is going to add some heat also, due to more aggressively onlining cores.
[Nexus 4 Original Android Development] Godaemon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Qualcomm is changing the ARP fix its still experimental so we re gonna have to wait for full potential I suppose...

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

Via NeXuS 4 / xda-developers app
[Nexus 4 Original Android Development] paratox:
in the beginning it was called hitler kernöl but after some troubles with mods he renamed it into franco kernel! :laugh:

don`t take it serious, just a joke! :P
[Nexus 4 Original Android Development] franciscofranco:
Its my real name, blame my parents!
[Nexus 4 Original Android Development] Testraindrop:
Some people are just living in the present, others in the past...
[Nexus 4 Original Android Development] sumit29:
Stuck on boot logo while updating

Urgent help required! :(

I was just trying to update from r96 to r97, and now the phone won't go past the boot animation. Don't have any backups or custom rom zips on my sd card. Is there any hope of saving my data??
[Nexus 4 Original Android Development] ctfrommn:
Reflash r96 if you have it.
[Nexus 4 Original Android Development] BlueHawk:
If you have TWRP recovery, you can adb push an older Franco zip onto /sdcard from recovery mode and then flash that zip.
[Nexus 4 Original Android Development] Testraindrop:
...or just use fastboot to flash stock..
[Nexus 4 Original Android Development] Pully:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

r97 nice and smooth for me using Interactive (I find it idles at 384mhz better than conservative).

10 hours off charger (split 50-50 between wifi and 3G) with 98 minute screen on time and still 70% battery remaining.

Very smooth and very happy user, thanks :)

Carbon ROM v1.4
[Nexus 4 Original Android Development] sumit29:
tried flashing r95...again stuck on the boot animation
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Or just re flash the kernel or a different one
[Nexus 4 Original Android Development] BlueHawk:
Yeah - that too. :D
[Nexus 4 Original Android Development] shredder47:
anyone else lose background data with r97? my emails, etc, aren't syncing, and my data bars are gray
[Nexus 4 Original Android Development] sumit29:
can you point me to a quick guide to do that without losing my data? i have all the stock image files, but have only flashed using the toolkit before this. never used the command line.

it's really late at night here, and need to wake up early for the office!
[Nexus 4 Original Android Development] drawde40599:
Ya , 97 still runs cooler than stock kernel ,a lot cooler

---------- Post added at 11:37 AM ---------- Previous post was at 11:35 AM ----------

I've had a few strange issues today , but I can't blame kernel yet , going run day or two more first .
[Nexus 4 Original Android Development] BrandoHD:
All info you need is in the link below

http://xdaforums.com/showthread.php?t=2010312
[Nexus 4 Original Android Development] BlueHawk:
Install the drivers if necessary - instructions are in here, as well as everything you ever wanted to know about restoring your phone (even so far as going back to stock ROM, etc, but don't follow all their instructions otherwise you will probably lose your data, as the instructions cover just about everything you could ever want to do to your phone from the command line) - http://xdaforums.com/showthread.php?t=2010312

Ok. Assuming that you have android-sdk installed on your computer.

At the command line, go to the directory it is installed and find a sub-dir called platform-tools. It should have a utility called fastboot.

Plug your phone into your computer by USB and put your phone into recovery mode (power it up with the volume down button pushed). It should show itself in fastboot mode.

Type the following at the computer:

fastboot flash boot boot.img

where boot.img is the location and name of the kernel image - it should be named something.img (it should not be a zip).

Hope that helps.
[Nexus 4 Original Android Development] sumit29:
thanks a lot! will keep this in mind for future...ended up losing my data this time though. was getting too impatient and did the complete reinstall of the stock image through the toolkit. off to sleep now as the phone starts to download all the apps!
[Nexus 4 Original Android Development] yokuyuki:
r97 is supposed to do the opposite of that... at least when the screen is off.
[Nexus 4 Original Android Development] shredder47:
Well I know I have a signal because I can make calls and texts fine, and it's showing 4 bars of hspa, they're just grayed out and nothing is syncing....I can use chrome and browse just fine though
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Flash gapps again? Delete and re-add your Google Account? Try these things.

Sent from my Nexus4™
[Nexus 4 Original Android Development] Sddddd:
Good kernel r97, but according to the changelog notifications with the screen off via wifi should work correctly, but my device still the same old problem and come when I turn the screen.

what might be happening?

:(
[Nexus 4 Original Android Development] ctfrommn:
Just wipe data for Google Framework Services and reboot.....I also had those issues from time to time using Franco's.
[Nexus 4 Original Android Development] Sddddd:
In paranoid I don't have google framework services, what application data which I have to delete?
[Nexus 4 Original Android Development] starscream92:
Or reflash whatever ROM he has installed. Always fixes bootloops for me.
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

So how did you come up with the gamma control to hack into the hardware?
[Nexus 4 Original Android Development] ctfrommn:
Every Rom with Gapps has it....I wipe data via TB, but Im sure there are other ways. Google Services is what communicates to, you guessed it....Google services so you have it somewhere.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Franco = l33t h4ck3r
[Nexus 4 Original Android Development] Lownita:
h4xx0r
[Nexus 4 Original Android Development] AshtonTS:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Y0l0 sw4g

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

Your right . the heat thing could be a placebo ...

Today I was in the dentist office waiting, so I played a game and it got to 38 ... Now it was a warm day (12 degress for England is warm) and i was playing for a while .. So that could well be the reason
[Nexus 4 Original Android Development] derPianist:
AW: [KERNEL][GPL][N4] franco.Kernel - r97
[Nexus 4 Original Android Development] LOVE ME PLEASE:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

So, I just got my 16 GB model of the Nexus 4 and I love it! The first thing I did was flashed your kernel. I did not know that there was not a stable kernel for the Nexus 4, but boy is it stable! Thanks Franco, for making great kernels for my Nexus 4 and 7 THANKS!
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Thanks for the non helping posts :thumbup:
[Nexus 4 Original Android Development] Testraindrop:
He has the source code?

Source+Magic=Gammacontrol
[Nexus 4 Original Android Development] mjehan:
@Franco

Do we need to change the gEnableActiveModeOffload to 1 too apart from the other 2 changes you mentioned ?
[Nexus 4 Original Android Development] Sddddd:
Nothing, that does not solve anything

I'm desperate! :(
[Nexus 4 Original Android Development] vickpick:
use the toolkit and flash the stock boot.img and system.img (if you want)

as long as you dont clear data, your stuff isnt going anywhere
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Curious if he came up with it himself...that's all
[Nexus 4 Original Android Development] fozzie:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I think you'll find he's already answered that in his earlier post about these changes.
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Find the app in rom toolbox and clear the data, click view all apps and you'll find it.
[Nexus 4 Original Android Development] ctfrommn:
By doesnt solve you mean you wiped the data and rebooted or you couldnt find the app to wipe the data from? You can always reflash the rom....that will replace the kernel and cure it, but Ive never had an issue wiping GSF data and rebooting, it works 100% of the time.
[Nexus 4 Original Android Development] formicae:
Kang detective Columbo.
[Nexus 4 Original Android Development] Sddddd:
Sorry, I have not explained well, already I could delete the data, but the problem with notifications via wifi still appear, I will have to reinstall the rom again...

Thank you very much for your time!

:good:
[Nexus 4 Original Android Development] ctfrommn:
You didnt ask about notifications originally....you asked how to get the blue bars back instead of them being greyed out. The notification issue is part of what many kernel devs are trying to sort out, I would flash whatever kernel you had previously that you were happy with.
[Nexus 4 Original Android Development] Sddddd:
I think we've made ​​a mess ... haha :laugh:
[Nexus 4 Original Android Development] mjehan:
The third parameter has not been discussed.

EDIT: Yes it has. my bad
[Nexus 4 Original Android Development] thederekjay:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I see exactly where this is going..

Maybe this will help you out: https://github.com/franciscofranco/...-mako-3.4-jb-mr1/drivers/misc/gamma_control.c
[Nexus 4 Original Android Development] franciscofranco:
There are 6 arrays in the LG Display Driver. 2 for red, 2 for green, 2 for blue. Each array contains 10 hex values that correspond to a certain value converted to int. You can modify each of those arrays looping through the array positions with a simple for, while, for each, or switch loop, your choice. Using a sysfs interface you can instrument a simple set/get sysfs functions to receive new values, pass them to the r/g/b respective array and then after making sure the values are valid (so far its 0-255, but I'm gonna improve the current algorithm pretty soon with some useful stuff), and then using a function from the display driver to inject the new array with the new values. The hardware only supports certain valid 15 values because it supposedly ignores one bit, I think in the first nibble, so for example giving it 247-255 is the same as giving it 119. Only Contrast and Brightness go from 0 to 31. I'm currently facing a little race condition that sometimes gives a kernel panic that is triggered by setting new values on screen on which will call mipi_dsi_cmds_tx almost at the same time and print out a direct memory access error and boom, panic. Its still a work in progress and I plan to improve some of this coding in the near future. I've been working on this since 9/10th December and had my first version ready by that time because changing arrays and passing them to the display driver is pretty straight forward but by the time I didn't know which of the values of the array corresponded to what thats why I didn't release anything before moles decrypted what the values represented. Whoever tells you that I kanged whatever from whoever is just playing mind tricks with you and I have chat logs with morfic around 10th of December if I remember correctly where I shared my code with him. Good day sir, enjoy the wall of text that you asked for. May the internets be with you.
[Nexus 4 Original Android Development] thederekjay:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Don't feed the troll.. But that will keep em quiet for a while.. ;)
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

I ask a question so I know the answer from Franco... None of my questions or comments were asked or directed to you, thederekjay. So I am the one trolling?

I am trying to learn as well. Didn't know questions made people go ape **** on xda
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Uhhhh, can you repeat the part about the thing....:D

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

This guy just came to ask a developer a question and you all get on his case? Maybe he should have not clogged up the thread with unrelated stuff and gotten ahold of Franco by pm, but maybe you should have all just ignore it instead of posting a bunch of random text and trying to cause conflict in a thread which will never end well..
[Nexus 4 Original Android Development] franciscofranco:
red_p[10] = {0xD10, 0x07 etc

red_n[10] = {0xD11, 0x07 etc

green_p[10] = {0xD12, 0x07 etc

green_n[10] = {0xD13, 0x07 etc

blue_p[10] = {0xD14, 0x07 etc

blue_n[10] = {0xD15, 0x07 etc

That 0x07 is a hex value. In decimal is 7.
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Noted... For future reference. Thanks
[Nexus 4 Original Android Development] franciscofranco:
You did alright, this is a development thread, your question was legit ;)
[Nexus 4 Original Android Development] Redneck Trash:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

You must be new to XDA.
[Nexus 4 Original Android Development] Zainiak:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Notifications working just made my day! BTW, Franco where did you learn to code? I'm in high school so I'm looking for anything. I know basic parts of c, and want to learn java

Sent from my Nexus 4 using Xparent Blue Tapatalk 2
[Nexus 4 Original Android Development] Locksmith81:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

New asking so I can contribute
[Nexus 4 Original Android Development] fozzie:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Yes it was.

http://xdaforums.com/showpost.php?p=38774570&postcount=17524
[Nexus 4 Original Android Development] Mahdi786:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

Hi Franco, is the new lzo decompression patch for speeding up boot time?
[Nexus 4 Original Android Development] Pheno.menon:
Re: [KERNEL][GPL][N4] franco.Kernel - r97

r97 seems to have settled. I had a couple random reboots and phone got really hot once but all is good now and battery is getting better as well. Weird :sly:

Transmission sent from my badass Nexus 4
[Nexus 4 Original Android Development] hospital349:
[Directory] MAKO: ROMs & Kernels is now complete. Enjoy!
[Nexus 4 Original Android Development] franciscofranco:
The LZO decompression algorithm is used in QCache in our kernel, thats why I included a new and up-to-date version of that code ;)
[Nexus 4 Original Android Development] eezdva:
Ah the delay is really pity in 97 . Really like the kernel but the delay is not good with the notifications .

Great battery life and stuff :(((