[KERNEL][SM-G360H/HU][V3.1] CORE� Kernel for Samsung Galaxy Core Prime

Search This thread

doesntexits

Senior Member
Apr 12, 2015
1,330
1,748
/dev/null
CORE™ KERNEL for Galaxy Core Prime
Features
  • Upgraded to latest mainstream Linux kernel (3.10.102)
  • Governors: interactive, performance, powersave, intelliactive (still stock, will add later)
  • IO schedulers: noop, deadline, row, cfq, bfq, vr, sio, zen, fifo, fiops
  • SELinux Permissive
  • F2FS support
  • Multiple zRAM devices, prevent performance bottleneck
  • OC'ed GPU clock speed (460 MHz) (like stock TouchWiz kernel)
  • Better memory managements
  • UKSM (Ultra Kernel Samepage Merging)
  • zswap - compressed memory pool for swap file/zRAM
  • Support all ROM versions (from stock to CM13)
  • Experience yourself :D

HOW TO INSTALL
  • Download the flashable ZIP in post 2 below
  • Copy to your SD card, make sure you don't forget the file path :D
  • Now install and enjoy the kernel :good::good::good:

Credits
  • Thanks to @psych.half for his mkbootimg idea
This small video will show how this phone do its multitasking with this kernel (watch at 360p for less lags)

XDA:DevDB Information
CORE� Kernel, Kernel for the Samsung Galaxy Core Prime

Contributors
doesntexits
Source Code: https://github.com/koquantam/android_kernel_CORE-TM-_core33g

Kernel Special Features:

Version Information
Status: Testing

Created 2016-07-03
Last Updated 2016-07-28
 

Attachments

  • Screenshot_2016-07-03-15-50-19.png
    Screenshot_2016-07-03-15-50-19.png
    56.6 KB · Views: 16,620

doesntexits

Senior Member
Apr 12, 2015
1,330
1,748
/dev/null
How to post bugs

As you know, this is a kernel, so logcat is useless. We use "dmesg" to track what the kernel do and how it's done, what it's fault...
If you post logcat to a kernel dev, no helps. So now, a single rule: No logcats
To post bugs, please do this:
1. Make sure you have a computer running any Linux distros (e.g Ubuntu) (ignore this if you already have)
2. Plug your phone with USB cable plugged to computer
3. Open Terminal, type these (DO NOT MISS ANYTHING)
Code:
adb shell dmesg | tee dmesg.txt
The "tee" command will export your "dmesg" (driver messages) to your /home/<USER> folder (e.g from mine: /home/a1/dmesg.txt)
4. Post the full dmesg text logs to this thread
 
Last edited:

doesntexits

Senior Member
Apr 12, 2015
1,330
1,748
/dev/null
CHANGELOG

  • V1 (1st-gen Pentium)
    • Initial release
  • V1.1 (2nd-gen Pentium)
    • Added 384MHz min CPU frequency
    • OC'ed GPU freq to maximum value (460MHz) (remember, stock TouchWiz kernel is fluid because of this)
  • V1.2
    • Fixed suspend module
  • V1.3
    • Added support for ALL ROM variants
  • V2.0 (3rd-gen Pentium)
    • Implemented vnswap (Virtual NAND swap device) from Sammy's grandprimeve3g stock source
    • Allow to set zram disksize through build.prop
  • V3.1: Link
 
Last edited:

notsuper

Senior Member
Mar 10, 2016
224
40
Why my device not turn off perfectly... It shows some light.....NOT a power off.....sorry for my english
 
Last edited:

JustFrame

Senior Member
Apr 15, 2016
183
34
Cpu governor and i/o scheduler for battery improvement? I used interactive for governor and deadline for scheduler.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    CORE™ KERNEL for Galaxy Core Prime
    Features
    • Upgraded to latest mainstream Linux kernel (3.10.102)
    • Governors: interactive, performance, powersave, intelliactive (still stock, will add later)
    • IO schedulers: noop, deadline, row, cfq, bfq, vr, sio, zen, fifo, fiops
    • SELinux Permissive
    • F2FS support
    • Multiple zRAM devices, prevent performance bottleneck
    • OC'ed GPU clock speed (460 MHz) (like stock TouchWiz kernel)
    • Better memory managements
    • UKSM (Ultra Kernel Samepage Merging)
    • zswap - compressed memory pool for swap file/zRAM
    • Support all ROM versions (from stock to CM13)
    • Experience yourself :D

    HOW TO INSTALL
    • Download the flashable ZIP in post 2 below
    • Copy to your SD card, make sure you don't forget the file path :D
    • Now install and enjoy the kernel :good::good::good:

    Credits
    • Thanks to @psych.half for his mkbootimg idea
    This small video will show how this phone do its multitasking with this kernel (watch at 360p for less lags)

    XDA:DevDB Information
    CORE� Kernel, Kernel for the Samsung Galaxy Core Prime

    Contributors
    doesntexits
    Source Code: https://github.com/koquantam/android_kernel_CORE-TM-_core33g

    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2016-07-03
    Last Updated 2016-07-28
    7
    v3.0 is up! Changes:
    • Hopefully fixes the kernel crash issue due to IO schedulers
    • OC'ed to 1,3GHz
    Download link updated in OP. XDA Downloads section now deprecated and I won't upload anything on it anymore
    6
    Download links & BUGS

    XDA Downloads: Link
    Google Drive folder: Link

    BUGS
    • Playing video from gallery cause freeze. Use MX Player or any video player app to play offline videos
    5
    V2.0 (3rd-gen Pentium) is up! Changes
    • Implemented vnswap from Sammy's grandprimeve3g stock source
    • Allow to set zram disksize through build.prop

    Q: How can I enable vnswap?
    A: Add this line to build.prop and reboot, it will automatically reserve 512MB free space of your internal storage as swap device:
    Code:
    vnswap.enabled=true

    Q: How do I set zRAM disksize through build.prop?
    A: Again, add this line to build.prop and reboot (disksize here is counted by MB*4)
    Code:
    zram.disksize=<disksize> (e.g zram.disksize=200)

    vnswap vs zRAM comparison (from @arter97's quote) (big thanks for his great explanation)

    zRam
    - (Pros) It's one of the fastest swapping method available, since it dynamically compresses the RAM and do not use physical NAND storage for swapping.
    - (Cons) It may unnecessarily reserve free memory even though swapping is not necessary. Let's say you use 0.9 GB out of 1 GB of RAM. After setting 500 MB of zRam, the 0.4 GB gets automatically compressed even though it may be not necessary. This will result in CPU cycle consumption, faster battery drain.

    vnswap
    - (Pros) It uses a standard swap method with a special block device. On our i9300, 512 MB of vnswap is automatically reserved in the NAND's free space. While zRam can swap on situations that may be not necessary, vnswap can swap in/out dynamically. This means light users that don't need swapping, vnswap can be (almost) inactive.
    - (Pros) Since it helds 512 MB of vnswap that's compressed with zswap, you can expect up-to 1.7 GB ~ 2.0 GB of relocatable memory. This is larger than zRam, meaning more stuffs can fit in.
    - (Mid) While swapping to NAND is slow and bad for NAND's life-time, vnswap uses the combination of zswap for compressed swap.
    - (Cons) Although it uses zswap, swapping to NAND is still slow and bad for NAND's life-time compared to RAM-side swapping methods.
    - (Cons) It doesn't discard the NAND for some reason, Samsung has disabled the discard on vnswap source code due to some userspace binaries segfaulting.

    TL;DR : If you're a heavy user, need a lot of memory, zRam might be a better choice. If you're light-mid user, vnswap might be a better choice.
    4
    How to post bugs

    As you know, this is a kernel, so logcat is useless. We use "dmesg" to track what the kernel do and how it's done, what it's fault...
    If you post logcat to a kernel dev, no helps. So now, a single rule: No logcats
    To post bugs, please do this:
    1. Make sure you have a computer running any Linux distros (e.g Ubuntu) (ignore this if you already have)
    2. Plug your phone with USB cable plugged to computer
    3. Open Terminal, type these (DO NOT MISS ANYTHING)
    Code:
    adb shell dmesg | tee dmesg.txt
    The "tee" command will export your "dmesg" (driver messages) to your /home/<USER> folder (e.g from mine: /home/a1/dmesg.txt)
    4. Post the full dmesg text logs to this thread