[Flipout and Charm General] fpenguin:
It's glad to hear you again~

I've try several ways after you post:

1. I can't pull the recovery.log after flash the original zip, and the phone could not boot up, I've to flash the sdf file to make the phone function again.

2. Removing the

"set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin"

could not help, it continuous shows the same err with

"set_perm_recursive 0 2000 0755 0755 SYSTEM:bin"

3. After 1 and 2, I've unpacked the system.tar.gz and deleted the related to task2.sh in update-script, and flashed again, this time there's no err during the flashing, and "adb shell" worked, but the phone still can't boot up, it stucked in moto's M logo. I pulled the recovery.log in your recovery. I'm new to linux and this my first android phone, please help or give some advise.

Starting recovery on Sun May 1 23:16:03 2011
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (320 x 240)
ClockworkMod Recovery v2.5.1.8
I:Set boot command "boot-recovery"
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
persist.factory.allow_adb=1
ro.factorytest=0
ro.usb_mode=normal
ro.bootmode=reboot
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=0x0000
ro.hardware=mapphone30_umts
ro.revision=0
ro.build.id=BASIL_U3_02.60.5
ro.build.display.id=BASIL_U3_02.60.5
ro.build.version.incremental=2605
ro.build.version.sdk=7
ro.build.version.codename=REL
ro.build.version.release=2.1-update1
ro.build.date=Fri Jul 23 18:33:52 BRT 2010
ro.build.date.utc=1279920832
ro.build.type=user
ro.build.user=wfn001
ro.build.host=zbr05lnxdroid10
ro.build.tags=release-keys
ro.product.model=MB502
ro.product.brand=MOTO
ro.product.name=T-Mobile_US
ro.product.device=umts_basil
ro.product.board=basil
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=omap3
ro.build.product=umts_basil
ro.build.description=umts_basil-user 2.1-update1 BASIL_U3_02.60.5 2605

release-keys
ro.build.fingerprint=MOTO/T-Mobile_US/umts_basil/basil:2.1-

update1/BASIL_U3_02.60.5/2605:user/release-keys
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=120
ro.default_usb_mode=0
wifi.interface=tiwlan0
wifi.supplicant_scan_interval=45
ro.camsettings.premium=false
ro.mot.mc.erasesdcard=true
mot.proximity.delay=450
mot.proximity.distance=60
ro.opengles.version=131072
persist.mot.powerup.tone=/system/media/audio/notifications/OnTheHunt.ogg
ro.mot.hw.minipad=1
ro.mot.trackball.threshold=5
ro.mot.trackball.maxdelay=350
ro.mot.trackball.maxaccel=6
ro.mot.trackball.scale=40
ro.mot.trackball.fmtime=150
ro.mot.wvtrackball.timeout=200
ro.mot.wvtrackball.wait=100
ro.mot.wvtrackball.scale=400
ro.mot.wvtrackball.mcount=10
ro.mot.wvtrackball.scount=5
ro.mot.wvtrackball.multiplier=2
ro.mot.hw.HAC=0
ro.hw.rotator=false
ro.workaround.noautofocus=1
ro.mot.vvm_enable=1
ro.mot.vvm_editable=0
ro.mot.mms_read_rep_enable=0
ro.mot.mms_del_rep_enable=0
ro.mot.sms_del_rep_enable=0
ro.mot.report_noti_enable=0
ro.mot.browser.galleryview=true
ro.mot.browser.xhtmltohtml=true
ro.mot.hw.uaprof=http://uaprof.motorola.com/phoneconfig/motandroidgeneric/P

rofile/motandroidgeneric.rdf
ro.mot.battmanager.wifictrl=0
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.com.motorola.smartsensor=true
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
ro.setupwizard.mode=DISABLED
ro.com.google.gmsversion=2.1_r8
gsm.sim.mot.simswap=1
ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=h264
ro.media.enc.hprof.codec.aud=aac
ro.media.enc.hprof.vid.width=352
ro.media.enc.hprof.vid.height=288
ro.media.enc.hprof.vid.fps=30
ro.media.enc.hprof.vid.bps=2000000
ro.media.enc.hprof.aud.bps=96000
ro.media.enc.hprof.aud.hz=16000
ro.media.enc.hprof.aud.ch=1
ro.media.enc.hprof.duration=60
ro.media.enc.lprof.file.format=mp4
ro.media.enc.lprof.codec.vid=h264
ro.media.enc.lprof.codec.aud=aac
ro.media.enc.lprof.vid.width=320
ro.media.enc.lprof.vid.height=240
ro.media.enc.lprof.vid.fps=15
ro.media.enc.lprof.vid.bps=131072
ro.media.enc.lprof.aud.bps=32768
ro.media.enc.lprof.aud.hz=16000
ro.media.enc.lprof.aud.ch=1
ro.media.enc.lprof.duration=30
ro.media.enc.dprof.file.format=mp4
ro.media.enc.dprof.codec.vid=h264
ro.media.enc.dprof.codec.aud=aac
ro.media.enc.dprof.vid.width=352
ro.media.enc.dprof.vid.height=288
ro.media.enc.dprof.vid.fps=30
ro.media.enc.dprof.vid.bps=2000000
ro.media.enc.dprof.aud.bps=96000
ro.media.enc.dprof.aud.hz=16000
ro.media.enc.dprof.aud.ch=1
ro.media.enc.dprof.duration=60
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=h264,m4v,h263
ro.media.enc.aud.codec=aac,amrwb,amrnb
ro.media.enc.vid.h264.width=176,720
ro.media.enc.vid.h264.height=144,480
ro.media.enc.vid.h264.bps=64000,2000000
ro.media.enc.vid.h264.fps=1,30
ro.media.enc.vid.h263.width=176,320
ro.media.enc.vid.h263.height=144,240
ro.media.enc.vid.h263.bps=64000,2000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,720
ro.media.enc.vid.m4v.height=144,480
ro.media.enc.vid.m4v.bps=64000,2000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.aud.amrnb.bps=4750,12200
ro.media.enc.aud.amrnb.hz=8000,8000
ro.media.enc.aud.amrnb.ch=1,1
ro.media.enc.aud.amrwb.bps=6600,23850
ro.media.enc.aud.amrwb.hz=16000,16000
ro.media.enc.aud.amrwb.ch=1,1
ro.media.enc.aud.aac.bps=8192,131072
ro.media.enc.aud.aac.hz=16000,16000
ro.media.enc.aud.aac.ch=1,1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.camera.focal=2205.7,2205.7
ro.media.camera.principal=1024.0,768.0
ro.media.camera.skew=0.0
ro.media.camera.distortion=0.0,0.0,0.0,0.0,0.0
ro.mot.sec.installprompts=1
ro.com.google.clientidbase=android-hms-tmobile-{country}
ro.mot.carrier=T-Mobile
ro.com.google.clientidbase.yt=android-motorola
ro.com.google.clientidbase.am=android-motorola
ro.com.google.clientidbase.vs=android-motorola
ro.com.google.clientidbase.gmm=android-motorola
rild.libpath=/system/lib/libril-moto-umts-1.so
net.bt.name=Android
net.change=net.tcp.buffersize.gprs
ro.config.sync=yes
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.build.svn=03
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-

legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/

%s/mobile/android/basic/privacy.html
ro.build.version.full=Blur_Version.0.2.6005.MB502.T-Mobile.en.US
ro.config.ringtone=T-Jingle.ogg
ro.build.config.version=GAS_NA_BASILTMB01NA_P027
ro.build.config.date=Fri Jul 23 18:56:01 -0300 2010
persist.sys.timezone=Asia/Shanghai
ro.FOREGROUND_APP_MEM=3072
ro.VISIBLE_APP_MEM=4608
ro.SECONDARY_SERVER_MEM=9216
ro.BACKUP_APP_MEM=9216
ro.HOME_APP_MEM=9216
ro.HIDDEN_APP_MEM=10752
ro.CONTENT_PROVIDER_MEM=12288
ro.EMPTY_APP_MEM=12288
init.svc.baseimage=stopped
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=1
ro.SECONDARY_SERVER_ADJ=2
ro.BACKUP_APP_ADJ=2
ro.HOME_APP_ADJ=4
ro.HIDDEN_APP_MIN_ADJ=7
ro.CONTENT_PROVIDER_ADJ=14
ro.EMPTY_APP_ADJ=15
net.tcp.buffersize.default=4096,87380,110208,4096,16384,110208
net.tcp.buffersize.wifi=4095,87380,110208,4096,16384,110208
net.tcp.buffersize.umts=4094,87380,110208,4096,16384,110208
net.tcp.buffersize.edge=4093,26280,35040,4096,16384,35040
net.tcp.buffersize.gprs=4092,8760,11680,4096,8760,11680
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=0
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
init.svc.adbd=running
init.svc.gkilogd=stopped

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
I:Set boot command ""
I:Set boot command ""

-- Installing: SDCARD:update5.zip
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: SDCARD:update5.zip
Opening update package...
I:Update file path: /sdcard/update5.zip
Installing update...
I:Trying update-binary.
I:Trying update-script.
I:Parsed META-INF/com/google/android/update-script
calling command show_progress
calling command run_program
rm: can't remove '/system/lost+found': Directory not empty
calling command copy_dir
Copying files...
minzip: Extracted file "/system/app/AlarmClock.apk"
...
...
...
minzip: Extracted file "/system/xbin/su"
calling command set_perm_recursive
calling command set_perm_recursive
calling command show_progress
Installation complete.

Install from sdcard complete.