@echo off

@echo Varakozas a telefonra,nem all rendelkezesre.
tools\adb.exe wait-for-device
@echo Telefon eszlelese...

@echo Root tanusitvany beolvasasa...
tools\adb.exe push tools\rageagainstthecage /data/local/tmp/expl
tools\adb.exe shell "chmod 777 /data/local/tmp/expl"
tools\adb.exe shell "/data/local/tmp/expl"

@echo Varakozas a telefonra,nem all rendelkezesre.
tools\adb.exe wait-for-device
@echo Telefon eszlelese...

@echo Korlatozasok eltavolitasa a Nand MPU-bol...
tools\adb.exe push tools\fixPart /data/local/tmp/fixPart
tools\adb.exe shell "chmod 777 /data/local/tmp/fixPart"
tools\adb.exe shell "/data/local/tmp/fixPart"

@echo Telefon ujrainditasa.
tools\adb.exe shell reboot

@echo Varakozas a telefonra,nem all rendelkezesre.
tools\adb.exe wait-for-device
@echo Telefon eszlelese...

@echo Visszanyerte a Root hozzaferest.
tools\adb.exe shell "/data/local/tmp/expl"

@echo Varakozas a telefonra,nem all rendelkezesre.
tools\adb.exe wait-for-device
@echo Telefon eszlelese...

@echo Bootloaderbe valo bejutas.
tools\adb.exe push tools\mapper_2.6.29.ko /data/local/tmp/mapper_2.6.29.ko
tools\adb.exe shell "chmod 777 /data/local/tmp/mapper_2.6.29.ko"
tools\adb.exe shell insmod /data/local/tmp/mapper_2.6.29.ko

@echo Bootloader kinyitasa.
tools\adb.exe push tools\qsd8250bootwrite_semcSL /data/local/tmp/qsd8250bootwrite_semcSL
tools\adb.exe shell "chmod 777 /data/local/tmp/qsd8250bootwrite_semcSL"
tools\adb.exe shell "/data/local/tmp/qsd8250bootwrite_semcSL"

@echo Kinyitas kesz. Telefon ujrainditasa es S1toolal ellenorzese ,hogy a bootloader kinyitas sikeres volt-e.
tools\adb.exe reboot bootloader
@echo Ha megjelenik a feher szoveg "Sony Ericsson", indítsd ujra a bootloader kinyitast.