This is a kernel I developed for Samsung Galaxy Reverb stock JB ROM based on the MD6/MI2 version of the Samsung source code. The main purpose of development is to make kernel leaner and more efficient since the latest JB update was running terribly on my phone. I have done a big deal of clean up since the original source was incredibly bloated with all kinds of unnecessary drivers for many devices that one would never need on a cell phone. Below is a short changelog and you can find the details of all changes including the full source code at my github repo
- Deleted many unneeded drivers
- Deleted ondemand, userspace, conservative governors, added the latest interactive governor from AOSP 3.4 kernel as the default governor.
- Deleted CFQ scheduler, added the latest ROW scheduler from CAF 3.4 kernel as default.
- eliminated most of the debug code (e.g. WiFi module size decreased to 0.5MB from 5MB!)
- disabled DEBUG_FS to increase RAM available to system and enhance security
- enabled autogroup scheduler with a patch to use per-uid task groups
- eliminated unncessary file systems, NFS, YAFFS, EXT2, EXT3
- merged all changes up to Linux 3.0.101
- deleted network schedulers to use simple FIFO scheduler
- backported the latest lowmemorykiller
- backported the latest android logger and reduced the logcat size to save RAM
- added a patch to reduce entropy depletion
- backported rwsem lib from Linux 3.10
- backported workqueue from Linux 3.6
- patched the msm cpufreq driver to boost the CPU freq after resume event to increase responsiveness.
- backported the latest Qualcomm Crypto Engine and enabled in the kernel
- cpu overclock up to 1.8 GHz (1.8 GHz might not be stable on every phone, don't use min frequency lower than 245 MHz)
- remapped kernel memory allocation to add ~38MB RAM to user space (thanks to SultanXDA)
- built with Linaro gcc 4.7
I have tested on my Galaxy Reverb with stock JB ROM and there is a significant improvement of performance. Jellybean is as smooth as it can get with MiRaGe kernel due to reduced RAM occupied by kernel, reduced overhead, and better efficiency.
Here is the download link for the latest MiRaGe kernel (10/22/2013). The kernel zip file will be flashed in the CWM recovery. You will of course need a rooted stock JB ROM and information about root is available at the previous CWM link. There is no need to wipe anything and no data, setting, etc will be lost. The package only replaces the kernel and the kernel modules. Just flash in the recovery and reboot. However, it is always recommended to do a nandroid backup before flashing anything major in the recovery.
Please let me know if you find any problems but don't post any feature requests, especially for additional governors, schedulers, fast charge, sweep2wake, etc. I am only interested in the performance and reliability reports.
The followings are for restoring the stock boot images
MD6 stock boot image
MI2 stock boot image
Enjoy!
- Deleted many unneeded drivers
- Deleted ondemand, userspace, conservative governors, added the latest interactive governor from AOSP 3.4 kernel as the default governor.
- Deleted CFQ scheduler, added the latest ROW scheduler from CAF 3.4 kernel as default.
- eliminated most of the debug code (e.g. WiFi module size decreased to 0.5MB from 5MB!)
- disabled DEBUG_FS to increase RAM available to system and enhance security
- enabled autogroup scheduler with a patch to use per-uid task groups
- eliminated unncessary file systems, NFS, YAFFS, EXT2, EXT3
- merged all changes up to Linux 3.0.101
- deleted network schedulers to use simple FIFO scheduler
- backported the latest lowmemorykiller
- backported the latest android logger and reduced the logcat size to save RAM
- added a patch to reduce entropy depletion
- backported rwsem lib from Linux 3.10
- backported workqueue from Linux 3.6
- patched the msm cpufreq driver to boost the CPU freq after resume event to increase responsiveness.
- backported the latest Qualcomm Crypto Engine and enabled in the kernel
- cpu overclock up to 1.8 GHz (1.8 GHz might not be stable on every phone, don't use min frequency lower than 245 MHz)
- remapped kernel memory allocation to add ~38MB RAM to user space (thanks to SultanXDA)
- built with Linaro gcc 4.7
I have tested on my Galaxy Reverb with stock JB ROM and there is a significant improvement of performance. Jellybean is as smooth as it can get with MiRaGe kernel due to reduced RAM occupied by kernel, reduced overhead, and better efficiency.
Here is the download link for the latest MiRaGe kernel (10/22/2013). The kernel zip file will be flashed in the CWM recovery. You will of course need a rooted stock JB ROM and information about root is available at the previous CWM link. There is no need to wipe anything and no data, setting, etc will be lost. The package only replaces the kernel and the kernel modules. Just flash in the recovery and reboot. However, it is always recommended to do a nandroid backup before flashing anything major in the recovery.
Please let me know if you find any problems but don't post any feature requests, especially for additional governors, schedulers, fast charge, sweep2wake, etc. I am only interested in the performance and reliability reports.
The followings are for restoring the stock boot images
MD6 stock boot image
MI2 stock boot image
Enjoy!