Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,893 Members 42,683 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] GSM phone calls on Nexus 7 3G

Tip us?
 
kRt_uK
Old
(Last edited by kRt_uK; 11th December 2012 at 06:17 PM.)
#1  
Member - OP
Thanks Meter 97
Posts: 87
Join Date: Apr 2009
Default [DEV] GSM phone calls on Nexus 7 3G

BEFORE YOU POST HERE - Keep in mind this is now a DEV thread and only those with a glimpse of DEV knowledge should be posting.
There is other thread with the same subject open to everybody discuss it.

Please, this thread isn't related to VOIP, SIP calls or Tethering and
It's only to 3G version of Nexus 7.


What do you think is the possibility of us getting this function guys, even if its not officially supported.

I've seen it built in on the 7" samsung galaxy tab 2.

http://www.youtube.com/watch?v=wZ9RN...t=HL1351349133

At the moment we know:

1- The chipset Intel (Infineon) XMM6260 is built-in on Nexus 7 3G (the same chipset is in that rather long list of phones). It means no hardware limitations.

http://forum.xda-developers.com/show...0#post34386544
http://pdadb.net/index.php?m=specs&i...exus_7_3g_32gb
http://forum.xda-developers.com/show....php?t=1483053

it also the same controller is in the following devices

- Lava XOLO X900 [Phone]
- Lenovo K800 [Tablet/Pad]
- LG-P920 (LG ?) [Phone]
- LG-P925 (LG Optimus 3D?) [Phone]

- Huawei E369 (3G Hi-Universe) [USB 3G Modem]
- Huawei MU733/MU739 [PC/CE Module]
- Samsung Galaxy Nexus (I9200) [Phone]

2- SMS texting works perfectely with the native mms.apk but MMS messages crash the app (missed mms APN + framework parameters?)
http://forum.xda-developers.com/show...1998702&page=4

3- Modified framework-res.apk (by modifying bools.xml entry to name="config_voice_capable">true) shows up the native dialer (phone.apk) on the UI
JB 4.2 http://forum.xda-developers.com/show...958686&page=12
JB 4.2.1 http://forum.xda-developers.com/show...&postcount=314

4- When placing calls trough the native dialer (phone.apk) with Skype app installed, it shows up a white menu asking "Do you want to complete this action using..." the options are "Mobile data" (w/ phone.apk blue icon) or "Skype" (w/ skype icon) and "Always" or "Just Once" (perhaps there is missing a "Phone" profile (or APN) as an option too)

5- If Skype is chosen, the call is complete and everything goes well, but if "Mobile data" is chosen, we get a single sound (bip) and the call is not complete.

6- Changing the DPI to 320 in build.prop file allow us to add a SIP account (SIP calls using native dialer is now possible), DPI could be restored after SIP account settings done.
http://forum.xda-developers.com/show...0#post34752693

Detailed informations come from the thread in XDA developers at:
http://forum.xda-developers.com/show....php?t=1958686

--------------------------------------------------------
UPDATE 5th Dec 2012 by Synman

ok, I hacked NetworkPolicyManager and am no longer crashing. Network time appears to be non-functional for the time-being. Network status is a little wonky too ... even though I have a good network signal the network icon never switches from gray to blue.
MMS send/receive is fully functional (with the exception of screwed up timestamps)

Pulled down master AOSP branch
Pulled down grouper binaries

working with grouper device

Modified device.mk
- use init.tilapia.rc
- use tilapia overlay
- remove SimpleSMS
- remove ro.carrier=wifi_only

Modified full-grouper.mk
- ref full_base_telephony in place of full_base
- added full apns

Modified device-common.mk
- added gsm permission

system.prop
replaced ref to libril-icera with libxgold

tilapia overlay
- removed single apn rules
- set voice-enabled
- added mms values

NetworkPolicyManager
- removed call to time.getMaxPeriod
The Following 46 Users Say Thank You to kRt_uK For This Useful Post: [ Click to Expand ]
 
kRt_uK
Old
(Last edited by kRt_uK; 2nd December 2012 at 12:41 PM.)
#2  
Member - OP
Thanks Meter 97
Posts: 87
Join Date: Apr 2009
I tried to make a summary of the whole work on the previous thread assuming it will be much more productive.
If someone has a suggestion to the OP please let me know and I change it to keep more updated as possible.
The Following 2 Users Say Thank You to kRt_uK For This Useful Post: [ Click to Expand ]
 
Ather
Old
#3  
Ather's Avatar
Retired Senior Moderator
Thanks Meter 113
Posts: 3,504
Join Date: May 2007
Location: East Riffa
te framework linked above is for 4.2 ROM, the 4.2.1 is on page 32 ; http://forum.xda-developers.com/show...&postcount=314
Visit my Tech Blog
Current Device:
HTC One M8
Running Stock Android 4.4.2


Older Devices:
hTC Himalaya | hTC Wizard | hTC Kaiser | hTC Touch Pro 2 | hTC Dream | Samsung Galaxy S II | iPhone 4 | hTC One X | Acer Iconia A100 | Nexus 7 3G | Samsung Galaxy Note II | Samsung Galaxy S4 | Samsung Galaxy Note 3
The Following 3 Users Say Thank You to Ather For This Useful Post: [ Click to Expand ]
 
Synman
Old
#4  
Synman's Avatar
Recognized Developer
Thanks Meter 453
Posts: 709
Join Date: Nov 2010
Location: Outside Philadelphia

 
DONATE TO ME
I've done a bit more digging within the 4.2.1 source and until we have the device specific portions of the build we are going to keep struggling.

Everything I'm seeing comes back to the framework.

I'm currently focusing on getting a build of Mms.apk bypassing framework and, while slow and tedious, I'm making progress.

My current line of thinking (open to discussion, please) is that the framework hooks we need are simply missing in our build.

Keep in mind this is now a DEV thread and only those with a glimpse of DEV knowledge should be posting.


Sent from my Galaxy Nexus using Tapatalk 2
AR.Pro - Poke Back - Adaptive Tuner --<>-- G-Tablet, Xoom, Galaxy Tab 10.1, Streak 7 4G, MID PD10 3G, Galaxy GT-I9100, & GT-I9250
The Following 6 Users Say Thank You to Synman For This Useful Post: [ Click to Expand ]
 
TinTin
Old
(Last edited by TinTin; 2nd December 2012 at 11:02 PM.)
#5  
Recognized Developer
Thanks Meter 18
Posts: 268
Join Date: Mar 2003
Location: Hamburg
I'm wondering if the parameters in line 40 have anything to do with it.

https://android.googlesource.com/dev...ues/config.xml
 
TinTin
Old
(Last edited by TinTin; 2nd December 2012 at 11:13 PM.)
#6  
Recognized Developer
Thanks Meter 18
Posts: 268
Join Date: Mar 2003
Location: Hamburg
Quote:
Originally Posted by TinTin View Post
Oooh Lines 183-184 are even more interesting:

Code:
    <!-- This device is not "voice capable"; it's data-only. -->
    <bool name="config_voice_capable">false</bool>
Or is this the variable you guys already used to enable the dialer? And that's all it does?
The Following User Says Thank You to TinTin For This Useful Post: [ Click to Expand ]
 
Synman
Old
(Last edited by Synman; 2nd December 2012 at 11:13 PM.)
#7  
Synman's Avatar
Recognized Developer
Thanks Meter 453
Posts: 709
Join Date: Nov 2010
Location: Outside Philadelphia

 
DONATE TO ME
Yeah, we've already hacked that one... Its how we got the native dialer.

#3 in OP

Sent from my Galaxy Nexus using Tapatalk 2
AR.Pro - Poke Back - Adaptive Tuner --<>-- G-Tablet, Xoom, Galaxy Tab 10.1, Streak 7 4G, MID PD10 3G, Galaxy GT-I9100, & GT-I9250
The Following User Says Thank You to Synman For This Useful Post: [ Click to Expand ]
 
TinTin
Old
(Last edited by TinTin; 2nd December 2012 at 11:25 PM.)
#8  
Recognized Developer
Thanks Meter 18
Posts: 268
Join Date: Mar 2003
Location: Hamburg
Quote:
Originally Posted by Synman View Post
Yeah, we've already hacked that one... Its how we got the native dialer.
What about line 40? Did you try changing parameters yet? to like

Code:
<item>"mobile,0,1,1,-1,true"</item>
Or other combinations.
The Following User Says Thank You to TinTin For This Useful Post: [ Click to Expand ]
 
Synman
Old
#9  
Synman's Avatar
Recognized Developer
Thanks Meter 453
Posts: 709
Join Date: Nov 2010
Location: Outside Philadelphia

 
DONATE TO ME
I haven't compared them to a galaxy nexus framework yet. Is that where those came from?
AR.Pro - Poke Back - Adaptive Tuner --<>-- G-Tablet, Xoom, Galaxy Tab 10.1, Streak 7 4G, MID PD10 3G, Galaxy GT-I9100, & GT-I9250
 
TinTin
Old
(Last edited by TinTin; 2nd December 2012 at 11:37 PM.)
#10  
Recognized Developer
Thanks Meter 18
Posts: 268
Join Date: Mar 2003
Location: Hamburg
Quote:
Originally Posted by Synman View Post
I haven't compared them to a galaxy nexus framework yet. Is that where those came from?
Oh, nevermind. The Mako (Nexus 4) has the same values
0,0,0,-1,truefor "item" mobile in it's 4.2.1 config.xml, so this is not it I guess.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes