yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] apophis9283:
Still getting a few things together. Updated to Linux 3.10.94 and a few other things, but thanks. I still think theres room to improve. Just taking small steps.
[Nexus 6 Android Development] apophis9283:
If theres anything you all would like to see in the kernel, let me know. I have some stuff exposed in the kernel but couldnt get UKM to accept it. Once Yoinx gets back Ill ask him to look at it
[Nexus 6 Android Development] KonoeKyon:
PwnKernel has some interesting features for pen testing though I'm not sure if that's something you'd be interested in adding to this kernel. Then you have the packet scheduler stuff from despair kernel, which might be useful for some people depending on network conditions etc.

Another question, for the GPU on other kernels it goes into 'idle' when nothing is using it, you can see it happen in some kernel tweaking apps such as exkm and kernel adiutor. This kernel seems to just sit at 100mhz instead of turning to idle. Is this intentional? Just a curiosity I noticed.
[Nexus 6 Android Development] apophis9283:
I added a commit in dealing with that. Ill look tomorrow and make sure its not making any "unwanted" features
[Nexus 6 Android Development] apophis9283:
I forgot to respond to your second part. Absolutely. I will look into adding it if i can i.e. it doesnt cause issue with code we already have
[Nexus 6 Android Development] :
What are the sysfs paths and are you able to change them by hand?
[Nexus 6 Android Development] apophis9283:
Id have to pull the links or sha numbers
[Nexus 6 Android Development] apophis9283:
I think by reverting that commit, gpu should go to idle. Im working on it all now. Doesnt mean there will be a release.

Think I grabbed all the packet stuff as well. Gonna take some testing to make sure nothings borked

So far around 2 pages of new stuff. I just flashed it, see how it goes
[Nexus 6 Android Development] apophis9283:
Alright, I updated UKM to V-1.1. Very small build.prop edits. The kernel has over 2 pages worth of additions. It also has been updated to V-1.1. All in the OP.

Side Note. As Christmas gets closer development will slow, and of course pick up after New year's.

Give V-1.1 a shot.

You can see all changes here: https://github.com/team-vortex/Singularity/commits/apophis9283?page=1
[Nexus 6 Android Development] KonoeKyon:
Tested it out, I was able to change the packet queue algorithm to fq_pie but that's it, looks like it's missing some of the others such as cake. I saw the commits were brought in for them but looks like you only enabled fq_pie in the defconfig.

As for the GPU it still sits at 100 instead of 'idle'.

Oh and what about the commit to lessen the red tint at low brightness?

Anyway thanks for the kernel!
[Nexus 6 Android Development] apophis9283:
Ill look more in it tomorrow. Ill try and fix CAKE. I think I reverted the redness at low brightness, that will be easy to handle. The gpu deal may take a little looking into
[Nexus 6 Android Development] KonoeKyon:
Cool, thanks again!
[Nexus 6 Android Development] apophis9283:
Yep, Ive already pulled in arm/dts: shamu: decrease reddish color at low brightness

So that's one down. Ill work on the others as I get spare time
[Nexus 6 Android Development] KonoeKyon:
Also it's not just cake not working, fq_codel isn't working either.
[Nexus 6 Android Development] adio201:
Dumb question but will this work with 6.0.1?
[Nexus 6 Android Development] apophis9283:
Says it will in the title
[Nexus 6 Android Development] apophis9283:
He has these commits spread over a lot of time. There is a way you can usually do this. But there are many files that need changed. Its gonna be hit or miss till I get them all
[Nexus 6 Android Development] KonoeKyon:
No problem! Take your time.

I'm really liking the kernel so far BTW. Plenty of options to play around with.
[Nexus 6 Android Development] apophis9283:
Check back in 30. Ill have a test kernel
[Nexus 6 Android Development] KonoeKyon:
Alright, at work now but I'll check it out on first break in a few hours!
[Nexus 6 Android Development] apophis9283:
Never mind. Im gonna have to revert everything and start frersh

FYI the packet stuff wasnt working cause I missed over 50% of it lol
[Nexus 6 Android Development] KonoeKyon:
Ah didn't realise how large of a thing that was. Thanks though!
[Nexus 6 Android Development] apophis9283:
Im getting in it. It should work fine once im done. Just taking awhile
[Nexus 6 Android Development] apophis9283:
Getting an error. Its pissing me off

EDIT: after 40 times of me thinking I had the last commit. I finally do. It compiled and it required quite a few commits. Ill flash it now and run it tomorrow. If its stable and works well, Ill release it
[Nexus 6 Android Development] apophis9283:
[MENTION=5293130]KonoeKyon[/MENTION] what are you using to change the schedulers?
[Nexus 6 Android Development] KonoeKyon:
Terminal emulator, use

tc qdisc

to display what each network adapter is currently using, if you want to change it you use

tc qdisc add dev wlan0 root cake
tc qdisc add dev rmnet_usb0 root cake
tc qdisc add dev rmnet_data0 root cake

that would set the 3 adapters to use cake.

You can ignore the error about Android not supporting it, so long as if you type in

tc qdisc

and it shows each adapter using the scheduler you chose.

If you want it to apply at boot just make a su.d script with the commands.
[Nexus 6 Android Development] apophis9283:
Nifty. Everything should work. Enjoy. If i get extra time ill look into making a script
[Nexus 6 Android Development] KonoeKyon:
#!/system/bin/sh
sleep 60
tc qdisc add dev wlan0 root cake
tc qdisc add dev rmnet_usb0 root cake
tc qdisc add dev rmnet_data0 root cake

That's what I use in my script, simple enough, I'll test it out after I download the kernel.
[Nexus 6 Android Development] apophis9283:
Ill try and make a flashable for everyone to use
[Nexus 6 Android Development] apophis9283:
Kernel V-1.2 is up. A few commits I missed earlier, the biggest thing was a user request. Enjoy
[Nexus 6 Android Development] KonoeKyon:
Just reporting in to say everything seems to be working :good:
[Nexus 6 Android Development] str8str:
Running great. I can say that this kernel has surpassed anything available for our device. You've done a great job bud looking forward to the new years surprises.?. When you run the best?the rest. Lol

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Very glad to hear everyone is enjoying it, and it is working well.
[Nexus 6 Android Development] chirag2718:
can i flash this kernel on my S3 CM 13?
[Nexus 6 Android Development] miguelito18:
[MENTION=7119311]chirag2718[/MENTION] no lol. Only for nexus 6

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

New version running great!!
[Nexus 6 Android Development] apophis9283:
No, you need to go to the S3 section. This is only for Nexus 6
[Nexus 6 Android Development] chirag2718:
my bad guys :( dint see anything about nexus 6 so thought its for S3

anyways gr8 work bro ?
[Nexus 6 Android Development] apophis9283:
If you look at the top, it does state Nexus 6 development.
[Nexus 6 Android Development] apophis9283:
If you guys like the kernel, could you rate the thread?
[Nexus 6 Android Development] apophis9283:
Im trying to get dt2w to set center(default) by default but since Yoinx re-wrote the thing having issues
[Nexus 6 Android Development] str8str:
Done

Straight Shooter
[Nexus 6 Android Development] apophis9283:
I just edited most of the governors, should be more tru to what they are supposed to be

Thanking you all for taking the time to do that
[Nexus 6 Android Development] :
How so? The driver used the same sysfs paths and values. I just added to them.
[Nexus 6 Android Development] glockman4519:
Great kernel. Everything working very smoothly. I also rated the thread. I am really liking this kernel....
[Nexus 6 Android Development] apophis9283:
it shows it eneabled but i dont see where to set that

Also I removed SmartMax governor seeing as its redundant

EDIT: DT2W will be enabled by default from now on. Yoinx popped in for a second
[Nexus 6 Android Development] sefurd:
Works fine for me.
[Nexus 6 Android Development] DreamFX:
Rated
[Nexus 6 Android Development] apophis9283:
Brought back stock ONDEMAND and brought in INTERACTIVEX
[Nexus 6 Android Development] apophis9283:
I forgot where I got the 6.0.1 bootloader. Need it so I can use the tool to change my logo. Any ideas
[Nexus 6 Android Development] KonoeKyon:
I just download the factory images whenever they show up, not sure if anyone has posted the bootloader on xda yet or not. But it's the same as 6.0, hasn't changed with 6.0.1
[Nexus 6 Android Development] DreamFX:
Latest bootloader and radio in one twrp flashable zip. https://www.androidfilehost.com/?fid=24269982087014293
[Nexus 6 Android Development] apophis9283:
You would be wrong. I can tell you one thing that changed, in 6.0 the reboot, recovery and so on were colored. Now they are all gray
[Nexus 6 Android Development] KonoeKyon:
Interesting since the bootloader has the same md5sum, I'll check that out when I have access to a computer tomorrow.
[Nexus 6 Android Development] DreamFX:
You're right. Mine are grey now as well. I hear a lot of people saying it didn't change. But aosip devs said it did that's where I got zip.
[Nexus 6 Android Development] jcrompton:
Sorry if my search is missing it ....... Will this kernel work with the new systemless root like SuperSU 2.62?
[Nexus 6 Android Development] apophis9283:
should work fine. Make a backup
[Nexus 6 Android Development] jcrompton:
Hey thanks ..... I've been busy out of town and working. Will try tonight.
[Nexus 6 Android Development] apophis9283:
need that bootloader image for that tool. I found it once, but cant find it again
[Nexus 6 Android Development] jcrompton:
OK so I flashed the kernel on a systemless root SuperSu 2.62r3.

Found out you have to reflash SuperSU and the flash UKM after you flash SuperSU

You also have to install Busy Box in the ROM after booted to get UCI support

Unfortunately Synapse still doesn't recognize the settings in the kernel. For example the only listed governors are the very basic ones. Also no hotplug options.
[Nexus 6 Android Development] apophis9283:
Hmm, everything is working great here. Busybox should come with UKM. I have yet to try and flash something on a non rooted ROM. If I knew the ROM had no root I would flash SuperSU when I flashed the ROM
[Nexus 6 Android Development] jcrompton:
It's not that the ROM is non rooted ..... The systemless root works different. Usually if you flash a kennel on even a ROM that you have already got systemless root on it, the root will often be lost and has to be reflashed. I've just found that it works really weird.

Probably gonna be an issue as more people start using

PS. Tried to make the post and suddenly lost my cellular radio with the new kernel. Couldn't get back with reboot or cycling airplane mode. May be even some problems with the systemless stuff. I'm using Stock Lite ROM with Cataclysum and SuperSU 2.62r3
[Nexus 6 Android Development] apophis9283:
I use one of the main 3. Catyclysm. Chroma and Pure Nexus. No issues. If they decide to tamper with their ROMS, thats on them. Eventually I think Im gonna have to make it CM compatible.
[Nexus 6 Android Development] jcrompton:
Understood ...... But this will for sure be an issue with Chroma ( most likely) since it comes in a systemless flavor

Already see posting about other apps that require busy box. Something weird happens with busy box on systemless root
[Nexus 6 Android Development] apophis9283:
Yeah they can work all that out. If I come across commits to support it, Ill grab them. Just not gonna go searching. Stuff's just getting a little ridicolous
[Nexus 6 Android Development] jcrompton:
I understand but with all the systemless root stuff I'm sure it's gonna be one more issue to worry with eventually. Because Synapse is the only app I've had trouble with but there have been a few others reporting some issues with apps that require Busybox

Thanks for your work
[Nexus 6 Android Development] DreamFX:
Will someone tell me one advantage of systemless root? Just one? Android pay doesn't work but on stock roms so that can't be a positive. I don't see a point to systemless root. Other than saying hey I'm running systemless root I think I'll stay away from it. I don't forsee it being the future of rooting. But hey who knows.

---------- Post added at 09:33 PM ---------- Previous post was at 09:32 PM ----------

I agree 100%. I love my normal root. If it ain't broke don't fix it.
[Nexus 6 Android Development] apophis9283:
Here is the "advantages"

A cleaner approach and design

Easier unroot

An unlittered /system partition

Excludes things like “sugote”, which are not needed on Android 6.0 Marshmallow

OTA’s are slightly easier now, as reflashing boot image is usually a lesser hassle than reflashing an entire /system.

Most importantly, this does not soft brick your device if you do not have the correct kernel installation. Previous methods to root Android 6.0

required a SELinux policy patch in the kernel, without which, the device would not boot. With this method, if the supporting kernel is absent, you

won’t have root but the device will boot.

Just not seeing anything awemazing in fact it seems more of a hassle

Even if this is over android pay

Update: Reddit user MajorNoodles has informed that Android Pay works on his Nexus 5. Chainfire, on his Google+ post, does mention that the working of Android Pay is by accident and not by design. He expects Android Pay to be updated in the future to counteract this.
[Nexus 6 Android Development] jcrompton:
Some good points ..... But I saw some posts in another device forum talking about using the systemless root on stock ROMs that don't have unlocked bootloaders. Seems it might be the direction that Chainfire is going though

But I guess along those lines, my Lollipop ROMs certainly weren't "broke". Lol ?
[Nexus 6 Android Development] apophis9283:
I can see it being useful in those situations. Nexus 6 is completely open source and easier to unlock.. This is definitely not one of those situations
[Nexus 6 Android Development] DreamFX:
Nice answer.
[Nexus 6 Android Development] jcrompton:
OK. Less controversial ....... What will it take to have CM 13 support?
[Nexus 6 Android Development] apophis9283:
Dont know yet, I havent tried using this to boot a CM 13 rom
[Nexus 6 Android Development] apophis9283:
I was in no way trying to bash Chainfires work. Hes a god. He keeps us all rooted, I just dont get the whole idea.
[Nexus 6 Android Development] :
Traditionally... You need to root to unlock the bootloader on most devices... So that doesn't make much sense.

The main issue I think is the introduction of dm-verity with marshmallow. If this isn't disabled it detects changes to /system and deems it tampered with. Most custom roms/Kernels are simply removing the service from init. However, a systemless root shouldn't be detected by this service in the first place. What that means it's that you should be able to have root while maintaining whatever added security from dm-verity. Sorta like how most devs have been working hard to prevent you from having to run in permissive as that's a huge security hole.

Just my two cents.

---------- Post added at 07:56 AM ---------- Previous post was at 07:55 AM ----------

It would depend on what changes cm made to the kernel, and whether or not those break anything in aosp.

Just looking at the couple of commits that they have to it, if it doesn't work... I blame this one. https://github.com/CyanogenMod/andr...mmit/86cdbc0ee5a5d4bc7dbf8f8021d2e17af4d50079

Like like their hardware service expects that node. I'd expect that to break compatability with aosp by picking it. It might be possible to just create a duplicate of linked node to appease both of that's the case.
[Nexus 6 Android Development] apophis9283:
My thoughts about your first post. Stay off pornhub
[Nexus 6 Android Development] :
You aren't my mom.
[Nexus 6 Android Development] apophis9283:
trololol
[Nexus 6 Android Development] apophis9283:
If you want to show support for Singularity Kernel. I now have a flashable zip that edits the splash screen for Singularity Kernel. Its independent of Bootloaders so that doesnt matter.

Its at the bottom of the OP or the link is here = https://www.androidfilehost.com/?fid=24269982087019187

Huge thanks to Droidphilev for throwing it together for me.
[Nexus 6 Android Development] baboomerang:
Synapse keeps Erasing Profile

Somehow even though all the settings are correct, if I reboot my device or shut it down, the whole thing just erases my saved profiles and config. I have to input all my settings 24/7! Anyway to fix this? Ever since the original HSB, all my settings get erased regardless if its stable or not.

EDIT: I changed the touch boost speed only, applied it then rebooted. Finally I waited 2 minutes and loaded synapse. I get synapse boot cancelled every single time?
[Nexus 6 Android Development] apophis9283:
Mine stick now. Do you have synapse set to stability check? Not sure why yours arent sticking
[Nexus 6 Android Development] baboomerang:
I have it set off always. I have apply on boot on only. Would it be useful if I said I was running Pure Nexus 6.0.1_r3 and I have xposed v78 running. Could there be an interference with those things?
[Nexus 6 Android Development] apophis9283:
Not sure. Now it seems to be acting up again. Let me investigate. I havent changed anything to cause it not to work. Not sure
[Nexus 6 Android Development] str8str:
Ya it never has worked for me either. Settings never restore after reboot. I have to open synapse then restart it only then will it show my saved profiles. Then I pick the one I want to restore hit the check mark then hit restore then restart then x to load. A lot of crap to go thru

Straight Shooter
[Nexus 6 Android Development] apophis9283:
Thats so weird. It was working great for me. I mean afetr a normal reboot all my settings were kept. If I get it going again. Ill shoot a small video
[Nexus 6 Android Development] apophis9283:
Im uploading the video to youtube. Its taking forever. But you all will finally see how i can setup Synapse and reboot go back into Syanpse and keep all my settings. Ill be happy to lay this to rest
[Nexus 6 Android Development] apophis9283:
Here is proof positive Synapse holds settings after a reboot. I even rebooted two more times, and always it pops up Synapse boot completed.

Heres the video https://www.youtube.com/watch?v=Jc3j3C-mlO0&feature=youtu.be

I know its not the best but it shows you its working fine.

Off to bed now, have a good one
[Nexus 6 Android Development] str8str:
OK but have new issue with kernel auditor. I can't use it with this kernel. Once I reboot after installing it it will just keep rebooting I have to delete the app via recovery. But only does this with this kernel. It's something to do with su permissions and the kernel and kernel auditor. Once su gets to kernel auditor after a reboot it freezes and reboots. If I flash say despair kernel alls good. No idea why but started happening a few builds ago. I'm not sure if it's kernel or the kernel app but something is not playing nice

Won't let me change build prop settings with this kernel but again with a different one it does. I'm lost on this one

Straight Shooter

---------- Post added at 01:46 ---------- Previous post was at 01:43 ----------

Which version of super su are you using

Straight Shooter
[Nexus 6 Android Development] apophis9283:
2.52 beta SuperSU,
[Nexus 6 Android Development] str8str:
OK fixed issue with kernel auditor. Had some data corpses lying around that were causing it. Good old sd maid fixed it now to see bout synapse there were some old ones there for it as well

Straight Shooter

---------- Post added at 02:20 ---------- Previous post was at 02:13 ----------

Wow works like a new phone again. Guess there were done old settings that were some how messing it up. Ran sd maid reinstall kernel auditer put my settings in choose apply on boot rebooted and bam everything stayed the way I set them and it stayed booted didn't keep rebooting

Straight Shooter

---------- Post added at 02:59 ---------- Previous post was at 02:20 ----------

Do you have synapse installed to system?

Straight Shooter
[Nexus 6 Android Development] clothednblack:
Figured I would give this kernel a shot, seems to be working great so far.

Pure nexus 6.0.1

Systemless root

Using kernel auditor because synapse said it wasn't compatible.

All is well at the moment, thanks.
[Nexus 6 Android Development] DreamFX:
+1 for SD maid.
[Nexus 6 Android Development] apophis9283:
No synapse is installed as user
[Nexus 6 Android Development] apophis9283:
Did you flash the UKM at the bottom of the OP? Synapse needs UKM to be installed
[Nexus 6 Android Development] clothednblack:
Nope, I over looked that zip. Will flash it this morning. Thank you
[Nexus 6 Android Development] apophis9283:
Want to thank all those who have supported me since the beginning and have hung in there trough the rough times. Thank you all
[Nexus 6 Android Development] clothednblack:
Update

Flashed ukm, set everything up, but then I'm told that I nolonger have root and I get a bunch of red text errors in synapse. Maybe it doesn't like systemless root?
[Nexus 6 Android Development] apophis9283:
Im honestly not sure. We had a discussion about it, I didnt see the point of systemless root and all (argument saved for another day). It may not like it. If this is the case then you will have to use what ever kernel app that works
[Nexus 6 Android Development] clothednblack:
I will go back to kernel auditor, set it up again and see what happens. Just flashed this kernel last night so I haven't had the opportunity to narrow it down. Is there a zip to remove ukm or does that matter?
[Nexus 6 Android Development] apophis9283:
There is I dont have it in the thread. I should be able to grab it and post it below the op
[Nexus 6 Android Development] clothednblack:
Awesome, thanks. Just rebooted (without Reflashing root) root apps work again and so far no issues with the other kernel adjuster app.
[Nexus 6 Android Development] apophis9283:
There is now a UKM uninstaller below the OP. Probably should have done it sooner
[Nexus 6 Android Development] apophis9283:
I just want to throw this out there, Im not alienating the users who choose systemless root, but I will not respond to issues you are having. For two main reasons, its a beta and I think the idea is bad. If you have issues caused by anything else feel free to drop me a line, Ill do my best to fix it. :)
[Nexus 6 Android Development] ghostman256:
I have a 2.0 charger, but for some reason with this kernel, its charging extremely slow. Is there a way to check if fast charge is enable?
[Nexus 6 Android Development] apophis9283:
In synapse. I will make it default on in the next build.

Also I changed around the OP. I have the things listed, then credits at the bottom. I even uploaded SuperSU 2.56 which seems to be the last SuperSU before he switched to systemless method. I gave all credit where i is due.
[Nexus 6 Android Development] apophis9283:
I would be optimistic for a release today. A few added things but some fixes as well
[Nexus 6 Android Development] apophis9283:
OP updated to V-1.3. Enjoy

Edit: Everything running great here.
[Nexus 6 Android Development] apophis9283:
I updated the OP with a picture of our logo so you could see it before flashing. It looks great, the black blends in with the rest of the screen and all you see is the main logo
[Nexus 6 Android Development] str8str:
Can't you just delete it from system etc,init'd? With a root file explorer. That's what I usually do. No need to flash.

Straight Shooter