Post Reply

[DEV] GSM phone calls on Nexus 7 3G

OP kRt_uK

2nd December 2012, 12:28 PM   |  #1  
OP Member
Thanks Meter: 97
 
87 posts
Join Date:Joined: Apr 2009
More
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
Last edited by kRt_uK; 11th December 2012 at 06:17 PM.
The Following 46 Users Say Thank You to kRt_uK For This Useful Post: [ View ]
2nd December 2012, 12:32 PM   |  #2  
OP Member
Thanks Meter: 97
 
87 posts
Join Date:Joined: Apr 2009
More
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.
Last edited by kRt_uK; 2nd December 2012 at 12:41 PM.
The Following 2 Users Say Thank You to kRt_uK For This Useful Post: [ View ]
2nd December 2012, 01:01 PM   |  #3  
Ather's Avatar
Retired Senior Moderator
Flag East Riffa
Thanks Meter: 125
 
3,543 posts
Join Date:Joined: May 2007
More
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
The Following 3 Users Say Thank You to Ather For This Useful Post: [ View ]
2nd December 2012, 04:29 PM   |  #4  
Synman's Avatar
Recognized Developer
Flag Outside Philadelphia
Thanks Meter: 453
 
710 posts
Join Date:Joined: Nov 2010
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
The Following 6 Users Say Thank You to Synman For This Useful Post: [ View ]
2nd December 2012, 10:33 PM   |  #5  
Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
268 posts
Join Date:Joined: Mar 2003
More
I'm wondering if the parameters in line 40 have anything to do with it.

https://android.googlesource.com/dev...ues/config.xml
Last edited by TinTin; 2nd December 2012 at 11:02 PM.
2nd December 2012, 10:56 PM   |  #6  
Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
268 posts
Join Date:Joined: Mar 2003
More
Quote:
Originally Posted by TinTin

I'm wondering if the parameters in line 40 have anything to do with it.

https://android.googlesource.com/device/asus/tilapia/+/bead144d1ca3f10e5ea7a93c58b35d6bc0630f80/overlay/frameworks/base/core/res/res/values/config.xml

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?
Last edited by TinTin; 2nd December 2012 at 11:13 PM.
The Following User Says Thank You to TinTin For This Useful Post: [ View ]
2nd December 2012, 11:11 PM   |  #7  
Synman's Avatar
Recognized Developer
Flag Outside Philadelphia
Thanks Meter: 453
 
710 posts
Join Date:Joined: Nov 2010
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
Last edited by Synman; 2nd December 2012 at 11:13 PM.
The Following User Says Thank You to Synman For This Useful Post: [ View ]
2nd December 2012, 11:20 PM   |  #8  
Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
268 posts
Join Date:Joined: Mar 2003
More
Quote:
Originally Posted by Synman

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.
Last edited by TinTin; 2nd December 2012 at 11:25 PM.
The Following User Says Thank You to TinTin For This Useful Post: [ View ]
2nd December 2012, 11:27 PM   |  #9  
Synman's Avatar
Recognized Developer
Flag Outside Philadelphia
Thanks Meter: 453
 
710 posts
Join Date:Joined: Nov 2010
Donate to Me
I haven't compared them to a galaxy nexus framework yet. Is that where those came from?
2nd December 2012, 11:35 PM   |  #10  
Recognized Developer
Flag Hamburg
Thanks Meter: 18
 
268 posts
Join Date:Joined: Mar 2003
More
Quote:
Originally Posted by Synman

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.
Last edited by TinTin; 2nd December 2012 at 11:37 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Nexus 7 3G Android Development by ThreadRank