[DEV] Compiling *working* a kernel from source
Has anyone done it?
I did a few runs with the m2_att_defconfig and the defconfig I pulled from the stock boot.img but I've had no luck with either. I'm fairly certain I'm repacking my boot.img back correctly, but that could be an issue as well.
I've uploaded the kernel source to github as well as the defconfig I pulled from my phone in case someone wants to save some time.
I wonder if the ominous "QUALCOMM SECUREBOOT: ENABLE" has anything to do with it too.
Anyone have any thoughts? Ideas?
Please stay on topic here
================================================== ====
Edit
mdeejay is a genius. It works with the following:
Code:
./mkbootimg --cmdline "console=null androidboot.hardware=qcom user_debug=31" --kernel zImage --ramdisk ramdisk.gz --base 0x80200000 --ramdiskaddr 0x81500000 -o ./boot.img
|