[HTC Sensation] trkaaa:
[ Solved ] Working 100% - Enable WiFi ad-Hoc Networking for Both ICS and GB for htc Sensation

For GB , this Patch will enable ad-hoc 100% steady connection for both ( WEP and open Networks ) , Also Hotspot WPA2-PSK is still able to connect

For ICS , the APK will enable ad-hoc 100% steady connection with Full WiFi Signal for both ( WEP and open Networks ) , and for Hotspot WPA2-PSK use through regular wifi menu

General

Android does not show this Ad-hoc networks ( it Finds them in the search , but filters them out of the shown results ) , this patch prevent that filtering and shows those ad-hoc networks

There are two types of WiFi Networks :

Infrastructure ( Hotspot ) WPA,WPA2-PSK which is the most secured connection , usually routers broadcast this

Ad-hoc it is either WEP or open network which is less security , usually issued through a laptop connected to a DSL line to broadcast a temporary WiFi connection

DISCLAIMER

I am not responsible if flashing this Mod results in bricking your phone

for Rooted devices
​

ad-Hoc Networking for GB

Download Link

See attached Patch Ad-hoc Sensation-Ad-hoc.zip ( Full Credit and thanks to leeDroid )

ZT-180 Adhoc Switcher APK can also work with GB , But i prefer the permanent solution of the above Patch for GB

Apply the Patch

it is always good to do a Backup for your data , Or Just Backup the original file " wpa_supplicant " located in System\bin .

to restore the original file " wpa_supplicant " any time :

just open the Patch in a winrar window and navigate to System\bin and over-right the one in the Patch with the original ( you can get the original from your Rom zip ) . apply the modified Patch from recovery and you are back to the original

if you use Root Explorer to restore the original file ,make sure to set the correct permissions and ownership values

Clear Dalvik cache , and install the Patch from recovery as usual

ad-Hoc Networking for ICS

it is always good to do a NAND Backup for your Rom and data

there is an APK named " ZT-180 Adhoc Switcher " which i geuss is not intended for Sensation but can support additional devices in the try Mode , this APK has two modes

infrastructure mode infrastructure mode.jpg ( will not be used , for Hotspot WPA2-PSK use regular wifi menu )

and " Just to try " ad-hoc mode for non supported devices Just to try ad-hoc mode.jpg that we interested in

the " Just to try " ad-hoc mode worked fine with Sensation

it connects fast , very steady connection with full Wifi Signal and a fast WiFi Data transfer , Ad-hoc it is working for both WEP or open network , Please note that some firewalls could prevent you from connecting even after adjusting its settings

Ad-hoc ( open Network ) :

open network connection doesn't require a Password ,

to modify either SSID name or WEP password , go to setting while you are in infrastructure mode and modify or clear the name in SSID then just switch back to Just to try mode and enable WiFi

if you clear ( remove ) the default name in SSID , this lets the device find and connect automatically to any open ad-hoc you establish from your laptop for example with any name of your choice ( on condition that your ad-hoc connection should be the only available ad-hoc connection in range ) ,

if you leave the default name in SSID "Android tether " as it is , it will only look for a connection with the name "Android tether " that is issued from your laptop and it will not detect any ad-hoc connection with any other name

if there is more than one open network in range that can be seen by the APK then

tip 1 : name the connction in your laptop same as in device SSID ( i.e android tether )

this is because if there is more than one open ad-hoc network and you left the SSID name empty , you can not control which connection the APK will choose to connect to

tip 2 : or use Ad-hoc ( WEP Network )

Ad-hoc ( WEP Network ) :

if you want to use WEP connection , go to setting while you are in infrastructure mode then enter SSID name and Password then switch back to Just to try and enable wifi WEP Password.jpg

the name of the connection should be the same name of the connection you started on your laptop for example

there is a complete help for the APK when you press the thin line under setting

Superuser.APK

if you are using the normal Super user APK opens normal , But if you are using the New SuperSU APK there will be a delay of maybe 5 sec for starting or executing Commands

please read this first #70 , Please note that this APK is not fully compatible with sensation although it worked fine with me

there is another APK ( try it if you like to ) named " WiFi AD HOC enabler " which doesn't really work good ( very weak signal and disconnects frequently ) , or at least this is what i experienced

Connectify Pro

there is a small yet powerful PC Software Called Connectify Pro ( i can't do without it ) that does three things :

it is for windows users

Acts like an actual hardware Router ( Not software networking )

toggle wifi with a single click for either ad-hoc or hotspot ( can start the same ad-hoc connection after reboot )

automatically does all complicated configurations for all types of network to fit with your firewall and windows , also share and transfer files among other options

Press the thanks Button for this Post