วันอังคารที่ 20 มีนาคม พ.ศ. 2555

Android Rom :: Unroot

สวัสดีครับ ผมpureexe
วันนี้เป็นตอนพิเศษนะครับเนื่องจากมีคนขอมา
วันนี้เราจะมา Unroot เครื่องเรากัน


ลิ้ง สำหรับ download ไฟล์ zip (ใช้install ผ่าน SD card)
http://www.mediafire.com/?y6airjj1aba9h6m

code ด้านใน(ไฟล์ updater-script)


ui_print("Unrooting, Please wait...");
mount("/system");
delete("/system/xbin/sqlite3");
delete("/system/xbin/su");
delete("/system/xbin/busybox");
delete("/system/bin/bash");
delete("/system/app/Superuser.apk");
unmount("/system");
ui_print(" ");
ui_print("Please reboot your phone.");


อธิบายcode
ui_print(""); คือแสดงคำพูด

mount("/system"); คือ ทำให้ /system เป็น r/w (เขียนข้อมูลได้)

delete("/system/xbin/sqlite3"); ลบตัว SQLlite (ถ้าโดนเจอทำให้หมดประกัันได้)
delete("/system/xbin/su"); ลบไฟล์ lib ของ superuser
delete("/system/xbin/busybox"); ลบไฟล์lib ของ busybox
delete("/system/bin/bash"); ลบไฟล์lib ของ busybox
delete("/system/app/Superuser.apk"); ลบไฟล์ superuser
unmount("/system"); ทำให้ /system กับมาเป็น r/o (อ่านอย่างเดียว)

ก็ขอจบตอนแค่นี้นะครับขอให้สนุก ^^


ไม่มีความคิดเห็น:

แสดงความคิดเห็น