yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] mpdt:
How I got WiFi Calling to Work.

1. Get the latest SIM card form your local T-Mobile store.

2. I used Titanium Backup Pro to remove Facebook, Twitter, and Google Maps for the system partition.

I then installed those three apps from the Marketplace into the user partition.

This gave around 17MB's of free space within the system partition.

3. Installed the latest wifi-calling-htcleo-gb-xxxxxxxx_for_SD.zip with Clockworkmod Recovery.

Yes, I will have to repeat steps 2 and 3 when new updates come out, but with Titanium Backup Pro I can also remove apps I don't use from the system partition.
[HD2 Android NAND Development] albanianbrotha:
Thought I'd chime in and let you know that I'm using tytung's NexusHD2 V2.8 ROM and this wifi-calling app. It is causing my phone app to force close after the first call. Also, if I don't reboot the phone after a call, my phone doesn't ring anymore because it thinks it's still in a call for some reason. I get the "in-call volume" when i try to turn the volume up on my device.

I'm reading here that the MIUI ROMs work with this app, but I really like stock android.
[HD2 Android NAND Development] ikkeenjij36:
it works well on the phone but providers network tmobile nl doesnt support this
[HD2 Android NAND Development] trex3300:
The following set-up seems to work for most people:

(1) Get new sim card from T-Mobile

(2) Flash NexusHD2-Gingerbread_V2.7_NAND

(3) Flash wifi-calling-htcleo-gb-20110515

Good luck.
[HD2 Android NAND Development] Darnell_Chat_TN:
Is there any way to determine whether a SIM card someone already has is new enough by looking at the Card its self or some setting value on the device?

I got my SIM when i purchased my HD2, in March 2010. Since I was new to T-Mobile USA. I'm not sure if people having issues have something newer than mine or not. Mine looks like the one on their web site though. Is there any way to determine whether a card is old or new besides whether it works with WiFi calling?
[HD2 Android NAND Development] trex3300:
This thread might help you out, otherwise it take less that 1 minute for Tmobile to switch you to a new free SIM card:

http://xdaforums.com/showthread.php?t=738327
[HD2 Android NAND Development] fivefingerdeathpunch:
good question. i dont know the answer other than to try wifi calling with your sim card. if your phone freezes as soon as the app says enabling then you might need a new one. i would say that you should just get one anyway... they are free so its not like you have to pay for it.
[HD2 Android NAND Development] Darnell_Chat_TN:
Thank you for the link. It looks like I should go get a new SIM.

Given the heat index where I live is 104F, I try not to go out for anything unless I have to :D .
[HD2 Android NAND Development] trex3300:
PPP/RMNET Switch

Hey Tytung,

Please take a look at the two links below and see if it make sense to you. it was about switching SD Build to RMNET from PPP and deleting /system/ppp might not be enough, please forgive me if I am wrong.

Thanks.

http://xdaforums.com/showpost.php?p=12322504&postcount=124

http://xdaforums.com/showpost.php?p=12406277&postcount=131
[HD2 Android NAND Development] mpdt:
That's when I got my HD2 as well, and I can say that the SIM will cause the phone to freeze.
[HD2 Android NAND Development] jayr415:
Hi, I understand that the first post tells people trying to install Wi-Fi calling on other roms to: Flash wifi-calling-htcleo-20110508.zip

I was wondering is that still the case, or has it not been updated? If I'm trying to install Wi-Fi calling on another ROM would it be 20110505 or the newest version posted? Thanks
[HD2 Android NAND Development] tytung:
You need to replace wifi-calling-htcleo-20110508.zip with the newest version.

Moreover, you still need to modify it before flashing in other ROMs.

No universal update package for all ROMs.
[HD2 Android NAND Development] jayr415:
Thank you for the response =) Going to a Tmobile store later on to get a new SIM, then going to try and install Wi-Fi calling and see how it works.. Thanks again
[HD2 Android NAND Development] Darnell_Chat_TN:
Not working with the 2.8 update...

So I got the new SIM, loaded up the WiFi calling app. Then found it does not work and causes the device to not get a phone signal when you're using NexusHD2-Gingerbread_V2.8_NAND_(Android-2.3.4)_update. Since it works with 2.7, but apparently not with 2.8.
[HD2 Android NAND Development] Darnell_Chat_TN:
And it seems that uninstalling won't be easy to do. I cannot force stop the app, but the app force closes when I try to run it. So Android says it's running and gives me the option to Force Stop, which does not work. Yet the app force closes when I try to run it.

I've got Autostarts. I disabled the WiFi Calling app there in the "After Startup" section, rebooted and the WiFi calling app still runs at startup :eek: . I can't kill the app via System Panel either.

I've got to find a way to get this thing off without having to wipe everything.

Anyone using the WiFi calling update should do a backup via CMR first.
[HD2 Android NAND Development] jjrumph:
Have you tried uninstalling using titanium backup, if you have TB. The apj is listed there and can be uninstalled from there as well
[HD2 Android NAND Development] Darnell_Chat_TN:
Tried freezing it via Titanium Backup, that has also failed. Since a root uninstaller worked for someone I've tried uninstall via Titainum backup and that worked after a reboot. But I'm still not getting any phone signal.
[HD2 Android NAND Development] Darnell_Chat_TN:
I think I damaged my SIM card when I took it out and put it back in while trying to troubleshoot issues when I had the WiFi calling app installed.

Oh this is going to be lovely, trying to get a 2nd new SIM card in the same day...

jjrumph - I was already unstalling via TB when you mentioned it, but thanks anyway :) .
[HD2 Android NAND Development] jayr415:
Hm after getting a new sim and editing my build.prop I still can't seem to get it to work. Whenever I try to open the WiFi calling application it just force closes. Any idea as to why this may be? I'm using hyperdroid cm7 and I'm aware that it hasn't been tested if it works for that particular rom but the kernel is r10. Curious as to why it's just force closing. Thanks
[HD2 Android NAND Development] OCedHrt:
Interesting discovery I made is that you can have RMNET while having /system/ppp without even restarting the phone. All you have to do is start the wifi calling app, enable it, and then disable it - it enables the rmnet interface.
[HD2 Android NAND Development] Darnell_Chat_TN:
Got yet another new SIM card. Still could not get any phone signal. So I went into CMR, did a wipe/factory reset, then reinstalled NexusHD2-Gingerbread V2.8, then applied cLK_ppp_tytung_r10_update.zip. When I boot into Android it cannot see the SIM at all. So I'll have to keep trying things till I get this resolved. I doubt I damaged the previous SIM card now, but something has been messed up ever since trying the WiFi calling app.
[HD2 Android NAND Development] trex3300:
Are you able to get data/internet connection after turning off wifi? (not just wifi calling app)

Are you sure you are using SD build and not Nand?
[HD2 Android NAND Development] firemanj79:
Is there a zip for WiFi on the new miui I hope it can be done
[HD2 Android NAND Development] Darnell_Chat_TN:
So I flashed back to WM stock and still had SIM issues. Put the SIM into my backup device (Touch Pro 2) and it worked fine. So I've damaged my HD2's SIM card slot when I was pushing and pulling the SIM card earlier :(:(:( .
[HD2 Android NAND Development] fivefingerdeathpunch:
try and find out whats the problem. hopefully it can be fixed someway. maybe you could try cleaning the connector? dunno really. im hoping for the best for you though!
[HD2 Android NAND Development] tytung:
You can flash v2.8 again.

WiFi Calling stuff will disappear.
[HD2 Android NAND Development] Shawner:
I've experienced FC issues with the phone app also on 2.7T (no other add-ons).

I've isolated the following potential/coincidential causes so far:

Call path 1 ("line 1") active on call, incoming call, attempt to switch to second call path ("line 2" or "other line") w/ stock dialer and call waiting alert active

Calling outbound with Bluetooth enabled and Bluetooth Headset connected
[HD2 Android NAND Development] peepsnet:
[Q] Installing on other ROMs

The instructions for installing on other ROMs says

If you uncomment then you activate the line of code...

If you remove then you are deactivating the line of code...

Which am I doing... Turning the code ON of OFF???

Don
[HD2 Android NAND Development] tytung:
It should be "comment".

thanks
[HD2 Android NAND Development] tyrone1:
Got this to work on hyperDroid cm7. What I notice is when wifi calling is on I get 0 bars of reception yet everything works fine and calls are crystal clear.

Just curious Tytung what does the r10 update do? I installed it first with the r10 kernel update and had problems with market. Then retried without the update and it works the same without market problems.
[HD2 Android NAND Development] TEKHD:
But that's exactly how it is supposed to be... Wifi calling on... 0 reception bars because the voice is going thru wifi... Voip... Reception is deactivated...
[HD2 Android NAND Development] tyrone1:
Great thank. Awesome app.... I have perfect reception at home and work....

Also it works for sending and receiving sms in places where no reception was before...
[HD2 Android NAND Development] TEKHD:
Yeap... In my case is vital... 0 reception at home... :( lol
[HD2 Android NAND Development] jayr415:
So I mentioned the problem with the application force closing on Hyperdroid CM7. Well I read in the G2x forums that the wifi calling application doesn't work if the dpi or lcd density is changed. So with Hyperdroid at 167 lcd density stock, I changed it to to 240 and wa-la the application opens with no force close. I'm currently away from any wifi sources so I can't test the actual application but the application no longer force closes.. So if anyone has that problem try changing lcd density. But on another note.. Is there any possible way to have the application run on other lcd density settings? I really like the 167. Thanks

Edit: tried using this method

http://xdaforums.com/showthread.php?t=1072439

So far the application runs also with modified lcd density.. No clue if it works 100% until I get home and use my wifi.. If anyone else wants to try it first and let me know that would be awesome.

Caught a small bit of wifi here at work, tried out a call and text.. seems to be working with the froyo wifi calling apk and 167 lcd density.. Fingers crossed it stays working lol ... May see a quick force close every reboot but application runs fine afterwards
[HD2 Android NAND Development] silverdart:
wifi-calling

I tried the method for other ROMs but it did not work. Reviewed tytungs kernel thread and it is already set up for wifi. So I:

1. Restored my backup (CWM)

2. Downloaded Jun. 28 update wifi-calling-htcleo-gb-20110628.zip (for MAGLDR)

3. Copied my original build prop to my desktop and added wifi calling code posted

4. Deleted build prop inside wifi-calling-htcleo-gb-20110628.zip and added modified one from my desktop.

5. Flashed wifi-calling-htcleo-gb-20110628.zip with CWM and wifi calling worked right away with no problems.

*** UNDERSTAND THAT I DID NOT DELETE OR COMMENT ANYTHING ***

hyperDroid cm7 / t-mobile htc hd2/ original tytung r10
[HD2 Android NAND Development] trex3300:
PPP / RMNET Switch

Hi Tytung,

I know you are busy with AGPS development, however, can you make the RMNET work on your SD build when you have time. Deleting /system/ppp file to switch to RMNET does not work. I am still trying to use wifi calling with your SD build. Please help.

Thanks a lot.
[HD2 Android NAND Development] tytung:
I think it may be kernel related.

If you know which kernel supports RMNET on SD build, you can change the kernel for testing.
[HD2 Android NAND Development] dublus:
Tytung, I also have a quick question that might help make wifi calling more universally available.

Can you point some of us to where we cam learn how to generate applicable logcat data for the Kineto app? Also, is it possible to generate and retrieve such logcat data when the problem being investigated causes a complete phone freeze? Lastly, if/when the log has been generated, would this be the best place to post it?

Thank you!
[HD2 Android NAND Development] trex3300:
Your kernel seems to be the most popular, perhaps the best one out there, many developers used your kernel as well. So I am staying with only your build and kernel. However, does the following comments from 3dak regarding RMNET switch on SD build make sense to you:

http://xdaforums.com/showpost.php?p=12322504&postcount=124

http://xdaforums.com/showpost.php?p=12406277&postcount=131

.
[HD2 Android NAND Development] tytung:
Update to a new type of SIM card if you get your phone frozen.

Don't need to provide any logs.
[HD2 Android NAND Development] dublus:
I should have mentioned I already have the new SIM.

The wifi app works perfectly for me except it occasionally (~1 in 5 times) freezes the phone when either the app is turned off or wifi signal drops or is turned off. I'm on TyphooN and where I work the tmo signal is very weak.
[HD2 Android NAND Development] tytung:
When you want to switch from PPP to RMNET.

You should delete /system/ppp file manually.

And make sure you install wifi-calling-htcleo-gb-20110709_for_SD.zip correctly.

These similar steps work for NAND ROM, not sure about SD build.

I don't have WinMo installed, so I cannot test anything.

The posts that you provide just do the switch tasks automatically.
[HD2 Android NAND Development] tytung:
I can't answer you because I never enable WiFi Calling successfully since I 'm not a T-Mobile customer.

Wait for other TyphooN users to answer your questions.
[HD2 Android NAND Development] trex3300:
Wificalling works fine with your SD build as I detailed here. The only issue is that RMNET is not enabled on the SD build after /system/ppp is deleted manually. Maybe it is a kernel issue as you mentioned earlier.

Thanks Tytung for your time and patience.
[HD2 Android NAND Development] dublus:
Thanks Tytung, but I was just hoping to get help with logcat.
[HD2 Android NAND Development] tytung:
Ok. Please type lsmod from adb shell or gscript to make sure RMNET kernel module is loaded correctly.

# lsmod
lsmod
bcm4329 192733 0 - Live 0xbf00b000
tun 10434 0 - Live 0xbf006000
msm_rmnet 2024 0 [permanent], Live 0xbf000000 (P)

Then you will see some info below in logcat when you turn off WiFi and check Data enabled in Mobile network settings.
[HD2 Android NAND Development] tytung:
The related info is in the 1st post.
[HD2 Android NAND Development] dublus:
OMG, I've read that first post a thousand times and I never noticed that before... thanks!
[HD2 Android NAND Development] trex3300:
Gscript return the following error:

stderr: bcm4329: not found

stderr: tun: not found

stderr: syntax error: "(" unexpected
[HD2 Android NAND Development] tytung:
Well, you only need to type lsmod.

The following is the result. (It means three kernel modules are loaded.)
[HD2 Android NAND Development] trex3300:
Please forgive my ignorance

I ran lsmod and get the following result

kineto_gan 2885 0 - Live 0xbf00b000 (p)

tun 10434 0 - Live 0xbf006000

msm_rmnet 2024 0 [permanent], Live 0xbf000000 (P)

Still no data with /system/ppp already deleted
[HD2 Android NAND Development] tytung:
It's correct.

How about logcat when you turn off WiFi and check Data enabled in Mobile network settings?

Do you see the following info?
[HD2 Android NAND Development] tytung:
I suggest you flash another ROM that other users have made WiFi Calling working to exclude any uncertainty.
[HD2 Android NAND Development] dublus:
I had strongly considered that and almost did but it isn't so easy when there are 5 of us (and nobody else has a clue about any of this). Right now, I just don't have enough time in case something goes wrong. It took a long time to convince my wife to try a rooted HD2 and with the wifi app so close to being perfect I was hoping something might stand out in the logs. Nothing there?
[HD2 Android NAND Development] trex3300:
Trying to get a logcat log by the procedure that you posted on the first post, all I got were 3 blank log files after running the bat files. (Clearly a user error, must not know what I was doing). I grab an aLogcat app from the market that shows so much log info none of which looks like what you asked me to look for. I am sure it is very easy, I just need to figure out the bloody logcat. It's a good thing you a such a patient person.
[HD2 Android NAND Development] trex3300:
Attached is the logcat log using the aLogcat app from the market. Hope it hepls.
[HD2 Android NAND Development] tytung:
Which version of TyphooN ROM do you use?

Did you ever try to replace libaudio.so?

Some people had frozen phone issue after using Viber or Skype in my ROM.

http://xdaforums.com/showthread.php?t=905060&page=597

And it also happens in TyphooN ROM.

http://xdaforums.com/showthread.php?p=16055686&highlight=skype#post16055686

So I think you can try different libaudio.so.

http://xdaforums.com/showpost.php?p=15836754&postcount=14163
[HD2 Android NAND Development] dublus:
Thank you - I will look at that. I truly appreciate your time.

I have Skype installed but not running (not even a service) but I will remove it as well.
[HD2 Android NAND Development] tytung:
WiFi has higher priority than 3G data connection.

Do you turn off WiFi first in order to start establishing 3G data connection?

Besides, please provide the logs after reboot.

You may check "rmnet" by yourself.
[HD2 Android NAND Development] trex3300:
Steps:

(1) WiFi off

(2) Data on

(3) Reboot

Attached is the logcat log after reboot, thanks.
[HD2 Android NAND Development] runeblade:
Port this to Motorola Defy

Hi! - I don't own an HD2, I have a Motorola Defy. However I am running Cyanogen 2.3.4. I've been hunting for a solution for a while now to get Wifi calling running on the Defy under Cyanogen and your solution is the closest I have seen to making it possible. It appears that I should be able to get this working by modifying the build.prop, and init.rc, but is there anything else in the process that I need to be aware of in trying to get this running on this device? Any advice or direction you can provide would be helpful. Thanks!
[HD2 Android NAND Development] dublus:
I tried all three libaudio.so found in the third link and the phone freeze still occurs. Does your ROM use a different libaudio.so?
[HD2 Android NAND Development] muchelaguito:
I should mention that I have exactly the same issue. I'm using your own NAND ROM NexusHD2-Gingerbread V2.8T

For me, it happens 99% of the time. I have the latest version, I task29'd before flash and fix permissions/ wipe cache/wipe dalvik. Also, I notice that sometimes the phone dialer application force closes on me. At least twice a day. Any info you want me to collect?

Extra info: I'm using MAGLDR version. The latest one.
[HD2 Android NAND Development] dublus:
I wonder if we have something in common that we added. For example, I use Volume+. Over the past few months I have added quite a few apps and tools that I suppose could be negatively interacting with the wifi calling app. I have a daughter with a relatively clean install of TyphooN. I will try the wifi calling app on her phone to see if the same freeze problem occurs. Have to wait a week until she gets back in town.
[HD2 Android NAND Development] tytung:
I got libhtc_ril.so and libhtc_ril_switch.so from a WiFi Calling enabled HTC ROM.

If you want to use WiFi Calling on Motorola devices, you need to know which Motorola ROM supports WiFi Calling and get the corresponding libXXX_ril.so from it.
[HD2 Android NAND Development] tytung:
I include gpc's libaudio in my ROMs.
[HD2 Android NAND Development] muchelaguito:
I'm not sure it is related to apps. I upgraded today to the newest ROM he published today and the issue is still there, although a bit less. Now it happens like 2 times out of every 5 or so. This are the apps related to voice or wifi I have installed:

Barnacle WiFi tether

WiFi Switch (it's a simple toggle button on the status bar)

WiFi Analyzer

I have it this time over a 150/5 partition just in case I decide to switch ROMs. At least, so far, I haven't had any dialer FC.

Edit: Scratch the "no dialer FC", started making and receiving calls and had FCs again :(
[HD2 Android NAND Development] dublus:
I'm downloading your ROM and will extract the libaudio.so to see if it makes any difference.
[HD2 Android NAND Development] beston94:
So um this will never work for Non-tmobile users? OR maybe it will ?:D
[HD2 Android NAND Development] dublus:
The only thing I have installed that is specific to sound or wifi is Volume+ and Sound Manager. I have other things installed that might be generically related to all apps such as System Tuner Pro.

I really got spoiled using my Blackberry 9700. I could start a phone call, leave the house for work (only 3 minute drive), walk into work and the call would hop from my home wifi, to cell tower, to work wifi without me ever noticing. I understand that the Android app doesn't handle the same "handoff" between connections but I sit in a cell signal dead spot at work so I've got to get this going somehow.
[HD2 Android NAND Development] muchelaguito:
Nope, it will never work. It's basically a VPN to T-Mobile's network, using VoIP instead of gsm signal. It's exclusive to that provider.
[HD2 Android NAND Development] dublus:
Switching libaudio.so from the one included in TyphooN to the one included in NexusHD I was able to enable and disable wifi calling five times before the phone froze. That's about the same as it was before and wasn't overly surprising considering the fact that muchelaguito has the same freezing problem using NexusHD.
[HD2 Android NAND Development] Stroid01:
I installed the latests rom after a fresh task 29.

If i flash the rom, then DarkTremor A2SD (DT), then wifi calling...the DT works but not wifi calling.

If I flash the rom, then wifi, then DT then DT doesnt work.

Any help...this is frustrating.
[HD2 Android NAND Development] trex3300:
Hi Tytung,

The link to the Wificalling-SD is pointing to the Wificalling-Nand, please fix it.

Thanks,
[HD2 Android NAND Development] tytung:
Which one?

Every new link on Aug. 02 is correct.
[HD2 Android NAND Development] scariola:
Curious as to...

I had tried the previous version of wifi-calling, and with typhoons latest 3.5.4, the wifi calling flashes and works, yet the phone landscape orientation is not working.

Anything to try with regards to orientation settings being messed up?
[HD2 Android NAND Development] trex3300:
Yes the August 02 updates. wifi-calling-htcleo-gb-20110802_for_V2.9T_SD.zip and wifi-calling-htcleo-gb-20110802_for_V2.9T_NAND.zip are pointing to the same Nand file.
[HD2 Android NAND Development] tytung:
Sorry. I only checked the 1st post.

wifi-calling-htcleo-gb-20110802_for_V2.9T_SD.zip download link is correct now.
[HD2 Android NAND Development] trex3300:
Thank you.
[HD2 Android NAND Development] muchelaguito:
Question Dublus: Did Wifi calling app installation on the TyphooN ROM was seamless? just flashing the ZIP? or you need to do some tweaking on top.
[HD2 Android NAND Development] dublus:
Someone in the TyphooN thread posted a zip they made and that's what I've been using lately. It has the correct files and makes it easier. Before I started doing it that way I would follow the guide on the first page.
[HD2 Android NAND Development] Stroid01:
Tytung have you seen this before?
[HD2 Android NAND Development] tytung:
No.

I cannot use WiFi Calling because I'm not a T-Mobile customer and I never use apps2sd personally.