Compiling kernel? Nothing will boot

NHellFire

Member
Dec 4, 2014
29
5
0
Alright, so, I'm trying to compile a custom kernel with all the rooting restrictions disabled, but I can't get anything to boot.

I've used Samsung's source (N930FXXU1APGI) and TWRP's stock-6.0 branch.

When building with no modifications:
TWRP stock-6.0 boots, but panics shortly after: Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 1
Samsung's doesn't boot (stuck at bootloader splash)

Both using the same ramdisk (with verify disabled) that I'm running with the stock kernel.

Anyone got any suggestions?

Compilers tested:
Ubuntu 16.04's arm64 toolchain (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1))
gcc-linaro-4.9-2016.02-x86_64_aarch64
Google's 4.9 (gcc version 4.9.x 20150123 (prerelease) (GCC))