yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] neobuddy89:
What i/o scheduler are you using? Use ROW.
[Nexus 5 Original Android Development] aswinrulez:
I have been facing some randoom reboots. Took some logs. Hope it helps you in anyways :)

View attachment chaos_last_kmsg_whatsapp.txt

View attachment chaos_last_kmsg1.txt

View attachment chaos_last_kmsg.txt
[Nexus 5 Original Android Development] sjknight413:
Flashed the latest 14.0 nightly last night and it seems my battery is draining overnight,

I went to bed with 88% remaining and woke up eight and a half hours later with 57% left. Phone was on airplane mode all night and after checking the frequencies used it was in deep sleep all night, there was also no wakelocks whatsoever. Has anyone else experienced anything like this?

Sent from my CyanogenMod + ElementalX powered Nexus 5
[Nexus 5 Original Android Development] aswinrulez:
im getting random reboots again and again..one while charging..i wasnt even using my phone..it was charging and on my table and just rebooted..secondly when i started clash of clans game..logs are attached
[Nexus 5 Original Android Development] Archipago:
This kernel is my favourite, but I'm struggling to find a caf ROM I like, its between cm, aokp and carbon, what you guys using?
[Nexus 5 Original Android Development] neobuddy89:
Both log shows random reboot while charging.

Will check and post counter version. Never had this issue while charging... not even with fast charge enabled.
[Nexus 5 Original Android Development] neobuddy89:
I believe these logs are outdated... why you aren't on latest nightly?

Patches were already deployed to counter log corruption.
[Nexus 5 Original Android Development] aswinrulez:
Thanks neo but it isn't always while charging.. I get reboots other times also.. Sometimes when it's in my pocket even when I'm not doing anything.. Will try to get a log then

---------- Post added at 08:31 PM ---------- Previous post was at 08:30 PM ----------

Latest nightly of cm or chaos? I wasn't on latest nightly of cm.. Updated today evening.. Chaos I thought I was in latest nightly
[Nexus 5 Original Android Development] neobuddy89:
In your post with 3 logs, first log where you see special characters in log.... is log from last month CHAOS nightly.

Apart from that, rest two logs indicate krait regulator voltage set error.

Which PVS bin is your H/W??
[Nexus 5 Original Android Development] neobuddy89:
Also... about errors you getting while charging...

try this please....

Use NXTWeaks... enable Fast Charge... and set it to automatic mode.
[Nexus 5 Original Android Development] aswinrulez:
Will do it :) and about the log I have been using latest nightly for a while now :/
[Nexus 5 Original Android Development] topgeardave:
CM because carbon and aokp feel a bit wonky with chaos kernel. Could be just because cm is more optimised for caf with its own dalvik and Bionic libs
[Nexus 5 Original Android Development] aswinrulez:
ok neo i got a log of reboot when not in charge
[Nexus 5 Original Android Development] neobuddy89:
Thanks. Looking into it.

Nasty bug for those who have it repeats...

Can you share what PVS bin your device have?
[Nexus 5 Original Android Development] aswinrulez:
How do I do that? I'm in elemantal x.. So I'll need to go to chaos for this right?
[Nexus 5 Original Android Development] Hatshipuh:
No.

Enter dmesg | grep PVS into terminal.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] aswinrulez:
at first it showed operation not permitted. So i gave admin permission and when in root i try executing the code it shows nothing. Should i flash chaos first?should this be executed after a crash?
[Nexus 5 Original Android Development] neobuddy89:
No.

Check this file /sys/module/clock_krait_8974/parameters/table_name

I should show something like this....

qcom,speed1-pvs2-bin-v0
[Nexus 5 Original Android Development] fluther:
9/3 nightly has been working beautifully here, until a random freeze and reboot this morning: https://www.dropbox.com/s/6ccy4xg44o42ljz/chaos_last_kmsg?dl=0

Otherwise all good!
[Nexus 5 Original Android Development] Hatshipuh:
Ah yes forgot to mention to give root access via su.

It's independend from the kernel or crashes, but you may have to install busybox and reboot for it to work.

But well, the other way from neobuddy is more convenient.
[Nexus 5 Original Android Development] aswinrulez:
Neo i couldnt find the clock_krait_8974 in sys/module but i have acpuclock_krait folder. So i opened a file named pvs_number from the below path

/sys/module/acpuclock_krait/parameters/pvs_number

When i open that it shows the number 3 and nothing else

3g has been down here since evening. Once im out of office ill try downloading busy box and trying it your way. Thanks :)
[Nexus 5 Original Android Development] Hatshipuh:
Now it hit me, kernel panic while using Google Search. Last_kmsg attached.

Btw I'm PVS 2.
[Nexus 5 Original Android Development] aswinrulez:
Here is what I get
[Nexus 5 Original Android Development] Hatshipuh:
Even after installing busybox?

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] neobuddy89:
I think I found the nasty culprit. Posting fixed version in couple of min ... couple of tests...
[Nexus 5 Original Android Development] neobuddy89:
Please switch to latest nightly.

New nightly available:

Chaos-Kernel_v14.0-[09-09]-[21-27]

* Fix multirom boot issue as secondary ROMs.

* Misc updates

* Use 19.2 MHz as i2c freq to save power.

* Fix potential issue of null reference reported recently. :fingers-crossed:

Please report back.
[Nexus 5 Original Android Development] Hatshipuh:
New Nightly up and running, changed the GPU governor to simple_ondemand though, msm-adreno-tz seemed a bit too jumpy for me.

Looking forward to the results of i2c underclock, had great results when it was added into franco's back when I was on a AOSP base.

Edit: Reboot when starting Red Bull Racers game. Last_kmsg attached.
[Nexus 5 Original Android Development] neobuddy89:
Thanks. Found some trace.

Will continue to debug in evening.
[Nexus 5 Original Android Development] aswinrulez:
Yes even after installing busybox
[Nexus 5 Original Android Development] Hatshipuh:
Hope this last_kmsg helps too, this time reboot while browsing on Opera, watchdog bite.

https://www.dropbox.com/s/rkemkj7m2fnvilj/last_kmsg2.txt?dl=0

Now this is weird, I had same problems that terminal didn't display anything, but after installing busybox by stericson and a reboot it worked.

And another panic, last_kmsg3.
[Nexus 5 Original Android Development] simpty:
Yesterday I installed this kernel (v14.0-[09-03]-[23-25]) with Ehndroix v14.8.8 and updated the Adreno graphic drivers (from August 8) and so far, it runs smoothly. Fortunately I haven't got any problems, hick ups or other stuff. Just one unexpected reboot so far.

Only the battery life kinda worries me a lil bit. Compared to the "stock" CM kernel the Chaos has a higher drainage. Maybe the rom still has to get used to the new kernel, I don't know. But I think that the CM one had a slightly better run regarding the battery.

But it's just one day in usage so far, so I need couple more days to check how the battery is behaving.

Thats my battery life so far:

[IMG="battery widget reborn"]http://abload.de/img/capturerfro0.png[/IMG]

I applied fluther's settings in post 1 in the kernel discussion thread by the way.

Just one question:

- how I can I update to the latest nightly version? Just download it and flash it over previous one via recovery? Or do I have to do more than that? (sorry for noob question xD)

Best regards & great work on this kernel!
[Nexus 5 Original Android Development] saramon:
You can just flash the update, nothing else required. Generally any kernel can be flashed on top of one another, if caf compatible. In the advent you would like to return to stock, reflashing your ROM will reinstall the stock kernel.
[Nexus 5 Original Android Development] topgeardave:
Please try going to stock settings, press reset to default on the first page of nxtweaks. A lot has changed since then and battery life may be better on stock. For me this is the only kernel on stock settings that can give me just under 6hrs SOT with heavy usage on wifi. Other ROMs/kernels just give me around 5h SOT around my typical usage

As for your question about flashing nightlies, just flash it without wiping anything. Only time you need to dirty flash cm is when you come from another custom kernel
[Nexus 5 Original Android Development] lolobarjo:
If V15 support F2FS you can count on me ;)

Envoyé de mon Nexus 5
[Nexus 5 Original Android Development] willybarca:
everything sounds good, can you include dt2w in the mean time until cm switch
[Nexus 5 Original Android Development] kong:
I’m in! :highfive:

EDITED:

[MENTION=3795148]neobuddy89[/MENTION], I tried to buy you a beer via PayPal and got this:

:silly:
[Nexus 5 Original Android Development] JulianXhokaxhiu:
Amazing stuff :) If it's compatible with CM11 official nightlies, consider me in!
[Nexus 5 Original Android Development] Hatshipuh:
I'm in!

Just hoping the i2c underclock is still in ?

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] fluther:
I'm in!
[Nexus 5 Original Android Development] neobuddy89:
Thanks to everyone for taking interest.

For now, I have implemented dirty patch:

https://github.com/neobuddy89/hamme...mmit/431943a9683263f1d566d9f1a1409eb9f39c138b

This is from Chaos-14.0 with spillovers of unimplemented wake controls and other backports.

So, this will be reverted and patched with clean CM-11 official's MDSS.

On top of that, separate patch work for wake controls. That should help me in tracking for future use and any bug resolution.

ETA 6-7 hrs.
[Nexus 5 Original Android Development] neobuddy89:
[MENTION=272552]RohanK[/MENTION]umar, [MENTION=4703968]AndroidSlave[/MENTION]

OC is not set by kernel. It is set by mpdecision.

mpdecision is hotplug for msm board.

If you read my 3rd/4th post I have written about mpdecision.

It sets scaling frequencies as per the temperature, load and don't know what other factors.

I am still in dilemma whether we should turn it off or not.

If it is turned off, I need to replace with equivalent hotplug driver. (perhaps next versions)

More importantly, need to make sure disabling same don't result in user stuck on boot logo (happened to me before):crying:

-----

Sound control is made to work with FauxSound, I am not sure if trickster will help.:rolleyes:

Faux has edited code to avoid reset of values and hence values saved by Trickster will reset.

-----

S2S

It is feature incorporated from other custom kernels as per the request. :cool:

I will look into it if I can help.

----

GENTLE_FAIR_SLEEPERS doesn't damage in any way.

It was experimental and hence was enabled by default.

My previous encounter with same on other device resulted in sleep of death.

This is not case for N5, so YES we can go for disabled by default in next versions. :fingers-crossed:
[Nexus 5 Original Android Development] mo976:
Experiment and decided for yourself.

That said try conservative or powersave also don't use extra features like s2w etc. And you can try lowering the CPU max frequency's however your milage may vary since the lower the setting the longer it works at max frequency to complete operations. Of course there is the law of diminishing returns, while 2.5ghz might be great for benchmark results you probably won't notice better regular performance over say 2ghz. However I find the preset settings to offer a good battery life/performance ratio. Take into account constant screen on and 3g/LTE will drain much faster then WiFi and moderate screen time.

I'm at 52% with 45 min talk an hour and a half of screen and 10 hours off the charger with both 3g/wifi and the standard preset settings.
[Nexus 5 Original Android Development] :
[MENTION=3795148]neobuddy89[/MENTION] I want to use mpdecision... I just want to be able to scale max to stock. Is that not possible (I can't get it to happen in NXT)? Every time I do something that forces it to 2.5+, my device hangs for 30+ seconds...

Sent from Nexus 5 on Slimkat
[Nexus 5 Original Android Development] neobuddy89:
Are you sure about device hangs due to 2.49 OC ?

The only available options are:

1> Replace mpdecision with custom hotplug driver

2> Turn off OC
[Nexus 5 Original Android Development] neobuddy89:
3> Let me try to fool mpdecision that max freq available is stock max freq.
[Nexus 5 Original Android Development] amphi66:
Not to get in the middle, but have him turn off OC, since he just wants stock anyway.

Your kernel is awesome!

--Larry
[Nexus 5 Original Android Development] s3ct0r:
Would you be able to implement showp1984's backlight mod?

This kernel is so great, I'm loving each update

Keep it up :)
[Nexus 5 Original Android Development] Rykochet:
I know you are always looking for addons. Is there any way to get CPU quite from the n30 kernal. I believe it is a hot plug driver.

http://xdaforums.com/showthread.php?t=2524422
[Nexus 5 Original Android Development] neobuddy89:
It is already there. Are you looking for something else? Let me know.

Thanks. I will check this out.
[Nexus 5 Original Android Development] :
cm version fail battery indicator 1% always with beanstalk
[Nexus 5 Original Android Development] rohankumar.112:
[MENTION=3795148]neobuddy89[/MENTION]

Thanks for the detailed post.

Just one more thing - Tried using multirom on your kernel today. Used the multirom app to flash modified TWRP recovery and the multirom installer zip, it detected Kexec Hardboot Patch, so obviously I didn't flash another kernel.

Booted into recovery to complete the installation process. After that restart system goes directly to bootloader.

Tried the entire process again installing everything manually this time, same thing! after installing the multirom installer zip, system boots directly into bootloader, the only way to boot normally is to enter recovery and reflash the ROM.

Gave it one more shot, this time with the modified CM kernel on Tassadar's post, and everything worked! Booted fine

So in conclusion am I doing something wrong or is the kexec thing broken in this kernel?

Note: I'm using official CM nightly from the 17th
[Nexus 5 Original Android Development] Infinity02:
On cm11_1220 and 6.0(normal)

Battery bug is fixed! =D
[Nexus 5 Original Android Development] shantu:
Quick question - I have enabled color tweak, but dont see any color presets to choose from, where can I find the two mentioned presets?

Am on stock rooted rom, no other kernel installed before.

BTW S2S, S2W, DT2W all work fine. Need to figure out how to disable S2W but keep S2S on :)
[Nexus 5 Original Android Development] :
Maybe this is part of the miscommunication.

There is no 'turn off OC' option in NXT that I see.

As you see in my earlier screenshots max freq is set to 2.2 (thus NOT OC) but chaos still maxes at 2.5 regardless of that setting. What am I missing here? I did understand what neobuddy89 said, but you just threw me for a loop Larry - did you miss that part of the conversation?

I suppose I am not understanding what the purpose of the max frequency slider in NXT is if it doesn't allow the max freq. to be changed.
[Nexus 5 Original Android Development] Berlino:
Had the same problem with Chaos v6 and installing MultiROM via App...stuck in bootloader.

Flashing Chaos v6 again via patched TWRP did the trick. And there was a marked option "Inject MultiROM" before swipe to flash - after that, all worked fine and booted up correctly. I was using AOSP-based Rom with Chaos v6.
[Nexus 5 Original Android Development] bandit1976:
Here is a screenshot after installing the multirom app, so you muss reinstall the chaos kernel.
[Nexus 5 Original Android Development] neobuddy89:
New version is out.

You can now set screen off/on max/min frequencies, sleep/awake governors from NXTweaks.

New thermal and hotplug management! [MENTION=4703968]AndroidSlave[/MENTION] - overshooting of frequency fixed ;)

Changelog for v7.0:

Linux Kernel mainline updates from version 3.4.75

Switch off mpdecision. Use intelli hotplug driver.

Switch off thermal-engine. Use intelli thermal driver.

Add CPU Boost driver - alleviates poor user performance - This will compensate for disabled mpdecision

No more scaling frequencies overshoot

Fix powersuspend driver

Fix new GPU driver crash

Minor optimizations from Google kernel common branch

Performance optimizations

Add Morpheus to NXTweaks - Add screen off tweaks

Fix Frandom

Remove EDS module

Disable GENTLE_FAIR_SLEEPERS by default for UI improvement

Pull updates from CM11 - fixed battery stats for all ROMs
[Nexus 5 Original Android Development] valsacar:
Having a problem, I have multirom and using cataclysm. With chaos kernel my phone doesn't charge, the charge icon blinks but the system doesn't recognize that it is plugged in (it will see if it's on USB). This happens with fastboot on and off. Happened with xposed installed, and before it was installed. Using dalvik, I haven't tried yet to see if ART makes a difference.

This does not happen on any other ROM or stock.

This does not happen in cataclysm with stock kernel (modified stock for multirom support).

It appears to be just the combination of cataclysm and choas kernel. Unfortunately for me, that the is the combination I want right now.

I've also noticed (only tested with cataclysm) that the s2s only option doesn't work, even with that turned on both s2w and s2s are active.
[Nexus 5 Original Android Development] melbourne408:
Wow this is a milestone.

Add intelli & MPD off yeee!

Going to test this one out now.
[Nexus 5 Original Android Development] Krepki:
Awesome kernel, luv it ;) CM11 + this one = awesomeness :D
[Nexus 5 Original Android Development] Audioboxer:
I'll be happy to test Neo if it's v15 for current CM builds.

I went back to AOSP as sadly myfluxi didn't update his builds past beta4.
[Nexus 5 Original Android Development] Unb0rn:
Diag

Hey, neobuddy! I wonder if Diag mode is supported? I want to write something with QPST but I'd need exposed COM interface for that... If I try to enable diag mode via setprop

setprop sys.usb.config diag,adb

it would just drop any connection with PC-mtp, adb. Thanks in advance! :fingers-crossed:

P.S. It's a feature request if it's not included;)
[Nexus 5 Original Android Development] neobuddy89:
Chaos 15.0 for Official CM11 nightly and latest CAF05 build available here:

http://www.mediafire.com/?nuap4sfdnis8o

DO NOT INJECT/USE WITH MULTIROM.

INSTALL SYNAPSE AP FROM PLAY STORE.

Feedback please. Will reply rest posts and queries later... too sleepy. :D
[Nexus 5 Original Android Development] Audioboxer:
Thanks to alerting me to a new CAF test build from myfluxi :D

I'm guessing your chaos v15 for CAF05 hasn't had to sacrifice as much as the backported one for the nightlies?
[Nexus 5 Original Android Development] fluther:
Working well in general so far on official CM11 nightlies.

One issue: I can't seem to apply any colour profiles. As soon as I tap the tick to apply, it resets itself to 'custom' and I'm left with the awful yellowish stock.

Edit: fixed it by using the 'restart synapse' button. Synapse restarted and said 'no UCI support' (or similar), so I FCd it, relaunched, and everything worked perfectly.
[Nexus 5 Original Android Development] Hatshipuh:
Everything's looking good so far using official nightlies version on Carbon.

I noticed the stock kernel voltages are around 25mV lower than AOSP stock, or at least the voltages for the lower frequencies.

And GPU frequency won't drop under 200 MHz even with simple_ondemand governor, at least during screen on. Is it intentional?

Edit: There is no more USB fast charge?
[Nexus 5 Original Android Development] neobuddy89:
Have you checked if it's already included? I really don't remember atm.

Are you still facing this issue after a restart or a while...

And when "Restart Synapse" is clicked it takes time to load interface for Synapse.

Will try to prevent this error msg.

GPU Frequency drops below 200 MHz but it's not reported via sysfs, I believe this was fixed somewhere in Chaos 13.0 series.

Will check and get back on this by next release. Thanks reporting.

About USB fast charge, one we are using till Chaos 14.0 is Faux's fast charge adaptation.

Let me know if that worked well or not.... else we go for alternative.
[Nexus 5 Original Android Development] neobuddy89:
This will be last thing in my to-do list. Perhaps, in the weekend.
[Nexus 5 Original Android Development] marioemp2k7:
It should be already baked in http://goo.gl/374UfD

Ofcourse the ramdisk needs editing in order to boot.
[Nexus 5 Original Android Development] neobuddy89:
i2c underclock will be included in next build along with i2c bus updates. :good:
[Nexus 5 Original Android Development] bosna110:
so now I am able to download v15 for CM's nightlies and flash or is there something still that will fk it up? awesome kernel, been using it since like months.
[Nexus 5 Original Android Development] lolobarjo:
Cool :D

Yeah I know. Editing the ramdisk is not a problem. I do it for every chaos nightly ;)

Envoyé de mon Nexus 5
[Nexus 5 Original Android Development] Unb0rn:
Yes, I've tried to set up diag connection type via setprop-it doesn't work. Just drops any connections... But I don't know wheteher its inside kernel and doesn't work for some reason, or it's not merged at all...

Upd. Maybe it's a good idea to look into that work? It looks like it has diag support.
[Nexus 5 Original Android Development] vivmar:
Guys,please,someone can explain to me whats for the version "CAF05"? in which rom can i use?

thx
[Nexus 5 Original Android Development] kong:
It's the experimental CM11 ROM by [MENTION=4152171]myfluxi[/MENTION]. You can find it in the CM11 thread by starting on the last page and go a few pages back. Or search for CAF05 ;)
[Nexus 5 Original Android Development] fluther:
No issues with display profiles not sticking here. Leave it a while, reboot, it just stays :)

Fast charge was working great for me on ≤14.
[Nexus 5 Original Android Development] imneveral0ne:
I don't see nxtweaks. Where is it?
[Nexus 5 Original Android Development] fluther:
If you're using the new 15 nightly, you've to download Synapse from the play store. NXTweaks is deprecated.
[Nexus 5 Original Android Development] Luigi_2:
Hi neo, did you notice that myfluxi released a fix for throttling issue? So I guess it's a kernel patch, hope you'll get to it soon.
[Nexus 5 Original Android Development] neobuddy89:
where?

EDIT: nevermind... I believe stock thermal engine is configured inside ROM.

So he fixed within ROM.

EDIT2: we will try to get kernel-space thermal work.

EDIT3: New kernel will be posted. Fix required for stock thermal engine mess.
[Nexus 5 Original Android Development] joecool666:
hi neobuddy89, i am just about to flash your kernel is it safe to do so. kind regard's joe. or should i wait for new release.
[Nexus 5 Original Android Development] neobuddy89:
I ran this thing whole day... just battery drained up fast.

I would recommend to wait couple of min.
[Nexus 5 Original Android Development] joecool666:
thank you , i have just flashed but i ll flash new one asap, kind regard's joe
[Nexus 5 Original Android Development] Audioboxer:
Looking forward :highfive:

This with the thermal issues being fixed will make a great almost complete CAF ROM. Sadly myfluxi said the changes will not be able to go into the official CM kernel - Looks like they won't adopt his approaches :/ Hopefully he can keep doing unofficial builds every few weeks to sync with CM.