Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[89cfc2]: sthd Maximize Restore History

Download this file

sthd    14 lines (9 with data), 389 Bytes

#! /bin/sh

rm tools/htc/boot.img 
tools/htc/create_img_hd.sh hypervisor-4.0.2/arch/arm/boot/zImage boot.img

# test that boot.img fits in desireHD "boot" partition (4MB = 4194304 bytes) 
if [ $(stat -c %s tools/htc/boot.img) -gt  4194304 ]; then
  echo "!!!! boot.img to big for desire HD (max 4MB)!!!!"
  exit 1;
fi

tools/htc/flash_kernel.sh tools/htc/boot.img && tools/htc/adb reboot