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.


[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/ 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;

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