[Android Software/Hacking General [Developers Only]] mikeioannina:
Viewsonic uploaded the kernel source for Viewpad 10e. That is the first release of the kernel source for a vimicro VC882 device.

So I've been trying to compile the kernel for my tablet, Haipad M8 which is based on VC882 cpu.

I have successfully compiled and boot my device with the new kernel but there are some things not working, the most important is touchscreen. During the compilation there are some warnings in the touchscreen driver:

drivers/input/touchscreen/vc088x_ts_goodix.c:819: warning: initialization from incompatible pointer type
drivers/input/touchscreen/vc088x_ts_goodix.c:820: warning: initialization from incompatible pointer type
drivers/input/touchscreen/vc088x_ts_goodix.c: In function 'goodix_ts_probe':
drivers/input/touchscreen/vc088x_ts_goodix.c:1017: warning: passing argument 1 of 'IS_ERR' makes pointer from integer without a cast
include/linux/err.h:32: note: expected 'const void *' but argument is of type 'int'
drivers/input/touchscreen/vc088x_ts_goodix.c:1213: warning: label 'err_create_proc_entry' defined but not used
drivers/input/touchscreen/vc088x_ts_goodix.c: At top level:
drivers/input/touchscreen/vc088x_ts_goodix.h:84: warning: 'goodix_proc_entry' defined but not used
drivers/input/touchscreen/vc088x_ts_goodix.c: In function 'goodix_debug_diffdata_show':
drivers/input/touchscreen/vc088x_ts_goodix.c:726: warning: the frame size of 2248 bytes is larger than 1024 bytes; see http://go/big_stack_frame
CC net/core/net_namespace.o
drivers/input/touchscreen/vc088x_ts_goodix.c: In function 'goodix_ts_probe':
drivers/input/touchscreen/vc088x_ts_goodix.c:1061: warning: 'gpio_name' may be used uninitialized in this function

and when I boot the tablet:

goodix_ts power on...
goodix: ts->int_trigger_type 0
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SU08G 7.40 GiB
mmcblk0: p1 p2 <i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
p5i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
p6i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
p7i2c-1: Nack was received
> p3 p4
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
mmc1: new SD card at address 4d9c
mmcblk1: mmc1:4d9c SD02G 1.83 GiB
mmcblk1:i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
p1 p2
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
mmc2: host doesn't support card's voltages
mmc2: error -22 whilst initialising SDIO card
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
i2c-1: Nack was received
i2c-1:IO error 0x5c (error -11)
GOODiX i2c test failed!
touchpanel-goodix 1-005c: I2C communication ERROR!Goodix touchscreen driver become invalid
touchpanel-goodix: probe of 1-005c failed with error -5

I need some help from someone more experienced, if anyone is interested to take a look, I've uploaded the source at github:

https://github.com/mikeNG/haipad-m8-kernel-2.6.35.7