Target device: My tablet - ASUS TF201 Transformer prime
Android version: 4.2.1 ( i have no idea if this is will work with nethunter!)
Kernel : TF700 - Hundsbah Kernel (used by the rom i want to use)
Target ROM for injection: AndroWook Prime (Hairybean)
Tablet quick specs:
Chipset: Nvidia Tegra 3
CPU: Five-core 1.3 GHz Cortex-A9
GPU: ULP Geforce
MEMORY: Card slot microSD, up to 32 GB
Internal: 32 GB, 1 GB DDR2 RAM
1st. I have no idea if this is possible with an older version of android. There arent many other roms or kernels for my tablet, it was abandoned.
2nd. Ive mostly been flying blind here, i really dont know what im doing with this kernel development, ive been following this
The error:
Ive gotten up to the point of modifying the kernel to my needs (by following the instructions). Now im trying to recompile it with the patch and modifications as listed on the git page( i realize the tutorial is also in experiemental stages)
Code:
....
EVERYTHING GOING FINE UNTIL
...
drivers/input/touchscreen/sis_i2c.c: In function 'stress_poll_data':
drivers/input/touchscreen/sis_i2c.c:109:2: warning: passing argument 2 of 'sis_command_for_read' makes integer from pointer without a cast [enabled by default]
drivers/input/touchscreen/sis_i2c.c:103:5: note: expected 'int' but argument is of type 'u8 *'
drivers/input/touchscreen/sis_i2c.c:109:2: warning: passing argument 3 of 'sis_command_for_read' makes pointer from integer without a cast [enabled by default]
drivers/input/touchscreen/sis_i2c.c:103:5: note: expected 'unsigned char *' but argument is of type 'int'
drivers/input/touchscreen/sis_i2c.c: In function 'sis_stress_ioctl':
drivers/input/touchscreen/sis_i2c.c:141:2: warning: too many arguments for format [-Wformat-extra-args]
drivers/input/touchscreen/sis_i2c.c: At top level:
drivers/input/touchscreen/sis_i2c.c:179:3: warning: initialization from incompatible pointer type [enabled by default]
drivers/input/touchscreen/sis_i2c.c:179:3: warning: (near initialization for 'stress_fops.unlocked_ioctl') [enabled by default]
drivers/input/touchscreen/sis_i2c.c: In function 'sis_cdev_read':
drivers/input/touchscreen/sis_i2c.c:1353:7: warning: unused variable 'i' [-Wunused-variable]
drivers/input/touchscreen/sis_i2c.c: In function 'sis_ts_probe':
drivers/input/touchscreen/sis_i2c.c:1752:8: error: implicit declaration of function 'tegra_gpio_enable' [-Werror=implicit-function-declaration]
drivers/input/touchscreen/sis_i2c.c:1752:26: error: 'TEGRA_NR_GPIOS' undeclared (first use in this function)
drivers/input/touchscreen/sis_i2c.c:1752:26: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[3]: *** [drivers/input/touchscreen/sis_i2c.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[2]: *** Waiting for unfinished jobs....
CC net/core/link_watch.o
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC net/core/filter.o
CC net/core/sock_diag.o
CC net/core/net-sysfs.o
CC net/ipv4/inetpeer.o
CC net/ipv4/protocol.o
CC net/ipv4/ip_input.o
LD net/core/built-in.o
CC net/ipv4/ip_fragment.o
CC net/ipv6/addrconf_core.o
CC net/ipv6/exthdrs_core.o
CC net/ipv4/ip_forward.o
CC net/ipv4/ip_options.o
LD net/ipv6/built-in.o
CC net/ipv4/ip_output.o
LD net/mac80211/built-in.o
CC [M] net/mac80211/main.o
CC net/ipv4/ip_sockglue.o
CC net/ipv4/inet_hashtables.o
CC [M] net/mac80211/status.o
CC [M] net/mac80211/sta_info.o
CC net/ipv4/inet_timewait_sock.o
CC net/ipv4/inet_connection_sock.o
CC [M] net/mac80211/wep.o
CC net/ipv4/tcp.o
CC [M] net/mac80211/wpa.o
CC net/ipv4/tcp_input.o
CC [M] net/mac80211/scan.o
net/mac80211/scan.c: In function 'ieee80211_scan_state_decision':
net/mac80211/scan.c:490:27: warning: unused variable 'next_scan_state' [-Wunused-variable]
net/mac80211/scan.c: In function 'ieee80211_scan_work':
net/mac80211/scan.c:740:8: error: 'SCAN_ABORT' undeclared (first use in this function)
net/mac80211/scan.c:740:8: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [net/mac80211/scan.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC net/netlink/af_netlink.o
make[1]: *** [net/mac80211] Error 2
make[1]: *** Waiting for unfinished jobs....
CC net/netlink/genetlink.o
CC net/ipv4/tcp_output.o
CC net/ipv4/tcp_timer.o
LD net/netlink/built-in.o
CC net/ipv4/tcp_ipv4.o
CC net/ipv4/tcp_minisocks.o
CC net/ipv4/tcp_cong.o
CC net/ipv4/datagram.o
CC net/ipv4/raw.o
CC net/ipv4/udp.o
CC net/ipv4/udplite.o
CC net/ipv4/arp.o
CC net/ipv4/icmp.o
CC net/ipv4/devinet.o
CC net/ipv4/af_inet.o
CC net/ipv4/igmp.o
CC net/ipv4/fib_frontend.o
CC net/ipv4/fib_semantics.o
CC net/ipv4/fib_trie.o
CC net/ipv4/inet_fragment.o
CC net/ipv4/ping.o
CC net/ipv4/sysctl_net_ipv4.o
CC net/ipv4/sysfs_net_ipv4.o
CC net/ipv4/proc.o
CC net/ipv4/inet_lro.o
CC net/ipv4/tcp_cubic.o
LD net/ipv4/built-in.o
make: *** [net] Error 2
root@lead[~/arm-stuff/tf700-kernel]#
Ive tried googling some of these errors like
Code:
net/mac80211/scan.c: In function 'ieee80211_scan_state_decision':
but have only found pages that contain Linus talking about issues with 2011 kernel sources regarding the mac80211 patch.
My system:
Code:
Linux lead 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux
root@lead[~/arm-stuff/tf700-kernel]#echo $CROSS_COMPILE
/root/arm-stuff/toolchain/bin/arm-eabi-
Again, let me say i have no idea if the kernel or rom i plan on using would be compatible with nethunter. I mainly want to use this tablet, because it has a built in full sized usb port, and i had some discussion with some wifi hackers at DEFCON 22 who told me i would most likely have to build the kernel with usb wifi support. Oh and here is my .config