# Module to enable 5G/VoLTE/VoWIFI on Pixel4a 5G/Pixel5

#### laughterwym

##### Member
Update (7 Apr 2021):
If you are looking for the manual way to add 5G support besides the magisk module way or the module does not work for you. Please refer to #54 for the detailed steps. Thanks again to @Kars88.

Update (2 Mar 2021):
In reply #45, @Kars88 discovered the magisk module to enable 5G and VoLTE/VoWIFI. Thanks to @Kars88 and the module owner ender-zhao.
Update UK VoLTE file - https://github.com/ender-zhao/Pixel...load/3.82e/Pixel5_NR_magisk_module_V3.82e.zip
Module for China users - https://github.com/ender-zhao/Pixel...load/3.82e/Pixel5_NR_magisk_module_V3.82e.zip
Module to enable VoLTE/VoWIFI switches only - https://github.com/ender-zhao/Pixel...Pixel5_VoWIFI.VoLTE_magisk_module_V1-MINI.zip
@Kars88 's KPN module is in reply #45.

Original post:
Thanks to @Lemon200, I enabled 5G on my 4a 5G with the direction - https://forum.xda-developers.com/t/...-to-your-pixel-5-solved.4187025/post-83964575.

VoLTE steps:
1. Install attached Volte_switchonly.zip in magisk. This module is only to enable VoLTE and VoWIFI switches in system and reboot.​
2. I find my carrier's mbn file in Oneplus Nord rom (attached, you have to find yours). Use EfsTools to extract files by typing​
EfsTools.exe extractMbn -i mcfg_sw.mbn -p mcfg

The files we need are located in mcfg\nv\item_files\ims directory. There is a suffix in each file name... remove them (my case is __E1FF_F).​
3. Reconnect QPST EFS Explorer, backup all files under nv\item_files\ims. Then replace all files in nv\item_files\ims with the files from mbn. And reboot phone. After reboot, check IMS status by dialing *#*#4636#*#*, phone info, 3-dot, IMS service status.​

IMO, it should work with Pixel5 as they are using the same SOC.
There should be a way to replace mbn files to enable both 5G and VoLTE. But I failed to replace mbn files with magisk module... bootloop... Maybe I replace the wrong files. Hope someone can find a more perfect way.

#### Attachments

• modem_pr_oneplus_nord.zip
2.6 MB · Views: 1,256
• Volte_switchonly.zip
278 KB · Views: 678
Last edited:

#### Kars88

##### Member
Thanks I will try this tomorrow on my pixel 5

#### Eiad Ajam

##### Senior Member
Where can I find the mentioned path

"nv\item_files\ims" in root explorer

Would you please explain more about the 3rd step

Thanks

ShapeCharger99

#### Eiad Ajam

##### Senior Member
Not in root explorer, you have to use QPST. There is a tool called EFS Explorer after you installed QPST which is used to modify EFS partition. More details: https://forum.xda-developers.com/t/network-signal-guru.4005511/post-83499679
I have tried to replace the files in the mentioned directory with no luck to get ims registered
my phone is Pixel 5 - STC network (Saudi Arabia)
I have used the same mbn file as my Pixel 4xl which have registered ims successfully

#### laughterwym

##### Member
I have tried to replace the files in the mentioned directory with no luck to get ims registered
my phone is Pixel 5 - STC network (Saudi Arabia)
I have used the same mbn file as my Pixel 4xl which have registered ims successfully
Maybe you have to find your carrier's nbm file in attached Oneplus Nord modem files (or other 765g platform). I saw there are lots of differeces from my old Pixel3 nbm file.

Last edited:

#### Blacha8

##### New member
Is there any chance to force activation Wi-Fi Calling? I am living in Poland and using T-Mobile, which is not supported by Google (also Google Store is not available in Poland).

I would like to buy pixel 4a 5G, however VoWiFi is necessary for me due to coverage issues.

htw1

#### laughterwym

##### Member
Is there any chance to force activation Wi-Fi Calling? I am living in Poland and using T-Mobile, which is not supported by Google (also Google Store is not available in Poland).

I would like to buy pixel 4a 5G, however VoWiFi is necessary for me due to coverage issues.
I cannot verify VoWiFi as my carrier does not support it. Wait for other's solution then.

#### Eiad Ajam

##### Senior Member
Maybe you have to find your carrier's nbm file in attached Oneplus Nord modem files (or other 765g platform). I saw there are lots of differeces from my old Pixel3 nbm file.
Tried more than 12 mbn files with no luck
Thank you

Edit: i have done factory reset to my phone
And i was able to get ims registered successfully
Thank you so much
But now when i added secondary sim (esim)
The ims is not registered
Also Vowifi is now working although it is supported im my carrier

Last edited:

#### gamal001

##### Senior Member
Tried more than 12 mbn files with no luck
Thank you

Edit: i have done factory reset to my phone
And i was able to get ims registered successfully
Thank you so much
But now when i added secondary sim (esim)
The ims is not registered
Also Vowifi is now working although it is supported im my carrier
which mbn you used ?
the QPST required or not because always failed to connect with my pixel 5 ?

#### Eiad Ajam

##### Senior Member
which mbn you used ?
the QPST required or not because always failed to connect with my pixel 5 ?
I have usd Vodafone UK in Volte folder
Yes you needs QPST EFS file explorer to get it done

gamal001

#### Kars88

##### Member
Does anyone know where/how to get mbn files from other phones with the same modem? I got 5G working on my Pixel 5, WiFi calling works but having IMS issues so I'm eager to keep trying.

#### Eiad Ajam

##### Senior Member
Does anyone know where/how to get mbn files from other phones with the same modem? I got 5G working on my Pixel 5, WiFi calling works but having IMS issues so I'm eager to keep trying.
which mbn file have you used ?

please find attached below pixel 5 full mbns

#### Attachments

• Pixel5 mbns.zip
894 KB · Views: 336

#### laughterwym

##### Member
Does anyone know where/how to get mbn files from other phones with the same modem? I got 5G working on my Pixel 5, WiFi calling works but having IMS issues so I'm eager to keep trying.
You can download the full fw from phone vendor's website. Extract the radio image then... mbn for redmi k30 5g is attached.

#### Attachments

• modem_pr_redmi_k30.zip
2.4 MB · Views: 277

#### cescman

##### Senior Member
sorry for being dumb. I am able to enable 5G with QPST, but cannot understand this post on how to enable VoLTE. Could someone who is successful in doing this provide a step by step guide on how I may do this?
Thanks so much in advance

Edit: I am able to enable VoLTE now, thanks for the guide

Last edited:

#### Eiad Ajam

##### Senior Member
sorry for being dumb. I am able to enable 5G with QPST, but cannot understand this post on how to enable VoLTE. Could someone who is successful in doing this provide a step by step guide on how I may do this?
Thanks so much in advance

Edit: I am able to enable VoLTE now, thanks for the guide
You just need to replace the files in nv/item_files/ims with the suitable ims files for your country
Please specify what mbn file you're using and i will provide you with ims files

#### Attachments

• Pixel5 mbns.zip
894 KB · Views: 174
cescman

#### cescman

##### Senior Member
You just need to replace the files in nv/item_files/ims with the suitable ims files for your country
Please specify what mbn file you're using and i will provide you with ims files

After some more research and trial & error, I can now have access to volte on my phone, but thanks for offering help.

The only thing is, I can only get ims registered and volte available by setting the preferred network type (on the page *#*#4636#*#*) to NR/LTE, while the default value NR/LTE/CDMA/EvDo/GSM/WCDMA does not work. I wonder if this may cause any problem

#### cescman

##### Senior Member
After some more research and trial & error, I can now have access to volte on my phone, but thanks for offering help.

The only thing is, I can only get ims registered and volte available by setting the preferred network type (on the page *#*#4636#*#*) to NR/LTE, while the default value NR/LTE/CDMA/EvDo/GSM/WCDMA does not work. I wonder if this may cause any problem

I lost VoLTE today, and because I have set the network type to NR/LTE only, I missed some phone calls without any warning. Then I checked the folder nv/item_files_ims and found there are some new files generated.

Run through the guide to enable VoLTE again, I will see how it goes in the next few days

#### Eiad Ajam

##### Senior Member
I lost VoLTE today, and because I have set the network type to NR/LTE only, I missed some phone calls without any warning. Then I checked the folder nv/item_files_ims and found there are some new files generated.

Run through the guide to enable VoLTE again, I will see how it goes in the next few days
Make sure to keep the network set on LTE from sim settings

### Top Liked Posts

• There are no posts matching your filters.
• 7
Ok here's my guide. I think it's best we don't start another 5G/Volte thread so maybe laughterwym can reference this post in the first post of this thread.

1. Download EfsTools modded and extract.
2. Put the correct mcfg_sw.mbn in the EfsTools folder. Download the mcfg_autoselect_by_uim file and also put it in the EfsTools folder.
3. Flash the Volte module in Magisk (doesn't really matter wheter your mbn is in it, as long as it has the right system props and more important disables the qril stuff that) (Both this module and this module are working for me. You can also find the modded module I used here. I'n my modded module I set the 5G connection to NSA so use that one if your carrier doesn't support SA yet.
4. Connect your phone to your computer with usb debuggin on in your developer settings. Make sure you have both qualcomm drivers and google usb drivers and of course the latest platform tools (and add the dir to your system path).
5. Use the workaround we normaly use to connect our phone to qpst:

Code:
adb shell
su
resetprop ro.bootmode usbradio
resetprop ro.build.type userdebug
setprop sys.usb.config diag,diag_mdm,adb
diag_mdlog
cancel (ctrl+c) once it starts to "hang" at failed to open diag socket
change usb config (file transfer, no file transfer)

6. Open a command prompt in the extracted efstools folder

7. Run the following command
Code:
EfsTools.exe efsInfo

8. You will get errors because of the hacky workaround we have to do with Pixel phones to use them with efs software. In my case everything worked like a charm. You can check efs explorer after writing your mbn to see if it looks allright.

9. Run the following commands one by one:
Code:
EfsTools.exe writeFile -i mcfg_autoselect_by_uim -o /nv/item_files/mcfg/mcfg_autoselect_by_uim
EfsTools.exe writeFile -i mcfg_autoselect_by_uim -o /nv/item_files/mcfg/mcfg_autoselect_by_uim -s 1

EfsTools.exe uploadDirectory -i mcfg_sw.mbn -o / -v
EfsTools.exe uploadDirectory -i mcfg_sw.mbn -o / -s 1
The -s 1 options are there so we write configurations for the second sim slot.

Important note: If you have a carrier that uses NR-NSA you'll have to edit lte_feature_restrictions.xml in EFS explorer to get everything right. I've uploaded the file here. If your mcc isn't in the following list you'll have to add it;
Code:
<plmn_list name="dss_plmns" ns="global">
228-01 505-01 505-11 505-39 505-71 505-72 204-04 204-08 204-69 204-12 262-02 204-16 204-20 232-03 232-04 232-07
</plmn_list>

Your VoLTE, VoWiFi, ims settings and 5g should be working now! Some carriers have very short carrierpolicy.xml, mine only says dds is enabled. Keep that in mind when you use apps to monitor your connection. 5G is working on my phone but I see empty rat stuff. Currently I'm writing code for changing lte_faeture_ca.xml to add all the information other Carriers have on the phone. Once you start tweaking it's hard to stop right?

Please share your findings! I'll update this post when I remember something usefull so your feedback is very helpfull!
6
Update (7 Apr 2021):
If you are looking for the manual way to add 5G support besides the magisk module way or the module does not work for you. Please refer to #54 for the detailed steps. Thanks again to @Kars88.

Update (2 Mar 2021):
In reply #45, @Kars88 discovered the magisk module to enable 5G and VoLTE/VoWIFI. Thanks to @Kars88 and the module owner ender-zhao.
Update UK VoLTE file - https://github.com/ender-zhao/Pixel...load/3.82e/Pixel5_NR_magisk_module_V3.82e.zip
Module for China users - https://github.com/ender-zhao/Pixel...load/3.82e/Pixel5_NR_magisk_module_V3.82e.zip
Module to enable VoLTE/VoWIFI switches only - https://github.com/ender-zhao/Pixel...Pixel5_VoWIFI.VoLTE_magisk_module_V1-MINI.zip
@Kars88 's KPN module is in reply #45.

Original post:
Thanks to @Lemon200, I enabled 5G on my 4a 5G with the direction - https://forum.xda-developers.com/t/...-to-your-pixel-5-solved.4187025/post-83964575.

VoLTE steps:
1. Install attached Volte_switchonly.zip in magisk. This module is only to enable VoLTE and VoWIFI switches in system and reboot.​
2. I find my carrier's mbn file in Oneplus Nord rom (attached, you have to find yours). Use EfsTools to extract files by typing​
EfsTools.exe extractMbn -i mcfg_sw.mbn -p mcfg

The files we need are located in mcfg\nv\item_files\ims directory. There is a suffix in each file name... remove them (my case is __E1FF_F).​
3. Reconnect QPST EFS Explorer, backup all files under nv\item_files\ims. Then replace all files in nv\item_files\ims with the files from mbn. And reboot phone. After reboot, check IMS status by dialing *#*#4636#*#*, phone info, 3-dot, IMS service status.​

IMO, it should work with Pixel5 as they are using the same SOC.
There should be a way to replace mbn files to enable both 5G and VoLTE. But I failed to replace mbn files with magisk module... bootloop... Maybe I replace the wrong files. Hope someone can find a more perfect way.

5
Finally got all services for my unsupported carrier (KPN NL 204 08).

Here's the original Module

I added KPN in This module

The creator ender-zhao made my day. You can edit the efs for days but google has some other blockades this module solves.
4
Hi,
I live in Poland, it's this part of the world that google does not see, where 5g is not available on 4a 5g. Is thus a workaround to enable 5g for these countries where it is not stock-available?
If not, is there any solution for that? I'm getting into 4a 5g discussions since my wife got it for herself.
2
Got this working on my Pixel 5, more info here: https://forum.xda-developers.com/t/...r-pixel-5-solved.4187025/page-3#post-84168995

Thank you @laughterwym. It's nice to be able to fix Google's shortcomings myself with the aid of other knowledgeable members of this community. Hopefully Google will get off their lazy asses and make this 5G and volte hassle unnecessary in the future.