[Galaxy S II I9100G Android Development] LionXz:
I recently try to compile ICS I9100G Kernel from source, it compiled to zImage but when I flashed to the phone it doesn't booting. Stuck at Samsung Galaxy SII I9100G boot screen.

I also have tried using your kernel source and Codeworkx kernel source both also produced same result. Stuck at at boot screen.

Have try to wipe dalvic cache & wipe data also not working. So I have no idea now.

Here is the warning logs when compiling the kernel, I thought the problem might comes from here.

arch/arm/mach-omap2/omap_hwmod.c: In function 'omap_hwmod_softreset':
arch/arm/mach-omap2/omap_hwmod.c:1636: warning: unused variable 'ret'
arch/arm/mach-omap2/omap_hwmod.c:1635: warning: unused variable 'v'
arch/arm/mach-omap2/omap4-common.c:41: warning: 'l4_secure_clkdm' defined but not used
arch/arm/mach-omap2/clockdomain.c:238: warning: '_resolve_clkdm_deps' defined but not used
arch/arm/mach-omap2/dpll3xxx.c: In function '_omap3_wait_dpll_status':
arch/arm/mach-omap2/dpll3xxx.c:70: warning: 'orig_cm_div_m2_dpll_usb' may be used uninitialized in this function
arch/arm/mach-omap2/dpll3xxx.c:71: warning: 'orig_cm_clkdcoldo_dpll_usb' may be used uninitialized in this function
arch/arm/mach-omap2/omap_hwmod_44xx_data.c:4856: warning: 'secure_timer_dev_attr' defined but not used
arch/arm/mach-omap2/usb-musb.c:85: warning: 'usb_musb_mux_init' defined but not used
arch/arm/mach-omap2/sec_gaf.c: In function 'sec_gaf_dump_cpu_stat':
arch/arm/mach-omap2/sec_gaf.c:405: warning: too many arguments for format
arch/arm/mach-omap2/board-t1-connector.c:1011: warning: initialization discards qualifiers from pointer target type
include/linux/cm3663.h:43: warning: 'reg_defaults' defined but not used
include/linux/cm3663.h:66: warning: 'brightness_step_table' defined but not used
include/linux/cm3663.h:67: warning: 'adc_step_table' defined but not used
drivers/cpuidle/governors/menu.c:128: warning: 'get_loadavg' defined but not used
drivers/gpu/ion/ion.c: In function 'ion_flush_cached':
drivers/gpu/ion/ion.c:852: warning: unused variable 'client'
drivers/gpu/ion/ion.c: In function 'ion_inval_cached':
drivers/gpu/ion/ion.c:878: warning: unused variable 'client'
drivers/media/radio/si470x/radio-si470x-dev.c: In function 'si470x_dev_read':
drivers/media/radio/si470x/radio-si470x-dev.c:734: warning: 'block_count' may be used uninitialized in this function
drivers/media/radio/si470x/radio-si470x-dev.c:703: warning: 'ret' may be used uninitialized in this function
drivers/media/radio/si470x/radio-si470x-dev.c: In function 'si470x_dev_ioctl':
drivers/media/radio/si470x/radio-si470x-dev.c:820: warning: 'ret' may be used uninitialized in this function
drivers/media/radio/si470x/radio-si470x-i2c.c: In function 'si470x_i2c_probe':
drivers/media/radio/si470x/radio-si470x-i2c.c:493: warning: label 'err_all' defined but not used
drivers/media/radio/si470x/radio-si470x-common.c:303: warning: 'si470x_set_seek' defined but not used
drivers/media/radio/si470x/radio-si470x-common.c:436: warning: 'si470x_rds_on' defined but not used
drivers/misc/mpu3050/mpu-dev.c: In function 'mpudev_ioctl_rdrw':
drivers/misc/mpu3050/mpu-dev.c:279: warning: unused variable 'mpu'
drivers/misc/mpu3050/mpu-dev.c: In function 'mpu3050_factory_on':
drivers/misc/mpu3050/mpu-dev.c:1161: warning: ISO C90 forbids mixed declarations and code
drivers/misc/mpu3050/mpu-dev.c: In function 'accel_calibration_store':
drivers/misc/mpu3050/mpu-dev.c:1736: warning: passing argument 1 of 'sprintf' discards qualifiers from pointer target type
include/linux/kernel.h:291: note: expected 'char *' but argument is of type 'const char *'
drivers/misc/mpu3050/mpu-dev.c: In function 'mpu3050_factory_off':
drivers/misc/mpu3050/mpu-dev.c:1187: warning: 'pressure_adapter' is used uninitialized in this function
drivers/misc/mpu3050/mpu-accel.c: In function 'mpu_accel_delay_store':
drivers/misc/mpu3050/mpu-accel.c:450: warning: passing argument 3 of 'kstrtoul' from incompatible pointer type
include/linux/kernel.h:197: note: expected 'long unsigned int *' but argument is of type 'int *'
drivers/misc/mpu3050/mpu-accel.c: In function 'mpu_accel_enable_store':
drivers/misc/mpu3050/mpu-accel.c:484: warning: passing argument 3 of 'kstrtoul' from incompatible pointer type
include/linux/kernel.h:197: note: expected 'long unsigned int *' but argument is of type 'int *'
drivers/misc/mpu3050/accel/kxtf9.c: In function 'kxtf9_read':
drivers/misc/mpu3050/accel/kxtf9.c:636: warning: unused variable 'reg'
drivers/misc/akm8975.c: In function 'ak8975_adc':
drivers/misc/akm8975.c:461: warning: 'return' with no value, in function returning non-void
drivers/misc/akm8975.c:469: warning: 'return' with no value, in function returning non-void
drivers/misc/akm8975.c: In function 'akm8975_probe':
drivers/misc/akm8975.c:512: warning: unused variable 'input_dev'
drivers/misc/akm8975.c: At top level:
drivers/misc/akm8975.c:676: warning: initialization from incompatible pointer type
drivers/misc/akm8975.c:677: warning: initialization from incompatible pointer type
drivers/misc/fsa9480.c: In function 'fsa9480_probe':
drivers/misc/fsa9480.c:1005: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type
include/linux/sysfs.h:130: note: expected 'const struct attribute *' but argument is of type 'struct device_attribute *'
drivers/misc/omap4_duty_cycle.c: In function 'set_duty_nitro_interval':
drivers/misc/omap4_duty_cycle.c:410: warning: 'return' with no value, in function returning non-void
drivers/misc/omap4_duty_cycle.c: In function 'set_duty_nitro_percentage':
drivers/misc/omap4_duty_cycle.c:422: warning: 'return' with no value, in function returning non-void
drivers/misc/omap4_duty_cycle.c: In function 'set_duty_cycle_enable':
drivers/misc/omap4_duty_cycle.c:433: warning: 'return' with no value, in function returning non-void
drivers/misc/omap4_duty_cycle.c: In function 'set_duty_nitro_rate':
drivers/misc/omap4_duty_cycle.c:445: warning: 'return' with no value, in function returning non-void
drivers/misc/omap4_duty_cycle.c: In function 'set_duty_cooling_rate':
drivers/misc/omap4_duty_cycle.c:458: warning: 'return' with no value, in function returning non-void
drivers/misc/omap4_duty_cycle.c: In function 'show_cooling_rate':
drivers/misc/omap4_duty_cycle.c:509: warning: ignoring return value of 'mutex_lock_interruptible', declared with attribute warn_unused_result
drivers/misc/omap4_duty_cycle.c: In function 'store_cooling_rate':
drivers/misc/omap4_duty_cycle.c:523: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result
drivers/misc/omap4_duty_cycle.c:527: warning: ignoring return value of 'mutex_lock_interruptible', declared with attribute warn_unused_result
drivers/sensors/optical/cm3663.c: In function 'cm3663_light_enable_store':
drivers/sensors/optical/cm3663.c:367: warning: passing argument 3 of 'kstrtoul' from incompatible pointer type
include/linux/kernel.h:197: note: expected 'long unsigned int *' but argument is of type 'int *'
drivers/sensors/optical/cm3663.c:370: warning: ISO C90 forbids mixed declarations and code
drivers/sensors/optical/cm3663.c: In function 'cm3663_proximity_enable_store':
drivers/sensors/optical/cm3663.c:407: warning: passing argument 3 of 'kstrtoul' from incompatible pointer type
include/linux/kernel.h:197: note: expected 'long unsigned int *' but argument is of type 'int *'
drivers/sensors/optical/cm3663.c:410: warning: ISO C90 forbids mixed declarations and code
drivers/sensors/optical/cm3663.c: In function 'cm3663_work_func_light':
drivers/sensors/optical/cm3663.c:571: warning: unused variable 'i'
drivers/sensors/optical/cm3663.c: In function 'cm3663_i2c_probe':
drivers/sensors/optical/cm3663.c:699: warning: unused variable 'adc'
drivers/sensors/optical/cm3663.c:698: warning: unused variable 'i'
drivers/sensors/optical/cm3663.c: At top level:
drivers/sensors/optical/cm3663.c:961: warning: initialization from incompatible pointer type
drivers/sensors/optical/cm3663.c:962: warning: initialization from incompatible pointer type
include/linux/cm3663.h:66: warning: 'brightness_step_table' defined but not used
drivers/tty/serial/omap-serial.c: In function 'serial_omap_set_termios':
drivers/tty/serial/omap-serial.c:792: warning: unused variable 'efr'
In file included from drivers/usb/gadget/android.c:66:
drivers/usb/gadget/f_dm.c: In function 'dm_disable':
drivers/usb/gadget/f_dm.c:162: warning: unused variable 'cdev'
drivers/usb/gadget/f_dm.c: In function 'dm_bind':
drivers/usb/gadget/f_dm.c:202: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'struct usb_ep *'
drivers/usb/gadget/f_dm.c:202: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'struct usb_ep *'
drivers/usb/gadget/android.c: In function 'enable_store':
drivers/usb/gadget/android.c:984: warning: ISO C90 forbids mixed declarations and code
drivers/usb/gadget/android.c: At top level:
drivers/usb/gadget/f_mtp_samsung.c:705: warning: 'interrupt_complete' defined but not used
drivers/usb/host/ehci-hub.c:1300: warning: 'ehci_relinquish_port' defined but not used
drivers/usb/host/ehci-hub.c:1309: warning: 'ehci_port_handed_over' defined but not used
drivers/usb/musb/musb_gadget.c: In function 'musb_gadget_enable':
drivers/usb/musb/musb_gadget.c:1078: warning: 'double_buffer_not_ok' is deprecated (declared at drivers/usb/musb/musb_core.h:520)
drivers/usb/musb/musb_gadget.c:1118: warning: 'double_buffer_not_ok' is deprecated (declared at drivers/usb/musb/musb_core.h:520)
drivers/usb/musb/musb_host.c: In function 'musb_rx_reinit':
drivers/usb/musb/musb_host.c:611: warning: 'double_buffer_not_ok' is deprecated (declared at drivers/usb/musb/musb_core.h:520)
drivers/usb/musb/musb_host.c: In function 'musb_ep_program':
drivers/usb/musb/musb_host.c:786: warning: 'double_buffer_not_ok' is deprecated (declared at drivers/usb/musb/musb_core.h:520)
drivers/usb/otg/otg_id.c: In function '__otg_id_notify':
drivers/usb/otg/otg_id.c:47: warning: 'ret' may be used uninitialized in this function
drivers/video/omap2/displays/panel-ld9040.c:545: warning: 'ld9040_set_power' defined but not used
drivers/video/omap2/displays/panel-ld9040.c:558: warning: 'ld9040_get_power' defined but not used
drivers/video/omap2/hdcp/hdcp_top.c:117: warning: 'hdcp_wq_disable' defined but not used
drivers/video/sii9234.c:2393: warning: initialization from incompatible pointer type
drivers/video/sii9234.c: In function 'sii9234_mhl_tx_i2c_probe':
drivers/video/sii9234.c:2511: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type
include/linux/sysfs.h:130: note: expected 'const struct attribute *' but argument is of type 'struct device_attribute *'
drivers/video/sii9234.c: At top level:
drivers/video/sii9234.c:529: warning: 'tpi_read_reg' defined but not used
sound/soc/soc-dapm.c: In function 'dapm_power_widgets':
sound/soc/soc-dapm.c:1554: warning: #warning need re-work
sound/soc/codecs/twl6040.c: In function 'twl6040_headset_power_put_enum':
sound/soc/codecs/twl6040.c:1154: warning: 'ret' may be used uninitialized in this function
sound/soc/omap/sdp4430.c: In function 'sdp4430_soc_init':
sound/soc/omap/sdp4430.c:1149: warning: label 'mainmic_gpio_err' defined but not used
sound/soc/omap/sdp4430.c:1145: warning: label 'submic_gpio_err' defined but not used
sound/soc/omap/abe/abe_core.c: In function 'omap_abe_set_opp_processing':
sound/soc/omap/abe/abe_core.c:466: warning: unused variable 'sio_desc'
sound/soc/omap/abe/abe_core.c:465: warning: unused variable 'sio_desc_address'
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
net/ipv4/tcp.c:3355: warning: 'in' may be used uninitialized in this function
net/ipv4/tcp.c:3357: warning: 'in6' may be used uninitialized in this function
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
include/net/netfilter/xt_log.h:50: warning: value computed is not used
In file included from net/ipv6/netfilter/ip6t_LOG.c:26:
include/net/netfilter/xt_log.h: In function 'sb_close':
include/net/netfilter/xt_log.h:50: warning: value computed is not used

I hope someone especially @superatmos can help me out of this problem as you are very experienced kernel developer of this device.