[WIP] 3.2.1 US boot.img unlocked and tun.ko, cifs.ko module load on boot
BLUF: Thought I would share my work in progress on creating a boot.img based on a stock 3.2.1 US ROM that will load the tun.ko and cifs.ko modules on startup properly.
DISCLAIMER: I am not responsible for issues with this boot image. It is intended for someone who has already rooted their transformer along with tun.ko and cifs.ko installed and needs a boot.img that will take care of module load on startup.
In later iterations I will be creating a full on stock ROM with just root, tun and cifs. This should fill the need for some to remain as stock as possible while still getting junos pulse l3 support as well as kernel CIFS support.
Please only install this on a system that HAS already been rooted and is at 3.2.1, and has tun.ko and cifs.ko in /system/lib/modules. I am not going to go into where to get the tools to do this in this post, but they are readily available on the net and in the forum even.
- nvflash environment with the bet cfg and bin's
- rooted TF B60 and below serial numbered
- tun.ko and cifs.ko in /system/lib/modules with perms 644
1) unzip boot.img.zip. You will end up with boot.img
2) shut down your TF
3) boot into APX mode (hold volume up and power for 5 seconds)
4) connect to a system where you have nvflash installed
5) nvflash --bct ..transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync
6) nvflash -r --download 6 ./boot.img
7) when your tf screen reports it is finished reboot it by holding power for 10 seconds
8) remove cable
9) when device comes up check modules by becoming root and issuing 'lsmod'
Look for tun.ko cifs.ko
- Wrap the module load in if block to not try and load when modules don't exist.
- Package this with latest CWR 220.127.116.11, 3.2.1 system with modules pre-installed.
For those who are interested, I placed the kernel load into /init.rc. You can use tools available on the net to separate the kernel and ramdisk and gunzip to cpio to get to these files. Just grep through init.rc for insmod to see where I placed these. You can do the same thing to load modules you need.