View Single Post
Old 10-24-2011, 02:47 PM   #14
ktwombley
Enthusiast
ktwombley began at the beginning.
 
Posts: 48
Karma: 32
Join Date: Sep 2011
Device: pocket edge
Quote:
Originally Posted by vicinc View Post
the usb device is called /usb0
tried
sh update.sh user /dev/usb0
under adb shell #
with dingo on usb as update.zip
but without a working unmount
however this is what I get:
# sh update.sh user /dev/usb0
sh update.sh user /dev/usb0
fn=update.zip, dev=/dev/usb0, fs=auto
update.sh: cannot create /sys/devices/platform/pxa168-pwm.0/pwm-backlight.0/bac
light/pwm-backlight/brightness: directory nonexistent
mkdir failed for -p, File exists
mkdir failed for -p, File exists
mkdir failed for -p, File exists
start: Thu Oct 20 22:40:28 GMT 2011 (user)
executing update script...
removing reboot_cmd from env...
update.sh: fw_setenv: permission denied
do_mount: do_mount: dev /dev/usb0 dir /srcmnt type auto flags 0x8000 loop 0
do_mount: calling mount: dev /dev/usb0 dir /srcmnt s auto rwflag 0x8000
mount: No such file or directory
update.zip does not exist on /dev/usb0
rm failed for -rf, No such file or directory
failed.

it is trying to do something but reboots in the end. I think the script unmounts the usb0? as update.zip is not found on usb0 ?
You need to be root to do any of this.
ktwombley is offline   Reply With Quote