How to unlock wifi channels >11 - Nexus 9 Q&A, Help & Troubleshooting

Have 2.4 mhz router at home, both my laptop and phone can see it on channels 12 and 13 but my Nexus 9 (MMB29S with ElementalX 4.05) cannot. Tried Wifi Codes without success. Added
Code:
ro.wifi.channels=13
ro.product.locale.region=EU
to build.prop (also tried several country codes in place of `EU`, including `GE` (I am in Georgia)). Found a method described to modify a database, however my tablet does not have anything in /data/data/com.android.providers.settings and does not have in /data/data/com.android.providers.telephony any database named "carriers".
Does anybody know some other method except flashing some custom rom?

Related

Tethering the Streak to another phone...

Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
gersztoff said:
Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
Click to expand...
Click to collapse
i use barnacle to connect with ipad.root necessary.
i have a US streak and im having issues getting it to tether to my HTC Aria (using wireless tether). Ive tried the original rom, the O2 1.6 and 2.1 rom. But still no luck, my laptop, and 2 friends ipods will connect through the aria, but the streak doesnt even see it.. So not sure whats going on!
I have a Sprint EVO 4G that can serve as a hot spot but haven't tried it with my Streak yet. But I plan to. I bought the Streak without activating the AT&T part. Don't need two cell phones.
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Yeah Barnacle works.
gersztoff said:
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Click to expand...
Click to collapse
the archos 5 will not tether if u are using adhoc. found out the hard way... (long time ago before the streak came out i thought i could use that and tether with my iphone and it didint work.. apparantally it doensnt support adhoc wifi. but bluetooth tethering worked fine on the archos 5
Maybe someone can get this to work?
Tried to connect to to my WM Omnia via WMWiFiRouter- No Dice.
tried using wpa_supplicant file attched below- i can see and connect to ad hoc network(s), but can not establish IP --> copied to /system/bin
the apk and files below look more promising but perhaps need editing by someone who actually knows what they are doing. the app installs and runs but there is a location mismatch.
then ran across this info here: http://www.slatedroid.com/pandigital-novel-android-tablet-discussion/4505-i-have-infrastructure-adhoc-working-same-time-do-you-want-look-here.html
"Okay, I'm not taking 100% credit for this because all I did was modify the work that this user did:
'Originally Posted by YasinSiddiqui
NOTE: I'm using Rogerbraun Custom ROM 5.1 on Rockchip APAD, but I don't see any reason why this shouldn't work on the PDN too.
Hi Guys,
Finally figured this out.
Since the wpa_supplicant.conf file is read-only, an Android app can't modify the file. Hence, we were having to go back to connecting the APAD to the PC and use DroidExplorer to overwrite the wpa_supplicant file everytime we wanted to enable Adhoc Wifi.
I realized that when you upload a file to the APAD using DroidExplorer, it gets write permissions
And once you have the file with write permissions, an app CAN modify the file.
So, I've created a small app for easy switching between Normal and Ad-hoc wifi modes.
Here are the steps:
1. Step removed because the files were replaced (see below!)
2. Use DroidEXplorer to copy the 3 files: wpa_supplicant.conf, wpa_supplicant.conf.adhoc and wpa_supplicant.conf.normal to /data/misc/wifi folder
3. Install AdhocAble.apk using any File Manager or even DroidExplorer
Now, start up adhoc wifi tethering on your phone (Barnacle Wifi Legacy on Android, JoikuSpot on Symbian, WMWifirouter on Windows Mobile, MyWi on IPhone etc.) and set the adhoc SSID to: adhocable with NO password.
Remember that you have to Turn wifi off and on everytime you switch modes.
For experts: How the app buttons work:
1. Switch to Ad-hoc Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.adhoc
So if you want to change the adhoc SSID or give it a password, edit the wpa_supplicant.conf.adhoc before copying it via Droidexplorer
2. Switch to Normal Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.normal
3. Backup Normal Settings: Overwrite wpa_supplicant.conf.normal with wpa_supplicant.conf
This allows you to avoid having to type the normal wifi passwords every time. But, remember not to use this button when you are in ad-hoc mode, otherwise you'll lose all your saved wifi passwords.
4. Do let us know: opens up an email compose window so that you can tell me whether you like the app or not. Do write your name, country and details of which devices and ROMs you have.
My modifications to these instructions are as follows:
Instead of the supplicant files supplied by the user above use mine
Also feel free to open "wpa_supplicant.conf.adhoc" and change the SSID to whatever you want, i.e. I called mine "AndroidTether"
Also I didn't bother with any security because I'm just using the access control feature on my tethering program, I'm not sure if they all have this feature but basically, my phone tells me when someone is trying to connect and asks if I want to allow the connection before the device is assigned an IP.
1. download: "wpa_supplicant_files_WORKING.zip and unzip
1.1 Open "wpa_supplicant.conf.adhoc" and edit SSID to whatever you want
2. place "wpa_supplicant.conf" , wpa_supplicant.conf.adhoc & wpa_supplicant.conf.normal into the sdk's "tool" folder (where adb.exe is)
3. download "AdhocAble_apk.zip" and unzip
4. Place "AdhocAble.apk" into the sdk's "tool" folder (where adb.exe is)
5. Open the command prompt and get to the folder where your adb.exe iscd c:/where_your_sdk_is/tools
6. enter: " adb push wpa_supplicant.conf /data/misc/wifi "
7. enter: " adb push wpa_supplicant.conf.adhoc /data/misc/wifi "
8. enter: enter: " adb push wpa_supplicant.conf.normal /data/misc/wifi "
9. check to see the files are there by entering " adb shell ls /data/misc/wifi "
10. install the apk, you can use my batch file to do this if you'd like here
11. unzip the file manager batch script and place it in the sdk's "tools" folder (where adb.exe is)
12. open the batch file (it should open a new cmd window)
13. select 2
14. select 1 (install an app)
15. it'll ask for the name of the apk. Enter " AdhocAble.apk " exactly, its case sensitive.
16. reboot the PDN
17. Start your cell phone tether and set the SSID to whatever you set in the .conf.adhoc file at the begining
18. Open up the AdhocAble app and select "backup your normal settings", this should save all of the remembered infrastructure network's SSIDs and passphrases
18.1 select Enable Adhoc, it will prompt you to make sure to turn your wifi connection off and back on.
19. Do so.
20. You should see your cell phone's SSID in the connection list (remember the SSID is hardcoded into the .conf.adhoc file so you have to set it to the same thing in the tether program or vice-versa.
21. If you don't see the tether connection enter it manually
To get back to infrastructure - simply open the app and select enable normal mode and turn the wifi off then back on again - after a short bit you should see the networks as usual. It might take a bit longer to obtain an IP, but it should work...if not reboot the PDN and try it again.
Another success - Flytouch2 / Eclair
What an adventure... I tried lots of different approaches to getting my 10" Flytouch2 running Eclair to my Moto Cliq the instructions in this thread formed a good basis for success. I had to make a few changes which I will describe.
First, I am using a rooted Moto Cliq (1.5 I think) running Barnacle to serve up Ad Hoc Wi-Fi. It worked great with my PC and iPad but I really wanted my Flytouch2 to have network access through the Cliq.
So far I have not yet been able to get the Flytouch2 to connect to my PC using ADB; this is a problem for another day. As such I was side loading until I realized that I could place APK's in Dropbox (great free app) and net-load?? them. I also had to get creative with Root Explorer and other file managers / editors to make the required changes
To accomplish this I did the following on my Flytouch2 (less the stuff that didn't work including a couple of bricking episodes)
- Rooted (permanent) painlessly using Z4Root
- Installed Root Explorer (essential for copying and renaming R/O system files)
- Installed TED to edit files
- Install ASTRO File Manager which is helpful for non root file manipulation activities
- Used Root Explorer to mark the /data/misc/wifi directory as R/W so files could be added/modified (the default is RO)
- Installed AdhocAble.apk which is nice but it turns out not really needed in my case
- Disabled Wi-Fi until done
- Installed the wpa_supplicant.conf.adhoc (after editing - attached and below)
- Renamed old wpa_supplicant.conf file as wpa_supplicant.conf.normal)
- Replaced wpa_supplicant.conf using wpa_supplicant.conf.adhoc (basically leaving backups of each in the directory)
After doing this and enabling Wi-Fi I was able to see and connect to my Cliq running Barnacle. I am also able to connect to my standard Access Point as well without any configuration change. The only issue is that I am not running any security but I think this is not a difficult update to the .conf file. I may add a second network SSID entry with a PSK and use "Wireless Tether" on my Cliq to test. For now I am just happy to connect and Barnacle allows me to screen and block all connection requests. The primary deviation from the great instructions earlier in this thread that got me up and running was the content of the wpa_supplicant.conf file. I used part of my original file and part of the file .adhoc file from earlier in this thread.
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system
update_config=1
eapol_version=1
ap_scan=2
network={
ssid="JJJ"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}​
Obviously my SSID is set to JJJ (I like J's). I got my inspiration from a file I found buried in my Android file system (attached as ...notes.txt). It is not very interesting reading but it provides lots of clues and it explains the meanings of all the parameters.
So, Ad Hoc connection is possible possible on A Flytouch2 under Eclair.
Now, my rant... it is unconscionable that this is not supported natively in Android. I would speculate that this was a conscious decision by Google resulting from pressure from the big carriers. What I don't understand is how this capability is available in the iPad!? Apple would certainly bow to external pressure (witness the iPhone) from carrier relationships. They also come with $40/mo built in service... so go figure. Now I am delighted to use both my Android Tablet and my iPad with Ad Hoc WiFi served up from my Cliq on T-Mobile!
I hope my additional notes help someone else.
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
urphonesux said:
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Click to expand...
Click to collapse
Interested if it worked? please let me know what settings were needed on the Omnia/WmWiFirouter
Shadowphox said:
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
Click to expand...
Click to collapse
as a client? or you can create a network using your 3g->WiFi hotspot

Any way to change MAC and connect to Password Router?

Hi!
I tried several guides on the internet to change my MAC address, at first, using one of the "MAC spoofer" Apps, but they all just change it "softly" so you can't connect to Password protected Routers (same happens if you use the busybox/terminal method), but my router is password protected and i need that protection. Next i've tried this guide:
"After your rooted head into terminal emulation type su and go into /data/misc/wifi
Look for a file called nvram.txt
Copy it to your sdcard and then to your cpu desktop open it with notepad and at the bottom of nvram.txt is the mac address
This i was able to verify and test on android Citrus Ciena
Edit that mac address and save it as nvram1.txt onto sdcard
Now go back to data wifi misc and copy nvram.txt to nvram.bak
Head into gui and then settings then wifi then turn on the wifi but don't connect to any wifi
turn off the wifi,switch back to terminal
Copy the nvram1.txt to data misc wifi
remove the original (make sure you got it backed up)
Rename nvram1.txt to nvram.txt
head back into gui and then settings then wifi
Now for me it immediately stated unable to turn on wifi
Ignore it and try to turn it on anyways
When it turns on your newly edited mac address will take effect
Connect to your AP
NOW B4 REBOOTING YOU MUST CHANGE NVRAM BACK TO THE ORIGINAL!"
but I haven't found the nvram.txt, so i searched and searched and found out the "s3 version" of it, is "/etc/wifi/nvram_net.txt" but in this file, my s3 shows me a completely different MAC, as my handy actually has. I tried the method with this file anyway, but it didn't work, i still had my old mac, but the MAC written in the file was not reset, so it seems like the system doesn't even care about the MAC-line in that file. So next I found the ".mac.info" file in "/efc/wifi/" and in this file, there is just my MAC written, which really is my actual MAC. So i tried the Method i've pasted above with that file, and it didn't work, the system did just overwrite that file and as i checked after turning my WLAN back on, there was again my old MAC in the file. Then i tried changing it and making it read-only through Root Explorer, but it didn't work either. This time the system afterwards still had the old MAC, but the file didn't change, so in .mac.info there was still my new MAC written, but the system still had the old one. After some time i checken the file once again, and then suddenly the old MAC was written in the file, and the system did automaticly gave writing-permission back. Now i'm just desperate, so if anyone can tell my any method to change the MAC, which works on galaxy s3, please tell me.
Try Pry-Fi from Chainfire.
https://play.google.com/store/apps/details?id=eu.chainfire.pryfi
____________________________________________
P3110 / I9300 / I9100 / NEXUS 5 / iPAD2

Honor 7 Wlan problem

Honor 7 , china version, PLK-01H, firmware 162 / updated to 173.
Initially, after start, work fine with my router in 2.4 and 5Ghz bands, without any problems.
I install Sim-card, auto-updated firmware from 125 to 162, and found, that my phone now see only 2.4Ghz wifi, and only in G standarts (not N), max. 54Mbit connection.
I tried change regions/ time zones in Honor, but see same result.
With newest 173 firmware - same result.
May be, anyone know solutions for this bug ?
PLK should actually be the European version, but the suffix H is new to me.
The version sold by VMall is PLK-L01 with "region" C432 and ROM version B100.
As to your issue : that is typical for Huawei, update ROM to fix one issue and break/delete another feature. That is, if 5GHz is important, you will have to roll back to the version where it worked.
Send a feedback to Huawei using the stock "Hicare" app..
mru55 said:
PLK should actually be the European version, but the suffix H is new to me. .
Click to expand...
Click to collapse
It's chinese version.
with CN region.
As to your issue : that is typical for Huawei, update ROM to fix one issue and break/delete another feature. That is, if 5GHz is important, you will have to roll back to the version where it worked.
Click to expand...
Click to collapse
It's bug with non-correct work with sim-card, Honor non-correctly determine location and permitted bands/standarts after I insert my sim-card (Ukrainian operator Kyivstar) and disable N band - in 2.4 phone continue work at G standard, but stopped work in N. In 5 Ghz without N phone simply can't work with 5N wifi AP.
I enabled 802.11d frames (sends country codes to wifi clients) at my AP, with different country codes, CN, EU, US and DE, but still has problem with phone.
Currently I rooted my Honor and continue work with this problem.
I directly enabled all 801.11n / 40Mhz band / parameters in wpa_supplicant.conf configuration file , but receive same result : 802.11n still no works.
Honor 7 usee some additional config file, but whats this file ?
Hmm,
wpa_supplicant service ignore configuration file , located at /system//etc/wifi, and at every run create new config files at /data/misc/wifi, also ignore start scripts at / (if I try change it, it simply re-created).
__
I found source of problems with wifi in Honor 7.
EMUI-Android-5.0.2 service read country code from SIM card/operator and use it for wifi settings.
Huawei version of WPA service ignore .../etc/ ...wpa_suppliciant.conf ,
also ignore country code in build.prop,
Service wrote country code from SIM card to DB /data/data/com.android.providers.settings/databases/settings.db
Huawei wifi database is very buggy, and if your country (in my case - UA) is marked in
Huawei wifi DB as "N protocol disabled, 5ghz disabled" - you receive only 2.4ghz band and G-proto.
(In Ukraine N protocol is officially permitted, and 5ghz band also permitted)
temporary solution : [only for rooted phones]
start SQLite editor, or console , and correct country code for wifi, for example
and change wifi_country_code .
"INSERT INTO global (name, value) VALUES ('wifi_country_code', 'de');"
More safe way: copy file, change it, and copy back.
after this we restart wifi service,
and I immediately received :
[speedtest tested, internet connection, 100Mbit channel]
At 5Ghz band : (40 Mhz ) 150Mbit connect, 87 Mbit real download, max.real download - 90.5 Mbit, upload - 73.8 Mbit
2.4Ghz and (20 Mhz ) , 65Mbit connect (we can't receive more with 20 mhz and 1-stream), 38,6 Mbit real download,
Who say "bad wifi hardware" ? 8=-)
after reboot settings still due,
but after any on/off gsm/3G (airplane mode, for example) or change SIMcard phone read country code from sim card, receive UA, see Huawei buggy database and disable N proto and 5 ghz.
This solution - only for test !
We can found and patch wifi settings DB, but for normal work Huawei must update wifi settings DB.
i have got the same problem i'm in uk virgin on 50 MB and on ookla shows only 25 any solution?
honor 7 ®
After so much time this issue is still in progress
My PLK-L01 is B380 firmware and EMUI 4.0.1 and wifi max speed 50 Mb.
Do you have a final solution? Thank you
Hi, I have B396 Firmware and my phone can't see 5GHz WiFi. Also connecting with 2,4GHz at 72Mbps only, Honor 7 lite can 150Mbps.
So, where I can find configuration file on 6.0 firmware. I can't find settings.db at /data/data/com.android.providers.settings/databases/
zakk87 said:
Hi, I have B396 Firmware and my phone can't see 5GHz WiFi. Also connecting with 2,4GHz at 72Mbps only, Honor 7 lite can 150Mbps.
Click to expand...
Click to collapse
You have L01 model ?
B396 can't see any channel on 5GHz WiFi or only some channels ? (Can you test it with different channels on WiFi AP/router ?)
Sorry, now I can see my FortiAP, after change 5GHz channel from 80MHz to 40MHz.
Nice.
5Ghz with 40MHz works fine ? N or AC ?
Its syncing to 180Mbps, but I can't test internet speed.

Wifi Codes - Change Country Codes - Enable Wireless Channels

Hi all, I copy - pasted the title from an older thread :
https://forum.xda-developers.com/showthread.php?t=1982149
because I have exactly the same problem, but all the solutions I have found so far look outdated and don't work for Android Nougat (Samsung Galaxy S7 SM-G930F rooted with Odin as explained here). I need to access channel 149 (the wifi camera of my quadcopter)
So this is what I have tried :
1. WifiCodes.apk, described here. Gets root permits but when run, freezes and does nothing
2. Edit /data/data/com.android.providers.settings/databases/settings.db to change my country code, as explained here. The directory doesn't exists, and cannot find the settings.db file anyplace
3. Same but on /data/data/com.android.providers.telephony/databases/carriers; not sure where i saw this, but anyway doesn't exist neither
4. RegionChanger app. Gets root permit but does nothing
Of course Nougat has not advanced Wifi configuration to tinker with country codes nor 2.4 vs. 5.0 GHz networks.
Any other suggestion?
Thanks a lot!
i have nougat but on Galaxy note 5
i have tried those methods and i didn't found setting.db but i found that there is another files (like they changed setting db file with another way) the file called settings_global.xml and settings_secure.xml u can check this too u can find them in
data/system/users/0
u will find something like
(setting id="97" name="wifi_country_code" value="us" package="android" />)
<setting id="100" name="wifi_sns_visited_country_iso" value="us" package="android" />
the point is i changed them it change back to the default setting it was b4
donno how to force it to not get change by it self
Can change code but still KO
Hi, thanks a lot. I have changed the country code but still cannot see the camera's network. After googling a bit more, looks like the camera is not compatible with Android!!! (whatever this means). That is, doesn't show up in any Android device, but does on iPhones. Mysteries of Chinese engineering... So I gave up and acquire a different camera.
Btw, I don't have the problem you mention of reverting configuration.
Thanks again!

Redmi 5 Plus (Vince) - MIUI 10.0.4.0 - Hotspot not working

Hello!
I've updated to the latest version of MIUI a couple of days ago and I have just realized that I cannot use portable hotspot anymore.
I can switch on the option, other devices can connect to the newly created network, but none of these devices have any type of Internet Connection, while the phone has a 4G connection.
Has anybody else had this problem?
Any solutions?
Thanks!
I think I may have found a solution here (https://en.miui.com/forum.php?mod=viewthread&tid=603550&highlight=Redmi%2BNote%2B4%2Bhotspot), post 9:
1) Settings-->SIM cards & mobile networks-->your provider (Vodafone for me)-->Access point names-->GPRS web(internet)
2) scroll down, to "Bearer", tick all net types available in your country
3) change MVNO type to GID
4) change MVNO value to ffffffffff (should be pre-set after step 3)

Categories

Resources