Dhollmen kernel for Samsung Tab 2 Version 3.0.101 Copyright by their respective authors. Code not attributable to other is on my own authorship Credits to Kernel Team, Google, CyanogenMod, Samsung and anyone else with merit not listed here. *** HOW TO COMPILE *** # Sets environment export DIRE=$PWD/Dhollmen export KERNELDIR=$DIRE/Kernel export ARCH=arm export CROSS_DIR=/opt/toolchains/Linaro-arm-eabi-4.7/bin export CROSS_COMPILE=$CROSS_DIR/arm-eabi- export ARM_CROSS_COMPILE=$CROSS_COMPILE # Create directories mkdir -p $DIRE mkdir -p $DIRE/Modules mkdir -p $DIRE/Zimage mkdir -p $KERNELDIR mkdir -p $DIRE/PowerVRSGX # Get omaplfb sources cd $DIRE/PowerVRSGX git clone git://git.omapzoom.org/device/ti/proprietary-open.git \ -b d-jb-mr2.0-release --depth 1 # Get kernel sources cd $KERNELDIR git clone https://github.com/Dhollmen/Dhollmen_Kernel # Copy config file for your tablet model cp ./arch/arm/configs/dhollmen_P51XX_defconfig .config # or cp ./arch/arm/configs/dhollmen_P31XX_defconfig .config # Compile make ARCH=arm -j<n> ## n = CPU cores + 1 # Copy kernel image and modules rm -fr $DIRE/Modules/* cp ./arch/arm/boot/zImage $DIRE/Zimage/ find . -type f -name *.ko -exec cp {} $DIRE/Modules/ \; # Compile omaplfb cd $DIRE/PowerVRSGX rm -fr eurasia_km tar -xzf proprietary-open/omap4/sgx_src/eurasia_km.tgz rm -rf eurasia_km/eurasiacon/binary* cd eurasia_km/eurasiacon/build/linux2/omap4430_android/ make ARCH=arm TARGET_PRODUCT="blaze_tablet" BUILD=release \ TARGET_SGX=540 PLATFORM_VERSION=4.0 # Copy and strip modules cp ../../../binary2_540_120_omap4430_android_release/target/pvrsrvkm_sgx540_120.ko \ $DIRE/Modules $"$CROSS_COMPILE"strip --strip-unneeded $DIRE/Modules/*.ko cd $DIRE