前言:手機有沒有 root 都可以使用,但沒有 root 鈦備份不能用。
所以想請已入手 ZenFone 且也想 root 的朋友幫忙確認看看這個!
建議如果擔心 root 會造成各種問題的朋友就不要冒險嘗試了!
我 Google 到一篇 Root for Teclast P89mini E2W6 的文章,
那是一台和 ZenFone 5(2.0GHz 版) / 6 同為 Z2580 的平板。
看了一下原文,其中最主要的指令同時也是讓我最好奇的步驟是,
這個「adb root」指令,接著再透過「adb shell」去推送 su 檔。
也就是說想請有打算在 ZenFone 上嘗試 root 的朋友幫忙確認看看,
下了 adb root 指令之後,是否能取得有 root 權限的 shell?
如果 shell 能取得權限再來就是看能不能 remount,rw /system,
最後就是把 su 這個 binary 推送到 /system/xbin 底下的動作。
先向有 ZenFone 以及有打算 root 的朋友致謝!
更新:這個方法無法在 ZenFone 上使用,殘念……
#!/bin/sh
clear
echo This script can run in the root shell of Android x86 or from another Linux OS.
echo "Are you running on the Alt+F1 android shell? (Y/N): "
read type
if [ "$type" = "n" ]; then
echo This script needs root. Enter your password to continue:
sudo sh ./script/install.sh
elif [ "$type" = "N" ]; then
echo This script needs root. Enter your password to continue:
sudo sh ./script/install.sh
else
echo "OK, you're in the Android shell. You should already be root. Testing that:"
if [[ "$(id -u)" = *"uid=0(root)"* ]]; then
echo "We're running as root, good. Preparing to start root process..."
echo "Press enter to start installation script"
read null
sh ./script/install-device.sh
else
echo "Not good, this shell isn't root. You have to run this in the root shell [Alt+F1] or in another Linux OS (read the thread)"
echo "Kicking back to command line"
exit
fi
fi
然後,透過 adb shell再對android手機執行其指令。另在此資料夾/script下尚有兩個.sh檔,好像可由前述install.sh連結,一個是針對android x86,一個是針對linux OS。有興趣的可自己下載來看。
本人對linux指令不熟,請網上專家解讀一下,看看能否協助眾多機友root之需求。
DIXES wrote:
內文搜尋
X




























































































