Installation Instructions:
1) Get android SDK
2) get kernel.img from OP
3) put in fastboot directory
4) Install appropriate drivers for your phone (NO HTC SYNC, THIS PREVENTS ADB)
5) Boot into FASTBOOT USB
6) issue the command `fastboot flash boot SickleKernelvX.img` where X is the version you downloaded
7) Reboot and proffit
How To Compile:
1) download
this tested toolchain
2) get kernel
source here (Current branch is "jellybean")
3) put the toolchain in your $HOME directory
4) be sure your system has all the dependencies to build a kernel (system-devel, gcc, ect)
5) cd to the kernel source
6) issue the command `make ARCH=arm k2_cl_defconfig`
7) issue the command `make -j4 ARCH=arm CROSS_COMPILE=`echo "$HOME/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8/bin/arm-eabi`"`
8) grab the kernel from arch/arm/boot/zImage and the modules from drivers/net/wireless/bcmdhd_*/bcmdhd.ko
9) create a boot.img with either mkbootimg and mkbootfs or android kitchen from xda
NOTE: the mkbootimg command for this device is `mkbootimg --kernel /path/to/zImage --ramdisk /path/to/ramdisk.gz --base 0x80400000 --pagesize 2048 --ramdiskaddr 0x81808000 --cmdline "console=ttyHSL0,115200,n8 user_debug=31" -o bootout.img`
CHANGELOG
Code:
------ V20 --------
New base from JB source from HTC
everything working
s2w and s2s added
remove debugging code
add app to release for controlling the kernel
GCC 4.8 (AOSP)
Fix radio bugs
Fix NFC
Fix wifi
Fix FM radio
------ V2 ---------
put bcmdhd.ko into the boot.img so that its flashed without a zip
build with new toolchain (https://bitbucket.org/codefirex/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8.git)
Add Kbuild cflags to allow gcc 4.8.1 compliance such
------ V1 ----------
remove write protection persist of /system in k2_cl_defconfig
gcc 4.7.3 compliance
port k2_plc_cl (cricket) board files
fix mobicore drivers by adding them back
fix all warnings that show as errors in the code
DOWNLOADS:
https://play.google.com/store/apps/details?id=com.simonsickle.kernelmanager
and
File Contents of http://dl.simonsickle.com/files/.
Take the .img file and run the following commands
adb reboot bootloader
fastboot flash boot SickleKernelv20-101513.img
fastboot reboot
Now, boot into android and use my app. From here enable s2w (if you like it) and you're good to go!