New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bartsplanet
Old
(Last edited by bartsplanet; 14th March 2011 at 02:35 PM.) Reason: Step corrections
#1  
Member - OP
Thanks Meter 10
Posts: 46
Join Date: Dec 2010
Default [MOD] Enabling tethering without paying for apps

Blatantly ripped off from richhed's thread. I'm a cheap b@$#^&* so I wanted to enable wifi hotspot without paying for apps. Here's how.

I'm writing these instructions for Win7 x64, and assuming that your USB drivers and busybox are working. YMMV. No, I won't help you fix your phone if you brick it, and won't be responsible if it doesn't work for you.

1. Download Superoneclick 1.6.5 for rooting your phone. Your phone needs to be rooted, if you haven't done this yet you need to do it now.
2. Download SQLite database browser on your PC and unzip to some folder. Remember where this is.
3. Plug phone into PC and turn airplane mode on.
4. Open a command prompt as administrator (right-click, open as administrator)
5. Navigate in the command prompt to where your Superoneclick is unzipped (for me, it's in a folder on my desktop)
6. Run 'adb shell'
** note** all commands from step 7 to step 12 are in the ADB shell
7. su (if you rooted in step 1, you may have to allow access, watch your phone as it may ask)
8. mv /data/data/com.android.providers.telephony/databases/telephony.db /data/data/com.android.providers.telephony/databases/telephony.old
9. chmod 777 /data/data/com.android.providers.telephony/databases
10. chmod 664 /data/data/com.android.providers.telephony/databases/telephony.old
11. exit
12. exit
13. in the same command window which your second 'exit' command dropped you to, type 'adb pull /data/data/com.android.providers.telephony/databases/telephony.old ./telephony.db'
14. Run SQLite database browser and open the telephony.db file that you downloaded to the Superoneclick folder in the last step.
15. Click 'browse data' and select table 'Carriers'
16. You should see a long list of APN settings for various carriers, the ones you are interested in are rows 4, 6, and 7. Highlight row 4, named 'AT&T US HSDPA'. Scroll ALL THE WAY TO THE RIGHT where the title of the last column says "preloaded." Double-click the field that says 'true', and in the resulting dialog box change the "true" to "false" and click "Apply Changes". Repeat this step for rows 6 and 7.
17. Edit the 'type' (3rd last) field of row 6. Right now the field says 'tether'. Double-click and change it so that it says 'default,agps,fota,supl,tether' and apply changes.
18. Change the 'apn' (6th) field in row 6 from 'broadband' to 'wap.cingular' and apply changes.
19. Click 'save' and exit the DB browser.
20. Back in the command window, type 'adb push ./telephony.db /data/data/com.android.providers.telephony/databases/telephony.new'
21. Run 'adb shell'
** note** all commands from step 22 to step 32 are in the ADB shell
22. su
23. cd /data/data/com.android.providers.telephony/databases
24. su radio
25. cp telephony.new telephony.db
26. chmod 660 telephony.db
27. rm telephony.new
28. exit
29. cd ..
30. chmod 771 databases
31. exit
32. exit
33. Disable airplane mode
34. Go to Settings>Wireless + Networks>Mobile Networks>Access Point Names. Select radio button for AT&T Tether.
35. Reboot phone.
36. Mobile Hotspot will still validate but will turn on when using this APN. You might have to switch APN's after a reboot, I've had to and at least one other user has had to.

If you ever want to revert, we saved the file as /data/data/com.android.providers.telephony/databases/telephony.old in step 10. Just 'su' and 'cp' that puppy overtop of the existing telephony.db, remembering of course to enable airplane mode.
The Following 5 Users Say Thank You to bartsplanet For This Useful Post: [ Click to Expand ]
 
Clienterror
Old
#2  
Clienterror's Avatar
Senior Member
Thanks Meter 214
Posts: 1,635
Join Date: Jun 2010
Location: Quad Cities, Illinois
Not trying to start anything, but theres already a pretty good thread on this bro.

Sent from my MB860 using Tapatalk
Nexus 7 Parandroid/Trinity Seven Jelly Bean (Probably selling soon due to Surface RT awesomeness)
Motorola Droid M (Verizon)
Microsoft Surface RT
 
lsxrx7
Old
#3  
Senior Member
Thanks Meter 42
Posts: 696
Join Date: Feb 2010
http://code.google.com/p/android-wif...downloads/list

2.07 works flawless
 
itsonlym3
Old
#4  
itsonlym3's Avatar
Senior Member
Thanks Meter 58
Posts: 254
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by lsxrx7 View Post
for me as well
 
Bakano
Old
#5  
Bakano's Avatar
Senior Member
Thanks Meter 12
Posts: 311
Join Date: Nov 2009
Location: Texas
Quote:
Originally Posted by lsxrx7 View Post
is this without modifying the sql db's??
 
ranova
Old
#6  
ranova's Avatar
Senior Member
Thanks Meter 132
Posts: 1,186
Join Date: Jul 2010
stop linking android-wifi-tether.

Infrastructure AP (what this and richhed's method and others enable) > Adhoc (what android-wifi-tether enables)

Google the differences. Ill give you a couple reasons to start

1) a lot of corporate laptops disable adhoc connections
2) Adhoc only allows WEP - crackable in 30 seconds, a huge security risk. Infrastructure allows WPA2...

so if you dont care about any of those, then yes, android-wifi-tether is fine... and much simpler.
The Following User Says Thank You to ranova For This Useful Post: [ Click to Expand ]
 
Bakano
Old
#7  
Bakano's Avatar
Senior Member
Thanks Meter 12
Posts: 311
Join Date: Nov 2009
Location: Texas
Quote:
Originally Posted by andy2na View Post
stop linking android-wifi-tether.

Infrastructure AP (what this and richhed's method and others enable) > Adhoc (what android-wifi-tether enables)

Google the differences. Ill give you a couple reasons to start

1) a lot of corporate laptops disable adhoc connections
2) Adhoc only allows WEP - crackable in 30 seconds, a huge security risk. Infrastructure allows WPA2...

so if you dont care about any of those, then yes, android-wifi-tether is fine... and much simpler.
sweet. thanks bro
 
LancerV
Old
#8  
LancerV's Avatar
Senior Member
Thanks Meter 69
Posts: 641
Join Date: Nov 2007
Quote:
Originally Posted by andy2na View Post
stop linking android-wifi-tether.

Infrastructure AP (what this and richhed's method and others enable) > Adhoc (what android-wifi-tether enables)

Google the differences. Ill give you a couple reasons to start

1) a lot of corporate laptops disable adhoc connections
2) Adhoc only allows WEP - crackable in 30 seconds, a huge security risk. Infrastructure allows WPA2...

so if you dont care about any of those, then yes, android-wifi-tether is fine... and much simpler.
Number 2 is kinda a mute point as if your using your phone to tether i doubt its going to be your primary connection. Also the fact that your not even going to see your phone after about a 100ft for tethering it would be pretty easy to narrow down someone hacking into your wep
 
shawnbuck
Old
#9  
shawnbuck's Avatar
Recognized Developer
Thanks Meter 88
Posts: 188
Join Date: Feb 2011
Location: NY
Quote:
Originally Posted by LancerV View Post
Number 2 is kinda a mute point as if your using your phone to tether i doubt its going to be your primary connection. Also the fact that your not even going to see your phone after about a 100ft for tethering it would be pretty easy to narrow down someone hacking into your wep
Number 2 is pretty important; it only takes about a minute to hack through WEP when the connection is in use.
 
LancerV
Old
#10  
LancerV's Avatar
Senior Member
Thanks Meter 69
Posts: 641
Join Date: Nov 2007
Yea think you missed it completely

Sent from my MB860 using XDA Premium App
Free Host for XDA-Devs PM me for username/password


XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more