快轉到主要內容

Google Pixel 7a 免 Root 解鎖 VoLTE 功能

·955 字·2 分鐘
Y Cheung
作者
Y Cheung
Blogger, Programer & Traveler.
目錄

Y Cheung 有張SIM卡很奇怪,在 Pixel 7a手機上無法使用,能識別出號碼,但是就是無法註冊網絡,而這張卡在iPhone上使用是沒問題的。於是上網查了一下,原來是Google搞的鬼!連韓國網友也深受其害。幸好不是沒有解決方案,一二三,搞起!

手機安裝Shizuku App
#

在手機上下載並安裝 Shizuku App .

電腦安裝ADB command line
#

在電腦上安裝 ADB command line。如果你已經安裝過了Android Studio,那麼可以在Android Studio 選單中 Tools -> SDK Manager -> SDK tools 選中 Android SDK Platform 安裝。你也可以單獨下載安裝 Android SDK Platform

電腦設置環境變數
#

環境變數在Windows 環境變數中設置PATH。本機 -> 內容 -> 進階 -> 環境變數(N)… -> 系統變數 中選中 Path ,點擊 編輯(I)… -> 新增(N) ,將步驟2中的Android SDK Platform 文件夾路徑填入,並依次 按下 確定按鈕。

確認電腦設置
#

運行 Windows PowerShell ,輸入 adb version 命令,如成功返回 adb 版本號即確認步驟2和3已正確完成。

手機啟用開發者模式
#

確認手機已啟用開發者模式,如在設定中沒找到開發人員選項則須先在手機上激活開發者模式,方法為進入設定 -> 關於手機 -> 版本號碼,輕觸版本號碼7次,直到畫面上顯示You are now a developer! 。

手機啟用USB偵錯功能
#

開發人員選項中啟用USB偵錯功能。

將手機連結至電腦
#

用數據線連接手機與電腦,在手機上打開 Shizuku App,在透過與電腦連線來啟動(使用ADB)欄下輕觸檢視命令按鈕,在電腦上的Windows PowerShell中輸入該命令。例如: adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh 。如果成功則會在手機上Shizuku App中看到Shizuku正在執行的提示。

電腦下載PixelIMS App並安裝至手機
#

在電腦下載並安裝最新版本的 PixelIMS App 至手機上。在保持手機和電腦使用數據線連結的狀態下,可以從apk保存地址路徑打開Windows PowerShell輸入命令 adb install dev.bluehouse.enablevolte.apk 安裝,也可以將apk複製去手機後在手機上操作手動安裝。

手機上啟用VoLTE
#

在手機上打開 Pixel IMS,當需要授權時選擇永久授權(Allow all the time)。打開 Enable VoLTE 開關以啟用VoLTE。

重啟手機
#

重啟手機直到你確認VoLTE正常工作了。

References
#

相關文章

修復wp_redirect跳轉被瀏覽器緩存

·295 字·1 分鐘
Wordpress中某個下載頁面匿名用戶只能在提交表單後訪問,方法是在頁面加載的時候檢查表單提交成功的標記是否存在,不存在就跳轉去表單頁面,這裡使用了 wp_redirect() 方法。

Drupal 9 Views 分頁器設置首頁顯示不同的條目個數

·372 字·1 分鐘
在Drupal Views 中自帶了分頁功能 Pager,可以在界面上自定義每頁要顯示條目個數 Items to display,要跳過的個數 Offset (number of items to skip),總頁數 Number of pages,分頁的標籤 Page Link Labels,指定分頁顯示的個數 Number of pager links visible。

Cross-Origin Resource Sharing (CORS) 跨來源資源共用錯誤解決方法

·932 字·2 分鐘
最近Y cheung 遇到了兩個典型 CORS error問題,XMLHttpRequest 和 Fetch 請求了跨來源資源被瀏覽器阻擋,記錄一下解決方法。 什麼是Cross-Origin Resource Sharing (CORS) 跨來源資源共用? # Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. CORS also relies on a mechanism by which browsers make a “preflight” request to the server hosting the cross-origin resource, in order to check that the server will permit the actual request. In that preflight, the browser sends headers that indicate the HTTP method and headers that will be used in the actual request.