And because its from abroad the providers/carriers don't have this phone on their list of supported phones.

Meaning that I don't have VoLTE enabled since Google didn't apply that change in their software for my country.

Because of this I can't use the internet while I'm making a phone call. Or while I'm driving my car and using Google Maps for navigation the app/internet stops working. Quite annoying.

How to get around this?

  • Check your status
  • Backup your phone
  • Prepare your phone
    • Developer options enabled
    • Unlock your phone
    • Root your phone
    • Get SDK platform-tools / Install Android Studio
    • Update the PATH in your bash file
    • Get adk working
  • Check what your status is by dialing this number on your device
    • *#*#4636#*#*

Update your shell profile

SDK platform-tools

export PATH=$PATH:/Users/victorlabigar/SDKs/android-sdk-macosx/platform-tools/

Steps:

  • Create a new local folder myphone-pixel2 on your Mac and save all the downloaded files below in it
    • download twrp image twrp-3.3.0-0-walleye.img and zip file
    • download magiskmanager
    • download Magisk-v21.4.zip
    • download selinux_permissive_v2.zip on your computer and make sure you transfer it to your phone via for example Airdroid to the downloads dir
    • download VoLTE_enabler_pixel_2_v1_1.zip on your computer and make sure you transfer it to your phone via for example Airdroid to the downloads dir
  • Via terminal, cd to the directory myphone-pixel2 where you've stored the files
  • Check if your device is connected via usb cable by running command adb devices
  • If so, then you're good to go.
  • Then execute the command adb reboot bootloader
  • Then boot with twrp image via the terminal fastboot boot twrp-3.3.0-0-walleye.img
  • Your phone gets booted with the TWRP image
  • Then copy the magisk zip files to your phone via command
    • adb push Magisk-uninstaller-20210117.zip /
    • adb push Magisk-v21.4.zip /
  • If not having root access it may prompt for a password, press cancel
  • Select the menu Mount
  • Tick the checkbox Mount system partition read-only
  • Then you tick the upper two checkboxes cache/system/vendor or something
  • Go to install and find the magisk zip file
  • Install it and reboot it
  • You can now install modules via Magisk App
  • selinux_permissive_v2.zip can now also be installed via Magisk Manager -> Modules
  • Toggle the connection mode from 4g to 3G and toggle the flightmodus. It should now be enabled.
  • Check it by dialing *#*#4636#*#*

References

  • https://forum.xda-developers.com/t/guide-enable-volte-for-unsupported-carriers.3892659/
  • https://magiskroot.net/install-download-magisk-manager-latest/
/* fine pointers (mouse) can hit smaller checkboxes */
@media (pointer: fine) {
  input[type='checkbox'] {
    width: 1rem;
    height: 1rem;
    border-width: 1px;
    border-color: blue;
  }
}

/* coarse pointers (touch) need larger hit areas */
@media (pointer: coarse) {
  input[type='checkbox'] {
    width: 2rem;
    height: 2rem;
    border-width: 2px;
  }
}