[KERNEL][Mini/MiniPro/LiveWithWalkman/Active] Rage Kernel v3.2 (ICS) and v3.0 (GB)
This is my kernel, it's based on stock SE and Sony's kernel sources, with some things from DoomKernel
(so go and say thanks to him, and other developers too).
- Overclock up to 2Ghz
- CWM Recovery 184.108.40.206
- CPU Governors:
- Xperia Mini support
- Tun/tap interface enabled (VPN, ipv6)
- Swap support enabled
- Two way call recording support added
- I/O schedulers:
- disabled NFS and CIFS (battery drain fix from DoomKernel), let's see if it can really increase battery life.
- moved to from 4.0.2.A.0.58 to 62 source, though I didn't see any changes
- added 0% battery workaround patch by Bazoocaze. I don't even know what it does but it seems to be something useful since everyone includes this in their kernels
- New cpufreq driver from DoomKernel. You can experience some problems with overclocking now (my phone becomes unstable at 1.8GHz now, instead of 2.0), but phone eats much less battery in sleep. I've also changed 1018Hz to 1024Hz and 249Hz to 245Hz because those new numbers looked wierd
- moved back to 4.0.2.A.0.58 source (just to make sure that everything will work).
- updated version number in ramdisks to 62.
- removed 0% battery workaround patch (it's useless on our devices).
- reverted old cpufreq driver with small fix. It should be stable now and phone seems to eat less battery than in 2.1. (thanks himasura
for lots of testing)
- salvaged some ram.
- enabled NTFS support.
- enabled usb-storage driver, so you don't need to manually load usb-storage.ko now.
- Version number now shows version of kernel (#23=2.3).
- Now phone lights up blue led to show when you can enter recovery (thx to DooMLoRD).
- Minor changes in ramdisks.
- Enabled hid drivers for microsoft and a4tech.
- Re-added CIFS
- Enabled ext4 support
- Added zram and cleancache drivers
- Added lulzactive governor
- Root fs now mounts as rw after boot.
- removed lulzactive governor as it wasn't working properly (thx to kamarush
and others for pointing that)
- moved to sony 4.0.2.A.0.74 kernel sources (updated touchscreen driver)
- Increased GPU dedicated memory to 4MB
- Updated su binary in autoroot.
- added new cpufreq driver at last (with CPU frequency fixup by DooMLoRD), battery drain is lower now. I left version 2.7 too for those who want higher overclock or have some problems with 2.8.
- fixed governors to match new frequency table. Test please.
- updated zram driver.
- staging:lowmemkiller add Fugeswap.
- ICS and GB versions.
- [ICS] Updated recovery to DooMLoRD's ICS version and as a result fixed usb mounting issues in recovery. The recovery will say that it's for arc, but don't worry, it woks fine on our phones.
- [GB] No release, everything works fine there
- [ICS] Upadated recovery again, fixed booting issues. It's recovery by kamarush
, so thanks a lot to him.
- [GB] No release.
Everything else is similar to stock kernel for now.
- For 2.3.4 version: 4.0.2.A.0.42/58/61/62/74 rom.
- For 4.0.4 version: 4.1.B.0.431 rom.
- Unlocked bootloader.
If you're using windows, here's the simpliest way to install kernels:
- Install drivers.
- Download and extract these files to some folder.
- Place boot.img to the same folder.
- Execute flash.cmd.
- Turn off your phone, hold volume up button and connect it to pc.
- When everything is ready close cmd window and turn on the phone.
- If something is wrong try "advanced/wipe dalvik cache" in recovery.
Here are some useful scripts which work with this kernel. Just download, extract and copy them into "/etc/init.d" folder:
- This kernel doesn't have zram enabled by default. Use this to enable 64mb zram swap:
- Our phones have a lot of free space in "/cache" partition, so you can use script by inteks to create a 64mb swap there. It is much faster than using SD card:
- The same with "/system". Here's a bit modified version of previous script, the only change is that it uses another partition:
- If you used KRsH Kernel or X kernel before you need to restore /system/lib/modules/ with stock files. Or just simply flash this: signed-mango_stock_modules.zip (2.3.4) or this ics_wifi_modules-signed.zip (4.0.4) via recovery.
- If you're using 4.0.4 version and have used other custom kernels before I also recommend you deleting "/system/autorooted" file, so that busybox could be reinstalled properly.
While booting, wait until blue led lights up and press volume down button to enter recovery.
If you're a developer, feel free to download kernel sources from GutHub
and change whatever you like:
Android 4.0.4 version
Android 2.3.4 version
- Install some Linux distribution (Tested on Linux Mint Debian and Ubuntu 10.04).
- Download everything using git or by clicking "Download as tar.gz" on github.
- Place files in some folder (path mustn't contain spaces).
- Make your changes.
- Execute build-all.sh to build kernel for all devices or use build-[model].sh for one device.