[Android Software/Hacking General [Developers Only]] Sensation TMO:
Vtab1008

# ------------------------------------------

# -- it can upgrade system if meet --

# -- the following conditions: --

# -- HWID value is 22&boardtype is topcpu --

# -- HWID value is 20&boardtype is 1GDDR --

# -- Brian and Monty 512MDDR --

# ------------------------------------------

boardtype=topcpu

# -- Simple upgrade configuration file

# --------------------------------------

# -- Partition 1 --

# --------------------------------------

# -- Change eMMC partition to 1 - boot partition

mmc sw_part 1

# -- upgrade u-boot.bin

# -- !!! important note !!!

# -- 136792 and 268 is size of u-boot.bin.

# -- 136792 is number of byte.

# -- 268 is sector number ( 1 sector = 512 Byte )

#fatload mmc 1 0x1100000 bootloader.bin 0x100000

#mmc write 0x0 0x800 0x1100000

fatload mmc 1 0x1100000 boot_part_trusted.bin 0x60000

mmc write 0x0 0x300 0x1100000

fatload mmc 1 0x1100000 uboot_part.bin 0xA0000

mmc write 0x300 0x500 0x1100000

# --------------------------------------

# -- Partition 0 --

# --------------------------------------

# -- Change eMMC partition to 0 - data partition

mmc sw_part 0

# -- Upgrade Linux kernel

# -- !!! important note !!!

# -- 0x400000 is the size of linux kernel, change to exact value if the size if

# -- bigger than 0x400000.

mw.b 0x1100000 0x100000

mmc write 0x3c00 0x800 0x1100000

fatload mmc 1 0x1100000 sm0.primary 0x400

mmc write 0x3c00 0x2 0x1100000

fatload mmc 1 0x1100000 sm0.backup 0x400

mmc write 0x4000 0x2 0x1100000

fatload mmc 1 0x1100000 zImage 0x400000

mmc write 0x4c00 0x2000 0x1100000

fatload mmc 1 0x1100000 zImage_recovery 0x400000

mmc write 0x222c00 0x2000 0x1100000

fatload mmc 1 0x1100000 primary_gpt_16g 0x4400

mmc write 0x0 0x22 0x1100000

fatload mmc 1 0x1100000 secondary_gpt_16g 0x4200

mmc write 0x75efbc 0x21 0x1100000

# Clear root file system

mw.b 0x1100000 0x800000

mmc write 0x8c00 0x4000 0x1100000

fatload mmc 1 0x1100000 ramdisk.img 0x800000

mmc write 0x8c00 0x4000 0x1100000

mw.b 0x1100000 0x400000

mmc write 0x226c00 0x4000 0x1100000

fatload mmc 1 0x1100000 ramdisk_recovery.img 0x400000

mmc write 0x226c00 0x4000 0x1100000

fatload mmc 1 0x1100000 system.img 0xDC00000

mmc write 0xcc00 0x6e000 0x1100000

fatload mmc 1 0x1100000 userdata_aa 0x9600000

mmc write 0xa2c00 0x4b000 0x1100000

fatload mmc 1 0x1100000 userdata_ab 0x9600000

mmc write 0xedc00 0x4b000 0x1100000

fatload mmc 1 0x1100000 userdata_ac 0x9600000

mmc write 0x138c00 0x4b000 0x1100000

fatload mmc 1 0x1100000 userdata_ad 0x9600000

mmc write 0x183c00 0x4b000 0x1100000

fatload mmc 1 0x1100000 userdata_ae 0x9600000

mmc write 0x1cec00 0x4b000 0x1100000

fatload mmc 1 0x1100000 userdata_af 0x1200000

mmc write 0x219c00 0x9000 0x1100000

# Clean Misc partition

mw.b 0x1100000 0x800000

mmc write 0x22ac00 0x400 0x1100000

# Clean Cache partition

mw.b 0x1100000 0xc800000

mmc write 0x22e000 0x64000 0x1100000

#fatload mmc 1 0x1100000 uli_rod.img 0x200000

#mmc write 0x22b000 0x1000 0x1100000

#fatload mmc 1 0x1100000 uli_rwd.img 0x200000

#mmc write 0x22c000 0x1000 0x1100000

#fatload mmc 1 0x1100000 hdcp_ext4.img 0x200000

#mmc write 0x22d000 0x1000 0x1100000