Yh but he never said anything bout his phone.
Sent from my HTC Desire S using XDA Free mobile app
Im only messing bud
Yh but he never said anything bout his phone.
Sent from my HTC Desire S using XDA Free mobile app
Why would you use such an obsolete method to make a gold card?
after temproot,
windows batch script ( example filename: gc.cmd ):Code: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
Linux shell script (example filename: gc.sh ):Code: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
get the android goldcard binary here:
Thanks to Revskills for the algorythm and to GenePoole for the Android binary.
With this, the entire process can be scripted.
#!/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/[U]mmc1/mmc1:*[/U]/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/[U]mmcblk0[/U]
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
Worldwide disclaimer not held responsible if something went wrong blah blah blah goes here..
THIS GUIDE WILL VOID YOUR WARRANTY BECAUSE OF THE HTC-DEV UNLOCK METHOD!!! And you can only use this guide if you are on HBOOT v2.xx
NOTE:
RUUs with v1.xxx have HBOOTs with v0.98.000, while v2.xxx have HBOOTs with 2.00.002, and the ICS RUU has the only HBOOT v2.02.002
Common Sense
- it helps A LOT
HTC Sync for Desire S - Installed
- for its drivers and such, or you may just install the "naked" drivers
Android Windows Tools - Installed
- for adb, fastboot commands
HTC-Dev unlocked
- to change recovery and ROM
Custom recovery
- to flash Root Access
SuperSU or SuperUser flashable zip
- to have Root Access
Root Access
- to change phone version
misc_version file (attached)
- file needed to change phone version
GoldCard
- to flash any version of RUUs
RUU executable file
- to DOWN/UPgrade
Copy-Paste the cmd codes for you to not have any problem. 1 typo error (extra digit on misc_version) will render your phone unable to RUU.
a. Create a folder "downsaga" on your C:
b. Copy misc_version, recovery.img(custom) on that folder.
c. Copy SuperSU's or SuperUser's flashable zip to your SD card.
a. Install Goldcard Helper from the market on your phone
b. Run it and copy the CID for MMC2, or email the info to yours
c. This number has already been reversed so go to http://psas.revskills.de/?q=goldcard, fill out the required fields.
d. Download the image file that was emailed to you.
e. Connect phone as a "Disk drive" using USB cable.
f. Use Gold Card Tool to flash your image file to your phone's SD card. (you might need to reformat it first with Panasonic's SD Formatter)
g. Disconnect safely from the PC.
NOTE:Your sd card is now a GoldCard unless you reformat it again. You should now be able to RUU to any version you would like given that the bootloader is LOCKED.
a. Go to htcdev.com/bootloader
b. Proceed and follow every step on the guide
c. You just need to install Android Windows Tools files for it. No need to download the SDK and JAVA.
d. Once done, boot on bootloader and you should be able to notice if its UNLOCKED.
a. The phone must be on bootloader, then go to fastboot
b. Open up command prompt then type:
Code:fastboot flash recovery C:\downsaga\recovery.img fastboot reboot-bootloader
d. Access recovery
a. Connect the phone using USB cable using "Charge ONLY" and USB Debugging is ON.
b. Open command prompt and input these codes:
Code:adb push C:\downsaga\misc_version /data/local/tmp adb shell chmod 777 /data/local/tmp/misc_version adb shell su cd /data/local/tmp ./misc_version -s 1.27.405.6 exit adb reboot-bootloader
c. Your phone should now be read as the version you've placed there (but not visible to settings)
a. You should be on fastboot
c. In cmd use this command to lock the bootloader:
Code:fastboot oem lock
c. You might receive an error message on your CMD but don't mind it. The phone should restart itself automatically on bootloader, and you should be able to notice at the top saying "***RE-LOCKED***", and might also has *Security Warning*. Just ignore.
a. Make sure you are still on fastboot with the above message.
b. Open the RUU that you've chosen to install on your phone
c. The RUU must detect your phone version as 1.27.405.6
d. If you have received errors, then you've done something wrong. Review everything that you've done and check the guide again.
Step 1: Creating a Gold Card
a. Install Goldcard Helper from the market
b. Run it and copy the CID for MMC2, or email the info to yours
c. This number has already been reversed so go to http://psas.revskills.de/?q=goldcard, fill out the required fields.
d. Download the image file that was emailed to you.
e. Connect phone as a "Disk drive" using USB cable.
f. Use Gold Card Tool to flash your image file to your phone's SD card. (you might need to reformat it first with Panasonic's SD Formatter and then format it with the Gold Card Tool again)
g. Disconnect safely from the PC, and disconnect the cable.
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
adb push
adb push C:\downsaga\misc_version /data/local/tmp
adb shell chmod 777 /data/local/tmp/misc_version
adb shell
/data/local/zergRush
cd /data/local/tmp
./misc_version -s 1.27.405.6
exit
adb reboot bootloader
fastboot oem lock
Why would you use such an obsolete method to make a gold card?
after temproot,
windows batch:Code: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
Linux Shell:Code: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
get the android goldcard binary here:
Thanks to Revskills for the algorythm and to GenePoole for the Android binary.
With this, the entire process can be scripted.