ok, so ive spent all day making this script
now most of it works except installing the bluetooth stack, and busybox
they do however work when this text is copied directly into sdb.exe
sdb shell
mount -o remount rw /
cd /home
rpm -ivh busybox-1.17.1-2.3.armv7l.rpm --nodeps --force busybox-1.17.1-2.3.armv7l.rpm
mount -o remount rw /
cd /home
rpm -ivh wrt-plugins-tizen.rpm --nodeps --force wrt-plugins-tizen.rpm
but, when i copy that same text into my script, it sticks at sdb shell, ive tried alsorts, for hours and its really doing my head in,
this is the script as a .bat
this is the code of my script in text
can anyone see where im going wrong
XDA:DevDB Information
aio tizen mod script, Tool/Utility for the Samsung Gear 2 Neo
Contributors
gav83collins
Version Information
Status: Testing
Created 2014-10-06
Last Updated 2014-10-06
now most of it works except installing the bluetooth stack, and busybox
they do however work when this text is copied directly into sdb.exe
sdb shell
mount -o remount rw /
cd /home
rpm -ivh busybox-1.17.1-2.3.armv7l.rpm --nodeps --force busybox-1.17.1-2.3.armv7l.rpm
mount -o remount rw /
cd /home
rpm -ivh wrt-plugins-tizen.rpm --nodeps --force wrt-plugins-tizen.rpm
but, when i copy that same text into my script, it sticks at sdb shell, ive tried alsorts, for hours and its really doing my head in,
this is the script as a .bat
this is the code of my script in text
Code:
@ECHO OFF
ECHO WELCOME THE AIO FOR FLASHING ON TIZEN MOD
ECHO.
ECHO CREATED BY Gav83Collins
ECHO.
ECHO BEFORE WE START WE NEED TO CREATE SOME FOLDERS ONTO YOUR GEAR
ECHO.
PAUSE
ECHO IL NOW SET UP THOSE FOLDERS
PAUSE
cd "C:sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb shell setup-folder.sh
ECHO.
ECHO OK, DONE !!!
ECHO.
ECHO TO CLEAR THE SCREEN AND CONTINUE
PAUSE
CLS
:START
ECHO NOW TO CONTINUE FLASHING FONTS, THEMES, SOUNDS, MODS AND EXTENDED CAMERA
ECHO.
ECHO JUST
PAUSE
ECHO option 1 will flash sounds, theme, fonts only
ECHO option 2 will flash sounds, theme, fonts and mods. and camera
ECHO option 3 will flash mods only
ECHO option 4 will flash camera only
CHOICE /N /C:1234 /M "PICK A NUMBER (1, 2, 3 or 4)"%1
IF ERRORLEVEL ==4 GOTO FOUR
IF ERRORLEVEL ==3 GOTO THREE
IF ERRORLEVEL ==2 GOTO TWO
IF ERRORLEVEL ==1 GOTO ONE
:FOUR
ECHO YOU HAVE PRESSED FOUR
PAUSE
cd "C:sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb install "Camera1hour.wgt
ECHO.
ECHO OK, DONE !!!
ECHO.
CLS
ECHO option 1 GO BACK TO THE BEGINNING
ECHO option 2 REBOOT WATCH
CHOICE /N /C:12 /M "PICK A NUMBER (1 or 2)"%1
IF ERRORLEVEL ==2 GOTO END
IF ERRORLEVEL ==1 GOTO START
:THREE
ECHO YOU HAVE PRESSED THREE
PAUSE
cd "C:sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb push busybox-1.17.1-2.3.armv7l.rpm /home
sdb push wrt-plugins-tizen.rpm /home
CLS
ECHO PUSHED NOW INSTALL
PAUSE
GOTO INSTALL
:INSTALL
sdb shell
mount -o remount rw /
cd /home
rpm -ivh busybox-1.17.1-2.3.armv7l.rpm --nodeps --force busybox-1.17.1-2.3.armv7l.rpm
mount -o remount rw /
cd /home
rpm -ivh wrt-plugins-tizen.rpm --nodeps --force wrt-plugins-tizen.rpm
PAUSE
mount -o remount ro /
ECHO.
ECHO OK, DONE !!!
ECHO.
CLS
ECHO option 1 GO BACK TO THE BEGINNING
ECHO option 2 REBOOT WATCH
CHOICE /N /C:12 /M "PICK A NUMBER (1 or 2)"%1
IF ERRORLEVEL ==2 GOTO END
IF ERRORLEVEL ==1 GOTO START
:TWO
ECHO YOU HAVE PRESSED TWO
PAUSE
cd "C:sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb shell install-theme.sh
sdb push Alarm_Ticktac.ogg /opt/share/settings/Alarms/Ticktac.ogg
sdb shell install-alarms.sh
sdb push MyTone.ogg /opt/share/settings/Ringtones/
sdb push "MyAlert" /opt/share/settings/Alerts/
sdb push "C:UsersGavDownloadstizensdbbt_disconnect.ogg" /usr/share/feedback/sound/operation/bt_disconnect.ogg
sdb push "C:UsersGavDownloadstizensdbbt_connect.ogg" /usr/share/feedback/sound/operation/bt_connect.ogg
sdb install "Camera1hour.wgt
sdb shell mount -o remount rw /
sdb push busybox-1.17.1-2.3.armv7l.rpm /home
sdb push wrt-plugins-tizen.rpm /home [user=279333]@ECHO[/user] OFF
CLS
ECHO PUSHED NOW INSTALL
PAUSE
GOTO INSTALL
:INSTALL
sdb shell
mount -o remount rw /
cd /home
rpm -ivh busybox-1.17.1-2.3.armv7l.rpm --nodeps --force busybox-1.17.1-2.3.armv7l.rpm
mount -o remount rw /
cd /home
rpm -ivh wrt-plugins-tizen.rpm --nodeps --force wrt-plugins-tizen.rpm
ECHO.
ECHO OK, DONE !!!
ECHO.
CLS
ECHO option 1 GO BACK TO THE BEGINNING
ECHO option 2 REBOOT WATCH
CHOICE /N /C:12 /M "PICK A NUMBER (1 or 2)"%1
IF ERRORLEVEL ==2 GOTO END
IF ERRORLEVEL ==1 GOTO START
:eek:NE
ECHO YOU HAVE PRESSED ONE
PAUSE
cd "C:sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb shell install-theme.sh
sdb push Alarm_Ticktac.ogg /opt/share/settings/Alarms/Ticktac.ogg
sdb shell install-alarms.sh
sdb push MyTone.ogg /opt/share/settings/Ringtones/
sdb push "MyAlert" /opt/share/settings/Alerts/
sdb push "C:UsersGavDownloadstizensdbbt_disconnect.ogg" /usr/share/feedback/sound/operation/bt_disconnect.ogg
sdb push "C:UsersGavDownloadstizensdbbt_connect.ogg" /usr/share/feedback/sound/operation/bt_connect.ogg
ECHO.
ECHO OK, DONE !!!
ECHO.
CLS
ECHO option 1 GO BACK TO THE BEGINNING
ECHO option 2 REBOOT WATCH
CHOICE /N /C:12 /M "PICK A NUMBER (1 or 2)"%1
IF ERRORLEVEL ==2 GOTO END
IF ERRORLEVEL ==1 GOTO START
:END
PAUSE
ECHO.
ECHO Thanks for using, and enjoy
ECHO.
ECHO To reboot Watch
PAUSE
sdb shell reboot watch
exit
can anyone see where im going wrong
XDA:DevDB Information
aio tizen mod script, Tool/Utility for the Samsung Gear 2 Neo
Contributors
gav83collins
Version Information
Status: Testing
Created 2014-10-06
Last Updated 2014-10-06
Last edited: