Skip to content

Latest commit

 

History

History
140 lines (98 loc) · 6.55 KB

README.en.md

File metadata and controls

140 lines (98 loc) · 6.55 KB

Pixel IMS: Enable VoLTE on Tensor Pixel devices

Troubleshooting

Refer here.

Introduction

This document describes enabling VoLTE support on select Google Pixel devices by using Android's internal telephony.ICarrierConfigLoader.overrideConfig(). This patch can be considered as a rootless method of voenabler.

Supported Carriers

First-grade support

Carriers which can test if patch works or not by developer immediately

  • LG U+ (Republic of Korea)

2차 지원

Carriers which aren't possible for testing by developer but reported as supported by community. Please refer the Link for complete list of carriers.

Applying Patch

Requirement

  • Pixel device with Google Tensor Chipset
    • Google Pixel 6
    • Google Pixel 6a
    • Google Pixel 6 Pro
    • Google Pixel 7
    • Google Pixel 7a
    • Google Pixel 7 Pro
    • Google Pixel 8
    • Google Pixel 8 Pro
    • Google Pixel Fold

Optional

only if installing Shizuku using ADB

  • Windows, macOS or Linux PC with Android Platform Tools installed
  • USB-A to USB-C or USB-C to USB-C cable to connect Pixel to the PC

Installing Shizuku

Shizuku makes possible to call internal Android API without root permission by creating a proxy service with ADB user.

  1. Install Shizuku at the Pixel device you're trying to patch. image-1
  2. Open installed applciation. image-2

Starting Shizuku without PC (Wi-Fi connection required)

  1. Follow the official guide to start Shizuku using Wifi debugging without needing any external PC, after that you should see something like "Shizuku is running" at your Pixel phone. image-4
  2. Now continue to next section.

Starting Shizuku with PC

  1. Connect your Pixel phone with PC by following this description.
  2. Start shizuku service by executing adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh. You should see something like "Shizuku is running" at your Pixel phone. image-3 image-4
  3. Now continue to next section.

Install Pixel IMS application

  1. As for now, there are two ways to obtain the application. Choose you favourite way and install the application.
  2. Start installed application.
  3. Tap "Allow all the time" when seeing prompt asking for Shizuku permission. image-5
  4. Toggle "Enable VoLTE" to enable VoLTE. image-6
  5. Restart your Pixel phone a couple of times until you can see VoLTE is working.

Build application from source

Download patched android.jar, put it under $ANDROID_PATH/sdk/platforms/android-34 and start hacking as usual.

FAQ

I am looking for somewhere to post feedback.

  • Bug report and feature request: Issues
  • Anything else (including general questions): Discussions

Does it also work on any carriers other than LG U+?

AYOR. Tested and checked working only with LG U+.

How do I know if VoLTE is enabled or not?

Registered IMS Status at Home page means VoLTE is activated. image-7

For more information, you can make use of Pixel's internal application. To open it:

  1. Open vanilla Dialer app from your Pixel phone. image-8
  2. Dial *#*#4636#*#*. image-9
  3. Tap "Phone information" menu. image-10
  4. Tap triple-dot icon at the upper right screen then select "IMS Service Status" menu. image-11
  5. You should see IMS Registration: Registered if everything's done well. image-12

Do I have to do this every time I reboot the phone?

No.

Do I have to do this after updating my Pixel?

Yes.

How does it work?

There is a checker method, ImsManager.isVolteEnabledByPlatform(Context), which determines if VoLTE is possible for your device-carrier combination(ref: googlesource.com). The abstract logic of that method is:

  1. Check if persist.dbg.volte_avail_ovr System Property is true
    • If yes, return true
      • This is how voenabler works
    • Else continue
  2. Check if device supports VoLTE
    • If not, return false
    • Else continue
  3. Check if your carrier supports VoLTE
    • If not, return false
    • Else continue
  4. Check if your carrier requires BGA-capable SIM for VoLTE
    • If not, return true
    • Else continue
  5. Check if GBA bit is active at EF IST
    • If yes, return true
    • If not, return false

This patch alters the bolded logic, by force injecting config values as true regardless of carrier configuration.