[HTC One V] simonsickle:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is the SickleKernel for the HTC One V (primoc and primou). The source code has been modified to support both devices in a unified development environment. To assist in the development, simply checkout the source code, add a feature, test it and push the changes to my gerrit with the included gerrit script in the kernel's root. All changes will be reviewed and tested, and if the code is up to spec, will also be accepted. All contributions are greatly welcome.

The current goal of this kernel is to get the MSMFB from the jb_chocolate branch of CAF to boot fully on this device. Currently the goal of this project is to get past the black screen currently encountered so that we can have proper msm_fb drivers in jellybean and more easily port a 3.4 kernel. The current URL for the work (and booting caf drivers is here NOTE: Booting drivers means booting with a black screen.) We must properly initalize the panel of this device, but as soon as that is accomplished there will not be any problems with jellybean vsync.

Major Changes:

Add gerrit script to allow others to contribute to kernel code
compiled with cfx 3.8.1 toolchain
Fix Makefile flags so that kernel compiles on 4.8 GCC toolchains
Add google snappy
add -fno-pic flag for some compilers to fix wifi module
fix jb-4.2.2 no booting issue with MSMFB
Add XZ compression
patch to 3.0.67
Fix multitouch issue
Add cflags to optimize the code such as cortex9 and funloop
add primou board files
fix wakelock of bluetooth (caused bad battery life)
add new KGSL drivers for jellybean
fix compile warnings in 3.0.56 for gcc 4.6 (google prebuilt)
patch to 3.0.56
fix bluetooth in kernel
add overclock
fix warnings

Installation guide:

Use this awesome guide by the helpful cybervibin

How to compile:

1) download this tested toolchain

2) get kernel source here (Current branch is "jellybean-4.2")

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 primoc_defconfig` NOTE: If building for gsm, primou_defconfig should be used

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 (Android kitchen is reccomended)

NOTE:

mkbootimg flags:

primoC base is 0x14300000 and ramdisk is 0x15300000

primoU base is 0x13f00000 and ramdisk is 0x14f00000

command line for both is console=ttyHSL0,115200,n8

Source:

here Current branch "jellybean-4.2"

Any bug reports should be posted here

Downloads:

Primoc V42 for 4.2.2 roms (ION) -> Here

MD5: fa0e631d340f06e67ebfeed5f2ed99f7

Primou V42 for 4.2.2 (PMEM) -> Here

MD5: d275623756c850b0936323d90292f9b4

Thanks:

maxwen

jmztaylor

synergy (CFX 4.8.1 toolchain)

lloir

tehwafflez (for buying me a wonderful bus pirate)

BeyondExistence