[KERNEL][Mini/MiniPro/LiveWithWalkman/Active] Rage Kernel v3.2 (ICS) and v3.0 (GB)

DuMOHsmol

Senior Member
Dec 18, 2011
93
370
0
Smolensk
This is my kernel, it's based on stock SE and Sony's kernel sources, with some things from DoomKernel by DooMLoRD (so go and say thanks to him, and other developers too).

It has:
- Overclock up to 2Ghz
- CWM Recovery 5.0.2.7
- Prerooting
- CPU Governors:
  • brazilianwax
  • smoothass
  • smartassV2
  • SavagedZen
  • interactiveX
  • lagfree
  • minmax
  • Scary
  • smartass
  • interactive
  • conservative
  • userspace
  • powersave
  • ondemand
  • perfomance
v2 added:
- Xperia Mini support
- Tun/tap interface enabled (VPN, ipv6)
- Swap support enabled
- Two way call recording support added
- I/O schedulers:
  • noop
  • anticipatory
  • deadline
  • cfq
  • bfq
  • vr
  • sio

v2.1 changed:
- disabled NFS and CIFS (battery drain fix from DoomKernel), let's see if it can really increase battery life.

v2.2 changed:
- 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 :D
- 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 :)

v2.3 changed:
- 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).

v2.4 changed:
- 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.

v2.5 changed:
- Re-added CIFS
- Enabled ext4 support
- Added zram and cleancache drivers
- Added lulzactive governor
- Root fs now mounts as rw after boot.

v2.6 changed:
- removed lulzactive governor as it wasn't working properly (thx to kamarush and others for pointing that)

v2.7 changed:
- 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.

v2.8 changed:
- 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.

v2.9 changed:
- fixed governors to match new frequency table. Test please.

v3.0 changed:
- updated zram driver.
- staging:lowmemkiller add Fugeswap.
- ICS and GB versions.

v3.1 changed:
- [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 :)

v3.2 changed:
- [ICS] Upadated recovery again, fixed booting issues. It's recovery by kamarush now :), so thanks a lot to him.
- [GB] No release.

Everything else is similar to stock kernel for now.

Requirements:
  • 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.

Installing:
If you're using windows, here's the simpliest way to install kernels:
  1. Install drivers.
  2. Download and extract these files to some folder.
  3. Place boot.img to the same folder.
  4. Execute flash.cmd.
  5. Turn off your phone, hold volume up button and connect it to pc.
  6. When everything is ready close cmd window and turn on the phone.
  7. If something is wrong try "advanced/wipe dalvik cache" in recovery.

Useful scripts:
Here are some useful scripts which work with this kernel. Just download, extract and copy them into "/etc/init.d" folder:
  1. This kernel doesn't have zram enabled by default. Use this to enable 64mb zram swap:
    https://yadi.sk/d/-0kzYZOs3KETHm
  2. 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:
    https://yadi.sk/d/Nhkogctl3KETJW
  3. The same with "/system". Here's a bit modified version of previous script, the only change is that it uses another partition:
    https://yadi.sk/d/C7gVW-oH3KETK8

Important information:

Entering recovery:
While booting, wait until blue led lights up and press volume down button to enter recovery.

Building kernel:
If you're a developer, feel free to download kernel sources from GutHub and change whatever you like:
  1. Install some Linux distribution (Tested on Linux Mint Debian and Ubuntu 10.04).
  2. Download everything using git or by clicking "Download as tar.gz" on github.
  3. Place files in some folder (path mustn't contain spaces).
  4. Make your changes.
  5. Execute build-all.sh to build kernel for all devices or use build-[model].sh for one device.

Download:

Android 4.0.4 version

Android 2.3.4 version

 
Last edited:

zhanglz0904

Member
Oct 25, 2011
49
13
0
Since I'm new to these forums, I can't post in development section, hope someone will move this thread.

This is my kernel, it's based on stock SE 4.0.2.A.0.58 kernel sources, with some things from DoomKernel and KRsH Kernel.
I'm new to kernel development, so there could be some bugs.

It has:
- Overclock up to 2Ghz
- CWM Recovery 5.0.2.7
- Prerooting
- CPU Governors:
  • brazilianwax
  • smoothass
  • smartassV2
  • SavagedZen
  • interactiveX
  • lagfree
  • minmax
  • Scary
  • smartass
  • interactive

Everything else is similar to stock kernel for now.

Note that there is working usb-otg support from stock kernel (it seems to be broken in KRsH kernel, that's mainly why I've made my own).

Requirements:
  • 4.0.2.A.0.58 rom
  • Unlocked bootloader
  • Fastboot

Put kernel to fastboot folder and use fastboot flash boot boot.img to flash it.
If you used KRsH Kernel before, you also need to restore /system/lib/modules/ with stock files.

While booting, press continuously the volume down button to enter recovery.

If you're a developer, feel free to download kernel sources (narod.ru/disk/34772141001/ragekrenel.tar.gz.html) and change whatever you like. Just unpack and execute buildse.sh to compile kernel and create boot.img (tested on Linux Mint Debian).
really thank you for your great work ,but would you develop a kernel that can fit mini st 15i based on 0.58 or 0.61 please? thank you
 

xpawx.o0o

Member
Mar 26, 2011
22
2
0
Just flash the stock rom again.. well that's what I did. I used Android Commander to back everything up first so I didn't have to install everything seperately then just installed everything through windows 7 in one hit.
The ROM seems to be working ok. Have only been using it for a few hours
 

Telemuddi

Senior Member
Apr 30, 2011
230
74
48
Zwickau
Just flash the stock rom again.. well that's what I did. I used Android Commander to back everything up first so I didn't have to install everything seperately then just installed everything through windows 7 in one hit.
The ROM seems to be working ok. Have only been using it for a few hours
I have some modifications in the system and no backup programm will restore this with 1 click.
Just help me and upload the modules ;)

Sent from my SK17i using Tapatalk
 

radmir

Member
Oct 10, 2006
22
11
0
Luton
Many thanks DuMOHsmol! Could you add support for voice call recording 2-way-call-recording.googlecode.com/svn/ and BFQ scheduler?
 
Last edited:

IMRAND

Senior Member
Jul 20, 2011
565
202
0
Bangalore
Stuck at sony ericsson logo. (Boot Loop)

I had flashed KRsH kernel with HYBROM v4 Rom was working good until

I flashed this kernel & was trying enter CWM to update mango signed files

but unfortunately I could not enter.

So reverting back to KRsH with HYBROM v4.
 

DuMOHsmol

Senior Member
Dec 18, 2011
93
370
0
Smolensk
Stuck at sony ericsson logo. (Boot Loop)

I had flashed KRsH kernel with HYBROM v4 Rom was working good until

I flashed this kernel & was trying enter CWM to update mango signed files

but unfortunately I could not enter.

So reverting back to KRsH with HYBROM v4.
You have mini or mini pro?
 

IMRAND

Senior Member
Jul 20, 2011
565
202
0
Bangalore
I have xperia mini pro sk17.

Iam Doing any steps wrong pls confirm.

---------- Post added at 01:18 PM ---------- Previous post was at 01:08 PM ----------

Also pls confirm what is the major difference between your & KRsH Kernel

should continue with the same KRsH or should I try to flash this one.
 

DuMOHsmol

Senior Member
Dec 18, 2011
93
370
0
Smolensk
I have xperia mini pro sk17.

Iam Doing any steps wrong pls confirm.

---------- Post added at 01:18 PM ---------- Previous post was at 01:08 PM ----------

Also pls confirm what is the major difference between your & KRsH Kernel

should continue with the same KRsH or should I try to flash this one.
That's strange, it works fine on my SK17i. Maybe the problem is in custom rom?
Does stock kernel work?

Speaking of KRsH kernel, it seems to be DoomKernel ported to our phones (although I'm not sure about this), while mine is based on stock kernel with just some tweaks from DoomKernel.
There is working usb-otg support in Rage Kernel, and also voice call recording support. Also someone claim that KRsH kernel drains battery too fast, though I didn't have any problems with it.
 

RealGunjack

Senior Member
Nov 14, 2011
86
22
0
31
Moscow
BTW Kamarush absolutely dosnt approve this kernel.
From private:
-"And i don't give a word on Rage kernel... Because he didn't got permission to use OUR modules, and kernel sources...."