[DEV] GSM phone calls on Nexus 7 3G

Synman

Recognized Developer
Nov 2, 2010
826
547
0
Outside Philadelphia
www.shellware.com
Build just finished (my mbp took a nap some time during the weee hours of the morning).

Code:
Creating filesystem with parameters:
    Size: 681574400
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6944
    Inode size: 256
    Journal blocks: 2600
    Label: 
    Blocks: 166400
    Block groups: 6
    Reserved block group size: 47
Labeling /system as u:object_r:system_file:s0
Created filesystem with 1048/41664 inodes and 51191/166400 blocks
+ '[' 0 -ne 0 ']'
Install system fs image: out/target/product/tilapia/system.img
out/target/product/tilapia/system.img+out/target/product/tilapia/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=695844864 blocksize=4224 total=200720657 reserve=7028736
DroidDoc took 886 sec. to write docs to out/target/common/docs/doc-comment-check
Will mount system as raw a little later today to see what all is missing driver wise. If it looks complete I'll do a fastboot flash. I did see Mms.apk in /system/app and the gsm permission is in there too.

I do want to close the loop on the additional app options you mentioned. I see them in /system/app (I do not believe VoiceDialer was previously present -- could be wrong though).
 

TinTin

Inactive Recognized Developer
Mar 12, 2003
281
18
0
Hamburg
mytd2.blogspot.com
I used maguro as a reference.
Might be worth looking at Mako too, because there are a few things in the config.xml which I'm not sure if they're in Maguro as well. See 4.2.1 config.xml here; https://android.googlesource.com/de...rameworks/base/core/res/res/values/config.xml

Things like:
Code:
    <!-- The duration (in milliseconds) that the radio will scan for a signal
         when there's no network connection. If the scan doesn't timeout, use zero -->
    <integer name="config_radioScanningTimeout">9000</integer>
Code:
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
    <bool name="config_cellBroadcastAppLinks">true</bool>
Code:
    <string-array name="config_usbHostBlacklist">
        <!--  /dev/bus/usb/001 is used for the modem -->
        <item>/dev/bus/usb/001</item>
    </string-array>
+ a few things concerning tethering in there too!
 

yksxjan

Member
Nov 26, 2012
6
1
0
Just add this sort of a test also - connect the Nexus using bluetooth to a car telephony system and see if that makes any changes/opens some possibilities.
 

Shinj1EVA

Member
Mar 4, 2008
45
43
0
CM 10.1 with Telephony

I built with most of the changes recommended by TinTin and I see Phone and Messaging were built. I don't have a microSIM to test with though. Anyone want to try or mirror? PM me.
 

Shinj1EVA

Member
Mar 4, 2008
45
43
0
Radio should be working. I have the AT&T sim, but i'm currently in Israel, so that won't work here. I'll grab one from orange to test tomorrow.

Meanwhile, here's the link screen shot. I'll PM you the link.

Sent from my Nexus 7 using xda premium
 

Attachments

Last edited:

punshkin

Senior Member
Jan 6, 2010
1,021
257
0
<!-- This device is not "voice capable"; it's data-only. -->
<bool name="config_voice_capable">false</bool>

<!-- This device does not allow sms service. -->
<bool name="config_sms_capable">false</bool>

<!-- This device does allow sms service. -->
<bool name="config_sms_capable">true</bool>
i doubt it will be that easy but has someone tried building with
<bool name="config_voice_capable">true</bool>
?
 

mateorod

Inactive Recognized Developer
Nov 16, 2011
1,981
3,503
0
New Orleans
www.gigmasters.com
i doubt it will be that easy but has someone tried building with

?
That will engage the dialer and allow VOIP. But it isn't enough to get data calls, as per people who have tried. And you don't need to build to make this change. If you are using a deodexed rom, you can run it through my tool the auto-patcher

Code:
./auto_patcher ROMSNAME.zip voice
and then flash the zip it outputs.

If you have stock, you will have to do it by hand after building apktool (unless peaches and paul have released the 4.2 version yet? I haven't looked since I built mine.)
 
  • Like
Reactions: punshkin

Synman

Recognized Developer
Nov 2, 2010
826
547
0
Outside Philadelphia
www.shellware.com
Read the OP, guys... #3 ... already been re-answered once before.

I pulled in the grouper device drivers and "cross-linked" tilapia with them since apparently we can run group roms without issue, assuming you can live without 3G.

Additionally, I "cross-linked" to maguros gsm driver and we'll see how that goes.

Same place I was last night, except i'm now including some form of drivers.

full-apn
full-telephony
+gsm permission
voice enable = true

Will look at adding / removing product features once I get a build that doesn't brick and can determine what works/doesn't.

Also -- there are no binaries for tilapia on CM's github. Looks like that repo is merely their "bolt-on" to AOSP. If they do have a working experimental ROM my guess it is with the grouper drivers.

Will likely be morning / mid day before I have another update. AOSP builds are a smidge on the slow side.

mateorod, i haven't seen a new pre-compiled release of apktool. Before I cut over to source building I was using their git repo to make apktool, decompile framework-res and repackage.
 
Last edited: