Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,156 Members 40,339 Now Online
XDA Developers Android and Mobile Development Forum

[25.June.2012][Dev] T-Mobile WiFi Calling Apps and Libs

Tip us?
 
tytung
Old
(Last edited by tytung; 25th June 2012 at 07:15 PM.) Reason: June 25 update: WiFi-Calling-htcleo-ICS_for_NAND_v3.1.zip
#1  
tytung's Avatar
Senior Member - OP
Thanks Meter 15055
Posts: 3,573
Join Date: Jun 2010
Question [25.June.2012][Dev] T-Mobile WiFi Calling Apps and Libs

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

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.


May 20 update:
Included the latest ICS libs and app from the HTC Sensation ROM.
Since I am not a T-Mobile customer, I cannot test it.
But I think it may work for you.
Please flash WiFi-Calling-htcleo-ICS_for_NAND_testing-0520.zip and report your result.


Sep. 13 update:
Included the latest lib and updated settings of default.prop from HTC Glacier ROM.

Aug. 23 update:
The universal update file for NAND is finished.
I found that /system/default.prop has higher priority than /system/build.prop, so I moved WiFi Calling setup info from build.prop to default.prop.
It's just a re-package for all Gingerbread ROMs. No new features.
Known issues:
Quote:
If WiFi Calling makes yours phone freeze for whatever reasons, you should try the following steps.

====== The below info can be ignored. ======


Aug. 2 update:
Only build.prop is changed to match V2.9T NAND and SD.

Jul. 9 update:
Please replace wifi-calling-htcleo-gb-20110709_for_SD.zip (for WM6.5) after using NexusHD2-Gingerbread_V2.8_SD_(GB-2.3.4).7z on WM6.5.


Jun. 28 update:
Please flash wifi-calling-htcleo-gb-20110628.zip (for MAGLDR) after flashing NexusHD2-Gingerbread_V2.8_NAND_(Android-2.3.4)_update.zip.
P.S. Only build.prop is changed to match V2.8T.


Jun. 24 update:
Good news here. WiFi Calling works well for most people now.
Update your SIM card [pictures], then your phone won't get frozen. (It's very very important.)
Reference post.



Jun. 5 update:
Please flash new wifi-calling-htcleo-gb-20110515 new for miui 1.5.20.zip. (Thanks to calculus.)
P.S. Only build.prop is changed.


May 18 update:
Please flash wifi-calling-htcleo-gb-20110518.zip (for MAGLDR) after flashing NexusHD2-Gingerbread_V2.7_NAND_(Android-2.3.4)_update.zip.


May 8 update: T-Mobile WiFi Calling on NexusHD2-Gingerbread V2.7T
In order to enable WiFi Calling, we need to remove libhtc_ril_wrapper.so in init.rc and load libganril.so from build.prop instead.
Thus, you must have MAGLDR 1.13 bootloader on device if you want to use WiFi Calling and 3G/HSDPA mobile network (RMNET).
  • CWM: backup and restore => Backup you current ROM first. (Required)
  • CWM: wipe data/factory reset to have a clean installation.
Quote:
Installation Guide for NexusHD2-Gingerbread V2.7:
  1. Flash MAGLDR
    • Download MAGLDR 1.13 (606 KB)
    • Enter SPL by holding VOL DOWN key while booting the phone. (Make sure you have HSPL.)
    • Run ROMUpdateUtility.exe to flash MAGLDR 1.13 (magldr.nbh).
  2. Flash ClockworkMod Recovery
    • Download MAGLDR_CWM_Recovery_v3.0.2.5_for_NexusHD2_135M.zip (5.1 MB)
    • Enter MAGLDR 1.13 by holding power key while booting the phone, and then select "USB Flasher" via "VolUp" and "VolDown". Confirm key is green "Call" button.
    • Edit flash.cfg and change "system ya 135M" to "system ya 145M". (Or use another method to enlarge your system space in order to provide enough space for WiFi Calling libs and apps.)
    • Run DAF.exe to flash ClockworkMod Recovery 3.0.2.5 (MAGLDR_recovery_3.0.2.5.img).
  3. Flash Android ROM
  4. Flash WiFi Calling libs and apps

WiFi Calling works on HTC HD2 according to the following posts. (But some people still have wifi calling app freeze issues. No solution so far.)

Credits for WiFi Calling: zinx, unforgiven512, krohnjw, tytung, etc.

Quote:
Installation Guide for other ROMs:
  1. Make sure you have at least 15 MB free system space. Type adb shell df command to check the system space.
  2. Make sure you remove libhtc_ril_wrapper.so in init.rc.
  3. Make sure you add WiFi Calling settings in build.prop.
  4. Flash kernel_tytung_r10_update.zip (for Gingerbread 2.3.4 only)
    • Modify init.htcleo.rc and change service dhcpcd_eth0 to service dhcpcd before flashing kernel_tytung_r10_update.zip on Gingerbread 2.3.3.
  5. Flash wifi-calling-htcleo-20110508.zip
    • Get build.prop from your original ROM.
    • Edit build.prop with the following WiFi Calling settings.
      • Comment or remove rild.libpath=/system/lib/libhtc_ril.so
        Code:
        Select Code
        #rild.libpath=/system/lib/libhtc_ril.so
      • Add
        Code:
        Select Code
        # WiFi Calling #
        rild.libpath=/system/lib/librilswitch.so
        rilswitch.vendorlibpath=/system/lib/libhtc_ril.so
        rilswitch.ganlibpath=/system/lib/libganril.so
        mobiledata.interfaces=gannet0,rmnet0,rmnet1,rmnet2,ppp0,ppp1,ppp2
        # Extras #
        # Uncomment the following line if you enjoy having the 3G prefix :)
        #ro.ril.enable.3g.prefix=1
        ro.ril.def.agps.feature=1
    • Update your modified build.prop to /system/build.prop in wifi-calling-htcleo-20110508.zip before flashing it.
If you're trying WiFi Calling and encounter any issues, please provide the logs of logcat. Thanks.
Code:
Select Code
adb wait-for-device shell "logcat | grep 'KIPC\|GAN\|Kineto'" > logcat_Kineto.log
adb wait-for-device shell "logcat -b radio" > logcat_radio.log
adb wait-for-device shell "logcat" > logcat_ALL.log

Below info is for NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip only.
Apr. 25 update:
Please flash tytung_r9_wificalling_update20110425.zip (for cLK and MAGLDR) after flashing NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip.


Apr. 23 update:
Please flash cLK_tytung_r9_wificalling_update20110423.zip (for cLK and MAGLDR) after flashing NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip.


Apr. 18 update:
I have added Kineto Gan stuff in my r9 kernel to support WiFi Calling for T-Mobile USA users.
Current WiFi Calling app works on Froyo and Gingerbread.
I'm not a T-Mobile user, so I get Invalid SIM error and cannot do more testings when running WiFi Calling app.
If you are a T-Mobile customer and want to test my modified NexusHD2-Gingerbread ROM, please follow the steps below.

According to T-Mobile Wifi Calling thread in Nexus S forum, we need a compatible RIL (libhtc_ril.so) (maybe need a compatible radio too) that supports WiFi Calling.


Installations:
You should have either MAGLDR 1.13 or cLK 1.4 bootloader on device.
  • CWM (ClockworkMod) Recovery Version via SD card (Flash update.zip)
    • Installing CWM_Recovery_for_NexusHD2 (135MB system and 2MB cache) (Required)
    • For Android installation you need to enter CWM Recovery.
    • CWM: backup and restore => Backup you current ROM first. (Required)
    • CWM: wipe data/factory reset to have a clean installation. (Required)
    • CWM: install zip from sdcard: locate NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip to finish the Android installation.(Required)
Quote:
Installation Guide for MAGLDR 1.13:
  1. Flash MAGLDR
    • Download MAGLDR 1.13 (606 KB)
    • Enter SPL by holding VOL DOWN key while booting the phone. (Make sure you have HSPL.)
    • Run ROMUpdateUtility.exe to flash MAGLDR 1.13 (magldr.nbh).
  2. Flash ClockworkMod Recovery
    • Download MAGLDR_CWM_Recovery_v3.0.2.4_for_NexusHD2_135M_rboot.zip (RAW boot partition) (4.17 MB) (Apr. 16)
    • Enter MAGLDR 1.13 by holding power key while booting the phone, and then select "USB Flasher" via "VolUp" and "VolDown". Confirm key is green "Call" button.
    • Run DAF.exe to flash ClockworkMod Recovery 3.0.2.4 (MAGLDR_recovery_3.0.2.4.img).
  3. Flash Android ROM
Quote:
Installation Guide for cLK 1.4:
  1. Flash cLK
  2. Flash ClockworkMod Recovery
    • Download cLK_1.4_CWM_Recovery_v3.0.2.4.zip (4.2 MB) (Apr. 13)
    • Enter fastboot mode by holding back key (left arrow) while booting the phone.
    • Run fastboot_install_recovery.bat to flash ClockworkMod Recovery 3.0.2.4 (cLK_1.4_recovery_3.0.2.4.img).
  3. Flash Android ROM
NexusHD2-Gingerbread_V2.6T_WiFi-Calling_update_20110418.zip uses PPP by default and is compatible with cLK and MAGLDR.
You can delete /system/ppp file to switch to RMNET mode in MAGLDR. (cLK doesn't support RMNET.)
Apr 25: After installing new tytung_r9_wificalling_update.zip, your phone will be changed to RMNET mode.
Attached Thumbnails
Click image for larger version

Name:	NexusHD2-Froyo_V1.9G_WiFi-Calling.jpg
Views:	5484
Size:	21.3 KB
ID:	570687   Click image for larger version

Name:	NexusHD2-Gingerbread_V2.6T_WiFi-Calling.jpg
Views:	7397
Size:	20.4 KB
ID:	571517  
The Following 44 Users Say Thank You to tytung For This Useful Post: [ Click to Expand ]
 
scariola
Old
#2  
scariola's Avatar
Senior Member
Thanks Meter 417
Posts: 1,156
Join Date: Nov 2009
Location: Sandy Eggo, CA
Are you effin kidding me? Is this a work in progress or a test of something real?

Will follow directions and report back.

T Mobile USA Here!!

THANKS!!
The Following User Says Thank You to scariola For This Useful Post: [ Click to Expand ]
 
tytung
Old
#3  
tytung's Avatar
Senior Member - OP
Thanks Meter 15055
Posts: 3,573
Join Date: Jun 2010
Quote:
Originally Posted by scariola View Post
Are you effin kidding me? Is this a work in progress or a test of something real?

Will follow directions and report back.

T Mobile USA Here!!

THANKS!!
A test of something real, but I cannot guarantee it will work.
Some devs said that WiFi Calling is dependent on the radio firmware.
Since our radio is designed for Windows Mobile 6.5, and it should not support WiFi Calling on WM.
However, the test is still worth it.
The Following 6 Users Say Thank You to tytung For This Useful Post: [ Click to Expand ]
 
darkanubispr
Old
#4  
Member
Thanks Meter 12
Posts: 98
Join Date: Apr 2010
Location: Manati PR

 
DONATE TO ME
Right now im installing the rom as soon I test it i'll post any bug or crash...
If this work for you please hit the thanks button
Device: T-Mobile USA HTC HD2
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR 1.13 by Cotulla
Android ROM: NexusHD2-Gingerbread V2.7 NAND (Android 2.3.4) | Kernel: tytung_r10
 
darkanubispr
Old
#5  
Member
Thanks Meter 12
Posts: 98
Join Date: Apr 2010
Location: Manati PR

 
DONATE TO ME
I'm a tmousa user and the wifi calling app keep in the enabling state after 10 minutes connected over wifi the rom its very fast but the program didn't work for me and I have radio 2.15.50.14
If this work for you please hit the thanks button
Device: T-Mobile USA HTC HD2
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR 1.13 by Cotulla
Android ROM: NexusHD2-Gingerbread V2.7 NAND (Android 2.3.4) | Kernel: tytung_r10
 
scariola
Old
#6  
scariola's Avatar
Senior Member
Thanks Meter 417
Posts: 1,156
Join Date: Nov 2009
Location: Sandy Eggo, CA
Quote:
Originally Posted by darkanubispr View Post
I'm a tmousa user and the wifi calling app keep in the enabling state after 10 minutes connected over wifi the rom its very fast but the program didn't work for me and I have radio 2.15.50.14

+1 to what he said

Using clK 1.4 version
 
darkanubispr
Old
#7  
Member
Thanks Meter 12
Posts: 98
Join Date: Apr 2010
Location: Manati PR

 
DONATE TO ME
Quote:
Originally Posted by scariola View Post
+1 to what he said

Using clK 1.4 version
And im using magldr and after 30 minutes never connect the app
If this work for you please hit the thanks button
Device: T-Mobile USA HTC HD2
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR 1.13 by Cotulla
Android ROM: NexusHD2-Gingerbread V2.7 NAND (Android 2.3.4) | Kernel: tytung_r10
 
cxdatl
Old
#8  
cxdatl's Avatar
Senior Member
Thanks Meter 16
Posts: 105
Join Date: Oct 2008
Location: Atlanta
it didn't work for me. But its a great rom.
 
tytung
Old
(Last edited by tytung; 18th April 2011 at 07:31 AM.) Reason: change to logcat | grep RIL
#9  
tytung's Avatar
Senior Member - OP
Thanks Meter 15055
Posts: 3,573
Join Date: Jun 2010
According to T-Mobile Wifi Calling thread in Nexus S forum, we need a compatible RIL (libhtc_ril.so) and radio that supports WiFi Calling.

If you're using this ROM, please provide the logs of logcat and dmesg.

Code:
Select Code
adb shell
logcat
logcat | grep Kineto
logcat | grep RIL
Then replace with a different libhtc_ril.so and reboot to try again.
Code:
Select Code
adb push libhtc_ril.so /system/lib
adb reboot
Thanks.
Attached Files
File Type: zip libhtc_ril.zip - [Click for QR Code] (238.0 KB, 146 views)
The Following 2 Users Say Thank You to tytung For This Useful Post: [ Click to Expand ]
 
darkanubispr
Old
#10  
Member
Thanks Meter 12
Posts: 98
Join Date: Apr 2010
Location: Manati PR

 
DONATE TO ME
Quote:
Originally Posted by tytung View Post
According to T-Mobile Wifi Calling thread in Nexus S forum, we need a compatible RIL (libhtc_ril.so) and radio that supports WiFi Calling.

If you're using this ROM, please provide the logs of logcat and dmesg.

Code:
Select Code
adb shell
logcat
logcat | grep Kineto
dmesg | grep RIL
Then replace with a different libhtc_ril.so and reboot to try again.
Code:
Select Code
adb push libhtc_ril.so /system/lib
adb reboot
Thanks.
Which radio do you suggest to try?
If this work for you please hit the thanks button
Device: T-Mobile USA HTC HD2
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR 1.13 by Cotulla
Android ROM: NexusHD2-Gingerbread V2.7 NAND (Android 2.3.4) | Kernel: tytung_r10

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes