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.
- Download EfsTools modded and extract.
- 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.
- 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.
- 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).
- 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)
- Open a command prompt in the extracted efstools folder
- Run the following command
- 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.
- 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!