[Kernel] [SM-G355M/SM-G355H] [CM11/CM12.1] OMKernel for Samsung Galaxy Core 2

ECr34T1v3

Senior Member
Jan 26, 2015
130
387
0
Aracaju, SE
ecr34t1v3.github.io


Hi guys.. I'm @ECr34T1v3. I am Brazilian, and I am a newbie. I came to bring a Custom Kernel for Samsung Galaxy Core 2 SM-G355H and SM-G355M (SM-G355HM not tested). All development work is due to @Caio99BR, I'm just an contributor and friend.
We are starting the Kanas Project. Starting with OMKernel.
He was released in with the intention to fix the clock bug the previous Custom ROMs (Based on CM11), made by @Ih24n.

Governators:
  • Performance
  • PowerSave
  • UserSpace
  • OnDemand
  • InterActive
  • Conservative
  • SPRDemand


  • Deadline
  • CFQ
  • Noop

* Your warranty is now void. *
* This kernel is 100% guaranteed won't eat your pet cat *
* No guaranteed this'll explode your device, be careful, follow the instructions ! *
* DON'T point at me if your alarm dies after flashing this kernel ! *


  1. Reboot to recovery
  2. Flash the zip
  3. Wipe cache and dalvik (optional, but recommended)
  4. Reboot
  5. Enjoy OMKernel!


  • Stable R8 Version A (More Recent): GitHub
  • Stable R8 Version B (More Recent): GitHub
  • Test Version R7 (29/08/2016): GitHub
  • Beta R6 (21/07/2016): GitHub
  • Alpha R5.1 (17/07/2016): GitHub
  • Alpha R5 (17/07/2016): GitHub
  • Alpha R4 (17/07/2016): GitHub
  • Alpha R3 (17/07/2016): GitHub
  • Alpha R2 (17/07/2016): GitHub
  • Alpha R1 (16/07/2016): GitHub


  • You tell me



  • @Caio99BR - Friendship and development.
  • @Ih24n - Having begun to launch Custom ROMs for Galaxy Core 2.
  • @InsideMuz - The beautiful icons in the post.
  • #SandroidTeam - Device Tree and Vendor Blobs of CM11.
  • #CyanogenMod Team - Source Code of CM11.
  • #Optimus Mania Team - Friendship and consideration, this work is dedicated to all of you (Fernando Santos, Gutemberg Oliver, Vinicius Martins, Alex Santos, Marina, Raian and Thay) and all members of Team Optimus Mania (Sorry if I forgot someone).

For Devs/Source:

Source Code for OMKernel
You are free to use my kernel in your ROMs, as long as you give proper credits!


Sorry for bad english, I am Brazilian and it's kind of complicated. If someone is missing from the list of contributors, send me a private message ;)

If you liked the job, click the Thanks button. This motivates us more.

Caio99BR: "Nothing is impossible"
ECr34T1v3: "May the force be with us"

www.optimusmania.com

XDA:DevDB Information
Kanas Project, Kernel for the Samsung Galaxy Core

Contributors
ECr34T1v3, Caio99BR
Source Code: https://github.com/TeamVee-Kanas/

Kernel Special Features: OMTeam - TeamVee | Nothing is Impossible

Version Information
Status: Stable
Current Stable Version: R8
Stable Release Date: 2017-01-02
Current Beta Version: R1
Beta Release Date: 2016-07-15

Created 2016-07-18
Last Updated 2017-01-02
 
C

Caio99BR

Guest


R8 - Version A
The commits are auto-explained
https://github.com/TeamVee-Kanas/android_kernel_samsung_kanas/compare/TeamVee-Kanas:R7...R8A

R8 - Version B
The commits are auto-explained
OMKernel and SAndroidKernel v1.3 (Modded)
https://github.com/TeamVee-Kanas/android_kernel_samsung_kanas/compare/TeamVee-Kanas:BetaR7...R8B

R7
The commits are auto-explained
https://github.com/TeamVee-Kanas/android_kernel_samsung_kanas/compare/TeamVee-Kanas:BetaR6...R7

BetaR6
* [fixed] Voltage calculation in 900MHz and 300MHz
* [add] Frequency 900MHz, 600MHz
* [removed] Frequency 1000MHz, 768MHz
* [changed] Bring back stock freq table

AlphaR5.1
* Bring back some Samsung changes to fix clock

AlphaR5
* Merged Android Configs
* [add] alot of new I/O's

Alpha R4
* [add] Software Synchronization objects
* [removed] last_kmsg from Samsung
* [add] last_kmsg from Android
* [add] BFQ I/O
* [add] KSM
* [changed] Increase Panic Time Out
* [disabled] Samsung MTP
* [add] Two Kernel Versions (Kanas and SA), try both and say the best
* [fixed] USB from AlphaR3

Alpha R3
* Reworked from AlphaR1
* [fixed] WiFi of AlphaR1

Alpha R2
* [fixed] CPU Clocks at Max
* [removed] SA defconfig
* [add] A lot of I/O's

Alpha R1
* Builded with GCC4.7
* Reworked from OpenSource Release SEA
* Releases on GitHub Releases via TravisCI
* [broken] WiFi
* [add] fixes from @Ih24n
* [add] driver for GPU Mali400 from @Ih24n
* [add] overclock from @Ih24n
* [removed] Modules (1 to be exact)



The kernel works on 'x' ROM?
This kernel is made to work on all KitKat ROMs, since it have a script to change only the kernel (the core) and make ramdisk untouched

This works on Stock KK ROM?
Yup, @ECr34T1v3 tested it (not tested on R8A and R8B).

This kernel have clock bug?
No, it's fixed on R7.

This kernel is unstable?
No, we try to make it more stable possible and also daily usable.

This kernel works on Lollipop?
Yes, but only R8A and R8B.

Why R8A and R8B?
Both are based in R7, but R8A is oldest, since I found the fix to Lollipop ROMs in R8B.
R8B have more features compared to R8A, because R8B is partially synced with SAndroidKernel v1.3, and because it two packages :)
 
Last edited:

gregoriaz

Senior Member
Aug 21, 2013
115
24
0
City of Heroes
It can be used in any of the Custom ROMs based on CM11, the Ramdisk this kernel is permissive, this means you can use smoothly in MokeeOS, FIUI, or even in PACMAN ;)
oke will try and test ASAP :D
edit : clock speed controlable at mokee rom, but when i change the max clock at 1200, clock speed still up to 1300
can you make non oc kernel because oc makes my phone overheat :)
 
Last edited:
  • Like
Reactions: ECr34T1v3

samuel.freitos

Senior Member
Apr 19, 2016
192
68
38
Brasília - Federal District
Okay bro, if you find any bug let me know. And if you like the kernel tell here too :D
Ok so, the kernel is looking great, is working fine, no temperature problems, no overclock problems, no apps FC, so, is very very great, good job man!
I just need to search what the I/O schedulers do this is another great part of this kernel , because on stock I just have 3 or 4 schedulers, now I have more than 7
Thank you man


Sent from my Samsung Galaxy Core2 using XDA Labs
 

doesntexits

Senior Member
Apr 12, 2015
1,332
1,742
0
/dev/null
oke will try and test ASAP :D
edit : clock speed controlable at mokee rom, but when i change the max clock at 1200, clock speed still up to 1300
AFAIK, overheating is the most common issue of sc8830 SPRD SoCs. I've made kernels for Core Prime, so I know this. Also, max and min CPU freq can't be changed. If you touch max freq, both max and min freq will push to maximum freq (with this kernel is 1,3GHz)

I suggest no-OCs on the kernel, else lots of people will face overheat
 

ECr34T1v3

Senior Member
Jan 26, 2015
130
387
0
Aracaju, SE
ecr34t1v3.github.io
Ok so, the kernel is looking great, is working fine, no temperature problems, no overclock problems, no apps FC, so, is very very great, good job man!
I just need to search what the I/O schedulers do this is another great part of this kernel , because on stock I just have 3 or 4 schedulers, now I have more than 7
Thank you man


Sent from my Samsung Galaxy Core2 using XDA Labs
I thank you for the report bro .. No doubt, is giving work but finally got a stable kernel, enjoy :victory:
 
  • Like
Reactions: samuel.freitos

ECr34T1v3

Senior Member
Jan 26, 2015
130
387
0
Aracaju, SE
ecr34t1v3.github.io
AFAIK, overheating is the most common issue of sc8830 SPRD SoCs. I've made kernels for Core Prime, so I know this. Also, max and min CPU freq can't be changed. If you touch max freq, both max and min freq will push to maximum freq (with this kernel is 1,3GHz)

I suggest no-OCs on the kernel, else lots of people will face overheat
Exactly, the overheating problem is difficult to be solved, because the CPU is not the best. But we can improve something with this kernel. Just one question, the CPU remains constant or not? Here time is, but returns to normal..
 

doesntexits

Senior Member
Apr 12, 2015
1,332
1,742
0
/dev/null
Exactly, the overheating problem is difficult to be solved, because the CPU is not the best. But we can improve something with this kernel. Just one question, the CPU remains constant or not? Here time is, but returns to normal..
Umm... what do you mean "constant"? If the CPU can be non-overheat then nope, we can't deal with it. You know Snapdragon 810 right? This is an example for us. There's a way to reduce overheat: Reduce CPU speed, as 1+ does with its OP2
 
C

Caio99BR

Guest
Umm... what do you mean "constant"? If the CPU can be non-overheat then nope, we can't deal with it. You know Snapdragon 810 right? This is an example for us. There's a way to reduce overheat: Reduce CPU speed, as 1+ does with its OP2
Constant like same all time.
Its can be 100? confirmed the problem is overclock? Or only testing to know?

I said to Erik (i never will remeber that crazy nickname :p), to test kernel in Stock ROM, since its not much diff from OpenSource (except I/O, Mali400 and Android Fragments).

Sent from my E435 using XDA Labs
 

ECr34T1v3

Senior Member
Jan 26, 2015
130
387
0
Aracaju, SE
ecr34t1v3.github.io
Umm... what do you mean "constant"? If the CPU can be non-overheat then nope, we can't deal with it. You know Snapdragon 810 right? This is an example for us. There's a way to reduce overheat: Reduce CPU speed, as 1+ does with its OP2
I installed the Stock ROM (Firmware Argentina) via Odin last night. I installed in OMKernel in Stock and I boot normally. The CPU was no bug in the clock, but returned time. I did the following, applied to 1200MHz Frequency (Max) and 200mhz (Min), applied on reboot and restarted the phone. When I went to check, the nuclei were in constant 1300MHz .. selected minimum frequency 200mhz again and the cores back to normal. But I always came back to stay constant. I did the following, changed the maximum frequency. I put it in 1300MHz and the minimum at 200mhz and restarted. So far it was not constant here in Stock. Does that mean anything? :victory:
 
Last edited:

ECr34T1v3

Senior Member
Jan 26, 2015
130
387
0
Aracaju, SE
ecr34t1v3.github.io
Constant like same all time.
Its can be 100? confirmed the problem is overclock? Or only testing to know?

I said to Erik (i never will remeber that crazy nickname :p), to test kernel in Stock ROM, since its not much diff from OpenSource (except I/O, Mali400 and Android Fragments).

Sent from my E435 using XDA Labs
News about the tests in the Telegram, Caio :D
 
C

Caio99BR

Guest
New frequecies table will be:
1200Mhz [Max], 900MHz, 600MHz, 300MHz [Min]
With right proportional voltages

This step is test, after i will put other 5 freq since the driver only support it