首先感謝 Shaka 的 Universal Root, 讓我的 N1 重獲新生...
今天一早收到 OTA 更新通知, 開始猶豫該不該試著更新, 後來還是毅然決然的開始了動作...
Try/Error:
1. 直接透過 OTA 更新 => 失敗
2. 一個一個將 FRF91 的 /system/app 內的 packages 搬回, 發現一個都不能少 => 成功更新至 FRG83
(p.s. 希望有人能提供完整 archive, 因為我相信很多人都沒留 backup)
Preparation:
如果你是 Universal Root 的愛好者, 也想在升級 FRG83 後也享受 Root 的樂趣, 在此建議在升級前, 準備好以下工作:
1. 將新版的 Superuser.apk 放好進去 /system/app (用 Root Explorer 或其他方法)
2. 確認 /system/bin 下面的 su 及 busybox 存在 (沒有也行, 只是這樣比較快)
3. 參考 XDA 的這篇: http://forum.xda-developers.com/showpost.php?p=8300203&postcount=55
只是要進行一些修正:
F:\ADB>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
263 KB/s (5392 bytes in 0.020s)
F:\ADB>adb shell chmod 700 /data/local/tmp/rageagainstthecage
F:\ADB>adb shell
$ cd /data/local/tmp
cd /data/local/tmp
$ ./rageagainstthecage
./rageagainstthecage[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C[*] checking NPROC limit ...
[+] RLIMIT_NPROC={3084, 3084}[*] Searching for adb ...
[+] Found adb as PID 64[*] Spawning children. Dont type anything and wait for reset![*][*] If you like what we are doing you can send us PayPal money to[*] 7-4-3-C[at]web.de so we can compensate time, effort and HW costs.[*] If you are a company and feel like you profit from our work,[*] we also accept donations > 1000 USD![*][*] adb connection will be reset. restart adb server on desktop and re-login.
$
F:\ADB>adb kill-server
F:\ADB>adb start-server
* daemon not running. starting it now *
* daemon started successfully *
F:\ADB>adb shell
# (代表已經取得 root)
# cd /data/local/tmp
cd /data/local/tmp
到這步驟為止都很容易...
接下來必須把 /system 重新 mount 成 r/w
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
然後因為你原本已經準備好的 su 跟 busybox 並不會被 FRG83 砍掉, 只是權限被改掉...
所以將權限恢復...
# chmod 4755 /system/bin/busybox
chmod 4755 /system/bin/busybox
# chmod 4755 /system/bin/su
chmod 4755 /system/bin/su
完成!
Check:
# exit
exit
F:\ADB>adb shell
# su
su
# exit
exit
# exit
exit
恭喜你, 一切完成後, 別忘記將 /system 重新 mount 回 r/o (既然已經 root, 就用 root explorer 比較方便)
Reference from XDA-Developers
http://forum.xda-developers.com/showthread.php?t=792016
http://forum.xda-developers.com/showthread.php?t=736271