cracking barry allen ! cracking barry allen!
Hi all, i'm sorry to speak in english, i want just to share my finding with you Hi all, i'm sorry to speak in english, i want just to share my finding with you
Hi all of you, Hi all of you,
there is a trick to crack barry allen recent version to work normally on clones! there is a trick to crack barry allen recent version to work normally on clones!
it consists to bypass the BA bootloader version checking! it consists to bypass the BA bootloader version checking!
here's what i found by unpacking .ipk file of BA with 7zip : here's what i found by unpacking. ipk file of BA with 7zip:
there is 3 files : there is 3 files:
debian-benary debian-benary
data.tar.gz data.tar.gz
control.tar.gz control.tar.gz
if we unpack the third file (control) we'll find four other files : control, postinst, postrm, preinst if we unpack the third file (control) we'll find four other files: control, postinst, postrm, preinst
the check is done in preinst file and here is his content : the check is done in preinst file and here is his content:
================================================== ============== ================================================== ==============
echo "IF YOU HAVE PROBLEMS WITH THE BOOTMANAGER THAT IT DOESN'T REACT" echo "IF YOU HAVE PROBLEMS WITH THE BOOTMANAGER THAT IT DOESN'T REACT"
echo "TO THE REMOTE CONTROL, THEN PLEASE TRY OUT FIRST THE RC DEVICE" echo "TO THE REMOTE CONTROL, THEN PLEASE TRY OUT FIRST THE RC DEVICE"
echo "SETTINGS IN THE BARRY ALLEN SETUP WIZARD !!!" echo "SETTINGS IN THE BARRY ALLEN SETUP WIZARD!!!"
echo ================================================== ============== echo ================================================= = ==============
echo "Hopefully your Flash image has now the USB drivers in Kernel" echo "Hopefully your Flash image has now the USB drivers in Kernel"
echo "or loaded them already, because loading of USB drivers" echo "or loaded them already, because loading of USB drivers"
echo "is now gone in Barry Allen !" echo "is now gone in Barry Allen!"
echo ================================================== ============== echo ================================================= = ==============
echo "now checking if image in Flash uses latest secondstage loader ..." echo "now checking if image in Flash uses latest secondstage loader ..."
BOXTYPE=dm7025 BOXTYPE = dm7025
SECONDSTAGEVERSION=74 SECONDSTAGEVERSION = 74
if grep -qs 7020 /proc/bus/dreambox ; then if grep-qs 7020 / proc / bus / dreambox; then
BOXTYPE=dm7020 BOXTYPE = dm7020
SECONDSTAGEVERSION=35 SECONDSTAGEVERSION = 35
fi fi
if grep -qs 600PVR /proc/bus/dreambox ; then if grep-qs 600PVR / proc / bus / dreambox; then
BOXTYPE=dm600pvr BOXTYPE = dm600pvr
SECONDSTAGEVERSION=67 SECONDSTAGEVERSION = 67
fi fi
if grep -qs DM500PLUS /proc/bus/dreambox ; then if grep-qs DM500PLUS / proc / bus / dreambox; then
BOXTYPE=dm500plus BOXTYPE = dm500plus
SECONDSTAGEVERSION=67 SECONDSTAGEVERSION = 67
fi fi
if grep -qs BCM /proc/cpuinfo ; then if grep-qs BCM / proc / cpuinfo; then
if grep -qs 7401 /proc/cpuinfo ; then if grep-qs 7401 / proc / cpuinfo; then
BOXTYPE=dm800 BOXTYPE = dm800
SECONDSTAGEVERSION=74 SECONDSTAGEVERSION = 74
else else
BOXTYPE=dm8000 BOXTYPE = dm8000
SECONDSTAGEVERSION=74 SECONDSTAGEVERSION = 74
HD_MOUNT=/media/hdc1 HD_MOUNT = / media/hdc1
fi fi
fi fi
if [ `uname -r | grep 2.6.30 | wc -l` -lt 1 ]; then if [ `uname-r | grep 2.6.30 | wc-l`-lt 1]; then
if [ $BOXTYPE = "dm800" -o $BOXTYPE = "dm8000" ]; then if [$ BOXTYPE = "dm800"-o $ BOXTYPE = "dm8000"]; then
dd if=/dev/mtd/1 of=/tmp/.secondstage > /dev/null 2>&1 dd if = / dev/mtd/1 of = / tmp / .secondstage> / dev / null 2> & 1
else else
dd if=/dev/mtd/1 of=/tmp/.secondstage.gz > /dev/null 2>&1 dd if = / dev/mtd/1 of = / tmp / .secondstage.gz> / dev / null 2> & 1
cd /tmp cd / tmp
du .secondstage.gz > $BATMP du. secondstage.gz> $ BATMP
sed -ie s!".secondstage.gz"!!g $BATMP sed-ie s! ". secondstage.gz"!! g $ BATMP
SIZE=`cat $BATMP` SIZE = `cat $ BATMP`
if [ $SIZE != 264 -o $BOXTYPE = "dm7020" -o $BOXTYPE = "dm600pvr" ]; then if [$ SIZE! = 264-o $ BOXTYPE = "dm7020"-o $ BOXTYPE = "dm600pvr"]; then
gunzip /tmp/.secondstage.gz > /dev/null 2>&1 gunzip / tmp / .secondstage.gz> / dev / null 2> & 1
else else
mv /tmp/.secondstage.gz /tmp/.secondstage mv / tmp / .secondstage.gz / tmp / .secondstage
fi fi
fi fi
touch /tmp/.secondstage touch / tmp / .secondstage
CHECKSTRING1="xyz12345" CHECKSTRING1 = "xyz12345"
if [ $BOXTYPE = "dm800" ]; then if [$ BOXTYPE = "dm800"]; then
CHECKSTRING1="73!-)s" CHECKSTRING1 = "73! -) S"
CHECKSTRING2="74Gn" CHECKSTRING2 = "74Gn"
else else
if [ $BOXTYPE = "dm8000" ]; then if [$ BOXTYPE = "dm8000"]; then
CHECKSTRING1="72.::" CHECKSTRING1 = "72.::"
CHECKSTRING2="74g8" CHECKSTRING2 = "74g8"
else else
if [ $BOXTYPE = "dm7025" ]; then if [$ BOXTYPE = "dm7025"]; then
CHECKSTRING1="61" CHECKSTRING1 = "61"
CHECKSTRING2="$SECONDSTAGEVERSION" CHECKSTRING2 = "$ SECONDSTAGEVERSION"
else else
CHECKSTRING2="BUILD #$SECONDSTAGEVERSION" CHECKSTRING2 = "BUILD # $ SECONDSTAGEVERSION"
fi fi
fi fi
fi fi
if [ `strings /tmp/.secondstage | grep "$CHECKSTRING1" | wc -l` -lt 1 -a `strings /tmp/.secondstage | grep "$CHECKSTRING2" | wc -l` -lt 1 ]; then if [ `strings / tmp / .secondstage | grep" $ CHECKSTRING1 "| wc-l`-lt 1-a `strings / tmp / .secondstage | grep" $ CHECKSTRING2 "| wc-l`-lt 1]; then
if [ $BOXTYPE != "dm8000" ]; then if [$ BOXTYPE! = "dm8000"]; then
echo "secondstage loader wrong, upgrade Flashimage or Loader to $SECONDSTAGEVERSION first !!!" echo "secondstage loader wrong, upgrade Flashimage or Loader to $ SECONDSTAGEVERSION first!!!"
if [ $BOXTYPE = "dm800" -o $BOXTYPE = "dm8000" ]; then if [$ BOXTYPE = "dm800"-o $ BOXTYPE = "dm8000"]; then
echo "new loaders can be found as ipk for $BOXTYPE at www.dreamboxupdate.com" echo "new loaders can be found as ipk for $ BOXTYPE at www.dreamboxupdate.com"
fi fi
rm /tmp/.secondstage* > /dev/null 2>&1 rm / tmp / .secondstage *> / dev / null 2> & 1
exit 1 exit 1
fi fi
fi fi
echo "secondstage loader is OK" echo "secondstage loader is OK"
rm /tmp/.secondstage* > /dev/null 2>&1 rm / tmp / .secondstage *> / dev / null 2> & 1
else else
echo "secondstage loader is OK" echo "secondstage loader is OK"
fi fi
echo ================================================== ============== echo ================================================= = ==============
we can block or simply erase all check lines and the file is ok !!! we can block or simply erase all check lines and the file is ok!!!
i have just one probleme : how to pack those files again ??? i have just one probleme: how to pack those files again??? i'm in windows XP ?? i'm in windows XP??
waiting for linux gurus
)) waiting for linux gurus
))
just like to add this is NOT my work its by
Faniticous