yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 Questions & Answers] ccheney:
If anyone knows more details about how WFC works in Android please let us know or point to reading material.

I have some prior Android hw development experience but have been previously using an iPhone and finally made the switch permanent with this phone. So I'm still learning how WFC works under Android, but it seems there are also two sets of modem files. The ones in /system/etc/firmware/modem_pr/ and the ones in /firmware/image/modem_pr/mcfg/configs/mcfg_sw/generic . I'm not sure why they are different (the md5sums don't match). There are much fewer of them in the system area as well as compared to firmware. I suspect the ones in /firmware are from qualcomm for global use and perhaps LeEco just picked a few to actually use for some reason? Looking at how the Pixel phones do it they seem to copy the files out of the /firmware dir to use at boot time. I'll have to try out v50 again later on 16s but I'm pretty sure I got it to work fine. VoLTE activation also seems to be a bit flaky even on the EUI firmware.

I suspect that WFC does not work for carriers in Europe or most of Asia even on 16s unless the 'others' modem profile allows them to work somehow. There are more modem profiles in /firmware we could potentially use if we determine how this works.

I'm going to go back to EUI 23s again and see if it ever tries to communicate to the WFC website via tcpdump. It certainly didn't show much in the logcat output that I could see. I'm not sure if I can start tcpdump with the network down, but it does seem to work with just disabling/reenabling WFC on 16s.

I'm probably wrong, but couldn't someone just take the WFC code from another SD820 phone and use that to make it work?

/system/etc/firmware/modem_pr/

mcfg_sw_att.mbn - US - AT&T

mcfg_sw_cmcc.mbn - China - CMCC

mcfg_sw_ct.mbn - China - CT

mcfg_sw_cu.mbn - China - CU

mcfg_sw_le_others.mbn - ??

mcfg_sw_others.mbn - ??

mcfg_sw_reliance.mbn - India - Reliance

mcfg_sw_tmo.mbn - US - T-Mobile

mcfg_sw_verizon.mbn - US - Verizon
[LeEco Le Max 2 Questions & Answers] ccheney:
I did another round of testing on 23s and I turned airplane mode on/off while running tcpdump, just toggling wifi didn't give any error and didn't work, WFC gave Error81 but there was no visible attempt to connect to the WFC server or even do a DNS lookup for it during the entire time. No points for LeEco making their newer roms buggier. :(

Interestingly CN 16s also gives Error81, so it might be that only the NA (US/CA) 16s works for some reason. I suspect it might have something to do with the modem firmware.

UPDATE: I think I solved the issue on EUI, testing against 26s now to see if it fixes it. Having trouble verifying if I fixed it as its not giving Error81 anymore but not saying WFC is enabled either, will have to look at tcpdump output some more I suppose.
[LeEco Le Max 2 Questions & Answers] ccheney:
Ok, so I managed to get IN 19s to work with the change. For some reason CN 23s/26s did not seem to work.

All you have to do is add the following and it works:

persist.data.iwlan.enable=true

At the top of the screen it shows "T-Mobile Wi-Fi Calling LTE" (I'm using T-Mobile) I noticed that if I have Airplane mode enabled it does not appear to be able to make calls so it may be only partially working, will have to look at tcpdump output to see if its actually registering. It may need persist.radio.always_send_plmn=true but I'm not sure yet. I can't really tell from the tcpdump if its working or not, will have to capture a full call under 16s to see what it looks like to compare it. There was lots of ipv4/ipv6/da1a data being transferred, but I don't know which part was the call, lol.

There may be other useful props to add from NA 16s but I'm not sure.

But I'm still pretty new at this, only had an Android phone for a couple weeks. :)
[LeEco Le Max 2 Questions & Answers] whymoo:
If you can get Wi-Fi Calling and VoLTE to work in Nougat ROMS it would be amazing.
[LeEco Le Max 2 Questions & Answers] ccheney:
So I found out how to make IN 19s work properly after looking at the LOS 14.1 x2 device tree.

You need both of the following:

persist.data.iwlan.enable=true

persist.radio.calls.on.ims=1

I can now turn on airplane mode and only turn on wifi and still make calls so it is going over WiFi like it should.

LOS 14.1 does not support it due to a 'feature' in the code they copied from LeEco. They turn off support for WiFi Calling for the X820 model for some unknown reason. Even the cellular providers in China support WiFi calling so its unclear why they did that. Oh and this might also fix VoLTE but I haven't tested that part yet...

device/leeco/msm8996-common/init/init_leeco_msm8996.cpp

else if (isLEX820)
{
// This is LEX820
property_set("ro.product.model", "LEX820");
property_set("persist.data.iwlan.enable", "false");
// Dual SIM
property_set("persist.radio.multisim.config", "dsds");
// Disable VoLTE
property_set("persist.radio.cs_srv_type", "1");
property_set("persist.radio.calls.on.ims", "0");
property_set("persist.radio.jbims", "0");
}
else if (isLEX829)
{
// This is LEX829
property_set("ro.product.model", "LEX829");
property_set("persist.data.iwlan.enable", "true");
// Dual SIM
property_set("persist.radio.multisim.config", "dsds");
// Enable VoLTE
property_set("persist.radio.cs_srv_type", "0");
property_set("persist.radio.calls.on.ims", "true");
property_set("persist.radio.jbims", "true");
}
[LeEco Le Max 2 Questions & Answers] ccheney:
I flashed today's official LOS 14.1 and noticed there isn't an option to even turn on/off VoLTE/WFC at all. I'm guessing it is disabled in the settings gui in the build?

Anyone happen to know what I need to change to make it show up?
[LeEco Le Max 2 Questions & Answers] whymoo:
Maybe editing the settings.db and/or dialing *#*#4636#*#*. Great work so far.
[LeEco Le Max 2 Questions & Answers] ccheney:
Thanks!

The secret menu shows its disabled but won't let me change it but and I don't see a settings.db file in /system, is it somewhere else?
[LeEco Le Max 2 Questions & Answers] ccheney:
Looking *#*#4636#*#* menu it seems to be having some issues reading the SIM properly. It claims that ViLTE is unprovisioned, WiFi Calling is unprovisioned, IMS is not registered, no SIM Address Book, etc.

Searching online it seems that at least on some versions of Android that if it doesn't detect you can use the feature (VoLTE/ViLTE/WFC) it is auto hidden, so the problem may lay with the problems reading the sim.

Update: Flashed back to NA 16s and the SIM address book has entries in it so its definitely something wrong with LOS 14.1 ability to read the SIM card properly. Unfortunately the hidden menu in 16s doesn't show the VoLTE/ViLTE/WFC status like the version in LOS 14.1

With NA 16s 'Network Cell Info' shows the following:

VoLTE capable: Yes

WiFi call Available: Yes

Video call av: No

Video call en: No

So ViLTE may take extra effort to make work, but VoLTE/WFC should work once we resolve why the SIM isn't being read properly.
[LeEco Le Max 2 Questions & Answers] whymoo:
settings.db is supposed to be in /data/data/com.android.providers.settings/databases/settings.db but its missing. Have you tried Resurrection Remix? In the *#*#4636#*#* menu volte and wi-fi calling are enabled but they don't work.
[LeEco Le Max 2 Questions & Answers] ccheney:
I'll have to take a look at that. I just grabbed the 23s failed logcat output and am about to compare it to NA 16s working output to see if anything obvious sticks out.
[LeEco Le Max 2 Questions & Answers] whymoo:
infrag was able to fix volte in this nougat ROM https://drive.google.com/open?id=0B4k5OpXTXcS9bVRVVkZMY2RORDQ

Here is the thread https://xdaforums.com/le-max-2/development/kernel-blackscreen-leeco-x2-t3604445
[LeEco Le Max 2 Questions & Answers] ccheney:
[MENTION=1187148]infrag[/MENTION] what did you have to change to make VoLTE work on your rom?
[LeEco Le Max 2 Questions & Answers] infrag:
Remove blobs that didnt work. (from msm8996-common & X2 vendor tree)

Import blobs from OP3

(I still have to clean this up a bit)

You also probably need to add a bunch of props to system.prop to make it show up.

(volte props makes you see the option under sim setting even if its not working)

I started just importing IMS blobs but ended up just doing a mass import of IMS + Bluetooth + Wifi +CNE + DPM blobs.

Not very clean but seems to be working so far for people.

I cant use or test so it makes it hard to know what was required.

I currently run my AICP build on my phone without Volte and it runs fine for me.

I also tried import RIL blobs from OP3 but that didnt go so well. (I didnt expect it to as we have different modem firmware etc)

I could get cellular connection but not a data connection to stay working.

If someone is keen to flash OP3 modem I can try make a build with the radio blobs from OP3 and maybe modify kernel to suit. I dont know if this is a waste of time though... I'm no expert on this and dont know even if we have the same physical modem hardware?
[LeEco Le Max 2 Questions & Answers] ccheney:
So my assumption was correct that the IMS related libraries are tied to the version of modem firmware, etc on the device as well?

The OP3 modem firmware appears to be much newer (v50 vs v102) than even the developer version for x2, actually all the firmwares look newer, so it might be worth trying it out once the other issues are verified to work. Based on what I can see I think the OP3 has the same modem but I'm not sure exactly how the other chips (other LTE related chips) it talks to work, ie if the modem firmware also includes firmware for those that is needed. Oh and OP3 has official 7.1 support from OP themselves so the updated firmware/binaries may be helpful to make 7.1 work better on x2.

I'd be willing to do thorough testing, my provider (T-Mobile US) appears to support all of the features VoLTE/ViLTE/VoWLAN, and possibly SMS over IMS as well.
[LeEco Le Max 2 Questions & Answers] infrag:
So my assumption was correct that the IMS related libraries are tied to the version of modem firmware, etc on the device as well?

I dont think so no.

I've used IMS blobs from OP3 without changing modem firmware so I dont draw that conclusion.

Obviously there CAN be problems if features arent supported by the modem or commands are given differently.
[LeEco Le Max 2 Questions & Answers] ccheney:
Ah ok, then possibly the IMS blobs in LOS are just somehow otherwise broken I suppose. I wouldn't be too surprised especially if they used the ones from 23s/26s as I couldn't get those to work no matter what I did.
[LeEco Le Max 2 Questions & Answers] ccheney:
[MENTION=1187148]infrag[/MENTION] Flashed aicp and noticed it is also crashing on Phone -> Settings -> Calling accounts -> (sim) -> IMS settings like with LOS 14.1, I'm using the Google Phone app.

And under 4636 it shows

IMS Status

IMS Registration: Not Registered

Voice over LTE: Unavailable

Voice over WiFi: Unavailable

Video Calling: Unavailable

UT Interface: Unavailable

It also can't read my sim card address book.

Any ideas?
[LeEco Le Max 2 Questions & Answers] infrag:
Still trying to sort this out.

I might have to revert some changes and see if I can make it work still without them...
[LeEco Le Max 2 Questions & Answers] ccheney:
RR's VoLTE and ViLTE (need to test that still) seems to work but VoWLAN still doesn't not sure what was changed between his version and yours current one. His SIM address book and IMS settings are both broken though like on AICP.
[LeEco Le Max 2 Questions & Answers] ccheney:
I tested ViLTE with [MENTION=4248655]whymoo[/MENTION] and it did not work. It looked like it was trying to setup the video connection but never managed to send video, just a black screen. I suspect this is due to the missing vendor libraries that I mentioned in the other thread.
[LeEco Le Max 2 Questions & Answers] infrag:
Which other thread?
[LeEco Le Max 2 Questions & Answers] whymoo:
So does adding those 2 lines work on stock 23s or 26s?
[LeEco Le Max 2 Questions & Answers] kgoerbig:
Any updates with Wifi Calling on custom ROMs? I am able to have both Volte and WiFi calling on X829_5.8.16s_rooted.zip, but no custom ROM. I really wish this could be possible as I really dislike EUI.
[LeEco Le Max 2 Questions & Answers] SourPower:
Would you know what Qualcomm QTI biometrics voiceprint service, does?
[LeEco Le Max 2 Questions & Answers] xlcashlx:
So this works with all EUI based roms?

If I'm not crazy (and have had enough coffee this morning) I just did this to get WiFi calling working on a modified 5.9.23s ROM with T-Mobile USA. This will be a nice quality of life improvement... I have Wi-Fi calling preference set to Only for Wi-Fi and I'm able to make and recieve calls.

I modified system/build.prop using the adb shell. I booted into TWRP and mounted the system partition. Then I ran (from my computer with my phone plugged in)

$ adb usb
$ adb shell
# cd system
# cp build.prop build.prop.bak_wificall
# vi build.prop

I used vi to change the build.prop file

persist.radio.calls.on.ims=0 was already in the build.prop file, so I changed it to persist.radio.calls.on.ims=1

Then I added the following lines somewhere in the build.prop

# add for wifi calling

persist.data.iwlan.enable=true

a bit about my build:

ro.letv.release.branch=LE_X2_STABLE_023_20170120_20170311_000527_LE_X2_WHOLE_NET

ro.letv.release.version=LeMadMax 5.9.023S by Madsurfer

ro.letv.release.version_date=5.9.023S_03111

I have a X829 (if it makes a difference...)
[LeEco Le Max 2 Questions & Answers] kgoerbig:
When you say, 5.23s ROM, do you mean a EUI based ROM? Or AOKP, such as Resurrection Remix?
[LeEco Le Max 2 Questions & Answers] xlcashlx:
OOPS. I mean 5.9.23s EUI rom
[LeEco Le Max 2 Questions & Answers] kgoerbig:
Yeah, WiFi calls work fine for me in EUI based. It's custom ROMs that cannot support it, probably do to proprietary driver issues.
[LeEco Le Max 2 Questions & Answers] xlcashlx:
In case anyone else has this issue in the future.

My adblock settings were blocking the wifi calling from finding my appropriate region. I was having issues getting wifi calling working and I noticed the following error in logcat

11-05 11:00:34.469 6002 6015 E LeDomain/RegionDomain: error response for marker [us], error message null

If I disabled my ablock wifi calling would work, because my region would be found automatically. So I went out and set

persist.sys.timezone=America/New_York

However I was still having an issue connecting to wifi calling. New York is the time zone were I currently reside, however my area code on my phone number is actually from the Denver Time zone. So I set (in system/build.prop)

persist.sys.timezone=America/Denver

and wifi calling is working great.

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

With all this said, I'm abandoning my research for getting this working on Android 7. I just found out that Tmobile USA has a wifi calling app named Digits which I can make and receive calls from when I'm on wifi.
[LeEco Le Max 2 Questions & Answers] ultra2000:
Hi. My phone is Nokia Model 6.2 and I found the Word xdivert unknown software system application.

Do you know the software to make it work? Is this a malware?
[LeEco Le Max 2 Questions & Answers] ultra2000:
Can I know what your phone model is?

My phone is Nokia and the xdivert file is on my phone!i thing this file is spy...
[Samsung Galaxy S8 Questions and Answers] tharghan:
Hi guys, one quick question. I just received an S8 and it has a branded firmware... I want to flash it with a no brand one, should I load HOME_CSC or CSC one? From what I understood, HOME_CSC does not do a wipe reset, while CSC one does... am I right? So since I go from a brand one to a no brand one, I guess I should use CSC... is that correct?

Thanks in advance.
[Samsung Galaxy S8 Questions and Answers] Phantom1275:
According to what I have read, flashing a home_CSC does not wipe your data. Flashing CSC wipes it.

To debrand your phone, you should look for a multi-CSC ROM with OXM CSC. For example, this one. Notice the G950FOXM1AQDG CSC.
[Samsung Gear S2] chinobetta:
Guys,

I was able to pair S2 gear with my iphone 7 plus without any issues. Got gear s app on the iphone and could push down settings like a new facewatch, notifications, weather etc, however, the phone is not getting any information from the watch in regards to fitness, so gear s app is not being populated under s health. I have tried to delete the app from the phone, reset all settings, reset the s2, but nothings helps. Does anyone know a possible solutions to this?

Thanks

Specs

Watch

model: sm-r70v

hw ver: r730v.03

sw ver: r730vvru1bpc1

Iphone

OS: 10.3.1

model: MN4V2LZ/A
[Samsung Gear S2] EclipzeRemix:
The gear watch syncs with the actual s health app to track anything besides steps iirc. also the Samsung gear app for the iPhone is pretty terrible as is and have crappy support.
[Nexus 6P Q&A, Help & Troubleshooting] r1nstang:
installed a new daughter board in my 6p last weekend because the charging port was going out. but now when i connect to my PC it doesnt show up as an android device anymore. instead it tells me "unknown USB Device (Device Descriptor Request failed). ive uninstalled and reinstalled, restarted computer and all the other things i could think of but i've had no luck at all.

I cant even access it thru ADB. everything worked perfectly before installing the new daughterboard. and yes it is an OEM Huawei board that i installed.

any help or ideas on what i could do? thanks..really need to be able to save pictures and such off the phone, and of course, undate roms and other fun stuff haha
[Nexus 6P Q&A, Help & Troubleshooting] v12xke:
What happens when you put the old board back?
[Nexus 6P Q&A, Help & Troubleshooting] r1nstang:
Honestly I haven't put the old board back in because it's such a pain to swap out.
[Nexus 6P Q&A, Help & Troubleshooting] boardwak:
I've had this exact same problem - installed a new daughterboard (trying to fix the muffled microphone issue) and the phone could not fast-charge or perform data transfer. Reinstalled the old daughterboard, and charging and data transfer worked again. Not sure what I'm missing.
[Samsung Galaxy S8+ Questions & Answers] sternweezy:
For those of you using Nova Launcher. If you lock the phone and then unlock it, does it return to the screen/app being used before locking the phone or does it unlock to the home screen? Every other phone I've had unlocks to the screen/app I was using before I locked the phone. With the S8+ it unlocks to the home screen 90% of the time. Randomly it will unlock to the app I had open but it's very rare. If I go back to the stock launcher it unlocks to the screen/app I was on before it was locked. I've messaged the dev but haven't heard back. Wondering if there is a fix for this as I've searched and searched and don't see anyone mention it.

Edit: Fixed this issue by deleting the bxActions app that was used for remapping the Bixby button.
[Samsung Galaxy S8+ Questions & Answers] redplate:
Mine is unlocking to the previous used app. Never really took a note of what app opens after unlocking the phone, but I'm reading news with NewsTab daily, locking and unlocking while get out of bus, etc.. Never noticed it would go back to Homescreen.
[Samsung Galaxy S8+ Questions & Answers] jabberwock:
Mine does indeed go back to homescreen. Also using nova.
[Samsung Galaxy S8+ Questions & Answers] samcex:
Had the same problem. I deleted apps I used for remaping bixby and it works again I'm going to the app I was last time.
[Samsung Galaxy S8+ Questions & Answers] sternweezy:
That fixed it! Thanks! Didn't even think to try that.
[Samsung Galaxy S8+ Questions & Answers] samcex:
No problem man :)
[iPAQ rw6828, XDA Atom ROM Development] cskeleton:
i'm a chinese , if i want to use the english rom from the forum , should i do something . must i edit sth. with ultraedit-32 ?
[iPAQ rw6828, XDA Atom ROM Development] cskeleton:
solved

i can update the rom directly..
[iPAQ rw6828, XDA Atom ROM Development] tjkhattak61:
Thats good :D
[Samsung Galaxy S7 Questions and Answers] MatrixGrenade:
I'm having a weird problem when installing TWRP on my S7. When I use Odin (tried PrinceComsy and not) it says the flash was successful, so I go to adb and use the adb reboot recovery command and all i get is a screen that says booting recovery. . ., the model of the device, if secure boot/transfer is on, and there's no way to reboot the phone besides fiddling with the volume power and home to open the Maintenance Boot Mode and do a normal reboot. I also did this with the Official TWRP app and that also says that the flash was successful but same problem.

The phone is a GM-930V with a Snapdragon processor. The phone is rooted but I haven't flashed a new ROM to it yet because I wanted to make a backup first. Wondering if anyone has a solution even though I can see that most people who have tips and tutorials to use TWRP have Exynos processors, if that make a difference?

Sorry if this question has already been asked, I'm new around here.
[General Topics] foosoomin:
hi international forumers,

I am from Singapore.

I emailed to Huawei Singapore support on 4th May 2017, asking how to identify the different type of flash memory use in P10, through their retail package (box).

However, they choose not to reply back. See below picture on my email sent

Seriously, Huawei is not good in handling problems
[General Topics] foosoomin:
furthermore, i have even CC a copy of it to their CEO Richard Yu.

They don't even want to reply it
[General Topics] foosoomin:
Hi all, does anyone knows how to identify phone with UFS on the retail box ?
[General Topics] zelendel:
You do know they are not required to reply. Also the CEO will never even see the email. It will be filtered out by their assistant. No CEO will reply to an average person. You have to remember that you are 1 out of millions.
[Android Q&A, Help & Troubleshooting] chenqunxiong:
Sorry for my poor English ，guys .my tablet is HP G2 2301 , I bought it from ebay ,but the system is alcatel's, so I want to flash the sysytem back to hp's. unfortunately, I didn't make a system backup. I also replace the offical recovery.img with ctr 5.7 fromhttps://xdaforums.com/showpost.php?p=68913825&postcount=2241

I format system partition by ctr 5.7 .The result is my tablet is bricked.What can I do to save my tablet. Is anybody have stock firmware of my tablet，please help me！Thank！
[Lenovo ZUK Z2 (Plus) Questions & Answers] Isaías J.:
Hello everyone.

I had a Sony E3 and there was a flashing mod on the XDA to activate the top speaker to play music (the one that listens to the call). The music played on both phones at the same time.

Does anyone know a way to do the same on Zuk Z2?
[Lenovo ZUK Z2 (Plus) Questions & Answers] prmbasheer:
It is possible by editing buildprop but it is not at all advisable. By enabling the call speaker to play music, you are not going to gain much volume and any quality. Moreover you will end up damaging the call speaker.
[Lenovo ZUK Z2 (Plus) Questions & Answers] Isaías J.:
Yes, I know. I find a form how to enable a second speaker. Tanks.
[Lenovo ZUK Z2 (Plus) Questions & Answers] amit.wh:
Zuk is a mono speaker phone
[Lenovo ZUK Z2 (Plus) Questions & Answers] subu_forever_after:
I am using shox audio which enabled stereo effect.

It can be found in the Lenovo Z2 plus themes and mods section.
[LeEco Le 2 Questions & Answers] shunil.scorpio01:
Guys...meed help.actually i hav a portable hard drive ..i can copy files from portable hard-drive to phone storage via otg .. but guya...when i was trying copy files from phone to portable.srorage it show unsupported operation..plzz..any with HOT ( HIGHER ORDER THINKING ) HELP ..ITS A READ N WRITE PROBLEMS...