[XPERIA X8 Original Android Development] alfsamsung:
I started playing with the kernel and the result was surprisingly pretty good(in my opinion),so here it is:) Remember I'm not an expert or developer, so expect bugs and use at your own risk.

NEWS: Djnilse is making this kernel for cm7 roms:D.Head over to post #3 and read more.

X8_*WLAN/GDX is for GingerDX v.1-28

X8_*CM7 is new and for "standard" cm7 roms with tiwlan(wifi driver)

This kernel is based on the FreeXperia-Team's work, so a huge thank you to the best team:)

Screenshot touch-recovery is from GingerDX OP

Contains

-Linux 2.6.29.6

-All fxp team addons:

-X8Gesture / AX8MT

-smartass / smartass2 governor

-netfilter / iptables

-swap

-MDDI fix

-ext 2/3/4

-vr IO scheduler is default

-working smartass and smartass2 govenor

-Overclock by Zefie, thunderc_kernel_xionia

-OOM grouping fix and minfree values. minfree= 1536,2048,6912,7168,8192,9472 Credits:zeppelinrox

-Working netfilter/droidwall

-Chargemon support

-(fps cap)Version with no_fps_cap has V-sync turned off.

-working cypress driver in ICS and gingerbread

-kgsl v1.2 (latest CAF 2.6.35)

-support for ksm

-update-rom*-AlfsKern*.zip with:

Fixes to vold: mounting sdcard to pc and ext* mount fix

Fixes to compcache

Fixes to chargemon

v09: Added the adreno libsv2 to this file

Requires

-Unlocked bootloader

-Flashtool 2.9.1 or newer (I use 2.9.1 when I make the kernel)

-Recycle all your warranty papers:D

Install instruction

- Download the update-rom*-AlfsKern*.zip or kernel AddOn provided with rom and place it on sd-card

- Download and unpack the rar and put it in flashtool/firmwares folder

- Turn off the phone

- Run flashtool

- Press Flash, choose downloaded file

- Plug in the usb while pressing back button

- Wait till progress finishes

- Unplug the phone, turn it on back

- Hope for the best:)

- Go to CWM recovery with back button and install the update-rom*-AlfsKern*.zip or Kernel AddOn provided with rom Remember if you update the rom, then reinstall this.

- In v08 you need to install new adreno libs found in post #2

- Wipe cache and dalvik-cache in recovery

Note

-This is only tested on E15i and GingerDX

-I can't promise that overclock is working on all phones.Default boot clock is 600Mhz.My phone is stable at 748Mhz

-You need to install the included update-rom*-AlfsKern*.zip to mount sdcard to pc and fix the chargemon script.

-Please don't bug doixanh with my bugs.

-My Git source

Change log

19-12-2012 -v09

-new update-rom*-AlfsKern.v9+ replaces old update-rom*.zip file

---added adreno libs (same as adreno_v2 in addons)

-added /NOTES-Alfs_kernel.txt to ramdisk with some info about new functions

-latest gingerbread recovery with ext4_make fix(backport from ics recovery)

-lzo compressed kernel and ramdisk

-CleanCache via ZCache backend http://lwn.net/Articles/397574/

-a few "nice" tweaks

-updated lowmemorykiller

-updated binder

-Google snappy compression in ramzswap

-update jhash to v3

-SLQB memory allocator

-updates to crypto

-updates to lib-crc32 and crypto-crc32

-futex backport from 2.6.32

-made it possible to turn of filesync. WARNING: disabling fsync may cause loss of data if application crashes.

---write "echo 1 > /sys/module/sync/parameters/fsync_disabled" to turn off. This can save some IO and battery

-added tiny_rcu

-ashmem update to 2.6.35

-rwsem update to 2.6.35

-cache-l2x0 updated to 2.6.35

-fs/ramfs updated to CAF v.2.6.35

-fs/ext2/3/4 updated to CAF 2.6.32

-drivers/i2c updated to CAF 2.6.32

-updated kgsl to v1.2 (latest CAF 2.6.35)

-added power levels to kgsl

-added SIO IO scheduler

-added ksm http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM) . NOTE rom need to support this(something is cooking in CM:http://review.cyanogenmod.com/#/c/12174/)

-a lot of core and fs updates(check git for more info)

-built with linaro 4.7-2012.10 toolchain

-v09a -Partially revert usb to v08a, removed kgsl power levels and a new sdmount script in update-rom*v9a+.zip that fixes sd-ext mounting.

-v09c Renamed the GDX version to WLAN, because GDXv.29+ uses the cm7 version now.

video updates

fix all screen cut/displacement

move i2c back where it was in v08(no need to update lights any more)

new 691MHz

updates to cpufreq

updates to clock

added and set TINY_PREEMPT_RCU

updates to pm2.c

updates to wackelock

updates to power

updates to fbcon

add yaffs2 tweak

add cleancache to yaffs2

added aroma filemanager option in recovery menu by Djnilse. Download latest aroma filemanager from here and put it on sd-card.Make sure the file is named aromafm.zip

improved modules method in ramdisk

ramzswap and tun.ko moved to modules and added cifs filesystem as module.You need to insmod tun and cifs to use them.

misc updates, check git for more info

Old change log

[COLOR="Blue"][B]3-3-2012 -v08[/B][/COLOR]
-New name again.This is the old "ICS" version,so new andreno libs are needed(post #2).
-added touch recovery by Team UtterChaos from [URL="http://xdaforums.com/showthread.php?t=1485829"]here[/URL]
-touch recovery for both touch-screen types
-new images in recovery and bootlogo by [URL="http://xdaforums.com/member.php?u=4216736"]djnilse[/URL] + new buttons in recovery
-added partition sdcard in recovery(ext2/3/4+swap) and fix permissions under advanced menu.
-new/rebuildt ramdisk based on cm7 source
-updates to lowmemorykiller,oom and a lot of small updates.Look at [URL="https://github.com/alfsamsung/semc-kernel-msm7x27-ics"]git[/URL] for more info
-removed 19,2Mhz because I belive cpu will never relax this low.
-[URL="http://xdaforums.com/member.php?u=4216736"]djnilse[/URL] is making this for cm7 (wifi=tiwlan)(gingerdx is wifi=wlan) roms.You will find his post [URL="http://xdaforums.com/showpost.php?p=23200614&postcount=1044"]here[/URL]
[LIST][*][B]-v08a [/B]-Added Eduroam support and a small update to ext4
[/LIST]

[COLOR="Blue"][B]3-2-2012 -v07[/B][/COLOR]
-added 2-way call recording tested with [URL="http://xdaforums.com/showthread.php?t=806451"]rVoix[/URL]
-improved overclocking and enabled 691 and 19Mhz credits:[URL="http://xdaforums.com/member.php?u=788040"]nAa[/URL]
-misc tweaks and cleanup.Look at git for more info.
-updates to cwm recovery.
-added a "ICS" version with new kgsl driver with graphic boost.Credits to nAa and FXP for this.
-For now the only new thing in "ICS" is this kgsl driver.
-The "ICS" version works on GingerDX if you update the adreno libs.You will find the libs as an cwm recovery update [URL="http://xdaforums.com/showpost.php?p=19320133&postcount=245"]here[/URL].The libs are taken from [URL="http://xdaforums.com/showthread.php?t=1362585"]MiniCM7-2.1.8[/URL].

[COLOR="Blue"][B]6-1-2012 -v06[/B][/COLOR]
-updated to kernel version 2.6.29.6
-fixed error mounting ext4
-changed smartassv2: DEFAULT_SLEEP_IDEAL_FREQ 245760 to 128000
-working cypress touchscreen driver in ICS

[COLOR="Blue"][B]27-11-2011 -v05[/B][/COLOR]
-(added "fps cap" at ca 60fps)
-added [URL="http://xdaforums.com/member.php?u=3800424"]darkfrmr[/URL]'s [URL="http://xdaforums.com/showthread.php?t=1364045"]Notification bar difficult to pull up with cypress digitizer (gingerbread)[/URL] fix.Great work darkfrmr:)
-Only one kernel version with chargemon support.And one "rom" update file with chargemon and vold fixes

[COLOR="Blue"][B]18-11-2011 -v04[/B][/COLOR]
-cwm recovery 5.0.2.7 [COLOR="Red"][B]NOTE:[/B] Backups made with v5 are not compatible with earlier versions
[/COLOR]-some fixes to ramdisk
-There is now 2 versions,one with chargemon support and one without.
---If you install with chargemon, then install: update-chargemon-gdx_AlfsKernel.zip in cwm to fix offline charging and remove some unwanted code.(ONLY TESTED ON GINGERDX)
---You will need to restore chargemon if you go back to stock kernel(reinstall GingerDX)
-small adjustments to kernel
-Usb tethering test [URL="http://xdaforums.com/showpost.php?p=19320133&postcount=245"]here[/URL]

[COLOR="blue"][B]12-11-2011 -v03[/B] [/COLOR]-The weekend has arrived:D
-revert to older cmw recovery to fix advanced restore
-busybox fixes(su binary and adb install)

[COLOR="blue"][B]11-11-2011 -v02[/B][/COLOR]
-added nand id 0x5590bc2c to fix mount error one some devices. Thanks to [URL="http://xdaforums.com/member.php?u=4276321"]Amrooz[/URL] for logs and help
-added minmax govenor
[LIST][*][B]-v02a [/B]-working droidwall
[/LIST]

[COLOR="blue"][B]10-11-2011 -v01[/B][/COLOR]
-First version

Bugs

-v09a :Hitachi-lcd screen cut/image-displacement.Read change log v09 for more info

-v09a-CM7 :Usb: offline charging boots phone up(use airplane mode if you want to be offline) Offline charging is working on 09c-WLAN

-??

Tips

-don't use app2sd script(system/etc/init.d/10apps2sd) when using sd-ext.My phone gets useless with dalvik cache on sd, and I have a class 6 card.Use link2sd instead to free up space, and keep apps you often use on phone.

Thanks

-Free Xperia Team

-Doixanh for helping with wifi driver and for his great work.

-Timpot07 for helping me with testing

-Amrooz for logs and help

-DeFcOn for testing and his great cypress touch-machine.

-the_laser

-jerpelea

-nobodyAtall

-Cyanogen and the CM team

-Google and Google search

Final Note

I'm not responsible if your phone goes boom;), runs out the door or doesn't behave.

Please stop for 5 seconds and think before you post something smart;)

Remember to install the update-rom*-AlfsKern*.zip or Kernel AddOn provided with rom