yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] LaboDJ:
Linaro franco.Kernel

-O3 Optimized - v3.4.67+ base updated - 4.8.2 Linaro toolchain​

I forked Franco sources and I mantain my sources in sync with his git changes.

Please let me know what do you think about the speed, stutters compared to franco builds.

Code changes in Linaro version from Franco stock:

- -O3 and other compiler optimizations

- Fixed warnings

- Removed many debug options

- Fixes from codeaurora to camera, mdp, video output...

- Add faux sound support, and faux sound fixes, YES YOU CAN USE FAUX APP!

- Enabled kernel wakelock stats

- Latest Linux upstream 3.4.y

- Many Slub, slab, slob allocators optimizations and bugfixes

- Removed some usless flag in defconfig (useless debugs, ntfs support...)

- Tweaks to make it compile with gcc 4.8.2

- Improvements to battery charging, improved detection of fully charged and others fixes.

- Bugfixing to mmc, random, slub, xz compression

- Other small fixes, see my git

- Franco Audio patches not included for now, I prefer Faux solution, let's see in next builds

Code changes in Prima version from Linaro:

- Updated prima drivers (wifi, 3g, bluetooth) to 3.2.3.191+

- The .zip add 2 new files to /system needed for new prima drivers, if you want to switch back to normal version you'll have to dirtyflash your ROM before flashing old/another kernel

------>

DOWNLOADS

<------​

Source HERE

Credits:

@franciscofranco

@stratosk

@anarkia1976

@faux123

@kecinzer

@ayysir

XDA:DevDB Information

Linaro franco.Kernel, a Kernel for the Google Nexus 4

Contributors

LaboDJ

Kernel Special Features: Franco Kernel compiled with Linaro Toolchain, it includes latest linux patches, and other optimizations.

Version Information

Status: No Longer Updated

Current Stable Version: 193v2

Stable Release Date: 2013-11-02

Current Beta Version: 193v2

Beta Release Date: 2013-11-02

Created 2013-07-29

Last Updated 2013-12-04
[Nexus 4 Android Development] LaboDJ:
FAQ

FAQ:

Franco explained better than I can do.

I can add:

5: Can i switch from your kernel to Franco one anytime I want?

A: Yes, you can do it without flash anything.

6: My phone boots normally then the screen goes off and it reboots

A: Known BUG in DMA, don't let the screen goes off until f.ku color are set.

7: I'm on franco Milestone/nighly #xxx how can I flash your kernel?

A: Clear f.ku app data, then flash my kernel.

8: Can I use f.ku (franco.Kernel Updater) with your Kernel?

A: Yes, you can.
[Nexus 4 Android Development] PetritH:
Good luck dude.
[Nexus 4 Android Development] sir*mez:
Thank you, I'm definitely going to enjoy testing these out!
[Nexus 4 Android Development] thebryceee:
Did you have errors while building
[Nexus 4 Android Development] LaboDJ:
No errors, I fixed 2 things on mako_hotplug.c adding __cpuinit in 2 functions.

Some warning... that also appears using google toolchain.
[Nexus 4 Android Development] thebryceee:
Nice
[Nexus 4 Android Development] 3dupunk:
I've been running the linaro builds since 143, thanks for your efforts!

Let's see what this turns into....
[Nexus 4 Android Development] thebryceee:
Last kernel i used for the evo 3D was O3 optimized for linaro and it was a night and day difference
[Nexus 4 Android Development] Beremus:
Thanks dude.
[Nexus 4 Android Development] thebryceee:
Francisco said he doesn't have a problem with your Linaro builds in there btw
[Nexus 4 Android Development] mammenj:
Thanks, finally you created thread. Anyway it's good to have separate thread to keep it segregated from the normal build.

Edit : Appreciate if you could also add the md5 somewhere.

Here is for the last build, 89cbfde5561ff8f42f3bdf0501168fc8
[Nexus 4 Android Development] DesertVelo:
Thanks for the kernel builds. I am excited that you are pursuing this project. I have been using your kernel with a linaro built ROM from Trailblazer11 (CM based). Great combination.

Sent from the singletrack...
[Nexus 4 Android Development] Maibol:
is there a possibility to see a 4.8 toolchain kernel in a near future? i try this one and maybe is placebo but is working great for me feels snapy and smooth on some user interfaces this kernel definitely give some boost on the experience not a hardcore one but help make the experience a great one.:victory:
[Nexus 4 Android Development] mr xombie:
Finally, a different thread.. :victory:

will try this now.. :laugh:
[Nexus 4 Android Development] fatjoejr2001:
So you won't consider including the latest prima drivers or maybe do a version with and without it? Thanks for this...

Tap, tap says the wicked G()()GLE N4
[Nexus 4 Android Development] rockafellor:
What does the 03 stand for? And what are the changes compared to non O3 version of your Linaro r146 build?

Sent from my francofied paranoid Nexus 4 with Tapatalk 2
[Nexus 4 Android Development] mr xombie:
I know that i shouldn't rely on benchmark app. But here's some screenshot using franco's build and Linaro one.

Franco's:

View attachment 2013520

LaboDJ's:

View attachment 2013522

Sent from my Nexus 4
[Nexus 4 Android Development] Ƶero:
yea you shouldnt rely on benchmarks too much, i just made benchmark with franco kernel and had 13xxx score 2nd try was over 18xxx cause i accidently

turned off screen at 3d benchmark and that caused bad score.

anyways gonna try this kernel with optimations out and see how it works.

btw i also tried out to UV the kernel + overclock it and run benchmark, antutu score is bad, while geekbench 2 scores higher,

benchmark is only a score, you could see wether is a large improvement google stock rom -> custom rom.

But i don't think you can measure the difference between kernel vs optimized kernel.
[Nexus 4 Android Development] markd0wn:
Thanks for r153 :)
[Nexus 4 Android Development] LaboDJ:
Are you always on my mediafire? LOL

R153 OUT!
[Nexus 4 Android Development] markd0wn:
I recently refreshed when I saw you're here and wondered about 153, and when I saw that you re-arranged the folder (making a separate folder for zips), I took a wild guess assuming r153 is also coming :P
[Nexus 4 Android Development] pa.pn2:
thx for the update.love it.specially the miui version.many many thx for that
[Nexus 4 Android Development] nexusmaniac:
I know it's a noob question but what's MIUI? Thanks
[Nexus 4 Android Development] gladi8r:
A ROM

http://miuiandroid.com/community/
[Nexus 4 Android Development] gpvecchi:
Does MIUI need a specific kernel?
[Nexus 4 Android Development] thebryceee:
Yes

---------- Post added at 01:01 PM ---------- Previous post was at 01:00 PM ----------

An iOS like ROM.
[Nexus 4 Android Development] LaboDJ:
A pain in the *** :angel:

...

I'm experimenting new fixes from faux (not audio drivers!), next build will have:

- Improvements to net filters.

- Improvements to battery charging, improved detection of fully charged and others fixes.

- Improvements to usb connection stability

- Other minor fixes.

See my GIT to view everything...

Changed thread name, kernel name, description... see OP.
[Nexus 4 Android Development] digkong:
yes.
[Nexus 4 Android Development] ilanderek:
If I have Francos milestone how do I uninstall it to install this release???
[Nexus 4 Android Development] LaboDJ:
In addition Remember to clear franco.Kernel Updater app data before flash!
[Nexus 4 Android Development] Zlatan9.:
Can you explain that battery charing improved thanks !!
[Nexus 4 Android Development] LaboDJ:
I know you didn't want to see this, but that's all (about power charging):

Patch1:

Some hardware platforms can supply VPH_PWR without battery

or charger being present.

To avoid shutting down due to no connected power sources

from the perspective of software set a flag that forces

the DC supply to be online for this type of platform.

Patch 2:

In the usb_ma_table there exist two consecutive values

that have IUSB_FINE_RES bit set. Some functions

incorrectly assume that this does not happen.

Patch 3:

Toggle the CHG_USB_SUSPEND bit when utilizing the VBUS boost.

This bit controls ensures that no current is being drawn from

a USB device and the charger runs off the battery.

This makes sure that when pm8921_disable_source_current is called

the correct setting is written to the suspend bit depending

on the disable flag.

Patch 4:

There are situations when we observe that charging is in progress

but the end of charge (EOC) worker is not running. This leads to

problems like

-never detecting end of charge

-not adjusting vddmax

-not preventing suspend while charging.

The reason is that the bootloader could have started charging already,

causing a fastchg interrupt to not happen. If the fastchg interrupt is

missed the driver will never start EOC worker.

Check the real time status of the fastchg interrupt and if it is fast

charging invoke the handler so that the eoc worker could be

started.

Patch 5:

With the recent split of functions to calculate and report state of

charge, the faking battery feature broke, it remained in the calculate

function.

Move the fake battery feature in the reporting function, where it really

belongs.
[Nexus 4 Android Development] Zlatan9.:
Ahh okey.. Thats like chinese for me haha :p

But this included jet or will this be in the next build ?
[Nexus 4 Android Development] ak:
Thanks a lot for your thanks into mainpage. :fingers-crossed:
[Nexus 4 Android Development] LaboDJ:
AK! :)

You and your GITs are the chief here.

I have taken many cues from your git, you're doing a great job, the credits were due. :good:
[Nexus 4 Android Development] markd0wn:
Is the next build with the new improvements coming soon (as in a new version of r153), or will it come with the next franco release?
[Nexus 4 Android Development] Zlatan9.:
Yes thats the big question
[Nexus 4 Android Development] LaboDJ:
(release)
[Nexus 4 Android Development] ciprianruse88:
Franco said that he will not release anything new soon cuz he wants users to test r153 more deeply to provide better feedback so this is a good Q :)

Edit: so next release will be:thumbup:
[Nexus 4 Android Development] Zlatan9.:
Pfff please do it for R153 because franco said he will not release kernel for a week.

Hehe i like your work labodj !
[Nexus 4 Android Development] LaboDJ:
Ooook Ooook, last time, then I go to bed...

Up in 15 minutes

I'll delete old ones in mediafire.

Working for you dudes:
[Nexus 4 Android Development] Connor Baker:
Thank you Sir, for releasing this improved version of Franco kernel. I... I think I love you.

Connor Baker

Also, many thanks for making a MIUI version so I don't have to. :D
[Nexus 4 Android Development] Zlatan9.:
SUPER THANKS! Last one question the battery improved thing can you explain that in easier words haha will it charge faster?
[Nexus 4 Android Development] LaboDJ:
Nope... never experienced when it stay at 99% forever?

ok, now this problem should be fixed...
[Nexus 4 Android Development] LaboDJ:
R153 Supercharged UP!
[Nexus 4 Android Development] thebryceee:
How's this supercharged?
[Nexus 4 Android Development] Elchemist:
Thanks for the builds LaboDJ.

So whats extra in the Supercharged compared to the Linaro builds?
[Nexus 4 Android Development] LaboDJ:
From now on new versions will be all supercharged... see OP for further info.
[Nexus 4 Android Development] jamescable:
Cant see/find download link?
[Nexus 4 Android Development] rockafellor:
See first post... On first page... Some people never learn

Sent from my francofied paranoid Nexus 4 with Tapatalk 2
[Nexus 4 Android Development] nexusmaniac:
I thought that the official r153 was smooth, then I thought that Linaro r153 was as smooth as it could get... Then the supercharged version came out and wow, this phone runs extremely smooth :)
[Nexus 4 Android Development] jamescable:
I have looked at first page/post the only thing i can click on is md5sum and github. No download link showing up
[Nexus 4 Android Development] jawz101:
I'm just glad supercharged didn't mean that v6 script. Actually, I wish the name of the kernel didn't have that word in it. That developer butchered the meaning of it.
[Nexus 4 Android Development] tarroyo:
I contacted the dev of touch control, and he said if this kernel is requested enough he'll consider supporting it.

His email is support+tc@paranoid.me
[Nexus 4 Android Development] ceejay83:
are you drunk bro?
[Nexus 4 Android Development] jamescable:
No, lol. Not that im aware of. I think its my phone, let me try on computer
[Nexus 4 Android Development] gharrrrrr:
Big blue letters with arrows.

Sent from my Nexus 4 using a flounder.
[Nexus 4 Android Development] LaboDJ:
I don't give a f*** about what he did.

That s****y script.
[Nexus 4 Android Development] LaboDJ:
Next change: blinky sparkle download button. LOL
[Nexus 4 Android Development] 3dupunk:
I've been flashing a bunch of ROMs lately just seeing what's out there....I got to purity and I was really impressed, the ROM is fast! I tried purity with its stock and a test kernel provided in the purity thread and they were great but ive been using labodj's linaro Franco kernel builds since he started them and wanted to see if 153 would make a difference....WOW....immediately I felt an improvement. Maybe placebo but I really don't think so....its like a pbj sandwich! :D

[MENTION=702102]LaboDJ[/MENTION] thanks man!
[Nexus 4 Android Development] dondadah88:
I flashed this and Wi-Fi broke :(

---------- Post added at 10:59 PM ---------- Previous post was at 10:58 PM ----------

I'll try the kernel rest again
[Nexus 4 Android Development] Vangelis13:
I just flashed as well and everything is grand. Bars are grey at first, did you allow it to breathe a bit..?
[Nexus 4 Android Development] yukarundeng:
It happened to me on 151, too. Let's see 153 v
[Nexus 4 Android Development] drawde40599:
Used Franco 153 all day, Been using 153 SC last few hours, no Disrespect to OP but i dont feel a difference
[Nexus 4 Android Development] LaboDJ:
Please see the OP FAQ #10.

WIFI is stock Google.
[Nexus 4 Android Development] yukarundeng:
I'm coming from franco prima driver, so what should i do?
[Nexus 4 Android Development] pa.pn2:
flashing the revert kernel as mentioned in franco prima thread?

why do people always flash everything, and read nothing?
[Nexus 4 Android Development] mor_1228:
Sorry m confused which should i use. i on slim rom.
[Nexus 4 Android Development] LaboDJ:
4...
[Nexus 4 Android Development] DeepMemory:
Can you supercharge milestone 2? Sorry if this is a bad request.
[Nexus 4 Android Development] manulemaboul:
I'd love to see faux sound in this baby, I don't want prima so I'm always like "so, faux but with prima, or no prima but no faux either ?"

Your version works really great by the way, maybe the smoothest of the 3, wich is why I hope to see faux in it some day :)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] bradm23:
Just some feedback on 153 super charged. So far I have gotten the best battery to date with 153. I am not sure if it is related to francos newest hotplug or the other tweaks the op added, I'm sure a combination of both is likely. I usually judge how sot time I have from a full charge to 75% to compare. Today in have the highest sot at 75% ever at 1h15m. Default settings, -100 UV. Usually I am around 50 min to 1h max. This is all on HSDPA network. Wifi results differ.
[Nexus 4 Android Development] ktkr:
Nice job bro! Any plan to make this possible on nexus 7?
[Nexus 4 Android Development] jawz101:
hilarious. you were certainly full of piss and vinegar last night!
[Nexus 4 Android Development] s00000000000ka:
l' r153 rulla un vallo :victory:
[Nexus 4 Android Development] nexusmaniac:
I've asked this already and unfortunately he hasn't hit a nexus 7 so he can't compile the kernel for it :(
[Nexus 4 Android Development] bleuwave:
Many thanks for the miui version. It's appreciated by many.
[Nexus 4 Android Development] Connor Baker:
What magic was involved in the making of this wonderful kernel? I got no battery drain while it was asleep over the night! Stupid mobile won't let me upload my screen shot though. :=(

Connor Baker
[Nexus 4 Android Development] Mr Djoegoe:
Just flashed your kernel, lets see hoe it goes :)
[Nexus 4 Android Development] Vangelis13:
Of course. However, clear the cache & data of the app when you switch between the two kernels. :thumbup:
[Nexus 4 Android Development] Brokenme23:
Just flashed! don't know if placebo, but feels nice lol thanks man!
[Nexus 4 Android Development] ryanytchan:
Waiting for supercharged 154!
[Nexus 4 Android Development] Zainiak:
Man if only this had prima as well. I have to choose between this and the prima version every day lol

EDIT: never mind about the prima drivers. Just read op
[Nexus 4 Android Development] fatjoejr2001:
+111111111111111111

Tap, tap says the wicked NeXus 4
[Nexus 4 Android Development] LaboDJ:
R154

- Removed some other debug

- Added Fair Queue CoDel discipline

- Code cleanup

- Minor fixes

- No more MIUI .img files, only .zip (0 downloads in MIUI .img files)

Download, as usual, in OP
[Nexus 4 Android Development] manulemaboul:
Hmmmm regarding faux sound, yours is gonna build with my gcc version, the same as yours, I shouldn't have to fix anything.

Why not merging it myself then ? :)

I'm gonna try that when I'll have some time after work.

Would you just mind telling me where I can find the config file you use ?

Never found Franco's one lol.

Is it on your git ?

If yes, I'll find it, I'm not familiar with boot image extractions.

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] LaboDJ:
Milestone 2 is jurassic... I'm not goin' to release milestones, only nightlies

My first goal is to allow full compatibility with all Franco Kernel Updater options... Moreover I've no time to merge, and test it... so not for now.

Thanks: I learned something on urbandictionary.com :)

Modo di dire mai sentito :) ma sono contento che qualche italiano segua il thread, sfortunatamente non ho tempo per tenere 2 thread, uno già mi impegna un casino, quindi:

APPELLO A TUTTI, se qualcuno ha tempo ed è iscritto su Androidiani per favore faccia un thread su questo kernel :)

I'm really sorry for that, Now I can't buy a N7, no money. In fact I can build from sources even if I don't own a device, but I can't test if it boots, if it bricks, if it go fast or slow... so I can't build

From now on MIUI version only in .zip, no more .img files, 0 downloads and 6MB less to upload

Me too :) :laugh: BTW I'm also using greenify.

================================================================================

Please, if you like this kernel rate the thread clicking the 5 stars in the upper right :) thanks
[Nexus 4 Android Development] manulemaboul:
Only greenified maps and sleep drain is impressive either :thumbup:

As I said, don't worry about faux sound, I'll merge it myself. Can't be that hard, it's supposed to automerge without conflicts.

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] Aetos7:
Faccio io Labo, dont'worry!
[Nexus 4 Android Development] LaboDJ:
<3 :good:
[Nexus 4 Android Development] pa.pn2:
thx for the update.flashing right now...
[Nexus 4 Android Development] JNewms:
Just wanted to say thank you to the op. Flashed this kernel last night, then updated to 154 this morning, and wow, this thing is fast! I switched from PA to the AOKP pub build, along with this, and my battery is definitely better, and it's faster! Don't know how I'm getting better battery and performance, but I'll take it.
[Nexus 4 Android Development] galaxys:
Working great... Thanks for this badboy!
[Nexus 4 Android Development] tuilalnvinh:
Best combo with miui, thanks man :thumbup:
[Nexus 4 Android Development] PetritH:
Thank you as always Dj.
[Nexus 4 Android Development] DooshPastesh:
Awesome kernel. Also would like to thanks for miui support!

Wysyłane z mojego Nexus 4 za pomocą Tapatalk 2
[Nexus 4 Android Development] blankit:
Can someone tell me if this is better that. Franco's kernel as in performance and battery wise?
[Nexus 4 Android Development] brezzz:
what settings are recommended to keep this fast but also good battery life?

govenor?

iosched?

never used franco before so thats why im asking.

thanks

Brezzz
[Nexus 4 Android Development] manulemaboul:
I've tested the 3 (the original Franco, this one and the prima faux one) and this one is my favorite.

It's the smoothest and that sleep drain... :D

It's also the coldest by the way, but that's what my fingers says so It's a bit subjective :)

Envoyé depuis mon Nexus 4

---------- Post added at 11:49 PM ---------- Previous post was at 11:48 PM ----------

Defaults ones :)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] brezzz:
what, just flash and thats it?
[Nexus 4 Android Development] manulemaboul:
Pretty much, yes.

Just set your color profile, your undervolt and enjoy :)

That's how I do.

I don't think I could tune Franco's hotplug and governor better than himself :)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] brezzz:
does a color profile have to be set or can this just be left?
[Nexus 4 Android Development] manulemaboul:
It's as your preference, try the obsanity gamma optimised, it looks great :)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] brezzz:
thank you for your help :good:
[Nexus 4 Android Development] manulemaboul:
You're welcome :)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] Luigiesin:
Agree with you! This is the best version so far.... The difference is very noticeable.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.60

Kernel: Franco r154-Linaro

T-Mobile
[Nexus 4 Android Development] Aetos7:
Hey Labo! Can you make a Supercharged of fk r143/6? Because they have amazing battery life! Thanks!
[Nexus 4 Android Development] df1ech:
In comparison to stock kernel is this smoother faster ? I only had stock droid for about 3 minutes to test if it powered on then I flashed cm10.1

Can the color profile be set without the kernel application ? And can it be set on boot so that it is active already when the animation starts?
[Nexus 4 Android Development] Bierfreund:
Does this work with Paranoid Android ROM?
[Nexus 4 Android Development] ciprianruse88:
Yes
[Nexus 4 Android Development] dashqa:
What about TouchControl support? When it will be support? And what TouchControl's developer think about this kernel?
[Nexus 4 Android Development] emanoj.i9103:
Please ask touchcontrol developer in his thread.
[Nexus 4 Android Development] kenship:
Are you referring to this setting?

RGB 255

GMBW 0/119/119/7

CBS 0/0/119
[Nexus 4 Android Development] rajarshi10:
Anyone using Carbon rom with this? How is the experience?
[Nexus 4 Android Development] tiotempestade:
Anyone knows of labodj changed the default io scheduler? In his supercharged version?
[Nexus 4 Android Development] DesertVelo:
Supercharged is still deadline, which is default now. Franco had it at noop at a couple releases back for testing. Keep it at deadline.

Sent from the singletrack...
[Nexus 4 Android Development] manulemaboul:
Recommanded values, on top of the gamma settings page. See attached screenshot ;)

Envoyé depuis mon Nexus 4
[Nexus 4 Android Development] gio_punsalan:
Hi just a question. Is the default governor really interactive? Thank you!
[Nexus 4 Android Development] nexusmaniac:
Yep, the default governor is interactive and the default I/O scheduler is deadline :)
[Nexus 4 Android Development] JNewms:
Hey guys, got a question. It's anyone having issues with Wi-Fi on the latest 2 builds? My Wi-Fi had gotten brutally slow and somewhat unresponsive in the last 2. I have checked my router with speed test through my laptop and speeds are fine. My 360 is working fine online. I'm thinking it may be something kernel or Rom specific, but not sure.
[Nexus 4 Android Development] thebryceee:
Mine has been up to par
[Nexus 4 Android Development] JNewms:
This is really frustrating, I can't figure out what the issue is... I've NEVER had problems with Wi-Fi on Franco kernel, so I am really at a loss.
[Nexus 4 Android Development] thebryceee:
Only thing I've changed was McastBcastfilter to 0 in /system/etc/wifi/WCNSS_qcom_cfg.ini
[Nexus 4 Android Development] LaboDJ:
... and if I say Faux sound + Sweep 2 wake?

Yes or no?
[Nexus 4 Android Development] LaboDJ:
Bad Boy :cowboy:
[Nexus 4 Android Development] pa.pn2:
yes and no.lol