• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Success!! WiFi Tethering!!!

Status
Not open for further replies.
progress update so far:
install titaniumbackup
backup everything to SD Card
mount SD card and copy folder TitaniumBackup
Find and extract the contents of file com.android.providers.settings-20110306-201549.tar.gz (where numeric portion is timestamp)
go to dbdata\databases\com.android.providers.settings in the resulting folder tree and open file settings.db with this: https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/ (this is firefox plugin; install it, restart firefox, go tools -> SQLite Manager). In SQLite Manager Go Database -> Connect DataBase -> Select to show all file types and browes to where you extracted settings.db. On the left side go to Tables -> Secure. Click "Secure" to highlight. Then on the right side go to Execute SQL tab and copypaste the following 4 strings into the "Enter SQL" field:

insert into secure (name, value) values ('wifi_ap_hide', 0);
insert into secure (name, value) values ('wifi_ap_security', 1);
insert into secure (name, value) values ('wifi_ap_ssid', 'Android Unlimited');
insert into secure (name, value) values ('wifi_ap_passwd', 'mypassword');

where Android Unlimited is the name of SSID and mypassword is your desired password. Change those two fields to your liking...

Click the Run SQL button
At this point you won't have any output. To check whether the above procedure was successful, copy-paste the following into "Enter SQL" field:

select * from secure where name like 'wifi_ap%';

Hit Run SQL

You should now have some output showing the above settings in tables in the field below

If you don't check the steps above. If you do, Go Database -> Close Database

Now use 7-Zip or any other of the many free tar.gz management tools available (winrar won't inject into tar.gz archive). BACKUP ORIGINAL tar.gz file first, then replace with the new version

Unmount SD card from PC, run titanium backup and restore everything.

Let me know, if this works... Also, if someone knows of another wireless utility to control Android native wifi stuff for phones like ours where it's been purposefully taken away, please post...

WOW i had just run titanium backup and was going to check for this when I read your post.

Awesome work.



@@@edit@@@@
OK that didnt work. :(
 
so whats the status i dont get any of that code stuff...

if the wifi working? explain in easier terms what that ^ means mike or nick. please.

thanks. i wish i could help or do something but i never hacked into phones and its been years since i used cmd
 
so whats the status i dont get any of that code stuff...

if the wifi working? explain in easier terms what that ^ means mike or nick. please.

thanks. i wish i could help or do something but i never hacked into phones and its been years since i used cmd

I inserted all the stuff into the DB and then injected the db back into the file with 7-zip. no change with the wifi AP.

still showing up as AndroidAP with an unknown pass.
 
OK, hang in there, i think i found something else that looks promising.

@@@EDIT@@@@

BINGO!!!!!!!!
I was just able to change the SSID for the hotspot and disable the security encryption.

instead of adding the stuff to the security table I changed:
mifi_ap_ssid_1 in the system table.

now when I turn on the hotspot, it shows up as "Mikes 4G HotSpot" instead of AndroidAP and is open so it doesnt ask for any encryption key.

I am able to connect to the hotspot but it doesnt seem to be performing any DHCP to issue IP's to the connecting devices.
 
OK, hang in there, i think i found something else that looks promising.

@@@EDIT@@@@

BINGO!!!!!!!!
I was just able to change the SSID for the hotspot and disable the security encryption.

instead of adding the stuff to the security table I changed:
mifi_ap_ssid_1 and mifi_ap_hide_1 in the system table.

now when I turn on the hotspot, it shows up as "Mikes 4G HotSpot" instead of AndroidAP and is open so it doesnt ask for any encryption key.

I am able to connect to the hotspot but it doesnt seem to be performing any DHCP to issue IP's to the connecting devices.

OK, hang in there guys, we're getting close. Mike, could you post your step-by-step, please? Also, have you tired setting IP manually (static IP ?), though, we probably don't know the address of the damn box either...
 
Well, here's the deal. we're working on this with a friend of mine from Europe, who's got an android phone which was running 2.2 till he decided to upgrade to 2.2.1 for the speed. he rooted the phone by flashing a kernel with busybox using odin (stuff that supposedly bricks our phones, as he's got a different phone, remember!) and the proposed workaround was merely adding what seems to have been taken away when comparing his configs with ours. The above routine didn't work on my phone either and it lead us to believe that in our phone SSID, etc. wifi settings are controlled by something else till Mike's last post...
 
I think Mike is right: we should probably continue trying to get the settings right that exist in our phones already before we start adding stuff of our own - even from another 2.2.1... pretty much, everything that starts with mifi. it's not that much and somewhat intuitive... Also, it would save us a lot of time, if we could edit that settings.db file from the phone instead of going rounds with titanium backup. I'm looking at sqlite browser free in market. bad reviews mostly due to crashes on *.db file open but who knows if it's capable of opening ours. worth a try, IMHO...
 
Mike, have you tried mifi_ap_wep_index_1 = 1 and mifi_ap_wep_key_1 = 0123456789 or such? It seems to me that if you do mifi_ap_hide_1 = 1 (instead of 0, which is my default?), it should hide your SSID... plenty of material to experiment with... :)
 
Mike, have you tried mifi_ap_wep_index_1 = 1 and mifi_ap_wep_key_1 = 0123456789 or such? It seems to me that if you do mifi_ap_hide_1 = 1 (instead of 0, which is my default?), it should hide your SSID... plenty of material to experiment with... :)

yeah but for now I just left mine with no encryption just so I can test easily if its working and get it going.


I read yesterday about some phone that was allowing people to turn on the hotspot feature but the dhcp functionality was removed and it gave a step by step way of adding it back. But now i cant seem to find the page that i was looking at before that had it.
 
Mike, have you tried mifi_ap_wep_index_1 = 1 and mifi_ap_wep_key_1 = 0123456789 or such? It seems to me that if you do mifi_ap_hide_1 = 1 (instead of 0, which is my default?), it should hide your SSID... plenty of material to experiment with... :)

Yeah i copied the wrong one, mifi_ap_hid_1 is to disable the ssid broadcast. I changed the one for security/encryption to 0 to disable encryption.
 
yeah but for now I just left mine with no encryption just so I can test easily if its working and get it going.


I read yesterday about some phone that was allowing people to turn on the hotspot feature but the dhcp functionality was removed and it gave a step by step way of adding it back. But now i cant seem to find the page that i was looking at before that had it.

yes, I thought this would be the case. if you find that post again, please, do post it here. thanks.
 
@@@@Update@@@@
OK I was able to test out the info i posted above and there is some good new and bad news.

The good news, It's one step closer. I got the hotspot to now act as DHCP server and give out ip info to connecting devices. I am then also able to PING address's from my connected devices.

Bad news, For some reason when trying to pull up a website the traffic doesnt seem to be routing over to the device so no its still not fully working.


also note, it doesnt work as they posted it for the other phone, i had to do alot of it manualy.
 
OMG RW#$%$$@#$TFADFASDGW$$#$# $&$^*%^@$%$%

I had my phone plugged in charging all morning. Unplugged it real quick to leave the room and put the phone in my pocked (forgetting to turn off the wifi hotspot)

15 minutes later i come back, take the phone out of my pocket to plug it back in and notice the battery was almost all the way gone.
 
"RW#$%$$@#$TFADFASDGW$$#$# $&$^*%^@$%$%":eek:
Kind of crossed the line on that last part Mikey....made ME blush LOL

Guess I won't be hotspotting yet ha ha
 
I always look forward to checking in here every few days and seeing that progress is being made on various fronts I care about (rooting, tethering, etc.).

Keep up the good work Mike, and others! :)

I don't have a phone to play with yet and try to contribute any discoveries myself, but I did pledge $20 on the bounty thread, FWIW. :)
 
@@@@Update@@@@
OK I was able to test out the info i posted above and there is some good new and bad news.

The good news, It's one step closer. I got the hotspot to now act as DHCP server and give out ip info to connecting devices. I am then also able to PING address's from my connected devices.

Bad news, For some reason when trying to pull up a website the traffic doesnt seem to be routing over to the device so no its still not fully working.


also note, it doesnt work as they posted it for the other phone, i had to do alot of it manualy.

wait-wait, Mike: if you have an IP and are able to ping, that's not one but two steps closer. I thought we would have to work on the NAT/routing, etc. by hand, too. Now I remember that metro is blocking http traffic from anything other than Opera and we would need agent switcher plugin for Firefox to get anywhere with http(s). You can get the plugin here: User Agent Switcher Please, Mike, if you're able to browse with this plugin, would you mind sharing your own step-by-step of what you did exactly?
 
@@@@Update@@@@
OK I was able to test out the info i posted above and there is some good new and bad news.

The good news, It's one step closer. I got the hotspot to now act as DHCP server and give out ip info to connecting devices. I am then also able to PING address's from my connected devices.

Bad news, For some reason when trying to pull up a website the traffic doesnt seem to be routing over to the device so no its still not fully working.


also note, it doesnt work as they posted it for the other phone, i had to do alot of it manualy.

another idea is to try and fuzz around with the firewall settings. should be the firewall that provides the NAT functionality...
 
Hey guys, see my "Did you lose your driver" post to see what I heard today...

Well, that would be a bummer.
Good thing that they can't remove it because they'd be getting so many angry customers saying they need to access their mass storage on the card if they did so.
Why would they try to have the driver removed? I hope they were just rambling on at the store and are just "guessing" what happened.
 
barnacle wifi is working on my phone, i canconnect using my laptop but not my wii or another phone. maybe it is a setting i need to change.
 
Status
Not open for further replies.
Back
Top Bottom