yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone II Questions & Answers] dennis96411:
UPDATE: A working method has been published here: https://xdaforums.com/rog-phone-2/how-to/guide-enabling-volte-vowifi-t4023529

====================================================================================================

Hi all, I've been experimenting a bit trying to enable VoLTE on my official international 12/512 ROG Phone 2.

I attempted the following build.prop modifications (from VoEnabler), but was getting permission denied errors.

persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1

However, I found this little snippet in the SELinux for Android documentations:

So I retried the modifications again in the following form:

persist.vendor.dbg.ims_volte_enable=1
persist.vendor.dbg.volte_avail_ovr=1
persist.vendor.dbg.vt_avail_ovr=1
persist.vendor.dbg.wfc_avail_ovr=1

Lo and behold, the following options appeared:

HOWEVER, they don't seem to work at all. A little bit of digging led me to believe that even though I've enabled the VoLTE flag, I haven't enabled IMS registration:

I tried to perform the following modifications (again, from VoEnabler), but were still getting the same permission denied errors, so it seems the "vendor" suffix after "persist" was not allowed for "radio":

persist.vendor.radio.rat_on=combine
persist.vendor.radio.data_ltd_sys_ind=1
persist.vendor.radio.data_con_rprt=1
persist.vendor.radio.calls.on.ims=1

If anyone could figure out how to trigger IMS registration through some other method, I think we would be golden.
[ASUS ROG Phone II Questions & Answers] suzook:
I've been working on it since Thursday. I'm stuck where your at too. I'm wondering if it's something that has to be done with qpst. We need some real devs. Really hoping we can get it turned on.
[ASUS ROG Phone II Questions & Answers] dennis96411:
Maybe someone can try to find a loophole in the IMS manager: https://android.googlesource.com/pl...ease/src/java/com/android/ims/ImsManager.java

There's a mention that getprop reads from many locations. It might help to figure out where it's reading from: https://stackoverflow.com/a/40624561
[ASUS ROG Phone II Questions & Answers] suzook:
The thing is, volte works outside of the US. So it's gotta be a config file or something.
[ASUS ROG Phone II Questions & Answers] dennis96411:
Yeah, but it's most likely overridable with a build.prop flag. The only problem is trying to change it without root access.
[ASUS ROG Phone II Questions & Answers] suzook:
I'm rooted. Lol. I'm assuming you are too.
[ASUS ROG Phone II Questions & Answers] dennis96411:
I am not. Did the other build.prop modifications not work for you?
[ASUS ROG Phone II Questions & Answers] suzook:
I'm in same situation as you, we probably need to edit modem

https://xdaforums.com/oneplus-5t/ho...j8eFpwORcbczdPkjxYQvaODPX_MBXGitrKjSLB9LP_rlU
[ASUS ROG Phone II Questions & Answers] dennis96411:
Have you followed this to enable connecting with QPST? https://xdaforums.com/zenfone-3/help/asus-zenfone-3-ze520kl-connect-to-qpst-t3686782
[ASUS ROG Phone II Questions & Answers] JazonX:
Doing the lord's work there guys!

I have a rooted, Tencent Edition converted to WW.

Please let me know If I can be of any assistance.

Thanks once again for attempting this, and keeping this thread alive!
[ASUS ROG Phone II Questions & Answers] suzook:
Did you try the ims enable cmd? I'm busy the next few days.
[ASUS ROG Phone II Questions & Answers] dennis96411:
I tried all four combinations for the two settings but they didn't appear to do anything. It didn't trigger IMS registration.
[ASUS ROG Phone II Questions & Answers] suzook:
Did it state anything after the command?
[ASUS ROG Phone II Questions & Answers] dennis96411:
Nah, the enable command didn't return anything. I don't think the set-ims-service command did much either, but it did change the value.
[ASUS ROG Phone II Questions & Answers] suzook:
It's a real shame Asus didn't enable volte for the US. It makes no sense. I will say though, calls on gsm sound fine, just will suck when lte is only available.
[ASUS ROG Phone II Questions & Answers] dennis96411:
It would be helpful if we can get the output of getprop from someone who does have VoLTE enabled.
[ASUS ROG Phone II Questions & Answers] suzook:
What's the command? I will ask someone
[ASUS ROG Phone II Questions & Answers] dennis96411:
adb shell getprop >props.txt
[ASUS ROG Phone II Questions & Answers] suzook:
I had someone run it, but access was denied. I guess root is needed.
[ASUS ROG Phone II Questions & Answers] jepenyot:
Petition

http://chng.it/jmQLQNvr2t
[ASUS ROG Phone II Questions & Answers] suzook:
Xda needs to remove the link. It's a scam for donations.
[ASUS ROG Phone II Questions & Answers] Mr_Mooncatt:
I'm not signing because I don't agree with how it's worded (plus I think lack of band 71 support is a hardware related issue that can't be addressed), and it's questionable whether or not those online petitions even work. I have signed one in the past, but I don't recall ever being asked for money.
[ASUS ROG Phone II Questions & Answers] Cellendril:
Interesting. The Red Magic folks said it didn't have VoLTE. If it does, then that may be the route I go!
[ASUS ROG Phone II Questions & Answers] suzook:
It 100% has volte in USA.
[ASUS ROG Phone II Questions & Answers] yosef019:
anyone here with indian version? this version selling with volte sticker and i asked guy volte works in india.
[ASUS ROG Phone II Questions & Answers] Cellendril:
Asus tells me they disabled VoLTE for the US market, even with the India device. Not sure how accurate that is, but that's what CS told me.
[ASUS ROG Phone II Questions & Answers] Chozen303:
I have the rog2 I'm struggling to keep it in my possession. For a few reasons, my question is , does the magic 3 have wifi calling also? Because it was established they have volte, correct ?
[ASUS ROG Phone II Questions & Answers] Chemico:
Hi, I just bought one yesterday and when I checked in the phone information VoLTE provisioned is disabled and cannot turn it on. It's grayed out. I am in India and it is Indian variant phone. I do get VoLTE but in the phone info VoLTE provisioned tab is grayed out.
[ASUS ROG Phone II Questions & Answers] SavageCat-TX:
There is a RM3 forum with an FAQ section. You may want to review/ask there regarding the wifi calling. Yes VoLTE is enabled for US markets.
[ASUS ROG Phone II Questions & Answers] MyronAz:
There is a discussion of a Magisk module to enable VoLTE here: [MODULE v17.x] VoLTE & VoWiFi Enabler (2018-09-20) https://xdaforums.com/apps/magisk/module-v4-volte-enabler-t3649613/page1. I don't know if anyone has had any success with US carriers. Googling around I see that surprisingly many devices do not come with VoLTE enabled (OP 7 Pro, Zenphone 6). Apparently AT&T does not enable VoLTE for unlocked devices. So it's not just a matter of doing something to the phone, the carrier has to enable it on their end (at least with AT&T). Some have gotten around this by registering their SIM with an AT&T phone.

VoLTE is just a morass of phones and countries and carriers. Personally, I plan to just forget about it unless/until there is no choice. And I think that's going to be longer than the carriers are saying.

EDIT: I'm seeing some comments on the AT&T forum about opening up VoLTE to unlocked devices, but nothing official.
[ASUS ROG Phone II Questions & Answers] suzook:
Its turned off in the modem.....Without real knowledge, Its NEVER happening. Its not just some simple sw issue.

---------- Post added at 02:51 PM ---------- Previous post was at 02:50 PM ----------

I was able to enable WiFi calling on the rm3. With tmobile.
[ASUS ROG Phone II Questions & Answers] Hisma:
don't know where you read that OP 7 Pro doesn't have VoLTE. It works just fine. And if for some reason your phone doesn't have it, it can easily be turned on in the software.

https://www.getdroidtips.com/how-to-enable-volte-and-vowifi-on-oneplus-7-pro/

The ROG II phone issue is more complicated as it's just not sitting dormant ready to be unlocked as it is with other phones.
[ASUS ROG Phone II Questions & Answers] DarthKuato:
This seems to have gotten off topic...

Anyway I'm stuck with the ROG phone 2 since I'm already outside the return window.

It might take me a year, but I googled "how to make a custom ROM" and the answer was basically don't try it if you don't have some experience.

Turns out I do not have any experience, so I'll probably brick my phone, but I'm gonna give it a shot.

I believe Suzook said at one point that the Zenfone 6 devs got it working, so I'm hoping they're code will shed some light on the solution.

I'm not going to be able to devote a ton of time to it, but I'll keep this thread posted (and/or start a new one about custom ROMs for the ROG phone 2) if I make any progress.

Stay tuned...

Oh BTW, Tmobile USA for my network
[ASUS ROG Phone II Questions & Answers] SavageCat-TX:
I was soooooo tempted to purchase this phone just to experiment with building ROMs but the wife said "no way in hell" so I sits and waits patiently while brave souls like you take on this challenge. Good luck I wish you well!
[ASUS ROG Phone II Questions & Answers] wulunzun:
I bought the phone in Malaysia and for some reason, VoLTE is not enabled. I thought Asus only turned it off in the US sets?

Anyone knows if it is possible to turn it on?
[ASUS ROG Phone II Questions & Answers] SavageCat-TX:
Unsubscribing from this thread, I picked up the Red Magic 3s. It's pretty badass.
[ASUS ROG Phone II Questions & Answers] Mr_Mooncatt:
I've given up on this too, but went with the Razer Phone 2. Nothing else tempted me like the ROG 2, but can't really hold out much longer due to my current phone issues. For $250 brand new through Best Buy, it'll easily tide me over. It should arrive later today.
[ASUS ROG Phone II Questions & Answers] resident0915:
There are no US versions. There are 2 ROMs: Chinese and International. The international supports volte just fine, just not with US carriers that incur certification costs.
[ASUS ROG Phone II Questions & Answers] skrowl:
Just tried calling into Asus to return the device over lack of VoLTE in the USA. I pre-ordered the device, so I've had it in my possession for 66 days. They told me to pound sand since I'm over the 30 day return window. Asked for a supervisor and after a long conversation he basically said there's nothing they can do.
[ASUS ROG Phone II Questions & Answers] suzook:
Contact your credit card company. I did, and magically a week later received a prepaid label in my email to return the phone for full refund. ASUS is the worst. Great phone, but no VOLTE in US is just flat out STUPID. Enjoying my RedMagic 3s with VOLTE AND Wifi calling.
[ASUS ROG Phone II Questions & Answers] dennis96411:
I just gained root access and I'm now trying to dig into the file system. I saw this:

/vendor/rfs/mdm/mpss/readonly/firmware/image/modem_pr/mcfg/configs/mcfg_sw/oem_sw_w.txt:88:mcfg_sw/generic/NA/ATT/VoLTE/mcfg_sw.mbn

Is there anyone on AT&T?
[ASUS ROG Phone II Questions & Answers] JazonX:
Not on AT&T. Just wanted to thank you on not giving up on this!

Cheers!
[ASUS ROG Phone II Questions & Answers] stealthj:
that's pretty cool!

there wasn't any tmobile config?
[ASUS ROG Phone II Questions & Answers] dennis96411:
Nope, I didn't see anything for T-Mobile.
[ASUS ROG Phone II Questions & Answers] suzook:
E

There's references to tmo in the the modem files.
[ASUS ROG Phone II Questions & Answers] HomerSp:
I just got this device and have been trying to get VoLTE/VoWiFi (IMS) to work myself. The problem, really, is that for IMS to work you need an mcfg_sw.mbn file in /vendor/firmware_mnt/modem_pr/mcfg/configs/mcfg_sw/generic/asus/ (where /vendor/firmware_mnt is mounted as the modem partition) for your carrier, and it seems like ASUS have stripped out a lot of them as you can see in mbn_sw.txt (https://gist.github.com/e4e910861563193a3c001e2dcc07753d) when compared to oem_sw.txt (https://gist.github.com/20f859e791670ecaf307f2621456db59) - only the ASUS-specific ones remain. Unfortunately you can't use just one from another device because they contain information that's restricted to the device they were made for. In addition to that I seem to recall them being signed, which means that you can't modify an existing one either.

I don't think there's any way around this other than for ASUS to release an update that adds the required mbn files for the carriers.
[ASUS ROG Phone II Questions & Answers] stealthj:
What about the MBn files from the current gen Zenfone with similar specs to the ROG? It won't work?
[ASUS ROG Phone II Questions & Answers] dennis96411:
I had the ZenFone 6 and that didn't have VoLTE either. Do any ASUS devices have VoLTE in North America?

So it seems that these files exist in a directory where changes can be made (maybe due to Magisk?):

/data/vendor/modem_config/mcfg_sw/generic/asus/3hk/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/airtel/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/bouygues/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/brclaro/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/brtim/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/cht/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/cmcc/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/cmhk/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/csl/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/ct/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/cucc/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/dcm/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/fet/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/fitelia/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/gt4g/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/idea/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/invf/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/itvf/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/kddi/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/megafon/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/mts/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/nlvf/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/notelia/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/rjil/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/row/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/sbm/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/setelia/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/sfr/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/smt/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/testsim/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/tim/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/tstar/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/twm/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/vivo/mcfg_sw.mbn
/data/vendor/modem_config/mcfg_sw/generic/asus/windtre/mcfg_sw.mbn

Now we just need the profiles from another SD855 phone to test.
[ASUS ROG Phone II Questions & Answers] HomerSp:
Yeah, those files are copied from the modem partition on boot - if it detects that a new modem version has been detected (it checks the version in /data/vendor/modem_config/ver_info.txt). That being said, you can modify the modem partition by mounting it rw

Pushing files to either location requires root so it doesn't really matter what you modify, but modifying the modem partition means it will survive a factory reset. You would, however, need to remove /data/vendor/modem_config/ver_info.txt for it to copy over the changed files on boot in that case.

I checked the Zenfone 6 firmware, and from what I could tell it had the same MBNs as the ROG2.
[ASUS ROG Phone II Questions & Answers] sooryakiran108:
VoLTE Working perfect in India for Airtel Network
[ASUS ROG Phone II Questions & Answers] dennis96411:
Can these files come from another SD855 device?
[ASUS ROG Phone II Questions & Answers] drneet:
I don't think Asus paid for volte for any Asus phone in North America!
[ASUS ROG Phone II Questions & Answers] HomerSp:
I don't believe so. I've had a look and it seems like it's not enough to just include the mbn - you also have to modify the modem firmware (modem.b19 specifically) itself because it contains hard-coded xml files to match the mbn/carrier to the IIN of your SIM. And that's unfortunately impossible because all of the firmware files are signed and will refuse to load if they've been modified.
[ASUS ROG Phone II Questions & Answers] dennis96411:
So there is no way to enable VoLTE? We are at the mercy of ASUS at this point? It would be pretty sad if they double down on this stance once carriers completely phase out of 3G calling.

I'll just leave this here for future reference: https://xdaforums.com/showpost.php?p=78525459&postcount=4
[ASUS ROG Phone II Questions & Answers] HomerSp:
Seems that way, unfortunately. I'll continue looking, but I don't have very high hopes of finding a solution.
[ASUS ROG Phone II Questions & Answers] suzook:
Get a redmagic 3s, i did, and its better, and volte and wifi calling. ASUS can go scratch
[ASUS ROG Phone II Questions & Answers] cdorrell12000:
While I am holding out that Asus may one day fix this issue here is a potential solution for some people that would be willing to go with a different phone number - Google Voice. They are shutting down the 3g side in a couple of years. (I talked to AT&T support and confirmed it it will be a while) but when the day does come, what could be done is right before they throw the switch you could forward your 3g calls to Google Voice and your outbound calls would be from the GV number and you would still be able to use the phone; as hey while VOLTE may not work at least LTE would work and GV just needs LTE to run so technically the phone would not be totally useless. I am in the same boat as all of the people here in the USA that choose to keep the phone even with the Achilles heal of no VOLTE at the moment, but at least there could be an option out there even if it has to be a little creative.

As I said this route is not for everyone because I know the importance of having the same phone # until you die but for those of us who are willing to work with a little change at least the device could still be useful. - Just my 2 cents on this subject and I really do hope Asus and the carriers come to some agreement as it stinks to have great hardware with no way to use it.
[ASUS ROG Phone II Questions & Answers] stealthj:
I've read the Zenfone 6 on lineage OS has VoLTE working
[ASUS ROG Phone II Questions & Answers] dhiru1602:
I have a US device that I am trying to use in India. Unfortunately, VOLTE doesn't work out of the box even with a carrier that is known to have VOLTE working on ROG II phones that are sold in India. I am pretty sure there is some kind of config setting to enable or disable VOLTE on the firmware level. As far as I understand, there is only one version of the ROM for all the ROG devices except for the chinese ones.

I am able to see a toggle for VOLTE mode in the Network settings. However, IMS registration is not working. I am willing to dig more into the issue by rooting the device. It would be of great help if someone who owns a ROG phone purchased in India shares a radio logcat.
[ASUS ROG Phone II Questions & Answers] suzook:
I returned my rog2, but maybe this would work?

https://xdaforums.com/pixel-2/how-to/guide-enable-volte-unsupported-carriers-t3892659
[ASUS ROG Phone II Questions & Answers] dennis96411:
I tried to get PDC to see my phone but I couldn't enable the diagnostic mode anywhere. I tried a ton of different sys.usb.config that I could find and none of them did anything. I also tried modifying my init.usb.rc and that didn't help. Maybe someone else will have better luck than me.
[ASUS ROG Phone II Questions & Answers] HomerSp:
I'm afraid not, I've been trying to get diag mode to work, without any success.

Setting the sys.usb.diag property (this really just changes sys.usb.config) to either 1 or 2 *should* enable it, and while I can get the drivers and such installed, and can see the COM port, I get "No Phone" in QPST without any response whatsoever.

You can force the phone to load non-stock mcfg's by setting persist.vendor.radio.sw_mbn_update to 1, putting the mcfg/mbn in /data/vendor/modem_config/mcfg_sw/generic/asus, adding it to /data/vendor/modem_config/mcfg_sw/oem_sw.txt and finall setting persist.vendor.radio.sw_mbn_loaded to 0. After a reboot you should see the mbn added to /data/vendor/radio/qcril.db.

Unfortunately, this doesn't seem to work either - I can see it being loaded by the system on boot, without any errors. But alas VoLTE and VoWiFi are still not working.

I'm guessing that with diag mode we could find out what's going on, and probably also enable us to load external mcfg files.
[ASUS ROG Phone II Questions & Answers] suzook:
What a shame. Hopefully Asus gets their head out of their asz and has volte working on the rog 3.
[ASUS ROG Phone II Questions & Answers] HomerSp:
So through some tinkering I managed to get the device to show up in PDC. The big problem, however, and which is also what I suspected is that it will absolutely refuse to load any mbn's that haven't been signed with the same key as the modem (they both have three certificates within them to validate the data). This means that you can't load any mbn's from any other device and that enabling IMS via the use of mbn's from other devices, or even modified ones, will be impossible..
[ASUS ROG Phone II Questions & Answers] dennis96411:
Would another OS be able to override this? I know LineageOS on the ZenFone 6 enables VoLTE (but not VoWiFi).
[ASUS ROG Phone II Questions & Answers] HomerSp:
Looks like I spoke too soon, check out the screenshot below :D Woke up this morning to find out that VoLTE does work after what I did.

I'll post a guide later today, that will hopefully also work for you guys.
[ASUS ROG Phone II Questions & Answers] avivv:
I can't wait for the guide, thank you so much, I wonder if vowifi can also work.

Just to verify you have a tencent device right?
[ASUS ROG Phone II Questions & Answers] suzook:
What carrier? Wondering if we are **** out of luck in the us?
[ASUS ROG Phone II Questions & Answers] HomerSp:
VoWifi does not seem to work, unfortunately, only VoLTE. And yes, this is the Tencent version.

H3G Sweden. Don't know if it'll work in the US, but maybe?

If anyone is willing to debug this with me, feel free to drop me a PM and we can go through it together - I'd appreciate if you're rooted and have some experience using adb, QPST/PDC etc. Want to make sure it at least works for someone else before writing up the guide :)
[ASUS ROG Phone II Questions & Answers] dennis96411:
I wouldn't mind helping you test it.
[ASUS ROG Phone II Questions & Answers] JazonX:
Dropped a PM already Mate, Let's try it! :)

512GB Tencent Here.
[ASUS ROG Phone II Questions & Answers] JazonX:
Any idea how to get your device to show up in QPST/PDC?
[ASUS ROG Phone II Questions & Answers] dennis96411:
What drivers are you guys installing to get the phone to show up as a COM device? I'm just getting this at the moment:
[ASUS ROG Phone II Questions & Answers] HomerSp:
Try this: https://androidfilehost.com/?fid=11410963190603864074

The softpedia drivers I sent may not work, as it turns out (I'm running Windows 7 in a VM, so it's working a bit differently for me).
[ASUS ROG Phone II Questions & Answers] dhiru1602:
I have everything setup. I am willing to test. Sent you a PM.
[ASUS ROG Phone II Questions & Answers] suzook:
If anyone gets this working on T-Mobile, please advise. Thanks.

Also, does anyone think we would be able to enable band 66 on the tencent version doing something like this, or similar?
[ASUS ROG Phone II Questions & Answers] dennis96411:
Are you buying this phone again? I thought you sold it.
[ASUS ROG Phone II Questions & Answers] HomerSp:
Thanks to help from [MENTION=4545719]avivv[/MENTION] we have verified that my method works, and does enable VoLTE. Hopefully it'll also work for everyone else, including you in the US. Thanks for the help, everyone!