由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
SanFrancisco版 - 在G1上装froyo-----长,复杂,绝对慎入 (转载)
相关主题
Flash测评来了: iPhone 3GS vs N1 froyo vs HD2 (转载)买了保险的航班晚点,能找保险公司么 (转载)
Best comment regarding the debt ceiling deal坐BART的要注意了。
1某程序员退休后决定练习书法,于是重金购买文房四宝。一日,饭 (转载)弱问可以用iPAD develop iPhone/iPad App 吗? (转载)
我邀请的记者所发的迎火炬报道(WashingtonPost Vedio)看看google/microsoft的真实工资
iPad SDK 3.2招版务2-3名
中餐美食地图 iPhone web App发布了 (转载)这几天goog狂涨为啥?
ADBE是不是快被三哥玩死了?Amazon的别看微软员工加工资眼馋 (转载)
我们做presentation时不用怕了。总结的真强大,转帖啦ZZ湾区硅谷工作机会 -- Application Enginner (转载)
相关话题的讨论汇总
话题: fastboot话题: android话题: sdk话题: spl话题: download
进入SanFrancisco版参与讨论
1 (共1页)
t******e
发帖数: 2009
1
【 以下文字转载自 PDA 讨论区 】
发信人: theodore (陀螺), 信区: PDA
标 题: 在G1上装froyo-----长,复杂,绝对慎入
发信站: BBS 未名空间站 (Wed Dec 29 04:28:36 2010, 美东)
应朋友的要求写了个攻略,好辛苦,版主给个包子吧。
所有的攻略都是来自于xda,我只是做了搜索和整理,翻译和写了解释性的语言和自己
的感受。
我自己按照这个攻略刷机成功了。
1. downgrade OS
要装froyo,必须要有root的权限,要变成root,必须要寻找有安全漏洞的版本,一般来
说,RC30
以上的版本都把已知漏洞给补上了,所以第一步一般是downgrad到RC29的版本。
步骤如下:
1.1 Format your phone's SD card to FAT32 mode
1.2 Download and unzip the RC29 image file. Copy the DREAIMG.nbh file
to the SD card root.
http://www.megaupload.com/?d=EMY1HIVU
1.3 Turn the device power off.
1.4 Hold Camera button, and press Power button to entry boot loader
mode. You should see a gray/white screen with instructions to flash your
phone with the update on your SD card.
1.5 As per the on-screen instructions, press the Power button to start
upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS. After
it is finished
1.6 restart your phone.
这个时候你应该已经downgrade到RC29了。
2. rooting and apply new SPL and new recovery img
先解释一下,在RC29的版本里面,所有在键盘上输入的命令都会在隐藏的console里面
执行。
步骤如下:
2.1 Download recovery.img, and copy to the SD card root.
http://koushikdutta.blurryfox.com/G1RootWalkthrough/recovery.img
2.2 Download the Hard SPL and copy the zip file to the SD card root.
http://koushikdutta.blurryfox.com/G1RootWalkthrough/HardSPL/update.zip
2.3 Restart your phone. Wait for your phone to start up fully and show
the home screen.(you need a sim card with data plan)
2.4 Hit the enter key twice, type "telnetd" and press enter. (Yes, it
will start up a contact search, don't worry. Just type it.)
2.5 Download an Android "Telnet" application from the Market,
2.6 run the application and it will connect to localhost. If you
connect successfully, you will have a root prompt "#".
2.7 Type the following into Telnet (these commands will give you root
access easier in the future):
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Now you have root
2.8 Power off your phone.
2.9 Start up in recovery mode by holding home and pressing power.
2.10 Press Alt-S to apply the update from the SD card.
2.11 After the update is complete, hold Home and press Back to restart.
3. 寻找一个特殊的SPL
G1有很长的刷机历史,在早期,大家都是把刷机文件打包成update.zip放在SD卡里面来
刷。但是大牛们嫌打包update.zip太麻烦,后来就开始使用fastboot的方法。
fastboot是android SDK/ADB(Android Debugging Bridge)的一个命令,可以直接从PC往
android设备上刷各种image,包括SPL,recovery img和radio。
和froyo相配套的这些东西在xda上都是以image的方式发布的,所以要刷froyo,最好使用
fastboot
fastboot需要SPL的支持,这就需要找到一个特殊的SPL包,本身是用update.zip的方法
来刷,
但是刷好了以后支持fastboot.
还真被我找到了。
步骤如下:
3.1 Download this file
http://rapidshare.com/files/388568285/g1boot.zip
3.2 unzip,change spl_1_22_2003.zip to update.zip,and copy it to SD
card root
3.3 follow step 2.8-2.11
4. Android SDK / ADB
我用的是win xp,所以我只能给出win xp下安装和使用android SDK / ADB的指导
步骤如下:
4.1 Download this file
http://dl.google.com/android/android-sdk_r07-windows.zip
4.2 unzip it and put the whole directory to c:\
4.3 add the "ADB" directory path as a system variable in windows...
4.3.1 right-click on "My Computer" -> Properties -> Advanced tab ->
Environment Variables.
4.3.2 Click "New" under System Variables and add the following:
Variable: adb
Value: C:\android-sdk-windows\tools
4.4 Download this file
http://www.mediafire.com/?wzdjcmowziw
4.5 unzip it and copy the whole directory to C:\android-sdk-windows
4.6 go to your phone, choose settings -> applications -> development ->
check "USB Debugging"
4.7 connect G1 with PC through USB, and DO NOT MOUNT IT
4.8 PC sees a new device and try to install driver, driver is under
C:\android-sdk-windows\usb_driver\i386 or
C:\android-sdk-windows\usb_driver\amd64
4.9 Open command prompt ( go to run, type in "cmd", press enter), the
type in
cd C:\android-sdk-windows\tools
adb devices === You should see your device listed
adb shell === you should see # in the next line
exit
5. 刷froyo需要的SPL,readio和recovery img
步骤如下:
5.1 Download this file:
http://rapidshare.com/files/429271074/dream_2708kit.zip
5.2 unzip it and copy all files to C:\android-sdk-windows\tools
5.3 Dowaload this file:
http://files.androidspin.com/downloads.php?
dir=amon_ra/RECOVERY/&file=recovery-RA-dream-v1.7.0-cyan.img
5.4 Copy file to C:\android-sdk-windows\tools
5.5 Open command prompt and type in
cd C:\android-sdk-windows\tools
fastboot flash recovery recovery-RA-dream-v1.7.0-cyan.img
fastboot flash radio radio-2.22.27.08.img
fastboot flash hboot hboot-1.33.0013d.img
fastboot reboot-bootloader
fastboot erase system -w
fastboot erase boot
6. 刷froyo
6.1 Download this file
http://sandbox.devnull.name/android/MT3G_testrom/MT3G-test3_S.zip
6.2 Copy the zip file to SD card root
6.3 Power off your phone.
6.4 Start up in recovery mode by holding home and pressing power.
Now you see the SPL interface is different from old SPL.
6.5 Choose "Flash zip from sdcard" and update system with MT3G-
test3_S.zip
搞定!
Note:
* In recovery mode, press Alt-L will show the menu.
* At anytime, when you see "serial0" error, don't worry about it,
press Home+MENU+Power to continue.
* Somtimes, if your phone doesn't have enough battery, you will see
"serial0" error.
* HTC G1 又叫 HTC Dream,是所谓的32B device
* When you start G1 with Home+Power or Camera+Power, make sure you
keep pressing Home/Camera after you release Power until you enter
correct mode.
Reference from XDA:
http://forum.xda-developers.com/showthread.php?t=442480
http://forum.xda-developers.com/showthread.php?
t=655097&highlight=1.33.2003&page=8
http://forum.xda-developers.com/showthread.php?t=811620
http://forum.xda-developers.com/showthread.php?t=831139
http://forum.xda-developers.com/showthread.php?t=502010&highlight=adb
http://forum.xda-developers.com/showthread.php?t=532719
i******s
发帖数: 8734
2
干完了有啥好处?

【在 t******e 的大作中提到】
: 【 以下文字转载自 PDA 讨论区 】
: 发信人: theodore (陀螺), 信区: PDA
: 标 题: 在G1上装froyo-----长,复杂,绝对慎入
: 发信站: BBS 未名空间站 (Wed Dec 29 04:28:36 2010, 美东)
: 应朋友的要求写了个攻略,好辛苦,版主给个包子吧。
: 所有的攻略都是来自于xda,我只是做了搜索和整理,翻译和写了解释性的语言和自己
: 的感受。
: 我自己按照这个攻略刷机成功了。
: 1. downgrade OS
: 要装froyo,必须要有root的权限,要变成root,必须要寻找有安全漏洞的版本,一般来

t******e
发帖数: 2009
3
android 2.2 VS 1.6

【在 i******s 的大作中提到】
: 干完了有啥好处?
r****c
发帖数: 2585
4
much faster

【在 t******e 的大作中提到】
: android 2.2 VS 1.6
g********e
发帖数: 6425
5
又学会了一门手艺 -- 硅工

【在 i******s 的大作中提到】
: 干完了有啥好处?
Q**Q
发帖数: 1450
6
这才是硅工本色!
c****9
发帖数: 942
7
楼主, G1刷2.2 能流畅运行? 别折磨自己了
t******e
发帖数: 2009
8
as a matter of fact, better than I expected.
Froyo runs quite smoothly except some action games.

【在 c****9 的大作中提到】
: 楼主, G1刷2.2 能流畅运行? 别折磨自己了
t******e
发帖数: 2009
9
对!

【在 Q**Q 的大作中提到】
: 这才是硅工本色!
h****r
发帖数: 2056
10
Wrong, 码农 instead of 硅工。

【在 Q**Q 的大作中提到】
: 这才是硅工本色!
r****c
发帖数: 2585
11
yeah, there are some significantly performance improvement

【在 t******e 的大作中提到】
: as a matter of fact, better than I expected.
: Froyo runs quite smoothly except some action games.

l*u
发帖数: 661
12
慢,就一个字!

【在 i******s 的大作中提到】
: 干完了有啥好处?
1 (共1页)
进入SanFrancisco版参与讨论
相关主题
湾区硅谷工作机会 -- Application Enginner (转载)iPad SDK 3.2
看来Android问题多多啊中餐美食地图 iPhone web App发布了 (转载)
kaiser fremont OBADBE是不是快被三哥玩死了?
哪些公司每人都有office坐?我们做presentation时不用怕了。总结的真强大,转帖啦ZZ
Flash测评来了: iPhone 3GS vs N1 froyo vs HD2 (转载)买了保险的航班晚点,能找保险公司么 (转载)
Best comment regarding the debt ceiling deal坐BART的要注意了。
1某程序员退休后决定练习书法,于是重金购买文房四宝。一日,饭 (转载)弱问可以用iPAD develop iPhone/iPad App 吗? (转载)
我邀请的记者所发的迎火炬报道(WashingtonPost Vedio)看看google/microsoft的真实工资
相关话题的讨论汇总
话题: fastboot话题: android话题: sdk话题: spl话题: download