[XPERIA X10 Android Development] DooMLoRD:
[KERNEL][X10] DooMKernel - "Power to The People" [Rel: v03]{NO LONGER MAINTAINED}

this thread will now be closed and no longer maintained as the new DooMKernel (for X10 SE GB FW) will be based on FreeXperia kernel sources and will be posted in new thread ;)

if u have never used custom kernels before please read this: [How-To] Testing or Using Custom Kernels on Xperia X10

hello guys i have finally managed to compile kernels! just started off last week and was finally able to get it to work all thanks to great help from Blagus, zdzihu, aZuZu, ThJap! and of-course a BIG thank you to all those involved in bootloader bypassing! thank you guys this would not have been possible without ur work & help! special thanks to zdzihu for the sources, the awesomeness in answering with my noob queries :D

inspired from the discussion with tkymgr, thank you tkymgr for that great info on CPU frequency-voltage table...

bootscreen/bootlogo/bootimage used is Sentinel196_Android_3D_Reflection from http://xdaforums.com/showthread.php?t=928352 with permissions of Sentinel196, thank you Sentinel196 for that awesome image and allowing me to use it!

THANK YOU ALL WHO GAVE BACK INVALUABLE FEEDBACK OF THE TEST VERSIONS

ramdisk (slightly modded) used are:

2.1 = z's ramdisk from 05072011

2.2 = FreeX10 ramdisk

2.3/CM7.0.3 = FreeXperia beta12b ramdisk

2.3/CM7.1.0 = FreeXperia beta13 ramdisk

thank u zdzihu & jerpelea (FreeXperia Project team)!

this is just the first in a series of many more kernels that i plan to work on/release (dont ask ETA/release date, when i thinks its worth-while, i will release it)

currently i am using zkernel 05072011 as base, so the v01, v02 & v03 are derived from z's kernel sources!

ALL BASEBANDS ARE SUPPORTED!

i have personally tested on basebands 2.1.xx, and users have reported that it also works on baseband 2.0.xx

if u like the kernel dont forget to thank zdzihu cause the kernel is derived from his sources!

[ Screenshots ]

[ Info ]

i will be creating 2 series for the kernels:

S-series - Stock like - will be using stock SE kernel voltages, so should work on most devices w/o issues

X-series - eXtreme - will be undervolted, so as to give better battery life

i have unlocked frequencies from 128Mhz to 1267Mhz (many intermediate frequencies)!!!

thats why calling it "Power to The People" so u decide which voltages/frequencies u want :D

both series kernels would be having all those frequencies unlocked!

now for sake of safe booting i have hardcoded the startup/bootup frequencies to min:245, max:998 (in ramdisk) u can over-ride that using setcpu, ('set at boot' option should be used only after u have done adequate testing)

i want u guys to please test these kernels for a few hours (10-15 hrs atleast) on the ROM of ur choice!

i would recommend that u DO NOT use high frequencies for long time!

this may damage ur device!

[*]the unlocked frequencies are just for temporary boost/benchmarks/showoff :P

[*]

you have been warned!

[ Additional Info ]

ok time for some gyan!

see each cpu/chip is different

each is unique and has different tolerances

so dont directly jump to max frequency/undervolted kernel (X-series)

slowly keep increasing the frequency

check its stability for 5-10 hrs

check for random reboots

check which one is best suitable for ur device

if u start getting reboots/wlods then throttle back and use lower frequencies

if X-series kernels give u random reboots/instability then use S-series kernels

remember just because someone elses device was able to work at that frequency/voltage doesnt mean that ur phone can support/handle that frequency/voltage

[ Features ]

(v03)

derived from zKernel 05072011:

kernel version 2.6.29

latest SE sources (2.1.A.0.492)

FPS cap removed

overclocked to 1.13GHz

in-call volume increased

full netfilter support (droid wall, wifi tether)

drivemapper support (2.2+ native app2sd)

working with basebands 54+ (67 recommended)

my additions:

confirmed to be working on all basebands (2.0.xx & 2.1.xx)

cpu voltage modulation:

S-series kernels - stock voltages

X-series kernels - undervolted

optimized frequency-voltage table

added 192 Mhz frequency and unlocked frequencies from 128Mhz to 1267Mhz [for both series]

further decreased voltage (improved undervolt) for many frequencies [X-series only]

startup/bootup frequencies set at min:245Mhz, max:998Mhz (in ramdisk)

CPU Governors activated/added: Interactive (the inbuilt governors have not been disabled)

compiled using GCC 4.4.3

File System support (in kernel): EXT3, EXT4, NTFS, NFS (server/client), CIFS

enabled access to .config through /proc/config.gz

enabled ARM THUMBEE extensions

SLAB memory allocator

I/O scheduler activated: CFQ, Anticipatory (the inbuilt schedulers have not been disabled)

enabled TUN & TAP (VPN support)

added init.rc tweaks (thanks to erickwill)

added a special verion bootlogo

[ What do the features mean to u ]

(v03)

derived from zKernel 05072011:

kernel version 2.6.29

latest SE sources (2.1.A.0.492)

FPS cap removed

overclocked to 1.13GHz

in-call volume increased

full netfilter support (droid wall, wifi tether)

drivemapper support (2.2+ native app2sd)

working with basebands 54+ (67 recommended)

my additions:

confirmed to be working on all basebands (2.0.xx & 2.1.xx)

use the baseband which is best for ur region

added 192 Mhz frequency and unlocked frequencies from 128Mhz to 1267Mhz [for both series]

for full frequency-voltage table check out 2nd post

for sake of safe booting startup/bootup frequencies set at min:245Mhz, max:998Mhz

cpu voltage modulation:

S-series kernels - stock voltages

X-series kernels - undervolted

further decreased voltage (improved undervolt) for many frequencies [X-series only]

will improve battery life on X-series kernels

added 'Interactive' governor [for both series]

supposed to increase responsive of UI, for more details read this, the device will boot-up using "On Demand" as default governor, the Interactive governor needs to be selected manually using app (eg SetCPU)

compiled using GCC 4.4.3

this is supposed to increase performance of kernel

enabled EXT3, EXT4, NTFS file system support in kernel

the support is there do what u want ;)

enabled NFS (server/client), CIFS file system support in kernel (useful app: CifsManager)

the support is there do what u want ;)

enabled access to .config through /proc/config.gz

for those curious types who want to know more

enabled ARM THUMBEE extensions

this is supposed to improve performance for certain apps/etc

reverted back to SLAB allocator

enabled CFQ & Anticipatory I/O scheduler

options are there enjoy tweaking

enabled TUN & TAP

provides VPN support at kernel level

updated frequency-voltage table

better performance & battery lfe

added init.rc tweaks (thanks to erickwill)

will improve performance

added a special verion bootlogo

a tribute to the awesomeness

[ Credits ]

Base kernel from sources posted by zdzihu for his zKernel 05072011

Interactive Governor source code ported from Bukington's gaosp Kernel sources, thank you for ur work!

TUN/TAP (VPN) support thanks to help from zdzihu

ramdisk (init.rc) tweaks thanks to erickwill

[ DISCLAIMER ]

I AM NOT TO BE HELD RESPONSIBLE IF U DAMAGE UR PHONE / SPILL UR COFFEE / MISS UR ALARMS / ANY OTHER CALAMITY/MISHAP

[ How-To ]

take backup of ur system before using this

download the boot.img, wifi module files relevant to ur OS

make sure u have read and understood this: [How-To] Testing or Using Custom Kernels on Xperia X10

flash the boot.img & wifi module via recovery (dont flash one at a time and reboot, flash both of them one after the other, no specific sequence) then reboot into android OS

check Menu -> Settings -> About Phone -> Kernel Version to check if the kernel has changed or not

[ Downloads ]

all files provided are update.zip (Amend syntax) flashable via recovery (xRecovery 0.0.x / FreeXperia recovery)

zkernel_0507_modDK_v03-S (S-series)

boot.img

Eclair

Froyo

GB/CM7.0.3

GB/CM7.1.0

wifi module

wifi module

wifi module (CM7)

zkernel_0507_modDK_v03-X (X-series)

boot.img

Eclair

Froyo

GB/CM7.0.3

GB/CM7.1.0

wifi module

wifi module

wifi module (CM7)

if u are facing problems with v03 please try out the alternate v03a posted here

Older versions can be found in 3rd post

[ Troubleshooting ]

if u get stuck at bootanimation then try rebooting into recovery and wiping cache/dalvik-cache and then reboot

CM7 rom may need CM7 baseband patch (by cobrato)

IMP some users have reported (here and here) that using bootloader_bypass_files_v2.zip solved the problems/issues like "stuck at boot", "wlod while booting"... if u facing similar problems/issues please flash the bootloader_bypass_files_v2.zip via recovery and test if it worked! (thank you djkekko89 for finding this possible solution)

on v03-X (at 128Mhz) the voltage is very low (875mV) which may cause screen off reboots... if that happens then just switch to 192Mhz as lowest frequency...

[ Additional Links ]

if u have never used custom kernels before please read this: [How-To] Testing or Using Custom Kernels on Xperia X10

VIMP NOTE FOR FROYO USERS who do not see any change in custom kernel after flashing the boot.img

some info on wifi modules

Bootloader Bypass files: please check this thread, all the info u need is in first post of that thread

VERY Important SetCPU information (in second post, towards end)

Information on cpu governors

[DISCUSSION-TEST] CPU Governors and I/O Schedulers

[ Sources ]

here are the sources for the kernels

DooMKernel (X10) @ GITHUB

OR

direct download links:

src_DooMKernel_v01-X.tar.gz [ Mirror ]

src_DooMKernel_v02-X.tar.gz [ Mirror ]

src_DooMKernel_v03-X.tar.gz

please test them out and let me know how it goes! ;)

enjoy!