Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,466 Members 49,623 Now Online
XDA Developers Android and Mobile Development Forum

[DEV][20.11.2011] Android Gingerbread SIP over 3g for (probably) every GB based rom

Tip us?
(Last edited by sevet; 24th November 2011 at 09:35 AM.)
Member - OP
Thanks Meter 17
Posts: 71
Join Date: Dec 2006
Default [DEV][20.11.2011] Android Gingerbread SIP over 3g for (probably) every GB based rom

Here is a bit of why I wrote this manual:

Back at December 2010 Paul from modaco found how to enable sip over 3g for the gingerbread native client, his original thread is here:

For chefs it is probably straight forward how to use this tip, but for me I always begged for cookers to include this in their roms usually they didn't even replay to my request, so I investigated this, and here is very easy way to enable this feature.

This guide assumes you are a little familiar with changing files on your ROM.

*I take no responsibility for this guide, use it at your own risk

So, what we are doing is modifying the framework-res.apk from from our framework directory.

We need:

apktools from here:

Two files are needed, this:
And this:

(You can also do this for Linux and Mac, this guide will use windows)

Take the framework-res.apk from your ROMS zip file inside /system/framework directory.

How its done:

Extract both files that you downloaded to c:\apktools (can be any dir...)
You should have 3 files.
Copy the framework-res.apk to the same directory: c:\apktools
start --> run --> cmd
cd \apktools
apktools d framework-res.apk temp

Now a folder named temp will appear named temp
inside temp, edit the file: C:\apktools\temp\res\values\bools.xml
I use notepad++, search for a line:
<bool name="config_sip_wifi_only">true</bool>th
change in the line the "true" into "false"
save the file.
go back to cmd
cd \apktools
apktools b temp temp.apk

Now rename your original framework-res.apk to
open it with winrar/winzip/7zip it will open like regular archive.

take the file that was created by the build process:

Use this file to replace the file inside the archive of (overwriting the original, inside the zip)
rename the file back to framework-res.apk

And now you have a sip over 3g enabled framework-res.apk.

There are few options to push this file, easiest is just replace it in your ROM zip and flush the ROM, you need to wipe cache and dalvik cache.

There are other ways to push this to your rom but I won't discuss them here.

I used this on stock roms, AOSP roms, MIUI roms and Sense roms, worked for me on all, if you find a roms it doesn't work on please report.

Thats it, its actually quite easy.
The Following 12 Users Say Thank You to sevet For This Useful Post: [ Click to Expand ]
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Mar 2006
You are Awesome! Thank you for posting this. I just setup my phone with this and it works great.
Junior Member
Thanks Meter 1
Posts: 1
Join Date: Dec 2009
Smile Great Process, a few little remarks

This is a great process tutorial and within 15 minutes I flashed my HTC Sensation to support Internet calls on 3G/4G, while before it was WiFi ONLY.
So now, no need to have any cellular minutes purchased, have DATA have LIFE.

1. Have only 2 files. You mentioned 1 download and then 2 more. The 1st is duplicated withing the 2.
2. The BAT file is apktool.bat and not apktools.bat.

Other then that, SWEEET.

Toda Raba.


---------- Post added at 04:29 AM ---------- Previous post was at 04:11 AM ----------

HTC Sensation T-Mobile.
Forgot to mention earlier.
The Following User Says Thank You to easyb For This Useful Post: [ Click to Expand ]
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jan 2009
Default HI

tryed not working stoped at temp file cretion is showing an eror cant go further plz help
disconnecktie's Avatar
Senior Member
Thanks Meter 1,168
Posts: 4,998
Join Date: Oct 2011
Does this change your phone to use 3g to make calls? If so that is excellent.

Sent from my Sabotaged Droid Incredible 2.
whisky_x's Avatar
Thanks Meter 50
Posts: 42
Join Date: Oct 2011
Thanks, but why don't we use SIP third-party such as Sipdroid, 3CXPhone...? I think they are easy to use.
mundy725's Avatar
Senior Member
Thanks Meter 51
Posts: 186
Join Date: Mar 2011
Location: Baku
Nice work , What about Xperia Lines, will there appear 3G video calling button ?

When you try to help someone you 'drop a happy pebble into the sea of life!' The ripples spread out and touch all of us.
nelsonw's Avatar
Senior Member
Thanks Meter 419
Posts: 2,176
Join Date: Jun 2009
I tried on Wet Dreams 1.3.0 for Atrig 4G and didn't works (Didn't show SIP Calling option)... maybe my mistake or isn't working with Moto's 2.3.6 build. But I asked to be added by the chef! Thanks for this tip!
If I was helpful please give Thanks!

Current Phone Samsung i9300

FORMER Devices:

HTC One X 32GB White
Atrix 4G
Samsung Captivate i897
HTC Fuze
HP iPaq 910c
Treo 650
lotherius's Avatar
Recognized Developer
Thanks Meter 590
Posts: 2,057
Join Date: Jan 2009
Location: Houston, TX

If SIP options are not present in your Settings.APK it may have been disabled by the carrier.

The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.

Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Attached Files
File Type: zip - [Click for QR Code] (659 Bytes, 191 views)


Device Details:

PHONE: Nexus 5 - Stock / Xposed
TABLET 1: 2013 Nexus 7 LTE - Stock / Xposed
TABLET 2: 2012 Nexus 7 - Stock / Xposed / F2FS
PREVIOUS PHONES: Nexus 4 / LG G2X / Vibrant 3G / MyTouch 3G / LG Xenon / HTC G1 / HTC Touch Vogue / Sanyo KATANA / Motorola V220 / Nokia 5160 / Tin Can
COMPUTER: Self-Built - Core i5 4670, 8GB DDR3, 240gb M500 SSD, OMFG Terabytes (7 TB last count), stuffed in a 2008 Dell XPS 730 case with a 27" AOC Monitor.
Google Plus
dre89's Avatar
Senior Member
Thanks Meter 19
Posts: 184
Join Date: Feb 2010
Location: DFW, TX
Nice, surprisingly easy, almost to much so lol

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Real-World Battery Saving Tips for Android – XDA Developer TV

You need Real-World Battery Saving Tips for your Android device. Our … more

Android L Will Have Data Encryption Turned On by Default

Android L, once it is eventually released, will featuredata encryption turned on by … more

Lock Apps and Functions Easily with Droid Protector

Access and security are some of the key issues facingmobile technology. Whether … more

ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more