Devs: Here is how to bypass native tethering entitlement check. Works on VZW or ATT

electron73

Senior Member
Mar 17, 2007
282
545
0
Vegas, baby!
Hi devs!
Back in the NOTE days I found out that in order to get the native built-in Android WIFI hotspot working WITHOUT the need to pay extra for it, all you need to do is change one line of code in the framework-res.apk.

So I'm calling on all of you to hopefully adopt this for all of your excellent custom ROMs and thereby make the extra tether apps obsolete...

In framework-res decompiled directory tree go to res/values/arrays.xml and change:

Code:
    <string-array name="config_mobile_hotspot_provision_app">
        <item>com.samsung.spg</item>
        <item>com.samsung.spg.NewSPGActivity</item>
    </string-array>
to

Code:
    <array name="config_mobile_hotspot_provision_app" />

This completely bypasses any wifi hotspot entitlement checks and lets you activate the built-in AP with no error message!
 

BeansTown106

Inactive Recognized Developer
Dec 22, 2011
3,694
54,411
0
BeanTown USA
hmm this would be nice as hotspot is basically the main apk i cant delete.. and we had it hacked on the droid x also but i dont think it was this easy we had to mod something in the nv to get it for free.. if it is this easy though hmm...
 

nosympathy

Senior Member
Dec 19, 2010
2,769
1,257
0
Cincinnati
hmm this would be nice as hotspot is basically the main apk i cant delete.. and we had it hacked on the droid x also but i dont think it was this easy we had to mod something in the nv to get it for free.. if it is this easy though hmm...
I honestly didn't think it was that easy on Verizon. OP is talking about the Note, which never came out on verizon. I have a feeling on this phone, the built in tether app isn't much different than the other LTE phones I have used, you have to rewrite parts of the framework and parts of the hotspot apk to make it not do a security check.
 

wctaylor79

Senior Member
Mar 11, 2010
350
69
48
Definitely hear ya op.. I use wifi tether no problem, but to have one app instead of two always nice. Real question remains if code works with Verizon. Did you test it on the phone or just the code from Note?
 

tpike

Senior Member
Jan 31, 2011
1,083
200
0
I'm using Wi-Fi tether 3 from the market, hack the device under options and its perfect. Very simple, been my favorite.

Sent from my SCH-I535 using Xparent ICS Tapatalk 2
 

nitroglycerine33

Inactive Recognized Developer
Nov 29, 2010
2,820
6,375
0
IA
+1

Can someone do this to the framework-res.apk for the latest stock ota?

Follow me on Twitter
@das7982
This is the same method we use on the Galaxy Nexus in AOSP source as well. Here is a modified framework-res.apk that you provided me with the provisioning removed. I do not have an SGS3 to test it with but it should work just fine. :)

Download: http://eclipserom.com/mods/click.php?id=146
 

das7982

Senior Member
Feb 28, 2012
250
310
0
Broken Arrow
This is the same method we use on the Galaxy Nexus in AOSP source as well. Here is a modified framework-res.apk that you provided me with the provisioning removed. I do not have an SGS3 to test it with but it should work just fine. :)

Download: http://eclipserom.com/mods/click.php?id=146
AWESOME!!! I knew we could count on you for help!!

Guys, In the past I have asked nitroglycerin33 to help with apk and dev related work so I went to him to see if he could decompile this badboy and allow tethering. AND HE CAME THROUGH!!! I would highly suggest a big thanks or donation for nitroglycerin33. He didn't have to do this.

Just an additional note. The framework-res.apk I gave him was for the VRLG1 release which is the latest OTA release. Not sure what this will do if you have the original release.

THANKS NITRO!!!!
 
  • Like
Reactions: Torfin

ilkevinli

Senior Member
Feb 21, 2007
268
31
58
NYC
What file did you edit ? I don't even see a "values" folder nor a arrays.xml file in the framework-res apk.



This is the same method we use on the Galaxy Nexus in AOSP source as well. Here is a modified framework-res.apk that you provided me with the provisioning removed. I do not have an SGS3 to test it with but it should work just fine. :)

Download: http://eclipserom.com/mods/click.php?id=146
 

tmushy

Senior Member
Jan 13, 2007
135
16
0
So now I can go into the settings and activate the mobile hotspot without it charging me correct?
I can confirm the apk posted does indeed activate it but I just wanted to make sure I dont get charged