2010年10月5日 星期二

HTC Magic android 刷機小筆記

這篇文章的內容幾乎都可以在  http://forum.xda-developers.com  找到,
小橘只是將自己的刷機流程記錄下來,方便日後自己參考。

要提醒大家的是,刷機有一定的風險,在操作之前你一定要很清楚自己在幹甚麼喔!!
否則,手機變磚了,不要來砍小橘阿 ><

[1] 把radio 3.22 刷成  新版 radio 6.35

@ 要更新 radio 6.35,需要檔案連 hboot 一起更新成 1.76

需要的檔案:
hboot-1.76.2007.img
Radio_HTC_PVT_32A_6.35.10.18.img
recovery-RA-hero-v1.6.2.img


步驟:
1. 先關機
2. 使用USB連接magic與你的電腦。
3. 按住power 與 back 按鈕,進入工程模式。
4. 使用command line 模式切換目錄到 android SDK 中的 tools 目錄
5. 輸入 fastboot devices
     --->  如果你有看到螢幕顯示類似   HT95FKF02234    fastboot
             表示你的已經成功連接你的手機與電腦囉
6. fastboot flash radio Radio_HTC_PVT_32A_6.35.10.18.img
7. fastboot flash hboot hboot-1.76.2007.img
8. fastboot erase system -w
9. fastboot reboot-bootloader

如此你就已經從 radio 3.22 更新成  6.35囉
記得更新成 6.35 後 recovery img 要使用  recovery-RA-hero-v1.6.2.img  喔!!

您可以在按住power 與 back 按鈕,進入工程模式後
輸入 fastboot boot recovery-RA-hero-v1.6.2.img  將recover 程式載入。



安裝 smoki X.1   以下純粹備份!!
原版請看 http://forum.xda-developers.com/showthread.php?t=666859



HOW TO INSTALL
* If you had signal loss problems with previous builds, make sure you follow the steps from 1 to 9 , the rest of you can also do this as it will bring you to the latest radio, but you do not have to. IF YOU DO NOT WANT TO INSTALL THE NEW RADIO PROCEED TO READ FROM STEP 9(including this step) 
1)If upgrading from some other 6.35 radio, make sure you have 1.76.2007 engineering SPL installed
2)Make sure you have fastboot working
3)Download the radio.img file from HERE 
4)Place the radio.img file in the folder where your fastboot is located(usually tools folder)
5)Connect your phone to pc using USB
6)Reboot the phone to bootloader(fastboot)
-You can do this by typing "adb reboot bootloader" in terminal
-You can do this by shutting the phone down completely and then boot it up by holding the POWER button and BACK button at the same time
7)Type in terminal console or command prompt console
Code:
fastboot flash radio radio.img
8)Now type
Code:
fastboot reboot-bootloader
and make sure you now have radio 6.35.16.19
9)Extract the already downloaded EXTRACT ME FINAL SMOKI X zip and place both newly extracted files onto the root of your sdcard fat32 partition(files have names Smoki_X.zip and Partition_layout_fixed.zip)
10)Reboot the phone to recovery.
11)Wipe data
12)Flash Partition_layout_Fixed.zip and wait for it to reboot back into recovery
13)Flash Smoki_X.zip
14)Flash Smoki_X.1.zip
15)Reboot the phone and wait for the setupwizard to appear
16)IF YOU GET FC ON FIRST BOOT BEFORE SETUPWIZARD(it's mostly FCing because of com.android.settings), REMOVE THE SIMCARD AND FINISH THE SETUPWIZARD LIKE YOU WOULD NORMALLY DO, LET THE SENSEUI LOAD AND PUT THE SIMCARD BACK
17)After you've passed setup wizard and after senseui has loaded, install whatever the apps you want from the market and do a REBOOT or else there are BIG chances you'll have sense reloading by itself for no reason on returning to homescreen
18)Double check to make sure you did a reboot like I told you in the step above
19)Go get me some Heineken
20)AAAAAAND yo're done 


HOW TO REVERT PARTITIONING BACK TO STOCK
Partitioning reverts back in two occasions
*First one being getting back on old radio and thus flashing different radio, spl, recovery and erasing system
*Second being a manual one and includes staying with this radio and spl.
TO REVERT BACK AND STAY WITH THE NEW RADIO FOLLOW THE FOLLOWING STEPS
1)Download AmonRA 1.6.2 recovery patched by cursordroid from > HERE 
2)Make sure you have fastboot working
3)Place the recovery image downloaded from the above link into the folder with fastboot (usually the tools folder) and rename it(basically just shorten the name) to recovery.img
4)Reboot the phone into the bootloader(fastboot)
5)Type from terminal or command prompt
Code:
fastboot flash recovery recovery.img
fastboot erase system -w
fastboot erase userdata -w
fastboot erase cache -w
6)Reboot into recovery
7)Flash whatever the rom you like(except smoki from 0.7.7 and up that needs partition layout)
8)Get me a double cheeseburger from Mcdonalds

沒有留言: