[DISCONTINUED][KERNEL][STOCK][CM10.1][CM11][ R10 ] for mint2g i.e Samsung GT-S5280/2

Search This thread

psych.half

Senior Member
Jun 29, 2014
183
218
After maybe a month of working in the kernel.
I guess it's about time to release the kernel for testing.

Downloads in the second post are only there for easy follow ups.
Please read all the sections below before trying out this kernel first.

This kernel comes with absolutely no warranties whatsoever, period.

XDA:DevDB Information
This field is required., Kernel for the Samsung Galaxy Star

Contributors
psych.half
Kernel Special Features:

Version Information
Status: Testing

Created 2016-02-15
Last Updated 2017-10-12
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Downloads


Latest : kernel-mint2g-trilogy-stable-r10.zip


The latest version is tested to be booting on :
Stock JB4.1 with CWM 6.0.5.3 by @dabakale
CM-10.1 with Philiz recovery by @medved197938
CM-11 with TWRP 3.0 by me

If you are getting status 7 errors, while flashing.
Try with a different recovery, and if that doesnt help upload the /sdcard/liverepack.log along with recovery.log from your recovery.


Changelog:
Code:
==================================
r10 : Apr 7, 2016
- Added and fixed custom voltage control, It could be errornessly set lesser than 650mV.
- Added underclocking. Needs to be enabled manually, see post #
- Removed 1400Mhz and 1500Mhz frequencies, as it causes crashes on many devices.
- MTP should now work on both Stock/CM rom (needs testing )
- Fixed battery level getting stuck issue.
- Fixed brightness/constrast bug in stock ROM.
- Initial stable* release of trilogy version.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
How this thread is organized.
The OP has been broken down into sections. The first 20 posts reserved for info/wiki sort of.
So when things get updated/added it'll all be in the first few pages for everyone to see.

Each section will be short and to the point so you're having problem with one section.
And you're the type who just has to quote posts you might do so without getting on other people nerves.

And normally I just just ignore the forum's usual craptalks, but at this early stage of development, try to keep the noise minimal
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Let's make some things clear first.

This kernel is not for you if you want a stable kernel.
CM11 should already include the stable version of this kernel, so you should just stick to that.

This kernel is only for CM11. No other roms will be supported or even considered.

This kernel is higly experimental. Freshly made, straight from the lab.
So expect some breakage of functionality, random reboots, bootloops and explosions (unlikely, but I gotta cover myself).
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Flashing
The zip makes no backup of your current kernel as of now.

So if you wanna go back to shipped CM11 kernel you have two options.
i) Manually move the original modules to system and restore just the boot image from TWRP.
ii) Restore/flash the entire ROM.

As for flashing the zip, you should burn it on a CD, and choose boot from CD in your PC by keep pressing F10/F12 at BIOS screen.

Well no but, you should at least be familiar with flashing and backups.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Breakages

Camera:
Well, it's due to updated ION drivers, which are not compatible.
In the meant time I have disabled memory allocation for camera.
Which should give some extra free memory.

If there's any other stuff broken here but not while using CM11 kernel.
Post it here instead of there. But not the stuff broken in shipped CM11 too.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Bug reporting
You know you won't get help the next time from a kernel dev if you give them a logcat.

So get the dmesg or no help for you.

And /proc/last_kmsg is not working due to ram console issues.
So if you're gonna be reporting random reboot issues, make it reproduceable.
And make it precise. If the issue is caused because you have installed, some 10 or 20 other mods.
Good luck solving it.
 
Last edited:
  • Like
Reactions: HJain13

psych.half

Senior Member
Jun 29, 2014
183
218
What are in the kernel.

You get your usual stack of IO schedulers, governors, dynamics and mods. They won't be included in the change log below.
I don't even know what half of those are.
So don't ask me what/which one to use. See them for yourself.


You also get some usual tweaks, which can be changed with any kernel control app you like.
Same don't ask what/how to tweak.

If you want something to be added that you don't find. Let me know, and I'll see what I can do.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Frequency scaling

Frequency scaling is already included from r3 onwards. So the previous instructions no longer applies.

The default min and max frequency is 1Ghz and default governor performance. ie. same as stock.

Any change to that is your own choice.
And your own loss if something goes wrong.


There are some limits to it.
i) It can be only changed 10 times a second, so it might cause lag sometimes.
So choose your governor and scaling wisely. Battery or performance. You decide.

Underclocking has been removed.
Going below 1000Mhz makes no sense, as the core voltage is the same.
There is no point in reducing frequency, if the power consumption is constant.

Overclocking has it's own section. See below
 
Last edited:
  • Like
Reactions: RJinxed

psych.half

Senior Member
Jun 29, 2014
183
218
Overclocking
First if you were using the older broken cpufreq driver and were in the impression that you were at 1.6Ghz you're gonna damage your device.

The driver written by me, really overclocks the cpu and the whole system, yeah mines fractured too. Nothing I can do about it.

So use at your own risk. And don't discuss about the safe overclocking frequency. There isn't any.
Issues caused by overclocking are not issues. or bugs.

I won't give you any overclocking advice. But here's one anyway.
Overclock only when necessary and do not keep the values persistent at boot, "Set at boot" in apps.
 
Last edited:
  • Like
Reactions: RJinxed

psych.half

Senior Member
Jun 29, 2014
183
218
Changes from stock:

A lot of thing has been updated, changed, modified. I will have to go through source again.
A short list of changes I can think right now will be posted soon.

- The you know, built with some GCC-5 Linaro toolchain and O2.
- Cherry picked upgrades from various kernel sources.
- Disabled a whole lot of Samsung debugging.



But there's more... see the Github repo.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Contributing.

Any contributions to both source and wiki are always welcome.
You can help fix typos or better clarify some sections or even help to write new ones.
 
Last edited:

psych.half

Senior Member
Jun 29, 2014
183
218
Credits

For bringing CM11 to this device
- corphish
- Dreamstar
- TeamButter
- All others involved in CM11 mint2g project

Initial testers and bug reports:
- Dark Knight Begins
 
Last edited:
  • Like
Reactions: BatDroid

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Downloads


    Latest : kernel-mint2g-trilogy-stable-r10.zip


    The latest version is tested to be booting on :
    Stock JB4.1 with CWM 6.0.5.3 by @dabakale
    CM-10.1 with Philiz recovery by @medved197938
    CM-11 with TWRP 3.0 by me

    If you are getting status 7 errors, while flashing.
    Try with a different recovery, and if that doesnt help upload the /sdcard/liverepack.log along with recovery.log from your recovery.


    Changelog:
    Code:
    ==================================
    r10 : Apr 7, 2016
    - Added and fixed custom voltage control, It could be errornessly set lesser than 650mV.
    - Added underclocking. Needs to be enabled manually, see post #
    - Removed 1400Mhz and 1500Mhz frequencies, as it causes crashes on many devices.
    - MTP should now work on both Stock/CM rom (needs testing )
    - Fixed battery level getting stuck issue.
    - Fixed brightness/constrast bug in stock ROM.
    - Initial stable* release of trilogy version.
    9
    After maybe a month of working in the kernel.
    I guess it's about time to release the kernel for testing.

    Downloads in the second post are only there for easy follow ups.
    Please read all the sections below before trying out this kernel first.

    This kernel comes with absolutely no warranties whatsoever, period.

    XDA:DevDB Information
    This field is required., Kernel for the Samsung Galaxy Star

    Contributors
    psych.half
    Kernel Special Features:

    Version Information
    Status: Testing

    Created 2016-02-15
    Last Updated 2017-10-12
    8
    Extra downloads


    camctl : script to enable/disable camera for RAM
    6

    R9 is up.

    This adds some governors and ioscheds, and should *boot* on stock, cm-10.1 and cm-11. I say boot cause somethings might not work.

    I have only tested with TWRP-3.0 and cm-11. I think it should work with any rom, can't say about recovery.

    If you have any issues with flashing, upload logs of both recovery /sdcard/recovery.log (theres copy log to sd option in TWRP), and the /sdcard/liverepack.log.

    And report back if it booted on the rom you're on.


    5
    Flashing
    The zip makes no backup of your current kernel as of now.

    So if you wanna go back to shipped CM11 kernel you have two options.
    i) Manually move the original modules to system and restore just the boot image from TWRP.
    ii) Restore/flash the entire ROM.

    As for flashing the zip, you should burn it on a CD, and choose boot from CD in your PC by keep pressing F10/F12 at BIOS screen.

    Well no but, you should at least be familiar with flashing and backups.