5,596,857 Members 49,164 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] How to: Remove "attwifi" from your AT&T One X

Tip us?
 
spyz88
Old
(Last edited by spyz88; 10th May 2012 at 03:46 AM.)
#1  
Senior Member - OP
Thanks Meter 32
Posts: 418
Join Date: Oct 2008
Default [MOD] How to: Remove "attwifi" from your AT&T One X

EDIT: This is meant to resolve the following issue:

http://forums.androidcentral.com/htc...-hotspots.html

For this your phone needs to be rooted and you need Root Explorer from the Market:

1) Open root explorer
2) Tap on "Mount R/W" to mount the file system
3) Navigate to /data/misc/wifi
4) Press and hold on wpa_supplicant.conf and select "Open in Text Editor"
5) Delete the following lines from the file:

network={
ssid="attwifi"
key_mgmt=NONE
priority=1
}

6) Once deleted tap on the 3 dot's in the top right hand corner of the app
7) Tap on "Save and Exit"
8) Reboot

After that you will no longer be forced to connect to "attwifi"
The Following 12 Users Say Thank You to spyz88 For This Useful Post: [ Click to Expand ]
 
designgears
Old
#2  
designgears's Avatar
Recognized Developer
Thanks Meter 8534
Posts: 4,843
Join Date: Feb 2010
Location: SLC

 
DONATE TO ME
good for security, seems stupid to auto connect to those!
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
The Following User Says Thank You to designgears For This Useful Post: [ Click to Expand ]
 
JSLEnterprises
Old
(Last edited by JSLEnterprises; 10th May 2012 at 02:49 AM.)
#3  
JSLEnterprises's Avatar
Senior Member
Thanks Meter 1341
Posts: 1,330
Join Date: Apr 2011
Location: Hamilton

 
DONATE TO ME
When you open the Hot Spot app, the above code to remove does the following:

- Instead of the ssid being "HTC Portable Hotspot" - default; it's "attwifi"
- Instead of using WPA2 (AES Encryption), it sets it use none instead.

These can be changed even without editing the above, before turning on the hotspot ability.


Again, it doesn't remove anything, simply doesnt preset anything.

Cheers Though.. Keep tinkering
Don't forget to hit thanks when someone's helped you
Retired Devices:
HTC Desire HD (PD981400) | Blackberry 9900, 9700, 9530, 9300, 9000, 8900, 8530, 8520, 8330
Nokia N97, N95 8GB (NAM-4), E71, N93, 6300 | Motorola RAZR2 V8, ROKR E6, A1200, v551, Samsung A460
... And one iCrap 4
 
spyz88
Old
(Last edited by spyz88; 10th May 2012 at 03:12 AM.)
#4  
Senior Member - OP
Thanks Meter 32
Posts: 418
Join Date: Oct 2008
Quote:
Originally Posted by JSLEnterprises View Post
When you open the Hot Spot app, the above code to remove does the following:

- Instead of the ssid being "HTC Portable Hotspot" - default; it's "attwifi"
- Instead of using WPA2 (AES Encryption), it sets it use none instead.

These can be changed even without editing the above, before turning on the hotspot ability.


Again, it doesn't remove anything, simply doesnt preset anything.

Cheers Though.. Keep tinkering
Not on AT&T's version you can't. They force you to connect to it so you don't have to use their sucky network. It has nothing to do with changing the hotspots name.
 
_MetalHead_
Old
#5  
_MetalHead_'s Avatar
Senior Member
Thanks Meter 1987
Posts: 5,050
Join Date: Jun 2010
Location: Chicagoland
Can't we just freeze it with TiB?
\m/(-_-)\m/
 
JSLEnterprises
Old
(Last edited by JSLEnterprises; 10th May 2012 at 04:35 AM.)
#6  
JSLEnterprises's Avatar
Senior Member
Thanks Meter 1341
Posts: 1,330
Join Date: Apr 2011
Location: Hamilton

 
DONATE TO ME
Quote:
Originally Posted by spyz88 View Post
Not on AT&T's version you can't.
Edit in regards to my first post: It doesnt remove it, it simply stops the forced connection to the AT&T wifi hotspot instead of your saved personal wifi points (the prority=1 entry).
I was incorrect, but you're still incorrect at saying it removes it. Sorry.


Edit 2: "Remove "attwifi" from your AT&T One X"

nothing is being' removed'. the hot spot is still there, though forced connection to it is not longer occuring. nothing hard to grasp.

Cheers.
Don't forget to hit thanks when someone's helped you
Retired Devices:
HTC Desire HD (PD981400) | Blackberry 9900, 9700, 9530, 9300, 9000, 8900, 8530, 8520, 8330
Nokia N97, N95 8GB (NAM-4), E71, N93, 6300 | Motorola RAZR2 V8, ROKR E6, A1200, v551, Samsung A460
... And one iCrap 4
 
spyz88
Old
(Last edited by spyz88; 10th May 2012 at 03:40 AM.)
#7  
Senior Member - OP
Thanks Meter 32
Posts: 418
Join Date: Oct 2008
Look if you are having an issue grasping the concept of what this does then please move on.

The whole point of it is -> TO STOP THE FORCED CONNECTION TO AT&T <-. NOT instead of, it FORCES you to connect to these wifi spots at&t has all around the US. They do this so you utilize attwifi's bandwidth and it eases their network congestion.

IIRC Rogers doesn't do this type of garbage to manage their network congestion. So, I am not wrong. You are the one who is having a hard time grasping this concept. Cheers, keep tinkering though.
 
belyle
Old
#8  
belyle's Avatar
Senior Member
Thanks Meter 22
Posts: 211
Join Date: Aug 2010
Location: Kent, WA
Quote:
Originally Posted by spyz88 View Post
EDIT: This is meant to resolve the following issue:

http://forums.androidcentral.com/htc...-hotspots.html

For this your phone needs to be rooted and you need Root Explorer from the Market:

1) Open root explorer
2) Tap on "Mount R/W" to mount the file system
3) Navigate to /data/misc/wifi
4) Press and hold on wpa_supplicant.conf and select "Open in Text Editor"
5) Delete the following lines from the file:

network={
ssid="attwifi"
key_mgmt=NONE
priority=1
}

6) Once deleted tap on the 3 dot's in the top right hand corner of the app
7) Tap on "Save and Exit"
8) Reboot

After that you will no longer be forced to connect to "attwifi"
I saved a backup of the file just in case anything went wrong, and then deleted those lines. Is there a way to just comment out the lines instead of deleting them?

I also noticed that the keys for all my wifi connections are stored as plain text in this file, including some corporate ones that use my network credentials to log in. Seems a tad insecure to me.
A phone and a tablet. What's it to you?
 
spyz88
Old
#9  
Senior Member - OP
Thanks Meter 32
Posts: 418
Join Date: Oct 2008
Quote:
Originally Posted by belyle View Post
I saved a backup of the file just in case anything went wrong, and then deleted those lines. Is there a way to just comment out the lines instead of deleting them?

I also noticed that the keys for all my wifi connections are stored as plain text in this file, including some corporate ones that use my network credentials to log in. Seems a tad insecure to me.
Yeah that's one of the security issues they don't seem intent on fixing. I would assume malware could just snatch that file off our phones.

I'm pretty sure because its a .conf file and its not actual code we can't comment them out. I could be wrong though.
 
sirxdroid
Old
(Last edited by sirxdroid; 3rd February 2013 at 11:23 PM.)
#10  
Senior Member
Thanks Meter 389
Posts: 1,266
Join Date: Nov 2012
Does this mod work for anyone? Granted I tried it on the HTC One X+ phone and if I remove that entry I can no longer enable wifi, it shows "Error". Any other changes that need to be made? I also found /etc/wifi/wpa_supplicant.conf, made the same change there and still no luck.

Does it work reliably on the HOX phone?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes