You will need the fastboot files from Google or a boot image.
1) you will need to extract the ramdisk from the kernel
2) you will then need to unpack the ramdisk
3) you will need to edit the default.prop
4) you need to repack the ramdisk
5) you need to marry the ramdisk to the kernel
6) you need to flash this to your device
*****************************************************************************
Getting it all Ready
1. create a folder and name it whatever you want
2. put the following files in the folder: split_bootimg.pl, mkbootimg,
3. put the boot.img in the folder
Unpacking the bootimg
1. open command terminal and navigate to the folder you created
2. in terminal type the following command: ./split_bootimg.pl boot.img
Unpacking the ramdisk
1. in terminal create a new folder named ram - type - mkdir ram
2. go to the new folder - type - cd ram
3. unpack the ramdisk - type - gunzip -c ../boot.img-ramdisk.gz | cpio -i
Edit the Default.prop
1. Change this line from ro.secure=1 to ro.secure=0
Repack the Ramdisk
1. in terminal - type - find . | cpio -o -H newc | gzip > ../new.cpio.gz
2. in terminal - type - cd ..
Rejoin kernel and ramdisk
1. in terminal - type - ./mkbootimg --cmdline 'console=ttyO2,115200n8 androidboot.console=ttyO2' --kernel boot.img-kernel --ramdisk new.cpio.gz -o rooted.img
***********************************************
Congratulations you have just create your insecure boot image, now just flash it to your device.
***********************************************
The below script will do all that for you in less than 5 seconds, just place your boot.img in the extracted folder and select runme.bat, select run in terminal. Your new boot image is named rooted.img





















