Archive for the ‘project’ Category

HTC Tattoo user test needed !

Tuesday, August 10th, 2010

2010-08-11 Update: According to crank89, this version works for Tattoo ! You may need reboot after root / unroot .. :D

如果你有 Tattoo 且知道風險也想要 root, 請使用下面的 Link 看看, 不管有沒有成功, 請回報 kernel 版本. 非 Tattoo 使用者基本上也可以透過這版 root / unroot, 這個版本 (1.6.x) 會清除暫存檔案, 比起前幾版會 “比較安全”.

If you know the risk and willing to help Universal Androot, please download the following link:

http://bit.ly/bYPBfq

關於 Universal Androot 在 Samsung 手機無法使用的問題

Monday, August 9th, 2010

上班中午休息時間看了下 exploit 的原始碼, 再看了下 Android 的 source tree, 最後拿 i9000 測試看看, 確認該 *漏洞* 在 Samsung 手機上應該都無效.

簡單版本: Samsung 手機上沒有 /system/etc/firmware 目錄, 導致漏洞無法讓系統使用相對路徑下的漏洞主程式. 當使用別的 root 方法建立 firmware 目錄後, 該漏洞便成功得逞.

長版本:
先看原程式

  1. if ((sock = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT)) < 0)
  2. die("[-] socket");
  3.  
  4. snprintf(buf, sizeof(buf), "ACTION=add%cDEVPATH=/..%s%c"
  5. "SUBSYSTEM=firmware%c"
  6. "FIRMWARE=../../..%s/hotplug%c", 0, basedir, 0, 0, basedir, 0);
  7. if (sendmsg(sock, &amp;msg, 0) < 0)
  8. die("[-] sendmsg");

再看 Android source code, 當跑到

  1. l = asprintf(&amp;file, FIRMWARE_DIR"/%s", uevent->firmware);

就跳出了, 前面的 ../../.. 便是從 /system/etc/firmware 往前指三層, 不過 firmware 不存在, 也就無法指到漏洞所指定的路徑.

如果網友有 Samsung 系列手機, 可以試著安裝檔案管理員之類程式看看 /system/etc/ 下是否沒有 firmware 目錄, 至少我的 i9000 確定沒有.

Universal Androot 1.5.3 released

Sunday, August 8th, 2010

修改記錄

  • 新增下拉選單選取所需的 Superuser 版本, 程式會自動根據手機版本做預設選項, 不過如果 root 後有使用上的問題, 可以選擇 “Do not install Superuser”
  • 修正 script 判斷檔案存在與權限問題
  • 修正 root / unroot 後 Wifi 開啟耗電問題

Change log

  • Add drop down menu for selecting versions of Superuser.apk. Default value will be matched with Android version on cellphone. Try “Do not install Superuser” if you have problem after rooting.
  • Fix error in install_kit.sh (file permission / file existence)
  • Fix Wifi turned on issue after rooting / unrooting

APK 下載: http://bit.ly/aa4jxJ

Universal Androot 1.5.2 released

Sunday, August 8th, 2010

修改記錄

  • 修正 Android 1.5 版安裝後 Superuser.apk 沒出現在主選單的問題.

請 HTC Magic (1.5) / Tattoo (1.6) / Sony Ericsson X10 (Mini / Mini Pro) 使用者可以試看看這一版 (記得要先反安裝舊版) 如果有問題請回報是否有勾選 Do not install Superuser.apk, 謝謝各位 ! :)

Change Log

  • Fix Superuser.apk not installed in Android 1.5

Users of HTC Magic (1.5) / Tattoo (1.6) / Sony Ericsson X10 (Mini / Mini Pro) can try this version. UNINSTALL OLD VERSION BEFORE INSTALLING NEW ONE. Any problems please kindly leave a comment and telling me if the ‘Do no install Superuser.apk’ checked or not, thank you ! :)

APK 下載: http://bit.ly/aa4jxJ

Universal Androot 1.5.1 released

Sunday, August 8th, 2010

上一版傳錯 su 檔案, 導致雖然 adb shell 下可用 su, 但需要 root 的程式都沒法使用… orz

Upload wrong su file.. orz

APK 下載: http://bit.ly/aa4jxJ