ここまで来たら、サイズ云々問わず腹括れちゅうことで。
とりあえず、分かりやすいようにkernel versionだけ弄ってrebuild
終わったら
mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --cmdline "androidboot.hardware=tg03" --base 0x20000000 -o amelia-boot.img
作成したイメージをデバイスへ転写。
adbで繋いで
# flash_image boot amelia-boot.img
mtd: successfully wrote block at a0f800000000
mtd: successfully wrote block at a0f800020000
mtd: successfully wrote block at a0f800040000
mtd: successfully wrote block at a0f800060000
mtd: successfully wrote block at a0f800080000
mtd: successfully wrote block at a0f8000a0000
mtd: successfully wrote block at a0f8000c0000
mtd: successfully wrote block at a0f8000e0000
mtd: successfully wrote block at a0f800100000
mtd: successfully wrote block at a0f800120000
mtd: successfully wrote block at a0f800140000
mtd: successfully wrote block at a0f800160000
mtd: successfully wrote block at a0f800180000
mtd: successfully wrote block at a0f8001a0000
mtd: successfully wrote block at a0f8001c0000
mtd: successfully wrote block at a0f8001e0000
mtd: successfully wrote block at a0f800200000
mtd: successfully wrote block at a0f800220000
mtd: successfully wrote block at a0f800240000
mtd: successfully wrote block at a0f800260000
mtd: successfully wrote block at a0f800280000
mtd: successfully wrote block at a0f8002a0000
mtd: successfully wrote block at a0f8002c0000
finish of flashing
# reboot
おー
大丈夫じゃん。