Re: Auto Revert Firmware Back Software
Posted: Tue Aug 24, 2010 2:33 pm
I tried modify this Setup game from aquadrian.
I tried run script for reverting back inactive alternative fw menu. I putted code into setup.sh , deleted all other code and additional modules there were just four files left
but if i run Setup game from game menu TV freezes, if script runs from command line, everything is OK . I think aquadran or other programmer from this forum could help to compile game, that just runs script from game menu. In this case like an Universal game loader like SGCCv0.1a but much easier with only one function - call external Setup.sh script. Code of script must be free to modify.
I would run Setup.sh, which is erdems code from another topic.
p.s. Done. Look there.
I tried run script for reverting back inactive alternative fw menu. I putted code into setup.sh , deleted all other code and additional modules there were just four files left
Code: Select all
clmeta.dat
Setup.png
Setup.sh
Setup.so
I would run Setup.sh, which is erdems code from another topic.
Code: Select all
#!/bin/sh
echo .
echo .
echo .!!!!!!!!!!!!!!! Start script. Wait....for next message.... !!!!!!!!!!!!!!!.
if [ -f /mtd_rwarea/PartitionSwitch_1_0 ]
then
mkdir /dtv/test
mount -t auto /dev/tbml8 /dtv/test
FWNAME=$(cat /.info)
OLDVERS=$(/bin/busybox egrep -e $(echo "$FWNAME-[0-9][0-9][0-9][0-9].[0-9]") /dtv/test/exeDSP)
OLDVERS=$(echo $OLDVERS | sed s/.*-//g | sed 's/\..*//g')
if [ -f /mtd_rwarea/Version.0 ] # Script doesn't overwrite if there is a Version.0 file
then
echo "Error /mtd_rwarea/Version.0 already exists." > ./error.log
else
echo $(sed 's/_00[0-9][0-9][0-9][0-9]_/_00'$OLDVERS'_/g' /mtd_rwarea/Version.1) > /mtd_rwarea/Version.0
fi
else
mkdir /dtv/test
mount -t auto /dev/tbml10 /dtv/test
FWNAME=$(cat /.info)
OLDVERS=$(/bin/busybox egrep -e $(echo "$FWNAME-[0-9][0-9][0-9][0-9].[0-9]") /dtv/test/exeDSP)
OLDVERS=$(echo $OLDVERS | sed s/.*-//g | sed 's/\..*//g')
if [ -f /mtd_rwarea/Version.1 ] # Script doesn't overwrite if there is a Version.1 file
then
echo "Error /mtd_rwarea/Version.1 already exists." > ./error.log
else
echo $(sed 's/_00[0-9][0-9][0-9][0-9]_/_00'$OLDVERS'_/g' /mtd_rwarea/Version.0) > /mtd_rwarea/Version.1
fi
fi
echo .
echo .done!
echo .!!!!!!!!!!!!!!! Now go to firmware update menu !!!!!!!!!!!!!!!.
p.s. Done. Look there.