FORUMS
Remove All Ads from XDA

Custom Kernel Development: Devs only

13,194 posts
Thanks Meter: 39,783
 
Post Reply Email Thread
---[ UPDATED: July 26, 2011 16:30 GMT ]---


\\--[ ANNOUNCEMENT ]--//

[Added] FreeKernel-mod350-Th#28 by ThJap

//--[ ANNOUNCEMENT ]--\\


I have started this thread based on zdzihu's suggestion...


This thread is intended for Developers ONLY...


A method of booting custom kernels (using kexec) has been developed. Thanks Bin4ry, zdzihu, jerpelea, MrHassell, blagus, and all other devs who are working hard to make this stable. (i am sorry if i missed any names)

hope the devs can use this thread to discuss on custom kernel dev....




please keep this thread clean for the devs to discuss the kernel development aspects...

for general discussions please use the following thread:
http://forum.xda-developers.com/show....php?t=1018391


i will also keep updating this regularly with the information like relevant posts; features, limitations & links to custom kernels currently available...


*** [IMP]: before flashing custom update.zips read this: how to find the version/type of recovery on ur current ROM ***




>>> How-To for testing custom kernel <<<


>>> How to build a Linux kernel and flash it to the phone {from SE Dev Blog} <<<



Custom kernel sources released:

Current list of custom kernels:

Additional Info:
  1. the following files are required in the /system/kernel/ folder:
    • splboot.ko (some devs move this file to /system/lib/modules/splboot.ko)
    • miniloader
    • boot.img (this is the actual custom kernel)
  2. for booting the OS using custom kernel some modifications are required to the /system/bin/chargemon file
  3. also some modified/updated modules (e.g. wifi.ko) are provided for compatibility with the custom kernel


Bootloader Bypass files:
There seems to be some issues face by some users, where in using a different version of miniloader helped them sort out the issues. So I will provide all those versions.
Flashable update.zip via recovery, contains miniloader & splboot.ko:
  1. bootloader_bypass_files_v1.zip [slightly older miniloader] {came with older FreeXperiaKernels}
  2. bootloader_bypass_files_v2.zip [older miniloader] (testing only) {came with FreeKernel by zdzihu}
  3. bootloader_bypass_files_v3.zip [older miniloader] (testing only) {came with Flashtool v0.2.9.1}
  4. bootloader_bypass_files_v4.zip [newest miniloader] {comes with newer FreeXperiaKernels (from CM7 J022 K011 onwards)} (recommended)
[IMP] for v4 miniloader: u need to be on the baseband from the baseband package provided in CM7 J022 for the v4 miniloader to work properly... even if u already have baseband 2.0.52 please reflash using the baseband package provided in CM7 J022... even if u are on a different ROM u will need to use the baseband from the above package to get custom kernel to work properly
The Following 20 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
 
 
8th April 2011, 09:23 AM |#2  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
FreeKernel-alpha1 by zdzihu


Linux Kernel Version:
  • 2.6.29


Kernel features:
  • removed 32 fps cap
  • implemented netfilter (Droid wall, native USB/wifi tethering etc.)
  • undervolted to 0.950mV to save battery
  • don't remember what else I did, I bet something nasty
  • super ugly boot logo!


Requirements:
  • baseband .52 + the relevant kernel
  • clean 2.1 ROM, compatibile with .52 baseband (e.g. .504)
  • working xRecovery


Known Issues:


Tested On:
  • Stock SE Firmware 2.0.A.0.504


Link to download boot.img (flashable via recovery):

http://www.mediafire.com/?1gesziiz4pbvcr6


MD5 hash of boot.img:

Code:
d8e98b647641bc55270ccb73729f007f

Additional file(s) provided with kernel:
  • wifi.ko module
The Following 6 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
8th April 2011, 09:25 AM |#3  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
FreeKernel-alpha1 in-call volume fix by zdzihu


Linux Kernel Version:
  • 2.6.29


Kernel features:
  • possible in-call volume fix
  • removed 32 fps cap
  • implemented netfilter (Droid wall, native USB/wifi tethering etc.)
  • undervolted to 0.950mV to save battery
  • don't remember what else I did, I bet something nasty
  • super ugly boot logo!


Requirements:
  • baseband .52 + the relevant kernel
  • clean 2.1 ROM, compatibile with .52 baseband (e.g. .504)
  • working xRecovery


Known Issues:


Tested On:
  • Stock SE Firmware 2.0.A.0.504


Link to download boot.img (flashable via recovery):

http://www.mediafire.com/?jx4lbhfioquw4sk


MD5 hash of boot.img:

Code:
5de24423ad2ccce80bbd5ac9aae3079a

Additional file(s) provided with kernel:
  • wifi.ko module
The Following 4 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
8th April 2011, 09:28 AM |#4  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
FreeXperia Kernel-001 by jerpelea (from CM7.0 RC4 v014 k001 PREVIEW)


Linux Kernel Version:
  • 2.6.29


Kernel features:
  • tun/tap
  • dmmod
  • dmcrypt
  • 1.1 ghz frequency
  • undervolt
  • ondemand cpu scaller (default)
  • camera debug messages
  • netfilter


Requirements:
  • baseband 2.0.52


Known Issues:
  • wifi doesnt work. enabling/activating wifi causes WLOD (white LED of Death) and then reboot


Tested On:

Link to download boot.img (flashable via recovery):

http://www.mediafire.com/?8uzo3nudxh89x67


MD5 hash of boot.img:

Code:
fcacdb0189ca25b7c834a4a855f1776e

Additional file(s) provided with kernel:
  • kernel part of custom ROM



Bootloader bypass file(s) required to test custom kernel:

There seems to be some issues face by some users, where in using an older version of miniloader helped them sort out the issues. So I will provide here both versions.
Flashable update.zip via recovery, contains miniloader & splboot.ko:
  1. bootloader_bypass_files_v1.zip [newest miniloader] (recommended)
  2. bootloader_bypass_files_v2.zip [older miniloader] (testing only)
The Following 7 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
8th April 2011, 02:04 PM |#5  
Blagus's Avatar
Inactive Recognized Developer
Thanks Meter: 1,055
 
Donate to Me
More
One question for bypass-method developers: is it necessary to have stock SE's ROM for better chances of succeeding in porting splboot/miniloader to X8?
10th April 2011, 01:45 AM |#6  
Senior Member
Flag Melbourne
Thanks Meter: 247
 
Donate to Me
More
2.1update1 - base anyone can restore with SEUS, demonstrated work from this point, with the FreeX10, FreeXperia, Wolfbreak, rendeiro2005 and others without many problems. It might be a case of, which has the least issues, what are they and how do we eliminate them.

The most common baseband with development is 52. FreeXperia - CM7 GingerBread - entirely developed for 52 - there are two groups.

Original Baseband series: 48-49-50-51-52 (52 = last of first generation)
Current Baseband series: 53-54-55-56-57-58 (59 - not released)

Baseband is a multiplexer. The core C files are - vendor/qcom-proprietary-qsd8k/data/qmi/qmuxd/../src/qmi_qmux.c and is compiled for ARM with* vendor/qcom-proprietary-qsd8k/data/qmi/qmuxd/../platform/qmi_platform_qmux_io.c and the core interface to the Linux kernel - vendor/qcom-proprietary-qsd8k/data/qmi/qmuxd/../platform/linux_qmi_qmux_if_server.c requires several SO - (ELF binaries) - be present, compiled and available to the kernel and the linker - /system/bin/linker

liblog.so
libdiag.so
libc.so
libstdc++.so
libm.so

Everything working - /data/radio/qmux_connect_socket - will bind to an address path and make possible, one radio with one input signal to many data-output-lines and many input lines. Herein the core networking is established, with WiFi and Bluetooth become linked, with the famous exploits for NULL pointer dereference vulnerability which exist in Linux kernels < .30 - Which is no coincidence, why many Kernels are below this release version.

sent from neptune
The Following 8 Users Say Thank You to MrHassell For This Useful Post: [ View ] Gift MrHassell Ad-Free
11th April 2011, 07:47 PM |#7  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Achotjan_FreeX10 by achotjan
based on FreeKernel-alpha1 by zdzihu

---[ REMOVED ON DEVS REQUEST ]---
The Following 2 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
11th April 2011, 09:54 PM |#8  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
FreeXperia Kernel-002 by jerpelea (from CM7.0.0 J015 k002)


Linux Kernel Version:
  • 2.6.29


Kernel features:
  • possible in-call volume fix
  • gps fix
  • lcd backlight resume fix
  • tun/tap
  • dmmod
  • dmcrypt
  • 1.1 ghz frequency
  • undervolt
  • ondemand cpu scaller (default)
  • camera debug messages
  • netfilter


Requirements:
  • baseband 2.0.52


Known Issues:
  • wifi doesnt work


Tested On:

Link to download boot.img (flashable via recovery):

http://www.mediafire.com/?5egorvjv1lppno2


MD5 hash of boot.img:

Code:
25cb217886b88ba1085dfd164c8a3e8d

Additional file(s) provided with kernel:
  • kernel part of custom ROM



Bootloader bypass file(s) required to test custom kernel:

There seems to be some issues face by some users, where in using an older version of miniloader helped them sort out the issues. So I will provide here both versions.
Flashable update.zip via recovery, contains miniloader & splboot.ko:
  1. bootloader_bypass_files_v1.zip [newest miniloader] (recommended)
  2. bootloader_bypass_files_v2.zip [older miniloader] (testing only)
The Following 3 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
11th April 2011, 10:41 PM |#9  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
TripNKernel Modified FreeKernel-03
based on zdzihu's FreeKernel


Linux Kernel Version:
  • 2.6.29


Kernel features:
  • removed 32 fps cap


Requirements:
  • baseband 2.0.49/2.0.52


Known Issues:
  • GPS (not confirmed)
  • apps2sd not working


Tested On:

Link to download boot.img (flashable via recovery):

http://www.mediafire.com/?4mscmhfbr99hdt9


MD5 hash of boot.img:

Code:
aa40c889f482731eb4324e0c2a2b5336

Additional file(s) provided with kernel:
  • kernel part of custom ROM



Bootloader bypass file(s) required to test custom kernel:

There seems to be some issues face by some users, where in using an older version of miniloader helped them sort out the issues. So I will provide here both versions.
Flashable update.zip via recovery, contains miniloader & splboot.ko:
  1. bootloader_bypass_files_v1.zip [newest miniloader] (recommended)
  2. bootloader_bypass_files_v2.zip [older miniloader] (testing only)
The Following 6 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
12th April 2011, 12:15 PM |#10  
AN7 OverClocker's Avatar
Senior Member
Flag Athens
Thanks Meter: 11
 
More
how can we flash the .img file?
12th April 2011, 12:19 PM |#11  
Senior Member
Flag Bergen
Thanks Meter: 21
 
More
Quote:
Originally Posted by AN7 OverClocker

how can we flash the .img file?

A little more info please, wich kernel are you talking about? Tripnraver's, zdzihu's..?

If it's tripnraver's kernel you try to flash, you should just flash the zip-package you downloaded
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes