Hi,
Bluetooth PAN Tethering on Motorola Bionic/Droid 3 has 2 bugs:
1. DNSMASQ can't start because does not understand IPv6 addresses as DNS but android write it to the btip.conf
2. Bionic does not use STDIN DNSMASQ control (it write DNS option to btip.conf). But DNSMASQ still listen STDIN and try to execute empty commands and it use 100% CPU.
I made new dnsmasq that fix both problems. You can put it to /system/bin/dnsmasq and use Bluetooth PAN Tethering.
Backup original copy of dnsmasq by
Code:
adb pull /system/bin/dnsmasq
Make sure that you make /system writable and then copy new dnsmasq
Code:
adb push dnsmasq /data/local/
adb shell
$su -
#cp /data/local/dnsmasq /system/bin/dnsmasq
#rm /data/local/dnsmasq
Known issues:
1. some times after disconnect you need to restart (disable->enable) bluetooth on Bionic to connect again.
2. If you used Mobile hotspot then you need to reboot your phone to use PAN service again (for some reason NAT does not work in PAN mode after using mobile hotspot).
Dmitry
PS. I guess that Bluetooth tethering is not detectable yet.
Update 10/14/2011
I have updated exe and patch to fix Mobile Hotspot mode.
This is extremely good work my friend. I hope you continue to make leaps snd bounds on the bionic!
I would also like to know if this wwould work for tethering my Xoom?
Brenardo said:
I would also like to know if this wwould work for tethering my Xoom?
Click to expand...
Click to collapse
It should to work. I tried with ASUS eee Pad and it is work fine.
Does PAN tethering allow you to use any app that requires internet? I know DUN will only allow a few apps (Browser, Mail, Maps) to work.
I just checked IM+ on my ASUS eee Pad and everything work fine.
Nice! Just got it working with my Transformer. I am seeing pretty slow speeds though (about .8mb down and 1.5mb up) while if I do a speed test on my phone I get 6mb down and about 7mb up. Are you guys seeing these slow speeds as well?
elislurry said:
Nice! Just got it working with my Transformer. I am seeing pretty slow speeds though (about .8mb down and 1.5mb up) while if I do a speed test on my phone I get 6mb down and about 7mb up. Are you guys seeing these slow speeds as well?
Click to expand...
Click to collapse
I guess it is maximum Bluetooth connection speed.
ddv2005 said:
I guess it is maximum Bluetooth connection speed.
Click to expand...
Click to collapse
Hmm it should be able to do at least 2.1mb/sec I will look into it and see what I find.
elislurry said:
Hmm it should be able to do at least 2.1mb/sec
Click to expand...
Click to collapse
2.1mb it is theoretical maximum. Did you ever try to get 300Mbit/s from WiFi N? You event can't get WiFI G speed (54Mbit/s) because it is theoretical maximum that you never reach in real world. Same with bluetooth + network delay reduce TCP throughput.
Amazing fix. Thank u very much. This works perfectly on my ipad2
Quick question
First off - thank you.
Next my question. I am using Root Explorerr. I made my back of the original file. I copied the contents of the zip file to system\bin directory. What should I do with the txt file?
Thanks for the help.
benlane said:
What should I do with the txt file?
Click to expand...
Click to collapse
Nothing. Text file is the source code patch for developers only who want compile it.
Again Thank
thanks for the great response and the effort.
Just FYI, if you use this method, you will kill your ability to use the built-in hotspot wifi tether. Be sure to save the old file, and revert to it should you decide you want to use the hotspot app.
mantispid said:
Just FYI, if you use this method, you will kill your ability to use the built-in hotspot wifi tether. Be sure to save the old file, and revert to it should you decide you want to use the hotspot app.
Click to expand...
Click to collapse
I have updated exe (in first post) to support build-in hotspot wifi tether. But for some reason NAT does not work in Bluetooth PAN mode after using mobile hotspot. To restore NAT in Bluetooth PAN mode you need to reboot the phone.
Dmitry
Great!
The patched file works a treat! PAN is back! Thanks so much!
for the less experienced folks trying to get this to work, here's a couple detailed steps not in the original post:
1. when issuing the "su" command for the first time, look at the the device screen as it will prompt you to allow the action to complete. Make sure to allow it otherwise you cannot proceed with required "su" commands.
2. before copying the file to /system/bin, remount the /system mount read-write like this:
mount -o rw,remount -t ext3 /dev/block/system /system
(you can check your mount points first using "mount" in case they vary from the above)
Thanks again!
quasidynamic
Maybe I am missing something simple, but I just used root explorer to move over the file and change permission, rebooted and it didn't work
XXX
X_X
X_X
Those are the correct permission for the file, right?
I'm sure Motorola thanked you for the Bluetooth PAN tethering fix that showed up in .902.
In my recent donation to the wifi tether dev I noted the .902 Bionic PAN fix and requested he think about adding bluetooth tethering in for the Bionic.
Hello elislurry.
I was wondering if you could help me out with understanding the BT tethering operation in perspective of Android system?
For instance, Wi-Fi tethering operates just like the fixed AP, but in case of BT, its not used much as a tethering operation but more focused to communication to accessories, right?
Do you have any ideas on how this works on BT?
Thanks in advance!
Related
My university has a dedicated 802.1X connection specifically for mobile devices that I've been able to hook my Samsung Intercept (rooted, running 2.2) up to. The directions for connecting any Android platform to the connection is fairly straightforward:
Use these settings:
• EAP Method: TTLS
• Phase 2 authentication: PAP
• CA Certificate: (leave as N/A)
• Client Certificate: (leave as N/A)
• Identity: <GW NetID>
• Anonymous identity: (leave blank)
•Wireless password: <NetID password>
Click to expand...
Click to collapse
The thing is though, the NC's wireless tab doesn't allow for EAP Method input or Phase 2 authentication. Is there any way for me to access those protocols and connect?
MashableMe said:
My university has a dedicated 802.1X connection specifically for mobile devices that I've been able to hook my Samsung Intercept (rooted, running 2.2) up to. The directions for connecting any Android platform to the connection is fairly straightforward:
The thing is though, the NC's wireless tab doesn't allow for EAP Method input or Phase 2 authentication. Is there any way for me to access those protocols and connect?
Click to expand...
Click to collapse
Same as Android always is... Configure it as much as you can, then use this app to configure it all the way: http://www.appbrain.com/app/wifi-advanced-config-editor/org.marcus905.wifi.ace
Downloaded the suggested app, but for some reason whenever i moddify the protocols they snap right back as soon as i navigate away from the page. Any suggestions?
Same happened to me. It's the phase 2 encryption (PAP) that always snaps back. Tried on Nookie without any problem (just stock froyo wifi functionally, not by configuring wifi advanced configuration editor). So the there should be no hardware issue. I bet B&N's crippled OS lacks support for PAP.
MashableMe said:
Downloaded the suggested app, but for some reason whenever i moddify the protocols they snap right back as soon as i navigate away from the page. Any suggestions?
Click to expand...
Click to collapse
Haven't had any issues with my Nook Color and 802.1x/PEAP/TKIP/RADIUS/MS-CHAPv2.
In wifi advanced configuration editor it ways revert phase 2 to MS-CHAPv2, so I guess that's the only one B&N implemented, which also explains why it works in your case.
RasputinAXP said:
Haven't had any issues with my Nook Color and 802.1x/PEAP/TKIP/RADIUS/MS-CHAPv2.
Click to expand...
Click to collapse
Crap, you're right.. But not quite. Phase2 doesn't seem to save right at all.. If you set it to None, you can't set it back to any of them...
Could try editing the wpa_supplicant.conf file
Tried that but instructions on nookdevs are not very clear. Can you point me to a more thorough documentation?
khaytsus said:
Crap, you're right.. But not quite. Phase2 doesn't seem to save right at all.. If you set it to None, you can't set it back to any of them...
Could try editing the wpa_supplicant.conf file
Click to expand...
Click to collapse
jianglai said:
Tried that but instructions on nookdevs are not very clear. Can you point me to a more thorough documentation?
Click to expand...
Click to collapse
Well, probably the easiest way is this, since the tool I mentioned doesn't work.. Sucks, because it does work on my Nexus One. But if the protocols aren't supported this obviously won't magically make it work, but I doubt that's really an issue.
First off, turn off wifi if you can.. If you're using wifi adb, then turn off wifi and back on when you complete this..
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf
(edit wpa_supplicant.conf)
adb push wpa_supplicant.conf /data/misc/wifi/
However... You'll PROBABLY have to fix its permissions, as I suspect they'll be wrong, and if so, wifi won't work at all until you do. So here's how you'd fix that:
Code:
adb shell
su
cd /data/misc/wifi
chown system.wifi wpa_supplicant.conf
chmod 660 wpa_supplicant.conf
I suggest toggling wifi on/off again... If you have any issues, double check your file ownership and permissions.
BTW, if you're really adventurous, you could do it directly in vi Unless you know how to use vi, use the above...
Code:
adb shell
su
cd /data/misc/wifi
vi wpa_supplicant.conf
Great! So what I did is to connect to our network through setting-wireless. After entering username and password it just says remembered but never tried to connect. And in wifi advanced configuration editor even though I could choose TTLS and PAP, the PAP part always snaps back to default when I leave the editor, which makes me think it might be a permission problem. So i pulled the .conf file, edited it and pushed it back then changed ownership and permission as you suggested, everything works perfectly since then!!! Thank you so much!
BTW, in adb shell it seems I do not have vi... All I installed is the basic SDK as suggested in nookdevs, is there anymore packages I should install to have more tools like vi?
khaytsus said:
Well, probably the easiest way is this, since the tool I mentioned doesn't work.. Sucks, because it does work on my Nexus One. But if the protocols aren't supported this obviously won't magically make it work, but I doubt that's really an issue.
First off, turn off wifi if you can.. If you're using wifi adb, then turn off wifi and back on when you complete this..
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf
(edit wpa_supplicant.conf)
adb push wpa_supplicant.conf /data/misc/wifi/
However... You'll PROBABLY have to fix its permissions, as I suspect they'll be wrong, and if so, wifi won't work at all until you do. So here's how you'd fix that:
Code:
adb shell
su
cd /data/misc/wifi
chown system.wifi wpa_supplicant.conf
chmod 660 wpa_supplicant.conf
I suggest toggling wifi on/off again... If you have any issues, double check your file ownership and permissions.
BTW, if you're really adventurous, you could do it directly in vi Unless you know how to use vi, use the above...
Code:
adb shell
su
cd /data/misc/wifi
vi wpa_supplicant.conf
Click to expand...
Click to collapse
jianglai said:
Great! So what I did is to connect to our network through setting-wireless. After entering username and password it just says remembered but never tried to connect. And in wifi advanced configuration editor even though I could choose TTLS and PAP, the PAP part always snaps back to default when I leave the editor, which makes me think it might be a permission problem. So i pulled the .conf file, edited it and pushed it back then changed ownership and permission as you suggested, everything works perfectly since then!!! Thank you so much!
BTW, in adb shell it seems I do not have vi... All I installed is the basic SDK as suggested in nookdevs, is there anymore packages I should install to have more tools like vi?
Click to expand...
Click to collapse
Woot, it worked! I mean.. You're welcome!
Aha, vi must have come from the busybox I installed maybe.... Perhaps the one from Titanium?
Thanks a lot for these directions, as soon as I got adb working it worked perfectly! I first tried to do this using on-device apps since I was having trouble installing ADB, and that didn't work. This just proved that it is absolutely necessary to use adb to do this. Regardless, it works, i'm happy!
Another Workable Idea...
So my work has 802.1x EAP PEAP authentication for the wifi. I tried the advanced wifi editor, but that didn't work. Tried editing the wpa file, that didnt work. When I connected I was always being rerouted to a screen to download a certificate for authentication.
So I used the HC SD bootable rom and was able to manipulate the wifi settings like you can on your android phone, and connect to the wifi. When I pulled out the SD and rebooted into Autonooter 3.0 the authentication stuck and now the 802.1x wifi network is rocking on.
Just thought you all might like an update.
bnole said:
So my work has 802.1x EAP PEAP authentication for the wifi. I tried the advanced wifi editor, but that didn't work. Tried editing the wpa file, that didnt work. When I connected I was always being rerouted to a screen to download a certificate for authentication.
So I used the HC SD bootable rom and was able to manipulate the wifi settings like you can on your android phone, and connect to the wifi. When I pulled out the SD and rebooted into Autonooter 3.0 the authentication stuck and now the 802.1x wifi network is rocking on.
Just thought you all might like an update.
Click to expand...
Click to collapse
Considering you made wifi changes in HC on your SD card then booted your stock, nothing "stuck". Each time you connect your wifi will re-authenticate, in fact it'll re-authenticate on some systems multiple times per hour.
So, I've tried using the ad-hoc enabled wpa_supplicant file to allow my NC to see my Droid as a hotspot. My NC can now see my Droid and can attempt to access it (even asking for password), but it fails to connect everytime.
Anyone else successfully tether their NC to a Droid 1?
I use the motorola droid 1 and I connect it using Wireless Tether App. Works fine. Other than the annoying problem that when the nook sleeps it drops the wifi. But that is a known issue.
Hmm, not sure what I've done wrong. I can see the Droid SSID in my list of wireless networks. I can try to connect and get "Obtaining IP address" for about 30 seconds, then see a connect failed message. The logs in Wireless Tether on the Droid indicate successful communication with no indication of failure.
Question to you Lyam23
Hi there. So you successfully added your supplicant file. Did you follow Root Explorer as the way to accomplish this?
I tried it and now there's no Wifi at all. I'm awaiting a reply on the thread for performing the ad-hoc, but replacing and renaming the WPA files did something to mess me up. (I did something to mess me up) ( ;
Resolved : the folder was my fail. Had to rename the wpa folder, then move the adhoc fix version of the file outside of it....direct into bin.
lyam23 said:
So, I've tried using the ad-hoc enabled wpa_supplicant file to allow my NC to see my Droid as a hotspot. My NC can now see my Droid and can attempt to access it (even asking for password), but it fails to connect everytime.
Anyone else successfully tether their NC to a Droid 1?
Click to expand...
Click to collapse
Are you able to tether to a PC? That way we rule out that you can or cannot tether.
Did you set the permissions in the new file correctly?
I successfully tethered a Samsung Fascinate to the NC, two different NC's by the way. Process works.
vlucchetti said:
Are you able to tether to a PC? That way we rule out that you can or cannot tether.
Did you set the permissions in the new file correctly?
I successfully tethered a Samsung Fascinate to the NC, two different NC's by the way. Process works.
Click to expand...
Click to collapse
I was able to tether to a laptop a couple of months ago. I'll try again later today. I've probably changed ROMs on my Droid 1 since then.
Permissions are correct.
I'm sure it does work for everyone except me. That's why I'm frustrated!
EDIT: Must be my Droid. I can no longer connect via laptop.
EIDT2: switched to CM7 and all works now!
Is there a good tutorial for the Root Explorer way of doing this?
I've followed the directions on http://forum.xda-developers.com/showthread.php?t=868354 but for whatever reason, even though I can visually see the files in the right spots, and the commands all run properly, I can't see the Ad Hoc connection from my Droid 1.
mg00000 said:
Hi there. So you successfully added your supplicant file. Did you follow Root Explorer as the way to accomplish this?
I tried it and now there's no Wifi at all. I'm awaiting a reply on the thread for performing the ad-hoc, but replacing and renaming the WPA files did something to mess me up. (I did something to mess me up) ( ;
Resolved : the folder was my fail. Had to rename the wpa folder, then move the adhoc fix version of the file outside of it....direct into bin.
Click to expand...
Click to collapse
I know the OP said their problem was fixed, but I thought I'd still post this.
I found out that some ROM's and/or kernals broke Access Control and disabling it on your droid will allow you to tether again. You can still use security, just not access control.
Has anyone been able to get any version (2.0.7 or 3.x beta) of Google's WiFi Tether app working on their rooted Droid Bionic? Link to app
It didn't seem to work for this guy at the end of the video: Link
For me tethering is critical for work and I don't want to activate my Droid Bionic (which is coming tomorrow) until it can be confirmed working. Will keep using Thunderbolt for now... I can also imagine this is a huge issue for many other users.
However, I am aware that Motorola devices need some kind of device profile in the "Change Device-Profile" option in the settings of that app, has anyone played around with that, maybe choosing the Droid X or other Droid?
Any feedback greatly appreciated...
I hope you find a solution soon, I also have the same problem
Don't bother until a custom ROM comes out that can "hide your ass".
Since it is for work, paying for the monthly tether should be a business expense.
I tried some of the work-arounds on the net... barnacle did not work for me... choosing the droid x profile in device setup at least showed my wifi hot spot, but I could not obtain an IP... I had also noticed errors about dhcp in the log.
kierandill said:
Since it is for work, paying for the monthly tether should be a business expense.
Click to expand...
Click to collapse
exactly, in the mean time your going to be stuck using PDAnet and a USB cable.
Got it, rooted it, figured it out. Use version 2.0.7. Change the LAN option to 10.10.1.x
Also it only works in ad-hoc mode but at least its a start. I'm sure updates will fix it.
open1your1eyes0 said:
Got it, rooted it, figured it out. Use version 2.0.7. Change the LAN option to 10.10.1.x
Also it only works in ad-hoc mode but at least its a start. I'm sure updates will fix it.
Click to expand...
Click to collapse
Woot! I don't own one but I am glad you got it going perhaps a screenie of some data transfer?
Also try this with the 3. beta if you don't mind
Brenardo said:
Woot! I don't own one but I am glad you got it going perhaps a screenie of some data transfer?
Also try this with the 3. beta if you don't mind
Click to expand...
Click to collapse
Can't get 3 beta to work at all but it doesn't offer anything other than ad-hoc mode also. Also doesn't show data going through on the app. But hey at least it works.
Can anyone confirm the 2.0.7 wireless tether working?
not working
2.07 not working for me even using the 10.1 network. clients fail to obtain an IP address.
Same problem here - wifi tethering not working...
The newest 3.x didn't work for me. Has anyone tried manually setting the client's IP/Gateway/DNS? I don't remember what the dhcp issued on my incredible, otherwise I'd go grab my laptop and mess around with different static settings.
RawNis said:
2.07 not working for me even using the 10.1 network. clients fail to obtain an IP address.
Click to expand...
Click to collapse
It takes a long time I noticed. Wait for the little blue notification icon to appear that shows the device is connected. Can take as long as 3 minutes sometimes but it works for me I assure you. The key thing is the 10.10.1.x network which is still unblocked because VPN's can use that network, anything other than that won't work.
I can't get wifi tehthering to work but just using the phones built in usb tehering option works and does not send me to a page to subscribe for tethering. Don't know why this works but if I try the built in wireless tethering it says I have to sign up. EDIT Was working on launch day but tried again today and won't work so I guess the system wasn't updated the first day I tried it.
Hi,
I found way to enable Hotspot without Verizon Provisioning. I used SQLLite Editor to modify settings.db for "Settings Storage" application ( com.motorola.android.providers.settings ). Set entitlement_check to 0 and reboot the phone.
Dmitry
ddv2005 said:
Hi,
I found way to enable Hotspot without Verizon Provisioning. I used SQLLite Editor to modify settings.db for "Settings Storage" application ( com.motorola.android.providers.settings ). Set entitlement_check to 0 and reboot the phone.
Dmitry
Click to expand...
Click to collapse
I just tried this. It appears to be working. I was able to connect and browse from my laptop. Now the question is, does Verizon still know I'm tethering even though I'm not paying to tether?
I second. Works for me a well, with no warning or pop up. Cudos to you my good man
Sent from my DROID BIONIC using xda premium
Just did it and all seems fine so far.
btw, WOW. Ive never poked around the databases like that. Everything from the hdmi overscan to wifi info is in there. That is So cool.
Works for me too! However, only works properly with WPA security. If Hotspot is set to "open", you can connect but get no internet...
Ok,
So, I, along with a few others, pay for the Unlimited Mobile HotSpot and want this app to work as other (root) tethering apps only allow Ad-Hoc.
Here's what I did to get it to work on my Windows 7 x64 Computer as of just a few moments ago and I do plan to work on this issue to get this figured out.
I've discovered that the /data/misc/dhcp/udhcpd.conf file is what controls the DHCP addressing for the 4gMobileHotSpot App. Within this app, I discovered (in the Modded ROM (as of now, I have Gingervolt1.1)), that the "Option DNS" addresses were completely wrong. This was apparent from the get go as they were internal IP address starting with 192.168.x.x.
The steps to get this app working on Windows is:
0 - Be Rooted (Sorry, just had to point the obvious out in Step 0)
1 - Use the market and download/install the Text Edit (Paul Mach) App
2 - (TESTed and Working), Use AntTek (root) Explorer and navigate to:
/data/misc
3 - Long Press the udhcpd.conf file and select to open with the Text Edit App
4 - Change the 'option dns' from 192.168.x.x to 66.174.92.14 69.78.96.14 and save/exit
5* - In Windows, set the IPV4 Properties to:
Use Following Address:
IP Address: 192.168.1.5 (or anything in between start and end range in text file)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Use Following DNS server addresses:
Preferred DNS Server: 66.174.92.14
Alternate DNS Server: 69.78.96.14
6 - Start 4gHotSpot App
7 - Tell Windows to Connect and you should be connected.
NOTE: It is late and I know that this will become clearer as time goes on and since I have to work in the morning, this is the best I came up with in a few minutes after figuring out that the hang up was with this file, in which I knew it's been a DHCP issue all along. Why this file is changed with the Modded ROMs is beyond me and I doubt MT changed this, so likely it is something to do with the DE-odex or some other modification of this app and it's initialization. Just deleting the CONFIG file will only cause it to write a new one with the wrong values again.
For those who do use this app, it is known to stop responding at times and I am going to look into that. I'm thinking this is a DNS issue and will try some other DNS Servers (8.8.8.8 I believe is a Google public DNS)..
In the meantime, this is a start for anyone to add to this that has more DHCP/DNS/Network experience. I don't have another android device handy to test the connectivity, so will have to get that figured out.
Key point here is, is that the 4gHotSpot App gets corrupted with the Custom ROMs and for some reason sets up wrong DNS servers in the Config file.
Hope to see some thoughts, additions, fixes, to this problem with this being pointed out, from others. I will continue to work on it throughout this next week after work.
Last Note: The DNS server numbers came from the original Config prior to rooting/modding. Also, I do know that is it redundant to have them in the config file AND the Windows Properties. It's just that setting Windows to 192.168.1.1 (option router in the Config file) didn't work. Again, will work on cleaning this method up and simplifying.
-Cybie
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
displacedbuck said:
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
Click to expand...
Click to collapse
Ok, so here's what I did after reading your post:
1 - Corrected the path (Sorry, it was late and I missed that /dhcp portion of the path).
2 - Deleted "option router 192.168.1.1" from udhcpd.conf file
3 - Deleted "option dns x.x.x.x x.x.x.x" from udhcpd.conf file
Set Windows up with the Following:
Static IP : 192.168.1.2
Subnet : 255.255.255.0
Gateway : 192.168.1.1
DNS Servers : 4.2.2.1 & 4.2.2.2
That worked.
So, what I am seeing if I try to use DHCP on Windows is that the 4gHotSpot gives the computer 192.168.16.x addressing even though the config file is set to give out 192.168.1.x addresses (x=2 through 254). It also gives Windows 3 DNS servers that are local IP addresses and will never go anywhere.
What to do now? Figure out what is being changed with the Custom ROMs that is causing the app to act like that. In fact, it will act like that when I restore back to Stock GB Rooted via restore from backup in CWM, but I have yet to test deleting the config file and restarting 4gHotSpot to test. I will do that over the weekend as I don't have a lot of time I can have my phone down during week. But I do plan to up to the GingerVolt1.3 tonight.
As of right now, I am using my windows machine connected to the 4gHotSpot App to write this post. Also, I don't know about the iPhone/iPad and possible settings. If you can Force (Set a Static IP) then follow what I did up above, but you will also need to set the DNS servers and not sure you can do that on an Iphone/iPad.
The DNS Servers I listed are found on a public list and are also said to be Verizon DNS servers...
The other problem I found and is an issue with the app, is using auto b/g/n will cause the hotspot to lose connectivity. When in that mode, I connect at 65Mbps, but it drops down to 6Mbps and stalls and fluctuates. I set it to 'g' only and get a SOLID 54Mbps connection just like the tether apps.
SPEED TEST Results: 18.35 Mbps Down, 10.66 Mbps Up without a glitch.
Obviously this app works with DHCP addressing as STOCK. So, I will begin my Android Development with figuring out one of two things. Either get this app to work as it's supposed to, or create a root app with 'Infrastructure' based on whatever I can find in the coding for this app if I can figure out a way to decode it.
I personally hate the idea that you can't connect other android devices to AdHoc and also annoys me to have to manually connect Windows since it doesn't seem to have the ability to automatically connect to AdHoc Networks. Linux does perfectly fine with auto connect AdHoc, go figure. Android is Linux Based, yet can't AdHoc, but provides an AdHoc as an access point for other devices. weird, lol.
Let me know if any of this helps, but do know I am going to continue to figure this out. I'm sure de-odexing the app had something to do with it as I'm sure Verizon did their best to keep this app from being hacked for free HotSpot service.
-Cybie
Thanks for the detailed response.
I'm going to try again. I won't be able to try until tonight or tomorrow morning when I have time to play with it and roll back if necessary.
I'll let you know if it works or I find out anything else.
Before you install a ROM and have the app working, try connecting your computer and get the values (ip, dns, gateway, etc.) That the app dhcp assigns and post that. Rooting the phone alone shouldn't break the app either. By getting those values posted, would help and also save me from downgrading just for that purpose. Knowing that it works with without a mod is one thing,. So my focus is working on getting it to function with a modded ROM.
It's strange that i can get the app to work if i force the connecting device to values (static settings), but this doesn't help with certain devices and needs to connect via dhcp.
-Cybie
Sent from my VS910 4G using XDA App
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
displacedbuck said:
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
Click to expand...
Click to collapse
These number are from your connected device? What device are you connecting that give you such numbers? I'm not familiar with the iPad and how it displays connection details. Is that what that is from?
I'm still able to connect after updating to GingerVolt1.2 and manually installed 4gHotSpot app. I just got home with little time to work on this project for the night, so I will update what I can if any changes in getting things to work.
-Cybie
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
displacedbuck said:
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
Click to expand...
Click to collapse
Sounds good. Those numbers will help.
I will add, though, that someone posted a way to get the wifi tether to work with the Revolution, here in the forum. The problem, though, is that it's connection via 'n' mode, which would be great, except it drops out. If you try to download something that's fast (or going to speedtest sites), you will find that that happens and what everyone is complaining about the HotSpot app not working. All that needs to be done is changing it to 'g' only mode and a solid connection.
Anyhow, I will see if I can figure out how to get that app working on 'g' only mode also, and if I do, then I will just use that app instead. Otherwise, I plan to continue to figure out the 4gHotSpot App
-Cybie
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
jamRwoo said:
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
Click to expand...
Click to collapse
Sorry for the delay. Been working extra hours at work and haven't had the energy to do much with this past couple days.
Anyhow, no, I don't intend to try to get it working for those who do not pay. Why? There are apps out there for this and the only reason I was trying to get this to work properly was for the fact that it would be nice to have the proper connection for those who do pay. I say that because the HotSpot app actually has a faster wifi connection (using n mode) than the tether (root) apps out there, with the exception of the one posted at:
http://forum.xda-developers.com/showthread.php?t=1339150
Unfortunately I am having the same issue with the HotSpot and that app (using infrastructure mode) when connecting. They both to link up at 65Mbps. In fact, I got 72Mbps with the wifi Tether app from the link, but like the HotSpot app, I have issues with the connection dropping out using 'n' mode.
The HotSpot app will allow you to set it to 'g' only mode, though only get a 54Mbps link speed, but sustains a solid connection with no drop outs. Others say they don't have that issue, so it may just be my wifi adapter??? I am going to test it on my laptop, but if I remember, I did have that same issue with the laptop, so maybe it's just my phone??
Either way, I am going to be doing what I can to get 4gHotSpot to work correctly with rooted/modded ROMs. Strange thing is, rooted, it still works fine. After installed modded ROM, it fails to work. And if I restore back to factory rooted via CWM, it still doesn't work. You actually have to restored/flash back to total stock. After that, you can root with it working, but not after installing a ROM.
-Cybie
Any luck with the fix?
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
ALTANertive said:
Any luck with the fix?
Click to expand...
Click to collapse
I've been doing testing. Please read below for some more of my findings.
sgschwend said:
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
Click to expand...
Click to collapse
I've noticed something very strange with the HotSpot and Rooting.
If you root, the HotSpot continues to work. But, if you reboot after rooting, that's when the failures begin. So, I am thinking that the files are being overwritten. I've been able to test with clean root, root with tether app, and restore without root.
Without root, the HotSpot continues to work fine as I have been using it for the past two weeks as I need it for my new WiFi Tablet. There is the WiFi app the allows for Infrastructure, but that also allows devices to connect via N-Mode, where I have issues of the data dropping out. Forcing b/g only on my HotSpot app, I have very reliable service.
I am planning (after my trip) to root my phone, copy some DHCP files before ANYthing can be changed and before rebooting. Comparing these files and seeing if anything changes there. If so, that will allow me to create a simple app to restore these files back to stock, either automatically, or through 'starting' of the app.
I haven't forgotten about this issue and It's something that I am needing to figure out. The problem is time right now. For the past few months, I had to work a job in order to keep bills paid. That job took a lot of my hours I used to have to figure things out. I am going to be having limited time available, but do plan to work on it some more in the next few weeks, especially since i want my Tablet to work flawlessly with my phone, as that is my ONLY source of internet and I DO pay for the HotSpot service.
-Cybie
Thanks for the update.
Like you I also pay for the 4g hotspot. I jumped on it when they offered the unlimited for $30.
Now that I've tried the gingervolt rom and the supercharger script I don't think I can go back. It just feels like a totally different phone.
I haven't had as much need for it recently so I haven't tried one of the other tethering apps.
Thanks for plugging along on this.
Yes, thanks for looking at this.
Here is some more observations:
Using your set ip and other setting I can get the hotspot to work. Two of my devices are not able to set a fix address without rooting them. So they do connect but only my PC will download a web page.
Here is the address my Revo is setting on the other two devices: 192.168.16.30 and .31.
Ok, so here's an update to this issue.
I have tracked the problem down to a failure to write to the udhcpd.leases file within the /data/misc/dhcp folder.
So, I did some searches on the net about a few things, but there's not much information regarding the "paid" HotSpot feature vs the (Root) Tether Apps.
What I did comes across, though, is there seems to be some sort of issue with certain versions of busybox relating to the udhcpd.conf. I also found the file that gives the 192.168.16.x addresses. But, by the time I found it, the phone already goofed up the HotSpot app settings and things weren't working. So, next round of factory restoring via LGNPST/Tot, I will seek into that and see what I can find out.
It's weird that the 4g HotSpot app will work flawlessly on the initial boot (Rooted, ROM'd, and even OC'd). But, after a reboot of the phone (once or twice), it becomes corrupted and non-working. It's going to be related to some sort of permissions issue and some file that is able to be corrupted/changed with the root/superuser access. I had similar results with fresh restore and JUST root, so the ROM's have nothing to do with it as far as I am concerned at this point.
In case you might ask. I Refreshed phone to total stock, rooted, and then, all at one shot, installed Gingervolt 1.3, OC, and Hotspot before rooting phone. HotSpot worked fine until the next reboot, where it did work for a few minutes then Kaboom! Nodda.
If someone can access (pull) the /system/var/lib/misc/udhcpd.leases file from a fresh stock phone, or even first-time booted, rooted phone, I would appreciate that as this file may be something in question, but my file was already changed by the time I found it.
-Cybie
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
sgschwend said:
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
Click to expand...
Click to collapse
EDIT: When you copy these files, Don't view them until you zip up a copy first. They could potentially get corrupted. not likely, but with the way it's going with this 'project', who knows.
adb pull /data/misc/dhcp datadhcp (This will copy files from phone to a created directory called datadhcp)
Also, and more importantly, this is what I am really wanting:
adb pull /system/var/lib/misc varmisc (copies to created varmisc folder)
AND
adb pull system/etc/dhcpcd dhcpcd (copied to dhcpcd folder)
The created folders and files will be in the same 'dos' directory you have adb in. You can use the folder in which the all in one root is from MT if you are wondering where to get that by any chance.
Those would be a big help in getting thing figured out. At least, if those are the culprits.
NOTE: In order to have non-corrupted files, these have to be pulled from a fresh restore via LGNPST / Tot method. A restore via nandroid backup will not work. those files, once corrupted, seem to remain so, even after a restore for some odd reason, unless you were lucky enough to not have them corrupted prior to backing up, which would likely mean you rooted, rebooted into recovery and backed up before rebooting into your phone.
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
Click to expand...
Click to collapse
Please clarify on this. Are you referring to starting the 4gHotSpot, shutting it down, and then starting a (root) Tether App??? If so, I haven't really had that issue because once I have to use the root apps to tether with, that usually means my HotSpot won't work at that point. I will say, however, I have had an issue where the HotSpot didn't want to shut down. I just go into Services/App Management and force a shutdown instead of a reboot. A bit quicker....
-Cybie
I will take a run at copying this stuff later today.
On the hotspot bug. Even before rooting, or upgrading to GB there was this bug, and it is still there after GB.
Once the hotspot has been started and then the user shuts it down it appears to shut down. Then the tethering (the application that came with the phone) is initiated it looks like it is tethering but the hotspot icon comes on after the phone has finished tethering and indeed it is running that way too.
I tried this five time last night: Restored the hotspot both application and data (titanium app), installation part of the application would fail but T said it was complete. Launched the application and two of the five times the PC had the correct IP address, the other three times it had the corrupted ones. Also when the PC did come up correctly the second device's IP address was corrupted. So I may need to fiddle a bit to fine the uncorrupted files after restore.
Perhaps someone else could help with copies the files too?
Hello All,
My tethering hasn't worked since the upgrade, regardless of root, method or hack. It appears to set up the network fine and the laptop connects, but I can't pull up a site and troubleshooting points to DNS errors.
So it seems (after loads of research) that this is a known issue... But it's not an issue so much as a "feature" for our carriers: Apparently Jelly Bean allows Carriers to recognize and block tethering. That's why some folks lose tethering, and some don't. The "issue" is a switch that was enabled at the carrier's end.
For those of you who know that you are supposed to be able to tether per your agreement, the solution should be as easy as calling your provider and having them enable tethering.
For those (like me) who have been sneaking in the back door and wish to continue to do so, the fix seems to lie in iptables (root required). The simplest version I found was entering this in terminal:
Code:
su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE"
...where "rmnet0" is replaced with the interface specific to your device. Apparently after this, one should be able to tether normally.
(Reference Android Google Code reported issue 38563, see comments 122, 125 & 131. Sorry... too noob to be able to post links)
Unfortunately this didn't work for me, but more than likely because I haven't a clue what I'm dabbling in. I sought out my "interface" by running "netcfg" in terminal with tethering disabled, and chose qmi0 (the one with a xx.xxx.xx.xx format IP address, the same as shows for the phone when it's successfully online). Does anyone know enough to see my mistake, or otherwise be able to help me with this?
Thanks in advance!
Actually FoxFi released an update that supports usb tethering and wifi hotspot for the Droid 4. No root required.
You have to uninstall earlier versions of FoxFi and it's certainly worth it to get the paid version!
You do have to establish a password/pattern unlock for your phone which I find slightly annoying, but that's the workaround FoxFi found to make it work under JB and certainly worth the minor inconvenience.
Works great! I am writing this from my tablet tethered through hotspot to my Droid 4.
I had a custom rom installed because I need the wifi hotspot, but now I can thankfully go back to the (extensively TiBu cleaned) stock rom since the CM roms all have unacceptable bugs and/or instabilities IMHO.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
Thanks for your response berndblb... I must admit, you got my hopes up!
Alas, it seems my problem runs deeper than FoxFi's solution. I downloaded, installed and gave it a shot, but basically got the same stuff I'd acco mplished already with root: I can build a network, I can connect to it (really adds to the optimism), but I can't reach the DNS server. No joy. My guess is that FoxFi still only manages to bypass Verizon's block, but not the switch that's the problem inherent to JB.
And so I maintain my hope to find a resolution via iptables as described here https://code.google.com/p/android/issues/detail?id=38563.
Help?
Strange, I can tether just fine on my Droid 4 (Verizon) with unlimited data using the SQL database edit and the stock Mobile Hotspot app.
I'm not supposed to have tethering but just browsed the web on my tablet tethered to my Droid 4 with no issues.
Who is your carrier? Every other Verizon Droid 4 owner who has done the SQL edit has been able to tether....
tcrews said:
Strange, I can tether just fine on my Droid 4 (Verizon) with unlimited data using the SQL database edit and the stock Mobile Hotspot app.
I'm not supposed to have tethering but just browsed the web on my tablet tethered to my Droid 4 with no issues.
Who is your carrier? Every other Verizon Droid 4 owner who has done the SQL edit has been able to tether....
Click to expand...
Click to collapse
Thanks for your response.
I'm with Rogers here in Canada (AT&T's counterpart). Agreed about the SQL database edit having been the trick. That's all it took to get me rolling in ICS with the stock hotspot app. When I upgraded to JB, I removed the entitlement check in the SQL database and thought I was set... but no joy. Everything looks good right up until I try to pull up a website. That's when I realize I'm not getting to the DNS Server, and therefore unable to surf. I know nothing's changed on Rogers' end, because I can still tether if I drop my SIM back in my old D2G.
My research led me here: https://code.google.com/p/android/issues/detail?id=38563#c122. Previous comments explain that tethering is now blockable at the carrier's end (what Verizon was attempting to add with their "entitlement check"). Comment 122 narrows down the source of this block as IP address related, and suggests a fix that worked for him. To quote:
I'm not sure exactly what it means for the device to "properly flag when data is for tethering purposes" (comment #105). My own observation was that the outbound data on the 'rmnet0' interface wasn't being NATted. The phone's IP address on that device was (for example) 10.182.48.29 and all its *own* data was coming from that address. And responses from the Internet were coming back just fine.
The phone assigns IP ranges in the 192.168.0.0/16 range to its clients on the USB and wifi tethering. And those 192.168.x.x addresses were being seen on the outbound rmnet0 interface unmolested. Perhaps that's how we're *supposed* to indicate that it's tethered data, and we let the carrier perform NAT for us at their end?
Either way, running this command seems to have 'fixed' it for me, and with my Samsung Galaxy S3 on Orange UK I now get functional tethering again:
su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE"
Obviously there's nothing preventing your carrier from assigning addresses in the 192.168.0.0/16 range to the device itself, and I have no idea what the various rmnet[012] devices are, so this isn't a "fix" for the general case but most people with a rooted phone should be able to work it out from here...
Click to expand...
Click to collapse
Assuming I'm on the right track (symptoms are the same), I'm looking to figure out how to adapt this to work for me. Unfortunately messing with iptables is well over my head. Sigh...
Yeah i had the same problem FoxFi Worked for me as well
this will forcefully allow tethering no matter what...
If this is over your head, do NOT do it! You can permanently brick your phone!!!
http://forum.xda-developers.com/showpost.php?p=15931904&postcount=1
This goes to the hardware level and mods things to make it look just like your phone is pulling the data not tethering.
Technically this will work on any and every motorola phone
je2854 said:
this will forcefully allow tethering no matter what...
If this is over your head, do NOT do it! You can permanently brick your phone!!!
http://forum.xda-developers.com/showpost.php?p=15931904&postcount=1
This goes to the hardware level and mods things to make it look just like your phone is pulling the data not tethering.
Technically this will work on any and every motorola phone
Click to expand...
Click to collapse
Thanks for your recommendation je2854.
Good news: successfully made the changes, and phone is not bricked.
Bad news: same trouble as before. I can create a network and connect to it, but can't get a DNS server (for either USB tether or WiFi Hotspot).
Really frustrated here. I've reverted to a trashy LG L7 as my primary phone. Slow and no hardware kb, but at least it works. Sigh... Droid 4 going back in the drawer until someone figures out how to rewind to ICS.
Just an FYI about the method posted above.
It is only for legacy 3G CDMA/EVDO devices like the Droid 3 and does not work at all on any LTE capable device with SIM based authentication.
But the good news, as stated by tcrews above, is that wifi tethering works just fine under 4.1.2 using the SQLite Editor entitlement check mod and also
WiFi Tether for Root available in the Play Store works very well under 4.1.2.
Use the Generic JB wlan1 profile and netd-ndc(master) setup method and it works as it always has under previous OS versions.
I am tethered to my D4 right now posting this with the latest cdma_maserati_9.8.2O-72_VZW-18-2_1ff.xml build released a week or so ago flashed on it.
It works!
cellzealot said:
Just an FYI about the method posted above.
It is only for legacy 3G CDMA/EVDO devices like the Droid 3 and does not work at all on any LTE capable device with SIM based authentication.
But the good news, as stated by tcrews above, is that wifi tethering works just fine under 4.1.2 using the SQLite Editor entitlement check mod and also
WiFi Tether for Root available in the Play Store works very well under 4.1.2.
Use the Generic JB wlan1 profile and netd-ndc(master) setup method and it works as it always has under previous OS versions.
I am tethered to my D4 right now posting this with the latest cdma_maserati_9.8.2O-72_VZW-18-2_1ff.xml build released a week or so ago flashed on it.
It works!
Click to expand...
Click to collapse
speaking of flashing... I have purchase one of your OTG adapters.... b-e-a-utiful work you have there!
works amazing! even on the HP TouchPad! (it charges faster like it should)
Also you are correct, I used to have a D3 and that hack works well...
could you kinda point me in the right direction of the SQLite hack? I have that and would like to try it...
(Although I already have tethering enabled via family share)
WaHoo!! Consider yourself kissed!
I'm typing from my tethered laptop. Not sure what did the trick, as I've tried WiFi Tether before with no joy.
I did flash the 18_2 JB, though, and tried the WiFi Tether settings you recommended. Up and running. And grinning.
THANKYOUTHANKYOUTHANKYOU for bringing my Droid4 back out of the drawer it was banished to a couple months ago!
cellzealot said:
Just an FYI about the method posted above.
It is only for legacy 3G CDMA/EVDO devices like the Droid 3 and does not work at all on any LTE capable device with SIM based authentication.
But the good news, as stated by tcrews above, is that wifi tethering works just fine under 4.1.2 using the SQLite Editor entitlement check mod and also
WiFi Tether for Root available in the Play Store works very well under 4.1.2.
Use the Generic JB wlan1 profile and netd-ndc(master) setup method and it works as it always has under previous OS versions.
I am tethered to my D4 right now posting this with the latest cdma_maserati_9.8.2O-72_VZW-18-2_1ff.xml build released a week or so ago flashed on it.
It works!
Click to expand...
Click to collapse
Yay!! Congrats! Glad to help out...D4 is still a great device and for better or worse it is still "best in class" of all the hardware qwerty keyboard phones.
Good luck!
none of above work for me.
verizon build # 9.8.20-72_vzw-18(debloated with script)
entitlement check edit works and keeps thru reboot
sqlite editor (install in play store)
goto:
settings storage: (hammer and wrench icon. says "com.Motorola.Android.providers.settings" below it)
settings:
66 entitlement_check:
long press over the 1, change to 0 and click save
exit and reboot
native hotspot works