Hotspot Mod - Samsung Galaxy S8 Questions and Answers

Any hotspot mods anyone.

If you are on sprint this one works.
https://forum.xda-developers.com/sprint-s7-edge/how-to/hotspot-bypass-nougat-ok-t3563446 (SAUCE)
Here it goes (no root required):
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/sho....php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,http://mms.sprintpcs.com,68.28.31.7,80,310,120,,default,dun,mms,supl"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data (The order is important for DNS to work properly)
Alternative 5-8: w/ static DNS
5.b (Does not attempt to replace default active APN at start)
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,dun"
This one can also be tried if data does not work on the phone during hotspot:
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,dun
(the extra default in there should keep the phone on data, but no guarantee)
6. Turn on Hotspot
7. On your devices, you might have to set a custom DNS server:
a. Google DNS: Google DNS Guide
b. OpenDNS: OpenDNS Guide
Sprint's IP's are:
Code:
68.28.31.30
68.28.31.31
c. If you must also specify a static ip, use:
Code:
IP: 192.168.43.XXX , where XXX is between 2 and 254
Gateway: 192.168.43.1
Subnet Mask: 255.255.255.0 or /24
DNS 1: 68.28.31.30
DNS 2: 68.28.31.31
To revert:
Code:
settings put global tether_dun_required 1
settings put global tether_dun_apn null
Notes:
Line 5.b:
For
"name,apn,proxy,port,username,password,server,mmsc ,mmsproxy,mmsport,mcc,mnc,auth,type"
Alternative line 5.b (you can run the command again, and yes the first part is required in []):
Code:
[ApnSettingV3] carrier/Name,apn,proxy,port,user,password,Unused/server,mmsc,mmscproxy,mmscport,mcc/part1,mcc/part2,authType,types[],protocol,roamingProtocol,carrierEnabled,bearer,profileId,modemCognitive,maxConns,waitTime,maxConnsTime,mtu,mvnoType,mvnoMatchData
[ApnSettingV3] SprintDUN,n.ispsn,,,,,,http://mms.sprintpcs.com,68.28.31.7,80,310,120,,default|mms|supl|dun,ipv4,ipv4,true,0,,false,0,0,0,,,
For types[], you can use default|dun|mms , separated by the pipe " | " for multiples. I'm not sure what is needed but you can test around. If you get an error about subscription then likely you put in a malformed string. For the mvno (prepaid) probably the last two are gid and 4E or something like that (0,0,0,,gid,4E) ; see your APN info
Survives Reboot, PRL Update, Profile Update, UICC Unlock
Last edited by paul2112; 15th March 2017 at 06:39 PM.

Has anyone been able to automate this process? I'm trying to use tasker to turn off mobile data which it does, then turn on hotspot which it does not. When I set tasker to turn off hotspot it'll do that just not turn it on. Anyone have any luck w/ that?

Related

Xoom w/ Phase 2 Authentication = Fail

Anyone else have this issue? I heard about the bug in 2.2 that caused phase 2 authentication to not hold, but it appears it made it to 3.0. When trying to connect to my work network, I select MSCHAPv2, and other appropriate settings; however no connection is made. When I go back into the settings, the phase 2 authentication is set to none.
I have tried creating the connection manually, resetting the connect over and over, still no luck. Any ideas?
Have the same issue!
No workaround or patch yet
Brgds,
S.
I have mine working here in my office without issue.
The key thing you need is the Cert.
On my network, there are 2 ways to get it.
1. Find the .cer file and put it on the ROOT of the "SDCard" (internal storage)
1. Be sure the {filename}.cer file is on the ROOT of your SD Card (not inside any folders)
2. From Home Screen, go into Menu > Settings
3. Depending on your phone, you may see either:
a. Location & Security
b. Security​4. Go into whichever menu option you have
5. Scroll to the bottom and click Install from SD card
6. You will either be prompted to import and create a password (which should be something you will remember) or you will see an error that no certs could be found. This is normal and does not mean it will not work, just continue with the steps below and all should be fine.
7. Next turn on Wi-Fi
8. Go into Wi-Fi Settings
9. Click Add-Wi-Fi Network and enter the following:
a. SSID: {Your-SSID-Here} (Case Sensitive!!!)
b. Security: 802.1x Enterprise or 802.1x EAP (Not all devices will have this option)
c. CA Certificate: None Specified (here, you MUST click on the None Specified and then click again on the None Specified in order for the cert to be picked up on your SD Card. Not all devices will have this option)
d. User Certificate: None Specified (this one can be left alone. Not all devices will have this option)
e. EAP Method: PEAP
f. Phase 2 authentication: MSCHAPV2
g. Identity: Your Domain account name (you do not need to put {DOMAIN}\ in front of your user name)
h. Anonymous identity: Leave this BLANK
i. Wireless Password: Your DOMAIN domain password​
Note: On some devices or ROM’s (for those that are rooted), you will be prompted for the Cert Password when re-connecting to the W-Fi Network; this will be the password you used in step 6.
2. Log into the Guest Wireless account, fire up the browser and log into when asked. This will download the cert.
Once either of those are done, set up your wireless connection and it works.
Now, I know it's different for other networks out there, but give me some info and I'll see if I can help.
Thanks.
Updated above

[HowTo]Use OpenVPN in Cyanogenmod/based ROMs

Intro:
So, I've had some problems accessing the market from a forbidden country (i.e Sudan, Lebanon). When I tried to use the built-in VPN client in a Cyanogenmod ROM it turned out that it doesn't work so after a well-spent time, I figured out how to use a VPN on my HD2.
What Can it be used for?
- Access the internet using your data connection without revealing your IP address.
- Unlock the market for forbidden countries. (my case)
- Basically, VPN on your Androided HD2.
Requirements:
An HTC HD2 with a Cyanogenmod Rom or a ROM based on it.
OpenVPN Settings application (Provided in the attachments)
An OpenVPN config files and certificates (Recommended will be provided below)
An SD card.
Instructions:
1- I recommend using Hostizzle, go to it then register for a free plan. (go for a paid one if you want)
2- After registering, download your keys (only keys and not .exe ) and extract them to a new folder on the root of your sd card with the following name "openvpn" .
3- Go to your phone and install the "OpenVPN Settings" application (attached) .
4- Run the Application and Allow all the SuperUser Requests. Then press menu and choose "Advanced" . Make sure that "Load tun kernel module" is ticked, then hit "TUN module settings" and make sure that "Load module using" is set to "insmod" and "Path to tun module" is set to "/system/lib/modules/tun.ko" .
5-(optional) if you faced troubles using the internet, long press on your configurations name and then "Preferences" then tick "Use VPN DNS Server" and set the "VPN DNS Server" to "8.8.8.8".
6- Return to the main screen of the app and tick "OpenVPN" and then tick your configuration.
Then it will go through a sequence, when you see "Connected to *.*.*.* as *.*.*.*" then you're connected, if you're seeing a blank after "as" then you have a problem and you have to check the procedures again.
Tips & Warnings:
*You can use any OpenVPN service as long as you can obtain the configurations file.
*I have only tested this on "HyperDroid", but it should work with any cyanogenmod ROM.
*Do not install "OpenVPN installer" as it will mess up your phone's VPN configurations.
*OpenVPN Settings can be obtained from the market, but in my case I couldn't do it .
*The files you should copy to the "openvpn" folder should at least contain the following : (*.ovpn, ca.crt, client.crt, client.key, ta.key)
*It is ok for the connection to keep restarting, it will connect you soon.
*Anything else you tell me
Frequently Asked Questions
-not yet ...
I wrote this tut because I wasn't able to access the Market from my phone because the country was forbidden
Hit thanks if it/I helped.

Indonesia nam programing SPH-P100

Tutorial Inject on Sprint Samsung Galaxy Tab-P100 SPH
Software:
- QPST 2.7 build 323
- QPST 2.7 build 215
- CDMA Workshop 2.7
Others that need to be prepared as well:
- Number Flexi/Esia/Smartfren ready diinject
- Akey (26 digits) is obtained from the gallery
- PRL (from galeri)
There are 4 steps so that you can use both text and data
- Unlock MSL / SPC CODE
- Setting Akey, MIN and MDN in order to do sms.
- Setting EVDO
- Final Setting
FIRST STEP (UNLOCK MSL / SPC CODE):
- Install the application from the Android Market: connectbot
In the lower left corner to move to the local type in any name and then let the Android will go into a black screen logo $ dng
- Type: getprop ril.MSL
MSN / SPC you I 6-digit code will appear
STEP TWO (SETTING Akey, PRL, MIN and MDN)
1. Install CDMA Workshop
- The first thing to do is to enter Akey, the 26-digit number given by the Custemer service when registering card number.
- How to enter into Gtab Akey must be signed in diag mode -> press # # 8778 # to enter the menu to the MODEM Phoneutil replace PDAto modem
Do not forget in a position Gtab USB debuging (go to settings - application - development - USB debuging)
- Note on the control panel - System - Hardware - Device Manager. Looking at what ports samsung gtab installed, (eg) on ​​COM port 7.
Open Workshop CDMA (CDMA WAS), select (eg) COM 7, and then press CONNECT.
Select READ
- Next you need to unlock Gtab to enter the MSL / SPC to do on the security tab and enter your SPC "6 digits" and press send, after a statement that HP can be unlocked then you are ready to enter Akey.
- In the CDMA workshop, typing or copy and paste the 26 digits Calculator Akey Akey on like the image above in the Dec, only 20 digits will be accepted Dec. text box is.
- Then automatically on Colom will appear Akey Hex Hex, you can check whether Akey terrsebut ESN is correct by entering the column and then click calc ESN, the checksum will pop up the last 6 digits of your 26-digit Akey, if true, then the Hex Akey already ready to use, copy and paste from the column Hex to Colom-Akey Cave and select write.
- your akey has been wrote on your device
2. Install QPST 2.7 build 3.2.3, plug into your PC and open Gtab QPSTConfiguration program.
- Select Add New Port, and select COM 7 (eg) corresponding config on CDMA WAS
- Select the Start Clients, select SERVICE PROGRAMMING and select an active phone
- Tap OK in the Phone Selection
- Click READ FROM PHONE, press OK if MSL Code appears.
On the Settings tab,
Slot Cycle Index: 2
Current NAM: NAM1
Auto NAM: unchecked
In Tab CDMA, fill in the following parameters:
NAM Name: Flexi
Directory #: No MDN (no flexi complete with area code, but the writing without the written numbers from 0 eg 02144445555 2144445555)
AOC: 2
CDMA
- MCC: 510
- 11_12: 00
- IMSI_S: No MIN (same as no MDN)
- Registration terminated (Checked All - Home SID - SID Foreign Foreign NID)
- Primary Channel A: 119
- Channel Primary B: 384
- Secondary Channel A: 78
- Channel Secondary B: 777
In Tab CDMA-2 (Optional)
NAM Name: Flexi
Directory #: No MDN (same as the MDN)
CDMA / True IMSI:
- MCC: 510
- 11_12: 00
- IMSI_S: No MIN (the same as the MDN)
- AOC: 2
In Tab AMPS Ignore
In Tab System
HOME SID / NID (Double click)
Fill with parameters:
- SID: 10 496
- NID: 65 535
Preferred Mode and so on selected Automatic
In Roam Tab
NAM Name: Flexi
Directory: No MDN (no flexi complete with area code, but the writing without the written numbers from 0 eg 02144445555 2144445555)
AOC: 2
Enter the PRL Preferred Roaming with the browse button click: select dr hard drive where you store the PRL
On the Display tab
Display Items:
- Banner: TELKOMFlexi (or may pake your name, ill effect to the existing parameters)
- Backlight: always on
INJECT ALREADY FINISHED.
Press the Write to Phone, ignore if there is an error. Then Gtab will restart, after restart should be able to sms.
STEP THREE (ACTIVATE EVDO)
Prior to this step is done please register in advance for your flexi mobile broadband it by typing PROMO (space) MONTHLY send to 2255
After that there will be information that your broadband has been active with the user id: [email protected] and password: your ESN
1. Through QPST 2.7 build 3.2.3
Gtab plug into your PC and open QPST Configuration program
Select Add New Port, and select COM 7 (eg) corresponding config on CDMA WAS
Clients select Start, select SERVICE PROGRAMMING and select an active phone
Press OK in the Phone Selection
Press the READ FROM PHONE, press OK if MSL Code appears.
2. In the M. IP tab
In the User Profile, select the profile 0, press the edit
- Fill in the parameters of the NAI: [email protected] (or [email protected] for smart isp)
- Fill in the parameters in the Tethered NAI: [email protected] (or [email protected] for smart isp)
- Home Address: 0.0.0.0
- Primary HA Address: 255.255.255.0
- Secondary HA Address: 0.0.0.0
- And press OK
In the User Profile, select a profile, repeat the process as the point a.
Mobile IP Behavior: Simple IP Only
3. On the PPP tab Config
Select the UM
In the PPP Authentication:
Contents Tethered NAI: [email protected] (or [email protected] for smart isp)
User ID: [email protected] (or [email protected] for smart isp)
Password: No. ESN
Check Optimized Dormant Handoff
Then Select AN
User ID: [email protected] (or [email protected] for smart isp)
Password: No. ESN
Others, are ignored.
4. In Tab RmNet
Select Device 0, click Edit ---> if no live Add
Check the "Enable Auto Connection", click OK
5. CLICK "wite to Phone"
Setting Gtab Completed.
After restarting the logo should appear on the notification of 3G already.
FINAL STEP
Unistal QPST 3.2.3 and install QPST 2.1.5
Go to the Service Programming menu.
Then on the PPP tab, fill in data such as fill on the PPP tab in QPST 2.7 Build 323.
After that write to phone again, then it will restart again gtab.
When finished restart, (For those who berOS Froyo) do a move like that anymore diawal2
Go to the application type in the search field NOTE # # 8778 # -> enter phoneutil, change the settings of the modem to the PDA.
thanks
source
http://www.kaskus.us/showthread.php?t=10869930

[Q] OpenVPN Tap fails on route add -net?

I'm trying to setup OpenVPN with TAP (I know there are other app that set up TUN for you, that's not what I'm trying to do) on andriod, everything seems to be working correctly except the last step. When open vpn tries to add route it fails with error status: 1.
I followed the steps here to install Busybox/OpenVPN Installer/OpenVPN Settings
http://strongvpn.com/setup_android_open.shtml
My VPN seems to connect fine but it fails on
/system/xbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.1.1.2
I've double checked that /system/xbin/route can be executed, though when I'm trying to run the same command in terminal it gives me
siocaddrt operation not permitted
Any thoughts?
I guess no one uses OpenVPN with TAP eh?...

[guide][windows] how to create wifi hotspot for reverse tether using cmd

THIS IS A SIMPLE METHOD USED TO MAKE A WI-FI HOTSPOT IN YOUR PC WITHOUT ADDITIONAL APPLICATION.......
INSTRUCTIONS
Step 1 : Start CMD as Administrator by pressing Windows key+ X
Step 2 : Check whether your computer is supported for Hosted network or not.
Type the following command in Command Prompt and press enter.
Command : netsh wlan show drivers
IF YOU SEE HOSTED NETWORK SUPPORT AS "YES" THEN CONTINUE
Step 3 : Type “netsh wlan set hostednetwork mode=allow ssid=yourname key=yourpassword”
(enter the command without the quotations and Password must be greater than 8 digits).
Example : netsh wlan set hostednetwork mode=allow ssid=XDA key=12345678
Step 4 :Use This Command to start the hotspot.
Command : netsh wlan start hostednetwork
If your Command Prompt says ” your hosted network couldn’t be started ” then make sure to turn on the “WiFi” and also enable the Wireless Adapter ....
Step 5 : Go to control Panel >>> Network and Internet and select Network and Sharing Center.
Step 6 : Select “Change adapter settings” in the left side
Step 7 : Right click on your Wireless Network Adapter and select properties. Select the tab “Sharing“.
Check the option “Allow other network users to connect through this internet’s connection” option.
Select your newly created hosted network name.
Step 8 : Check whether your hosted network has shared the network access or not from the Network Sharing and Center.
CONGRATULATIONS YOU HAVE SUCCESSFULLY CREATED A WI-FI HOTSPOT IN YOUR PC......
NOTE : To stop the hosted network, type the command ” netsh wlan stop hostednetwork” in command prompt.
STARTING AND STOPPING THE HOTSPOT BY COMMAND IS HARD SO, WE CAN CREATE A SHORTCUT FOR THAT.
FOLLOW THESE STEPS ALSO.....
FOR START WI-FI
Step 1 : InThe Desktop >>> Right click >>> New Shortcut.
Step 2 : Type the command ” C:\Windows\System32\netsh.exe wlan start hostednetwork ” on the shortcut and click on Next.
Step 3 : Rename it as “Start WiFi” and click finish.
FOR STOP WI-FI
Step 1 : InThe Desktop >>> Right click >>> New Shortcut
Step 2 : Type the command ” C:\Windows\System32\netsh.exe wlan stop hostednetwork ” on the shortcut and click on Next.
Step 3 : Rename it as “Stop WiFi” and click finish.
NOTE : ALWAYS RUN THIS SHORTCUTS AS ADMINISTRATOR. AND HAVE FUN........
HIT THANKS FOR MY HELP.......

Categories

Resources