yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] rachanta:
I will post the kernel I am testing and then start rebuilding from 5.1 base. There are some 5.1 commits that I am forced to leave out, including enabling seccomp. Though the test kernel is smooth and slick with 5.1 system image, I don't think I should deviate too much from Google's source.
[Nexus 5 Android Development] pianistaPL:
If you will fix quiet sound, it's gonna be perfect kernel!
[Nexus 5 Android Development] rachanta:
[MENTION=4496256]pianistaPL[/MENTION]

Pl go to my androidfilehost from link in my signature. The file is...L5.1_000...

If this has made sound louder, the job is done for now.
[Nexus 5 Android Development] sam.balia1012:
access denied

could you grant me access to your builds?

thanls
[Nexus 5 Android Development] rachanta:
[MENTION=4496256]pianistaPL[/MENTION], [MENTION=4613517]sam.balia1012[/MENTION]

Last build for testing - has sound improved?

https://www.androidfilehost.com/?fid=95916177934539633

github: https://github.com/rachanta/kernel_n5_racer/commits/racer_5.1
[Nexus 5 Android Development] nedooo:
Maybe, but it won't boot :)
[Nexus 5 Android Development] rachanta:
Pre-release RACER_5.1_001

[MENTION=3387811]nedooo[/MENTION]

Never had problem with booting 5.0.2 or 5.1 now from L18.0 onwards.

Here is a pre-release build to test:

https://www.androidfilehost.com/?fid=95916177934539858

Changelog (from L18.0):

Full rebase - 5.1 is now at the base and all RACER commits on top

Sound is now AOSP + CM. Updates from CAF removed

Diag mode re-enabled. Pl see http://xdaforums.com/google-nexus-5/help/dev-enable-diagnostic-mode-t2535478

Incompatible GPU Updates removed

ROM - Nexus 5 Android 5.1 system image from Google. Antutu Score: 45501

I think sound problem is solved now - pl test and let me know
[Nexus 5 Android Development] nedooo:
I can film it if you like... L20 boots fine but that did not...

Will do test in a min. Thanks :)

Boots fine feels fine one more big Thank You :)
[Nexus 5 Android Development] pianistaPL:
TBH it's still quiet in compare to other kernels, for example UBER.
[Nexus 5 Android Development] rachanta:
[MENTION=4496256]pianistaPL[/MENTION]

Try this: http://xdaforums.com/showpost.php?p=59359973&postcount=1558

I found an improvement in sound. It has 5.1 sound + cm sound updates. If it still does not improve, I will remove all CM sound updates. Native sound is actually the loudest.
[Nexus 5 Android Development] cocchiararo:
Hi crew

Yesterday i wiped my phone and installed stock 5.1.

I plan to run it a few days untouched, so that i can remember the difference from that vs racer + F2FS.

When i was about to apply the AdAway addblocking, it complained that /system is too full (it has less than a MB free).

I did add titanium backup as a system app, root, and openrecovery, but nothing more.

Will custom kernels (and UKM?) fit like this ?
[Nexus 5 Android Development] rachanta:
[MENTION=603659]cocchiararo[/MENTION]

No problem here with UKM/Synapse with RACER latest builds.
[Nexus 5 Android Development] cocchiararo:
and free space in system partition? i am afraid i might have added something else on reflex XD
[Nexus 5 Android Development] nedooo:
Just one thing to ask.

Is GPU really overclocked since as far as I I know so far nobody did that actually, only fake OC???
[Nexus 5 Android Development] rachanta:
Test request - Compare sound volume and clarity

Please compare sound volume and clarity of these two build

With CM sound

https://www.androidfilehost.com/?fid=95916177934540020

Antutu with xTraSmooth - 45224

Without CM sound

https://www.androidfilehost.com/?fid=95916177934540016

I find that the sound is definitely louder with Without CM sound. The one that is better will go to OP. Feedback please :fingers-crossed:
[Nexus 5 Android Development] rachanta:
[MENTION=3387811]nedooo[/MENTION]

IMHO this is not a fake Synase/GPU/Current GPU Frequency reports 650 MHz when governor is set to Performance .
[Nexus 5 Android Development] nedooo:
That seems like fake OC...and as far as I know no one have managed to OC adreno (just think about nearly 50% OC gives same, but mostly worst results as no OC).
[Nexus 5 Android Development] FunkyRasta:
Hmm fake OC ? Doubt it. Lemme just run some graphic benches and it will be settled.

Edit: After all... GPU OC is nothing more than snake oil... Sad to say this. Low level GFX Bench OpenGL tests show no score increase after 450 MHz . Same goes for quadrant :(

Edit2: I'm using latest build ( aosp one) on 5.1 factory image, GPU is not dropping to 27 MHz when idle, only 100 MHz :(
[Nexus 5 Android Development] pianistaPL:
[MENTION=1863016]rachanta[/MENTION] Build without CM sound has normal sound! :)
[Nexus 5 Android Development] rachanta:
[MENTION=3387811]nedooo[/MENTION], OK I got the point. Let me see how to revert to 450, and get idle freq to go down to 27. I had to skip a few GPU commits from L18.0 to finish compiling. I may have to get them back. [MENTION=5106530]FunkyRasta[/MENTION], how does the latest GPU performance compare with say L16 or even L18?
[Nexus 5 Android Development] FunkyRasta:
Oh, haven't run aby graphic specific benchmark before :( but I don't see any downgrade either :)
[Nexus 5 Android Development] rachanta:
Fake GPU OC removed

GPU Max is 450 MHz, idles at 27MHz, Simple GPU Gov added (many thanks to [MENTION=3873953]eng.stk[/MENTION]), Interactive GPU Governor removed. Please see.

https://www.androidfilehost.com/?fid=95916177934540327

Synapse may still show interactive GPU in options. Please install UKM again to reset Synapse properly.

[MENTION=4556031]y0y0y[/MENTION]

The GPU Frequency issue is resolved. Sorry that I never acknowledged it as a problem till I got alerted by [MENTION=3387811]nedooo[/MENTION] about fake GPU OC commits doing the rounds.

Edit: all previous test builds withdrawn.
[Nexus 5 Android Development] nedooo:
Wow kernel master is superman :) respect
[Nexus 5 Android Development] y0y0y:
nice work !!

Regards,
[Nexus 5 Android Development] FunkyRasta:
[MENTION=1863016]rachanta[/MENTION] simple governor for GPU is better then interactive or there were issues with interactive ?

27 MHz is back ! :D however 100 is gone and minimum is 200 MHz... :(
[Nexus 5 Android Development] rachanta:
[MENTION=5106530]FunkyRasta[/MENTION]

Earlier I followed Cl3Kener's approach. Now I have used eng.stk's approach. I will figure out how to get 100 in the current framework in future builds.
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] May I ask why you are forced to leave out these commits, including seccomp?

Regards,
[Nexus 5 Android Development] rachanta:
Nothing is left out in last few builds 5.1.0_r0.6_000 onwards [emoji1]
[Nexus 5 Android Development] cocchiararo:
I read online that the nexus 6 and suposedly the nexus 5 had their kernels tweaked on 5.1, favoring more time with all cores being online and disabling some other energy saving features for when cores are disabled.

dunno if it is true, if it is, is that included here?
[Nexus 5 Android Development] razrlover:
Dude you're a machine!!
[Nexus 5 Android Development] rachanta:
EXT4 & F2FS Updates

NEXUS 5 - RACER_v6.0 ROM UPDATES - AICP BASE

EXT4 version

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

F2FS version

http://xdaforums.com/showpost.php?p=52078042&postcount=2

psst.. , NO CHANGE IN KERNEL. Some build errors corrected. ﻿
[Nexus 5 Android Development] razrlover:
RACER AICP 5/22 with ex fat 5/22 6.0 kernel is really good my friend.

I couldnt make calls though not sure if it was me the kernel or rom.

Restored a backup of stk rooted and all is good. Looking forward to more!!
[Nexus 5 Android Development] rachanta:
I don't understand ex-fat. I have EXT4 and F2FS, and haven't ever had a problem with calls. On which ROM are you trying which of my kernels?
[Nexus 5 Android Development] razrlover:
Ext4 my bad

---------- Post added at 04:39 PM ---------- Previous post was at 04:38 PM ----------

Rom 5/23 official was the nighly i used. My bad there too
[Nexus 5 Android Development] rachanta:
This commit was made about 3 hours ago by LorD:

InCallUI: fix non-intrusive for RTL

http://gerrit.aicp-rom.com/#/c/5423/

It has the potential of disrupting the dialer or phone app, though I doubt that LorD would have allowed such a problem to pass through to the 23 May nightly.

In 2-3 hours I would be rolling out a fresh RACER Kernel and ROM EXT4 build with 3.4.91 linux in Kernel and the above last commit. It would be great if you could flash it and let me know the result. ;)
[Nexus 5 Android Development] razrlover:
Awesome thanks brother. Sorry my post was all over the map.
[Nexus 5 Android Development] rachanta:
RACER_v6.0-EXT4 ROM & Kernel update May 24, 2014

For RACER_v6.0-EXT4 ROM & Kernel update May 24, 2014

Pl go to:

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

Kernel Changelog

- Linux 3.4.91 (Many thanks to [MENTION=3795148]neobuddy89[/MENTION])

ROM Changelog:

http://gerrit.aicp-rom.com/#/q/status:merged,n,z

Last commit included in build:

http://gerrit.aicp-rom.com/#/c/5423/
[Nexus 5 Android Development] ghismo83:
hi is possible with kernel have more ram? if i remember correctly is possible to have 1850 mb. sorry if my answer is absurd.. amyway i love your kernel on cm11!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] rachanta:
In kitkat RAM is managed automatically, and one need not worry about it. In fact more ram used is good, because it means it is not being wasted.
[Nexus 5 Android Development] razrlover:
[MENTION=1863016]rachanta[/MENTION] latest racer rom nightly running great, 0 issues. Thanks for your continued work!!!
[Nexus 5 Android Development] Caspertje19:
I'm still on v4 because I like the s2s/d2w function but it's not included any more?
[Nexus 5 Android Development] rachanta:
All included in build v5, v6 for a long time. Don't hesitate to update please. Go for latest v6-EXT4.
[Nexus 5 Android Development] Caspertje19:
Hmm... How could I miss it... It's in there indeed!

Another question. There is a smartmax and a smartmax-eps governor, the eps stands for e..... Power saving I think. I can see the cpu speeds used are lower and my device doesn't feel that snappy any more. Did you make this profile? If so, could you make another profile wich is a little more balanced between eps and normal smartmax?
[Nexus 5 Android Development] rachanta:
You can switch to smartmax and then go progressively towards smartmax eps if you see battery draining faster. I don't want to mess with built in profiles I have taken from n3ohammer (AICP ROM built in kernel). Progressive undervolting is another option after smartmax is set and fixed. Go -25 and see the effect before going lower.
[Nexus 5 Android Development] rachanta:
Fresh clean builds - v6.0 EXT4 & F2FS - ROM & KERNEL

Everything on Op1 & 2 is now a clean fresh build.

make clean...
[Nexus 5 Android Development] Caspertje19:
I had 2 random reboots today after flashing v6 (I was on v4). Don't know if it's kernel related, but I have attached the logs

<edit> I do not under volt </edit>
[Nexus 5 Android Development] rachanta:
Try disabling Fsync, S2W, S2S, DT2W etc in AICP Extras/Kernel Tweaker/Kernel. I see some lines related to these setting and also governor settings in your log which end in 'kernel panic'. It could also be a case of needing a full-wipe, because of too many artefacts, which happens sometimes after much flashing.

I have experienced random reboots in the F2FS version I am using. They have gone away after I switched to smartmax and stopped undervolting.

Atm I can only request you to download the freshly built v6.0 EXT4 kernel I uploaded at the same link in OP, a few hours back, which is the result of a make clean build I refreshed the links with the clean builds after initial release. It's working fine for me after, after some initial non-sticky behaviour of Kernel Settings. Setting everything in Faux Clock, and few reboots were required to make the Kernel Settings stick, but I am fine after that.

There is also an upgrade to Linux 3.4.91 that has happened, which could warrant a clean install. v4.0 was with Linux 3.4.0.

Btw which ROM are you using?
[Nexus 5 Android Development] Caspertje19:
I already have the latest build 24/5.

With v4 I did not have any issues with the same settings (fsync, s2s).

Im using official aicp nightly (current 22/5 build)
[Nexus 5 Android Development] rachanta:
I have refreshed links with new builds a couple of hours back made with clean install. The main difference between v4 and v6 is Linux upgrade from 3.4.0 to latest 3.4.91. I am sorry you are facing issues. Pl feel free to revert to v4.0 if it worked well.

I haven't yet been able to explain everything that happens with Kernels and ROMs as there are many variables that get introduced, like the Linux stuff in this case. This is the reason AICP Official does not have any of the features that are there on RACER and is still with Linux 3.4.0.

RACER is experimental and is likely to be less stable than AICP Official, which is rock stable.
[Nexus 5 Android Development] rachanta:
[MENTION=603659]cocchiararo[/MENTION]

5.1.0_r0.6 is included entirely. As of now all previous RACER commits including power saving commits are included.
[Nexus 5 Android Development] FunkyRasta:
[MENTION=603659]cocchiararo[/MENTION]

Nexus 6 had it's hotplug re-tweaked in 5.1 kernel relase by Google. They just simple forced all cores on to allow threads to run freely on them without any complicated boosting and migrating mechanism - https://plus.google.com/+FranciscoFranco1990/posts/KB6JYHDG5U8 . Also I believe it won't hurt battery life at all, as plugging cores on/off all the time seems more expensive than leaving them just on....

I doubt something like this was done on our Nexus 5, cores were not on all the time, when I testes factory 5.1 . And Racer Kernel uses Bricked hotplug by show-p1984 which is much different than google stock one. So even if Google would mess with Nexus 5's hotplug it wouldn't affect us, as we are using different hotplug.

Well, as I am an adventorous person, I will duplicate this hotplug behaviour on our Nexus 5's bricked hotplug. Let's see how it goes with battery life. It might be worse, because Nexus 6 has different, newer SoC, but lets see :)
[Nexus 5 Android Development] rachanta:
RACER-5.1.0_r0.6_000_20140314

Finally RACER-5.1.0_r0.6_000_20140314

https://www.androidfilehost.com/?fid=95916177934541066

This folks is my base build with almost all features I care about. Just discovered Vellamo, Qualcomm's benchmarking app.. It shows that this build is almost perfect. No errors such as what I found in last few builds. This is pure google + RACER, a complete rebuild from latest official source.
[Nexus 5 Android Development] y0y0y:
It says 5.1.0 but will this work with 5.0.2 or is this 5.1 only?

regards,
[Nexus 5 Android Development] rachanta:
[MENTION=4556031]y0y0y[/MENTION]

Never looked back after 5.1.0 [emoji1]
[Nexus 5 Android Development] y0y0y:
I am just waiting for a custom rom,with some features I want, to update to 5.1 . I just don't like stock at all. So limited !

I'll try this version when I do update to 5.1.

Regards,
[Nexus 5 Android Development] vrda08:
F2FS?
[Nexus 5 Android Development] rachanta:
No problem with 5.0.2 ;)
[Nexus 5 Android Development] rachanta:
Yes, but you need to boot once with a kernel that has f2fs enabled ramdisk, before RACER.
[Nexus 5 Android Development] y0y0y:
great !! installed

---------- Post added at 01:32 AM ---------- Previous post was at 01:18 AM ----------

looking forward to seeing the results soon..

Regards,
[Nexus 5 Android Development] pianistaPL:
Amazing work, amazing kernel!
[Nexus 5 Android Development] sifun:
are install instructions the same?

Flash rom

Permissive kernel

install racer

ukm

reboot
[Nexus 5 Android Development] rachanta:
[MENTION=4440580]sifun[/MENTION]

I don't know that if anyone has created a permissive boot image for 5.1.0. That step is skipped. Use SELinux mode changer app after boot.
[Nexus 5 Android Development] y0y0y:
chet kener has already posted 5.1 kernels on his servers..
[Nexus 5 Android Development] z.coniglietti:
why every kernel i flash destroys a rom

everything starts force closing system ui clock etc

whats the deal

i tried multiple 502 roms and it always ends the same way
[Nexus 5 Android Development] y0y0y:
Well all the latest kernels are 5.1 ONLY. using them on older android versions will result in issues. What kernels have u tried so far?

Regards,
[Nexus 5 Android Development] rachanta:
Are you trying to run 5.0.2 ROM with 5.1.0 kernel? I could run Simple AOSP build 16 (5.0.2) with no issues with latest RACER 5.1.0. Are you using cm themes? or incorrect gapps?
[Nexus 5 Android Development] rachanta:
Fully loaded RACER

https://www.androidfilehost.com/?fid=95916177934540848

Does much better on Vellamo benchmarks (base RACER 1750+ vs fully loaded 1850+, butter smooth and fasr
[Nexus 5 Android Development] y0y0y:
I don't get it !! this is an older build right? uploaded on mar13, whereas base build was uploaded on the 14th?

which build has the latest commits?

Regards,
[Nexus 5 Android Development] rachanta:
005 has all latest RACER commit. 000 is what a developer would have done to get all RACER user features starting with 5.1.0_r0.6 kernel base. This is an experiment I have done to find out if fully loaded is actually better than base.
[Nexus 5 Android Development] FunkyRasta:
After a day with my four cores on all the time I would say I'm happy.

Haven't really noticed more power consumption much. This maybe to the fact that cores often idle at 96 MHz , they never do that when only two are on (I'm using yankactive gov) Core running at higher freq sucks more battety than two cores at lower freqs. That's a fact , but I cannot find now xda thread that stated this :(

After 30 minuts web browsing and stuff my battery went from 100 to 90 and after 20 more to 80 percent, just like it would with mine Racer setup which is posted on 3rd post in this thread I think.

Running four cores makes the phone soooooo snappy and fluid ! Few sentences earlier I wrote about cores idling often @96 MHz when all of them are on. So it is obviously a sign to try min/max governor like intelimm to make it more powerefficient. I'm going to try this tommorrow with latest fully packed racer build ;)
[Nexus 5 Android Development] y0y0y:
interesting findings [MENTION=5106530]FunkyRasta[/MENTION]

I'm also gonna test this 4 core thingy and will report back..
[Nexus 5 Android Development] FunkyRasta:
Wait ! Do not do that by setting minimum cores to 4 in synapse ! Set single core when screen is off checkbox on. Then set the cores hotplug thresholds to 1 and unlug thresholds to 0 (note: leave cpu4 alone, we only have four cores : 0,1,2,3)

This way when phone is in your pocket and some app uses wakelock to sync ,only one core will be waken up, which is enough. Four cores will be used when you actually use the phone.

I really dont know which has the priority: Screen off single core, or the minimum core on number... So better to play it safe.
[Nexus 5 Android Development] y0y0y:
I am not using synapse atm. I'm using tricksterMOD and have already set single core when screen off..
[Nexus 5 Android Development] FunkyRasta:
So if there won't be more battery drain when screen is off I guess checkbox will be sufficient :) waiting for your report
[Nexus 5 Android Development] Jiggs82:
Hey can latest racer 3/14 be flashed on 5.0 roms or only for 5.1?
[Nexus 5 Android Development] rachanta:
Works with 5.0.2
[Nexus 5 Android Development] Jiggs82:
Charging led seems not to be working
[Nexus 5 Android Development] y0y0y:
working fine here.. simpleaosp 5.0.2
[Nexus 5 Android Development] rachanta:
[MENTION=3367894]Jiggs82[/MENTION]

Fixed in this build linked from OP just now:

https://www.androidfilehost.com/?fid=95916177934541866

Checked that it works with 5.0.2

Vellamo benchmark result with Grogg's way ROM 5.1.0 breaks all my previous records

CPU Gov - ondemandplus
[Nexus 5 Android Development] y0y0y:
nevermind
[Nexus 5 Android Development] db77:
With this kernel, many apps don't work.

With ElementalX 2.11, they work fine.

Light Flow, Black List Plus Pro,...
[Nexus 5 Android Development] rachanta:
What about with this version?

Also could you please let me know all apps that you know don't work.

https://www.androidfilehost.com/?fid=95916177934540848
[Nexus 5 Android Development] db77:
It is this version, the link you posted.

Black List Plus Pro don't work.

I reflash ElementalX 2.11 and it works again for example.

I was with ElementalX 2.11 and I see your post about benchmarks, so I want to test this kernel...

All my apps works before the flash and after the flash, LightFlow and Black List Plus Pro crash...
[Nexus 5 Android Development] Jiggs82:
Thanks, this one has charging led working again :good:
[Nexus 5 Android Development] rachanta:
[MENTION=360189]db77[/MENTION] Lightflow seems to be working I am getting a regular blinking orange light while teh phone is charging. But I'll check for differences with Elemental and address them if anything is missing.
[Nexus 5 Android Development] db77:
Ok I retry later.

What to do before flash or after flash to have a better result ?
[Nexus 5 Android Development] y0y0y:
Best to flash ur rom's kernel and then flash racer

Regards,
[Nexus 5 Android Development] db77:
What I do :

Full wipe

Flash rom Groggs AOSP 5.1

Reboot

Install all apps : all works fine (Light Flow 3.52.7)

Do a backup

Flash your kernel

reboot and... Light Flow stop running :(

I restore my backup.
[Nexus 5 Android Development] y0y0y:
Perhaps [MENTION=1863016]rachanta[/MENTION] can chime in here for his opinion. Only thing i see is flash superSU after flashing racer kernel, and then reboot.
[Nexus 5 Android Development] db77:
And led don't light when charging... so, there is a problem with my rom... Which ROM are you using [MENTION=1863016]rachanta[/MENTION] when led light ?

EDIT : I try on PureWhite 5.1 and no problem. So, it is Grogs'rom the problem... But led don't light also with PureWhite 5.1.
[Nexus 5 Android Development] rachanta:
Try installing stock kernel and boot, before RACER.

5.1.0_r0.6 stock kernel: https://www.androidfilehost.com/?fid=95916177934540333
[Nexus 5 Android Development] db77:
On my Pure White 5.1, I flash stock Kernel 5.1, I reboot systrem, I reboot recovery, I flash your Kernel Racer, and no led light :(
[Nexus 5 Android Development] rachanta:
[MENTION=360189]db77[/MENTION] use selinux mode changer to become permissive. Notifications for light flow must be enabled. If you still have a problem you can use my settings. I am on groggs now and using the kernel that is linked from OP:

https://www.androidfilehost.com/?fid=95916177934541866
[Nexus 5 Android Development] db77:
Thks, I'll try... but I don't know how to change to permissive :( Is it fix permissions in TWRP ? FOUND on Play Store :)

what i do :

I restore my NB groggs

I fix permissions with TWRP

I flash Racer Kernel

I reboot

I uninstall my light flow and install from play store... maybe mine is bad...

my play store FC ("Google Play Store" s'est arrêté = play store has stopped)

I reboot...

but same issue Play Store stop :(

and Light Flow stop also :(

so I can't configure Light Flow

Return to Pure White without Racer kernel
[Nexus 5 Android Development] cmdmilitia13:
Download selinux mode changer from the play store.. Open the app & click on permissive..
[Nexus 5 Android Development] db77:
yes i do, but same issue.

I return on Pure White 5.1 without led notifications and wait for Xposed for 5.1 ...
[Nexus 5 Android Development] rachanta:
I never tried with Pure White. For me lightflow works perfectly with Groggs and Vanilla AOSP. I am downloading Pure White to check.
[Nexus 5 Android Development] db77:
Probably another app... because play store also crash... but after many tries, it works...

When I'll have time, I retry from zero... with Groggs+Racer+light flow, and after, I reinstall the other apps.