yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] neobuddy89:
Try this:

Install Busybox from Play store and install

Flash kernel.

[MENTION=535343]all[/MENTION]: CPU frequencies randomized behavior has been fixed along with overall performance boost. Next release will be available soon.

And yeah, OC will be back for those who need.
[Nexus 5 Original Android Development] Mtk87:
Yeah, now it works! thank you :)

Tomorrow will begin messing around a bit
[Nexus 5 Original Android Development] sunil1982:
i am getting error on nxtweaks app

kernel not supported currently on chaos kernel 3.1......stock rom 4.4.1.....ss attached
[Nexus 5 Original Android Development] ImJacky:
With 2.0 it was good (but no root on stock roms). Now i have the CPU always at 50° Celsius and it make a lot of heat!
[Nexus 5 Original Android Development] neobuddy89:
The problem is CPU Freq behavior is not smooth. I am fixing this for next release.
[Nexus 5 Original Android Development] maxwarp79:
I'd try this kernel but I can't find the EXTweaks app, where is it? Where can i find the stock 4.4.1 kernel if I want to come back to stock?
[Nexus 5 Original Android Development] neobuddy89:
NXTweaks app gets autoinstalled. Check your app-drawer for same.

I am not sure if anyone posted stock kernel however you can flash ROM again (I know its big deal) to get back stock kernel.
[Nexus 5 Original Android Development] sunil1982:
[MENTION=3795148]neobuddy89[/MENTION] i have flashed the zip again still getting same problem
[Nexus 5 Original Android Development] Mtk87:
Hi, I had the same error, download busybox, install the tools (it will say it is already installed, don't mind it), reinstall the kernel.

I did these steps and now it works.
[Nexus 5 Original Android Development] kong:
There should be an app named NXTweaks installed when you flashed the kernel.
[Nexus 5 Original Android Development] willybarca:
meh... I'll just switch to omni and faux for a while
[Nexus 5 Original Android Development] imneveral0ne:
2 weeks = ages :P
[Nexus 5 Original Android Development] neobuddy89:
I will tune settings to fix this for you, seems like you don't close your apps via recents menu.
[Nexus 5 Original Android Development] topgeardave:
In terms of cat implementation it's ages ?
[Nexus 5 Original Android Development] neobuddy89:
I tested my bluetooth headset, and no issues were found.

New nightly is available HERE.

Chaos-Kernel_v11.0-[02-22]-[15-48]

* Attempt fixing bluetooth mem corruption issues for some users.

* Update writeback and memory management

* New defaults to NXTweaks (IOSched, dirty writeback, oom)

* Update JPEG engine for Camera

* Update and tweaks for watchdog

* Updates for flash LED and sound driver

* Sync with Google kernel common branch
[Nexus 5 Original Android Development] comio:
Is the last cm nightly supported?

Thsnks

Luigi

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Vanhoud:
Is there anyway to keep a shortcut to the NXTweaks App on the home screen? It disappears after every reboot.
[Nexus 5 Original Android Development] gparmar76:
Hi, I'd like to try out Chaos Kernel...I've been a long time Franco kernel user...does Chaos Kernel have the audio mods like Franco's has? I use those a lot and am looking for a CM kernel that offers the volume boost/gain control.
[Nexus 5 Original Android Development] :
Loving the kernel. When you make edits in NXTweaks, do you have to reboot for them to take effect? Also, in most voltage control apps, you have to set it on boot. Does NXTweaks automatically do that?
[Nexus 5 Original Android Development] neobuddy89:
When you flash Chaos, an app appears in App Drawer - "NXTweaks"

This app offers customization for many interfaces including sound.

No reboot needed. Make sure Main Voltage Control switch is ON and APPLIED before you make changes.

Yes, settings saved in NXTweaks are auto applied on boot.

[MENTION=535343]all[/MENTION]:

I am reading more on VM settings - VM dirty ratio and dirty background ratio.

Optimal settings I can see so far are

Dirty Ratio - 40

Dirty Background Ratio -20

You can try these values via Memory Control in NXTweaks.

Also, preparing for better Low Memory Killer as a report previously suggested LMK killed system core app.

This is very rare and ideally should not happen.

I am testing new code merges to prevent above kills. :)

That will be added in next nightly.
[Nexus 5 Original Android Development] MontAlbert:
Having the same issue.
[Nexus 5 Original Android Development] gparmar76:
You just got a new Chaos kernel user...the audio tweaks are working great...the color profiles I use are also working great...is there a preferred scheduler for IO/CPU that people use?
[Nexus 5 Original Android Development] topgeardave:
sio because it's supposedly most battery friendly
[Nexus 5 Original Android Development] manny05:
I use FIOPS. Very battery friendly and smooth. I also use intelliactive along side with it. Best combo in my opinion.
[Nexus 5 Original Android Development] Pranksta02:
I'm unable to boot with the latest cm 22/02 build and chaos kernel also
[Nexus 5 Original Android Development] kong:
Are you using ART? If yes then it's CM's problem, not the kernel's.
[Nexus 5 Original Android Development] Pranksta02:
Yeah I am using art, that explains it thanks.
[Nexus 5 Original Android Development] expertzero1:
I'm using art. It works with cm (crdroid) ROM.

Neo, having issues with connecting to Bluetooth and screen being unresponsive with latest nightly. Have to hard reboot for it to connect.

It was working two nightlys ago when you fixed it. I think it was Thursday ?
[Nexus 5 Original Android Development] Vanhoud:
That's strange because I was having the exact same problem but his last two nightlies worked perfectly. Post your logs for him to debug next time
[Nexus 5 Original Android Development] comio:
No :(

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] manny05:
I'm still having the bluetooth problem. I have to reboot and then connect to bluetooth for it to work properly. Otherwise it will freeze my screen :/
[Nexus 5 Original Android Development] neobuddy89:
Please share logs to help for debugging.

New nightly available HERE.

Chaos-Kernel_v11.0-[02-23]-[13-53]

* Update to Linux 3.4.82

* Improve LMK - do not kill core apps (Thanks for debug logs posted earlier)

* Misc driver updates and fixes from CAF

* Use new default dirty ratio and dirty background ratio

Will fix NXT disappearing from homescreen after reboot in next releases.
[Nexus 5 Original Android Development] Vanhoud:
Just had the screen go unresponsive after taking a hdr photo

https://www.dropbox.com/s/yuqz6m6z1xwhpk6/chaos_last_kmsg
[Nexus 5 Original Android Development] neobuddy89:
Ok, I just checked with CAF commits and my commits.

There are few things deducted:

* CAF and Chaos are in sync except for the LMK part.

* You are using second last nightly.

* All reports shared earlier and one shared by you have really TOO MANY out of memory instances.

which means LMK killing too much.

* This makes sense that an important process being killed to have free space.

One last test needed from those having same issue, to try nightly posted above on this page.

If possible, please DEACTIVATE Xposed Installer since it replaces app_process binary (modifying system binaries)

I can add exception for xposed installer in LMK later, if required.
[Nexus 5 Original Android Development] Smoothface:
Could you add in pierielgos new color profile? There is a 5.5 version now http://d-h.st/uOs
[Nexus 5 Original Android Development] Vanhoud:
Ok, I've deactivated xposed and installed new nightly. I'll let you know how it goes for the next few days.

One thing that bugs me is why is the LMK so Damn aggressive? I pretty much always have 900+mb free which now seems like a waste.
[Nexus 5 Original Android Development] neobuddy89:
Yes, sir. Hang on.
[Nexus 5 Original Android Development] neobuddy89:
What you see is WRONG.

You are considering only APP memory and not considering CACHE memory.

Xposed, unfortunately, don't have option to choose if you can view CACHE memory usage in the recent RAM bar

while DroidKang do have this option.

There are buttons and CRON jobs to release memory, they help to release CACHE memory and not APP memory. :)

I think you should try KSM if you are using so many mem intensive apps.

Please wait for next nightly in next couple of min, I wish to revert this:

https://github.com/neobuddy89/hammerhead_kernel_caf/commit/b5e84fa4c60eaf5bf9afcaca68368718f315c2c1
[Nexus 5 Original Android Development] expertzero1:
Latest nightly working great :) screen is responsive when connecting to Bluetooth :)
[Nexus 5 Original Android Development] Vanhoud:
Ok good to know =) I was using the running apps area under settings to view 'free' memory.
[Nexus 5 Original Android Development] neobuddy89:
Next nightly: HERE

Chaos-Kernel_v11.0-[02-24]-[01-41]

* Speed up tweaks for EXT4 and UNIX

* Update Piereligio TrueRGB color profile to v5.5

* Fix OOM settings not getting applied properly via NXTweaks.
[Nexus 5 Original Android Development] Akeel1994:
does the nightly work with xposed?
[Nexus 5 Original Android Development] Audioboxer:
Just flashed this on CrDroid (CM based) and the app didn't appear on boot. Had to go back and flash again to get it, no biggie.

Am I also reading the sound control settings correctly, headphone poweramp attenuation should go DOWN if I want it louder? Thanks

Lastly one request for NXTweaks, could it one day read colour presets off the internal storage? While everyone raves about Piereligio, I must have a different brand of screen as it doesn't look that great for me. I've been using Franco Gamma Control, but only needing to have NXTweaks installed would be preferable :highfive:
[Nexus 5 Original Android Development] topgeardave:
Yes DOWN, attenuation is basically reducing the signal amplitude through damping of some sort.

[MENTION=535343]all[/MENTION]

Finally cracked the best battery life for those who go a day without a socket and who don't play games. Here's my settings:

Screen on : 300-1200 interactive

Screen off : 300-1200 conservative

-10mv uv

Gpu: 200mhz highest and lowest speed

Gentle fair sleeper: on

Dynamic Fsync : on

Cron jobs : off

Greenified Facebook, Twitter and Tapatalk

Also I turned off auto rotate which has helped.

Before this I used to only get 4-5hrs SOT. Today I got almost 7 hours!
[Nexus 5 Original Android Development] :
Bump.
[Nexus 5 Original Android Development] XeYex:
3g problem

Hi, i have flashed last nightly over the previous one, i'm using droidkang rom, but i have 3g connection problems, when i'm on 3g i nave no line. I don't know if it is a rom or kernel related issue.

Anyone has same problem or could help me?
[Nexus 5 Original Android Development] mohammed510:
I see that Adreno 330 can be safely overclocked also memory interface.
[Nexus 5 Original Android Development] A_Button117:
I would like this to be implemented

Studying Computer Science and Forensic Science @ UCO

Using XDA Premium 4
[Nexus 5 Original Android Development] mo976:
I don't think its overclocking rather it may be a better batch of silicone. Not all chips are created equally. For example some people will have no problem with oc to 2.5ghz and others will experience problems.
[Nexus 5 Original Android Development] zimlokks:
Yeah usually they don't set them to the max, not only to prevent battery drain, but also to make everything stable.
[Nexus 5 Original Android Development] Sultanxda:
Are you sure that it's *actually* running at 533MHz? A while back I modified the dts tree in the kernel so I got higher GPU frequencies, but benchmarks revealed zero difference in performance.
[Nexus 5 Original Android Development] brando1995:
Sorry for asking, but since I haven't updated since 9.2 and I don't quite understand CAF, does this kernel work on the stock ROM?
[Nexus 5 Original Android Development] montbazon:
No. Only CM variation.

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 5 Original Android Development] brando1995:
Well that sucks, I really liked this was hoping to keep getting updates.
[Nexus 5 Original Android Development] XeYex:
someone can help me please? I' m the only one with this issue using this kernel?
[Nexus 5 Original Android Development] neobuddy89:
In NXTweaks, please make sure that "IPv6" tweak is checked.

[MENTION=535343]all[/MENTION]:

NXTweaks disappearing from homescreen is fixed for next release.

However, following new issues has been noted:

* "Profiles" tab, buttons are reading profiles but doesn't seem to apply them unless you reboot device.

* "Morpheus mode" is somehow brokenin v11 nightlies and doesn't start on boot. To start it manually, it needs to be disabled and then enabled again from NXTweaks.

I am fixing above two priority issues and will able to release after same.
[Nexus 5 Original Android Development] kong:
AFAIK, DroidKang v19 was released on Feb 7, so there is a chance that there are some changes in current CM kernel that might break the functionality of the ROM.

You may wanna try the stable releases (10.1 or 10.2) instead of the latest nightly :silly:

EDITED:

Ah [MENTION=3795148]neobuddy89[/MENTION] has pointed out the culprit :p
[Nexus 5 Original Android Development] Pranksta02:
Sorry to be a pain but does anyone know if art is working on the new cm nightlies?
[Nexus 5 Original Android Development] expertzero1:
I've been using art on the 19 nighty, and the crdroid latest version.
[Nexus 5 Original Android Development] kong:
Wrong thread? But yes ART is working again on 25th Feb Nightly CM11.
[Nexus 5 Original Android Development] ed2975:
touchboost

Hey,I love this kernel but post 10b8 there's inbuilt touchboost and there doesn't seem to be any way to turn it off. I noticed the tunables in NXTweaks in the latest nightlies but setting them to 0 doesn't seem to stop it. Is this a known issue? or have I goofed here?
[Nexus 5 Original Android Development] Ashish Bhalla:
[MENTION=3795148]neobuddy89[/MENTION] can u please give CAF sound setting what u use or for optimal sound ?
[Nexus 5 Original Android Development] neobuddy89:
There is no touch boost since Chaos 10.0.

I think you are not following this development, let me give you small briefing:

Chaos 10.0 onwards we have dropped support for all ROMs except newest CM-based ROMs.

If you are using any version below Chaos 10.0 (even beta), you need to flash entire ROM again and then flash latest Chaos shared here.

CAF sound settings are similar to Faux sound settings.

Anyone using Faux may share their optimal settings.

Personally, I only use DSP Manager to slightly/moderately boost bass for best sound.
[Nexus 5 Original Android Development] DenyDarko:
[MENTION=3795148]neobuddy89[/MENTION]

Is possible to enter my own values for fast charge feature?

Could you please add a custom mA value box or it's too complicated? I would really appreciate it! :)

I want to make some tests using multiple chargers.
[Nexus 5 Original Android Development] neobuddy89:
Own values are not possible. Those are pre-defined values in the code.
[Nexus 5 Original Android Development] unknvvn:
I am getting reboots with latest kernels (no UV) and cm11 (maybe it started with 02-21, i am not sure).
[Nexus 5 Original Android Development] neobuddy89:
You will need to share logs.
[Nexus 5 Original Android Development] unknvvn:
http://pastebin.com/JcxsdgC7

I got reboot while scrolling contacts, other reboot occured just after clean flash of cm11 02-25 and chaos 02-24(all default settings) but i don't have log for it.
[Nexus 5 Original Android Development] ed2975:
linaro?

Hey under betas in the Dev host folders there's one called chaos-kernel_v11.0-[02-18]-[10-35]-Linaro.zip is that a experiment with a newer linaro version or something similar?

BTW we all really appreciate your time and effort in developing this boss kernel for the N5
[Nexus 5 Original Android Development] neobuddy89:
Thanks. I am looking into it.

Meanwhile, please use default governor and default IO scheduler (these are your probable random reboot culprits)
[Nexus 5 Original Android Development] neobuddy89:
Do not use beta builds.

Linaro one is sluggish and therefore no linaro builds are continued.

However, we do have many kernel fixes from linaro stream.

I suggest to wait for next nightly in sometime. Lots of fixes to NXTweaks and from CAF.
[Nexus 5 Original Android Development] neobuddy89:
Newer nightly is available.

Chaos-Kernel_v11.0-[02-26]-[04-55]

* Disable few debugs which are not useful. (Thanks [MENTION=4800121]Sultanxda[/MENTION])

* Disable PERF_EVENTS and PROFILING - Less CPU work, more power efficiency. (Kernel size has reduced significantly)

* Numerous fixes to NXTweaks. (including homescreen disappearance fix, orientation error fix, profiles loading fix and broken morpheus fix)

* Sync reserved dev RAM size to 4 MB with CM11 (instead 8MB) (more RAM)

* Lots of Driver updates (mostly Audio, Thermal, Camera, Media and IOMMU) and fixes from CAF (as usual ;))

* LMK final fixes

Closer to final stable version release.
[Nexus 5 Original Android Development] Sultanxda:
[MENTION=3795148]neobuddy89[/MENTION]

Got a random reboot with the test kernel you sent me. Last_kmsg is attached to the bottom of this post.

The stacktrace in the last_kmsg points to the ep_scan_ready_list function being the culprit. A quick grep of ep_scan_ready_list gave me a hit in fs/eventpoll.c, and after a quick glance at the recent commits to fs/eventpoll.c, I suspect this commit caused the reboot: https://github.com/neobuddy89/hammerhead_kernel_caf/commit/0eeb70e93fc6a2f73580e8320847cd54ecce0e77
[Nexus 5 Original Android Development] neobuddy89:
Thanks. Reverted those faux updates to epoll, I got better updates for next release.

[MENTION=535343]all[/MENTION]: New version uploaded with changes from my above post included.

Chaos-Kernel_v11.0-[02-26]-[05-26]

* Update Piereligio TrueRGB profile to v6.

* Revert backported updates to EPOLL (Thanks to report from [MENTION=4800121]Sultanxda[/MENTION])
[Nexus 5 Original Android Development] Akeel1994:
What is the the best io scheduler?
[Nexus 5 Original Android Development] Sultanxda:
[MENTION=3795148]neobuddy89[/MENTION]

I looked at [MENTION=4634502]unknvvn[/MENTION]'s last_kmsg and the stacktrace contains many references to arch/arm/mach-msm/krait-regulator.c. I inspected the stacktrace a bit more and looked at the commits to krait-regulator.c, and I believe this commit may have caused unknvvn's reboot: https://github.com/neobuddy89/hammerhead_kernel_caf/commit/ddd862c7aa9e7461206e19fcf3576bf6cfef2bff
[Nexus 5 Original Android Development] MrCatalyst:
I may've missed it, but why the change from CPU IO Scheduler from FIOPS to ROW - default that is? Is it better for on battery and/or performance? Just sheer curiosity.

Also, even though DK remains a bit behind, in terms of CM11 sources, I seem to have no more reboots on newer versions of the kernel. :D
[Nexus 5 Original Android Development] RussianBear:
Anyone having camera daemon battery drain issues? Just flashed newest nightly about an hour ago. First time on this kernel.
[Nexus 5 Original Android Development] zimlokks:
Just a quick question, isn't SElinux supposed to be enforced and not permissive? Or is this something you did for a reason on your own? Or is this CM's doing?
[Nexus 5 Original Android Development] alb3rtt:
Do you use snapchat? Or did you leave the camera app open?
[Nexus 5 Original Android Development] neobuddy89:
It's my own evil doing.
[Nexus 5 Original Android Development] Mtk87:
Had random reboot while.. Having the phone on the table and not caring of it.. I'm on droidkang 19, last nightly of your kernel available. Maybe he just wanted some attentions eheh, anyway here is the log (Dropbox URL as i don't know how to append a file like that via tapatalk)

https://www.dropbox.com/s/le98f1sraiihre8/chaos_last_kmsg
[Nexus 5 Original Android Development] mo976:
Droidkang 19 is very behind with the cm caf stuff and that's most likely the cause of your random reboot stick with the stable 10.2 until droidkang 20 comes out or switch to CM or euroskank or another more up to date rom.
[Nexus 5 Original Android Development] RussianBear:
No to both. Doesn't look like it's an issue anymore after a reboot.
[Nexus 5 Original Android Development] DenyDarko:
It's really spread and it's massive:

https://code.google.com/p/android/issues/detail?id=60058
[Nexus 5 Original Android Development] hd2009:
I'm experiencing strange behaviour with video playback (black screen, FAST playback) but i cant tell you if this is related to the kernel or rom.

I ve tried to change governor with no success. Droidkand19 + chaos 10.2
[Nexus 5 Original Android Development] Sultanxda:
Looks like you got the same reboot as unknvvn.
[Nexus 5 Original Android Development] Silentbob999:
That's probably do not affect Nova.

[MENTION=1336183]RussianBear[/MENTION]

Are you using Google launcher like me?

On the link above someone fix the drain by deleting the camera shortcut on the home screen..

In all situation. It's most probably not kernel related

Tapatalked with SlimKat NexusFive
[Nexus 5 Original Android Development] RussianBear:
I'm actually using Apex launcher. Camera icon is on the home screen nav bar. Haven't seen this drain today yet.
[Nexus 5 Original Android Development] mo976:
I don't see how having a shortcut would cause drain. Most comments suggested that Skype or other apps that use the camera didn't properly close the camera and that caused battery drain.
[Nexus 5 Original Android Development] Pretoriano80:
[MENTION=3795148]neobuddy89[/MENTION] : hi mate, i saw in the OP that your kernel isn't supposed to work with Multirom as a standalone kernel on a secondary rom but yesterday i decided to test it (i was curious why yours shouldn't work while all other kernels a tried worked) and it's working just fine on my secondary rom.

Test was made with your latest nightly with latest CM11 build as secondary rom while my primary rom it's Stock with franco kernel.
[Nexus 5 Original Android Development] unknvvn:
Any updates on fixing the reboots?
[Nexus 5 Original Android Development] neobuddy89:
Krait-regulator is in sync with CAF.

I didn't had any reboot till date, I can't understand why is regulator getting null ref for few users.

I have updated regulator voltages in sync with CAF.

Let's check on that. New nightly will be available soon.
[Nexus 5 Original Android Development] neobuddy89:
Thanks for testing.

Some users have reported that while flashing Chaos separately on secondary causes regression for charging i.e. your device doesn't charge.
[Nexus 5 Original Android Development] Pretoriano80:
Yes, i remember the discussion and charging was the first thing i tested and works fine.
[Nexus 5 Original Android Development] unknvvn:
I rolled back to 02-17 nightly and I didn't get reboot since.
[Nexus 5 Original Android Development] neobuddy89:
New nightly available. HERE.

Chaos-Kernel_v11.0-[02-28]-[11-06]

* Enhance voltage control in NXTweaks

* Add profiles to sound control in NXTweaks

* Add option to use power-efficient workqueues by default in NXTweaks

* Update regulator voltages to prevent voltage starvation (sync with CAF)

* Update Sound drivers

* Reduce LED current used for flashing to prevent overwhite in low light conditions

* Minor update with power mode

* Tune interactive governor to reduce audio jitter

* Misc updates from CAF

* Tune LMK to optimize memory usage and less killing
[Nexus 5 Original Android Development] nikr123:
[MENTION=3795148]neobuddy89[/MENTION]

Could you please increase the over all UV negative to more than 20? More like 100 (I know it can course massive instability). Also could you please make some kind of a super battery saver profile with UV, underclock both GPU and CPU? Otherwise super kernel!!!
[Nexus 5 Original Android Development] mohammed510:
I can't download anything from mediafire. Download always fails..
[Nexus 5 Original Android Development] neobuddy89:
Do it using sliders or external app.

I don't wish to see dozens of posts complaining reboot due to instability.

Mediafire Desktop version of site will work.
[Nexus 5 Original Android Development] mohammed510:
Both fails on Chrome Browser, i recommend Firefox..