yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dandambeanu:
I was just wondering if WiFi calling is working on any SD roms be it ginger-bread or ICS. Currently I'm running ICS 2.3 from SD card since I'm not quite ready to give up Windows 6.5 because of one paid software that is not available in Android.

Issue is that after WiFi calling turns on, the data portion quits working. The comments I've seen so far do state that WiFi calling is not possible on RMnet without giving up data but it will work on PPP but has generally a lot more issues with speeds and drop-out that grossly outweighs the benefit.
[HD2 Android NAND Development] tytung:
WiFi Calling is not related to NAND ROM or SD build.

WiFi Calling and RMNET (3G) works well at the same time on Gingerbread.

However there're some 3G issues on ICS according to the user feedback.
[HD2 Android NAND Development] cajunflavoredbob:
If you plan to continue working on WiFi calling, I'll help. I assume you just need logs after flashing.
[HD2 Android NAND Development] tytung:
Well, I found that it's HTC-RIL 4.0.0024HMQ (Mar 12 2012,16:31:54) in WiFi-Calling-htcleo-ICS*.zip releases.

However it's HTC-RIL 2.2.0054HM (Nov 30 2010,16:37:51) in WiFi-Calling-htcleo-GB*.zip releases.

Since our radio is old and cannot be upgraded, maybe you could use GB version of libhtc_ril.so while flashing WiFi-Calling-htcleo-ICS*.zip.

You may need GB version of libril.so as well.

No logcat, no feedback from you.

Besides, I cannot test it myself because I'm not a T-Mobile customer, so no progress is normal.
[HD2 Android NAND Development] koz:
libhtc_ril.so from the GB zip dropped into ICS zip works. I have calls & sms working, but no mms through wifi (I'm not sure if this is normal).

There was no libril.so in the GB zip.

The rom I'm using is ParanoidAndroid 1.2a on NAND.

Thanks, tytung!
[HD2 Android NAND Development] tytung:
Any differences between the ICS version of libhtc_ril.so and the GB version?
[HD2 Android NAND Development] koz:
Evidently so, but I have no idea what they are. ICS didn't work for me until I dropped that file into the zip. I was only going off your recommendation & giving feedback on the results. Sorry I can't be of more help.
[HD2 Android NAND Development] joshnchen:
Can you upload the hybrid file you created?
[HD2 Android NAND Development] koz:
After some more testing, this is what I'm finding:

1. When I said 'it works', I should have been more specific. Previously, when I used the ICS zip, it killed my data. With the GB file included in the ICS zip, I no longer have the data problem. The problem is that I tried the ICS zip (without GB file) on another version of ParanoidAndroid ROM (v1.1). I'm now on PA v1.2, but I didn't try the unmodified ICS zip prior to the ICS zip with the GB file. So, I'm not sure if its a change in the ROM or the change with the libhtc_ril.so file (however, I'm guessing its the libhtc_ril.so).

2. Wifi calling doesn't register on the network unless 'wifi preferred' is selected under 'connection preferences'. It won't register under 'wifi only'. However, if I start the app under 'wifi preferred' it will register and then I can switch to 'wifi only'.

If you want, please PM me @ the logcat files if they'll be of more help.

Sorry joshnchen - no offense, but I'd rather not clutter up this thread with files that aren't, for sure, working completely. If you'd like to duplicate what I did, all it involves is dragging and dropping one file (libhtc_ril.so) from this zip:

http://hotfile.com/dl/149602168/ba019b6/WiFi-Calling-htcleo-GB_for_NAND_v2.zip.html

to this zip

http://xdaforums.com/attachment.php?attachmentid=1072593&d=1337524552

Then install it on your phone as you would any other zip.
[HD2 Android NAND Development] tytung:
June 18 update:

The universal update file for both MAGLDR and cLK is finished.

Mobile data issue is fixed. It works well on MAGLDR. Please test with cLK.

Please flash WiFi-Calling-htcleo-ICS_for_NAND_v2.zip and report your result.
[HD2 Android NAND Development] 5800xm_user:
Can I flash newest update on GB rom?
[HD2 Android NAND Development] cajunflavoredbob:
Let us know when you find out.
[HD2 Android NAND Development] brabbit2244:
hey tytung, i have an extra sim card that is on my account you can use as long as you dont use data. if it would help, pm me and i can get you address. if your in US
[HD2 Android NAND Development] darkanubispr:
I think the app crashed but please post the steps you follow to install the rom and any app you install and please post the logcat of the process and a full logcat it may help
[HD2 Android NAND Development] darkanubispr:
I dont think he's from the US because the only phone companies that use the HD2 in US are Simple mobile and Tmobile both the same company
[HD2 Android NAND Development] tytung:
Having a working SIM card would help but I live in Taiwan.

So your suggestion is not acceptable.

Anyway, thanks.
[HD2 Android NAND Development] tytung:
Apr. 25: new kernel.

Please flash tytung_r9_wificalling_update20110425.zip (for cLK and MAGLDR).

Changlog:

Fixed the mobile service after reboot. (Don't need to toggle airplane mode.)

Changed some configs to support more types of PPP. (It may improve WiFi Calling connection. Not sure.)

Known issue:

You can only use RMNET on MAGLDR if you need 3G network. In other works, cLK doesn't support 3G nerwork so far because libhtc_ril_wrapper.so is disabled.

Getting Log:

If your have a Windows PC, please download android-sdk-platform-tools_r3-lite_for_windows.zip. (Apr. 27)

Decompress the zip file to any folder, plug USB cable from your phone to PC, and then run those three batch files (.bat) to get logs.

You need to run them when you see the X boot animation.

It will launch three cmd.exe windows to record logs until you close the cmd.exe window.

If any of cmd.exe windows closes itself when in X boot animation.

Please re-run them immediately to make sure there're three cmd.exe windows for logging radio, Kineto, and all logs.

UMA Error Codes:

http://www.blackberryfaq.com/index.php/Wifi_/_UMA_Error_Codes

Make sure you phone can browse the Web first, and then check if IPSec is enabled on the wireless router you are trying to use.

Reboot the wireless router or change to another Wi-Fi environment if you have.

From my reading, some people using WiFi Calling on other phones also encounter the network connectivity issue if their wireless router is not configured properly.

[B]W005.4[/B] - T-Mobile network error. Retry.
[B]W005.5[/B] - T-Mobile network error. Retry.
[B]W005.6[/B] - T-Mobile network error. Retry.
Meaning: The phone is unable to establish network connectivity.
1. Retry connecting to the network.
2. Reboot the wireless router.
[HD2 Android NAND Development] zero324:
I just ran the update that tytung posted and so far everything is working perfectly every time. I've made a few calls with no issues and also noticed that the performance isn't degraded like before when wifi calling enabled.

I tried to download the file posted for getting logs but the link shows to be invalid.

I will be going to an area later today that has no service so i'll really get to test out wifi calling.
[HD2 Android NAND Development] aa2aa:
This is what I did:

- full wipe (format sd card etc)

- flash recovery (MAGLDR_CWM_Recovery_v3.0.2.4_for_NexusHD2_135M_rboot.zip)

- flash rom - choose zip from sd card (NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip)

- flash rom - choose zip from sd card (tytung_r9_wificalling_update20110425.zip)

- reboot

But as soon as I start the wifi calling app, phone freezes and I have to remove the battery.

Do you know what I am doing wrong?
[HD2 Android NAND Development] `SBR`:
+1 phone freezes in the Wifi enabling screen...

any solution..
[HD2 Android NAND Development] zero324:
Well after more testing I can enable wifi calling and make calls with no issues but as soon as I recieve a call my phone locks totally up.

If anyone else has this happen here's a little tip I learned the hard way. After rebooting you will have to go back into wifi calling and turn it off even thou the notification bar says it's not. Once you do that and turn off your wifi you will get your ability to make calls back but you will have to reboot your phone for your data to come back. Airplane mode nor turning data off and on again will bring your data usage back until you reboot.

Below is a screen shot from my phone showing it does work. :-)
[HD2 Android NAND Development] tytung:
Sorry, I have fixed the download link.

android-sdk-platform-tools_r3-lite_for_windows.zip

http://www.multiupload.com/DVPPLJ44AS
[HD2 Android NAND Development] zero324:
Thanks tytung. Here are my logcats from those bat files you uploaded.
[HD2 Android NAND Development] tytung:
It's great/exciting to hear that WiFi Calling is working now. :)

So making calls is Ok but receiving calls will lag the phone.

What situation do you have when receiving a call? When the screen is on or off.

Please delete /system/app/GanOptimizer.apk and try again.

(GanOptimizer sets wifi to high performance mode while on a wifi call.)

And check your Wi-Fi sleep policy in Advanced menu in Wi-Fi settings.

Default is "When screen turns off" in Wi-Fi sleep policy.

I'm wondering if GanOptimizer and Wi-Fi sleep policy may affect with each other.
[HD2 Android NAND Development] aa2aa:
Tytung, do you have any suggestions for people who are experiencing a freeze when wifi calling is enabled?
[HD2 Android NAND Development] tytung:
I forgot to say that you need to run those three batch files right after booting your phone.

Close those command windows when you see WiFi Calling is Ready or after you make a WiFi call.

So the complete logs will be logged.

Can you re-create the logs again?

Thanks.
[HD2 Android NAND Development] tytung:
Give me your logcat.

Otherwise I don't know what happened.
[HD2 Android NAND Development] zero324:
Here are the logs created after rebooting and after making a WiFi call.
[HD2 Android NAND Development] cmylxgo:
Fantastic progress on this tytung! I think I am going to have some free cycles tonight after work and I'm going to dig into this and see what I can do to help. I would love to have this feature baked into my T-Mobile HD ROM.

-CMYLXGO
[HD2 Android NAND Development] mattbenj:
I got the same results. I've tried two ways so far - both by starting with these steps:

- full wipe (format sd card etc)

- flash recovery (MAGLDR_CWM_Recovery_v3.0.2.4_for_NexusHD2_135M_rb oot.zip)

- flash rom - choose zip from sd card (NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip)

- flash rom - choose zip from sd card (tytung_r9_wificalling_update20110425.zip)

- reboot

The first time I setup wifi and went directly to the wifi calling app and it locked up. I started from scratch and setup everything again - setup wifi first, rebooted, then went to the wifi calling app - locked up. I let it sit for 10 minutes, but no joy.
[HD2 Android NAND Development] Derek0228:
me too :(
[HD2 Android NAND Development] djemil:
Seems to work

THANX

I made and received calls

Thank you so much
[HD2 Android NAND Development] 5800xm_user:
lost data so had to restore and flash old version
[HD2 Android NAND Development] cajunflavoredbob:
You should just use the old version on GB ROMs anyway. Nothing is wrong with it. It always worked perfectly fine for me.
[HD2 Android NAND Development] 5800xm_user:
Ya just wanted to be curious of the newer versions :D

old one works with no problems. ;)
[HD2 Android NAND Development] cajunflavoredbob:
Yea, this one is just to sort out the problems of ICS users.

I'll test it with logs tonight when I get home.
[HD2 Android NAND Development] Hammerfest:
true and false at the same time, if hes using MAGLDR then the old one is fine, otherwise IIRC the old one didnt support cLK and the new one does...

its all a wash anyway, the file specifically has ICS in the name, he asked about GB, so if hes GB and cLK then hes SOL unless GrandMasterOP sees fit to update the older GB release for compatibility with cLK otherwise its ICS and MAGLDR/cLK only and GB on MAGLDR only :X

(will fact check then edit if needed)

EDIT: going by his post it appears hes using GB and MAGLDR, so the statement is partially true...

ICS update: MAGLDR and cLK

GB: MAGLDR ONLY!

I myself use cLK and would like to see an update bringing cLK compatibility to GB, again, "like to", not a demand or anything in that area, so please dont take it as such (this last month or 2 people are ready to insert words into anyones statement and jump to conclusions about anything said w/o thinking it over first...)
[HD2 Android NAND Development] cajunflavoredbob:
Older one worked fine for me on cLK. I haven't used MAGLDR in a long time.
[HD2 Android NAND Development] Hammerfest:
Ah see I went with Simple Mobile at the time because the reports where, and OP has even said that it didnt work with GB and cLK combo... You sure you used GB/cLK and TMobile WiFi calling?

Either which way, I cant test unless someone can confirm because a switch from SM to TMo is a PITA for me living in the sticks :D
[HD2 Android NAND Development] cajunflavoredbob:
Positive. I've only been using ICS since hardware acceleration was fixed. Before that was GB/cLK. WiFi calling worked just fine. I was using cLK 1.4 at the time, though. I'm on 1.5 now. Never tried it with GB and cLK1.5
[HD2 Android NAND Development] pianoman102:
So I only need to flash this? The first post is kind of confusing so I wanted to make sure I did this right. I'm on clk with ics tosti.
[HD2 Android NAND Development] tytung:
Yes, just flash this one, the latest version.
[HD2 Android NAND Development] pianoman102:
Awesome thanks!
[HD2 Android NAND Development] pianoman102:
Ok yup works perfectly. This is a total lifesaver!
[HD2 Android NAND Development] tytung:
Do both mobile data and WiFi Calling work for you on cLK?
[HD2 Android NAND Development] pianoman102:
Oh ya it works great on clk. With WiFi off I have data. It took a while to connect but I eventually did. With it on in bad service text works great. I haven't tried the calling yet however. But overall it's working great.
[HD2 Android NAND Development] nick2k:
issues with Wi-Fi Calling

last week my Wi-Fi calling wasn't working anymore (you can see what i was using before in my sig). the icon that's usually in the upper left hand corner to tell me it was active didn't appear anymore.

so i decided to install Tytung's ''NexusHD2-ICS-4.0.4-CM9-HWA V2.3'' ROM since there was an update to the Wi-Fi calling program by Tytung for ICS builds. but i don't think its working properly for me. it says Wi-Fi calling is active/registered with the network, but it sounds like normal un-aided calling reception. unlike the Gingerbread build with the Wi-Fi calling library which provided crystal clear clarity.

and sometime i get a "W005.4 T-Mobile Network Error". but not all the time. probably 3-4 times now since i installed the new ROM last night.

so maybe there's a bug that still needs to be ironed out? or maybe i'm missing something? :confused: i wiped (task29'd) the phone before installing Tytung's ICS ROM.
[HD2 Android NAND Development] joshnchen:
I installed the wifi calling and it seems to only work when my screen is on. So when I put my face to the phone, the sound gets all glitchy, but as soon as I pull my face away, it sounds fine. Any ideas why? I'm using MIUI ICS.
[HD2 Android NAND Development] nick2k:
^^^ same thing happens to me! when it works, that is.
[HD2 Android NAND Development] pianoman102:
Ya same here it seems. Texting works great except for mms. But calling is so glitchy. But on the plus side it works on clk and doesn't kill the data. A few bugs....
[HD2 Android NAND Development] nick2k:
yeah. texting does work great. i haven't gotten any MMS though. i rarely get them, so i can't say anything about that.
[HD2 Android NAND Development] cajunflavoredbob:
Tested on Paranoid Android 1.4a. I was using cLK 1.5. I am also using Touch Recovery Beta 8 RC1.

This was a completely clean install. The steps I followed are as follows.

I formatted /boot, /cache, /data, /system, and /dalvik each twice.

I flashed the ROM.

I rebooted into the ROM. I went through the initial Google setup.

I verified mobile data was working fine.

I signed into my WiFi network, verified it was working, then turned WiFi off.

I restarted.

On this restart, I ran logcat -v long on the boot animation. I'm not sure which tag or priority I should have been filtering for so I did everything. Once it booted this time, I checked for 3G signal, enabled WiFi, then made one call. The call went through flawlessly. I ended the call, returned to the homescreen, disabled WiFi, then rebooted into recovery. The logcat for this first control test is attached as originallogcat.txt

I then installed WiFi-Calling-htcleo-ICS_for_NAND_v2.zip, and rebooted. I began another logcat -v long on the boot animation. Once it booted, I again verified mobile data was fine, then enabled WiFi. Once I did this, the pop up box for WiFi calling came up, so I tapped the "Learn More" button. WiFi Calling immediately enabled itself and was set to WiFi Priority. I exited to the homescreen, then attempted to make a call to the same number as before. The call connected, but I could hear no audio on the HD2, nor was it sending audio out, except for a very small whisper. I had my mouth over the mic and still heard very little on the other end. I ended the call, returned to the home screen, then turned off WiFi calling, and shut down.

I was running a normal logcat in terminal while doing this. I noticed a ton of what seemed to be errors getting thrown out during the WiFi call. The terminal couldn't keep up with the text. Relevant times are listed below. This is attached as wificalllogcat.txt

EDIT: Adding possible relevant log times that I can find in the WiFi log

Timestamps are from the wificalllogcat.txt

WiFi enabled: 19:59:07.366

RIL REQUEST NOT SUPPORTED:19:59:30.896

WiFi Call placed: 20:00:09.086

Hope this helps. I can do this again if you tell me what tag/priority I need to filter for. The files had to be zipped up since the one with WiFi calling is 2.3MB due to the number of apparent errors it spit out.
[HD2 Android NAND Development] 11nn93n9:
Working nicely with my t-mobile provider on your latest ROM. In addition, I used duel boot android from SD while keeping Windows Phone 7 in NAND before. There were random reboots for all the ROMs that way. My phone won't last even a day without random reboots. Of course, I have a poor receiption situation. Now swithing to NADN, the random reboots disappeared. Only happend once on one of the ROMs among half a dozen that I tried.
[HD2 Android NAND Development] dublus:
Tytung's latest ICS ROM or latest GB ROM?
[HD2 Android NAND Development] tytung:
Which version do you get the glitchy sound when the screen is off?

WiFi-Calling-htcleo-ICS_for_NAND_v2.zip ?

WiFi-Calling-htcleo-ICS_for_NAND_testing-0520.zip ?

Or both?

Maybe WiFi is not always connected when the screen is off.

Flash GanOptimizer.apk_update.zip to see if it improves anything.

It will set WiFi to the high performance mode.
[HD2 Android NAND Development] 11nn93n9:
I an running Tytung's latest ICS ROM.
[HD2 Android NAND Development] azazellov:
Hey Tytung thanks a lot, I flashed your wifi calling zip (WiFi-Calling-htcleo-ICS_for_NAND_v2.zip) and GanOptimizer.apk_update.zip and now wifi calling works flawlessly on your ICS v2.3 ROM. That was the problem, wifi was disconnecting when the screen was off. I also set wifi to never turn off.

So basically to get Wifi calling working on ICS, at least on Tytung's ICS NexusHD v2.3 ROM, this needs to be done:

1) Flash the Zip file that sets the Wifi to high performance:

http://xdaforums.com/attachment.php?attachmentid=1148238&d=1340388909

2) Set the Wifi to never sleep (System Settings>Wifi hit menu go to the Advanced Menu, Set "Keep Wi-Fi on during sleep" to "Always")

3) Flash the latest Wifi calling zip file (WiFi-Calling-htcleo-ICS_for_NAND_v2.zip, from June 18th)

Wifi calling works great, much better than with gingerbread in my experience.
[HD2 Android NAND Development] nick2k:
niiiiiiiiiiiice. i think my Wi-Fi Calling works perfectly now! the GanOptimizer.apk_update.zip did the trick. thanks!!! :)
[HD2 Android NAND Development] 11nn93n9:
while sleeping, a call comes in but the phone is unable to connect the call. No sound, the phone seems hanging for a while and a "Process com.android.phone is not resonding. Would you like to close it? wait Ok " message pops up. I am on T-mobile using WiFi-Calling-htcleo-ICS_for_NAND_v2.zip with the latest ICS 4.0.4 r3 release ROM.
[HD2 Android NAND Development] tytung:
Did you flash GanOptimizer.apk_update.zip?
[HD2 Android NAND Development] tytung:
June 24 update:

The latest WiFi Calling packages which support both MAGLDR and cLK with working mobile data.

WiFi-Calling-htcleo-GB_for_NAND_v3.zip

WiFi-Calling-htcleo-ICS_for_NAND_v3.zip

Changelog:

GB version: add mobile data support for cLK PPP.

ICS version: add GanOptimizer.apk to set WiFi to the high performance mode.

I cannot test them. Please report your result. Thanks.

June 25 update:

Something wrong when I check PPP or RMNET on MAGLDR.

I have reupload v3.1. Please download again.

WiFi-Calling-htcleo-GB_for_NAND_v3.1.zip

WiFi-Calling-htcleo-ICS_for_NAND_v3.1.zip
[HD2 Android NAND Development] cajunflavoredbob:
I'm downloading now. I can run a logcat. Do you know what tag I should filter for? I'm testing the ICS version on cLK 1.5.

logcat -v long exports everything. I can filter out the priority as well, so it isn't as long of a file.
[HD2 Android NAND Development] 11nn93n9:
Cannnot get it to work. Tested WiFi-Calling-htcleo-ICS_for_NAND_v3.zip.

Once the app is run, it cannot be changed back. "Calling preference cannot be changed as SIM is invalid." message pops up.

Phone cannot find mobile provider any more. "Error while searching providers..." . No Access Point Names entries ini APNs.
[HD2 Android NAND Development] kylew1212:
Have you used wifi calling on the hd2 ever before? Their really is a technicality where you have to have a newer sim apparently.
[HD2 Android NAND Development] cajunflavoredbob:
Just finished testing. Everything works perfectly fine. The only things I noticed were low call volume during the WiFi call, which is normal even on my SGS2, and data takes about 30-40 seconds to turn back on after disabling WiFi.

The first connection to WiFi calling takes about 15-20 seconds before it is connected for calls.

Logcat reveals no errors or warnings.

I'd say this is the fix we've been waiting for. Thanks once again, tytung!
[HD2 Android NAND Development] 11nn93n9:
The last version worked for me. But after the phone sleeps, calls coming in cannot be picked up. With this version, calls won't even come in.
[HD2 Android NAND Development] tytung:
Which bootloader do you use? cLK? MAGLDR?

Which ROM do you use?

Do you install or set something to disable WiFi or lower the CPU frequency when the screen is off?
[HD2 Android NAND Development] tytung:
Please read this post for more.

adb wait-for-device shell "logcat -b radio" > logcat_radio.log
adb wait-for-device shell "logcat" > logcat_ALL.log

Edit:

Since the latest update works for you, you don't need to provide any logcat. :)
[HD2 Android NAND Development] supaet:
got the same, v2 ics worked for me before, but it's buggy, no sound when screen is off, freezes after accepting call.

using tytung cm9 2.3

tested v3, lost gsm connection. had to reflash cm9 2.3 to get it back. tried to flash v3 again, same issue

thanks

edit: actually, just flash back to v2, it works, but flashing to v3 again will kill gsm signal.

Thanks
[HD2 Android NAND Development] tamba52:
Same problem in Viber freezes after accepting call
[HD2 Android NAND Development] 11nn93n9:
ROM: your ICS CM9 4.0.4 HWA v2.3.

I install the ROM fresh. Then installed the softkey patches. Finally installed the Wifi calling lib. No other packages installed. When screen is off, wifi is not disabled. This seems the case since when screen back on, wifi is enabled.

I use MAGLDR+CWR to install the zip files.

Thanks.