Why would you use such an obsolete method to make a gold card?
after temproot,
windows batch script ( example filename: gc.cmd ):
adb push goldcard /data/local/tmp/ adb shell chmod 777 /data/local/tmp/goldcard adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid > tcid set/p cid= < tcid del tcid adb shell /data/local/tmp/goldcard -c %cid% -o /data/local/tmp/goldcard.img adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1
adb push goldcard /data/local/tmp/ adb shell chmod 777 /data/local/tmp/goldcard cid=`adb shell cat /sys/class/mmc_host/mmc2/mmc2:*/cid` adb shell /data/local/tmp/goldcard -c $cid -o /data/local/tmp/goldcard.img adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1
#!/bin/bash adb kill-server >nul adb start-server >nul adb push dmisc.img /data/local/ adb push flash_image /data/local/ adb push psneuter /data/local/ adb shell chmod 755 /data/local/psneuter adb shell chmod 755 /data/local/flash_image echo '*** Getting temproot ***' adb shell /data/local/psneuter adb kill-server >nul adb start-server >nul echo '*** Downgrading MISC ***' adb shell /data/local/flash_image misc /data/local/dmisc.img echo '*** Goldcard ***' adb push goldcard /data/local/tmp/ adb shell chmod 777 /data/local/tmp/goldcard cid=`adb shell cat /sys/class/mmc_host/mmc1/mmc1:*/cid` echo "cid=${cid}" adb shell /data/local/tmp/goldcard -c ${cid} -o /data/local/tmp/goldcard.img adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk0 echo '*** Downgrade ***' adb kill-server >nul adb start-server >nul adb shell sync adb reboot bootloader fastboot erase cache fastboot oem rebootRUU echo '*** Starting the ROM downgrade ***' fastboot flash zip rom.zip echo '*** Rom downgrade finished, rebooting to bootloader. ***' #fastboot reboot-bootloader
Thread Tools | Search this Thread |
Display Modes | |
|