yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] apophis9283:
I have to do this the equal way. At the moment forcing permissive blocks people from enforcing. So it will be enforcing by boot and you can go into KA and make it permissive. Some things may need permissive by boot, thats fine. Simply boot once and make KA boot permissive from there on out.
[Nexus 6 Android Development] :
Ok, so we had the kernel forced to permissive (couldn't toggle it if you wanted to).

Here's a test build of the kernel. It's the same stuff as the normal, just with the selinux stuff reverted so now it boots in Enforcing, and you can change it from there.

Also attached is an updated version of the app (5.2) that adds a SeLinux toggle.

The Kernel is attached to this post. Apophis will release one as an official release later with this and some voltage changes.

http://singularity.swmirror.com/21a6b
[Nexus 6 Android Development] jcrompton:
Thanks for your work but I sure have enjoyed always knowing this kernel is permissive from the git go. It seems to me that I have had a couple of times in the past ended up with boot loops with layers or themes or some other something and found out it was due to an enforcing kernel ....

I see the conversation, but it sure seems to be better if it started out permissive and was enforcing only if you just absolutely needed it
[Nexus 6 Android Development] :
Yeah, we're trying to figure out a way that would allow that without breaking the ability to toggle. The hacks that we had in there didn't allow for it.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] str8str:
Agreed
[Nexus 6 Android Development] :
I've just finished getting to the bottom of this.

https://github.com/Team-Singularity/Singularity/commit/6f63a5298bee8462b95ac233a16fa151bdf3d996

That's the way that it's *supposed* to be done.

Once Apophis9283 releases his build tonight, as long as he pulls that in... You'll boot permissive and still be able to toggle post-boot Of course, if you switch kernels later on, you'll need to reflash a clean boot image since they likely won't support that commandline paramater.
[Nexus 6 Android Development] :
Alright, so I managed to get screen color profiles working (at least as an initial method).

If you know of any offhand that you want included let me know. They have to be hardcoded into the app.

They also need the values modified from what people post as the display values to what I need.

Basically, contrast + 128, value + 128, sat + 225 so Vomer's profiles turn into:

{
"name": "Vomer BrightBalance",
"rgb": "230 232 255",
"sat": "280",
"value": "273",
"contrast": "243"
},
{
"name": "Vomer IPS",
"rgb": "230 232 255",
"sat": "265",
"value": "253",
"contrast": "243"
},
{
"name": "Vomer AccuRich",
"rgb": "230 232 252",
"sat": "265",
"value": "263",
"contrast": "248"
}

Yes, I know that's JSON. That's the format it wants. They're still missing the "screen hue" value though. I don't know if that means that they were supposed to just stay at the stock or what...

Anyone have any ideas? I don't typically mess with the gamma config stuff that much.

*edit*

I should probably mention too, that this are just presets. You can always store your own profiles (won't show up in this list) under the profiles section of KA

*edit 2* also, would someone be willing to test this kernel zip? It *should* boot permissive then allow itself to be toggled. Make sure that you have a backup of your /boot though. When I had Apophis9283 test it, it wouldn't boot... Think if fixed the part of the anykernel script that caused that though.
[Nexus 6 Android Development] :
I found this hand spreadsheet of profiles... so I'm going to go ahead and add all of these :)

https://docs.google.com/spreadsheet...tEno4-Z5qFUzOLJ73me4tzg968/edit#gid=304885152
[Nexus 6 Android Development] modernbummer:
Awesome, Yoinx. Thanks for implementing this. [emoji482]
[Nexus 6 Android Development] :
Alright, here's the V6 of the KA app. Link I feel like the addition of the tons of profiles was significant to bump it over. I'll update Post #2 at some point.

The permissive toggle will only work with this Kernel, not the original. I'm posting it as 4.2 however Apophis will need to update the OP and such. Here's a link. This worked fine for me, but Nobody's responded from my tests... so make sure to back up first.
[Nexus 6 Android Development] str8str:
The screen pre sets only work on new kernel?
[Nexus 6 Android Development] :
No, they should work on any.

The old kernel builds just never toggled off permissive, so the toggle won't work.

The build I posted boots permissive, but you can toggle it enforcing if you wanted to. Previously, there was no option.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] str8str:
Noticed bcl toggle changes back soon as you leave the screen. When you come back it's reset itself back to off.
[Nexus 6 Android Development] :
Thanks, I'll look at it tomorrow. Its toggling the value, not sure why it can't read good...

I probably have it looking for 0/1 instead of y/n.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] str8str:
I'm not on the kernel you posted and the toggle for bcl reverts itself. Also don't see any color profiles. I have the new kernel auditor installed also

---------- Post added at 00:35 ---------- Previous post was at 00:33 ----------
[Nexus 6 Android Development] :
You have something weird happening... The text you have on that misc screen shouldn't be there...

Also, like I posted before I'll look at bcl reverting tomorrow. Its a visual thing. If you toggle it on it will be on, if you toggle it back off it will be off. When you first come to the screen it won't show on though. Won't be hard to fix... Just not doing it tonight.

Let's face it... When your add a few thousand lines of code, some things won't work 100% out of the gate :s

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] str8str:
Ya I get that. You've worked your ass off much appreciated. What the hell you think is causing the funky text issue on nine
[Nexus 6 Android Development] :
No idea, try doing a tb backup. Install the app and restore your data for it?

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] str8str:
Reboot fixed it

---------- Post added at 01:46 ---------- Previous post was at 00:52 ----------

Wow love these pre sets for color. The deep black colorful is awesome. Really makes everything pop.Thanks man great job.
[Nexus 6 Android Development] fedef12evo:
omg awesome work on KA and this kernel, loving it
[Nexus 6 Android Development] :
Thanks, not my presets though, I found them on that Google docs I linked.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] Miccia:
Thanks for adding all, just one thing:

I think u inverted selinux switch, when in ka show permessive in about phone is enforcing. When in ka show enforcing in about phone show permessive. Already reboot a couple of time.
[Nexus 6 Android Development] :
You mean the text?

I made the text tell you what adjusting the toggle would do.

If the toggle is off, the phone is permissive and the text will tell you to "toggle to enforcing".

If the toggle is on, the phone is in enforcing and the text will tell you to "toggle to permissive"

It made sense in my head. Maybe it world be best for the text to hear read out what it currently is? Tried to make it less confusing because I know a lot of the time people aren't sure if the toggle turns something on or off.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] Miccia:
Imo is easier in:

Toggle off, text: selinux permissive

Toggle on, text: selinux enforcing
[Nexus 6 Android Development] :
Yeah, so have the text tell the current status.

Makes sense. Initial thoughts don't always meet first contact with the end user [emoji14]

I'll fix that and the bcl toggle not showing right later and re-release

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] apophis9283:
Sorry about not updating the in app stuff and op. Had to disappear for personal reasons and Yoinx is amazing doing what he does he can handle the kernel by himself. Ill try to get some stuff together and update op and in app kernel stuff. Huge thanks to Yoinx for his magic that hedoes with the kernel and KA.

Edit: Voltages should be fixed for good as seen here: https://github.com/Team-Singularity/Singularity/commit/cc22284ac3c472117aa78dbcd0ce7fc05f2d2578

Sorry about that. Every stock frequency is at stock voltage now. Feel free to OV/UV as you see fit
[Nexus 6 Android Development] apophis9283:
OP and in-app downloads have been updated. Enjoy
[Nexus 6 Android Development] :
I've changed this to read "Current SELinux Status: Permissive" and "Current SELinux Status: Enforcing" depending on the toggle to represent what mode it's currently in.

Yeah, I thought I had fixed that before probably got lost in a git reset or something. The problem is that I have to do a text match for the parameter. Some modules use 0 or 1 for booleans, some use Y or N... I could probably make a helper function to check for either... But it's easy enough to match up to the actual value. I just dropped the ball on that.

I also removed the plug-ins section on this build. I don't really see a need for it as the only module is the SELinux toggle, which is now in the Misc section. It wasn't really doing anything, and was just taking up space.

V6.1
[Nexus 6 Android Development] ztotherad:
god i love this kernel! so many damn choices and done by a guy that I've been following and running his rom(s) since the t0ltevzw days!
[Nexus 6 Android Development] apophis9283:
:) Glad to have Yoinx with me this time. Im glad you are enjoying the kernel
[Nexus 6 Android Development] DreamFX:
You and me both. You seem pretty quiet in nexus 6 forums compared to t0lte.
[Nexus 6 Android Development] apophis9283:
Meh, there comes a point where it becomes tiring. Yoinx is amazing with bringing in new stuff and hes a nice guy all around. I dont need to monitor the thread 24/7 any more. Im really glad that everyone seems to enjoy the kernel. Yoinx also seems to have the same idea for the kernel as i do. Thats in itself is awesome. Im glad we can have a ton of options with a ton of optimizations and it work well for almost everyone that uses it. that is what I wanted when I started the kernel.
[Nexus 6 Android Development] DreamFX:
I meant ztotherad seems more quiet. Maybe it just seemed he was posting everywhere because the note 2 never really took off or became that popular in the scheme of custom roms.
[Nexus 6 Android Development] apophis9283:
Ah, yeah Ive seen him post in a few ROM threads but not much else
[Nexus 6 Android Development] TheGrandFinale2001:
Finally got my ROM set up. Flashed the new kernel and app, everything looks great. The color profiles are working and definitely look great. Nice just guys!!
[Nexus 6 Android Development] aussie1234:
Fiddler

Hello

To the developers: I flash ROMS and Kernels like 100s of others and try to squeeze best performance by fiddling with the settings like a layman.

But that's all I do. I am often in awe at how you guys even know what you do and to translate that into developing Kernels, ROMS, Kernel apps...

Don't underestimate how you make life easier for us flashers who want ROMS, Kernels and features that we can tweak or change until we achieve our 'smooth as butter' ROM or one that teases the best scores in our most favourite bench-marking app or allows us to optimise the ROM for our personal usage.

Keep up the great work and thanks again.

Aussie
[Nexus 6 Android Development] ztotherad:
yeah, this time around, i dont have anything constructive to say. these devs are on top of their game. dont need to say much. but definitely nice to see you have joined the dark side! ?
[Nexus 6 Android Development] apophis9283:
Thought I would post something about this so people who need a little more battery over a slight boost in performance you can disable arch power in KA settings.
[Nexus 6 Android Development] Unreal_Shogo:
And KSM

Enviado desde mi Nexus 6 mediante Tapatalk
[Nexus 6 Android Development] mwebb34:
Im one VRToxin 6.0.1 i have a custom boot logo, so im a little confused on which one i download.
[Nexus 6 Android Development] apophis9283:
You should be able to flash ours over whatever one youre using
[Nexus 6 Android Development] mwebb34:
Ok, which do i download? I wanna keep mh custom boot logo, so do i flash V6. 1?

Edit, nevermind 6.1 is fhe apk, do i download the stock kernel zip

---------- Post added at 05:05 PM ---------- Previous post was at 05:03 PM ----------

Think i got it i download the Mm singularity v4. 3 zip
[Nexus 6 Android Development] apophis9283:
Im confused. if you flash the kernel it doesnt flash the boot logo. Not sure what youre asking
[Nexus 6 Android Development] mwebb34:
First off i wanna say THANKS to the individuals who are pure geniuses when it comes to this stuff gotta have a degree in chemistry j/k.. thank you for making this kernel. I got it all set-up i really like the website that tells you what each kernel setting does, that will help me to make a good sound decision. Hopfully everything will run smooth!

---------- Post added at 06:22 PM ---------- Previous post was at 05:51 PM ----------

Im using trickster mod, anyone using this? I/O schedular im using SIOplug, tcp control using westwood, cpu giv i have set to bioshock. GPU gov set on performance, GPU max freq is set to 700. Shoukd i change anything or just leave it be? If anyone has anything to suggest im all ears.

---------- Post added at 06:26 PM ---------- Previous post was at 06:22 PM ----------

Theres 41 cpu governers to choose from lol wonder which would be the best
[Nexus 6 Android Development] apophis9283:
Use our Kernel Auditor app for your kernel. Its way better and it has more options you can control
[Nexus 6 Android Development] str8str:
Yes use interactive pro, use stock max and 98 for min.lower gpu to 500, cubic, disable zram and arch and use row or deadline. Also use the kernel app in op. Much more options and built custom for this kernel which has optimization out the wahoo[emoji15]
[Nexus 6 Android Development] mwebb34:
I need less options lol that way i have a better chance of selecting the right or should i say the best settings.
[Nexus 6 Android Development] str8str:
That don't make sense
[Nexus 6 Android Development] apophis9283:
Hey were all here for this kernel, devs and users a like. If you need suggestions we have other users that would be willing to share their settings and experiences. Dont be afraid to ask, cause if someone responds rudely I wont have that in my thread.
[Nexus 6 Android Development] mwebb34:
Thank you! I believe im gonna like it here. I hardly ever put my nexus down unless im asleep, lol,i also play alot of games like need for speed modern combat. Will i need 3 different settings to switch from when im browsing playing games and sleep mode 'not me the device?' or will 1 setting cover all of it, im trying to avoid any lagging when browsing and playing games. If anyone can help figure out what i need send me a pm if ya dont care. Thanks!
[Nexus 6 Android Development] apophis9283:
I updated post #2 below the OP with a bit more information.
[Nexus 6 Android Development] apophis9283:
If all goes well. Should have a 1.5 release tomorrow
[Nexus 6 Android Development] sonofevil77:
I just set it up to your preference to see how that goes.

Sent from my Nexus 6
[Nexus 6 Android Development] Saber:
I've updated the guide to include all of the governors that are available for this kernel.

gsstudios.
[Nexus 6 Android Development] cameljockey1:
Hello. I am having issues with the CPU settings not sticking. Even after the no freq zip file flashed. And I also had slow boot with previous build. But its better now.
[Nexus 6 Android Development] apophis9283:
Try wiping and reflashing
[Nexus 6 Android Development] cameljockey1:
Wiping caches or like factory reset fresh install?
[Nexus 6 Android Development] apophis9283:
I am working on a modified UKM zip so more features will show. I will release it when I release 1.5 kernel today
[Nexus 6 Android Development] ztotherad:
running your 1.4.3 build right now and it's running beautifully. checking out dyninteractive with OC/UV! thank you sir!
[Nexus 6 Android Development] apophis9283:
The day has just begun
[Nexus 6 Android Development] DreamFX:
I have 4 Google accounts running on my phone constantly, lots of syncing/email type apps and my phone has been off the charger since early this morning and still has a day and a half of charge left using dyninteractive! This is a lot of charge left for a power user like myself.
[Nexus 6 Android Development] apophis9283:
Ok! VORTEX V1,5 is up in the OP. MAKE SURE YOU FLASH THE UKM-VORTEX FILE. You will get to see new options that werent there before. Enjoy!
[Nexus 6 Android Development] DreamFX:
Will do. Thank you! Any plans to bring in those Resident Evil themed governors again? I forget why you removed them.
[Nexus 6 Android Development] apophis9283:
I couldnt get UMBRELLA_CORE or RACCOON_CITY to work
[Nexus 6 Android Development] 875295391:
I can not set min cpu to 35HZ,and Zen hotplug has been removed.
[Nexus 6 Android Development] apophis9283:
I have no issues setting mine to 35. I removed zen decision. I will bring it back in time. Make sure you flash the new ukm zip
[Nexus 6 Android Development] DreamFX:
I second that 35 sets just fine.
[Nexus 6 Android Development] 875295391:
Yeah,Flashing UKM,then sovle it.Thanks.
[Nexus 6 Android Development] apophis9283:
OK, I just uploaded kernel version 1.5.1, I added back ZEN_DECISION, to get ZEN_DECISION YOU MUST FLASH 1.5.1 AND UKM-VORTEX-2.

yOU WILL THEN HAVE ZEN-DECISON. Also added this commit (Wakelocks: Reduce Wlan_ctrl, default wlan_rx to divisor of 5 and hsic to 6)

Enjoy, didnt want to leave anyone out who wanted to use ZEN_DECISION.
[Nexus 6 Android Development] apophis9283:
Also you guys realize that if you use my UKM youll see a settings above the 4 governors. If you set that one and hit the checkmark whatever governor you have there will set all the cores to that governor. I realize it doesnt change then in there settings but it does change all 4 cores so you dont have to set them seperately
[Nexus 6 Android Development] apophis9283:
Hmm, I would suggest just one setting for everything. Mythx_plug, Umbrella_core, Interactive_pro (which is default). try those governors. I would leave gpu alone and use stock. I use msm_limiter but dont do the each core deal. As far as cpu frequencies you shouldnt need to go to 3033, i would try 2880. frequency boost off for you, if you play a lot of games. leave cpu voltage as is. Hotplug try either BLU_PLUG or AUTOSMP without using single core with screen off. thermal leave as is. Screen is up to you, what ever make you happy with the presets or stock.wake controls up to you. Sound is irrelevant. Battery is up to you. I/O use TRIPNDROID, no tuneables because they arent needed. everything else stock. KSM can be turned off for better cpu usage. LMK stock. up to you if you want to use Zram.I would disable BCL but if you start getting reboots, re-enable it.For wake locks I disable smb135x and bluesleep. Hopefully that will get you started and you can judge from that what would need changing
[Nexus 6 Android Development] str8str:
Been noticing blu wake lock doesn't like to stay disabled. It will turn back on after reboot
[Nexus 6 Android Development] mwebb34:
What CPU governer is everyone using?
[Nexus 6 Android Development] J3D1mineTR1X:
Not sure if this is the right place to post this question. If it isn't, I apologize. How do I remove the singularity splash screen at boot up?
[Nexus 6 Android Development] nodnarb91:
Flash the ROM you're using with it.
[Nexus 6 Android Development] :
Thanks, I'll check into it.

You mean the bluesleep one?

I just checked, it's in the startup commands when it's toggled.

Can you do this after boot?

adb logcat | grep "kernel adiutor"

And see if you see the line for bluesleep?

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] modernbummer:
I've been getting "no sim" weirdness and then the screen goes black to where only the back button is visible. I thought I saw mention of this a while ago. Is it related to BCL?
[Nexus 6 Android Development] :
No idea, I've never seen anything like that. Did you just flash a new rom or something? Maybe a hard crash corrupted something?

*edit*

Thinking about it, that back button with the rest of the screen being black is something I've seen in cm based roms. It's like it hangs before it can draw the entire ui.... One of many cm specific bugs that pushed me back to PN with cmte.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] modernbummer:
No, I'm on danvdh's stock lite ROM.
[Nexus 6 Android Development] :
weird.

If it happens again and you're near a computer... You should try to get logs.

adb logcat > logcat.txt
adb shell dmesg > dmesg.txt
[Nexus 6 Android Development] :
So I've been trying to figure this out.

Not entirely sure what's going on here. The proper commands are in the command last to run on boot. It's just not happening... Might not be a quick fix.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] Rsquared226:
Hello! I'm a little new to rooting and XDA in general, so please forgive me if this question seems a bit foolish:

If I disable USB fastcharge through the modified Kernel Auditor, will it still be off even if I power my phone off and charge it? I charge my phone at night with it turned off.

Also, in case this matters, I enabled the "apply on boot" setting.

I'm disabling USB fastcharge since I've heard that it's better for the battery in the long run, and I'm planning to keep this phone for a while (2-3 years). Please correct me if this is wrong!

Also, this is an amazing kernel! :D Thanks for making it!
[Nexus 6 Android Development] :
The usb fast charge didn't affect anything while the phone is offline.

If also doesn't affect anything if you're using the ac adapter and cord.

Its purely to make it draw a little more juice while it's connected to a usb port on a computer.

Sent from my Nexus 6

If I've helped you, don't forget to hit thanks!
[Nexus 6 Android Development] Rsquared226:
Ah ok. Thanks the quick reply! :D
[Nexus 6 Android Development] mwebb34:
Should i apply CPU voltage?

---------- Post added at 06:43 PM ---------- Previous post was at 06:42 PM ----------

There is a app in google play called bhoot check it out Theres also a app called boot box
[Nexus 6 Android Development] apophis9283:
If you look at the OP where you got the splash for Singularity, then you missed the zip that restores it to stock. They are right next to each other
[Nexus 6 Android Development] mwebb34:
Would 104°f be to low for thermal?
[Nexus 6 Android Development] :
VERY low.

I made the lowest possible setting 40C/140F as the lower sanity bound for that tunable... Not because it *should* be used, but because anything below that would be insane. With 90C being the upper bound, because anything above that would be insane.

Stock is 70C.

Keep in mind that that tunable is the initial frequency step down. The other stages will be: Stage # * temp step past that threshold.