yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] montbazon:
I use root apps that synapse, ex file explorer and flashify.

I don't use any mods or thema. Fully stock from CM13.

It happens 4~5 times per a day. Whatever I do. But mostly when I was surfing web.

I tried elementalX awhile. And there was no freezing.

my device was replaced at last November. So I don't think it's defect.

Thanks
[Nexus 6  Original Android Development] reas0n:
Hello mate again! [MENTION=3795148]neobuddy89[/MENTION]

Great kernel as always, using it on my fresh N6 /w Chroma. The only strange thing I see are some problems with audio. Sometimes volume on level max-1 is louder than max, also from time to time the notifications are very quiet even if I set them to be loud.

EDIT: alright, found the fix here http://xdaforums.com/nexus-6/general/guide-tentative-fix-messenger-whatsapp-t3272992
[Nexus 6  Original Android Development] Macusercom:
Same for me, but this time bug keeps freaking me out. Every time I boot WhatsApp, TitaniumBackup's scheduled actions and Tasker turns crazy and asks me to do a backup, fix my time and runs time based tasks.

I hope this will be fixed soon. No issues with ElementalX but this kernel has massive bluesleep and hsic_host wakelocks I cannot block except with Hydra :S

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] neobuddy89:
I believe you don't set "Automatic time from network"

Anyways, I know reason of this issue. Will be resolved in build tonight.
[Nexus 6  Original Android Development] madsurgeon:
In all fairness, the whatsapp issue occurs only when I've restored it from tibu, doesn't happen when I've clean installed from play store and restored chats from within the app.

Anyways, looking forward to tonight's build:)
[Nexus 6  Original Android Development] Macusercom:
I do have this enabled but it takes about a minute until it sets the time for me. Until then all apps use the wrong time and start scheduled actions.

Well, I'm looking forward to the next build. If this has been resolved, I can finally switch to Hydra again [emoji1]

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] neobuddy89:
Ok, here we go with 3 builds!! Read! Read!

************* MARSHMALLOW ************

Hydra_v4.1 (Stable Release - Marshmallow)

* Fix time reset on boot issue.

* Stable Release.

DL: https://www.androidfilehost.com/?fid=24352994023709636

Hydra_v5.0-[01-10]-[03-08] (New nightly build - Marshmallow)

* New nightly series. This build needs to be tested thoroughly. Reviews & logs welcome.

* Built with self-compiled Linaro 5.3 toolchain.

* Massive SCHED updates - boosts overall performance. SCHED is now ahead of that of younger brother Nexus 6P.

* Updated interactive and impulse governor with CAF updates.

* Enabled State Notifier by default.

* Massive CAF sync - Fixes and Updates (drivers, ARM, mm, and more - 280+ commits)

* Cherry-picks from 4.4 mainstream for improved performance and stability.

* Cherry-picks from Motorola kernel 6.0 release.

* Updated KSM

DL: https://www.androidfilehost.com/?fid=24352994023709658

************* LOLLIPOP ************

This is blind build for LOLLIPOP only. Not tested.

Hydra_v3.2-[01-10]-[03-45] (New build - Lollipop)

* Sync eligible updates upto Hydra_v4.1 stable release.

DL: https://www.androidfilehost.com/?fid=24352994023709674

Phew!! I can sleep peacefully now. If you reply, please let me know which build you're on.

Cheers! :highfive:
[Nexus 6  Original Android Development] 875295391:
Dear, DEV.Can you add blue-active CPU gov ang blu-g cpuhotplug？Thanks.
[Nexus 6  Original Android Development] an21281:
Have been running the 5.0 build since release and it's great! Only thing I noticed is that while charging the phone when powered off the screen stays on showing battery charging with no animation. Not a big deal, just thought I would mention it. Thanks for the excellent kernel!
[Nexus 6  Original Android Development] montbazon:
After flashing 5.0 nightly, freezing seems to be fixed... It didn't happened today. Weird..
[Nexus 6  Original Android Development] Macusercom:
I'm using CM13 01/10 with Hydra 4.1 and after one day no issues so far. I'm getting great battery life too :D

Still I have two questions:

Is there a way of changing the CPU throttling temperature in Synapse or could this be added, respectively?

And could you add a bluesleep to the wake up sources (maybe with a divisor)? :)

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] Tylog:
5.0 Build , use it the whole day now. No issues, works fantastic.
[Nexus 6  Original Android Development] neobuddy89:
Will check this soon. Thanks.

That's great news. Please keep us updated.

Isn't throttling temperature controlled by userspace? thermal.conf something?

And, thermal is already tweaked to disallow unnecessary mitigation.

More wakeup sources tunabled added in below build.

@ All:

Thanks for trying out last build. Please update to latest nightly build:

Hydra_v5.0-[01-12]-[05-46]

* More bug fixes from CAF and mainstream.

* Optimizations from mainstream and ChromeOS.

* Added new tunable wakeup sources (bluesleep and wlan). You can disable from Synapse > Misc.

* Newer WiFi driver with lots of fixes from Nexus 6P and Google. It may be a placebo but I have observed reduced power consumption with wifi. Please test.

DL: https://www.androidfilehost.com/?fid=24369303960683028

Cheers! :cool:
[Nexus 6  Original Android Development] NOSTALGIA:
what rom ? i may try your setup
[Nexus 6  Original Android Development] kiekan:
Been running this all morning. Using stock rom. Running extremely smooth. All good so far.
[Nexus 6  Original Android Development] Tylog:
Oh. I Switch often. Atm Chroma
[Nexus 6  Original Android Development] madsurgeon:
Latest test build is extremely smooth, scrolling is much more slicker now. Thank you for sharing your work!!
[Nexus 6  Original Android Development] trim81:
Currently using latest nightly, and enabled two cpu online at the same time.

Anyone try it with four cores all online at the same time, will it suffer battery alot?
[Nexus 6  Original Android Development] reas0n:
[MENTION=3795148]neobuddy89[/MENTION] The latest nightly is great. One thing I found is that YouTube app is lagging, i mean the video, I think it was also on stable version
[Nexus 6  Original Android Development] farahzadfarahzad:
I'm using synapse to change color profile but every time i enter the numbers noting happen and it will back to stock again ,BTW you have done a great job on the last nightly build cheers
[Nexus 6  Original Android Development] neobuddy89:
It does work for me. You need to have number above some threshold...

Anyways, will try to convert this to bars instead of number for ease.

Meanwhile, you can try this app:

http://downloads.codefi.re/savoca/kcal/re.codefi.savoca.kcal-v1.2.apk
[Nexus 6  Original Android Development] neobuddy89:
Works ok for me. No lags.

I am on latest CM nightly.

Any specific video you referring?
[Nexus 6  Original Android Development] madsurgeon:
I'm not sure about the battery performance on WiFi, but i got 5h+ sot with 18%left only using LTE, used a lot of maps today, the only settings i changed were these wake lock toggles (attached screenshot), am i doing the right thing here with these toggles?
[Nexus 6  Original Android Development] reas0n:
I'm on latest Chrome (AOSP+some features). It's appearing on random videos. Maybe try on highest resolution? Or I can just logcat it for You if You want to.
[Nexus 6  Original Android Development] neobuddy89:
Sure. I can help if kernel issue. :good:
[Nexus 6  Original Android Development] eddloschi:
[MENTION=3795148]neobuddy89[/MENTION] I'm using the latest nightly and I'm loving it so far.

Only issue that I found is that after a reboot the WiFi didn't connect automatically. In the WiFi list there were no networks listed, then when I tried disabling the WiFi, the phone RR.

When it booted from the RR everything was normal again.

Logs attached.

Thanks for the great work on this kernel
[Nexus 6  Original Android Development] big_bum:
Using 12th nightly on CM13.

Panic while sleeping:

13>[ 2786.716507] init: Service 'su_daemon' (pid 16821) exited with status 0
<13>[ 2786.716609] init: Service 'su_daemon' (pid 16821) killing any children in process group
<13>[ 2786.720235] init: Untracked pid 16823 exited with status 1
<6>[ 2790.141501] PM: suspend entry 2016-01-14 22:52:50.992654019 UTC
<6>[ 2790.141559] PM: Syncing filesystems ...
<1>[ 2790.142620] Unable to handle kernel NULL pointer dereference at virtual address 000000a0
<1>[ 2790.142673] pgd = c3b7c000
<1>[ 2790.142707] [000000a0] *pgd=00000000
<0>[ 2790.142768] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
<4>[ 2790.142827] CPU: 0 PID: 925 Comm: system_server Tainted: G W 3.10.94Hydra-Kernel_v5.0 #2
<4>[ 2790.142868] task: c35ac200 ti: c3672000 task.ti: c3672000
<4>[ 2790.142934] PC is at iterate_supers+0x84/0x140
<4>[ 2790.142967] LR is at 0x1
<4>[ 2790.143009] pc : [<c024e9fc>] lr : [<00000001>] psr: 000f0013
<4>[ 2790.143009] sp : c3673ee8 ip : 00000002 fp : aeedd7cb
<4>[ 2790.143049] r10: f0010000 r9 : ee250440 r8 : 00000000
<4>[ 2790.143082] r7 : c02799bc r6 : c11453dc r5 : ee250400 r4 : 00000000
<4>[ 2790.143115] r3 : 3dd53dd5 r2 : 3dd63dd5 r1 : 00000000 r0 : 00003dd5
<4>[ 2790.143156] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 2790.143192] Control: 10c5787d Table: 03b7c06a DAC: 00000015
<0>[ 2790.143228] Process system_server (pid: 925, stack limit = 0xc3672238)
<0>[ 2790.143263] Stack: (0xc3673ee8 to 0xc3674000)
<0>[ 2790.143308] 3ee0: 00000000 00000003 c0c29f0c c3721058 c3673f80 ee2bdb40
<0>[ 2790.143351] 3f00: ee2bda40 c0279c90 00000000 00000001 c12ff6ac c019ab50 c3e68000 00000003
<0>[ 2790.143394] 3f20: c0c29f0c c0199a48 00000003 c03bbe44 c0c29f0c c02ae35c c34de000 00000003
<0>[ 2790.143437] 3f40: c3672018 c3672000 00000000 c02ae278 c3673f80 c024c7f0 00000000 00000000
<0>[ 2790.143479] 3f60: c34de000 aeedd58d 00000000 00000000 00000001 00000003 00000000 c024c9f4
<0>[ 2790.143522] 3f80: 00000000 00000000 c3672000 000000e0 9eaa6890 9eaa68a4 00000004 c01068c4
<0>[ 2790.143564] 3fa0: c3672000 c0106740 000000e0 9eaa6890 0000002c aeedd58d 00000003 00000001
<0>[ 2790.143608] 3fc0: 000000e0 9eaa6890 9eaa68a4 00000004 000000e4 aeedd760 aeedff68 aeedd7cb
<0>[ 2790.143652] 3fe0: aeedd508 9eaa6870 aeedbb33 b6c8add0 000f0010 0000002c 5551203a 65535f50
<4>[ 2790.143751] [<c024e9fc>] (iterate_supers) from [<c0279c90>] (sys_sync+0x38/0xa8)
<4>[ 2790.143838] [<c0279c90>] (sys_sync) from [<c019ab50>] (pm_suspend+0x16c/0x280)
<4>[ 2790.143902] [<c019ab50>] (pm_suspend) from [<c0199a48>] (state_store+0x74/0x8c)
<4>[ 2790.143964] [<c0199a48>] (state_store) from [<c02ae35c>] (sysfs_write_file+0xe4/0x1a8)
<4>[ 2790.144024] [<c02ae35c>] (sysfs_write_file) from [<c024c7f0>] (vfs_write+0xc0/0x1f0)
<4>[ 2790.144076] [<c024c7f0>] (vfs_write) from [<c024c9f4>] (SyS_write+0x48/0x8c)
<4>[ 2790.144146] [<c024c9f4>] (SyS_write) from [<c0106740>] (ret_fast_syscall+0x0/0x38)
<0>[ 2790.144199] Code: e1a05004 e5944000 e1540006 0a00001b (e59430a0)
<4>[ 2790.144247] ---[ end trace 7d57ae133d1ef826 ]---
<0>[ 2790.179156] Kernel panic
[Nexus 6  Original Android Development] neobuddy89:
Can you pastebin full log?

I might have slight idea to provide workaround.

Thanks.
[Nexus 6  Original Android Development] neobuddy89:
New nightly build is up! Please update...

Hydra_v5.0-[01-15]-[15-45]

* Backported fixes from 3.12 and CAF for robust net and bluetooth connect.

* Improved suspend latency.

* USB driver updates.

DL: https://www.androidfilehost.com/?fid=24369303960685391

Cheers!
[Nexus 6  Original Android Development] xtcdk:
Titanium backup works again after this update . ??

Shamu/Hammerhead/Flounder Dkwhq
[Nexus 6  Original Android Development] reas0n:
[MENTION=3795148]neobuddy89[/MENTION] god some random reboots on last nightly (not from today, 12/01). Here're the logs.
[Nexus 6  Original Android Development] pantmunu:
Anyone having problems with deep sleep.
[Nexus 6  Original Android Development] big_bum:
No, not anymore. The phone restarted while I was in a call and wrote over that log.

I can give you a log from the last restart but it's garbage.

I'll test with the new kernel.
[Nexus 6  Original Android Development] KonoeKyon:
Had a screen freeze then reboot on the latest nightly after turning off airplane mode. Attached a zip with my pstore logs. Other than, running great so far. :good:
[Nexus 6  Original Android Development] xtcdk:
View attachment 3612282

Shamu/Hammerhead/Flounder Dkwhq
[Nexus 6  Original Android Development] kiekan:
I was seeing the same type of stuff on the latest build. I'm using the stock rom. The phone seemed to have trouble coming out of deep sleep and suffered heavy lag. Had several freezes and the reboots when coming out of deep sleep.

I reverted back to the 1-12 build of the kernel and everything seems to be working nicely again.
[Nexus 6  Original Android Development] neobuddy89:
Thanks for logs.

2 logs submitted so far.

1st log with gpu mem allocation error -

Removed Nexus 5 hacks for memory allocation and aligned it with CAF/N6.

2nd log with wifi error -

Applied some fixes. Let's test it one more time before we drop newer wifi driver entirely.

Here is newer build:

Hydra_v5.0-[01-17]-[01-10]

* Address errors in submitted logs.

* Improved power efficiency.

* Fixes and optimizations from mainstream.

DL: https://www.androidfilehost.com/?fid=24369303960686519

Cheers!:good:

EDIT: Will test on AOSP based ROM to check if any freeze.
[Nexus 6  Original Android Development] Mr_S:
Flashed latest on p.n... Will start testing! Thanks
[Nexus 6  Original Android Development] madsurgeon:
Have only been using on aosp roms, even one with full clang build and I've never had a single freeze or nor RR so far on any Hydra build. I clean flash every time, even for a kernel update.
[Nexus 6  Original Android Development] eddloschi:
Flashed it on stock mmb29s with systemless root 2.66

RR short after booting two times. Had to go back to stock kernel
[Nexus 6  Original Android Development] neobuddy89:
Those having issues, please use below build:

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

This test build has debug mode on which should help to track issue to core.

Thanks for the log.
[Nexus 6  Original Android Development] agreenbhm:
Getting ready to flash this kernel for the first time in an attempt to overcome the N6 M wifi problems I along with others are having. I've heard good things about Hydra, so TIA for all the hard work. I'll flash the debug kernel to do my part in troubleshooting.
[Nexus 6  Original Android Development] neobuddy89:
Thanks for the support!

Tested with moderate usage on AOSP ROM, good so far.

Working with Synapse updates:

Cleaned up gamma controls - looks much better now.

TODO: Add cron jobs, HMP sched controls, anything else?
[Nexus 6  Original Android Development] neobuddy89:
New nightly build is up! Please update!

Hydra_v5.0-[01-18]-[20-03]

* Disabled net skb cache. This should prevent OOM reboot issue due to memory pressure of network traffic.

* Optimized for gcc.

* Revamped interface for Gamma controls in Synapse.

* Added new CRON tab in Synapse. Schedule jobs for auto-maintenance.

* Added new control for optimization of IPv6 networks. Synapse > Network.

* Reduced default vfs_cache_pressure to 80 for better performance.

* Reverted couple device memory allocation commits to test stability.

Smooth so far after hours of testing.

DL: https://www.androidfilehost.com/?fid=24369303960687880

Cheers! :cool:
[Nexus 6  Original Android Development] Droidphilev:
Thx Neo! The kernel can still be used safely with default settings?
[Nexus 6  Original Android Development] neobuddy89:
Yes, ofcourse. :good:
[Nexus 6  Original Android Development] be18:
Hello! I tried your kernel and i check that it uses offline/online cores, i keep reading that it is worse for battery... Just wanted to know what you say about that neobuddy?!

Thks
[Nexus 6  Original Android Development] neobuddy89:
You can switch to stock using Synapse. Synapse > Hotplug.

I don't see any downside of hotplugging.

If screen is online for longer duration and there is no system load, there is no point keeping all cores online.
[Nexus 6  Original Android Development] be18:
Ok, tks for the answer.

Gona try a bit more.

Can you tell me what best settings for battery life?

Tks
[Nexus 6  Original Android Development] neobuddy89:
@ all:

Wifi error seems to be sorted out... Logs do not show any mishap related to wifi so far.

Some GPU issue in rare instance remains, we will iron that out in upcoming builds.

Those who flash seldom, please stick to stable 4.1 release.
[Nexus 6  Original Android Development] eddloschi:
Hey [MENTION=3795148]neobuddy89[/MENTION], sorry I couldn't test yesterday's debug kernel.

Flashed today's build one and a half hours ago, everything is stable and battery life is great. The only problem I faced is gamma settings don't work at all, I can set the values but the display never changes. Neither in synapse or kernel adiutor. I've attached some logs saved after trying to play with the gamma values
[Nexus 6  Original Android Development] neobuddy89:
Working for me.

Have you enabled "Enable KCAL Tuning" check in Synapse?
[Nexus 6  Original Android Development] eddloschi:
Oops :silly: must be it!
[Nexus 6  Original Android Development] madsurgeon:
Hello, Thanks once again for latest update, I've always been using Hydra with the settings it comes with, the only thing i change is gamma, and I've gotten excellent battery life, regarding the new settings, I've got a couple of questions(3 actually :)):

1. The software crc control is enabled by default, although synapse notes that it's best to disable it, what are your thoughts?

2. Does enabling KSM improve battery performance? Would you recommend it?

3. Under wakeup sources and gentle fair sleepers: would you recommend leaving them all ticked?

Thanks in advance for your valuable insight. The latest kernel is running very smooth indeed, gamma works well and so does WiFi, I've never had any wifi issues so to speak on any Hydra build.
[Nexus 6  Original Android Development] neobuddy89:
1. CRC prevents data loss in case of sudden reboot or any mishap. You can disable it if you want. It's not best to disable but there is little gain in performance after disabling it.

2. KSM will not improve battery as CPU consumption increases slightly to merge memory pages. It's really not needed unless you have too many apps running parallel without greenify.

3. Yes, leave them ticked. These are for those who use battery stats app and want to remove every single wakelock. Removing wakelock might disrupt functioning of device like bluetooth transfer as your device might sleep while transferring file and such other scenarios.

Default settings are safe, balanced and recommended settings.
[Nexus 6  Original Android Development] xtcdk:
No charging percentage screen when phone is powerd off on latest build

Shamu/Hammerhead/Flounder Dkwhq
[Nexus 6  Original Android Development] neobuddy89:
Yes, this was reported earlier.

Will look into this later.

Not a show stopper.
[Nexus 6  Original Android Development] xtcdk:
My mistake , and yes . diffently not a show stopper ?

Shamu/Hammerhead/Flounder Dkwhq
[Nexus 6  Original Android Development] kiekan:
[MENTION=3795148]neobuddy89[/MENTION] I just switched over to your 5.0 kernel and have been really enjoying it since. Great performance! I was just wondering if this is using the latest kcal settings?

Seems a lot of people are sticking to wrinklefree's configuration as shown here. Is that what your kernel is using?
[Nexus 6  Original Android Development] neobuddy89:
In last build, I disabled kcal enabling by default. (you can still enable via Synapse)

Thanks for the link, will consider kcal enabling and color calibration on by default in next build.

Does anyone else have any views regard color calab?

EDIT: Same levels are applied on boot but kcal is disabled.... so no effect.

I had once got review, colors looked washed out.. so disabled by default.
[Nexus 6  Original Android Development] madsurgeon:
Kcal can only be enabled using synapse? Can't find that option in the kernel manager that i use.
[Nexus 6  Original Android Development] neobuddy89:
New nightly build is up! Please update:

Hydra_v5.0-[01-20]-[02-19]

* Updates and fixes for GPU.

* Misc library updates from mainstream.

* Fix few warnings on boot.

DL: https://www.androidfilehost.com/?fid=24369303960688830

Cheers!! :cool:
[Nexus 6  Original Android Development] carguy303:
This kernel is the most advanced kernel I've seen for the nexus 6 and that is awesome. I just wished that it had the zen decision. I'm not the biggest fan of hot plugging but I would still like to restrict to 1 core on sleep and other low battery parameters. Any chance of it being added in?
[Nexus 6  Original Android Development] :
What scripts do you use in your cron jobs for maintenance, if any?

I'm assuming the only ones really would be to zipalign apps, clear caches, and vacuum databases.

Though, I didn't think those really did that much anymore (at least not enough to have run on a schedule).

Thanks.
[Nexus 6  Original Android Development] neobuddy89:
Have you checked Synapse > Hotplug?

This functionality (switching to single core on suspend) is available and on by default.

You can see scripts in these commit:

https://github.com/neobuddy89/shamu_ramdisk/commit/8cce127bab15f8b4e9893da28e1e6f6dc493a448
[Nexus 6  Original Android Development] :
Guess I worded my question poorly. I meant which scripts do you actually use? I was under the impression that a lot of the tweak scripts out there like that have become outdated/redundant.

Ie: android started running fstrim automatically I think back around kitkat. Optimizing databases is useful, but doesn't really need to be run all that often. Releasing ram via script seems a bit redundant on a device with 3gb of ram (with properly configured lmk settings), same with the drop cache script (I doubt it will ever see the 1.5gb of cache in real that it needs to trigger).

Just curious which ones you personally use, if any. I'd assume the database and file cache ones, maybe?

Also, unless I'm reading it wrong... the ram release script looks like it will kill the wearable service every time it runs. Might be worth noting for users if they start using it then have issues with their wearables disconnecting especially with wearable becoming more and more common.
[Nexus 6  Original Android Development] neobuddy89:
Agreed, these scripts are from kitkat days.

Personally, I use only drop cache script which is useful when you lower vfs_cache_pressure.

I am not sure whether wearable service will be killed by the script - needs to be tested; the RAM release script is provided and scheduled for following reasons:

1. Most user don't swipe out apps from recents for hours/days and memory allocated is wasted unless user relaunches the app (which I believe will be 1 out 5 apps opened)

2. On device as fast as N6, launching app again after clearing ram cache doesn't degrade performance.

3. Memory management is really improved with adaptive LMK, motorola's LMK mods... still there are users who use apps that provide functionality like "clean app after screen close" This script is alternative to such apps.

4. LMK will auto kick apps when OOM happens. This is very common with device with too many apps; I see that happen in many logs submitted so far. Instead of letting LMK kick, we can use script for auto-maintenance.

In case you have idea how scripts can be enhanced/improved or what new ones can be added... I am open to it.
[Nexus 6  Original Android Development] koboltzz:
I am pretty sure the recents are only screenshots from the moment you switch to homescreen or to an other app. I have ca. 400 recents entry (never clean that, this is not an iPhone) and I have always at least 1 gb free RAM. So, the autmatic closing of apps in background is still active independet from your recents list.

Edit: On Stock
[Nexus 6  Original Android Development] neobuddy89:
Sure? Well, swiping them out does release memory for me atleast.