/etc/init.d/udev restart 或是 udevadm control –reload-rules
大概如下步驟:
adb shell mv /system/xbin/su /system/xbin/osu # 備份原 su 檔
adb push su /system/xbin # 把 adb/tools 的 su 檔 推送到 android設備 /system/xbin
adb shell rm /system/bin/su # 移除其他的 su 文件
adb shell ln -s /system/xbin/su /system/bin/su # 鏈結su
adb shell chmod 6755 /system/xbin/su # 變更許可權
adb shell sync # 同步所有暫存中的檔
adb shell reboot # 重啟 android 設備
沒有留言:
張貼留言