This module should fix WiFi 802.11ac or 5GHz frequencies not working (or working at half speed) on some custom rom.
This happens due to the wrong Wifi Country Code, which this module changes according to the system language.
N.B: if you've set your phone in a language different than yours (or if you've set your phone in your language, in a different country), probably this module is not going to help.
Without this fix maximum speed was 200 Mbps, after applying the changes 433 Mbps.
The file is stored in two different locations:
-/system/etc/wifi on Nougat
-/system/vendor/firmware on Oreo-Pie
that's why there are 2 versions of this module.
Tested on Sony Xperia Z3 Compact running CarbonRom 6.1 (OREO) and CarbonRom 7.0 (PIE).
Download it from the attachments, install in Magisk Manager and reboot.
P.S.: on the first boot, WiFi speed could be unstable for a while. Just let it settle
Hi, I need your help. I have a galaxy s7 and I need to change the wifi_country_code on the US I tried with the help of this -https://forum.xda-developers.com/nexus-6/help/wifi-channels-149-165-5ghz-t3099653 but it does not work.
How change this? - # bcmdhd.cal modifications
oldCC=$(cat /system/vendor/firmware/bcmdhd.cal | grep ccode | cut -f2 -d '=')
newCC=$(getprop | grep locale | cut -f2 -d ' ' | cut -f2 -d '-' | tr '[' ' ' | tr ']' ' ' | cut -f2 -d '-' | sed -n '1p')
I do not have such a file in oreo (ambasaddi rom)
I also have the same problem with wifi_country_code , for my samsung j5 prime model g570M In the version Nougat. Well, you can not see the wifi signal. To see the signal I have to activate airplane mode.
Working good.
works really great! thanks!!
Can you please support android 9?
marcogiannetta said:
This module should fix WiFi 802.11ac or 5GHz frequencies not working (or working at half speed) on some custom rom.
This happens due to the wrong Wifi Country Code, which this module changes according to the system language.
N.B: if you've set your phone in a language different than yours (or if you've set your phone in your language, in a different country), probably this module is not going to help.
Without this fix maximum speed was 200 Mbps, after applying the changes 433 Mbps.
The file is stored in two different locations:
-/system/etc/wifi on Nougat
-/system/vendor/firmware on Oreo
that's why there are 2 versions of this module.
Tested on Sony Xperia Z3 Compact running CarbonRom 6.1.
Download it from the attachments, install in Magisk Manager and reboot.
P.S.: on the first boot, WiFi speed could be unstable for a while. Just let it settle
Click to expand...
Click to collapse
Hi there, can you add support for pie, please?
saedkebbeh said:
Can you please support android 9?
Click to expand...
Click to collapse
Stogie87 said:
Hi there, can you add support for pie, please?
Click to expand...
Click to collapse
Done :good:
marcogiannetta said:
Done :good:
Click to expand...
Click to collapse
Thankus a lotus.
But there should be an option for deleting your comment which isn't present there
As I don't have a broadcom wifi in my phone, I haven't tested it. However I have found out thet there exists a property for wifi country code (I have checked android wifi service sources)
I have put this line in build.prop and toggled flight mode
Code:
ro.boot.wificountrycode=SK
Now I can conect to channel 13 AP
I suppose this only works without SIM/cellular connection, since android sets appropriate wifi county code from the cellular network. I use this specific phone in fligt mode only, so automatic setting didn't work.
im using [9] LineageOS 16.0 for z3. WI-FI does not work.
i installed this mode, But it doesn't work perfectly. It only works on AIREPLAN MODE.
mer5ad said:
im using [9] LineageOS 16.0 for z3. WI-FI does not work.
i installed this mode, But it doesn't work perfectly. It only works on AIREPLAN MODE.
Click to expand...
Click to collapse
Salam Dadash
My attached mode completly works on lineage 16. Ichecked it. it does not necessary to airplane mode.
after instalatiation of linage ROM 16, by ADB and fastboot you can flash it.
fastboot flash boot wifi5GbootLOS16.img
https://drive.google.com/file/d/1XWkcrpTkSz5udGA70pSm607E0mCmbHlD/view?usp=sharing
any chance for android 10 update ?
or anyone know the new location for bcmdhd.cal on Android 10 ?
Where's the download link?
Cara doenloadnya gimana
Related
Anyone knows how to change "regulatory domain" on 2.0 rom ?
Need to change channels to see my offices rooter.
I checked now 1.9 and it can see this rooter.
Installed also cyanogenmod and changed under "regulatory domain" to 14 channels and can see my rooter.
Anyone knows how to change this manualy on 2.0 rom ?
Or which file is it, so I can maybe copy from 1.9 rom?
DeMar27 said:
Anyone knows how to change "regulatory domain" on 2.0 rom ?
Need to change channels to see my offices rooter.
I checked now 1.9 and it can see this rooter.
Installed also cyanogenmod and changed under "regulatory domain" to 14 channels and can see my rooter.
Anyone knows how to change this manualy on 2.0 rom ?
Or which file is it, so I can maybe copy from 1.9 rom?
Click to expand...
Click to collapse
Hi Demar, I'm currently on GR4, but it should be the same on TP2.
I just tested with my own setup, I set the wi-fi channel on the router to channel 13, and the phone was unable to connect.
Then I changed the property "ro.wifi.channels" in build.prop to 13. After a reboot it connected fine.
So it seems that's all you need to do, either edit or add the line
"ro.wifi.channels=14"
to your build.prop.
Yeah. I know this. I tried, but without results..
DeMar27 said:
Yeah. I know this. I tried, but without results..
Click to expand...
Click to collapse
Which kernel are you using? I'm on HP-RC4.
Problem solved.
I'm not sure with what ?
I changed following:
ro.product.locale.region=EU
ro.wifi.channels=14
And installed some script that I found on forum
No I can choose regulatory domain
Wifi channels enable for both 11g/11n networks
DeMar27 said:
Problem solved.
... installed some script that I found on forum
Click to expand...
Click to collapse
Hmm... What script do you mean?
Anyway, to enable last (14) channel for .11g, without the script,
you need to set "wifi_country_code=JP" in the "secure" table in the following database:
"/data/data/com.android.providers.settings/databases/settings.db".
(It may be easily done with RootExplorer and SQLite editor installed).
Also, it may help for 5GHz .11n too, by default (for USA) very few channels are available,
Most channels in .11n become active with EU code in the field above.
And, there is no need to reboot the phone after change - just switch WiFi off/on!
alanber said:
"/data/data/com.android.providers.settings/databases/settings.db"
Click to expand...
Click to collapse
In my case there is no .db file
But it's a Samsung Galaxy A5 (2017) of course...
Hello.
Have you ever tried to port Rom's from model with wifi ot model with 3g? Which files need to copy to make modem work?
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
kimshooter said:
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
Click to expand...
Click to collapse
Never go full retard.
kimshooter said:
Buddy You need the hardware for it (Voice and Network)
its not possible in Nexus 7 WiFi model
so forget about porting
Click to expand...
Click to collapse
So I take all the ROMs that are available for both WiFi and 3G model are made with pure magic then ? Hmmm..
Sent from my C6603 using xda premium
farstar7s said:
Hello.
Have you ever tried to port Rom's from model with wifi ot model with 3g? Which files need to copy to make modem work?
Click to expand...
Click to collapse
I believe any of tge general gyides fie porting (which you can avail by searching) is also applicable here, even if its not, trying won't hurt as nothing more than a soft brick can occur, afaik, even of anything goes wrong
khaytsus said:
Never go full retard.
Click to expand...
Click to collapse
LOL.
farstar7s said:
Which files need to copy to make modem work?
Click to expand...
Click to collapse
It's a little more involved than just simple file copying as to get it working fully requires changes to the framework-res to enable telephony in the android layer. Below are the changes you make to enable telephony on a rom if you building from AOSP sources but you can use apktool or similar programs to mod an existing rom ( I think these settings are found in the arrays.xml )
Code:
<resources>
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,0,-1,true"</item>
<item>"mobile,0,0,1,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,5,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,9,-1,true"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,-1,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
</string-array>
<string-array translatable="false" name="radioAttributes">
<item>"9,1"</item>
<item>"1,1"</item>
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>
</resources>
WHY? Changes these settings enables the Mobile Networks Option in the Settings
Then you'd need to copy the following files from a Nexus3g Stock Rom, Generally you try to match the build ID number to your target when copy system file however it shouldn't make a difference in the case of the Nexus7 because it's all Jellybean.
Code:
/system/bin/rild
/system/bin/pppd ( if it doesn't exist )
/system/lib/librilxgold-ril.so
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.telephony.cdma.xml
WHY? the rild ( radio interface daemon and it's supporting libraries ) handle the requests to and from the baseband processor the vendor specific implementation is in this case found librilxgold-ril.so. the permissions files lets the Android UI access the Radio Interface Layer ( through the rild ). pppd - some ril implementations rely on pppd to establish the data connection.
Add or change the following settings in your build.prop file
Code:
rild.libpath=/system/lib/libxgold-ril.so
rild.libargs=-d /dev/ttyACM0
WHY? This is the settings that the ril daemon will use when it auto starts - the name of the vendor library and libargs. The -d switch is the name of the device node that all that juicy 3G data flows.
Make sure the build.prop and any files you change have the correct permission set. Thats 0644 for non exectuable ( everything except stuff in /system/bin ) and 0755 for executable ( rild and pppd ) on some system pppd needs the superuser stickybit setting ( 6755 ) but that doesn't look like the case maybe google are using some off that magic that @leminhnguyen0703 speaks of or parhaps the vendor ril doesn't rely on it in this case
DEBUGGING
Use adb logcat -b radio to see what the RIL Stack is upto as standard logcat doesn't include this information
I think that pretty much covers it.
Reference : Android Platform Development Kit - Radio Interface Layer
@leminhnguyen0703 Now where did I put my wand? LOL
Thnx
trevd said:
LOL.
It's a little more involved than just simple file copying as to get it working fully requires changes to the framework-res to enable telephony in the android layer. Below are the changes you make to enable telephony on a rom if you building from AOSP sources but you can use apktool or similar programs to mod an existing rom ( I think these settings are found in the arrays.xml )
Code:
<resources>
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,0,-1,true"</item>
<item>"mobile,0,0,1,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_dun,4,0,5,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,9,-1,true"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,-1,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
</string-array>
<string-array translatable="false" name="radioAttributes">
<item>"9,1"</item>
<item>"1,1"</item>
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>
</resources>
WHY? Changes these settings enables the Mobile Networks Option in the Settings
Then you'd need to copy the following files from a Nexus3g Stock Rom, Generally you try to match the build ID number to your target when copy system file however it shouldn't make a difference in the case of the Nexus7 because it's all Jellybean.
Code:
/system/bin/rild
/system/bin/pppd ( if it doesn't exist )
/system/lib/librilxgold-ril.so
/system/etc/permissions/android.hardware.telephony.gsm.xml
/system/etc/permissions/android.hardware.telephony.cdma.xml
WHY? the rild ( radio interface daemon and it's supporting libraries ) handle the requests to and from the baseband processor the vendor specific implementation is in this case found librilxgold-ril.so. the permissions files lets the Android UI access the Radio Interface Layer ( through the rild ). pppd - some ril implementations rely on pppd to establish the data connection.
Add or change the following settings in your build.prop file
Code:
rild.libpath=/system/lib/libxgold-ril.so
rild.libargs=-d /dev/ttyACM0
WHY? This is the settings that the ril daemon will use when it auto starts - the name of the vendor library and libargs. The -d switch is the name of the device node that all that juicy 3G data flows.
Make sure the build.prop and any files you change have the correct permission set. Thats 0644 for non exectuable ( everything except stuff in /system/bin ) and 0755 for executable ( rild and pppd ) on some system pppd needs the superuser stickybit setting ( 6755 ) but that doesn't look like the case maybe google are using some off that magic that @leminhnguyen0703 speaks of or parhaps the vendor ril doesn't rely on it in this case
DEBUGGING
Use adb logcat -b radio to see what the RIL Stack is upto as standard logcat doesn't include this information
I think that pretty much covers it.
@leminhnguyen0703 Now where did I put my wand? LOL
Click to expand...
Click to collapse
Thank you. It show me right direction. I hope you won't get angry to me. I am actually Acer iconia a701's user. We have weak society. But acer iconia a700's auditory is bigger. There is same situation with 3g.
Now i get working Rom, Except icon of 3G,GSM and working Internet.
I don't get why all peoples thought dass there is no posibility to do it. It is easy enough if to know what to do. Thank you you helped me much.
farstar7s said:
Thank you. It show me right direction. I hope you won't get angry to me. I am actually Acer iconia a701's user. We have weak society. But acer iconia a700's auditory is bigger. There is same situation with 3g.
Now i get working Rom, Except icon of 3G,GSM and working Internet.
I don't get why all peoples thought dass there is no posibility to do it. It is easy enough if to know what to do. Thank you you helped me much.
Click to expand...
Click to collapse
Obviously there maybe be other hardware differences with the Acer in H/W but if you got a ported rom booting and just need the 3G going then you can use this method on pretty much every device provided you can source the RIL files etc, There also maybe some extra bits, like you need to make sure the modem device node has the correct permissions in ueventd.rc ( the N7 wifi model already has this set ), There's a couple of links in my sig regarding stuff I did to get Huawei Dongles working on various Devices. You might pickup some tips from there.
leminhnguyen0703 said:
So I take all the ROMs that are available for both WiFi and 3G model are made with pure magic then ? Hmmm..
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
BURN THE WITCHES OF WHOM THAT PORT!
Sent from my HTC One using xda premium
Hi,
I have an OnePlus 3T and apparently OpePlus simply took the default WiFi config file provided by Qualcomm. This means that while for 5GHz channel bonding is enabled, 2.4GHz connections only use 20MHz wide channels, whereas channel bonding would allow to use 40MHz (where supported by the router).
This problem can be remedied by editing the config file WCNSS_qcom_cfg.ini located in system/etc/wifi. However, I found it unpleasant to modify my system partition as Magisk would give me systemless root and Xposed. So I did a very simply Magisk Module to overcome this.
To my understanding, this configuration is the same for OP3 and OP3T - but can't say for sure.
EDIT: Download removed. Now in official Repo.
Thanks!
BTW: It's free. If you like it, hit the THANKS button. If you want to donate, please donate to @topjohnwu for making Magisk!
I have op3t with magisk 10.2 and pph's root, how can I test if this module is working as intended?
I tested it on a 1+3 and it seems to work. But I'm not sure how to test this properly. But the link speed is higher. I will do some more testing.
I did some further testing and it works. The link speed doubled. See the Screenshots.
What did you changed exactly?
Nvm found it
(O+3T here)
Thanks man, works wonderful!
gkillerx said:
What did you changed exactly?
Nvm found it
Click to expand...
Click to collapse
He changed the configuration value in the aforementioned file to this value.
Code:
gChannelBondingMode24GHz=1
dreinulldrei said:
Hi,
I have an OnePlus 3T and apparently OpePlus simply took the default WiFi config file provided by Qualcomm. This means that while for 5GHz channel bonding is enabled, 2.4GHz connections only use 20MHz wide channels, whereas channel bonding would allow to use 40MHz (where supported by the router).
Click to expand...
Click to collapse
Is this still the case with OOS 4.0.1? Can the module being used on OOS4?
Edit: gChannelBondingMode for 2.4 GHz is still 0 on OOS 4.0.1
Yes. It still works on Nougat. It's a preset file by Qualcomm and I doubt OP will change it. Just a guess though.
It does work even on the Nougat version of OOS. @dreinulldrei, you really should apply for the repo because this is a solid mod.
Shouldn't OnePlus be fixing this? :silly:
Jadelor said:
It does work even on the Nougat version of OOS. @dreinulldrei, you really should apply for the repo because this is a solid mod.
Click to expand...
Click to collapse
I applied for a repository, but so far no response from topjohnwu. Guess he's working on next release of Magisk.
I can confirm this works.
My WiFi speed almost doubled!
It's on the official repo now.
Hi Guys.
I have a small query regarding the module. Will it drain more battery...? Please share your feedback
Hello,
How to unistal this module to use the 5ghz wifi after the installation ?
Ordijules said:
Hello,
How to unistal this module to use the 5ghz wifi after the installation ?
Click to expand...
Click to collapse
Magisk modules are uninstalled using Magisk Manager. 5GHz wifi is untouched by the module and you can choose to use 5GHz even with it enabled.
Okay thanks you
Then can you say me how to reset the wifi because I can't use Internet in wifi 5ghz and I have unistall the module
Sorry for my strange english
dreinulldrei said:
It's on the official repo now.
Click to expand...
Click to collapse
Has the issue been fixed in OOS 4.0.3 or do we still need this module?
Uh.. why do I have the same problem on my Nexus 5X? I can only go up to 72Mbps in 2.4GHz mode. But I don't have that file in /system/etc/wifi
THIS PROJECT IS NO LONGER SUPPORTED.
Code:
# <Module name goes here>
## Copyright (C) 2017-2018, VR25 @ xda-developers
### License: GPL v3+
---
#### DISCLAIMER
This software is provided as is, in the hope that it will be useful, but without any warranty. Always read/reread this reference prior to installing/upgrading. While no cats have been harmed, I assume no responsibility under anything which might go wrong due to the use/misuse of it.
A copy of the GNU General Public License, version 3 or newer ships with every build. Please, read it prior to using, modifying and/or sharing any part of this work.
To prevent fraud, DO NOT mirror any link associated with this project.
---
#### DESCRIPTION
Hide USB Debugging notification, enable tethering, HDMI (& HDMI mirroring), and wireless display mirroring (Miracast). More features may come.
---
#### PRE-REQUISITES
- Magisk v15+
---
#### SETUP STEPS
1. Install/upgrade from Magisk Manager or custom recovery.
2. Reboot.
3. Go to Settings > Display > Cast > 3 dots; tick the "Enable wireless display" checkbox.
---
#### LINKS
- [Facebook Page](https://facebook.com/VR25-at-xda-developers-258150974794782/)
- [Git Repository](https://github.com/Magisk-Modules-Repo/<repo name goes here>/)
- [XDA Thread](https://forum.xda-developers.com/apps/magisk/module-miracast-tethering-enabler-adb-t3611335/)
---
#### LATEST CHANGES
**2018.10.4 (201810040)**
- Magisk 15+ support
- Set prop values aggressively.
You should note it's for marshmallow mainly. Doesn't work on Nougat for many devices. Untested on android O.
LazerL0rd said:
You should note it's for marshmallow mainly. Doesn't work on Nougat for many devices. Untested on android O.
Click to expand...
Click to collapse
I've tested only on Moto Z Play stock Nougat and LineageOS based ROMs. You may be right. Perhaps some manufacturers hardcode their ROMs to bypass this kind of modification. I don't have any other device to test this on. I'll post a poll to see how that goes. Thanks.
VR25 said:
I've tested only on Moto Z Play stock Nougat and LineageOS based ROMs. You may be right. Perhaps some manufacturers hardcode their ROMs to bypass this kind of modification. I don't have any other device to test this on. I'll post a poll to see how that goes. Thanks.
Click to expand...
Click to collapse
Well, ik on Nexus it doesn't work in any stock based Nougat ROM.
Will it work in Kitkat or Lollipop?
Raynelfss said:
Will it work in Kitkat or Lollipop?
Click to expand...
Click to collapse
Yes, but it may not work on some devices/ROMs. You should try and report back.
LazerL0rd said:
Well, ik on Nexus it doesn't work in any stock based Nougat ROM.
Click to expand...
Click to collapse
Yes. Miracast on LineageOS only work for now. (It's just fixed this problem, no magisk module, no editing build prop)
VR25 said:
After installing and rebooting, go to Settings > Display > Cast > Click the 3 dots > Enable Wireless Display > Done.
Now you can mirror your phone's screen to any Miracast supported device, such as TVs and Windows 10 PCs.
Note: this may not work on some devices/ROMs.
Click to expand...
Click to collapse
Is there a uninstaller incase it doesn't work on my phone? Running resurrection remix 7.1.2
n0013z said:
Is there a uninstaller incase it doesn't work on my phone? Running resurrection remix 7.1.2
Click to expand...
Click to collapse
Usually, this doesn't cause any issue in case it doesn't work. You can easily remove it from the Magisk Manager app. Alternatively, you can also mount magisk.img from recovery and delete the folder "magiskmiracast" inside /magisk.
Use this recovery flashable zip
https://forum.xda-developers.com/attachment.php?attachmentid=4081169&d=1489956274
to mount magisk.img to /magisk.
Miracast is working for me but only for some minutes I play videos, show some pictures and the screen freeze only in my Smartv.
I play videos and more with Allcast and it doesn't happen
Sent from my Moto G (5) Plus using XDA Labs
No luck for me
Oneplus 2 a 2003 rr 5.8.3
Not working on OP3T on OOS
Tried it and it kills magisk and xposed without mercy. Samsung galaxy on5 stock touchwiz 6.0.1
Shen Ron said:
Tried it and it kills magisk and xposed without mercy. Samsung galaxy on5 stock touchwiz 6.0.1
Click to expand...
Click to collapse
Something is wrong with TouchWiz.
So, do I need to be rooted? Or can it be flashed from stock recovery on my zte blade v7 lite (android 6.0) without damage being done? Also I do believe the device needs specific hardware, correct me if I'm wrong!?...
Has anyone tested this on OnePlus 3T?
gb_14 said:
Has anyone tested this on OnePlus 3T?
Click to expand...
Click to collapse
Heyyo, lol literally four posts above yours.
ThE_MarD said:
Heyyo, lol literally four posts above yours.
Click to expand...
Click to collapse
Oh yeah, sorry, I haven't noticed.
HTC One m9, bad boys one m9 nougat 4.1 rom.
I dont have a display option in the settings (probably because of sense)
Only have display and gestures but no cast option inside.
I installed on my S7 Edge Nougat ... But I did not find in any menu the options to activate. Has anyone had this problem? I also tried to test mirroring with an LG TV and could not.
Hi,
I just got my Google WiFi 3-kit and it seems that the channel they work on (149) wasn't supported in my country (NL) so I made a simple Magisk module to change the region to [EU]
This 'fix' is simpy a change to "wifi-service.jar" which can be located in /system/framework/
Source: https://github.com/thomasvt1/extendwifi
DOWNLOAD
Updates v7
Update OOS to 4.5.10
Add support for Magisk v14.0
Special thanks to:
- https://forum.xda-developers.com/pixel/themes/mod-wifi-country-code-fix-root-required-t3558044
Would there be any benefit to flashing this if I'm in the US, or do they all have the NL flag?
The wifi region is selected based on the SIM in your phone. Most people won't need this, care, or notice.
Second, this is probably illegal since it changes your phone to use frequencies that are not allowed in the users home country. Is anyone going to get caught or in trouble for this? Unlikely. But it also won't be useful unless you've purchased hardware that broadcasts on frequencies not allowed in your country. IE, Google WiFi hasn't been released in Europe yet and doesn't officially follow EU frequency range. Which is why it's useful for @Thomasvt but not for anyone else.
@PokemonTotalWar: Long answer? No.
@PokemonTotalWar: For US users, probably not, except if you use channel 12/13 from the 2.4GHz spectrum. > https://en.wikipedia.org/wiki/List_of_WLAN_channels
@Raharazod Actually Google WiFi is released in the EU. (France, Germany and the UK) http://www.androidpolice.com/2017/06/26/google-wifi-may-coming-france-monday/ as for my country. All Apple products, and my laptop happily use the 5GHz network without any modification except my OnePlus 5.
Thomasvt said:
@Raharazod Actually Google WiFi is released in the EU. (France, Germany and the UK) http://www.androidpolice.com/2017/06/26/google-wifi-may-coming-france-monday/ as for my country. All Apple products, and my laptop happily use the 5GHz network without any modification except my OnePlus 5.
Click to expand...
Click to collapse
OH! I thought it was still pending release over here. Wasn't really keeping a close eye.
Well it shouldn't.
There ARE 5Ghz bands that are allowed in the EU, just not all of them. I was assuming that your module enabled ones that weren't otherwise allowed.
I've got my phone bootloop
Thomasvt said:
Hi,
I just got my Google WiFi 3-kit and it seems that the channel they work on (149) wasn't supported in my country (NL) so I made a simple Magisk module to change the region to [EU]
This 'fix' is simpy a change to "wifi-service.jar" which can be located in /system/framework/
Source: https://github.com/thomasvt1/extendwifi
DOWNLOAD
Updates v7
Update OOS to 4.5.10
Add support for Magisk v14.0
Special thanks to:
- https://forum.xda-developers.com/pixel/themes/mod-wifi-country-code-fix-root-required-t3558044
Click to expand...
Click to collapse
After installing module I've got my phone bootloop. May you define place for the original wifi-service.jar file during module installation.
Thanks, Kinger
Kinger1970 said:
After installing module I've got my phone bootloop. May you define place for the original wifi-service.jar file during module installation.
Thanks, Kinger
Click to expand...
Click to collapse
Just use 'magisk mount' and remove it from /magisk.
What O2OS are you running?
Thank you for quick response
Thomasvt said:
Just use 'magisk mount' and remove it from /magisk.
What O2OS are you running?
Click to expand...
Click to collapse
Thank you, restored system easily. Problem I'm not running O2OS system on phone I've crashed, installed on different phone by mistake.
Thank you, cheers!
I got another Problem on oreo closed beta 2.
After update from 4.5.14 my 5ghz wont connect with settings in router auto channel..
This means channels 36 above until 52 wont work.
If i sett a special channel like 52 above my 5ghz wifi connects to my op5..
Did OnePlus messed something up?
Located in Germany op5 A5000
Hi Dimontiman,
Have you tried with the official OxygenOS Open Beta 1? Since leaked closed beta 1 and 2 were not made for public and lots of bugs.
Did it give any errors when adding the module in Magisk?
If still doesn't work on official open beta 1, then perhaps an update to this module would be required perhaps.
keepasa said:
Hi Dimontiman,
Have you tried with the official OxygenOS Open Beta 1 (8.0)?
Click to expand...
Click to collapse
Yes both open beta 1 and xlosed beta 2
Same Wifi Problems
I do have a Oxygen (leaked build 1) version on my github: https://github.com/thomasvt1/extendwifi/tree/4.5.2 (just download as zip).
I haven't been able to get smali working yet with the open beta 1. I'm not sure if the closed beta one works on the open beta.
Edit: My version from git still does work with the open beta 1. Just tested.
Edit2: New updated version for Open Beta 1: https://github.com/thomasvt1/extendwifi/tree/O2_Open1 [just downoad zip and use in magisk]
Thomasvt said:
I do have a Oxygen (leaked build 1) version on my github: https://github.com/thomasvt1/extendwifi/tree/4.5.2 (just download as zip).
I haven't been able to get smali working yet with the open beta 1. I'm not sure if the closed beta one works on the open beta.
Edit: My version from git still does work with the open beta 1. Just tested.
Edit2: New updated version for Open Beta 1: https://github.com/thomasvt1/extendwifi/tree/O2_Open1 [just downoad zip and use in magisk]
Click to expand...
Click to collapse
Hey
Appreciate your work, what does your module change exactly?
Additional to OP
Dimontiman said:
Hey
Appreciate your work, what does your module change exactly?
Additional to OP
Click to expand...
Click to collapse
It changes just one file; https://github.com/thomasvt1/extendwifi/tree/O2_Open1/system/framework
And then just the setCountryCode method as per this guide;
https://forum.xda-developers.com/pixel/themes/mod-wifi-country-code-fix-root-required-t3558044
open beta is supported?
enskje said:
open beta is supported?
Click to expand...
Click to collapse
https://github.com/thomasvt1/extendwifi/archive/O2_Open1.zip
This is for Open Beta 1
Small update for Openbeta 1 - the region didn't apply every boot so I fixed that;
https://github.com/thomasvt1/extendwifi/archive/O2_Open1.zip
Thomasvt said:
Small update for Openbeta 1 - the region didn't apply every boot so I fixed that;
https://github.com/thomasvt1/extendwifi/archive/O2_Open1.zip
Click to expand...
Click to collapse
Hey can you update this version to magisk repo as i cant use the zip on magisk
Dimontiman said:
Hey can you update this version to magisk repo as i cant use the zip on magisk
Click to expand...
Click to collapse
Sorry the magisk repo version will only be the stable version of OxygenOS.
Maybe try a file explorer to select the zip, I know ES File Explorer works when using the 'file way' and not the 'normal android way'.
I hope this helps!
Thomasvt said:
Sorry the magisk repo version will only be the stable version of OxygenOS.
Maybe try a file explorer to select the zip, I know ES File Explorer works when using the 'file way' and not the 'normal android way'.
I hope this helps!
Click to expand...
Click to collapse
If i flash the zip from twrp, can stock be afterwards restored? I mean to uninstall