yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] montbazon:
IMHO Impulse governor has problem.

If I change governor to impluse, n5 reboots while I'm using.

I upload log. I hope this helpful.

Thanks a lot
[Nexus 5 Android Development] LeBaldi:
I'm using this in attach

The last number is 85C
[Nexus 5 Android Development] perobot:
and you can not pass plays permissive use (elemental x) was a good kernel:(:(
[Nexus 5 Android Development] rachanta:
Viper4Android - Works with MMB29S

Here's my mod of [MENTION=4794403]Yash98[/MENTION]'s SeLinux Enforcing mod of Viper4AndroidSurround:

Needs Super Su 2.66. Works with MMB29S aosp/ factory image ROM; Havent checked it on CAF/CM ROMs;

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

Many thanks to [MENTION=3292224]franciscofranco[/MENTION] and [MENTION=3901724]zhuhang[/MENTION]
[Nexus 5 Android Development] Mrcactuseater:
[MENTION=1863016]rachanta[/MENTION], any chance we could see autoSMP hotplug in a future update? It seems pretty efficient

Tapatalk'd from my Twisted, Electrified Nexus 5
[Nexus 5 Android Development] rachanta:
I

Checking it out...

It's in, and getting tested. Good so far. Look out for autosmp in today's releases.
[Nexus 5 Android Development] Mrcactuseater:
Good stuff!

Tapatalk'd from my Twisted, Electrified Nexus 5
[Nexus 5 Android Development] rachanta:
Updates - RACER_6 / RACER_CAF

AutoSMP hotplug added

Upstream updates added to kernel base (CM-13.0-CAF)

You shouldn't have a problem with ViPER4Android Enforcing Surround

Go to OP for LINK

Checkout out my new thread: http://xdaforums.com/google-nexus-5/development/viper4android-mmb29s-cm-13-0-cm-13-0-caf-t3289340
[Nexus 5 Android Development] Mrcactuseater:
Hey [MENTION=1863016]rachanta[/MENTION], love you new update mate! And I know all I do is ask the features and stuff, but could not try building the kernel(s) in ubertc-5.3.1 or maybe Dragon-TC? Thanks again mate!
[Nexus 5 Android Development] saxmydix:
TZ demigod crash on DU. Did i miss something? Working fine using 5/1/16 build. Thanks.
[Nexus 5 Android Development] LeBaldi:
Thanks for the update :D

I'll test this nwe governos hehehe
[Nexus 5 Android Development] rachanta:
[MENTION=4292360]saxmydix[/MENTION]

DU is CM-13.0 base AFAIK. There is no change in RACER_6, apart from autosmp hotplug.

What is TZ demigod crash?
[Nexus 5 Android Development] rachanta:
Ubertc GCC 6 is serving me well and it keeps getting updated and making it work with the update is integral to the basic philosophy of experimentation that drives racer development. If there is GCC 7, we will move there.
[Nexus 5 Android Development] saxmydix:
Green screen on booting. Cant take a screenshoot though, just option to reboot to bootloader or reboot.
[Nexus 5 Android Development] daniel84cs:
Great kernel, work well on L AOSP BBW.....Thank You....!!!

Can you add undervolt if possibile....???
[Nexus 5 Android Development] rachanta:
Already there. Use Trickster Mod or Faux Clock. I have L as my second ROM with these tweaker apps. Works well. Go in increments of -25mV till you reach a point of instability.
[Nexus 5 Android Development] daniel84cs:
Thank you, The problem is kernel manager app, sorry.....:)

Test UV with trickster.....:)

UV works with trickster but I prefer kernel manager, kernel manager add a complete DT2W control with timeout.

You can add support for kernel manager app or depend by app developer....???

Please can you add this patch http://xdaforums.com/showthread.php?p=55169559
[Nexus 5 Android Development] rachanta:
KERNEL: RACER_R1.0 20140903 Update:

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

Changelog 03-09-2014:

LZ4 works, boots up faster I think :cowboy:

Linux update to 3.4.88
[Nexus 5 Android Development] daniel84cs:
[MENTION=1863016]rachanta[/MENTION] we would be very grateful if you can extend the compatibility of your kernel to BBW Android L, tried works but the problem remains that enters alone in recovery when it is charging the screen off. There are only two kernel compatible with the ROM but can not be customized as your own.
[Nexus 5 Android Development] rachanta:
No promises or eta, but I will give it a shot.
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION] - The problem I understand is:

Phone goes to recovery mode when screen is off and phone is getting AC charged.

I have added some files from zip of linear kernel to my kernel zip. BBW seems to work OK. Can you confirm that problem as I understand is the problem with my kernel currently in OP link. I will post my modified kernel once you confirm.

Edit: RACER with BBW support: https://www.androidfilehost.com/?fid=23622183712466393

Please try and let me know if it works.
[Nexus 5 Android Development] daniel84cs:
1000 Thanks i try it right away. It was a pleasure to read this message just wake up. Thanks [MENTION=1863016]rachanta[/MENTION].....:)

The kernel works fine, very smooth and responsive, there is only a very small problem I'm looking for an application to do the undervolt but Trickster is that other applications when you apply the values ​​return almost all frequencies in the 800mv
[Nexus 5 Android Development] rachanta:
KERNEL: RACER_R1.0 20140904 Update

KERNEL: RACER_R1.0 20140904 Update:

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

Changelog 04-09-2014:

Support for ROM - Android LPV Dev for N5 Enhanced (BBW / Breadcrumbs & Bunnies)

Linux update to 3.4.103
[Nexus 5 Android Development] daniel84cs:
Thanks I try it in the afternoon I just finished working. The problem dell'undervolt you've solved ...? In the previous version it was not possible to set the values ​​correctly, had reset it yourself. This tested trickster, kernel tweaker, fauxclock ... tried the linear kernel and set the values ​​correctly. Thanks again .... :)
[Nexus 5 Android Development] rachanta:
[MENTION=4404203]daniel84cs[/MENTION]

I don't know if it solves the problem for you. I have no problem. My values stuck to 25mV UV even after a kernel change. As I said you need to wait for su permissions toast with every step change.

To be sure I once again tried UV another 25mV, totalling to 50mV in all. Once trickster mod "set on boot" notification comes up all previous settings including UV are retained. At around same time superuser toast also comes up. Running fine as of now. May reboot if CPU gets overloaded by some apps, but so far running smoothly.
[Nexus 5 Android Development] daniel84cs:
[MENTION=1863016]rachanta[/MENTION]

Maybe the problem is with my PVS because if I set voltage change much from the values ​​at 800mv, but my device uses the default lower voltages. I have tried multiple applications but the problem remains. Now I am away from home and I can not test otherwise you will drain the battery when I can record a screen and try to make you understand the problem.
[Nexus 5 Android Development] rachanta:
I don't think values below 800mV can be set in my kernel. Mine uses table 2 I think. I have taken the commits related to the frequency table, UV/OC etc from showp1984, so I suppose there are limits to what can be done.
[Nexus 5 Android Development] daniel84cs:
My CPU is a PVS3, here's the problem that is created when I run the undervolt your kernel. Under the other hand you can see the plates that I use with the Linear and Franco.

MyTable with Linear L 3.1 The same used with Franco Kernel.

I'm sorry if I'm stressing but I'd love to use your kernel as they are used to and if possible with Kernel Manager program which I find easier and more configurable trickster mod.
[Nexus 5 Android Development] rachanta:
I will need to see what part of the code have the freq vs mV mapped and probably make some changes to the values. I don't know how at this point, but I may learn something out of this.
[Nexus 5 Android Development] daniel84cs:
I forgot the example above I took with trickster -50 mv across all frequencies .... but when you set the values ​​set 800mv for all frequencies up to 1190 MHz.

1000 Thanks so expect news from you, I really like your kernel, solved this "problem" and extended compatibility with Kernel Manager becomes spectacular.
[Nexus 5 Android Development] TheDarkLegend:
i can't play instagram videos with this kernel

any fix ?
[Nexus 5 Android Development] rachanta:
I am able to play instagram videos on my AICP ROM + RACER Kernel, but not with BBW + RACER Kernel. This must therefore be a ROM capability, and not a kernel capability. What do you think? You can try instagram with any kitkat ROM + RACER Kernel and let me know the result.

Edit: kernel issue acknowledged. Working on it [MENTION=5299111]TheDarkLegend[/MENTION].
[Nexus 5 Android Development] rachanta:
Testing changes to UV Table

[MENTION=4404203]daniel84cs[/MENTION] - Pl try this kernel. Now the UV table is exactly as franco's (I tested both with my AICP ROM)

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

My previous had showp1984's commits for UV/OV etc. Now I have changed over to franco's implementation. I notice that the mV value for 300 and 422 MHz is the same, and that is exactly the same in franco. if you find this OK, I will post it in OP.
[Nexus 5 Android Development] daniel84cs:
Thanks then the text immediately and let you know, 300 MHz and 422 MHz using the same voltage as that in my PVS3 is 775mV. I just woke up after a night of work. After eating something I try and update you. Thank you ..... :)

Edit [MENTION=1863016]rachanta[/MENTION] now works perfect with kernel manager.

Now there's only the backlight dimmer module. But we are perfect already so ..... :)
[Nexus 5 Android Development] rachanta:
This may not be a kernel issue, and I haven't had that problem with MMB29S factory image or Temasec caf latest. I got it last when I tried to run CM-13.0-CAF (installed with TWRP 2.8.7.1) as primary under TWRP 2.8.7.1.

When I switched to TWRP 2.8.7.1 CAF there was no problem.
[Nexus 5 Android Development] saxmydix:
Nah, its turn out just a corrupted download as im using my phone to download the kernel ealier. Sorry mate working fine now, nice works. Thanks.:good:
[Nexus 5 Android Development] rachanta:
RACER_CAF link refreshed

Sorry guys there is problem with the earlier zip. I dont know if it matters but init.d implementation was not as intended. I corrected the problem and relinked to the new zip
[Nexus 5 Android Development] rachanta:
Updates - racer-6 / racer-caf - at OP

Links at OP

RACER_CAF_20160110

kernel base updated from upstream cm-13.0-caf

removed unnecessary enforcing lock in kernel jacket

RACER_6_20160110

removed unnecessary enforcing lock in kernel jacket
[Nexus 5 Android Development] gemj95:
Don't know if it was already asked or not but is it possible to have ZZmove implemented as governor? it seems pretty interesting to use with all these profiles, but i never had the chance to try it because no Nexus 5 kernel has it :(
[Nexus 5 Android Development] rachanta:
Foe me, it wrecks some other governor (may be intellimm, i dont remember which now) during compile.
[Nexus 5 Android Development] rachanta:
new build

RACER_CAF_20160113

https://www.androidfilehost.com/?fid=24369303960684318
[Nexus 5 Android Development] pepa 77:
Thanks for great kernel Recer for CAF is number one ?
[Nexus 5 Android Development] LeBaldi:
[MENTION=1863016]rachanta[/MENTION] I've flashed the new CAF version over the V2.8 Temaseks... and I ca'nt get Synapse to work... reflashed UKM 3 times and cleared data of the app and Nothing... Still getting "Device Not Suported"... I"ll reflash now the old version to test

EDIT.: Yeah... with the 20160109 version I dont have problem
[Nexus 5 Android Development] rachanta:
Have you installed Super Su? I get this problem only if I use twrp caf, install any caf ROM as primary, and install Super Su.

I am running Temasek caf as secondary right now with no Super su. No problem with synapse here.
[Nexus 5 Android Development] LeBaldi:
No... I'm using the stock root of the ROM... So I have to flash Su?
[Nexus 5 Android Development] rachanta:
Update RACER_6

MARSHMALLOW MMB29S / CM-13.0

RACER_6_20160115

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

There is something else wrong, because synapse is working perfectly for me for all CAF roms without Super Su. I'll try again with the latest CM-13.0-CAF ROM and see.

Edit:

[MENTION=3226631]LeBaldi[/MENTION]

Did a fresh install of cm-caf, 15 Jan, with racer-caf latest. Absolutely no issue with Synapse.
[Nexus 5 Android Development] thelegendofzeth:
Hey, just flashed CAF version with Bliss 6.0 and experiencing awful idle drains. Like 30% overnight. Is there any configuration I should use?
[Nexus 5 Android Development] gemj95:
Is Electroactive working for you guys? if i try to set it, it just locks the cpu frequency to the max...

I didn't touch anything in the governor's tunable but i'm using AutoSMP as hotplug, don't know if that's the cause...

AutoSMP with other governors works fine
[Nexus 5 Android Development] rachanta:
[MENTION=1818599]gemj95[/MENTION]

That confirms what somebody once said about it being buggy. I too found it stuck at 1267 MHz with no reaction on touch.
[Nexus 5 Android Development] rachanta:
[MENTION=5694490]thelegendofzeth[/MENTION]

Didn't try Bliss, but I do find some ROMs draining, while others very economical, so I can't blame it on the kernel alone. Pl try with stock or cm ROM and see.
[Nexus 5 Android Development] thelegendofzeth:
Will try with CM. Thanks.
[Nexus 5 Android Development] michelD:
I have the impression that AutoSMP is no longer working correctly at least for me in last version CAF kernel: all cores are always ON.

It was working fine certainty in the first version with AutoSMP.

Other CPU hotplugs are working fine.

Thanks
[Nexus 5 Android Development] rachanta:
Updates

MARSHMALLOW MMB29S / CM-13.0

RACER_6_20160116

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

CM-13.0-CAF

RACER_CAF_20160116

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

---added alucard hotplug

---removed bad cpufreq governors (buggy electro stuff)

[MENTION=1484187]michelD[/MENTION]

I see the problem in racer-caf. No such problem in racer-6. I dont know why. Its exactly the same code in both. I dont know if it is something to do with the latest CAF ROMs, because there is no change in the autoSMP code after I first introduced it. The only other major change is zram update. May be thats what has wrecked it. Lets observe it across a few more cm-caf updates. Right now the best I can do is to remove it from racer-caf if it doesnt work.

Edit:

updated setkernel scripts to include alucard hotplug

https://www.androidfilehost.com/?w=files&flid=44487
[Nexus 5 Android Development] rachanta:
Update

RACER_CAF_20160117

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

removed autoSMP cpu hotplug - not working in caf, so no point having it

kernel base updated from upstream cm-13.0-caf
[Nexus 5 Android Development] paul222008:
Does this drain battery if i on the DT2W ? :) thanks for this awesome kernel
[Nexus 5 Android Development] gemj95:
Is there a way to set the kernel permissive just on boot? since Racer is compiled as Enforcing, there are some Xposed module that i can't get to work because of that :S (ie: Unbeloved Hosts and MinMinGuard)
[Nexus 5 Android Development] rachanta:
Set wake time out to switch off d2tw after some time
[Nexus 5 Android Development] rachanta:
Try flashing this after kernel

https://www.androidfilehost.com/?fid=24345424848487668
[Nexus 5 Android Development] paul222008:
What app sir to set the timeout?
[Nexus 5 Android Development] gemj95:
Same problem :(

If i rush in system settings just right after boot (before synapse apply his settings) to check selinux status, it still says "application" and ofc the modules still not work :(
[Nexus 5 Android Development] _Vegas:
Wow,it's really smooth, just flash Racer kernel and then flash your settings, i use elementalx before, will see how the battery is.

Sorry for bad English.
[Nexus 5 Android Development] 19dragon98:
Hi all, wanted to know how is battery life on this Kernel :)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] rachanta:
[MENTION=5349830]paul222008[/MENTION]

Synapse, kernel adiutor, may be more
[Nexus 5 Android Development] rachanta:
[MENTION=1818599]gemj95[/MENTION]

are you on racer-caf or racer-6? if i get the time I'll build a permissive kernel and post

In the meantime open

/sys/fs/selinux/enforce

write 0 instead of 1 in the file, close. Reopen the same file and see if the change sticks. If it sticks, reboot and see if the job is done. Many ROMs have SELinux status in Settings/About phone, last item
[Nexus 5 Android Development] gemj95:
i'm using racer-caf, the 17/01 build.

Thank you mate! :)

EDIT: just tryied to edit the file in /sys/fs/selinux/enforce from 1 to 0, i save it, but it keeps reverting back to 1
[Nexus 5 Android Development] Sui77:
What's the best

cpu governor

cpu hotplug

gpu governor

i/o scheduler

I'm not using my Nexus for gaming, but want it snappy and battery friendly

Thanks :)
[Nexus 5 Android Development] paul222008:
Can i ask. What is this one?
[Nexus 5 Android Development] rachanta:
[MENTION=5349830]paul222008[/MENTION]

If you flash it, you get my personal settings for racer-caf
[Nexus 5 Android Development] paul222008:
Nice thanks sir. :)

Edit: i did flash it i see my speaker gain volume and the colors display gets more color. I mean darker.
[Nexus 5 Android Development] rachanta:
You can open zip and modify lines, comment out lines (for stock settings) in the file init.settings.rc, and rezip and flash your personal settings.
[Nexus 5 Android Development] rachanta:
RACER_CAFP

[MENTION=1818599]gemj95[/MENTION]

P is for permissive

Please test this: https://www.androidfilehost.com/?fid=24369303960689041

If it is OK, I'll post this to OP
[Nexus 5 Android Development] gemj95:
Gonna try it this evening after i come back from work, thanks again mate! :)
[Nexus 5 Android Development] jugoslavpetrovic:
Thanks for updated P
[Nexus 5 Android Development] rachanta:
Thank you @myfluxi for your great service to cafaholics

CM-13.0-CAF-160116 (MYFLUXI)

RACER_CAF_MF_20160120

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

This is a racer-caf variant that has myfuxi's caf repo as base. Everything else is same as racer-caf.

Thank you [MENTION=4152171]myfluxi[/MENTION] for your great service to cafaholics helping them remain mentally healthy ;)

[MENTION=1818599]gemj95[/MENTION] / [MENTION=6478047]jugoslavpetrovic[/MENTION] any feedback on racer-cafp posted earlier?
[Nexus 5 Android Development] gemj95:
Just got home, if i have some spare time this evening i'll try it :D

EDIT: Ok, just flashed, it boots fine but it still says "Application" for me; i'm also using your V4A Zip, however i deleted the init.d in the zip that is located in "system > etc > init.d > 08enforce~" to try to make it Permissive: is it enough or i've to delete something more?
[Nexus 5 Android Development] BombasMirko:
Can I ask which variant of this kernel should I use with Chroma ROM. Thanks

Poslano z mojega Nexus 5 z uporabo Tapatalk
[Nexus 5 Android Development] telekenetix:
I had been getting amazing battery life with latest Cataclysm, latest Racer, and Naptime's Aggressive Doze. However, recently I have been experiencing the dreaded blueesleep wakelock issue. It seemed to crop up when I flashed the latest Cataclysm and latest Racer. Previous stable Cataclysm with an older Racer did not appear to have the issues.

To put it in perspective, last night I dropped 40% battery in just under 7 hours. That was while the phone was discharging, sitting on my nightstand. The CPU was awake the entire time. 0% deep sleep.

I have tried:

Flashing the most recent radio

Clearing cache/dalvik in recovery

Clearing all app cache in settings

Disabling Bluetooth/WiFi location scans

Uninstalling applications (it seems the Fitbit app was causing some of the issues)

I am trying out franco kernel now because it has a feature which allows disabling bluesleep/bluedroid services.

Does anyone have advice for overcoming this? I miss my overclock, underclock and hotplug settings and want to use Racer Kernel again!
[Nexus 5 Android Development] gemj95:
Chroma is AOSP, so you need to flash Racer_6_2016XXXX which can be found on the first page
[Nexus 5 Android Development] BombasMirko:
Thanks!

Poslano z mojega Nexus 5 z uporabo Tapatalk
[Nexus 5 Android Development] jugoslavpetrovic:
Flashed, booted fine, no issues registered so far, and its permissive. Thanks, runs great.
[Nexus 5 Android Development] rachanta:
[MENTION=2838467]telekenetix[/MENTION]

I'll explore Franco's kernel zip and source to see if its something I can do. Can you tell me what the physical symptoms of this wakelock are apart from battery drain?
[Nexus 5 Android Development] Dodgexander:
I'm sorry to add to the bandwagon but I've been having difficulty getting synapse working with this kernel. No matter what I try my synapse settings never stick when I reboot. Instead I get a toast saying synapse boot cancelled and when I open synapse I receive a warning that settings haven't applied because it detected it wasn't stable.

I've tried lots of things and read through this thread.

- I understand the kernel zip patches UKM with a busybox version, so each time you install kernel you have to install ukm zip first.

- I am on the latest cataclysm release and have tried the kernel both with system and systemless root v2.66

- I have cleared synapse data and reverted settings to default. It doesn't help.

- I've uninstalled ukm using the zip found earlier in this thread and then reinstalled again.

I'm no expert, but I think that the problem may be related to supersu and busybox. The only reason I wonder this is because the kernel installs busybox to \system\xbin even when using systemless root. With systemless root you can't have busybox installed in system right?

The other strange thing I've found is that this kernel unlike others seems to work with both system and systemless root. Could modifications like this cause a problem with synapse?
[Nexus 5 Android Development] telekenetix:
In Franco's kernel, the change is really simple. In fact, it might event be something that is in Cataclysm already. I'm not entirely certain.

When I first noticed that I was having issues, I dug deeper with Wakelock Detector (and similar applications). This led me to notice that the phone was not sleeping at all. That is, the CPU was "awake" for 100% of the time that the phone was on. Digging slightly deeper, I saw that Bluetooth was at fault and that Fitbit seemed to be the cause. So I uninstalled the Fitbit application.

After removing the Fitbit application, the phone was able to enter Deep Sleep mode, which granted slightly better battery performance. But, the phone was still not sleeping as much as I thought it should. So, I looked again at the kernel wakelocks and saw bluesleep and bluedroid as the culprits.

That is when I realized that the problem was larger than a single application. It seems to be the entire Bluetooth stack that is at fault.
[Nexus 5 Android Development] rachanta:
Updates: RACER_6 & RACER_CAF

I am running chroma with racer-6. Here is the overnight kernel wakelock profile. I see no blusleep wake locks. May be its because I normally keep BTooth switched off.

Update:

RACER_6_20160123

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

Added toggles for kernel wakelocks - bluesleep, bluedroid

F2fs update

Other updates from great developers

RACER_CAF_20160123

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

Added toggles for kernel wakelocks - bluesleep, bluedroid

F2fs update

[MENTION=2838467]telekenetix[/MENTION] please check if the problem with racer-6 wakelocks is solved
[Nexus 5 Android Development] rachanta:
[MENTION=5199968]Dodgexander[/MENTION]

Install cataclysm using aroma, unchecked busybox during install. I remember now that I've experienced this problem before, and suggested to not install busybox built in with cataclysm in this thread. I remember seeing somewhere

that cataclysm + synapse runs into the issue.

If my suggestion works, it would be clear that the kernel has nothing to do with it. I have some issues with my broadband so am unable to download 500+ MB of cataclysm to reconfirm.