yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] FunkyRasta:
So far L009 is stable and smooth :) However battery is not as good as lean version. It was always like that for me, but now difference is big ( cause latest lean build is amazing ). Letting alone better SOT with lean version, drain in idle/screen off is much bigger on L009, despite phone sleeping well.

But it only has been three hours, will see after whole day :)
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] The speaker gain in faux sound does not retain its setting after playback or reboot. I know it's a known issue with the fauxsound driver, but Chet Kener has implemented a faux lock in his kernel, which helps to retain the gain setting. I hope you can implement the same in your kernel..

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

We used to have Hack faux sound by neobuddy89, the one commit that I left out after a clean up of the sound system some time back. I dont think that commit really worked in locking the sound, or may be it did lock sound to max value ( this was I got used to when using AICP 5.0.2) as soon as audio started. I dont clearly remember if the hack was responsible for that. That is the only thing Chet has different in the faux sound control section apart from some upstream updates from linux, cm and may be aosp. We already have all the linux-sound updates.

I have added the faux hack and other sound commits from Chet that I had earlier removed. The sound volume may go down, but no harm in testing it along with me:

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

Changelog RACER_L010_20150407:

Add back hack faux sound and upstream sound updates

f2fs upstream updates

vfs upstream updates
[Nexus 5 Android Development] Tylog:
This is a hyper build yes? For me the hybrid builds are much better in battery usage.
[Nexus 5 Android Development] rachanta:
Yes L010 is hyper
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] unfortunately, setting not retained with the latest test build..
[Nexus 5 Android Development] rachanta:
[MENTION=4556031]y0y0y[/MENTION]

I have been using Faux Sound Control app, and there is no problem in setting sticking even with previous builds. As I mentioned before, I am not sure if sound settings lock actually works. Right now there is no difference between faux sound implementation of RACER and other kernels.
[Nexus 5 Android Development] y0y0y:
I'm using tricksterMOD to set the gain.. i can tell u that THAT ain't working.. perhaps there is some other app-related issue at play here.. Though, when i use uber kernel, i set the value in the config file, and that sticks.. so i don't know..

edit: just to clarify, it sets properly, but reverts if i play something in mxplayer or reboot..
[Nexus 5 Android Development] rachanta:
[MENTION=4556031]y0y0y[/MENTION]

I don't know how this happens. I have compared all of uber's sound commits with RACER's line by line. If I don't have any particular commit, it is because it is a linux sound commit and already included in RACER's linux squashes. I also included Chet's non-linux, non-faux sound commits. Everything is exactly the same.

Btw, when I use the Faux app, the settings are at the same levels physically, but I know that the sound is actually not at the same level. It needs me to take the slider back and forth for the sound volume to reach the actual set level. So yes, the control does not actually stick, though it appears to stick.

I will now check the stickiness with trickster - whether the sound level sticks? (not just the position of the slider / set number)

Edit:

No settings don't stick with trickster, the way they do with faux sound app.
[Nexus 5 Android Development] rachanta:
Doing a build, replacing all my faux control commits with Chet's in the same sequence as his.
[Nexus 5 Android Development] y0y0y:
Thank you for all the trouble. The amount of time and effort that you put in this project is amazing.. Looking forward to the newer build, and hopefully, it willl fix the issue.

On another note, have you ever tried franco sound? Are you aware of any differences?

Regards,
[Nexus 5 Android Development] rachanta:
Pl see [MENTION=4556031]y0y0y[/MENTION] if sound settings stick with this build:

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

Edit:

Franco sound has minimal control. It was voted out by users
[Nexus 5 Android Development] y0y0y:
Settings not retained after reboot.. HOWEVER, I then used the script from chet kener after setting required gain

echo 1 > /sys/kernel/sound_control_3/gpl_sound_control_locked

and it no longer resets after playback. This is named "FAUX_LOCK" in uber kernel script. Perhaps adding the following to an init.d script file might be a solution as it is in Uber?

regards,
[Nexus 5 Android Development] rachanta:
That's surprising, because I found a difference with this build in that trickster mod setting stuck unlike in the previous build and sound gain was ramped up soon after boot. There is a system folder in the kernel zip where there is a place for an init.d. I'll try putting uber's script there.
[Nexus 5 Android Development] rachanta:
[MENTION=4556031]y0y0y[/MENTION] thanks for your great patience. I have added the faux lock script to RACER's init.d. I request you to see if this build's settings stick without using the script you made.

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

File name is same but the /system/init.d has a file 999_racer with the required script. After boot this file lodges itself in /etc/init.d folder of the ROM's file tree. My settings stick well now. Thanks again for alerting me to the possibility of solving this problem that I was living with for some time.

Edit:

Sorry, I forgot that you were on Hyper. Here you go:

https://www.androidfilehost.com/?fid=95916177934552092
[Nexus 5 Android Development] y0y0y:
No probs.. Is this the lean build?
[Nexus 5 Android Development] rachanta:
My previous post now has both lean and hyper now. Take your pick. Both are ahead of OP.
[Nexus 5 Android Development] y0y0y:
Thanks.. will post results later

edit: just saw the init.d file. I'm afraid it won't work in its current format. it was designed for uber kernel, since it takes the values from another config file (which ain't present in racer). However, I have made the necessary changes that you can have a look at..

regards,
[Nexus 5 Android Development] rachanta:
I am working on a init.d script. Anybody using scripts are requested to share the script and any insight / benefit / problem they got from using the script.
[Nexus 5 Android Development] holigan360:
good days this happening to me a very rare thing when I flaseo a kernel other than stock or free portrays one more black are the colors once the terminal block and do not understand why. Anybody would know the problem? I am using ROM Frank 16

never me to last this problem
[Nexus 5 Android Development] rachanta:
I cant understand, what is happening. Pl send screenshots and if possible list down what is happening-

--

--

--
[Nexus 5 Android Development] holigan360:
Maybe I'm not expressed well, what I mean is that when I flash a kernel other than stock or free. The color changes to darker and not the past that never me something similar. I screenshot but the color is the original. In order not understand this rarity never occurred to me.

Sorry if I did not express well because I do not fluent in English.
[Nexus 5 Android Development] y0y0y:
what kernel have u flashed, other than stock?
[Nexus 5 Android Development] rachanta:
Hyper & Lean Pre-release testing

Lean

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

Changelog compared to build at OP:

Overhaul faux sound

f2fs upstream updates

introducing init.d/999_racer

Hyper

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

Overhaul faux sound

f2fs upstream updates

vfs and other upstream updates

introducing system/etc/init.d/999_racer

Note: system/etc/init.d/999_racer is used to do a few settings at boot as defaults. If you dont like these settings, you can change them by editing the file in the kernel installer zip
[Nexus 5 Android Development] holigan360:
UBER,RACER,ElementalX. with these I have the problem.
[Nexus 5 Android Development] rachanta:
[MENTION=4496504]holigan360[/MENTION]

These kernels have a backlight dimmer which can be adjusted through synapse app. Raise the minimum backlight level and see if solves your problem.
[Nexus 5 Android Development] y0y0y:
All these have custom color profiles, but they are not drastic enough to explain ur problem. i suggest u check for any lingering files from previous kernels and delete them. Secondly, i suggest u download kernel adiutor and try to set a new custom profile. if that does not help, i suggest u wipe /system and dirty flash ur rom. after that, u can flash whatever kernel u want..
[Nexus 5 Android Development] rachanta:
New builds up at OP

Lean and Hyper builds updated. Pleave visit OP.

Changelog

Overhaul faux sound

f2fs upstream updates

vfs and other upstream updates (only for Hyper) ;)

Kernel template upgrade - introducing system/etc/init.d/999_racerkernel with its own config /cfg/etc/racer_v1.0.cfg - many thanks to [MENTION=5105835]Cl3Kener[/MENTION] for the excellent template - settings should stick better now. Backlight configuration added to Cl3Kener's template.

Edit: I have moved to All F2FS on my own N5 again after a long time, the first time since Lollipop happened. :cool:
[Nexus 5 Android Development] rintintin78:
Hi,

i do not understand:

HYPER-->best battery

LEAN-->best performance

i get it?

Thanks
[Nexus 5 Android Development] y0y0y:
I see you have gone with the configuration scripts path with this latest release..
[Nexus 5 Android Development] FunkyRasta:
No. Hyper has more customizations in it. It could make it faster but less stable. LEAN is slimmed down, closer to stock, so more stable.

When it comes to battery, some get better on hyper some on lean.

Lean - simplicity, hyper - bleeding edge updates and a lot of custom commits

---------- Post added at 11:57 AM ---------- Previous post was at 11:57 AM ----------

No. Hyper has more customizations in it. It could make it faster but less stable. LEAN is slimmed down, closer to stock, so more stable.

When it comes to battery, some get better on hyper some on lean.

Lean - simplicity, hyper - bleeding edge updates and a lot of custom commits
[Nexus 5 Android Development] ianoob:
After a short stint on the Lean builds, I've gone back to Hyper. The 4/9 Hyper may be your best one yet, I'll update with my stats later but it's way smoother on my phone than the Lean. Thank you again sir!

Edit:

Slow day at work so lots of time to pay with my phone. With 25℅ left: 5½hrs of battery, 2½hrs SOT, 35min of Waze, 5hrs of Slacker, lots of web browsing, no glitches or show downs. I'm plugging in now since it's Friday, but battery is right in line with the Lean builds.
[Nexus 5 Android Development] y0y0y:
i really had wished [MENTION=1863016]rachanta[/MENTION] hadn't taken the script route. reason? getting errors when running the script file. i expected as much as soon as i saw the configs. Taking a pre-built template from another kernel, when there are obvious differences between the kernels results in such errors.

getting errors with gpu up threshold, gpu down threshold, backlight settings, dynamic fsync, etc etc. one can easily see these in a terminal editor etc.
[Nexus 5 Android Development] rachanta:
[MENTION=4556031]y0y0y[/MENTION]

I haven't had a single problem. What operation cause the errors? My code for the items you mentioned is the same as Cl3Kener's. Anyway, you can copy zImage from this kernel to old kernel template and get rid of the whole thing.
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] I suggest you run the following commands in a terminal

su

/etc/init.d/999_racerkernel

as mentioned before, getting errors with gpu up threshold, gpu down threshold, backlight settings, dynamic fsync, etc.
[Nexus 5 Android Development] rachanta:
Ok. I'll try. Here is the last Hyper build with the old template:

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

Changelog RACER_HYPER_013_20150410

Kernel template revert to simple "anykernel"

Upstream updates - crypto, fs
[Nexus 5 Android Development] rachanta:
New builds - lean and hyper - template revert

RACER_LEAN_011_20150410

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

Changelog RACER_LEAN_011_20150410

Kernel template revert to simple "anykernel"

RACER_HYPER_013_20150410

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

Changelog RACER_HYPER_013_20150410

Kernel template revert to simple "anykernel"

Upstream updates - crypto, fs
[Nexus 5 Android Development] rachanta:
RACER Hyper update preview

RACER_HYPER_014.0_20150412

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

Change log:

Workqueue and scheduler overhaul and upstream updates. This is a massive cleanup and update.
[Nexus 5 Android Development] pianistaPL:
You're amazing bro, keep going!
[Nexus 5 Android Development] y0y0y:
nice !! Would you be willing to look into UBERTC toolchain and use that instead of linaro? People have reported better performance with it, though i can't say for sure.. It's being update contiinuosly and has great potential i believe..

regards,
[Nexus 5 Android Development] j.llorente:
With hyper 013 I have a lot of wakelock audiomix (1013 y whatsapp service). This wakelock only appears since latest audio kernel updates (faux overhaul updates). With lean 008 this wakelock doesn't appear.
[Nexus 5 Android Development] bgboii:
Just installed this kernel 2 hours ago and I'm at 76%. Seems pretty good! Is there a google plus community for this kernel or do you plan on making one some day?
[Nexus 5 Android Development] rachanta:
RACER_HYPER_014_20150412 with UBERTC and GCC 5.0

Here is something to test before it goes to OP:

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

Changelog RACER_HYPER_014_20150412:

UBERTC and GCC 5.0

Overhaul of hot plug infrastructure - stop_machine, smpboot and kthread

Does anybody know of any other Nexus 5 kernel with GCC 5.0.0 & UBERTC for me to compare the build flags? Please point me to the kernel and the source if possible.

Edit:

I find min cpu freq not holding. I I'll do a build with [MENTION=5105835]Cl3Kener[/MENTION]'s flags and see what happens.
[Nexus 5 Android Development] rachanta:
Not yet. You think it makes sense?
[Nexus 5 Android Development] Tylog:
Yes, goggle plus is always a good place.
[Nexus 5 Android Development] FunkyRasta:
Kernel runs great for me :)
[Nexus 5 Android Development] bgboii:
Yeah it would be awesome! :D I always check my google plus anyways and it shows what's new and its all organized with different topics. For example one for noobish questions and another with battery set ups etc
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] the only other gcc 5.0 kernel i saw was in BoostPop Rom thread compiled by the sabermod guy.. Also, Chet Kener himself is compiling from 4.9.3 toolchain.. so maybe you could try that instead of 5.0 if things don't work out well...

Regards,
[Nexus 5 Android Development] rachanta:
Boostpop kernel is built in-line along with ROM. Though I don't know as of now there are indications that the flags are different. Eg I saw no kernelflags in the Makefile. The current test build has ubertc but previous linaro cortex flags. It looks OK for now and strangely CPU freq min max settings seem to hold now.
[Nexus 5 Android Development] bgboii:
Any recommendations for undervolting?
[Nexus 5 Android Development] maximo86:
which app do you use to manage the kernel? is that hatred synapse. and kcontrol not convince me.
[Nexus 5 Android Development] y0y0y:
Have u compared flags from latest test build of Uber kernel?
[Nexus 5 Android Development] rachanta:
I first adopted his flags from his github repo. Right now I am trying to locate the source of instability, whether it is the overhauls and clean ups or whether itcis ubertc.
[Nexus 5 Android Development] rachanta:
I use synapse mostly and kcontrol for individual core control. Kernel adiutor is something you can try.
[Nexus 5 Android Development] rachanta:
Try to undervolt 25mV at a time starting from stock 2265-300MHz CPU freqs. Stop before instability starts
[Nexus 5 Android Development] bgboii:
thanks i was able to undervolt to -50 after that it rebooted.
[Nexus 5 Android Development] rachanta:
This is the last stable Racer Hyper. The KThread and smpboot overhaul causes instability. If Ubertc is added to this base it causes after boot SOD. Once this issue is resolved, it can become the my first ubertc release.
[Nexus 5 Android Development] rachanta:
RACER_HYPER_014_UBERTC-GCC6_20150414 - Test

Come test with me :D

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

Chaneglog - beyond RACER_HYPER_014.0_20150412

UBERTC GCC 6.0

GCC 5.0 Flags and fixes inspired by [MENTION=5169465]DespairFactor[/MENTION]'s work with N6

I don't know if I was making a mistake earlier or now, but build time has reduced to about 90 seconds minutes from 5-6 minutes earlier. It just zips past lol!
[Nexus 5 Android Development] DespairFactor:
Looks like I am being summoned everywhere now:P if you ever need help you can always reach out to me:) I will also be working on getting some GCC 6 stuff working when we start merging the new patches next week.
[Nexus 5 Android Development] y0y0y:
[MENTION=1863016]rachanta[/MENTION] any kernel-related changes in the new aosp 5.1.0_r5 ?

regards,
[Nexus 5 Android Development] rachanta:
[MENTION=5169465]DespairFactor[/MENTION] - I was breaking my head with some instability with UBERTC gcc5.0 your fixes and flags worked like a charm, though I am still testing stuff. Thanks a lot for all that mate and of course GCC6.0.
[Nexus 5 Android Development] rachanta:
the kernel source for lollipop is still:

https://android.googlesource.com/kernel/msm/+/android-msm-hammerhead-3.4-lollipop-mr1

which corresponds to tag:

android-5.1.0_r0.6

https://android.googlesource.com/kernel/msm/+/android-5.1.0_r0.6

There are newer tags but they don't seem to belong to lollipop. Have a look and see if I am making any mistake.

surprisingly the last commit on the device side for r3 as well as r5 is:

6a34b0d Camera3: Report frame errors during stalls by Mansoor Aftab

so I wonder how r5 is different from r3. Let me know if you understand this
[Nexus 5 Android Development] DespairFactor:
Not sure if you know this, but the a15 toolchains just come prebuilt with the a15 flags, specifying in the makefile does the same thing, as per Chet's post on G+. Also, currently GCC 6 is the same as GCC 5 branch, we will start to see differences over the next few days and may run into big compiler issues/booting issues by next week. I will probably create my own shamu branch to work on these issues and hopefully get it working.
[Nexus 5 Android Development] rachanta:
I'll be tailing you for sure to adapt you work for N5
[Nexus 5 Android Development] DespairFactor:
If you have questions or need help, let me know!
[Nexus 5 Android Development] ianoob:
I haven't tried the newest tests yet, but the 4/10 and 4/12 hypers need the lkm tweaked a bit. Both fly when new but bog down when dirty. The issue goes away if I close background apps... I've adjusted the lkm myself with some success, just an fyi
[Nexus 5 Android Development] FunkyRasta:
Running latest build, some RRs, kernels ooops.

Here is the log ;) https://drive.google.com/file/d/0B1HaxfvSV_XkQnE2NW8ySjdsRFU/view?usp=sharing
[Nexus 5 Android Development] rachanta:
RACER_HYPER_015_20150415 - test

This is a UBERTC GCC 6.0 build

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

Changelog:

Memory management update

Feedback will be very useful. Memory management updates (including staging and lmk) were earlier removed from Hyper but not added back. Now Hyper loading is more or less complete and is current with most upstream sources.

The recommended kernel setting app henceforth is Kernel Adiutor, funny spelling lol

Thermal need not be set in most cases. Adiutor, as of now, does not have settings for bricked 3 Phase thermal. Synapse, Kcontrol or Trickster can be used if required.
[Nexus 5 Android Development] y0y0y:
the word adiutor is latin..
[Nexus 5 Android Development] rachanta:
RACER_HYPER_015.1_20150415 - Test

I had a SOD after boot after almost half a day of troublefree running. So I made a few more changes:

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

Changelog:

iommu, rqstats, i2c, memutils - upstream updates

So far everything looks good. It could even be a ROM problem ( I have seen something at the AICP thread that suggests that) that after some use, things get too dirty. The obvious culprits like LMK, MM have been overhauled. I am not yet proficient enough to trouble shoot using logcats, last_kernel_mesage etc, though I am making some effort
[Nexus 5 Android Development] Hannibal226:
Just to be clear, it has to be 5.1 or it's running on older versions fine, too?

CHEERS
[Nexus 5 Android Development] rachanta:
I haven't tested with 5.0 or 5.0.2 of late
[Nexus 5 Android Development] ianoob:
I had a RR into a bootloop on the hyper 15.0 so you're not alone! No logs since i had to hard restart, will try 15.1 now, thanks the fix

Edit

SOD on 15.1, no logs due to a hard reboot
[Nexus 5 Android Development] rachanta:
SOD - possible quick fixes

Try the following while I try to find a fix:

Disable NFC when you don't need it

Disable FSync

Overvolt +25mV across all frequencies
[Nexus 5 Android Development] ianoob:
NFC and FSync I understand, I understand not under voting (which is why I don't), but can can you please explain why over voting may fix it? I was under the impression that the stock voltage was the most stable.
[Nexus 5 Android Development] cryingrock:
Strange, I didn't have a single RR with all the recent hyper builds, maybe a ROM problem? I'm using Rastapop.
[Nexus 5 Android Development] ianoob:
I just had another RR into a boot loop on 15.1... all three have been while on the Facebook app. I'm going to play a little with the lkm.

Edit

I raised the foreground to 90mb and lowered the empty to 160mb... Facebook no longer stutters, I'll report if I have any more RR or SOD
[Nexus 5 Android Development] rachanta:
Possibly avoid starvation. I saw this in Cl3keners's guide. Sinc the kernel is underclocked to 96 MHz, with a voltage of 775 mV, pulling the lower end up may help. Btw I found that it didnt.
[Nexus 5 Android Development] ianoob:
Try the lkm changes, I've only noticed issues on memory intensive apps and the changes I made have helped me
[Nexus 5 Android Development] rachanta:
I am working on fixing things using the last_ksmg logs from Funky and my own.
[Nexus 5 Android Development] rachanta:
GCC 5.0 Test build

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

It is supposed to be gcc6 but is actually the same as gcc5 for now. This is named LEAN, but is on its way to become HYPER. The LEAN - HYPER nomenclature will be dropped in the next release. I'll be happy to have one good kernel. ;)
[Nexus 5 Android Development] rachanta:
Feedback needed on last build posted

This is the last build I posted:

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

I haven't had a single reboot, freeze, sod after I did a clean install along with AICP ROM -

http://mirror3.aicp-rom.com/hammerhead/NIGHTLY/aicp_hammerhead_lp5.1-9.0-NIGHTLY-20150416.zip

Battery life too seems normal with my usual settings. Any feedback before I update this base?
[Nexus 5 Android Development] reddvilzz:
Can you recommend me on the MPDecision thermal values for my phone so that it doesn't go hot? Since I am leaving in a hot country (Indonesia) and I'm always having trouble with the 3 stage thermal but not with blue_plug thermal.

Here's what happened when I use blue_plug I set the thermal to 50c so when my phone temp reached somewhere around 50c I still don't lose any performance unlike the 3 stage thermal. I keep losing performance if my phone gets quite hot.
[Nexus 5 Android Development] rachanta:
See post#4