yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] neobuddy89:
Try below test build.

@all:

Based on conclusion stated for last test build, I have re-architect MSM and Intelli hotplug suspend-resume logic.

Instead all sibling cores going offline on suspend, use can select maximum numbers of core that can be online when device is suspended. Default is set to 2.

If you set this to 1, you may hear some glitches from music player when device is suspended.

I have merged entire ULPS (Ultra Low Power) updates/fixes for Panel by @myfluxi

This is working good except bootanimation is not seen on Primary ROM if you are using MultiROM inject.

I have already let myfluxi know about this HERE ; maybe @tassadar can help with this as well.

Not a single glitch (with default settings) using DSP Manager with below build, atleast for me. Test and revert back.

Test Build #3:

http://www.androidfilehost.com/?fid=23501681358552999
[Nexus 5 Original Android Development] Ridoku:
My setting without glitch

My settings, try it maybe can help you. Around 5 hours screen on time, 3G (H+, not wifi) , 22 hours standby.
[Nexus 5 Original Android Development] fluther:
All working great on my end with test build 3 and latest cm nightly. Thanks!
[Nexus 5 Original Android Development] myfluxi:
Send me a pastebin with a kmsg, mdss is very chatty. And send it to me before pinging me on github next time, especially if it's totally unrelated to the actual commit ;)
[Nexus 5 Original Android Development] unknvvn:
Ok, thanks for clarification.
[Nexus 5 Original Android Development] wardawgmalvicious:
Anyone else get this?

-wardawgmalvicious

N5/N7 2nd Gen

MultiROM TWRP

ElixR 1.1 w/ Franco & GB

Mahdi 2.7 w/ Uber

PAC 4.4.4 w/ Chaos

-Sent using Tapatalk

---------- Post added at 06:19 PM ---------- Previous post was at 06:17 PM ----------

-wardawgmalvicious

N5/N7 2nd Gen

MultiROM TWRP

ElixR 1.1 w/ Franco & GB

Mahdi 2.7 w/ Uber

PAC 4.4.4 w/ Chaos

-Sent using Tapatalk

---------- Post added at 06:19 PM ---------- Previous post was at 06:19 PM ----------

Sorry for multiple posts, tapatalk working weird for me.

-wardawgmalvicious

N5/N7 2nd Gen

MultiROM TWRP

ElixR 1.1 w/ Franco & GB

Mahdi 2.7 w/ Uber

PAC 4.4.4 w/ Chaos

-Sent using Tapatalk
[Nexus 5 Original Android Development] topgeardave:
Hey [MENTION=3795148]neobuddy89[/MENTION], heads up! Latest nightly has loads of kernel changes!
[Nexus 5 Original Android Development] neobuddy89:
Most of GPU changes are already merged. Few needs to be reviewed.

<Removed>
[Nexus 5 Original Android Development] rohankumar.112:
[MENTION=3795148]neobuddy89[/MENTION]

Could you spare a moment and give a brief description as to what the ULPS commits by myfluxi are all about? I can't make head or tail of what this means on account of being a total noob, however I would like to know what it would mean for us users.

Any insight would be greatly appreciated.
[Nexus 5 Original Android Development] JLO155:
[MENTION=955548]neob[/MENTION]uddy89 is their a changelog for the 6/27 kernel? Also changelog for next CM nightly seems all.kernel related http://www.cmxlog.com/11/hammerhead/
[Nexus 5 Original Android Development] topgeardave:
Next few set of kernel commits look awesome! Can't wait for neobuddy to include them :)
[Nexus 5 Original Android Development] yyz71:
Is this kernel working with SONIC OPEN KANG PROJECT ?
[Nexus 5 Original Android Development] montbazon:
No one knows...

Just try it. There is no risk.
[Nexus 5 Original Android Development] neobuddy89:
And here we go.....

New nightly build available:

Chaos-Kernel_v13.0-[06-28]-[13-21]

* Audio glitches fixed. (Particular to Chaos kernel. Now it should be equivalent to CM11, if any)

* Linux 3.4.95 update

* Scheduler (SCHED_DEADLINE) updates backported from 3.16.y

* Unified hotplug controls for Intelli Plug and MSM Hotplug.

* Sync with CM11 for GPU updates and Panel updates (AFAIK we have even more updates comparatively.)

* MSM Limiter driver updates and fixes.

* MSM Hotplug and Intelli Hotplug have new control - Max CPUs online during suspend. Default 2.

* Updated android-specific drivers from 3.16.y

* Compiled with updated toolchain 4.8.4. (non-linaro)
[Nexus 5 Original Android Development] fluther:
Just about to try this new nightly, but with test build 3 it looks like my phone won't go in to deep sleep. 300mhz is the closest it gets. Any idea?
[Nexus 5 Original Android Development] neobuddy89:
Clean install your ROM. It's working good for me.
[Nexus 5 Original Android Development] fluther:
Sorry to sound like a noob, but do you mean wipe everything except data?
[Nexus 5 Original Android Development] neobuddy89:
Nope.

1) Take data apps backup

2) Reboot recovery

3) Wipe data - Factory Reset

4) Format System

5) Flash ROM + Flash GApps

6) Flash Chaos

7) Reboot and restore apps
[Nexus 5 Original Android Development] fluther:
Okay cool thanks I'll do that today. Nothing else you can think of that might be causing this before I do so?

---------- Post added at 10:39 AM ---------- Previous post was at 10:33 AM ----------

I'll also test encryption while I'm at it.
[Nexus 5 Original Android Development] 11wallace11:
Hi,

This might be a stupid question, but couldn't find any answer to it on this thread nor on Google.

I'm using the MultiRom hack to run CM alongside stock Rom. I've been on the kernel that comes with CM for a while and wanted to try this one for a change. However,I made a mistake and accidentally flashed it over my stock installation. I thought to myself "oh well, let's just flash a stock kernel over it", but even after doing so, it refuses to boot (stuck forever on boot animation). I even tried to flash the whole stock Rom again, clearing cache and dalvik, but still no success.

Is there a way to get stock back on running without having to clear data? It must be some configuration set by this kernel that prevents it from booting even with stock kernel.

Thanks.
[Nexus 5 Original Android Development] neobuddy89:
Flash your stock ROM and then your kernel without clearing data.
[Nexus 5 Original Android Development] wardawgmalvicious:
Is there a way to manually add color profiles to the list of loadable color profiles? Like through a file manager, that's how I was trying to add them.
[Nexus 5 Original Android Development] neobuddy89:
No, there is no manual way yet.

If you have good profile with you, you may share here and if possible, we will add same to NXTweaks.

Else you can disable color profile set via NXTweaks and use Frnco's free app.
[Nexus 5 Original Android Development] wardawgmalvicious:
Oh no I don't have one personally, I run several different ROMs and I use a different kernel and kernel manager for all, and I was just hoping to keep my same list of color profiles over all my ROMs, but NXTweaks already has my favorite one anyways, The Gingerbread V4, so its not a big deal, I was just wondering if it was possible. Thank you for your reply!

-wardawgmalvicious

N5/N7 2nd Gen

ElixR 1.1 w/ Franco & GB

Mahdi 2.7 w/ UBER

PAC w/ Chaos

-Sent using Tapatalk
[Nexus 5 Original Android Development] unknvvn:
Runs very smooth. I don't know which changes did that but scrolling is now very smooth even with touch boost disabled.
[Nexus 5 Original Android Development] fluther:
Still no joy hitting deep sleep, even after a fresh install:
[Nexus 5 Original Android Development] neobuddy89:
How do you check deep sleep? With widget?

Please install CPU Spy Plus from store and share screenshot..
[Nexus 5 Original Android Development] fluther:
That widget comes with a system monitor app I have. I also use kernel tweaker:
[Nexus 5 Original Android Development] neobuddy89:
Some external app seems to hold wakelock or rogue app in background.

Uninstall your tweaker and check.

BTW which ROM?

See my screenshot.
[Nexus 5 Original Android Development] fluther:
I'm on latest cm nightly. What do you reckon is the best way to check for wakelocks? I'm quote good at keeping my apps tamed in general. And I've had kernel tweaker installed for months without trouble.

Edit: problem solved! I used WLD and autorun manager to narrow it down to Google play services, specifically the system update service. Any idea why this would be giving me trouble? I disabled the receiver and all seems fine. Besides, seeing as I'm running cm nightlies, play services shouldn't be looking for updates anyway.
[Nexus 5 Original Android Development] vsot13:
This https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector work pretty good for me. Did you update your Google play services to the latest? This what kept my phone from going to deep sleep. Roll back to the previous version and you'll be okay

From my N10
[Nexus 5 Original Android Development] fluther:
Wow snap!

Yes, that's just what happened. I'm going to keep this version, seeing as I seem to have fixed the problem.
[Nexus 5 Original Android Development] paychex:
most likely due to GPs 5.0
[Nexus 5 Original Android Development] topgeardave:
Hey [MENTION=3795148]neobuddy89[/MENTION] , faux has updated his intelliplug hotplug... Just thought I'd let you know :)
[Nexus 5 Original Android Development] nullstring2:
How do you enable diag mode with this kernel?

For instance, furnace kernel has these instructions. Is this possible with Chaos?

Diag Mode enable:

Code:

setprop sys.usb.config diag,adb

Disable:

Code:

setprop sys.usb.config mtp,adb
[Nexus 5 Original Android Development] neobuddy89:
Did you give this a spin on Chaos? We have enabled MSM Diag driver already.
[Nexus 5 Original Android Development] saramon:
Cm has a known issue with Google play services, as documented in their thread, there is either an unofficial build with it fixed, or it should be merged in the next nightly
[Nexus 5 Original Android Development] neobuddy89:
New nightly version is available:

Chaos-Kernel_v13.0-[06-30]-[01-18]

* Refactored Intelli Plug driver and merged all updates.

* Updated CPU Idle driver from 3.16.y

* Updated ARCH_POWER - Power scaling using ARM Topology. Added control to NXTweaks.

* Scheduler updates from 3.16.y

* Added "Wakeup Boost" to CPU Boost driver and a control for same to NXTweaks.

* Misc updates and fixes from 3.16.y
[Nexus 5 Original Android Development] zimlokks:
[MENTION=3795148]neobuddy89[/MENTION], kernel still doesn't boot, tried another kernel to investigate if it was custom kernels but it seams to be just Chaos, it's easy to reproduce as long as you're willing to encrypt your device. If there's anything I can do to help you solve this problem please don't hesitate to ask me for anything you may need.
[Nexus 5 Original Android Development] fluther:
+1 here. I tried a clean install of 06/28 cm and chaos nightlies, and trying to encrypt just leads to a blank screen with recurring FCs.
[Nexus 5 Original Android Development] zimlokks:
Finally I know I'm not alone!
[Nexus 5 Original Android Development] fluther:
V different to how it was when I last tried. Back then, it would get as far as the boot animation (I think) but it would just stay there. The fact that some apps are actually trying to run is an improvement, of sorts. Which other kernels work okay with cm encryption?
[Nexus 5 Original Android Development] topgeardave:
ARM topology working very nicely here, frequency scaling is much more conservative :)

Edit: Doing more load testing. In theory this nightly should get us the best battery life yet! ARM topology rules!
[Nexus 5 Original Android Development] zimlokks:
This http://xdaforums.com/google-nexus-5/orig-development/kernel-furnace-1-2-3-nexus-5-t2679826
[Nexus 5 Original Android Development] 11wallace11:
Here's what I tried so far (In this order):

1. Flashing stock kernel on top of Chaos.

2. Wiping Cache&Dalvik

3. Flashing Franco kernel + wipes

4. Flashing stock ROM again on top of the existing one + wipes.

5. Fixing permissions.

6. Swapping Stock (internal) with another ROM (Purity) and trying to flash stock ROM again.

7. Swapping back XD

6. Fresh stock installation, and restoring only /data partition on top of it.

After each wipe, Android starts the "Android is upgrading..." process, and then gets stuck on "Starting Apps".

Is is possible that flashing the kernel changes something in the /data partition that could screw things up so much?

Thanks in advance.
[Nexus 5 Original Android Development] neobuddy89:
When you flash different kernels, you may get message "Android is upgrading..."; this is perhaps due to difference in ramdisks and due to fact that you are wiping cache, it needs to rebuild cache.
[Nexus 5 Original Android Development] neobuddy89:
Will post test version for you guys with updated crypto from CAF.
[Nexus 5 Original Android Development] 11wallace11:
Hi,

Thank you for your answer.

I'm well aware of that. Android finishes rebuilding cache, and then goes the message "Android is starting apps", which stays on the screen forever. If I boot again, the device goes into a bootloop.
[Nexus 5 Original Android Development] fluther:
Thanks dude. Trouble is, testing this takes a lot of time, because the only way I can get a functional device after it is to restore the factory image. I'm a bit too busy to test at the moment, maybe [MENTION=4470859]zimlokks[/MENTION] can help?

Also, I seem to get total freezes when launching Google play music after pairing with my Bluetooth speaker. Everything works fine after a reboot. Last kmsg attached. https://www.dropbox.com/s/6ccy4xg44o42ljz/chaos_last_kmsg
[Nexus 5 Original Android Development] Ridoku:
The Kernel runs very well even in nightlies, unless I'm in games or demanding tasks the temp is below 55-60 Celsius.

The problem is when i active franco's per-app mode then the frecuency that is suppose to be doesn't set (usually the minimum freq jump to 1,5 Ghz not 300 mhz) and the temp raise to 70 celcius.
[Nexus 5 Original Android Development] zimlokks:
I can easily get cm working again flashing stock CM kernel. Are you trying to encrypt or already encrypted?

BTW I'm not sure what kernel I was using when I encrypted, I guess it was CM's
[Nexus 5 Original Android Development] fluther:
Trying to encrypt.
[Nexus 5 Original Android Development] neobuddy89:
I did some hours of painstaking debug and found that encryption is broken because of NXTweaks integration in ramdisk.

Fixing this will take time.

Perhaps, someone can tell me if these steps are working:

1. Encrypt using CM kernel

2. Install Chaos Kernel

3. Check for FC??
[Nexus 5 Original Android Development] zimlokks:
Exact same steps I took at first, still causes FC's. Btw NXTweaks does install regardless if I flash back to CM kernel after force closes.
[Nexus 5 Original Android Development] neobuddy89:
Thank you. There is a script which runs in backend at boot to apply NXTweaks settings.

This script is breaking encryption.

If anyone interested, I will build without NXTweaks integration.
[Nexus 5 Original Android Development] fluther:
Would it be possible to provide an nxtweaks apk in this case?
[Nexus 5 Original Android Development] neobuddy89:
NXTweaks apk won't work without backend script!

It will just show No Kernel Support.
[Nexus 5 Original Android Development] fluther:
Hum. I would definitely like to encrypt my device, but without nxtweaks i'd have to use another kernel manager, which may or may not have all the options that Chaos supports at a given point. Hum!
[Nexus 5 Original Android Development] JLO155:
Another round of updates to the CM kernel in next nighty's changelog.

---------- Post added at 03:17 PM ---------- Previous post was at 03:00 PM ----------

Will enabling Arch power impact performance?
[Nexus 5 Original Android Development] jordirpz:
Thanks for kernel.

Please, sweep2sleep is possibe?

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 5 Original Android Development] neobuddy89:
Sweep2Sleep is very confusing to use, so havent included control.

Coming up in next release.
[Nexus 5 Original Android Development] amphi66:
??? I don't understand, I got s2s along with s2w in NXT
[Nexus 5 Original Android Development] neobuddy89:
S2S switch is not included in NXTweaks app.

Xbox Controller support will be added to next version. Just got confirmation from @FierceMist that it works well in beta I sent him. :fingers-crossed:
[Nexus 5 Original Android Development] maxwarp79:
Is it possible to add a S2W/DT2W power key toggle like in ElementalX kernel?

"If enabled, turning the screen off with the power button disables s2w and dt2w to save battery. When you turn the screen back on, s2w and dt2w return to their previous settings. If the screen times out, s2w/dt2w are not disabled this is only if you use the power button to turn it off."
[Nexus 5 Original Android Development] neobuddy89:
I will look into code and let you know. Probability is high.
[Nexus 5 Original Android Development] sunil1982:
can anyone help me on this

i am on stock rom and falshed 5.1

changed runtime dalvik to art....phone restarted fine but i didn't got android is upgrading message...and phone booted didnt take time as i have read it take some time to boot on first time for converting checked the runtime its still showing dalvik...so how can i change it to art...also tried to reflash kernel...and wiped cache and dalvik cache
[Nexus 5 Original Android Development] californiarailroader:
Where is the ART option? I'm looking in NxTools, but I'm not seeing anything about ART. I'm not looking to get too complicated here, just improve the battery life on 4.4.2 Stock.
[Nexus 5 Original Android Development] Infinity02:
Setting > Developer options

if you haven't enabled the dev. options yet follow this.

Setting > About Phone > Tapping build number till it tells you to stop.
[Nexus 5 Original Android Development] californiarailroader:
Awesome, thanks! I had Developer Options enabled, but I didn't even think to look there, D'oh! :D lol
[Nexus 5 Original Android Development] StrifeSoldierVII:
First off, this kernel is pretty awesome so far! Thanks for the great work. I would love to see you implement into a future release the sound boosting tweak settings that allow you modify the speaker volume, system volume, etc., like I saw in Franco's kernel. Would also love to see color tweak settings into your kernel as well in a future release so we can start tweaking the screen colors to our hearts content. I know the color tweaks probably won't happen quite yet because from what I've see it's not quite fully ready yet from Franco.

Chaos kernel is stable and fast and the two things I mentioned about the sound boosting tweaks and color tweaks are probably the only things that it needs for perfection! Get those two things in there at some point and you got yourself the perfect kernel! Awesome stuff man. :good:
[Nexus 5 Original Android Development] pinoymutt:
As far as I know I believe Chaos is compatible with both Faux Gamma (color - free tool) and Faux Sound (paid), so these can be tweaked now.

(I am not 100% sure on the tweaking of the Faux sound, as the op says there are some Faux sound pieces, but wasn't sure of the overall compatibility with the Faux Sound App - would need OP to comment).
[Nexus 5 Original Android Development] StrifeSoldierVII:
Oh yeah I forgot about that. I was using a few different apps that listed these settings in other kernels but were not present in chaos kernel so I just figured it wasn't fully supported yet since I couldn't find them in any kernel apps nor the official NXTweaks app. I knew about Faux's apps so I'll go about maybe using them for a bit and see how that goes.
[Nexus 5 Original Android Development] amphi66:
I know there is no switch in NXT for s2s, but with s2w active a L-R swipe in center of screen wakes and a R-L swipe over the soft button sleeps.

Admittably I did try Bricked Kernel with these options before flashing Choas, but I can't see how it is possible the settings would have been retained and "reactivated" by NXT. ????

BTW, great kernel!
[Nexus 5 Original Android Development] neobuddy89:
Added for next version. Confirmed working.. :good:
[Nexus 5 Original Android Development] maxwarp79:
Wow! Very good! ;)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] neobuddy89:
Faux Gamma app as well as Faux Sound app are 100% compatible.

I am trying to implement controls in NXTweaks for Sound controls... yet not working with NXTweaks... need to code again.
[Nexus 5 Original Android Development] srps:
Great news, some sound controls would be fantastic. Like the kernel isn't good enough already :laugh:.

Faux is awesome, love both gamma and sound features.
[Nexus 5 Original Android Development] :
NXT will FC if launched while device is in landscape orientation. Let me know if you need a logcat, although I am sure it can easily be reproduced on your device.

Sent from Nexus 5 on Slimkat
[Nexus 5 Original Android Development] neobuddy89:
Yes, thanks reporting.

I may have lost source code to NXT...

If anyone knows Android App programming and wish to help, squash bugs, etc can send me PM.
[Nexus 5 Original Android Development] antypas:
Do you really notice any difference?

ARM topology is supposed to make a difference in heterogeneous systems, with different cores available (like the Exynos 54xx SOCs).

Snapdragons, in theory, wouldn't benefit from it.
[Nexus 5 Original Android Development] zimlokks:
I would like to test this please :3
[Nexus 5 Original Android Development] topgeardave:
Yep, download system monitor pro and frequencies scale up much more conservatively than with it off
[Nexus 5 Original Android Development] goodwin_c:
neobuddy89

Here you have logs for bluetooth issue. last_kmsg after rebooting, and dmesg from adb just after it happens (looks like all input is broken - no reaction on digitizer touches nor physical buttons)
[Nexus 5 Original Android Development] neobuddy89:
Yes, "heterogeneous" system will benefit as per description.

However, this feature is enabled on 3.16.y regardless of SOC used.
[Nexus 5 Original Android Development] AllEyezOnMe:
[MENTION=3795148]neobuddy89[/MENTION] a while back you mentioned that if u had enough time you would work on a non caf version of chaos, have you made any progress or are you busy with other things?
[Nexus 5 Original Android Development] neobuddy89:
Good news...

Encryption is fixed for next build along with NXTweaks integration.

Will be up after 12 hours due to some pending tests and limited connectivity.
[Nexus 5 Original Android Development] JulianXhokaxhiu:
What about True CD-ROM emulation?

Don't want to bother you but I'm interested to know if you begun the work for this awesome feature :)
[Nexus 5 Original Android Development] fluther:
Great, thanks!

PS is anyone else getting occasional SystemUI crashes, with or without the torch turning on? Keeps crashing until the screen is turned off with the power button. Behaves fine after that.

PPS actually, now that I think about it, it's probably GravityBox. I know you're not supposed to use it with CM, but I can't find any other way of getting 'slide-to-pin', with both the unlock ring *and* a pin code. Did I hear right that CM used to have this, in 9 or 10, but doesn't any more?
[Nexus 5 Original Android Development] gravedigger76:
Neobudy

I was away cm for a bit and just came back with fresh nightly of both you're kernel and CM.

I found that car charging from car charger (low voltage charger) is still not working. I reported it about a month ago before I left. It's still not working. What can I provide you to see if you can fix it?

Thanks.
[Nexus 5 Original Android Development] zimlokks:
I believe logs that are provided within the NXTweaks app
[Nexus 5 Original Android Development] gravedigger76:
Those logs food not provide any info to buddy list time
[Nexus 5 Original Android Development] topgeardave:
Can you try setting fastcharge to 2000mah or have you already tried that?
[Nexus 5 Original Android Development] gravedigger76:
Aha it was a good idea just tried it but still no go. Still not charging.
[Nexus 5 Original Android Development] topgeardave:
Another question: it works on other kernels without modifications?