yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Whosdaman:
The LG Optimus L9 supports WiFi Calling
[Nexus 4 General] Whosdaman:
We are now at $460
[Nexus 4 General] Warbuff:
The way that it works is that it'll use your minutes unless you call tmo ans add the free wifi calling service. Its free and takes only a couple of minutes to do.
[Nexus 4 General] mark manning:
I could do $20

Sent from my Nexus⁴
[Nexus 4 General] Ohgami_Ichiro:
Hmmm I could give it a shot It almost looks like the WIFI chip is similar or the same. Now to grab a Tmobile L9 Rom if I can find one.
[Nexus 4 General] Whosdaman:
Fingers are crossed as we stand at 480+
[Nexus 4 General] abir099:
congretz in advance....
[Nexus 4 General] alleyezondisromo:
Let me know if you need any testers id love to work with you on this project !
[Nexus 4 General] lcchan1:
+1
[Nexus 4 General] Ejvyas:
Tester available :cowboy: Let me know..
[Nexus 4 General] simobile:
Sorry for the long wait. I've been real busy with work, holiday stuff, etc.

Anyway, here is what I've learned so far.

I tried to apply as many of the apks that I thought were related to wifi calling from the G2 system dump. This was done by trial and error because some complain about certs, classes.dex issues, trying to install from the wrong directory, etc. So some need to be in the data/app folder before you can install them and they need open permissions as well as being signed with either a shared cert or a testkey.

The ones I finally got installed were:

ims.apk and imsservice.apk in the system/app folder.

movial.ipprovider.apk,movial.wificall.apk, lgdrm.apk and ipservice.apk in the data/app folder.

As far as I can tell from the logs wificall.apk never really worked. However, as crazy as it sounds, what I did enabled gtalk to act as the wificall client. I'm not a gtalk user or ever have been but what happens when I try to make a call with no service is this...

Connectivity service tries to find an outlet for an ims call and it can't find a valid one but the settings are there. This triggers workarounds and it eventually uses the gtalk components that it needs to receive and transmit calls through ims/sip. I was as confused as you are when I saw the logs but it truly does. It doesn't bring up the gtalk app or anything but it does utilize the components needed in it.

Sidenotes:

I've never used the ims/sip version of tmobile wifi calling but I did use the old UMA/GAN calling on my tmobile G2. With that service, I didn't even have to be registered to a tower but it does seem I have to with this. I do have to be at least registered to a tmobile tower even though i've made calls with status showing -113dbm 0-1ASU and they have been clear as day. The other downside is that I haven't been able to successfully install any of the sms dependencies and making a call is great but not truly TMO wifi calling.

The downside to all of this is that my phone is always performing that connectivity service workaround and it truly borks up the phone. The touch display is super laggy randomly (most likely a wakelock issue), battery life is very hurt by this, google apps acting up (no doubt connectivity service issues) and wifi being super sketchy.

I'm gonna keep up with this and sidebranch out to a couple other avenues and see what I dig up. I'll keep you guys posted as much as I can.
[Nexus 4 General] Sfkn2:
Thanks for that update. Are you able to post the logs to see if we can make sense of it?

Sent from my Nexus 4, while driving in my Evo9.
[Nexus 4 General] timmyjoe42:
I don't know what you just said, but I'll throw an extra $10 in the pot if someone gets this working.
[Nexus 4 General] ChemBot:
I've been waiting for this ever since T-Mobile sold me on my plan saying I could use wifi calling with my Nexus 4. Of course no one at the store knew what a Nexus is so it's hard to blame them but I still feel burned by it all. Hopefully this new progress gets ported to the Nexus 5 once I upgrade.
[Nexus 4 General] quadomatic:
How do I go about adding money to the bounty? Got a Nexus 5 and I'd be grateful to have this.

EDIT: I'm committing $30 to the bounty (thanks karasuhebi for explaining how this works)
[Nexus 4 General] karasuhebi:
Just state how much you'd like to add in your post.
[Nexus 4 General] NexusIncarnate:
You guys are cute.
[Nexus 4 General] anuraj1:
I'd like to add $50 to the bounty. I switched to T-Mo for the Nexus 5 and it doesn't get service in my office building. Adding Wifi Calling would be awesome.
[Nexus 4 General] jackgopack4:
upping the bounty

I'll offer $100, or .1 BTC, whichever is worth more.
[Nexus 4 General] badboy47:
I like to add $99999. Lol just kidding. I remember seeing this thread when I bought my nexus 4 and it's still alive. Surprising so far no app yet. But at least a man can dream right?
[Nexus 4 General] sivai87:
WiFi Calling in T-Mobile

Wifi Calling in T-mobile is a great feature. I would toss in 10 bucks for that. I really found that useful when I traveled to India, and was still able to use my tmobile with the tmobile provided handset which had the wifi calling. And guess what, the plan was totally the same as what I used in US. Its actually roaming free across the earth, unless you do not have a strong wifi connection. I love to have it back in my Nexus 4..
[Nexus 4 General] popimp315:
Everyone would. I don't use aosp because of this one feature
[Nexus 4 General] kevin71246:
Let's try and keep all the non-dev chat to a minimal please! Hard to sift through the relevant dev info to see the status & where to start...

Anyways, I was trying to build & compile the open source IMS project (https://code.google.com/p/the-ims-open-source-project-for-android/) in Eclipse & its test app. I'm unable to; stuck on trying to import the the RL files (Ragel code?) Anyone have experience or have a clue how to import/compile RL files? I'm somewhat new to Android Dev and can't find this info anywhere!! I tried installing the Android NDK as well since I think that might help with that, but there is so little info on a "dummy" guide to get it going.

The reason I was trying from that direction is, well, TMobile released it and the code is certainly relevant. I did however get the prebuilt apk installed on my phone & applied some user settings posted in other threads. It's now past the initial timeout and gets far, but not quite. I was hoping to build the source with additinal logging so I could step through it and see what exactly is going on. I think either this code, or the logging from it could possibly be the key to getting this going. BTW I have a My Touch 4G Slide with latest JB, but think all of this is relevant. I would eventually like to get this to an apk, but I guess many have only dreamed!!

So if someone could shed some light on getting this environment working, and able to work with RL files I'd really appreciate it. (Again I've got eclipse up and running for anything non-RL file related.) I suppose if the NDK is the answer then I need some pointers on how to work with the make files/scripts. I'm an application engineer & junior developer so not stupid, just simply never worked with this stuff before. Thanks!

BTW is anyone still out there working on this?

---------- Post added at 09:29 PM ---------- Previous post was at 09:21 PM ----------

Also wanted to throw this link on here since it's relevant as well (they gave up :( )

http://xdaforums.com/showthread.php?t=2302313&page=8, but looked like Fenny was on to something...
[Nexus 4 General] Jon82:
I'll add $25.00 to the project, if it's still in progress
[Nexus 4 General] quailallstar:
Another $50 from me. Would still like to see this come to life and even make its way to the Nexus 5.
[Nexus 4 General] kevin71246:
Sorry guys...I haven't seen any responses to my post and compiling the open source is an ything but easy or typical. I pmd a couple couple and didn't get a response either. I posted on the ims project but yet to get a response...its far from supported or actively being worked on.

IMHO I think tmobiles had it released as open source because they wanted a developer to either put it into a custom ROM or figure out a way to to make an apk. They didn't do it themselves because it needs root and they can't support that. Again that's just my guess. But they would be for it if someone figured it out...it would bring them more customers for people with bad signal and unsupported devices.

That said...I'm surprised they don't get someone to watch the ims wiki or actively support it...or get some real documentation on it.
[Nexus 4 General] NYZack:
I wonder if it'd be worthwhile to be less ambitious. It's easy to make and receive calls over wifi using SIP protocol while even preserving your existing phone number without porting it (by various combinations of conditional call forwarding, Google Voice, free SIP phone numbers, caller ID spoofing). But what I really need is to be able to send and receive SMS messages (without porting my number) when I'm out of range of the cell network. Since wifi calling allows SMS's to be received over wifi, there must be some web-accessible way to access T-Mobile SMS messages without going whole-hog and implementing wifi calling. An app or web app just to send and receive T-Mobile SMS messages when only connected to wifi would be really valuable (for me at least).
[Nexus 4 General] Soulgamer-X:
Willing to support!

Would give up to $50 for anybody who ports this into Nexus 5 Experience ROM by [MENTION=5330727]andersonaragao[/MENTION] (best CM ROM for Nexus 4!!!).

Just moved from my T-mobile G2 to a Nexus 4 and the only thing it's lacking (and need when I visit my grandma) is wi-fi calling.

---------------------------------------------------------------------------------------

Nexus 4 - Nexus5Experience LTE/Stock (4.4.2) :good:

T-Mobile G2 - AndromadusAudacityBeta5 (4.0.4) :cool:

Nexus 7 - Rooted/Stock (4.2.2) DEAD :(
[Nexus 4 General] vedas007:
I'd donate 25 as well
[Nexus 4 General] Pandages:
I'm working with a Nexus 5, not a Nexus 4, but, I'd chip in $25 to the bounty, absolutely.
[Nexus 4 General] SnowBeer:
I wonder if we will get this soon from Google. What you describe is really the same as what apple has done with imessage. When you have data or Wi-Fi SMS are sent that way but only when going to other iphones. If Google takes hangouts SMS integration to the next level we would be there.
[Nexus 4 General] ingoljosh:
gOOGLE VOICE HAS THIS OPTION FOR SPRINT USERS WHEre (sorry for the caps lock) you can usync your own Sprint phone number to make and receive calls through your Wifi/IP.

I dont know if it will work with another carrier.

When placing a call it asks if you want to use google voice or not. Works very well.

LINK
[Nexus 4 General] Franzferdinan51:
This should be great for everyone
[Nexus 4 General] alexpja:
Now it does :D:D:D:D iOS 8 will come with WiFi calling for T-Mobile users with iPhones!
[Nexus 4 General] NardVa:
Is this bounty being worked? Nexus 4 came out in 2012. We are half way through 2014.
[Nexus 4 General] popimp315:
I know right. How apple was able to implement it has yet to be seen, but it is indeed crazy news. If they can get it, there's no way XDA should not have it by now
[Nexus 4 General] skinzy98:
Its. Because they will build it into the software from the beginning. It would take tons of coding to get it on our phone

clean installs are life. clean installs are love
[Nexus 4 General] lazinase:
Sorry for bumping this up. I bought a Tmo LG G3 for my girl and the phone has wifi calling feature. It's rooted now so what file(s) should I pull out from G3?
[Nexus 4 General] alwaysbmx:
Wow, bounty still open after such a long time? I gave up long ago lol
[Nexus 4 General] Zirillian:
Well, T Mobile rolled out a huge wifi calling push today....and so did Google with Hangouts. Voice calls over hangouts work great, but I'm wondering if there is any way we can figure out a way to get the wifi calling software now present on all new/modern T-Mobile phones on our Nexus 4's?
[Nexus 4 General] ferrocene:
I can make calls using WiFi only, bit I cannot receive calls on WiFi.
[Nexus 4 General] Lasik25:
With Hangouts? What kind of wifi are you connected to?
[Nexus 4 General] ferrocene:
Easy fix: its an option on hangouts settings :)
[Nexus 4 General] chewdon:
Tell T-Mobile that you want an app. There is a petition at change dot org/p/t-mobile-make-an-app-for-wifi-calling
[Nexus 4 General] NYLimited:
Good idea. Just signed it.

---

* Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime.
[Nexus 4 General] llaugerm:
Wi-FI

With the New In Flight Text Messaging from T-Mobile this would help now!!!!
[Nexus 4 General] simobile:
Strings

Getting Wifi Calling (T-MOBILE VERSION! Before anyone comes up with the smart comment of "Wifi calling already works") working on AOSP Android has been a love-hate passion of mine for quite a bit. Every time I think I'm close, I love it. When I find that something is still broken that I don't have the time to fix, I hate it. Everyone here has probably seen the strings file that was attached sometime back with supposed XML fields that need to be filled in to authenticate on TMUS IMS. A while back, I de-compressed the G3 wifi calling update and found what I believe are the valid strings. I haven't had time to test them yet because of a new job but I wanted to finally (3-weeks later) get them posted up here. In the meantime, I hope they can help someone. These strings are located in the System/app/assets folder of the G3 update and in that folder are XML config files for each carrier. VZW, ATT, LG-universal, etc. This one is labeled configurationTMUS.xml.

. . . . Code was too long to post. I've just zipped the entire assets folder that includes all the XML strings for all the carriers. You'll find it attached.

:)
[Nexus 4 General] shellscape:
Has anyone been able to get this to work yet? Tried it on GS5 with Tmo and CM11, no joy.
[Nexus 4 General] lion7718:
Since the Nexus 6 will be the 1st Nexus with Wi-Fi calling, hopefully when the N4 gets "Android L" it will be simple. T-Mobile will update the Nexus 6 in early 2015 to either download the app or turn Wi-Fi calling on.
[Nexus 4 General] philosophics:
From what I've read, WiFi calling is built into Android lollipop. We just have to wait until the switch is flipped for it to work and then to have someone port it. However, I'll be using a n6 by that time so it really doesn't matter now...
[Nexus 4 General] ryanmc2033:
signed
[Nexus 4 General] travisnj:
Im in for $50

---------- Post added at 02:43 PM ---------- Previous post was at 02:39 PM ----------

IT's been in CM11 from the start... I'm not sure in CM10 (don't remember)... But I have used SIP for a long time in the native dialer so there is nothing new in L that is going to be special.

I would like to see TMO allow configuration as any sip provider does or give us a APK... OR... Someone claim the bounty...
[Nexus 4 General] blttalas:
Any link/info for supported roms or devices
[Nexus 4 General] Warbuff:
SIP has been included in Android since gingerbread. I agree with you that tmo should give out that info.
[Nexus 4 General] gorilla p:
Well I'll be happy to claim the bounty...

You can easily make and receive WiFi calls by using google hangouts dialer.

You can easily/freely setup a Google hangouts number to make and receive calls via mobile data or WiFi.

If any of you bounty-payers in the U.S. need any help getting setup with it, I'd be happy to help. See link below also.

https://support.google.com/hangouts/answer/6079055?hl=en
[Nexus 4 General] CAL7:
I am, in fact, doing exactly that with GV and Hangouts. But that has nothing to do with this project/bounty. It's a similar technology, but does not accomplish the same purpose.
[Nexus 4 General] hp420:
Yes it does....the only difference is that you can't use your tmo number unless you port it to google. Not only does it do everything wifi calling does, it's full-on VoIP, allowing you to evenm bypass your tmobile voice service entirely and just use your mobile data....seriously, anyone hanging on in hopes of getting wifi calling at this point who hasn't just gone to hangouts is either a stubborn fool, or just too lazy to set it up. You even get MMS on google voice now.....seriously, this is as close as google can get to being a carrier without actually selling you the connectivity directly.
[Nexus 4 General] gorilla p:
It accomplishes exactly the same purpose. Making and receiving calls over WiFi. You can have the number setup to forward to your cell, or have your cell forward to your Google voice# if you can't be reached.

It allows you to make calls over WiFi when there is no cell signal to be found.

Problem solved.
[Nexus 4 General] NardVa:
The bounty was started in 2012. I'm pretty sure at this point the effort was ended and people moved on to other ways to talk over WiFi.
[Nexus 4 General] popimp315:
Then you guys aren't getting the point. Using the work around that had been out for a while is just that. Plus, you didn't even come close, Google did. Nice try though.
[Nexus 4 General] gorilla p:
Find a solution and watch people start ducking and dodging assuming someone might (god forbid) ask for the bounty money rather than just saying "thanks".

FYI, nobody actually expects anyone to pay up. Just trying to help those who are unaware of a solution.

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 General] kelmar13:
Respectful, and unfortunately, finding a solution (regardless of how good the solution may be) isn't the same as porting T-Mobile's WiFi Calling (what the bounty was originally set up for).

Also, this thread is pretty ancient. Most who had offered bounty have probably upgraded to another device long ago, taking their bounty money with them.

:)
[Nexus 4 General] gorilla p:
True. The hangouts dialer is still rather new and its a great WiFi calling solution.

I'm disappointed TMobile never took the time to add their own WiFi calling to this phone.

I'd like to see them make it available as an app for all devices on the TMobile network.

"I like my Nexus 4 and my Unicorns Dirty."
[Nexus 4 General] furboom1240:
You've been heard...sorta

Hello there! I've been following several like-minded topics here on xda and it would be good to let you know that I have a HTC m8 BYOD with T-Mobile, and that it is running custom software and doesn't carry the Movial-based code that's associated with the WiFi calling feature.

Good news - T-Mobile may be moving away from Movial, and this is my reasoning:

I attend an Art Club on my campus grounds at SUNY-WCC and our meeating place, AAB 406, is surrounded by concrete and cell reception is typically next to nothing. I had this issue until around January 21st, when I hooked up to WiFi and actually had bars, as well when I didn't previously.

After some 611 calls and a mutual probe, I concluded that SIM cards labeled TM9289 or higher were granted a discreet update that provisions improved reception when connected to WiFi and utilizes EDGE or UMTS to provide essential voice and SMS coverage.

Call it a hunch, or call me crazy...but look into that if you can...
[Nexus 4 General] gorilla p:
That could make sense, because there have been instances of T-Mobile telling some N4 owners that they can have WiFi calling, despite no major TMobile updates. I wonder if it has to do with something like you're talking about.

Perhaps I should find a reason to get a new Sim card.
[Nexus 4 General] code65536:
Are you sure? Because IMS was not ready for 5.0 and isn't enabled. It'll probably be in 5.1, though.

Have you tried disconnecting from WiFi when you're in that room while standing in the same place? Does the T-Mobile stuff stop working after disconnecting? If so, does it come back after reconnecting to WiFi?

T-Mobile is installing a lot of DAS (distributed antenna system) in high-density areas (like NYC) for indoor coverage to get places that its tower network can't penetrate, and public places like university campuses and shopping centers are the kinds of places where DAS is used. So it's possible that might be what you saw.
[Nexus 4 General] furboom1240:
Not sure...

Well, since I'm still using API 19 (KitKat or CM11-M12), I'm not aware of any recent commits on any higher API level...but if I find out more, I'll edit the post you quoted...
[Nexus 4 General] furboom1240:
Wrong API

Jeez...I've had a bad day, and for an individual who proclaims tidiness on my own page, I feel quite stupid for doubling up...
[Nexus 4 General] gorilla p:
Per above convo, I'm pretty sure something changed with the latest SIMs. For the past 6mo, my phone never got ANY reception in the elevator of my apt building, but I recently got a new SIM card (previous one had occasional data drops and prompting to re enter PIN).

Now in the elevator, I ha e 2G/EDGE available when before, I didn't even ha e a standard voice connection.

Sent from my Nexus 4
[Nexus 4 General] code65536:
A SIM shouldn't affect reception, though. In your case, my guess is that your previous SIM was defective and had trouble registering on the 2G network, and maybe you didn't notice it as much as long as you were on 3G.
[Nexus 4 General] gorilla p:
I agree that may have been the issue. I had that Sim for about 3yrs and it was cut from standard to micro size

Sent from my Nexus 4
[Nexus 4 General] alroger:
Wow... and I thought this thread would help.

"Wifi Calling" is a specific feature that some phones have, like Samsung. Not at all the same as calling thourgh wfi, VoIP or SIP. (actually it probably relies on some hidding SIP config).

Just now it's starting to come up down here in Brazil, and my OnePlus One doesn't have it.

Wifi Calling lets you call using your own number, tied to your own provider (not some third party VoIP provider), using your own account, charges (or no charges, like local calling), billing history and all in the same place as your actual mobile provider.
[Nexus 4 General] xWolf13:
Wow... Over a year old thread and you still want to explain to us. We know what WiFi Calling is, all GorillaP was explaining was that there are ALTERNATIVES to it that can easily mitigate anyone's needs.
[Nexus 4 General] opssemnik:
is there wifi calling here? O_o
[Nexus 4 General] alroger:
Yeah, Porto Conecta in Sao Paulo.
[Nexus 4 General] 7uck123:
I'm willing to donate 20$
[Nexus 4 General] NardVa:
This bounty is still alive. We about to be on the Nexus 8.
[Nexus 4 General] spotsbimmer:
I'm in too

Put me down for $20 as well. The total should be getting up there by now!
[Nexus 4 General] khanh1289:
The bounty is basically enough to buy a t9 at off contact price... Maybe not from T-Mobile but other sources.

Sent from my Blenzderz 9000
[Nexus 4 General] crr127:
Would be an awesome port! Can't wait!
[Nexus 4 General] maddoggin:
Anyone have a ROM from L9?
[Nexus 4 General] Fataldesain:
Does WiFi calling use your mins because if it does then this is not worth it really. I would still donate but I can't seem to get answer on this.
[Nexus 4 General] maddoggin:
Look 3 pages back the author of this thread has said "absolutely not" and he works for t- mobile. So .......!
[Nexus 4 General] Eric-1987:
Wow so it doesn't take your minutes? Now I want it count me in for 5. I'm broke leave me alone.
[Nexus 4 General] Whosdaman:
This is why I want the WiFi Calling feature for the Nexus 4. And we now are at $500+
[Nexus 4 General] PcFish:
The Wi-Fi calling that T-Mobile provides uses minutes and texts. I don't know what other people are talking about. It says it in the settings on my HTC One S.

It was REALLY convenient when I didn't have service or in Canada.

On a side note.

I remember editing build prop to improve data speeds on my One S.

Is it possible to cut that and paste it in the build prop on my Nexus 4?
[Nexus 4 General] Whosdaman:
That means you don't have the free WiFi calling code attached to your account.
[Nexus 4 General] zim2dive:
Either way.. the reception inside buildings is so awful .. Wifi calling let's you still have "great reception" even inside. And I've used it outside the country (had to call to get that enabled) and had no international roaming to worry about (as long as I was at a place with Wifi connection).

its a great feature, IMO.