yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] :
Oh, and just so that the suspense is lifted. What I'm working on is trying to setup a static uci in the ramdisk, and storing the profiles and such for synapse in the synapse app directory. That way they'll be baked up and restored with synapse when using titanium backup.

Unfortunately, this is taking a lot longer than I expected. It works for most everything so far except the apply in boot. That's causing hard reboot loops that I'm trying to narrow down right now... Basically blindly because synapse's boot service doesn't log anything. So logcat and kmsg aren't helping.

However on the positive side... The reboots mean that it is actually trying to set the values on boot... Just that something is messed up somewhere.

Unfortunately, it's turning into a huge time sink so I'm not sure when it'll be ready for everybody. I'm just hoping that it fixed the issue of synapse applying it's settings.

If nothing else, we won't have to deal with modifying ukm anymore. I could add a tunable to a driver in like half an hour, then spend hours trying to get ukm to accept it correctly. It started to get old.

Unfortunately, synapse applies about 300 actions on boot... And I'm going to have to hack its database apart to systematically figure out which action doesn't want to work with its boot service.
[Nexus 6 Android Development] str8str:
OK well I have faith in ya you can do it.

Straight Shooter
[Nexus 6 Android Development] apophis9283:
There will be a realease tonight, not including Yoinx's work. I added PMC governor. Stands for Performance May Cry. I dont want to hear anyone complaining about it. Its is meant to be a super battery saver. Let me get all this crap together and ill get it posted

If I forget to add anything to the op let me know.
[Nexus 6 Android Development] apophis9283:
OP updated to 3.5. No this does not have Yoinx's work in it. Not yet anyway. Plenty of new stuff more stability. Enjoy
[Nexus 6 Android Development] baboomerang:
Give me your paypal donation link. I will THROW MONEY AT YOU to add your fix to synapse.
[Nexus 6 Android Development] apophis9283:
I decide I was gonna try out PMC governor. Or PERFORMANCE MAY CRY. Its supposed to be amazing on battery. No lag so far. Something you might wanna try
[Nexus 6 Android Development] apophis9283:
He's working on it :)
[Nexus 6 Android Development] :
I'd never turn away money.

However, the prospect of money wouldn't affect me fixing it or not. I'm determined to fix it regardless.

Right now though it's really beating me pretty good. Things that should work don't... and logical troubleshooting isn't really yielding the results I want.
[Nexus 6 Android Development] apophis9283:
Dont let him fool you. He loves it when it rains money.
[Nexus 6 Android Development] Mr_S:
OT

Great work [MENTION=1115668]Apophis[/MENTION] and [MENTION=4231562]Yoinx[/MENTION]... You have worked hard on this kernel for time now...I am going to test next build....
[Nexus 6 Android Development] fedef12evo:
Good work on the kernel, except few reboots because of dirty ratio setted at 2 by default, why?
[Nexus 6 Android Development] :
Which dirty ratio are you taking about?
[Nexus 6 Android Development] apophis9283:
So far PMC is doing pretty good. Its doing a hell of a job saving battery with no lag
[Nexus 6 Android Development] :
Well, I'm done messing with synapse/UCI.

It keeps hard-rebooting the phone every few governor changes. We've tried removing msm_limiter to rule that out as an issue. Wasn't it. I've tried recompiling Synapse to actually output some logs, it refuses to log anything still. Checking to apply settings on boot hard reboots my phone with no info.

No much I can do with it, since it's the only thing that has a problem.

I can go through adb and perform the exact same command that it's supposed to be executing to change the governor repeatedly (did it like 30 times in 20 seconds, no issues). I can go into Kernel Adiutor and change it rapidly and repeatedly, no issues.

I'm not a huge fan of synapse, personally, as it has always had issues for me.

Since this is a kernel development project, I've pretty much lost interest in trying to make it work with an app that I don't use.
[Nexus 6 Android Development] apophis9283:
On somewhat of the same note. MSM_LIMITER will most likely be removed. If you use kernel auditor I dont even think you had the option. Everyhting seems to run smoother without it. Then that all depends on if I can get the cpu-boost to quit screwing around with min/max frequencies

Unless you guys absolutely want msm limiter.

Edit ill add back limiter because Im probably gonna start using kernel auditor
[Nexus 6 Android Development] modernbummer:
Your not having any choppiness at all? Hasn't been my experience, but I'm sure you probably have other tweaks in place.
[Nexus 6 Android Development] apophis9283:
No, no tweaks. Just PMC. So far so good.
[Nexus 6 Android Development] str8str:
Well how are you at putting together maybe our own kernel modification app? Just an idea. We can always keep bugging dev of kernel auditor to add the options or use the script you made.

Straight Shooter
[Nexus 6 Android Development] :
I'm not amazing at it. I'm toying around with modifying kernel adiutor to add features. However, since I don't really know java... that's going to be touch and go... and could take quite awhile.
[Nexus 6 Android Development] baboomerang:
Then lets all bug the Kernel Adiutor Dev to add all the options you guys need for Singularity. Then this kernel will truly be the best of the best. <3
[Nexus 6 Android Development] str8str:
I've sent a few emails to kernel auditors dev requesting he support our kernel and it's customization. Hopefully he'll add them.

Straight Shooter
[Nexus 6 Android Development] :
The big thing is that he needs the sysfs paths and such, which isn't hard to figure out... But typically things have a better chance of being supported if it's sent as a pull request. Unfortunately, that means that you need to know how to do the stuff in app development.

I'm going to be working on figuring it all out... it'll just take time.
[Nexus 6 Android Development] apophis9283:
Im all for Nexus 6 domination.
[Nexus 6 Android Development] apophis9283:
I meant to tell you. If you like Umbrella_Core try Mythx_Plug. Its just as good if not better
[Nexus 6 Android Development] :
Alright.

So as I've stated I'm going to be working on Kernel Adiutor support instead of Synapse/UCI/UKM.

I found a commit adding an arch power toggle, so it gave me the information I needed at least to add toggles for our options (sliders and such will be a little harder). I used that to add a toggle for my bcl enable/disable (completely turning it on and off, not just hotplugging). I've also added our device to the downloads, so that shows up now (assuming that we keep up to date on the json file).

We're currently compiling a list of missing features that I'm going to be trying to add in.

However, what this means is that we'll likely just have a custom Kernel Adiutor apk in the thread. It won't be able to update from google play though. So keep that in mind.

I don't specifically have an ETA for it though. Hopefully I'll get it going pretty quickly.
[Nexus 6 Android Development] apophis9283:
Ok Im using a different implementation for fastcharge. Reverted some junk and F2FS should F'N work now. Brought Despair governor back because well, I can.
[Nexus 6 Android Development] apophis9283:
In need of someone to write down whats missing in kernel auditor that Synapse has.
[Nexus 6 Android Development] baboomerang:
Hotplug

Intelliplug 5.0

Debug Intelliplug

------------------------------------------

Thermal

First Stage Limiting Frequency

Second Stage Limiting Frequency

Third Stage....

Fourth Stage....

Polling Interval

-----------------------------------------

I/O

General I/O Tuneables

Add Random

I/O Stats

Rotational

NR Requests

-----------------------------------------

GPU

Enable GPU Gaming Boost

Disable GPU Gaming Boost

------------------------------------------------

Memory

VFS Cache Pressure

-----------------------------------------------

Wake

DoubleTap2WakeTimeout : Default = 50

DoubleTap2Wake Feather (Xaxis) : Default = 150

DoubleTap2Wake Feather (Yaxis) : Default = 150

-----------------------------------------------

MISC

Msm_Hsic_Host Wakelock: Default = 6

BCMDHD Wakelock: Default = 5

*Some WakeLock Options May Be Missing From Kernel Adiutor

--------------------------------------------------

ADVANCED

Krait C-States Settings

C0 (WFI)

C1 (Retention)

C2 (Stand Alone Power Collapse)

C3 (Power Collapse)

===============================

Ultra Kernel Samepage Merging

CPU Governor: Default = full Other Values = medium;low;quiet

Controls how aggressively the daemon uses CPU Power. This sets a preset for the maximum CPU consumption below

Max CPU Consumption: Default = 95%

---------------------------------------------------------------------------

BUILD.PROP

build.prop Tweaks

Wifi Scan Interval: Default = 0 sec Max = 400 sec

VM Heapsize: Default = 512 MB Max = 1042 MB

Allow Purging of Assets

I did this with a fast skim through kernel adiutor and synapse. Some stuff may be included already.
[Nexus 6 Android Development] :
Thanks man, exactly what I was looking for.
[Nexus 6 Android Development] baboomerang:
Just to continue on to the options listed, there should be written notes on all the tuneables under "Virtual Memory" in Kernel Adiutor.

So far in that section its just the ambiguous name of the tuneables + values. There is no max or min set in the comments. You should pressure the author to copy paste your description of the tuneables into their respective sections.

Think about it this way; If someone( like me ) who used

Synapse

then switched to

Kernel Adiutor

saw the

" Laptop Mode "

option would know what it does because

Synapse

previously told them what it did.

BUT If someone who never used Synapse sees that section, they

won't know

what to change and probably

wont use

that section to its maximum potential.
[Nexus 6 Android Development] apophis9283:
Im really hoping F2FS is working now, also switched to a different Fast Charge. Should be better than before.
[Nexus 6 Android Development] str8str:
OK will do. Been playing with wave and I like it as well.

Straight Shooter

---------- Post added at 23:17 ---------- Previous post was at 23:09 ----------

I also had a couple of back and forth emails with the dev of aero kernel app which I liked and used before kernel auditor. He's very active in developing his app and wanted the URL to our little thread here so you might here from him or maybe you can send him what he needs.

Straight Shooter
[Nexus 6 Android Development] :
Just do people are aware/can track where I'm at on this... This is our github for Kernel Adiutor. As I get things fixed, I'll be pushing the commits. Once enough of the missing stuff is added, I'll start posting builds.

https://github.com/Team-Singularity/KernelAdiutor/commits/master

I managed to get the bcl toggle working in that (not just hotplugging but the entire workque) which I couldn't manage to get working on ukm. So hopefully there won't be a need for two builds anymore before long.
[Nexus 6 Android Development] apophis9283:
Fyi things are going great. Were both working on different aspects of the kernel.
[Nexus 6 Android Development] apophis9283:
OK, very exciting day for Singularity, Kernel Version 3.6 is live in the OP. If you look at post 2 you will see a modified Kernel Auditor that has our features available. HUGE HUGE THANKS TO YOINX. AMAZING WORK. Check it out. No more UKM and Synapse not holding settings after a reboot. He worked really hard on it and it is a work in progress. Enjoy the hell out of it.

Thank the hell out of post 2. He deserves it

Checkout the downloads section, not working yet but you get the idea

IF YOU HAVE KERNEL AUDITOR ALREADY INSTALLED YOU WILL NEED TO DELETE THAT ONE FIRST THEN INSTALL OURS

Also the link for the kernel in the op is now a direct link

BCL is now togglable
[Nexus 6 Android Development] apophis9283:
Dont be cheap people. Thank post #2 please
[Nexus 6 Android Development] :
Looking through these. It doesn't look like a lot of those tunables are really setup to where they can have notes/descriptions added to them. IE: When you go to I/O scheduler tunables, it just loops through the sysfs path and creates items for everything in there by the file name. There's really not a place to add info for them.

I'll see what (if anything) I can do to fix this once I have our functionality in place.
[Nexus 6 Android Development] guythnick:
Just wondering if this new kernel requires the modified Kernel Auditor app? I've been using this kernel with standard KA app. Running it completely default and happy with results. Is it okay for me to update without changing Kernel Auditor if I don't care about the new tunables?

Also great work in this, running very nicely.
[Nexus 6 Android Development] apophis9283:
Yeah, if thats what you want.
[Nexus 6 Android Development] :
It's not so much *new* tunables. Kernel Adiutor is missing quite a few of the normal tunables.

However, not using our APK won't cause you any issues if you're happy with what you have. It simply exposes more tunables that were previously only available in synapse with our UKM
[Nexus 6 Android Development] DreamFX:
Rocking new kernel and app. Thanks guys!
[Nexus 6 Android Development] Unreal_Shogo:
Wow, amazing fast kernel, excellent job ? zero lag at all, ZERO ? even at 1,4ghz

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] str8str:
Wow that was quick you must of worked your ass off. Great work my friend

Straight Shooter

---------- Post added at 21:25 ---------- Previous post was at 21:17 ----------

Can't download kernel auditor get 404 error

Straight Shooter
[Nexus 6 Android Development] :
Yeah, App-Wise... I've been working on it pretty non-stop all weekend.

I'm probably going to be putting up an updated version sometime tomorrow. I've gotten most of the thermal driver stuff added. Though, I'm not sure if I need to add sanity checks in the app since they're in the driver. If I do, that's going to take more time.

IE: Step 1 < Step 2 < Step 3 < Step 4

I'd have to modify each set value to check the one above and/or below it.
[Nexus 6 Android Development] str8str:
OK any ideas why link gets 404 error? Can't download kernel auditor

Straight Shooter

---------- Post added at 21:59 ---------- Previous post was at 21:35 ----------

Keep getting this.

Straight Shooter

---------- Post added at 22:01 ---------- Previous post was at 21:59 ----------

Can someone upload the apk for kernel auditor to their drop box or copy and paste a link here so I can get the version.

Straight Shooter
[Nexus 6 Android Development] :
Here ya go.
[Nexus 6 Android Development] :
All,

Keep in mind that the customized APK is a work in progress. Please do whatever testing you can and let me know of issues (not missing features though). I've done what I can to test. I noticed that the apply on boot settings seems to work better with more than a 5 second delay, I set mine to 20 secs.

I hope that it's working well so far though.
[Nexus 6 Android Development] str8str:
Thanks

Straight Shooter

---------- Post added at 22:48 ---------- Previous post was at 22:45 ----------

Working great so far. Did a great job in such a short time. We definitely have the best kernel and control going with two great devs.. Thanks guys

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Im happy
[Nexus 6 Android Development] Unreal_Shogo:
Holy s.... That is a score ?

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] LupineDream:
GREAT Kernel!!
[Nexus 6 Android Development] arifqur:
Do you have fsync disabled?
[Nexus 6 Android Development] str8str:
Nice here's mine. Think we're doing something rite and I'm sure I can do better that was first try.

Straight Shooter

---------- Post added at 02:55 ---------- Previous post was at 02:39 ----------

Yes it's disabled by default

Straight Shooter
[Nexus 6 Android Development] Unreal_Shogo:
Those benchmarks captures are with stock frequencies?

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] :
Probably not. Most people turn everything to max when they benchmark for some reason. Apparently to maximize the e-peen gain from the number in the app I guess. [emoji6]

For awhile even stock roms would do this when they detected a benchmarking app was running just to artificially boost their performance numbers. I can't remember which manufacturers got called out for it (it was a big deal a couple years back) but it wouldn't surprise me if it was the norm now.

Personally, I'd probably run the results with the settings that you're actually going to use. However this will skew your results in comparison with others. However, it would give you a more realistic number. Especially if you're using the value to see what governors and settings and such will improve what aspects of the test.
[Nexus 6 Android Development] apophis9283:
I have confirmation that F2FS is absolutely working now.
[Nexus 6 Android Development] str8str:
Htc,Samsung were two I know of for sure that max out the settings when a performance test was detected. As for me I had gpu at max which it is by default and had used smartassv2 governor with 2880 for max frequencies with some other (secret).. Tweaks lol

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Gonna be away for a few. Yoinx can handle everything for now
[Nexus 6 Android Development] :
Update on Kernel Adiutor modifications:

I've gotten thermal controls to work.

I've added Krait C states

Fixed it not asking for permissions for storage on launch (if they're not granted).

Added RQ affinity

Besides the build prop tweaks (they're simple enough to enter manually through the included editor) is there anything else major that anyone is looking for? I plan on adding in the per core freq settings for Limiter again, work on fixing the kernel auto-download stuff (that's going to be a bit more difficult for me) (fixed the downloader with a sloppy hack) and maybe some random other things.

However, I'm looking at putting this out as a release since it adds some stuff. Just wanna make sure that there's not anything else simple that I'm missing before doing so.
[Nexus 6 Android Development] str8str:
Can't think of anything rite now.

Straight Shooter
[Nexus 6 Android Development] :
Sloppy hack to fix it for now, but you go ahead and try to tell me that this isn't sexy af.

*edit* and yes, it auto-flashes if you choose TWRP.
[Nexus 6 Android Development] AlexxxR:
Download links are broken, anyone have the current links for the BCL disabled and UKM zips?
[Nexus 6 Android Development] str8str:
They are in process of being updated. Also you need to do some reading. No more ukm or separate bcl builds

Straight Shooter
[Nexus 6 Android Development] :
New app build up in Post 2

As stated before this adds:

Thermal controls for Francos 4stage driver (with my mods)

RQ Affinity Toggle

Krait C States toggles

Download + flash from the downloads section now works (this currently uses internal /data path for the zip)

enjoy!

---------- Post added at 08:29 PM ---------- Previous post was at 08:27 PM ----------

There are no longer BCL enabled/Disabled builds. There is no a toggle to completely break the BCL workque, so you shouldn't notice a difference between it being removed from the build and it being toggled off.

Also, we've moved from UKM to a modified version of Kernel Adiutor. Most of the features from UKM/Synapse have been ported over already, and apply on boot actually works (though I'd set the time delay to a slightly longer delay, personally I use 20sec)

---------- Post added at 08:42 PM ---------- Previous post was at 08:29 PM ----------

Actually, I just noticed that you're not in the USA... Are you able to access github.com from your country?

We migrated from AndroidFileHost to just doing raw posts on github as we need direct downloads for the download function of kernel adiutor to work.
[Nexus 6 Android Development] apophis9283:
I am no longer using github to host my files. I have updated the OP with the new hosting site I will be using from now on. It is direct link access, meaning click on the link and it will download instantly
[Nexus 6 Android Development] :
APK link updated in post 2 using Apophis9283's hosting solution. For the folks with download issues, feel free to grab it from there.
[Nexus 6 Android Development] clothednblack:
12hrs off the charger and still plenty of juice to go, I'm impressed with this kernel and it's options. I've ran plenty of other ones, nothing has extended my battery like this one, thanks!
[Nexus 6 Android Development] apophis9283:
Glad you are enjoying it.
[Nexus 6 Android Development] akaHardison:
Last version making my phone unusable,The screen always split after screen on for 5 seconds.Had to revert to old version to make my phone work again.
[Nexus 6 Android Development] :
When you say "Revert to old version" which version do you mean? Also, do me a favor and try disabling limiter and changing to a different governor (umbrella_core seems popular) when you get a chance to see if the problems persist.

************

Just an update for folks. Before I start spamming the heck out of the CPU tab of Kernel Adiutor with like 12-16 (cant remember how many) per core tuneables for MSM_Limiter, I wanted to make sure I could hide them when limiter was disabled so that people who aren't using it didn't have to look at them all.

I figured out how to do that. Though, on toggling limiter on and off the only way I could think of/find was re-initializing the list was to invalidate, destroy and recreate the fragment. (See here)

If anyone knows of a better way to do this (or any of my other commits on that repo... some are sloppy IE: download manager hack and C states) feel free to let me know. This is a learning experience for me, and I *know* that some of the ways I'm doing things aren't right/best (because the ways they're supposed to be done through errors or don't work right :crying:)

I plan on doing something similar with the hotplugs which will hide all the tuneables for the disabled hotplugs as well as only allowing one to be enabled at a time (disable the others when it's enabled). I think that should be ALOT nicer than what's currently implemented.

Anyway.. Just wanted to give an update since I made some progress after a few hours messing with it. I'll be adding in all the per core MSM_Limiter stuff tomorrow. Once all this stuff is caught up, releases will definitely slow (no reason for them once the features are all in place) down and I can start "gettin' these nuts in the kernel's guts" again.
[Nexus 6 Android Development] akaHardison:
eh,seems is 3.2,the version when you still use androidfilehost,I can choose whether use BCL or not.Can you upload that version back to androidfilehost,I need that because I deleted that:(.I still in the bed and I thought I didn't delete it.:(Thanks.

---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------

Edit:sorry,it wasn't you.I want to @ the author.

---------- Post added at 12:46 PM ---------- Previous post was at 12:44 PM ----------

Hey,can you upload the old version for me?I need the old version to make my phone work.[emoji24]

---------- Post added at 12:48 PM ---------- Previous post was at 12:46 PM ----------

I didn't turn on the MSM_Limiter and I had change all governor.Still split screen.
[Nexus 6 Android Development] :
Cleaned up my quote here... you seem to have had a really hard time with that :p

Here's 3.2 BCL disabled.
[Nexus 6 Android Development] akaHardison:
Do you still have BCL enabled?Thanks:)
[Nexus 6 Android Development] :
No, unfortunately I only had the BCL disabled build still on my SDcard.

Hopefully in the next few days I'll figure out what's changed between 3.2 and 3.6 that's causing instability and fix it....

Right now though, I'm pwning the hell out of the Kernel Adiutor app.