yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] vowywowy:
Hey Franco, love the kernel so far I have been using it since your P500 days. I was wondering if you were aware that both the Nexus 4 and the Nexus 10 have OpenCL drivers? I'm not too knowledgeable about kernel/GPU stuff but I think I have pretty good understanding of the basics. I was wondering if you could find a way to incorporate OpenCL driver access into your kernel (for both the n10 and the n4). It is already possible to access the OpenCL drivers by jumping through some hoops but it isn't exactly user friendly.

OpenCL drivers can greatly improve GPU performance because they directly aid in parallel processing which is what GPU's do. This could be even more effective on the n10's T604 GPU.

If you want to look into this I recommend checking these out:

http://www.anandtech.com/show/6804/opencl-drivers-discovered-on-nexus-4-and-nexus-10-devices

http://www.openclblog.com/2013/02/opencl-on-nexus-10-part-1.html

As I said I'm not really to advanced with kernel stuff so I won't be able to provide much help, but I thought someone as knowledgeable as yourself should be able to conjure something up, even if it is done through your kernel updater app.

TL;DR: OpenCL drivers are available with n4/n10. Could you look into them and try to incorporate them into your kernel/app to improve GPU performance.
[Nexus 4 Original Android Development] Redneck Trash:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

You really don't need to wipe. Although sometimes a wipe might fix a small bug that pops up.
[Nexus 4 Original Android Development] drawde40599:
93 test

Did 93 test come before or after 93 ? I see it in folder but I didn't see Franco's post and can't find it for some reason ? Any1 have a link to Franco post or change log ?
[Nexus 4 Original Android Development] bizz2012:
Thank you :)

I will see how I go and if I need to flash or not!
[Nexus 4 Original Android Development] franciscofranco:
OpenCL is for apps, example: games.
[Nexus 4 Original Android Development] vowywowy:
Will incorporating them create better game performance? Or, are you just focusing your kernel solely on overall performance?

If they will boost game performance, would you look in to accessing them?
[Nexus 4 Original Android Development] elliot.newnham:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

You can't just enable opencl... The application has to access it.
[Nexus 4 Original Android Development] noobiekins:
It is already incorporated, the app needs to be coded so it supports it
[Nexus 4 Original Android Development] vowywowy:
Oh I understand they are app specific drivers not phone-wide drivers. I think?
[Nexus 4 Original Android Development] franciscofranco:
Yes. So if you want to code app to do some heavy math calculations you are better off using OpenCL APIs/drivers to use the GPU to help the CPU on the computational calculations. The GPUs are much more powerful than the CPUs in terms of raw power, imagine the amount of work the GPUs have to do to run a game, thats really heavy ****. Thats why NVIDIA has that CUDA cores, which are GPU cores used for parallel programming. Its complicated stuff, I know nothing about it, just what it is.
[Nexus 4 Original Android Development] PhoenixTank:
More like an application library that commonly leverages the power of the GPU for computing tasks.

Though that itself is inaccurate and simplified (OpenCL can run on CPUs and more)

http://en.wikipedia.org/wiki/OpenCL

Have a gander at the wikipedia page if you want to learn more.

Edit: Ninja'd by franco.
[Nexus 4 Original Android Development] Nburnes:
Now with all this talk of OpenCL here is another one for you Franco.

Would it be possible to make an experimental Mako kernel using Google's experimental/android-3.8 kernel source?

https://android.googlesource.com/kernel/common/+/experimental/android-3.8
[Nexus 4 Original Android Development] franciscofranco:
LOL no. Google engineers are working on it, Im pretty sure it doesnt even boot on their own devices.
[Nexus 4 Original Android Development] Ipse_Tase:
I know this is a loathed topic, but along the same lines: the kernel makes a much bigger difference than the ROM, if the latter does not mess up the CP or GPU settings (and it should NOT).

For example, I get:

- 21000+ with PA3.10 and franco r90

- 16000 or less with PA3.10 and franco r93

- 20000+ with PA3.0 + franco r83

FWIW, the latest kernel sees a drop in RAM and GPU scores - at this point I don't consider that an issue, as this is just a synthetic benchmark.
[Nexus 4 Original Android Development] ziddey:
Hey Franco, I'm trying to experiment with usb-otg and your kernel. I've never built a kernel before, so I'm starting by simply trying to compile it in "stock" form.

I'm using linaro android-toolchain 4.7. I flashed r93 and pulled /proc/kernel.config and used make oldconfig to get things rolling. However, when compiling (make -j4), I run into a mismatch. Enabling the debug flag, I get:

LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.data+0x1204): Section mismatch in reference from the variable auto_hotplug_suspend to the function .cpuinit.text:auto_hotplug_late_resume()
The variable auto_hotplug_suspend references
the function __cpuinit auto_hotplug_late_resume()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2

Forgive my inadequate knowledge; this is my first attempt.

Anyone know how to correct this / what to do if it's not ideal to pull kernel.config?

Thanks
[Nexus 4 Original Android Development] franciscofranco:
Yes. Go to arch/arm/kernel/auto_hotplug.c check for __cpuinit string in some of the function declarations (just for a ctrl+f and search for __cpuinit) remove those strings, and you're good to go.
[Nexus 4 Original Android Development] CrimsonSmear:
there is no ignore_pressure_cap in that folder, it is currently ignore_pressure_gap

I'm afraid that you didn't have root access for that command
[Nexus 4 Original Android Development] dhruvmalik:
Hey Franco,

Posted this last evening but didn't seem to get a response, so posting it away as too many other posts have buried this one down.

Does the Kernel affect anything with the 3G Signal?

I am experiencing a loss of 3g Signal, or fluctuating as well as during the call, the phone drops the data connection, after ending the call, it goes on Edge then up to 3G again.

I have 2 Nexus 4's and both with Vodafone India, my main phone is seeing a lower 3G signal using the Franco Kernel.

The other N4 is on CM10.1, 26th Feb build, same as mine, but not on the Franco Kernel and its getting a higher 3G signal.

Also both phones updated to 28th build, mine with r93 and the other without. The same continues.

To eliminate the possibilities of a SIM card issue, I just got a replacement SIM and still the same symptoms.

I have also tried Stock, CM10 amongst others, but same experience.

Any clue?

Note: I have tried all the radios and its the same experience. The device worked flawlessly when I was on 4.2.1, did 4.2.2 introduce anything which could have caused it?

While being on CM10 4.2.1, I did not encounter any such issues.
[Nexus 4 Original Android Development] Koraboros:
Is r93 test newer than r93?
[Nexus 4 Original Android Development] chosen14u:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

I hope it does, would it make sense to leave them out?
[Nexus 4 Original Android Development] ziddey:
Thanks. Removing __cpuinit from auto_hotplug_late_resume() allows it to compile seemingly successfully. However, doesn't seem to boot, getting stuck on the Google screen.

I simply copied /proc/kernel.config to use as .config, and ran make oldconfig before make -j4. Using linaro android-toolchain 4.7.

I do receive these warnings (when making oldconfig / making):

warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)

Thanks
[Nexus 4 Original Android Development] tkalli:
What are the latest, if any, setting for interactive Governor Control?

Haven't seen any discussion on this for some time.

Was a hot topic for a while.

r93 running fine for me and I have not had any problems. Battery life is amazing.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Leave it as it is. :)
[Nexus 4 Original Android Development] franciscofranco:
Those warnings are nothing. How did you flash it? What tree have you compiled it from? What branch? Does it boot to Android bootanimation or stays on Google? You gotta give me more information...
[Nexus 4 Original Android Development] franciscofranco:
I got no idea about that, I'm sorry! :(
[Nexus 4 Original Android Development] deltatux:
I got this with r92, testing r93 to see if this happens too. r90 was fine.

deltatux
[Nexus 4 Original Android Development] ziddey:
https://github.com/franciscofranco/mako.git

checkout android-msm-mako-3.4-jb-mr1

used /proc/config.gz from r93

used fastboot to boot the zImage. I can boot your r93 just fine

stays on Google

Thanks
[Nexus 4 Original Android Development] franciscofranco:
Try it with Google's toolchain. If that doesn't work...I don't know what it is. What rom/kernel do you have on your device?
[Nexus 4 Original Android Development] gear.h34d.2012:
So am I understanding this correctly? r72 is the last release for 4.2.1, and to flash any of the newer releases I have to be running 4.2.2?
[Nexus 4 Original Android Development] dhruvmalik:
Thanks Mate.

r93 today seems to hold up better. I test by repeating the same location to test out of. So back at my office desk, I am on a call now for the past 5 minutes and havent lost signal yet.

But lets see the entire day how it is.

P.S. I flashed CM10.1 feb 28th build and r93 on my way to the parking lot. Heights of addiction.

EDIT: Lost signal once again after 3 minutes on the call. Data gone and reconnects after the call.
[Nexus 4 Original Android Development] digitalfrost:
So I'll be staying away from R15 until the throttling issue is sorted out. I don't run benchmarks, but I wouldn't want a hanging app to cook my phone. Looks like throttling didn't work as it should. Perhaps the rather low throttling values from the stock kernel weren't so stupid after all?! I'm not pointing fingers, but I think this needs to be analyzed properly.
[Nexus 4 Original Android Development] meangreenie:
could of been just coincidence too.. I'm sure franco actually checked for runaway temperatures when changing the thermal throttling method.
[Nexus 4 Original Android Development] immunityx:
R15 runnning great, kep up the good work :good:
[Nexus 4 Original Android Development] comminus:
There is no reason to think that r15 under normal use will OOFN cook your phone. Flashed r15 and ran AnTuTu twice - battery temp read 22.1C before and 27.9C afterwards, all settings stock. r15 is running nicely. :good:
[Nexus 4 Original Android Development] Harsh:
Living near north pole? In India battery temperature starts with 32 C and then go up very rapidly.

Sent from my Nexus 4
[Nexus 4 Original Android Development] zephiK:
No reason to be paranoid, the guy was just saying. He didn't blame it on the kernel, there are many factors. But then again, everything you flash is your responsibility and no one elses. There's a risk in doing anything downloaded from XDA.

R15 working well for me, temps seem fine for me. I don't benchmark either, they mean nothing to me.
[Nexus 4 Original Android Development] comminus:
Ha! not near the north pole :silly:

Regardless of battery temperature starting at 32C, under normal use the phone is not going to suddenly overheat. Notice I'm not saying that anyone should ignore ambient temperatures or environmental factors and proceed with benchmarking ;)

edit: obviously "normal use" is entirely relative.
[Nexus 4 Original Android Development] ctfrommn:
I agree....while mine arent that low they are lower than they were on r14. Not sure if something changed or simply placebo, but I definitely have no heat issues doing anything....well except Nandroid backups/restores as these seem to peg all 4 cores to the max during the process.
[Nexus 4 Original Android Development] IonCannon218:
What app is that to get the monitor in the status bar?
[Nexus 4 Original Android Development] Smurph82:
This is a good one Battery Wdget Reborn
[Nexus 4 Original Android Development] richteralan:
I'll use my phone for a whole day.

After a few reboots seems better.
[Nexus 4 Original Android Development] :
Curious of those who are using Franco's color control app. What settings are you using? Still trying to find that "Sweet" spot.

Thanks.
[Nexus 4 Original Android Development] IonCannon218:
I meant the CPU one in the middle.
[Nexus 4 Original Android Development] xploder270:
I didn't modify anything regarding thermal or throttling. All I did was to fix clocks to 1512 and run CF bench twice.

The phone doesn't do anything without USB attached and with i only get a red led when trying to boot up normally.

After a couple tries, fastboot comes up and works fine (phone is completely stock and locked).

Thanks for all your condolences ^^

I already ordered an exchange device (because of a dead pixel) on the 7th so I hope I'll get it soon.

Edit: I used a rooted stock rom and franco updater.

The USB cable was attached and the phone was charging when it happened.
[Nexus 4 Original Android Development] desiromeo719:
Im using 238,228,240. Got it from someone who calibrated their device using a colorimeter. Not all devices are the same and each needs to be calibrated differently but this does give a really good baseline. Also i think the settings that are in the pics on google play when you download the app are also good.
[Nexus 4 Original Android Development] richteralan:
I find the reverted 4.2 Gamma in the kernel works pretty well. And I see no point adjusting until Francisco pushes the Gamma adjustment update.
[Nexus 4 Original Android Development] Testraindrop:
Its called cool tool ;)

Gesendet von meinem Nexus 4
[Nexus 4 Original Android Development] AppReviewBros:
Wait, so you ran benchmarks while charging your phone? That's not a smart thing to do.
[Nexus 4 Original Android Development] ctfrommn:
I do that all the time and have never had an issue with heat.
[Nexus 4 Original Android Development] AppReviewBros:
May I ask you what are your CPU temps? When playing games my CPU goes as high as 60c, the phone gets very hot and throttles both CPU and GPU!
[Nexus 4 Original Android Development] ziddey:
recent nightly of cm10.1. Just tried with google's toolchain with no luck.

I just read here: http://xdaforums.com/showthread.php?t=1984094

I'm guessing the lack of ramdisk is the issue? I've tried following the steps there, using the ramdisk from r93 as well as cmdline, although I don't understand what's being edited before making the new image.

Will have to experiment more, but hoping I'm close.

Thanks
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

With r93 when I hit the power button to wake the screen, sometimes something weird happens with the touch driver possibly? Like it'd start pulling down the notification bar a little bit as if I am touching the top of the screen, when I am not.
[Nexus 4 Original Android Development] CaspaTheGhost:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Same time mate, its just r93 but with the cpufreq patches.

Sent from my N4 Asylum
[Nexus 4 Original Android Development] Ipse_Tase:
I know I will get murdered but I have to ask, as I don't see in the changelog what could have affected Antutu performance for CPU and CPU floating-point. If anything, It should have been only better for GPU performance.

r90 vs r93

BTW...where did they get Galaxy S4 numbers? I have seen only "rumors" so far :)
[Nexus 4 Original Android Development] drawde40599:
93

93 been running great but is giving me data issues , actually had Data completely drop out and not come back 3 times today , downloads take forever to load , and its not all the time is maybe 40% of the time . r those wake lock patches in latest versions ? if so can u get rid of them ? Or have a version without them ? I'm on stock kernel right now and my data is acting a lot better no stumbles no waiting on downloads . so I don't get it .
[Nexus 4 Original Android Development] franciscofranco:
You dont need a ramdisk, the ramdisk is already inside your phone. Use anyKernel method for flashing, might work. Something is definitely fishy there.

I don't have that. Can you try and change some of the Accuracy Filter parameters? Path's on the changelog of r93.
[Nexus 4 Original Android Development] franciscofranco:
Can you try this:

ro.ril.hsxpa=2

ro.ril.gprsclass=12

ro.ril.hsdpa.category=24

ro.ril.hsupa.category=7

Easiest way is:

echo ro.ril.hsxpa=2 >> /system/build.prop

echo ro.ril.gprsclass=12 >> /system/build.prop

echo ro.ril.hsdpa.category=24 >> /system/build.prop

echo ro.ril.hsupa.category=7 >> /system/build.prop

Then reboot and use my kernel see if that changes something.
[Nexus 4 Original Android Development] vomer:
UI smoothness is quite evident on 93. msim is very low as well!

Thanks franco :good:
[Nexus 4 Original Android Development] hawkye:
I noticed some of these data issues also. I am giving your build.prop settings a go and will report back. Thanks!
[Nexus 4 Original Android Development] dhruvmalik:
Yes certainly r93 is the most stable yet for most of us I would say.

Great job Franco.
[Nexus 4 Original Android Development] drawde40599:
Thank u I'll try this
[Nexus 4 Original Android Development] Luigiesin:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Amazing build Franco! The. Never post battery stats but this deserves it!

Lots of phone calls and screen on.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.0 (Feb25)

Kernel: Franco r93-test

T-Mobile
[Nexus 4 Original Android Development] Fidelio_o:
The biggest reason for me, was the fact that now I can flash everything from the N4 onto my optimusg G, PLus i get the benefit on 4G LTE here in NYC, plus the expandable memory.
[Nexus 4 Original Android Development] jassycliq:
fastboot boot zimage

doesn't work correctly, need to flash as an actual boot img
[Nexus 4 Original Android Development] derPianist:
AW: [KERNEL][GPL][N4] franco.Kernel - r93

Maybe it could also be a bit more Hardware related ?

Your problems with signal seems more severe than those problems I read from so far...

via my ∞ awesome SONY Xperia Z

Ready for more Android awesomeness? ...check this out!
[Nexus 4 Original Android Development] drawde40599:
I just added them to the bottom of the build prop couldn't get terminal to work . I'm going to run least half a day before saying it helped or didn't help. . thanks Franco
[Nexus 4 Original Android Development] dhruvmalik:
Could be a possibility. The deal is that I lose Data perhaps 3-5 minutes during a call. Oddly enough is when I call an iPhone, I dont lose it ;) but every android device I have called (Same Network, Other Networks), they tend to lose 3G data a few minutes in the call.

I am now walking around different locations in the city trying to see if its the carrier's location or not.

Thanks for the info.
[Nexus 4 Original Android Development] air2k57:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

I can, I reflashed it and it seems fine now, was very odd. Because before I read your reply I literally tried pretty much everything.
[Nexus 4 Original Android Development] pa.pn2:
AW: [KERNEL][GPL][N4] franco.Kernel - r93

Hmmm had a complete network loss overnight with r93

Had to retype my pin

Whats going on?
[Nexus 4 Original Android Development] slg60:
Hello,

first of all nice Kernel with lots of modification options, so thanks Francisco!

One thin I figured out has to do with vibrator feedback options.

I have the feeling that theese settings are used as global settings.

That causes problems when adapting the vibrator feedback in aosp Keybord (not possible).

You can set what you want, every time the same vibrator intensity, same for all virbrator feedbacks!

I'm on Cm10.1!

Perhaps that can be fixed!?
[Nexus 4 Original Android Development] TheLawIX:
I guess the N4 is just too scared of the GS4.
[Nexus 4 Original Android Development] ectodroid:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Another night, now with r93, still great idle battery. :D
[Nexus 4 Original Android Development] alanwyl:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Not sure about CM

But I can set the aosp keyboard intensity.

Follow the steps in the screenshots.

Keyboard settings, advanced
[Nexus 4 Original Android Development] slg60:
Ok, was my mistake.

The intensity itself is lower so I have to adapt to 2ms to get the same result as on stock cm with 5ms. Working!
[Nexus 4 Original Android Development] Hanny:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

Got a reboot just now :/

last boot reason: reboot

r93 (not test) no UV

Interactive 384/1512, hotplugging defaults

A lot of "led" thing in the kmsg, what could that possibly be? thanks

kmsg: http://db.tt/h4GuyqdS
[Nexus 4 Original Android Development] dhruvmalik:
Ok CERTAINLY Not a hardware fault. It must be the cell towers or something. I drove home 30 minutes to grab the other N4, popped in my sim and got on a call, BOOM in less than 2 minutes the Data dropped.

SO this leads me to believe its software related.

P.S. Not to threadjack obviously, but just providing my results as I ran both on CM10.1, Feb 28th, with Franco r93.
[Nexus 4 Original Android Development] jak3z:
That led thing is really strange O_o
[Nexus 4 Original Android Development] mefistos:
Re: [KERNEL][GPL][N4] franco.Kernel - r93

You could have better battery if your phone would not reconnect from 3G to 2G so often... It drains battery as hell...
[Nexus 4 Original Android Development] franciscofranco:
Wow thats very weird, I never seen that spam before. I will investigate, although it seems like a random even. What rom are you using?

Very strange, thanks. Can you email me so I can send you something? Thanks.
[Nexus 4 Original Android Development] jak3z:
Miasmic are you using by any chance Lightflow app?
[Nexus 4 Original Android Development] dhruvmalik:
Hey Francisco,

Just emailed you on franciscofranco.1990@gmail.com (your public email address)

thanks.

P.S. Battery life on r92 and r93 is fantastic. I dont have anything changed in respect to UV or interactive, etc. Its fluid and the HSIC wake locks are quite minimal.

Would show stats but have been flashing roms and modems all day to verify my Data issue.

EDIT: r96 test version Franco sent seems to hold up VERY WELL. No data loss what so ever so far after 10 minutes; usually it only takes 1-3 minutes for the signal to dip and lose 3G. I hope these changes are merged for future releases as well.

I will continue to monitor it and see how it performs, but this is the first time I feel content after all of my tracing and ROM humping for the past 1 week.

Thank You SO Much Francisco.
[Nexus 4 Original Android Development] bboran:
I am gettin random reboots but i dont know if it is kernel related or rom related. Using latest AOKP Pub unofficial release by bigxie. I think kmsg report needed for franco but i dont know how to get this report so if anyone can tell me ill give the report. Thanks.

Using r93 btw.