我的G4已经买回来使用好久了,大概是2009年买的,系统是android 1.6,并且还是台湾的繁体版本。已经使用这么长时间,很多新的软件已经不能使用,并且使用起来也不是
很方便,只好升级到2.3.7系统。先在网上搜索相关的资料,并学习好。对了,我的SD卡已经损坏了,还得去电子市场购买一个4G的SD卡,这样才具备硬件的基础。
1. 准备手机连接电脑
先要把手机的数据通讯线,就是买手机时配置的USB数据线,拿出来插入电脑,然后到HTC网站下载HTC Sync安装,然后再安装QQ的手机应用助手。如果手机可以在QQ的应用助手里连接到,说明手机连接到电脑没有问题了。这时,就需要使用QQ应用助手备份所有资料,比如手机号码、短信、应用程序等。备份很重要,否则所有电话号码、短信就不见了。
2. 下载相关软件
到网站http://wiki.cyanogenmod.com/wiki/HTC_Tattoo:_Full_Update_Guide,然后根据上面的提示下载软件。
下载m7.zip、
flash_image.zip(这个要使用早期版本,12K大小,否则运行时会有非法指令)、
recovery-clockwork-3.0.2.7-click.img、
cm_click_full-254.zip(http://www.romzj.com/resources/htc.html?view=roms&cid=43可以下载)、
su-2.3.6.2-cd.zip
其中m7.zip是用来破解root权限使用,su-2.3.6.2-cd.zip是用来保存永久root权限,flash_image.zip是用来更新升级recovery,recovery-clockwork-3.0.2.7-click.img是升级引导程序,cm_click_full-254.zip是android2.3.7系统。
3. 破解root权限
这一步比较关键,如果没有通过一步,是不能更新的。为了使用adb.exe软件,这是android系统的调试工具。从上面已经安装的HTC工具里就已经安装了这个软件,一般安装在目录C:\Program Files\HTC\HTC Sync 3.0里,找这到这个目录,就可以通过XP终端把软件安装到手机里,才可以运行。通过如下操作:
在XP启动菜单里运行 cmd就会弹出DOS窗口。
接着需要把上面所有软件解压并拷贝到目录C:\Program Files\HTC\HTC Sync 3.0里。
在CMD窗口里进行如下操作:
C:\Documents and Settings\tony>cd C:\Program Files\HTC\HTC Sync 3.0
C:\Program Files\HTC\HTC Sync 3.0>adb shell "mkdir /data/local/bin"
C:\Program Files\HTC\HTC Sync 3.0>adb push m7 /data/local/bin/
293 KB/s (4695 bytes in 0.015s)
C:\Program Files\HTC\HTC Sync 3.0>adb push su /data/local/bin/
819 KB/s (26232 bytes in 0.031s)
C:\Program Files\HTC\HTC Sync 3.0>adb push flash_image /data/local/bin/
817 KB/s (26172 bytes in 0.031s)
C:\Program Files\HTC\HTC Sync 3.0>adb push recovery.img /data/local/bin/
923 KB/s (3117056 bytes in 3.296s)
C:\Program Files\HTC\HTC Sync 3.0>adb shell
$ cd /data/local/bin/
cd /data/local/bin/
$ chmod 755 m7
chmod 755 m7
$ while 'true' ; do ./m7 ; done
while 'true' ; do ./m7 ; done
exit!
exit!
exit!
exit!
reroc/6787/cmdline[ WIN! 6787
EIP: b0000100 Instruction executed: e1a0000d
Wrote shellcode e0400000 line 0
Wrote shellcode e3a07023 line 1
Wrote shellcode ef000000 line 2
Wrote shellcode e0400000 line 3
Wrote shellcode e3a07017 line 4
Wrote shellcode ef000000 line 5
Wrote shellcode e0433003 line 6
Wrote shellcode e28f0014 line 7
Wrote shellcode e50d0008 line 8
Wrote shellcode e50d3004 line 9
Wrote shellcode e24d1008 line 10
Wrote shellcode e24d2004 line 11
Wrote shellcode e3a0700b line 12
Wrote shellcode ef000000 line 13
Wrote shellcode 7379732f line 14
Wrote shellcode 2f6d6574 line 15
Wrote shellcode 2f6e6962 line 16
Wrote shellcode 6873 line 17
Wrote shellcode 0 line 18
[ Overwritten 0xb0000100
# usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
# export LD_LIBRARY_PATH=/system/lib
export LD_LIBRARY_PATH=/system/lib
# export PATH=/system/bin
export PATH=/system/bin
到这里,看到#出现,说明已经获取root权限了。
4. 更新recovery
# mount -o rw,remount /dev/block/mtdblock5 /data
mount -o rw,remount /dev/block/mtdblock5 /data
# mount -o rw,remount /dev/block/mtdblock3 /system
mount -o rw,remount /dev/block/mtdblock3 /system
# chmod 755 flash_image
chmod 755 flash_image
# /data/local/bin/flash_image recovery /data/local/bin/recovery.img
/data/local/bin/flash_image recovery /data/local/bin/recovery.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00060000 (Out of memory)
mtd: read error at 0x00080000 (Out of memory)
mtd: read error at 0x000a0000 (Out of memory)
mtd: read error at 0x000c0000 (Out of memory)
mtd: read error at 0x000e0000 (Out of memory)
mtd: read error at 0x00100000 (Out of memory)
mtd: read error at 0x00120000 (Out of memory)
mtd: read error at 0x00140000 (Out of memory)
mtd: read error at 0x00160000 (Out of memory)
mtd: read error at 0x00180000 (Out of memory)
mtd: read error at 0x001a0000 (Out of memory)
# ./flash_image recovery /data/local/bin/recovery.img
./flash_image recovery /data/local/bin/recovery.img
# ./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
# ./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
这里要使用flash_image来更新。
# reboot recovery
reboot recovery
C:\Program Files\HTC\HTC Sync 3.0>
到这里已经就已经让手机重新启动,然后就看到出现新的recovery管理器了。
5. 更新2.3.7系统
重新启动手机,然后选择SD卡模式,不要选择HTC同步模式,在xp资源管理器里把cm_click_full-254.zip文件拷贝到SD卡根目录下面。拷贝完成后,再拔出再插入手机数据线
,然后重新启动手机,启动时按住房子(左边第一个键),同时按电源开机键,进入恢复模式。
这时先选择备份系统,然后再选择WIPE清除所有数据,再返回选择SD卡的ZIP升级,就可以了。
重新启动后,就进入2.3.7系统。
6. 恢复手机资料
插入电脑,然后使用QQ应用助手,把备份的手机号码、短信、应用程序全部恢复,就OK了。好好享受最新的系统吧,比1.6好很多,相机、FM都可以使用。
很方便,只好升级到2.3.7系统。先在网上搜索相关的资料,并学习好。对了,我的SD卡已经损坏了,还得去电子市场购买一个4G的SD卡,这样才具备硬件的基础。
1. 准备手机连接电脑
先要把手机的数据通讯线,就是买手机时配置的USB数据线,拿出来插入电脑,然后到HTC网站下载HTC Sync安装,然后再安装QQ的手机应用助手。如果手机可以在QQ的应用助手里连接到,说明手机连接到电脑没有问题了。这时,就需要使用QQ应用助手备份所有资料,比如手机号码、短信、应用程序等。备份很重要,否则所有电话号码、短信就不见了。
2. 下载相关软件
到网站http://wiki.cyanogenmod.com/wiki/HTC_Tattoo:_Full_Update_Guide,然后根据上面的提示下载软件。
下载m7.zip、
flash_image.zip(这个要使用早期版本,12K大小,否则运行时会有非法指令)、
recovery-clockwork-3.0.2.7-click.img、
cm_click_full-254.zip(http://www.romzj.com/resources/htc.html?view=roms&cid=43可以下载)、
su-2.3.6.2-cd.zip
其中m7.zip是用来破解root权限使用,su-2.3.6.2-cd.zip是用来保存永久root权限,flash_image.zip是用来更新升级recovery,recovery-clockwork-3.0.2.7-click.img是升级引导程序,cm_click_full-254.zip是android2.3.7系统。
3. 破解root权限
这一步比较关键,如果没有通过一步,是不能更新的。为了使用adb.exe软件,这是android系统的调试工具。从上面已经安装的HTC工具里就已经安装了这个软件,一般安装在目录C:\Program Files\HTC\HTC Sync 3.0里,找这到这个目录,就可以通过XP终端把软件安装到手机里,才可以运行。通过如下操作:
在XP启动菜单里运行 cmd就会弹出DOS窗口。
接着需要把上面所有软件解压并拷贝到目录C:\Program Files\HTC\HTC Sync 3.0里。
在CMD窗口里进行如下操作:
C:\Documents and Settings\tony>cd C:\Program Files\HTC\HTC Sync 3.0
C:\Program Files\HTC\HTC Sync 3.0>adb shell "mkdir /data/local/bin"
C:\Program Files\HTC\HTC Sync 3.0>adb push m7 /data/local/bin/
293 KB/s (4695 bytes in 0.015s)
C:\Program Files\HTC\HTC Sync 3.0>adb push su /data/local/bin/
819 KB/s (26232 bytes in 0.031s)
C:\Program Files\HTC\HTC Sync 3.0>adb push flash_image /data/local/bin/
817 KB/s (26172 bytes in 0.031s)
C:\Program Files\HTC\HTC Sync 3.0>adb push recovery.img /data/local/bin/
923 KB/s (3117056 bytes in 3.296s)
C:\Program Files\HTC\HTC Sync 3.0>adb shell
$ cd /data/local/bin/
cd /data/local/bin/
$ chmod 755 m7
chmod 755 m7
$ while 'true' ; do ./m7 ; done
while 'true' ; do ./m7 ; done
exit!
exit!
exit!
exit!
reroc/6787/cmdline[ WIN! 6787
EIP: b0000100 Instruction executed: e1a0000d
Wrote shellcode e0400000 line 0
Wrote shellcode e3a07023 line 1
Wrote shellcode ef000000 line 2
Wrote shellcode e0400000 line 3
Wrote shellcode e3a07017 line 4
Wrote shellcode ef000000 line 5
Wrote shellcode e0433003 line 6
Wrote shellcode e28f0014 line 7
Wrote shellcode e50d0008 line 8
Wrote shellcode e50d3004 line 9
Wrote shellcode e24d1008 line 10
Wrote shellcode e24d2004 line 11
Wrote shellcode e3a0700b line 12
Wrote shellcode ef000000 line 13
Wrote shellcode 7379732f line 14
Wrote shellcode 2f6d6574 line 15
Wrote shellcode 2f6e6962 line 16
Wrote shellcode 6873 line 17
Wrote shellcode 0 line 18
[ Overwritten 0xb0000100
# usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
usage: reboot [-n] [-p] [rebootcommand]
# export LD_LIBRARY_PATH=/system/lib
export LD_LIBRARY_PATH=/system/lib
# export PATH=/system/bin
export PATH=/system/bin
到这里,看到#出现,说明已经获取root权限了。
4. 更新recovery
# mount -o rw,remount /dev/block/mtdblock5 /data
mount -o rw,remount /dev/block/mtdblock5 /data
# mount -o rw,remount /dev/block/mtdblock3 /system
mount -o rw,remount /dev/block/mtdblock3 /system
# chmod 755 flash_image
chmod 755 flash_image
# /data/local/bin/flash_image recovery /data/local/bin/recovery.img
/data/local/bin/flash_image recovery /data/local/bin/recovery.img
mtd: read error at 0x00000000 (Out of memory)
mtd: read error at 0x00020000 (Out of memory)
mtd: read error at 0x00040000 (Out of memory)
mtd: read error at 0x00060000 (Out of memory)
mtd: read error at 0x00080000 (Out of memory)
mtd: read error at 0x000a0000 (Out of memory)
mtd: read error at 0x000c0000 (Out of memory)
mtd: read error at 0x000e0000 (Out of memory)
mtd: read error at 0x00100000 (Out of memory)
mtd: read error at 0x00120000 (Out of memory)
mtd: read error at 0x00140000 (Out of memory)
mtd: read error at 0x00160000 (Out of memory)
mtd: read error at 0x00180000 (Out of memory)
mtd: read error at 0x001a0000 (Out of memory)
# ./flash_image recovery /data/local/bin/recovery.img
./flash_image recovery /data/local/bin/recovery.img
# ./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
# ./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
这里要使用flash_image来更新。
# reboot recovery
reboot recovery
C:\Program Files\HTC\HTC Sync 3.0>
到这里已经就已经让手机重新启动,然后就看到出现新的recovery管理器了。
5. 更新2.3.7系统
重新启动手机,然后选择SD卡模式,不要选择HTC同步模式,在xp资源管理器里把cm_click_full-254.zip文件拷贝到SD卡根目录下面。拷贝完成后,再拔出再插入手机数据线
,然后重新启动手机,启动时按住房子(左边第一个键),同时按电源开机键,进入恢复模式。
这时先选择备份系统,然后再选择WIPE清除所有数据,再返回选择SD卡的ZIP升级,就可以了。
重新启动后,就进入2.3.7系统。
6. 恢复手机资料
插入电脑,然后使用QQ应用助手,把备份的手机号码、短信、应用程序全部恢复,就OK了。好好享受最新的系统吧,比1.6好很多,相机、FM都可以使用。