yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] engine95:
Thanks. ?

Gimme a day or two, and I'll PM you with instructions on how to build the kernel. I kept it really simple if you follow XDA kernel building. And a virtual machine works good, just slower

Oops, almost forgot, I didn't add double tap anything. I've kept it easy as I don't have a lot of time. My attempts at the 715 have been a pain and I need to start it over.
[Galaxy Tab S2 Android Development] andyroidking:
Sounds great! Take your time. I'm in no hurry and won't ask for an eta!
[Galaxy Tab S2 Android Development] NeWONEx:
Why T815 doesn't have one ? ^-*
[Galaxy Tab S2 Android Development] engine95:
Haven't had the time. :( 715 is almost done but probably not for another couple weeks. 815 is next.

I'm doing them in order of the prior download numbers.
[Galaxy Tab S2 Android Development] balakay4312:
Any chance this kernel will have overclocking "ported"?
[Galaxy Tab S2 Android Development] engine95:
Probably. Once I get a couple more built, I'll visit doing some more add-ons.

I won't build Synapse again, and that's what we've had to use in the past. Unless I get more time.
[Galaxy Tab S2 Android Development] engine95:
715 is uploaded to AFH. IT IS ALPHA AND UNTESTED!!!!. You are responsible if you test this!!

If you would like to test it, look me up on AFH. Let me know if it works and I'll post it here.

MAKE SURE YOU BACKUP YOUR FULL ROM!!!! ONCE YOU INSTALL THIS KERNEL, YOUR ROM IS MODIFIED!!!! YOU CANNOT JUST FLASH BACK THE STOCK KERNEL!!!! FULL ROM RESTORE ONLY.

[MENTION=7078341]majorkid[/MENTION] since you requested it. ;)

815 source has been requested. Hopefully it won't take too long for Samsung or myself to get it built. :fingers-crossed:
[Galaxy Tab S2 Android Development] rafik25:
Hello kernel and supersu ok for 810 model but kernel is enforcing is it normal plz ?
[Galaxy Tab S2 Android Development] engine95:
Yup. The link is in the OP. Use Kernel Auditor to set it Permissive.
[Galaxy Tab S2 Android Development] rafik25:
Any idea why viper4android need drivers in all reboot i use selinux mode changer plz
[Galaxy Tab S2 Android Development] engine95:
I don't use it or xposed. They both slow down the Tab. You'd need to go to their threads and see whats up.

[MENTION=7934229]xdalemons[/MENTION] Was it you that requested T817w 3CQE4 about a month ago?
[Galaxy Tab S2 Android Development] engine95:
*NEW* 815 is on AFH Untested and Alpha!!!!

See/Read this post before installing. https://xdaforums.com/showpost.php?p=73088462&postcount=18

715 is still untested also

V2 is in the works. OC/UC will be in it. It's giving me some issues, but I think it'll work with Kernel Auditor in OP.
[Galaxy Tab S2 Android Development] balakay4312:
I am more than happy to test V2 :D

I have an 810
[Galaxy Tab S2 Android Development] engine95:
Just a little update:

715 - no downloads, so still untested

815 - 1 download and I haven't heard if it works

817w - I have source and started working on it. Probably a day or 2

As for V2, I have the 710 done-ish.

The delay is, I cannot get the BIG CPU settings to stick. It's OC to 2.0Ghz, UC to 500Mhz. The problem is it resets to stock when sleeping. Otherwise, it works just fine.

LITTLE works fine at OC to 1.5Ghz, UC to 200Mhz.

These are as high/low as they will go. Samsung has changed back to their normal voltage ways. And I will not be messing with PLL's, Gates, dvfs, avs, etc, ever again. Sorry.

From what I'm seeing on the DL's, 710 for me, and 810 for the majority of DL's, will be getting updated. The others have little to no interest.

Edit I can make the settings permanent for OC/UC, but i would prefer not to. Some probably just want the extras I'm putting in.
[Galaxy Tab S2 Android Development] efebe:
are u gonna make one for 810?
[Galaxy Tab S2 Android Development] engine95:
As I said in the post. 710 for me and 810 because it has majority of DL's. Will be getting V2
[Galaxy Tab S2 Android Development] Androbots:
Please enable overclock (just for testing)
[Galaxy Tab S2 Android Development] balakay4312:
Currently there are problems with the overclock not staying after sleep and I doubt the developer will take time away from fixing this issue to try and add the overclock to 3 other devices then compile it all.
[Galaxy Tab S2 Android Development] engine95:
817w is on AFH. It is ALPHA AN UNTESTED!!! See/Read this post . https://xdaforums.com/showpost.php?p=73088462&postcount=18

715 still untested. [MENTION=7078341]majorkid[/MENTION] since you requested it

815 1 download but no word. So still untested. [MENTION=6055205]NeWONEx[/MENTION] since you requested it

817w untested. [MENTION=7934229]xdalemons[/MENTION] since you requested it

710 and 810

We will be getting V2 as I've said. By the end of the day, my git will have all the extras, EXCEPT OC/UC.

"LITTLE" is working just fine. It's the "big" that is giving me fits. It refuses to stick when going to sleep. I can set it when built, but I just don't feel comfortable releasing a kernel that "is Set" at OC. I've built it over 18 times so far with the same results - "big" resets to stock when sleeping. I'll keep messing with it for another day or two.

I may release it, even with it's flaw for "big". You would just have to OC/UC it everytime you use it.
[Galaxy Tab S2 Android Development] NeWONEx:
[MENTION=1280108]engine95[/MENTION] wow i checked this thread yesterday but i didn't see T815 version. Will download now and test.

Thank you [emoji1]

Edit:

Just work fine. I'll try to encrypt my tab sense nougat update i can't encrypt + root because of root dm-verify keep firing.
[Galaxy Tab S2 Android Development] engine95:
dm-verity had been removed in the kernel also. So I'm not sure you can encrypt it.
[Galaxy Tab S2 Android Development] NeWONEx:
So real, encryption failed .

I'll try to encrypt then flash your kernel (Will start from clean flash .
[Galaxy Tab S2 Android Development] Androbots:
Honestly I just want to ask if the dev can release a version of this kernel for the exynos tab s2 i.e t710 and t810 which supports overclock to like atleast 2.2ghz i don't mind about unstable and buggy stuff or if my tab s2 explodes or become a slim brick but still please anyone?
[Galaxy Tab S2 Android Development] engine95:
2.0 big, 1.5 little is all I'll release. That's what Samsung has built in. They've changed how voltages are used now, and I won't go through that again.

I know for a fact, this tablet can't handle 2.2 big. It barely handled 2.1.

If you'd care to try, downgrade to L and use my kernel built for OC @ 2.2. You'll need to use Synapse for it.

Or, use my source on git and modify it.
[Galaxy Tab S2 Android Development] Androbots:
That should be enough then Thanks!
[Galaxy Tab S2 Android Development] balakay4312:
Do you think there are any other developers willing to help build synapse for you or help with the OC/UC?
[Galaxy Tab S2 Android Development] balakay4312:
Do you think using synapse would fix the OC being reverted during sleep? If so I don't mind (Im sure many others wouldn't mind either) waiting for it to be built if that is why you wont build synapse, but if it from it being a pain then that is fine. :D ;)
[Galaxy Tab S2 Android Development] engine95:
V2 for 710 and 810 in OP big is still an issue, but I'm giving LITTLE more weight as it's more efficient.

I'm really not sure what's going on. I'm thinking it's the way "M" and "N" sleep.

I'll try to keep this simple, as it's a lot more complex.....

Synapse, and that's what I'll keep calling it, is just the interface we use to make the changes.

UIC is what needs to be built into the kernel for Synapse to work. It uses JSON which is what Synapse works from. It's basically a custom kernel control that I have to find all the references to make Synapse work. It takes about as long to build the UIC as it does to build the kernel.

And time is what I don't have a lot of right now.

I haven't built Synapse since Jellybean, so I'm sure there's a new learning curve for it. I may mess with it now that I'm only building for the 710 and 810. I thought I would be building for more kernels originally. But interest has seemed to wane.
[Galaxy Tab S2 Android Development] balakay4312:
If there is anything I can do to help then I'm happy to try and do it. I haven't built a kernel or made anything like this but I'm happy to learn as there are tutorials on XDA. I could maybe even try build synapse for you :)
[Galaxy Tab S2 Android Development] engine95:
V3.20 for 710 and 810 are in OP

All I've done is bring our kernel up to v3.10.20. It's originally v3.10.9. To see this go to "Settings/About device" and look at the "Kernel version."

I could be very long winded about why, but no reason to.

Android runs on top of Linux. And while Google updates Android, No one updates Linux. Although Google is updating it's Linux kernel to 3.10.73 in "O". But current Linux Kernel for 3.10 series is up to 3.10.107. That means we still have 87 more patches for us to catch up! Who knows how far I will take this. It's a very time consuming task for me. And, because of this, I will only be doing the 710 for me and the 810 because it has a lot of DL's.

BTW, These kernels run fine stock. So don't feel you have to use a tuner for it to work. It's just an option.

My first attempt at Synapse failed, but I'll probably try it again in a couple days.

817w is still untested

Edit

Introducing these patches COULD cause problems with Samsung's Additions. So flog these to make sure I, (I had to fix a lot of these) or the patches themselves didn't break something. USB, WiFi, and Networking being the most common issues.
[Galaxy Tab S2 Android Development] Likos88:
Sm-t715

715 kernel work perfectly i just install it :good:
[Galaxy Tab S2 Android Development] skwinabab:
810 v3.20 kernel works. Thank you very much
[Galaxy Tab S2 Android Development] engine95:
Here's what's going on:

Patches:

I've noticed 2 things with the 710 since using 20.

1. The screen has a stutter when scrolling. Almost a screen freeze randomly for about a half sec.

2. USB with a VM is weirder than normal. I haven't tried it with Linux yet and Windows is just fine.

So to you 810 users of V3.20 - Are you having the same issues? Having something different?

Be critical and compare it to stock. It's easier to fix earlier rather than later.

Synapse:

Yup! I said it! I have a working Synapse. But there's a wee problem. I need permission for you all to use it. I'm just waiting to hear back.

I CAN NOT get Synapse (UCI) to build into the kernel. I think everything is there, but Synapse is VERY picky with UCI. I've tried 6-8 times/ways with no luck.

So I tried another way and got it to work! It's heavily modified to work for ALL of the Exyno S2's. But I can't release it without permission.

BTW, Synapse DOES NOT fix "big" not sticking on sleep. I guess I just haven't found what I need yet.

Future Kernels:

Yup. I said that too. With Synapse, I may just bring ALL 5 kernels up to V2. And I may try to give us all some more settings to tweak. We shall see

But my first priorities is to fix the screen stutter, then I need to work on Synapse some more and get permission.

Thanks for being patient. :D
[Galaxy Tab S2 Android Development] Dariusdd:
Honestly, I think you should do what you want (regarding Synapse). After all, you aren't paid by us. And I cannot set the processor frequency with EX kernel manager either way, so I'd rather use Synapse than kernel adiutor. I have been using v3.2 since last night on my t710, but now that you mentioned it, I tried scrolling through Twitter in the Samsung browser and it stutters like mad. It wasn't doing that before, but the tablet feels snappier than when I was running the previous kernel version.

While I'm also here, can I request a kernel version with the normal HMP behaviour? The 2nd version made my t710 feel the most sluggish it has ever been since upgrading to android M from L (but that might just be my biased opinion).
[Galaxy Tab S2 Android Development] engine95:
Good ole Synapse. As nice as it is for us with Exynos, it is a pain to get to work for all the settings I want and some we need. Just wasted 4hrs trying to get it to change schedulers. No dice. It's on the back burner for now.

The patches did make it run better. But something is wrong for sure. Not sure what I'll do on that option either.

I use EX also on my 5x. But as you said, no love for Exynos. Synapse used to do everything. But Kernel Auditor is our best option for now.

On the HMP, try upping the LITTLES to 1500 with Auditor. They're more efficient and aren't regulated by temps, like the bigs are. If you still have issues, let me know and I'll drop HMP back to stock.

I really just Dev with this tablet, so it's nice to here from someone that uses it normally. Thank you

Edit [MENTION=7333810]andyroidking[/MENTION] My apologies for not getting you a kernel for the 815! (I think that's what you have) It'll be up by tomorrow.

Edit 2

V2 for the 815 is in the OP!

.
[Galaxy Tab S2 Android Development] Dariusdd:
Hello and thank you for the response. I have been running it at 1500 MHz since flashing v2, but it feels like it heats up much, much faster than before. It might just be due to how hot it is outside, but it's been getting hotter in moments when before it wouldn't break a sweat (reading plain text .pdfs for example). Alongside that, I feel that the playstore is the most obvious place where I feel that the performance degraded with the HMP tweak, due to how sluggish it became to navigate through it. It might just be placebo, but I still felt the need to express my concerns for that.

Best regards, Darius
[Galaxy Tab S2 Android Development] engine95:
It's all good. I had a few minutes so I built this without the HMP tweak. https://www.androidfilehost.com/?fid=673368273298978081 - 710 only

See how this does and let me know.

Maybe this is the issue for the patched kernel. Hmmmm

And for 815, just in case they miss it. V2 for the 815 is in OP.
[Galaxy Tab S2 Android Development] andyroidking:
I have the 810 ;) . You haven't heard from me because everything is smooth. I have simple needs.... BTW, thanks for the kernel help. I am set up but still haven't had time to play. Real life is a mess right now...
[Galaxy Tab S2 Android Development] engine95:
Good to hear. Your welcome, and I know how that is!!

V2-715 is up and in the OP!!!!
[Galaxy Tab S2 Android Development] Dariusdd:
Hello, I have played around with the kernel version without HMP tweaks. Random stutters are not appearing anymore and it starts apps just a wee bit faster. But the OC frequencies do not get used for the little cores, and app installation and unistallation is at times extremely slow and unresponsive. It might have been just a bad occurence that happened twice for me, as I doubt you fiddled with anything related to the i/o, and benchmarking the tablet seems normal.

Best regards, Darius
[Galaxy Tab S2 Android Development] engine95:
.

V2.1 for 710, 810, 715, and 815 are in OP!! See/read changes and git. Still at 3.10.9

Thermals, voltages, throttling all come into play when using our Tabs. Especially with OC's. While the frequencies I added, for now, are included in Samsung source, they're built in. They just chose not to use them for the masses so they may not be set quite right. I can, and may, add a few more frequencies when I get Synapse straightened out.

Interesting thing about the HMP settings. On every kernel, no matter what is "built in" for it's settings, it ALWAYS reverts to "up_threshold 479, down_threshold 214. Just look in /sys/kernel/hmp. I've thrown every one of my kernels, and it has the same settings. Even Synapse. While it can change it to user preference, it'll always revert back to those numbers. I'm not sure what's up with HMP.
[Galaxy Tab S2 Android Development] NeWONEx:
Can you make default settings for Synapse ? As I don't know what to do after open Synapse specially for Thermal, CPU & (GPU).
[Galaxy Tab S2 Android Development] engine95:
I haven't released my version of Synapse yet. So the kernel will install and run with the defaults. And it runs good. ;)

I guess I really should be more specific in talking about Synapse. So I'll try to do that from now on.

Synapse is just the interface we use for the settings. It's the actual kernel tuner.

UCI is what Synapse needs to run. It's built into the kernel (I haven't had any luck with that), or, another option I've found is called UKM. It's a flashable .zip that'll install UCI and all the necessary files. That's what I'm working on.

The problem is us having Exynos CPU's. I'm having to heavily modify it to get it somewhat working. Exynos runs very different from the norm.

The issues with my version of UKM so far:

"big" keeps defaulting to 1700Mhz - it should be 1900Mhz. Once set though it's fine

CPU voltages will not set at default values. It's very broken

IOshed can't be set. It's at cfg only

HMP can be changed, but keeps defaulting to 479 and 219

I just barely got CPU govs to show up. But it's not right either

I've spent a lot of time working on UKM, and UCI built in. Neither one will be coming anytime soon. Even in UKM's somewhat working condition, I just can't release it even as an Alpha. It's just too unreliable. Besides that, It's very invasive, meaning that to uninstall UKM, you need to delete files manually.

Anyway, just flash V2.1 as is and you'll be just fine. Or use Kernel Auditor in the OP if you want to tweak it some.
[Galaxy Tab S2 Android Development] NeWONEx:
I'm on V1 . And I'm going to flash 2.1 than I'll wait your Synapse ver.

Thanks for your efforts making our tab powerful[emoji106]
[Galaxy Tab S2 Android Development] Androbots:
I haven't rooted my tab yet but still I will try root it and install this kernel.
[Galaxy Tab S2 Android Development] Androbots:
Can u send a geekbench screenshot with this kernel installed?
[Galaxy Tab S2 Android Development] engine95:
I don't believe in benchmarks. They can be skewed. Run a benchmark room temp will be slower than if you cool it in the fridge for 5 min. Temps make all the difference.

All I go by is how it runs. Fast and smooth, that's what I look for.
[Galaxy Tab S2 Android Development] Androbots:
Ok but I just wanted to know the scaling of performance increase and that I have still not rooted my tab so I can't flash the kernel so that's why I am asking in gkb 4.0 android 7.0 i got sc 1008 and mc 3980
[Galaxy Tab S2 Android Development] engine95:
Synapse version is out for testing on the 810!!!! Many things are added, but UCI still needs some polish. And will be a WIP.

Teaser: OC big 2.2 little to 1.6.

710 and 810 will be getting it first. And it may be a week before it gets uploaded. Gonna have me some playtime.

And no, it's not on AFH. lol
[Galaxy Tab S2 Android Development] engine95:
[MENTION=4237200]sebmue[/MENTION] Thank you for the donation! Very much appreciated!

I still have to build 715 and 815 kernels, then add UCI. But they should all be out next week.

810 booted and is working. Only issue really is Synapse doesn't survive a reboot. You have to clear the app caches then it'll work til next reboot. Easy fix? Don't reboot. Lol
[Galaxy Tab S2 Android Development] sebmue:
Sounds like good progress nonetheless! I'm ready to try all and every T715 approach :) T710 Kernel should do it as well, doesnt it?
[Galaxy Tab S2 Android Development] engine95:
Synapse enabled kernels for 710, 810, 715, and 815 are in OP!!!! You DO NOT have to use Synapse. These will install fine stock.

MAKE SURE YOU READ OP and POST #2!!!!!!!!!!!!!​

Let me know if 810, 815 and 715 work please
[Galaxy Tab S2 Android Development] Dariusdd:
With the processor slightly underclocked and setting the migration on the big cores it feels much snappier than before.

Thanks! I'll try it out a little more, but I cannot see anything to nitpick about yet.
[Galaxy Tab S2 Android Development] skwinabab:
810 works, thank you!
[Galaxy Tab S2 Android Development] majorkid:
The new sysnapse kernel V2.5 is working and running well on T715Y .. I don't have much knowledge of Synapse , I didn't tinker around with it but Hopefully I think it works ..

Thanks dev
[Galaxy Tab S2 Android Development] engine95:
Just a little update:

I finally got Synapse to survive a reboot!

I'm rewriting a lot of the UCI also. Very time consuming.

I have stats for GPU and Battery/Charging but haven't been able to find where they're at now. So don't expect those tweaks for a long time.

I need to work on the memory portion of UCI as I noticed a couple of the defaults are wrong. Samsung has some hard numbers in the init.rc and init.universal5433.rc now. So that's created some issues

Anyway, the final Synapse is almost finished for us. Just a few more things I want in there. But as I said, it takes a lot of time. The Synapse we have now works just fine. I'm just a little picky I guess.

[MENTION=4012079]curutiu.rares[/MENTION] I don't build for the 719. Sorry.

And going though our Nougat, I'm not sure you can anymore. I did it on the Exynos Tabs for Lollipop though but can't find anything in our kernel or Synapse that would help you. It's probably buried in SeLinux now, as I did find some traces there.
[Galaxy Tab S2 Android Development] engine95:
V2.51 for 710, 810, 715, and 815 are in OP. Final Synapse build

I've had a lot of freetime the last couple days, so here is the final Synapse builds. Everything works now. Even survives a reboot.

Enjoy :cowboy:
[Galaxy Tab S2 Android Development] NeWONEx:
It said I don't need to use synapse , so all options are default as you recommended?

Thanks for your work.
[Galaxy Tab S2 Android Development] engine95:
Thank you.

Yup. Some values I had to change for Synapse to work. But all values are stock. Just in different ways.

Synapse is only there if you want something stock doesn't have. I'm not going to make everyone run with the settings I might use as your use is probably different.

Some want fast and overclocked. While others want battery life. You can do all of that now with Synapse.

When I build the kernel, meaning actual source, I build it with improvements and updates for all. Although I did build it more for single for over multicore just because the LITTLEs are more efficient.

We have 4 LITTLEs and 4 bigs and they are mostly treated as single cores. The clocks are mostly the same all the time. Not like a home computer. That's why aftermarket hotplugging has mostly gone away. If 1 of the 4 cores is doing all the work, it'll get hotter than running all 4 cores.

I know, I rambled. ? Install it with or without Synapse. It'll be just fine.
[Galaxy Tab S2 Android Development] NeWONEx:
Thanks [emoji3] for explaining .
[Galaxy Tab S2 Android Development] Dariusdd:
Okay, so after a couple of days with v2.51 I can say that I am pretty sure that overclocking the processor to 2.2 GHz (in my case at least) is rather unstable and makes my T710 soft reboot. It worked smoothly at 1.7+1.2, albeit a fair bit slower when opening applications and in general operation. It also lost root permissions and Magisk would stop working after enabling fork migration on big cores, sometimes even soft rebooting.

[MENTION=1280108]engine95[/MENTION]: do you have any suggestions for voltage tweaking for a different cpu binning? Should I just go, raise/lower it normally and then adjust the voltage little by little until the tablet stops soft rebooting? As long as I am not applying the values at boot, it should be safe, right?

If it matters: ex kernel manager appears to properly work with exynos processors now.

Best regards,

Darius