[Desire Android Development] mattiadj:
Latest. V4.

I have move app_s to \data\app and changed update script to

show_progress 0.1 0

format CACHE:

format SYSTEM:

delete SYSTEM:xbin/busybox

delete_recursive SYSTEM:xbin

copy_dir PACKAGE:sdext SDEXT:

copy_dir PACKAGE:data DATA:

set_perm 2000 2000 0771 DATA:local

set_perm 2000 2000 0771 DATA:etc

set_perm_recursive 1000 1000 0771 0644 DATA:app

copy_dir PACKAGE:system SYSTEM:

symlink /data/app/app_s/com.htc.FMRadioWidget.apk SYSTEM:app/com.htc.FMRadioWidget.apk

symlink /data/app/app_s/HtcCalculatorWidget.apk SYSTEM:app/HtcCalculatorWidget.apk

symlink /data/app/app_s/EReaderLibrary.apk SYSTEM:app/EReaderLibrary.apk

symlink /data/app/app_s/EReaderWidget.apk SYSTEM:app/EReaderWidget.apk

symlink /data/app/app_s/EReaderViewer.apk SYSTEM:app/EReaderViewer.apk

symlink /data/app/app_s/HtcLaputa.apk SYSTEM:app/HtcLaputa.apk

symlink /data/app/app_s/HtcSoundRecorder.apk SYSTEM:app/HtcSoundRecorder.apk

symlink /data/app/app_s/HTCCamera.apk SYSTEM:app/HTCCamera.apk

symlink /data/app/app_s/HtcAddProgramWidget.apk SYSTEM:app/HtcAddProgramWidget.apk

symlink /data/app/app_s/HTCAlbum.apk SYSTEM:app/HTCAlbum.apk

symlink /data/app/app_s/HTC_IME.apk SYSTEM:app/HTC_IME.apk

symlink /data/app/app_s/HtcLaputaWidget.apk SYSTEM:app/HtcLaputaWidget.apk

symlink /data/app/app_s/HTCSetupWizard.apk SYSTEM:app/HTCSetupWizard.apk

symlink /data/app/app_s/Settings.apk SYSTEM:app/Settings.apk

symlink /data/app/app_s/Mail.apk SYSTEM:app/Mail.apk

symlink /data/local/downanimation.zip SYSTEM:customize/resource/downanimation.zip

symlink dumpstate SYSTEM:bin/bugreport

symlink dumpstate SYSTEM:bin/dumpcrash

symlink toolbox SYSTEM:bin/date

symlink toolbox SYSTEM:bin/chownto

symlink toolbox SYSTEM:bin/vmstat

symlink toolbox SYSTEM:bin/smd

symlink toolbox SYSTEM:bin/watchprops

symlink toolbox SYSTEM:bin/df

symlink toolbox SYSTEM:bin/ps

symlink toolbox SYSTEM:bin/rmmod

symlink toolbox SYSTEM:bin/newfs_msdos

symlink toolbox SYSTEM:bin/stop

symlink toolbox SYSTEM:bin/mount

symlink toolbox SYSTEM:bin/wipe

symlink toolbox SYSTEM:bin/ls

symlink toolbox SYSTEM:bin/lsmod

symlink toolbox SYSTEM:bin/chown

symlink toolbox SYSTEM:bin/mv

symlink toolbox SYSTEM:bin/dd

symlink toolbox SYSTEM:bin/ln

symlink toolbox SYSTEM:bin/ifconfig

symlink toolbox SYSTEM:bin/rm

symlink toolbox SYSTEM:bin/start

symlink toolbox SYSTEM:bin/chmod

symlink toolbox SYSTEM:bin/insmod

symlink toolbox SYSTEM:bin/kill

symlink toolbox SYSTEM:bin/dmesg

symlink toolbox SYSTEM:bin/getprop

symlink toolbox SYSTEM:bin/ionice

symlink toolbox SYSTEM:bin/schedtop

symlink toolbox SYSTEM:bin/umount

symlink toolbox SYSTEM:bin/sync

symlink toolbox SYSTEM:bin/renice

symlink toolbox SYSTEM:bin/rmdir

symlink toolbox SYSTEM:bin/log

symlink toolbox SYSTEM:bin/top

symlink toolbox SYSTEM:bin/cmp

symlink toolbox SYSTEM:bin/getevent

symlink toolbox SYSTEM:bin/ioctl

symlink toolbox SYSTEM:bin/nandread

symlink toolbox SYSTEM:bin/sendevent

symlink toolbox SYSTEM:bin/hd

symlink toolbox SYSTEM:bin/netstat

symlink toolbox SYSTEM:bin/setconsole

symlink toolbox SYSTEM:bin/id

symlink toolbox SYSTEM:bin/notify

symlink toolbox SYSTEM:bin/iftop

symlink toolbox SYSTEM:bin/route

symlink toolbox SYSTEM:bin/mkdir

symlink toolbox SYSTEM:bin/sleep

symlink toolbox SYSTEM:bin/printenv

symlink toolbox SYSTEM:bin/setprop

symlink toolbox SYSTEM:bin/cat

set_perm_recursive 0 0 0755 0644 SYSTEM:

set_perm_recursive 0 2000 0755 0755 SYSTEM:bin

set_perm 0 3003 06755 SYSTEM:bin/ip

set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin

set_perm_recursive 0 2000 0755 0755 SYSTEM:etc/init.d

set_perm 0 3003 02755 SYSTEM:bin/netcfg

set_perm 0 3004 02755 SYSTEM:bin/ping

set_perm 0 2000 06750 SYSTEM:bin/run-as

set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth

set_perm 0 0 0755 SYSTEM:etc/bluetooth

set_perm 1000 1000 0640 SYSTEM:etc/bluetooth/auto_pairing.conf

set_perm 3002 3002 0444 SYSTEM:etc/bluetooth/blacklist.conf

set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf

set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks

set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh

set_perm 0 0 04755 SYSTEM:bin/bash

#symlink /system/bin/bash SYSTEM:bin/sh

symlink /data/etc/hosts SYSTEM:etc/hosts

set_perm 0 0 0777 SYSTEM:bin/strt

set_perm 0 0 0777 SYSTEM:bin/ssts

set_perm 0 0 0777 SYSTEM:bin/optmz

set_perm 0 0 0777 SYSTEM:bin/prio

set_perm 0 0 0777 SYSTEM:bin/camprio

set_perm 0 0 0777 SYSTEM:bin/close

set_perm 0 0 0777 SYSTEM:bin/unionfs

#set_perm 0 0 0777 SYSTEM:bin/conntype

set_perm 0 0 04755 SYSTEM:bin/sysrw

set_perm 0 0 04755 SYSTEM:bin/sysro

set_perm 0 0 04755 SYSTEM:bin/nano

set_perm 0 0 06755 SYSTEM:bin/su

#symlink /system/bin/su SYSTEM:xbin/su

set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp

set_perm_recursive 0 2000 0755 06755 SYSTEM:xbin

set_perm 0 0 04755 SYSTEM:etc/ppp/ip-up-vpn

set_perm 0 0 04755 SYSTEM:xbin/busybox

set_perm 0 0 04755 SYSTEM:bin/toolbox

show_progress 0.1 10

show_progress 0.2 0

run_program PACKAGE:installbusybox

format BOOT:

write_raw_image PACKAGE:boot.img BOOT:

show_progress 0.2 10

but while flashing i have failure at line 84, no such file or directory.

EDIT: i always have error on recurisve chmod on xbin folder