T-Mobile Galaxy S6 Battery Woes

I’ve been using a T-Mobile Galaxy S6 since the device launched with T-mobile’s … more

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

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

71 posts
Thanks Meter: 17
By sevet, Member on 20th November 2011, 08:47 AM
Post Reply Subscribe to Thread Email Thread
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.
Last edited by sevet; 24th November 2011 at 09:35 AM.
The Following 12 Users Say Thank You to sevet For This Useful Post: [ View ]
22nd November 2011, 06:49 PM |#2  
Junior Member
Thanks Meter: 0
You are Awesome! Thank you for posting this. I just setup my phone with this and it works great.
26th January 2012, 03:29 AM |#3  
Junior Member
Thanks Meter: 1
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: [ View ]
26th January 2012, 05:46 PM |#4  
Junior Member
Thanks Meter: 0
tryed not working stoped at temp file cretion is showing an eror cant go further plz help
28th January 2012, 11:04 PM |#5  
disconnecktie's Avatar
Senior Member
Thanks Meter: 1,321
Does this change your phone to use 3g to make calls? If so that is excellent.

Sent from my Sabotaged Droid Incredible 2.
30th January 2012, 03:44 AM |#6  
whisky_x's Avatar
Thanks Meter: 50
Thanks, but why don't we use SIP third-party such as Sipdroid, 3CXPhone...? I think they are easy to use.
30th January 2012, 10:12 AM |#7  
mundy725's Avatar
Senior Member
Flag Baku
Thanks Meter: 51
Nice work , What about Xperia Lines, will there appear 3G video calling button ?
30th January 2012, 01:30 PM |#8  
nelsonw's Avatar
Senior Member
Thanks Meter: 437
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!
31st January 2012, 02:36 AM |#9  
lotherius's Avatar
Recognized Developer
Flag Houston, TX
Thanks Meter: 600
Donate to Me
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, 196 views)
4th February 2012, 02:44 AM |#10  
dre89's Avatar
Senior Member
Flag DFW, TX
Thanks Meter: 20
Nice, surprisingly easy, almost to much so lol
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes