[GB]FeraKernel - Harder, Better, Faster, Stronger!

Search This thread

Dr Goodvibes

Senior Member
Dec 8, 2011
843
813
Kernel: FeraKernel v13 Test10

Kernel flashes and boots OK.

I do notice in my environment, that the first few start-ups are hanging and then rebooting again

I can swipe the lock screen and then just watch the weather widget as the cloud movement are a good indicator of Max CPU use.
I see the clouds freeze, jump a bit and then freeze.

Took three reboots and with the phone just left on the third attempt until the lock screen timeout and then 30sec later, I could swipe and use the phone.

I'll test a few reboots later as I've had ROM/Kernels in the past that need intervention on the boot sequence, otherwise they just keep rebooting.

FeraKernel v13 Test10 doesn't appear to be a major problem on the reboot issue as the third time booted OK without intervention.[just noted for reference]

CPU 245-113MHz SmartAssv2/sio was set as default on boot.

Camera works with a few simple photos and a quick video as proof of functionality without critique.
WiFi fine.

HD 720p mkv(H.264,AC3) video plays very smoothly.. now I have to explain degrees of smoothness as there is no lag or frame drops.

HDTV streamed to my phone only display in SW mode and not in HW acceleration mode, so not as good a test of future improvements as I thought it'd be. May check codec and see if I can change it.

However, FSP2D is reporting only 36FPS,, if it's to be believed. It was 54FPS before test10 upgrade. And 30FPS when I didn't have the correct GPU updates.

NenaMark2 is giving FPS inline with other XPERIA X10i kernels and never greater.

Done a few more reboots and the boot load sequence seems to have settled now with no more boot/reboots (at this time)

No major dramas noted within 30minutes of use.
 

shinnsan

Senior Member
Jan 4, 2011
492
91
Pulau Pinang
Before starting.. If you are going to test kernel on non-FeraLab ROM then flash THIS video drivers to match latest KGSL updates in kernel..Otherwise you will get very poor graphics experience. FeraLab ro already includes this.

Test-10 version of v13 kernel..This is release candidate build

In this version I enabled 32bit-per-pixel support, enabled GPU overclock for 2d, enabled GPU overclock for stock cpu frequency (998mhz), fixed Axi overkill :)D) on 1190Mhz frequency, made more stable VDD. Tuned battery driver so it will last a little bit longer than usual before shutting down completely on low battery. Optimized LMK, removed restriction of SPI clock speed, allowed CPU to take ownership of oob buffer while page read. KGSL gpu prepare timout fix. Removed the arch_barrier_extra() hook in asm. Little tracing fix. VFP: fixed fpsid register subarchitecture field mask width. Added retry mechanism on i2c failures. Camera device timout decrased. DPM timeout increased for sure. Fixed AXI freq. problems in camera. Also improved wifi module auto-installation.. Most things were prted from .35 CAF kernel.. Hope it will boot and make things even better.. Report please..

Thank you!

Colors - No noticeable difference
Gaming - No noticeable difference
HD Video - Recording and playing works fine
Camera - Works fine. Clicking on gallery view icon force closes camera.
Overclock - Good
WiFi - Working
Antutu benchmarking - 4569 (Dropped, compared to Test-9's 4628)
 
  • Like
Reactions: FeraVolt

FeraVolt

Senior Member
Dec 30, 2011
2,110
16,574
www.facebook.com
Ok.. New test-11 build is released. I hope that this is last build for v13.

By the time. I started to port 2.6.38.6 pure CAF kernel to our monster phone. Why .38 kernel? Because it's last official gingerbread kernel.(Yeah.. I will make it for Gingerbread roms) Last official update of it was 2012-08. So i forked it and wish to boot it on x10. The main problem is that i don't have device currently :D so i dunno how i can do that. I hope that my motivation, wish, time and knowledge will be enough to do that :).

All process is seen in my git.
OP updated.
Have a nice time!
 
Last edited:

JeySee

Senior Member
Apr 14, 2011
599
334
Berlin
Just faced problem with loudspeaker while talking, i couldn't hear the person. Don't know if it's Rom related or kernel?!?
 

Dr Goodvibes

Senior Member
Dec 8, 2011
843
813
FeraKernel v13 Test11

Model: XPERIA X10i
ROM: GB 2.3.4 (applications supplied by XPERIA LT26i)
SDcard: SanDisk Ultra® microSDXC™ UHS-I 64GB

FeraKernel Test11 runs very smoothly with screen and scrolling actions giving the UI a "buttery" feeling. (well, as buttery as an XPERIA X10i gets)

Used an active SIM from another phone and was able to receive and make calls where all parties agreed the audio quality was good.

3G(UMTS) mobile data works fine with my mobile provider.

SMS text messages works fine.

FPS is now back to 53... Couldn't obtain 54FPS any more and I did try. 53FPS is still very acceptable.
FPS avg=53 stdev=2.82

cifs.ko works will and I was able to connect to my NAS without problems.
As a foot note Google Play Store CifsManager does NOT support NTLMv2 authentication..[that took me 10mins of head scratching and denied access to track down]

tun.ko works fine. I tested it over OpenVPN to my NAS using 3G mobile data without any problems

Interesting move to place the modules on a top level /modules folder.
Is that to protect the *.ko modules from other kernels which like to mess with the folder locations.
I'm a big fan of sticking to the 'standards' (yes, I know, more like guidelines) in which case they'd be located in /system/lib/modules.
Having the files located in /modules, still works well, It's just different, that's all

Played a bit of music via Xiialive and Neuron Music Player and speaker works fine.

NenaMark2 7.9FPS average for a GB 2.3 Kernel.

GeekBench 2

DoomKernel Score: 535 @ 1228MHz

Processor integer performance: 507
Processor floating point performance: 709
Memory performance: 453
Memory bandwidth performance: 194

FeraKernel Test11 scrore: 520 @ 1190MHz

Processor integer performance: 496
Processor floating point performance: 679
Memory performance: 444
Memory bandwidth performance: 203

AnTuTu v4.0 Scores

attachment.php



Quadrant Score: @ 1190MHz

attachment.php


802.11G WiFi

Transmits 25.8MBytes over 10sec at 21.4Mbits/sec

I would be so bold to say, FeraKernel v13 Test11 is a stable test environment, as I've not noted anything that fails or truely degrades services compare to other quality GingerBread Kernels.
One would need to use FeraKernel for some weeks before one could say the Kernel is truly stable, but we're still talking about a beta Kernel at the moment where core essentials are still in flux and under development.

Thank you @FeraVolt for developing this Kernel.
 
Last edited:

Achotjan

Senior Member
Apr 7, 2010
2,461
11,621
Marseille
www.xperiaoverlay.com

gazzthrex

Member
Feb 18, 2010
15
0
stuck on boot...flashing with flashtool from previous kernel v12.1R...any guide that maybe i missed???......
 

Top Liked Posts

  • There are no posts matching your filters.
  • 76

    attachment.php



    = Welcome =

    Little intro:
    I'm not a super-professional developer, but I try to do the things I love to do in the best way. Feel free to do critics, suggestions or anything else, but be warned that this thread is created for developing/sharing purposes, so I want this area to be non-noobs zone. If you don't know what/how/why to do, just search a little bit. And don't make useless posts - if you have problem, try to provide log's & additional info. Thank you.
    Now tighten your belts - we're going to fly at the speed of light! :)
    EDIT: Last GB version of FeraKernel is v28..a big..very big step in kernel development. So to juice your GB ROM flash this version. Older kernels are not supported any more so if you have any problem make sure you flash latest version.



    "History of universe":
    Xperia X10 was released in 2010-03-01. It's a great device with 386MB of RAM (270MB user-available) onboard. X10 Uses modified qsd8x50 board called 'es209ra'. Heart of this SoC is armv7 1Ghz Qualcomm Snapdragon CPU with built-in Adreno200 GPU. Latest official firmware for x10 is Android 2.3 GB. The HW setup of this phone was amazing for the time it was released. Even now there are a lot of chineese phones with similar hw setup BUT they are doble faster then x10..WHY? Because Software part of x10 realy sux. And the work I've done on kernel more than just proves this. FeraKernel - this is how it should be..Harder, Better, Faster, Stronger!


    Features:
    • Updated linux kernel code to .32
    • Compiled and tuned with self-build & optimized LINARO 4.7 toolchain
    • Updated & super-enlighted KGSL video drivers to latest CAF GB version
    • Updated & tuned audio driver to latest CAF GB version
    • Increased volume for both phone speakers
    • Locked Bootloader support. Bootloader by-pass hack
    • CPU overclock up to 1,3 Ghz support
    • CPU smart undervolt & VDD access support
    • Overcklocked Adreno200 GPU up to 192Mhz
    • Updated to latest YAFFS file system. Tuned ROM I/O logic
    • Massive source-code clean-up
    • Frandom entropy generator & entropy generation tune-up
    • Kernel runtime scheduling updated & tuned for android
    • Unaligned memory access support
    • Android LowMemoryKiller ported from 3.4 kernel, injected fudgeswap support & heavily tweaked for x10
    • Updated & tuned DirectRenderingManager to latest CAF GB version
    • Kernel PID fixes
    • VFPv3 & FPE modules updated to latest version and heavily tuned
    • Increased touchscreen sensivity
    • Proper multitouch support
    • 32-bit display mode support (16mln colors)
    • Kernel swap support. Heavily tuned for x10
    • zRAM support. Heavily tuned for x10. New compression algorithm
    • Increased ROM/SDcard r/w speed
    • CIFS & VPN support
    • A LOT of battery tweaks
    • Tuned kernel modules
    • Android logger ported from 3.4 kernel and tuned
    • Improved DeepSleep mode
    • SmartAssH3, lafree CPU schedulers. Heavily tuned for x10
    • Updated PMEM to latest version
    • Updated MSM-rotator
    • MTD partition manager updated and tuned
    • Added Cleancache support
    • Vibrator undervolt
    • WiFi undervolt
    • Removed restriction on SPI clock speed
    • RAM Hack. 7,4Mb more fore you.
    • Tuned battery driver
    • Updated diag from .35 kernel
    • HW key-reset support (HOME + VOLUME UP for 3s)
    • Ported latest Google Snappy compression algorithm
    • 8 MB for VRAM (instead of 2)
    • 2 MB for Camera memory (instead of 1)
    • Updated LZO from 3.4 kernel
    • Updated & tuned android-binder
    • FPS uncap
    • Display driver tune-up
    • Tripple buffering support
    • MSM framebuffer squashed update
    • Dynamic fs readahead support
    • EXT3/EXT4 fs support. Tuned.
    • Ported Tiny RCU
    • Improved ARM sha1 & AES routines
    • SIO i/o scheduler support. Heavily tuned for x10
    • Massive networking tune-ups & updates
    • Mount partitions as -noatime by default
    • Optimized ARM pagetables
    • Tuned deadline and CFQ i/o schedulers
    • Memory compaction support
    • Ported sync and SWsync framework for drivers
    • Reduced VM memory fragmentation
    • Ported genlock
    • CGROUPS support
    • Tuned VM
    • Updated timed_gpio from CAF
    • Portred ClearPage framework
    • Disabled file-sync
    • Ported and adapted ION memory manager. (not implemented in use)
    • Updated media codecs headers
    • Ported and updated Kernel Same-page Merging. Heavily tuned for x10
    • Ported memset li from 3.4 kernel
    • CPU freq. driver updated & heavily tuned
    • FeraDroid Engine support
    • Massive ramdisk clean-up and improvements
    • Built-in CWM v6
    • misc.. and many many MORE. 600+ changes. :eek:
    Look more HERE.




    Thanks to all guys, who contributed, helped, tested my work.. And thanks to all dev's, whose work I used in my firmware. You all are wonderful, amazing, smart, super cool, beautiful people!

    39
    FeraKernel v18.2

    Released v18.2 Kernel. Solid stable. Redefining x10 experience..

    Changelog:
    Starting from v16.1
    PHP:
    ***FeraLab***
    =============
    
    LOCKED BOOTLOADERS
    Kernel version is v16.1, but updated ramdisk from 18.2 kernel, so it will work fine with new ROM.
    
    
    = v18.2 =
    >> Updated binder from CAF & fixed memory leak.
    >> Updated SIO i/o scheduler & tuned for mobile environment (set as default).
    >> Tuned cleancach and DM ioctl.
    >> A LOT of network optimizations:
    Full android capability. netfilters, core & etc updates and fixes from CAF & many more..
    >> Optimized ARM page-tables.
    >> Updated LINARO cross-compiler toolchain & optimized for ARMv7.
    >> Mount partitions as -noatime by default.
    >> Updated CPU VDD and freq. table. Solid-stable.
    >> MDP copybit fix.
    >> Fixed wakelock issue in deepsleep.
    >> Tuned deadline & CFQ i/o schedulers for mobile environment.
    >> SWAP, zRam updates & optimizations.
    >> VM page-writeback tunings.
    >> OOM pid access allowed for Android user-space.
    >> Updated & optimized SHA1 algoritm.
    >> Logger driver ported from 3.0 kernel.
    >> Fixed random entropy early depleation.
    >> Ported & enabled updated memory compaction.
    >> Added timed-out KeyReset support.
    >> LowMemoryKiller driver updated & optimized (fundge-swap supported).
    >> Misc squashed kernel updates from CAF.
    >> Updated kernel headers.
    >> Updated kernel codecs headers.
    >> Added and enabled driver Sync and SW_Sync framework.
    >> Added ARM idle call notifiers. 
    >> Keeping kernel threads alive.
    >> Fixed Bluetooth calls.
    >> Modified battery driver - more battery info.
    >> Reduced memory fragmentation by introducing extra_free_kbytes (set 1024kb.).
    >> Display driver cleanup and fixes.
    >> Updated DRM to v1.1
    >> Fixed KGSL DRM ioctl.
    >> Ported updated genlock framework.
    >> Tuned & fixed SmartAssH3 CPU governor.
    >> RCU fixes from CAF.
    >> Preemtion bugfixes.
    >> ARMv7 sleep optimizations.
    >> Updated MSM framebuffer.
    >> Updated & tuned YAFFS2 from 2011 Xperias.
    >> 32bit-per-pixel support.
    >> Bootlogo 32bpp support.
    >> Frandom entropy generator updated. Optimized rng core.
    >> Enabled cgroups for user-id. 
    >> VM dirty ratios tunings.
    >> GPU memory hack. Extended to 4MB (default - 2MB).
    >> Updated android timed-gpio from CAF.
    >> CPU/Kernel power saving improvements from CAF.
    >> Undervolt Wlan module (from 2.9V to 2.3V).
    >> Camera memory hack. Extended to 2MB (default - 1MB).
    >> Improved memory allocation.
    >> Ported ClearPage framework.
    >> Disabled file-sync in FS.
    >> Ported & updated MSM ION memory manager.
    >> Ported, updated & tuned Kernel Same-page Merging (KSM).
    >> Accelerometer device recalibration.
    >> Switched to compat linux video framwork.
    >> HID devices compability.
    >> Updated cryptographic routines.
    >> Remapped internal partition:
    RAM-286Mb, BOOT-78Mb, SYSTEM-300Mb, DATA-548Mb, CACHE-80Mb, LOG-4Mb.
    >> KGSL improvements.
    >> Libs updates.
    >> Ramdisk clean-up.
    >> Ramdisk partically merged with AOSP Kit-kat.
    >> misc..


    Download:
    http://www.wuala.com/feravolt/FeraLab/Kernel/

    I spent a lot of time, put a lot of efforts in this kernel. Please don't just take out things and leave.. Thank you.


    Peace! :good:
    30
    Ok.. Managed to deal with internal storage hack.. proof attached below.. we now have 620MB of user memory available.. 300MB for system and 6MB for cache (just for txt, recovery files).. this hack have to work for locked bootloaders aswell.. I have to try.. Market download cache is remapped to data/cache.. so no problem.. Whith this hack we can easily remap partitons.. so there wont be any troubles with JB roms low memory on disk..

    We have now only one fat problem with framebuffer. when system is working..it's just fine.. but on early init it has big troubles.. I attached another screenshot of aroma instaler.. as you see it's splitted to the half same as bootlogo.. so there is nothing to do with logo.c anymore and we have to fix the fb itself.. Camera is fixed.. I tested with stabilizator - on..and it's just fine.. I will continue to deal wth fb later.. thank you for everything..
    28
    damn...this kernel will be monsterous.. I have a lot of stuff to do on it... but it definetly will ;D