(this is my first post, so I apologize if it's in the wrong category)
I bought a used tablet that was originally sold by AT&T. I unlocked it and wanted to use it as a hotspot, but the settings menu for (a) configuring the hotspot and (b) enabling hotspot and tethering is missing/hidden. (Apparently the original data plan it was sold under didn't include connection sharing, or something.) So I couldn't set up a hotspot or tether.
I've been able to do 2 things so far using adb:
add a quick settings tile for turning the hotspot on/off (via this post).
This is great, but doesn't ultimately help because I'm not able to configure the hotspot (i.e. set the name/password) and I can't connect to the default hotspot it apparently enables
get the tablet to display a limited settings menu that lets me (a) turn usb tethering on successfully, and (b) toggle the hotspot - but again without being able to configure it. [adding to clarify: the menu has just those two toggles, but no settings for actually configuring the hotspot.] The command I used was:
Code:
adb shell am start -n com.android.settings/.TetherSettings
What I want to be able to do:
get the tablet to display a menu that lets me configure the wifi (name/password), or alternatively do the configuration via adb
if possible, get the menu I described to be permanently added to the tablet's Settings menu. Right now, whenever I want to tether I first have to run the adb command to turn on the menu that lets me enable it.
Is any of this possible?
The tablet is running 7.1.1.
Many many thanks for all help.
Why not create a .sh script - that runs the AM as shown by you - what is run when Android is booting?
If you have Magisk installed you can place the .sh to
/sbin/.magisk/img/.core/service.d/
or to
/sbin/.magisk/img/.core/post-fs-data.d/
( Don't forget to make it executable: chmod +x your-script.sh. )
Otherwise running .sh scripts when Android is booting can be achieved by Init.D Scripts app. A rooted Android is not required.[/QUOTE]
Thanks, that's an interesting idea. It has the drawback that I'd still have to be careful never to close the menu it launches, since once closed I don't know any other way to access it. But it's definitely better than nothing. (And I didn't know it was possible to customize init scripts! That is really useful.)
Any suggestions on a way to configure hotspot settings?
I should probably clarify: the menu I'm able to launch has only two items - a toggle to turn the "Mobile Hotspot" on and off, and another toggle for USB tethering. There's no submenu for configuring the hotspot, and I don't know how to access those settings.
decemberhat said:
I should probably clarify: the menu I'm able to launch has only two items - a toggle to turn the "Mobile Hotspot" on and off, and another toggle for USB tethering. There's no submenu for configuring the hotspot, and I don't know how to access those settings.
Click to expand...
Click to collapse
I must admit that I completely misunderstood your issue. Now I know that's related to your Samsung device where you modified its quick settings menu. Anyway: you can't by means of ADB change layout of this menu.
Recommendation: Add SAMSUNG to start of this thread's title.
Ah, good point. I changed the title.
What I was hoping was that there was a second, separate hidden menu I could access for hotspot settings, similarly to how I was able to access the hidden top-level tethering menu.
Or, barring that, some way to configure the hotspot directly via adb commands.
Related
Scenario:
I am sitting and reading a book using my nootered NC on the subway (adhoc-enabled, so I can tether to my phone should the need arise), when with an annoying frequency a message pops up about an open WiFi network becoming accessible. This may happen when someone's Blackberry (or another gizmo) nearby starts broadcasting their SSID or I wander into a commercial wireless network zone. I want this message to never be displayed.
Fix:
Because the stock Nook ROM does not have a normal Android Settings app, this is not as simple as unchecking a corresponding box in Wireless & Networks.
Edit the /data/data/com.android.providers.settings/databases/settings.db
and change the entry labeled with 'wifi_networks_available_notification_on' to have a value '0' (instead of '1').
Obviously, undoing this is as simple as reverting to the old value of '1'. Also, this hack is undone by a factory reset.
You may need to reboot and things should be good.
I have sqlite3 installed in /system/bin so I do this on the Nook through ADB shell, but one may do this by pulling a version off onto their computer and edit the file "offsite."
If more explicit instructions are necessary, I can whip something up tomorrow.
Let me know if there is any interest.
I didn't get much response on my previous question about proxy support for the stock rom, so I was wondering if any of the alternate roms include it. I would very much like to have access to the internet at work, but the school district requires loggon through a proxy server (content filter) before you can access the WiFi network. I realize that port restrictions that the district places on the network will likely prevent me from accessing the market, gmail, or voice search. But at school, I would most like to just access flash based educational website for kids.
Any thoughts on this? The district is moving toward ipads as the tablet platform of choice because of the lack of proxy support with Android. But the ipads lack of support for flash really hinders what I want a tablet to be able to do for me. (Yes, I want my cake and eat it too!) Is this too much to ask?
I connect my gtab to my schools wirelesss that is using 802.1x EAP for wireless security. I had to install a mod that changed the settings app and allowed advanced wireless settings. That allowed me to put in the authentication type, domain name, password, etc. Once connected, I ran a mod that set it back to the original settings apps. I asked in your previous post as to whether you are having problems actually getting on the wireless or once on, you can't bet by the web filter. We use websense here. Once I got on the wireless, there was an websense authentication dialog that popped up. Once I put my domain\username and password in, it works fine.
It won't even let me connect to the district network because I don't have anywhere to enter the proxy settings in the wifi set up box.
Assuming you have Pershoot's or Clemsyn's Kernel (or one of the better ROMs), you need something like ASProxy. I use it at work all the time and it does the job. There is a free program called TransParentProxy which is more limited but does allow you to quickly test settings without spending any money.
I do not see a proxy settings in the wpa_supplicant.conf file. My understanding of this file is it lists all possible settings settings available for Wi-Fi configurations.
# This file describes configuration file format and lists all available option.
Click to expand...
Click to collapse
Previously I've only needed to access a proxy after connecting to the network. Perhaps you have run into a problem getting connected to your network using the tablets Wi-Fi settings manager. So connecting to the network might be your first step and then connecting to the proxy your 2nd.
I found the free Wifi Advanced Config Editor (WifiACE on the Android Market) to have a GUI to easily configure advanced Wi-Fi settings not found in the tablet's settings. I realized when trying to set up an advanced configuration I needed to create a new connection in the tablets WiFi Settings with the security of NONE to avoid having some of the wrong settings configured by default. Then using the information from the my network admin I manually set the options via the WifACE GUI, un-checking NONE, and bingo I got connected.
I recommend WiFiACe with one caveat: make sure you have a way (like adb) working and know how to backup, delete, and restore files and that you make a back up of all wpa_supplicant.conf files on your tablet.
My caveat comes because my first reboot after I got connected to the Enterprise network at work the Wifi would not start or run. It would only display "error" and do nothing. Several reboots later it still wouldn't start and without Wi-Fi running there is no way to make configuration changes either through WifiACE or the tablets Wi-Fi Settings. I had to use the adb shell to delete the newly configured wap_supplicant.conf and create a new connection via the tablets Wi-Fi Settings and then make the necessary changes through WifiACE. Once that was done it ran and connected. Now after multiple reboots it still works and connects. Without the ability to delete the file I'm afraid I would have had to re-flash my tablet to get Wi-Fi to work again.
I don't think you've ever mentioned what ROM you're running. If you're running stock, you will have a very difficult time, in fact it may be impossible. If you're running a different mod, there's hope. Now, assuming that you got ClockWordMod (CWM) installed, you can probably be successful in at least connecting to the wireless. If you don't have CWM installed, here's a good place to start:
http://forum.xda-developers.com/showthread.php?t=865245
Once you have CWM installed, go to this thread:
http://forum.xda-developers.com/showthread.php?t=857939
This will give you the zips for installing a differernt wireless config tool that will allow you to put in the 802.1x EAP config. Once you can successfully connect, you back out the the tool you installed.
I know this is not allowed by att, but is this something that can be hacked, or is it a hardware issue? Or at least tethering?
Guess it should be solved as a voice call functionality block. S-OFF + simple property modification. Without custom ROM.
I'm sure a hack will be found for it, once the device is rooted and such. Much like the Sprint device ROMs come with the Wireless Tether application, there will likely be one for the Jetstream once we can get the device rooted.
Greetings... Believe it or not, I "accidently" found a way to activate it, without root. I installed super box from the market, and when I was in the power save menu, the hotspot line said off, but clicking it took me to the regular settings menu and the menu to the right allowed me to turn it on, give it a name and set security! The odd thing is that the list of menus on the left is not highlighted as to which one you are in, so you can't access it through "settings," only superbox. There may be another way, but this works!
HI,
I am new to Android with my first device being the Jetstream. I would love to have hotspot capabilities, would it be possible for you o provide a stepwise outline of how you gt this feature to work?
Thanks so much.
Ok, I downloaded the program and as you said, I was able to turn on the wi-fi hotspot capability; however, even when I changed the SSID name it showed up in other devices as "HTC Portable Hotspot" and even if the security was left open it kept asking for a password. I changed the security to require a password, but when I entered it it did not allow me to connect.
Did you do anything else?
I think you are on track.... The password is your choice, and is only an option if you pick one of the two security protocols. The password would be entered on the other device trying to connect to the jetstream. If the name is fixed, I'm at a loss, didn't have that issue...
any luck with this?
Thanks to badjedi for pointing this out. I have verified that the X Tether module for the Xposed Framework will allow you to successfully tether using the stock app provided with the Z3v.
This is primarily for those of you who have a Grandfathered Unlimited Data Plan with Verizon Wireless and would like to not have to pay for tethering while we wait for customs roms. I apologize in advance for not being able to post links. The required files are attached.
If you are not already rooted, please follow GigaSPX's guide on how to root your Z3v.
Please download and install wifi_tether_v3_1-beta14.apk from code.google.com/p/android-wifi-tether/downloads/list
Open the installed app and verify that Disable Update-Check is selected under settings
Press the big button to start tethering. Click grant when prompted for root access. The big button will turn yellow. Press it again to stop tethering. You will get a bunch of errors during this process, this is normal. This will install the required binaries and config files to /data/data/com.googlecode.android.wifi.tether/
Restart your phone.
Verify that tether.edify is located in /data/data/com.googlecode.android.wifi.tether/conf/ using root explorer or another file manager of your choice. If it does not exist repeat the above steps.
Replace tether.edify with my modified version located in the attached tether.7z archive.
You can now tether over wifi using this app.
NOTE:
Enable WiFi-Encryption does not work.
Enable Access-Control does work and can be used to prevent unauthorized access to your network.
Make sure under Advanced Wi-Fi in your system settings the option Scanning always available is checked.
I followed your steps exactly, but it doesn't seem to be broadcasting. I don't see a wifi signal from the phone on my computer or ipod, even though it says it is broadcasting. I've uninstalled the app, cleared the data, and reinstalled app using the procedure above twice. Any suggestions?
badjedi said:
I followed your steps exactly, but it doesn't seem to be broadcasting. I don't see a wifi signal from the phone on my computer or ipod, even though it says it is broadcasting. I've uninstalled the app, cleared the data, and reinstalled app using the procedure above twice. Any suggestions?
Click to expand...
Click to collapse
Answer:
Make sure under Advanced Wi-Fi settings the option Scanning always available is checked.
Extra info:
This is needed because I haven't found the name of the wifi kernel module and this setting keeps the module loaded even when wifi is switched off. Also, if you are using windows 8.1 you may not be able to see and connect to an ad-hoc network without using the command prompt. For some reason Microsoft decided to remove this default functionality after Windows 7. Not relevant here but...It is the same for recent android kernels, no support to connect to ad-hoc networks through the Wifi settings without using shell commands.
I haven't had much time due to work, but I am certain infrastructure mode will work on this phone. I can't promise I'll get it done anytime soon though since work is going to be way to demanding for a couple months.
FYI, I've discovered that the Xposed mod X Tether works to enable the native hotspot without the entitlement check.
badjedi said:
FYI, I've discovered that the Xposed mod X Tether works to enable the native hotspot without the entitlement check.
Click to expand...
Click to collapse
+1
I sure would've loved if this discovery was made at least 2 weeks ago. The stupid entitlement checking wouldn't let me hotspot from a foreign sim card while I was in Thailand.
Thank s
Hi, the stock phone limits the hotspot/ tethering functionality. Any recommendations on how to bypass the same or an app that allows unrestricted tethering?
My unlocked Samsung phone allows full tethering.
Thanks in advance!
use FoxFi or PDANet+ (theyre made by same people)
-i have attached the unlocker key to unlock unlimited data usage.
Thanks for the key, but FoxFi doesn't seem to work on the OnePlus n200 T-Mobile variant.
mthous01 said:
Thanks for the key, but FoxFi doesn't seem to work on the OnePlus n200 T-Mobile variant.
Click to expand...
Click to collapse
It does, you also have to install the base PDAnet+ app. The unlock key just removes the apps limits.
Using USB tether appears to work... the key is that you DO NOT tether through the native android app, instead you connect it to PC and just leave it as charging/transfer mode. then inside of the PDAnet+ app you allow tether usage from in the app. it will use ADB to share the internet so all you have to do is allow access when the popup comes up on your screen.
yes, you have to install a companion app on the computer.
Another way to setup unlimited fast-speed tethering is by using ssh tunneling inside of a (free, open source) termux app on the phone.
The setup is somewhat cumbersome but offers very reliable results once configured. In addition, the minimal configuration does not require paid apps. To automate the process two paid apps (Tasker and Termux:Tasker) are needed but for many people the investment may be worth it since tasker is an extremely powerful and useful app on its own and termux:tasker is not expensive (it can also be useful beyond tethering for automating other advanced things termux could do).
The link to instructions is at the end of the post. Below is a brief (or not so brief) description description of required configuration (complimented by automation steps) but go to the link to get a proper guide.
1. Install termux application, install python 2 package inside of termux and run configuration command in the link below.
2. install openssh package inside termux application. Configure ssh server as described in the link, this involves copying the client identity key to an appropriate termux folder.
3. Once you verified that you can ssh into the phone's ssh server (with hotspot running, of course) you can tether the phone: start ssh server on the phone by running the command "sshd -dD" inside termux app on the phone ("d" option is for debugging and can be dropped); connect your laptop to hotspot; run an appropriate ssh command on the laptop (see the link); configur proxy on the laptop; enjoy.
4. One of the configuration steps above involves figuring out the hotspot IP. It can be done in several ways. It is shown as the device WiFi/hotspot IP on the phone and as a gateway IP on a tethered device. On tethered linux device the hotspot has hostname "_gateway" one can use hostname instead of IP. I do not know if the same is true for Mac or Windows.
5. You can automate the process by installing two paid apps: "Tasker" and "Termux:Tasker". With these apps you can automatically start/stop ssh server on the phone whenever hotspot is active.
6. Similarly, on the laptop you should be able to automate proxy configuration and ssh connection whenever you are connected to a specific network.
Here is the guide:
GitHub - RiFi2k/unlimited-tethering: Bypass tethering caps or throttling on cell phone unlimited data plans. Potentially cancel your internet and route your whole home though your unlimited data plan.
Bypass tethering caps or throttling on cell phone unlimited data plans. Potentially cancel your internet and route your whole home though your unlimited data plan. - GitHub - RiFi2k/unlimited-tethe...
github.com
myechophone said:
Hi, the stock phone limits the hotspot/ tethering functionality. Any recommendations on how to bypass the same or an app that allows unrestricted tethering?
My unlocked Samsung phone allows full tethering.
Thanks in advance!
Click to expand...
Click to collapse
i was using easytether for a while but tbh it was a pain with having to installing software on my pc and lag in games so i ended up rooting and using vpn hotspot with adguard. works like a charm
if you have access to kernel source, you should be able to enable ttl changing like I did on my S10+. Then once the new kernel was built, I could change ttl for my native hotspot to always show as if it was using on device data instead of metered wifi hotspot. So I can now use my native hotspot uncrippled and my carrier see's all my traffic as normal on device data and not hotspot data
PizzaG said:
if you have access to kernel source, you should be able to enable ttl changing like I did on my S10+. Then once the new kernel was built, I could change ttl for my native hotspot to always show as if it was using on device data instead of metered wifi hotspot. So I can now use my native hotspot uncrippled and my carrier see's all my traffic as normal on device data and not hotspot data
Click to expand...
Click to collapse
The kernel source seems to be incomplete.
mthous01 said:
The kernel source seems to be incompleteP
Click to expand...
Click to collapse
Ah ok, then PdaNet is pry your best bet. Sucks but better than nothing...
PDANet+ on Linux works great for me. Start the Wifi Direct hotspot on the Android app, and then connect to the SSID it creates normally using network manager or whatever you use. Trick then is to enter the proxy settings into advanced networks settings. Works great with no noticeable lack of speed. If you use the terminal and APT, or whatever the equiv is in your distro, you'll also want to edit the .conf file to include the details, for apt.conf, it's something like "Acquire::http:roxy "192.168.49.1:8000";"
Jimmyyahoo said:
PDANet+ on Linux works great for me. Start the Wifi Direct hotspot on the Android app, and then connect to the SSID it creates normally using network manager or whatever you use. Trick then is to enter the proxy settings into advanced networks settings. Works great with no noticeable lack of speed. If you use the terminal and APT, or whatever the equiv is in your distro, you'll also want to edit the .conf file to include the details, for apt.conf, it's something like "Acquire::http:roxy "192.168.49.1:8000";"
Click to expand...
Click to collapse
You must not be on Android 11? PdaNet was a PITA for me on 11. PdaNet proxy changed on every run of that app so I was constantly changing proxy in Linux. Still though, better than nothing if you can't do the ttl mod.
PizzaG said:
You must not be on Android 11? PdaNet was a PITA for me on 11. PdaNet proxy changed on every run of that app so I was constantly changing proxy in Linux. Still though, better than nothing if you can't do the ttl mod.
Click to expand...
Click to collapse
Actually I am on Android 11. The proxy address never changes. I wonder what that is a result of? Have you also installed FoxFi along with the key for full version? Not sure if that makes a difference, but that's my setup and it's been rock solid... as long as it's a computer to phone. My desire for a way to connect my Xbox to the phone and avoid the mobile hotspot usage hit, well that's another story for another board.