前陣子剛入手Google 4 XL
由於HTC遺毒(千錯萬錯都不是我大google的錯)
第四代Pixel 續航力真的是很驚人…
無奈只好入手沒幾天就root了,XDA已經有相關教學
基本上跟第3代是一模一樣,請先做好備份
https://forum.xda-developers.com/pixel-4-xl/how-to/root-pixel-4-xl-unlocked-google-store-t3989033
原文可以參考上述連結,步驟看似很多但其實只花三分鐘…這篇原作者很細心,幾乎手把手的帶著各位root
- 先布置好ADB環境,建議在Google官方下載
- Windows
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Mac
- https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
- Linux
- https://dl.google.com/android/repository/platform-tools-latest-linux.zip
- Windows
- 進入設定->關於手機->點選build number(中文應該是什麼版本號),點個十次,會開啟開發者模式(尚未Enable)
- 進入設定->系統->進階設定->開發者模式->打開OEM unlcoking
- 打開usb debugging,並連結PC,這時候手機端應該會跳出連結認證的之類,請確認
- PC 在CMD或是命令提示字元的環境下打adb reboot bootloader
- 手機進入fastboot mode 後CMD請下fastboot flashing unlock
- 手機端請按Power key做確認,會Wipe data所以請先做好備份
- 再下一個命令fastboot reboot 重新進入system
- 抓好Google 官方的kernel image,https://developers.google.com/android/images#coral 先載整包factory image,兩次解壓縮可以得各partition的Image,等等要Copy一份到手機的Download資料夾下
- 安裝MagiskManager,https://github.com/topjohnwu/Magisk/releases/download/manager-v7.3.5/MagiskManager-v7.3.5.apk 看你要透過adb install,還是丟到手機內直接安裝都可以
- 打開MagiskManager,在Advanced Setting裡選recovery mode,然選點選Magisk的Install,選擇”Select and Patch a file”在選擇你剛剛在Download folder底下的boot.img
- magisk會重新打包出一個magisk_patched.img(如之前的圖片),重新插拔usb從pc端看download資料夾下會看到magisk_patched.img,拉到PC端的環境
- 這邊步驟跟前面有點像,快速帶過,下adb reboot bootloader,重新進入fastboot mode,下fastboot flash boot magisk_patched.img
- Done 重開機後就有root惹,感謝台灣之光Magisk