yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] urnamese3:
Hello neobuddy I just flashed the latest build of your kernel and I wanted to disable the msic wakelock via the synapse app but upon opening the app I get the Json configuration parsing failure error.. The file res/synapse/config.json is just empty (0 Byte) how can I troubleshoot this?

Thanks in advance
[Nexus 6  Original Android Development] neobuddy89:
Delete config.json

Goto Terminal

su

uci --OR-- ./sbin/post-init.sh

Tell me what you see. Can be issue with native busybox of ROM.
[Nexus 6  Original Android Development] urnamese3:
http://m.imgur.com/iyhaOZU,DF8kZAr,YyjuMm9

Seems to be working now thank you!

BTW for further reference is there any command to save the terminal session to a text file?
[Nexus 6  Original Android Development] neobuddy89:
It is already coded to run on boot. Maybe it was bad luck this boot? Next boot onwards it should work then.

If issue persist, please let me know your ROM name - I will need to download ROM and check.
[Nexus 6  Original Android Development] xtcdk:
Any else who cant disable dt2w

Shamu/Hammerhead/Flounder Dkwhq www.jsand.dk
[Nexus 6  Original Android Development] unt0uchable:
So I'm running stock rooted/unlocked Verizon LMY47E. Do I still need to flash a rom before installing the zip? I don't have a rom.zip for my stock image but I have a nandroid backup. Any guidance is appreciated! Just looking for a new kernel to try out...

Thanks!
[Nexus 6  Original Android Development] an21281:
Yes, cant disable dt2w either. Was running benzo with hydra, now benzo with normal Kernal and still can't disable so may be the rom. Will clean flash later and see if I can disable it.
[Nexus 6  Original Android Development] urnamese3:
Now it says Synapse Boot completed at every reboot, everything is working flawlessly! I'm enjoying this kernel :D
[Nexus 6  Original Android Development] unt0uchable:
Can anyone help me out? I'd really like to try this out, just don't want to jack anything up...
[Nexus 6  Original Android Development] demlv:
No need to flash another rom. Flashing this kernel will simply replace the stock kernel.
[Nexus 6  Original Android Development] unt0uchable:
And what if I'm running a custom kernel now? I'm currently running Vindicator Kernel and I've also ran Lean Kernel before this. Just making sure before I flash and screw stuff up, ha.
[Nexus 6  Original Android Development] demlv:
That depends on the kernel in question. The first post of THIS thread says to reflash your rom before flashing this kennel if you have been running a custom kernel.

EDIT: Here is an easier way -- so you don't have flash an entire rom or an entire nandroid backup. I just located this .zip of the stock kernel without forced encryption.

http://www.mediafire.com/download/p2563ss3x8h6b7a/shamu-stock-kernel-noforce_encrypt-lmy47.zip

Download the stock kernel. Make a new nandroid (just in case). Then flash the stock kernel in TWRP. Reboot. Reboot to recovery again, and finally flash Hydra. The reboot in the middle while on the stock kernel may be unnecessary, but it shouldn't cause any trouble. Good luck!
[Nexus 6  Original Android Development] neobuddy89:
The easier way is wrong way. The whole point of requesting to reflash ROM is you are on other custom kernel is remove system partition modification, if any, done by custom kernel.

If ROM already comes with a custom kernel, then no need of reflashing it again... doesn't make sense.

New build just few minutes away.
[Nexus 6  Original Android Development] demlv:
Ok, with your explanation I think i get it. I had never known of a kernel that altered anything beyond the ramdisk. Out of curiosity, what types of changes are commonly made to the system partition by custom kernels?
[Nexus 6  Original Android Development] unt0uchable:
So I guess my question is... The ROM I'm running is 100% stock from Verizon... Yes I've flashed a few custom kernels. Where can I find the stock img to flash? I'm trying to stick with the stock img because I'd rather not deal with bugs in custom rooms at this point... If you can point me in the right direction that'd be great.
[Nexus 6  Original Android Development] DebianDog:
I am using an app from the play store but it is free here on XDA. I have yet to be able to have it set using the kernel just have to turn it off every reboot https://play.google.com/store/apps/details?id=com.codechron.n6doubletapunlock

Sent from my Benzo'd Google N6 on VZ
[Nexus 6  Original Android Development] neobuddy89:
If you wish to reflash stock ROM, maybe you can get help here:

http://xdaforums.com/nexus-6/general/stock-verizon-nexus-6-firmware-image-t3053052

[MENTION=535343]all[/MENTION]:

New nightly build!!

Hydra_v2.0-[04-16]-[13-33]

* Linux 3.10.74 update

* Updated Motorola specific kernel drivers.

* Fixed thermal system crash after using MultiROM app

* Enabled FB notifiers by default to reduce battery consumption with Ambient mode

* Improved CPU Boost driver and Impulse governor to reduce battery consumption when screen off

(like for GPS tracking apps and music player running in background)

* Misc CAF updates

DL: https://www.androidfilehost.com/?fid=95916177934555854
[Nexus 6  Original Android Development] niko2931:
Hmm, I've only tried Franco kernel on Chroma rom, it might be time to try this kernel out ;) :good:
[Nexus 6  Original Android Development] creepinm3:
I prefer this kernel with Chroma.
[Nexus 6  Original Android Development] niko2931:
And i had to flash this kernel! Lets see how it goes :good::good:
[Nexus 6  Original Android Development] neobuddy89:
Before someone reports.. Some image rendering apps are freezing on certain ROMs. This will be fixed in upcoming version in next hour perhaps.
[Nexus 6  Original Android Development] niko2931:
Awesome!
[Nexus 6  Original Android Development] urnamese3:
[MENTION=3795148]neobuddy89[/MENTION] every now and then I get Json configuration parsing failure error message for synapse and I've to execute the post init command in order to make it work again and I've to reapply the settings

I'm on cm 12.1 Temasek's build V 9.8
[Nexus 6  Original Android Development] neobuddy89:
I am on Apr 14 build of Temasek ROM. No issues here.

Are you installing any other root app like franco's servicely or greenify or kernel tweaker apps or external busybox app?

Please uninstall any kernel tweaker app and whitelist this app from blocker apps.

Also, do you see this error on boot only or opening it randomly?

[MENTION=535343]all[/MENTION], please update to below nightly build!

Hydra_v2.0-[04-17]-[19-56]

* Fix freezing issue due to ARM64 update in last build.

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

Cheers!:highfive:
[Nexus 6  Original Android Development] niko2931:
Under cpu volt it says:

Qcom,speed2-pvs12-bin-v1

Is my pvs bin then 12? :good:
[Nexus 6  Original Android Development] urnamese3:
I have greenify installed but it doesn't do anything to synapse. Busybox version is the official one from play store.

Sometimes I see synapse boot canceled at the boot, some other times when I dont unlock the screen right when it boots up, I open the synapse app in a second moment and there I see the error..
[Nexus 6  Original Android Development] crzycrkr:
This is the first kernel on this phone that doesn't cause major screen tearing. Thank you!
[Nexus 6  Original Android Development] michmeister:
What the heck is screen tearing?
[Nexus 6  Original Android Development] crzycrkr:
Vertical line in the middle of the screen. One side usually freezes or goes blank. From what I've read it seems to be a display driver issue. Shows up more frequently when you change your dpi
[Nexus 6  Original Android Development] shino777:
It would be so nice if someone were so kind of make this kernel for nexus 4 :(
[Nexus 6  Original Android Development] wrongway213:
If you mean ahybrid kernel for CM and AOSP, there is one for the Mako. Normally I'd PM with the link the to thread but I can't PM a Junior Member, hope you don't mind me linking him neo http://xdaforums.com/nexus-4/orig-development/kernel-ak-t2473454
[Nexus 6  Original Android Development] neobuddy89:
Yes.

I will test and lookout for the error.

Also, I will recommend you to uninstall busybox from playstore and then reinstall ROM + latest Hydra kernel.
[Nexus 6  Original Android Development] SeVIIn:
I'm back to playing around with different kernels again, do you have any recommended settings that you change or is it best at stock out of the box? So, far everything is running quite smooth :good:
[Nexus 6  Original Android Development] neobuddy89:
I, personally, don't change anything unless to test something.

All default settings are made to give balanced performance and battery life.
[Nexus 6  Original Android Development] The5Venomz:
I'm on Temasek as well... Love the Rom/kernel combo, is there anyway to enable Double Tap to wake?
[Nexus 6  Original Android Development] niko2931:
Awesome work on this neobuddy! :good:
[Nexus 6  Original Android Development] wrongway213:
In the kernel via a kernel tweaker.. In synapse its under the "wake" tab
[Nexus 6  Original Android Development] urnamese3:
I did a clean flash today and everything is fine.. I have some logs from last night ( had 2 random reboot) if you want to have a look at them
[Nexus 6  Original Android Development] urnamese3:
I personally uv at -50 mv
[Nexus 6  Original Android Development] neobuddy89:
Enable wakeup source "msm_hsic_host" and check if random reboot persist.
[Nexus 6  Original Android Development] x0nar:
Just an Offtopic Question, From which anime is the Display Picture of your profile. Actually I'm up for some animes though :)
[Nexus 6  Original Android Development] wrongway213:
I'm not having issues and I'd very much like to keep it that way, so I am curious as I have always left this disabled and have no reboot issues. Are you making this recommendation to him in particular based specifically on his logs, or is there any reason to believe disabling msm_hsic_host wake source could cause issues with stability/random reboots/any other issue? I know sometimes different devices/ROMs/configs need different things to make them work, so I just wanted to be clear on if there is a reason we should all enable this wake source or if it's something specific to that user.
[Nexus 6  Original Android Development] urnamese3:
I think he told me to do that because of my logs.. I realized that some system files for f2fs were missing so I think it was my fault, I don't know if those missing files were the problem but I also remember I didn't clean flash when I upgraded from 9.6 to 9.8.

I'm currently on V10 and everything works perfectly, synapse starts well at every reboot so now I'm 99 % sure it was a problem on my end. [MENTION=3795148]neobuddy89[/MENTION] http://imgur.com/jT3Uzjb

I just got that.. After executing the post init script it disappeared
[Nexus 6  Original Android Development] neobuddy89:
I was wrong abt wakelocks. You will need to share proper logs next time.

dmesg and logcat dont help. If there is a random reboot, ramoops file is created under /sys/fs/pstore (not annonate-ramoops file)

Send that file to help determine your random reboot issue. I would not suggest you to UV. It only causes issues.

A good read on UV: http://xdaforums.com/showpost.php?p=34153152&postcount=15576

About screenshot you posted, it's synapse issue. Close app by swiping out from recents and reopen to try again.
[Nexus 6  Original Android Development] neobuddy89:
The DP is of Sasuke from Naruto Shippuden anime. The signature is of Ichigo from Bleach anime.
[Nexus 6  Original Android Development] pantmunu:
A sasuke fan . :) wohooo
[Nexus 6  Original Android Development] nhpctech:
Hydra Kernel

Absolutely love this kernel! Thank you! Was using Franco, then switched ROMs and kept boot looping. So based on others recommendations I flashed this one and wouldn't you know, it booted fine. Smooth as butter as well! Pretty good balance of performance and battery life.
[Nexus 6  Original Android Development] 875295391:
no nightly build.Stable one will be released？
[Nexus 6  Original Android Development] linus207:
Hello. Does this project have pushbullet channel/tag?
[Nexus 6  Original Android Development] xtcdk:
Has project been discontinued /

Shamu/Hammerhead/Flounder Dkwhq
[Nexus 6  Original Android Development] Xileforce:
He is still making commits so I highly doubt it :)
[Nexus 6  Original Android Development] neobuddy89:
New nightly build is up.

Hydra_v1.0-[03-01]-[01-54]

* Linux 3.10.70 update

* F2FS update

* Added Fast charge control to Synapse

* Thermal driver update

* ARM optimizations

* Added power-efficient workqueues (enabled by default; controllable via Synapse)

* Improved scheduler routines

* Massive driver updates (video, panel, usb, GPU, memory allocator)

Tested with DU ROM and CM12.

If Synapse shows "No UCI support", reboot device OR

Swipe out synapse from Recents and type following in Terminal Emulator

su
./sbin/uci

Happy weekend!! :)
[Nexus 6  Original Android Development] Circaflex:
Thanks a lot for this update, have a great weekend yourself.
[Nexus 6  Original Android Development] apophis9283:
Looks good, Ill have to try this out
[Nexus 6  Original Android Development] dany20mh:
I have a question.

So right now I can use synapse app and config the kernel without have any error.

But I want to know what is UKM? should I have to install that too or just having synapse is enough?
[Nexus 6  Original Android Development] wrongway213:
I personally can't get Synapse to work with UKM installed on Hydra Kernel - however I also can't get Synapse to work with any kernel other than Hydra without flashing UKM. I'm not sure why or if I did something wrong, but that was my experience. Synapse works fine for Hydra without UKM and fine for other kernels with it - not sure if you can make UKM play nicely with Hydra, or how at least.
[Nexus 6  Original Android Development] apophis9283:
Pretty awesome. Not trying to eerk your nerves but will other governors and oc come at a later date?
[Nexus 6  Original Android Development] neobuddy89:
UKM is nothing but Synapse-backend support from data partition.

What you will have in UKM, more than that you will have in Synapse-backend developed in this kernel ('s ramdisk).

Hydra auto-uninstalls UKM support since it is not required.

If you are looking for specific controls in Synapse, let me know. I will be glad to add if feasible. :)

I am open to requests. Feel free to discuss.

Next build will feature Impulse governor - non-agressive, minimal fluctuation, power efficient and CPU boost friendly - CAF interactive based governor.

OC - I can add that and still make device to boot at stock frequency. Is anyone aware what's stable freq for OC?
[Nexus 6  Original Android Development] dany20mh:
[MENTION=3795148]neobuddy89[/MENTION]

Thanks for the info.

please add this:

- New kcal tunable from savoca.

- Profiles (some predefined setting) like you used to have on your chaos kernel and NXtweak app. (I remember it from N5)

Also I was trying to change the governors in the synapse and I wasn't be able to do it, default is interactive and I was about to put it on the Conservative, it was changing but when I hit the save button the app stop working and if the phone turns off, it wont turn on again and I have to restart the phone.
[Nexus 6  Original Android Development] neobuddy89:
New tunables will be added. Profiles will be added later.

Conservative seems broken, will try to fix it up! Thanks reporting.
[Nexus 6  Original Android Development] bleached45:
I am curious (and sorry if this is OT), does anybody know why we can't edit Power Amp settings in synapse (in sound)? I see they aren't available for any of the kernels I have tried yet. But I do not know why (besides the info in faux sound that says the qualcomm driver is in control). Thanks.
[Nexus 6  Original Android Development] neobuddy89:
PowerAmp setting is fully automatic which means PA is controlled by soundfx/dsp dynamically. Locking PA for sound control results in stutters.

Also for Nexus 6, speaker gain is controlled by slimbus driver and not codec driver.

This concludes PA gain and speaker gain won't be controllable as of yet.
[Nexus 6  Original Android Development] djkinetic:
Having an issue with this kernel and synapse on Chroma. It seems from my testing that Chroma installs busybox by default into /system/xbin. The ROM installs Franco kernel by default. I tried to install Hydra over a clean flash of Chroma and checked the busybox location and it seems Hydra installs the busybox binary into /sbin. I tried to delete the busybox that was installed into /system/xbin. Launched synapse got the no UCI error so I swiped out Synapse in recents ran the terminal command ./sbin/uci and opened up synapse again and was able to get synapse going. I applied some settings and rebooted..sadly upon reboot the synapse settings i applied do not get applied. I reopened synapse and once again no UCI error. Swiped from recents reopened and synapse loads again and let's me reapply the settings I checked to make sure apply settings on boot is checked it is. I checked to make sure enable su at boot is enabled in SuperSU and it is as well. So I reboot and the same problem. Applied settings do not get reapplied.. Been at this the last hr with no solution. Anyone else on chroma have luck with this kernel and synapse working .
[Nexus 6  Original Android Development] wrongway213:
I have a few requests

- Any chance of a permissive on boot implementation, e.g. how the kernel boots into permissive mode before anything else boots up in ElementalX and leanKernel when set to permissive as opposed to booting up after Synapse has already been granted Just an option to permanently set SELinux permissive until another ROM/kernel flashed, basically, whether through terminal, an option in Synapse or otherwise.

- Possibility of more wakelock controls, particularly for msm_hsic_host (think that's already included now that I think, including it just in case), wlan_rx_wake and smb135x as are found in leanKernel? Not necessarily disabling, just the option to possibly minimize somehow - only working example I have is with a divisor as used in lean, but your own implementation or even simply an option to disable entirely if that's deemed fit, anything would be great as all those wakelocks seem to be problematic for many people on the N6.

Kernel has everything else given KCAL and OC were already requested.. good work. Will be curious to see how the kernel progresses.
[Nexus 6  Original Android Development] neobuddy89:
Well, bug found!! Governor changing while Synapse will create lockup.

The issue is with governor change interface forward ported for limiter driver.

That took me hours to debug but worth fixing than abandoning feature.

I have found proper fix and post next build tonight (IST.)

Meanwhile, please avoid changing governor.

Do not delete anything. Just flash over Chroma, it should work fine.

There are two places Hydra kernel copies busybox -

/sbin/

/system/xbin

So, just flash without any kang and let me know if any issue.

- There is already option in Synapse to set SELinux permissive on boot. Check under Tools tab.

- Wifi lock is already minimized. Where is smb135x lock? Link me to it, will see if I can include in Synapse.

KCal tunabales confirmed for next build tonight. OC, I need to test frequencies stable for device.
[Nexus 6  Original Android Development] wrongway213:
SELinux permissive option in Synapse works, but it works just like all other kernel tweaker apps as far as I can tell: my request was to give setting SELinux to permissive a higher priority during boot - mods don't work when your system boots up enforcing as they load into an enforcing system, not a permissive one, as it takes a second for Synapse (or any app) boot to complete even if SU is enabled during boot. For ElementalX a change was made that simply allowed users to select permissive or enforcing on installation, for lean there's an option in terminal emulator - both methods main concern is that permissive has priority during boot, though. Sorry if my original request was not clear enough, as I did see you already have a permissive option in Synapse. Here's a link to Imoseyon's github with the commit that sets permissive to a higher priority on boot: https://github.com/imoseyon/leanKernel-shamu/commit/ef07e7d5a7e6b132d15a7338b178b57d366747cb

As for smb135x, it's a wakelock that should only be held while charging, but disabling it entirely doesn't break charging and for whatever reason a good deal of users were having issues with the wakelock even when the phone wasn't charging. Here's the commit where Imoseyon gave the option to disable it in his kernel: https://github.com/imoseyon/leanKer...b82cea4436a75/drivers/power/smb135x-charger.c

Very much appreciate you taking requests - whether they all or even any come to fruition or not, it's always appreciated to have a developer who genuinely cares what the users want. Thanks man!
[Nexus 6  Original Android Development] Circaflex:
id rather not see a security hole exposed to allow some hacks and mods to work
[Nexus 6  Original Android Development] wrongway213:
I personally wish that permissive wasn't required for Xposed to work, but unfortunately it is, and a lot of users use it, for better or worse. In this case, Synapse already offers a permissive kernel, and what I am suggesting as it has been implemented in ElementalX and leanKernel would be optional to the user, just as permissive mode in Synapse is currently an option for the user to choose - if the kernel did not already have a permissive option I would be more inclined to agree that it's a security hole, but I personally don't feel it is given it'd be optional, and the option to enter permissive system already exists within Synapse - just not the way it needs to for Xposed to work
[Nexus 6  Original Android Development] neobuddy89:
Check out newest nightly!

Hydra_v1.0-[03-04]-[01-12]

* FIXED CPU governor change via Synapse

* FIXED regression of hotplug and CPU boost drivers with suspend routines

* Added new Impulse governor - Tweaked CAF interactive governor - Friendly and power efficient frequency scaling.

* Updated Conservative governor

* Added smb135x charger wakeup source toggle in Synapse

* Improved SELinux switching. If you select Permissive via Synapse, next boot will always honor selection.

* Added KCal controls to Synapse

* Backported kernel locking mechanisms from 3.18 kernel

* Improved PM QOS - CAF update

* Improved suspend routine - motorola tweaks

Cheers!! Thanks for all the feedback. Let me know more. :)
[Nexus 6  Original Android Development] wrongway213:
Awesome, appreciate you taking requests and making them come true so quickly! I'll flash when I'm home tonight, hopefully new Synapse permissive feature allows it to boot early enough before the rest of system boots - I'll let you know regardless if that did the trick or if it is still booting up too long after the system itself to allow Xposed to run with this kernel. Again, thanks for the (almost complete impossibly) prompt service and being so open to requests! This kind of thread mindset can really make development fun for those of us on the user end who normally never get to have any sort of interactive role in how their ROMs or kernels are shaped into what they become.
[Nexus 6  Original Android Development] Damon13:
Great, I am going to give it a try. Is sensor_id disable? or is there a feature in Synapse to disable it? Thanks again for all your hard work.
[Nexus 6  Original Android Development] neobuddy89:
Hey guys,

I resigned my real life work and m travelling to new city for my b-school. This should explain my lack of replies in this topic..

Meanwhile, testing some advance CAF stuff which doesn't seem to b stable enough for release.. So last nightly released is still the beast... I welcome new hydra agents :) ... Enjoy!

In short, Don't worry this project is not abandoned... New build should b ready in next week. Given my initial hectic schedule..

Cheers,

Neo.
[Nexus 6  Original Android Development] jason504:
The latest build works great for me so I am in no hurry. Best battery life out of any other kernel that I have tried.