[MOD] Faster WIFI for X8 - N standard enabling - XPERIA X8 Android Development

Hi folks!
The modification I present here comes from this thread.
So far tested on: miniCM RC1, CM7 RC4
To work!
1. We go to /system/etc/firmaware directory and find files named:
Code:
/etc/firmware/fm_rx_init_1273.2.bts
/etc/firmware/fm_tx_init_1273.2.bts
/etc/firmware/fmc_init_1273.2.bts
2. Are they there? Good, don't touch them. Are they not there? Well, it's a pity, you won't get 5GHz band
3. Go back to /system/etc and find a file named tiwlan.ini
NOTE: In CM7 based ROMs the path may be /system/etc/wifi
4. Look for the following lines:
Code:
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 0
and change them into:
Code:
HT_Enable=1 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 1
5. This stage is for people who have files from step 1!
Look for the line:
Code:
Single_Dual_Band_Solution = 0
and change it into
Code:
Single_Dual_Band_Solution = 1
6. Save, reboot.
Troubleshooting: If after enabling your wifi keeps disconnecting, or you get the "connecting" bug, go to settings->networks->wifi, erase all remembered networks and reboot.
Disclamer: if you crush your wifi or brick your phone, I'm not responsible for it.
5GHz band and AdHoc features need testing to prove they work, N standard 100% working.
Also, I've been told that each ROM has different tiwlan file - if it's so, then we need custom zip for each ROM available. I'm not familiar with how it's done, so if someone could prepare them I'll attach them to the first post
Enjoy, X8 users!

Thanx for this when i got home i will test on my mini pro with 5gHz if it works i will include it as standart in my rom (mini and mini pro roms)
Sent from my U20i using XDA Premium App

Ok, we've got tests from polish android board and it's confirmed - X8 connects in n standard!

Graveir said:
Ok, we've got tests from polish android board and it's confirmed - X8 connects in n standard!
Click to expand...
Click to collapse
wow, thats just great but dont you think its drain more the battery?

Well, I've installed it something like half an hour ago, so I can't say for sure. There are two possibilities:
1. Since we already had more aerials in our phones, only they were unused, the battery drain with enabled wifi will stay as it was.
2. The additional aerials for n standard were inactive (I don't know if it's possible if they're on one chip, though) and after enabling them the battery drain will increase.
What can I say - check it yourself

aerosmith1 said:
wow, thats just great but dont you think its drain more the battery?
Click to expand...
Click to collapse
Guys often talk about drain battery.
Generally, better performance and better functionality it is more battery eating. If you want max battery saving, then never do not use bluetooth, wi-fi, GSM, 2G, 3G, set min brightness etc.. Everybody have choose.

i noticed no defference !!!!!!!

asn-mat said:
i noticed no defference !!!!!!!
Click to expand...
Click to collapse
Check stuff like connection speed or distance that you can now have from you router. Mayhaps you simply have a good router hardware and the difference is hard to spot - I feel an improvement personally
But if you feel you don't need it - switch it off, why risk a higher battery drain if nothing really changes

Can anyone confirm by checking connected devices in your routers status?
192.168.0.1
192.168.1.1
and username and password is often:
Code:
admin
admin
or
Code:
admin
1234
EDIT: If anyone can confirm this I will add this to the next MiniCM.

TESTS:
http://forum.android.com.pl/f257/mo...i-802-11n-dla-x8-60185/index4.html#post541352
What I'm posting is a translation of the linked post:
I'm currently using Sense CM7RC3 ROM. In my tiwlan.ini file (which in my case was in /system/etc/wifi) I changed only the lines:
HT_Enable=1
BurstModeEnable = 1
After a restart the phone established connection with Dlink Dir-615 router with firmware dd-wrt without any problem. In order to make sure if the phone is working in n standard I switched the router into N-only mode and it works, while my other phone without this improvement lost connection.
As I use FTP server in my phone on daily basis I made some speed tests.
In G mode I get average of 700kBps.
In N mode I get slightly more - 800kBps.
This means that the phone cannot even fully use the functionality of B standard. Let's add that during saving files on 4 class SD card via USB I get about 1500 kBps.
During tests I was using channel 1, however, there is another network in my range working on the same channel, so I switched my router in channel 13 and the connection speed dropped below 100 kBps.
The Single_Dual_Band_Solution = 1 issue:
I need more tests, but it seems that it does not unlock 5GHz band, but rather extends 2,4Ghz one. In the 2.4 there are 14 channels defined, but you cannot use any above the 9th, this setting allows to use 10-14 channels.
I also tasted range, and there is a considerable improvement here. In the room where G standard was working unstably and slower, N works flawlessly.
Click to expand...
Click to collapse
Hope it's enough

Well... I dont find tiwlan.ini in CM7 RC4 Rom... Where is it?
Edit: got it

Graveir said:
....Dlink Dir-615 router...
Click to expand...
Click to collapse
As i know, this router supports only 2.4GHz freq., isn't it?

What'd you know, you're right... I'll post it on polish board then and ask for more tests However, this still means that n standard works, and that 5GHz band might be operational!

I use CM7 and Dlink DIR-620 and can confirm what n standart works

I just post this information about 802.11n unlock in our 4pda forum to find testers, who can confirm 5GHz support. I hope...
ojojojworld said:
I use CM7 and Dlink DIR-620 and can confirm what n standart works
Click to expand...
Click to collapse
This router, as previous, supports only 2.4GHz...

I mean n standart not 5Ghz

Find variable:
Code:
WiFiAdhoc = 0
Change it to:
Code:
WiFiAdhoc = 1
Now you can connect to Ad|hoc (computer<>computer networks)

Thank you for this! I'm gonna write in into the first post.
Could you by any means verify if it works?

Graveir said:
Thank you for this! I'm gonna write in into the first post.
Could you by any means verify if it works?
Click to expand...
Click to collapse
I will test it soon and post results...

Tested on racht's v0.15 Floyo. Wifi connected to my TP-Link WR740N. Was set as 11n only. But after 10-15 secs phone couldn't find any network. Restart of wifi doesn't work.

Related

802.11n support?

In the file tiwlan.ini located in /system/etc I have the lines:
Code:
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
I think we can enable BurstMode and 802.11n (if driver allow it) support.
I cannot try, my access point isn't "n" (only "g" at 2.4GHz), but If you have an "n" wi-fi access point....
did a little digging.
looks like the wlan controller for the x10 mini pro is:
texas instrument wL1271a
http://focus.ti.com/general/docs/wt...ntId=29993&navigationId=12762&templateId=6123
TQM679002A from TriQuint
http://www.triquint.com/prodserv/more_info/proddisp.aspx?prod_id=TQM679002A
source: http://www.phonewreck.com/2010/08/05/823/
which means that the x10 mini pro is indeed b/g/n compatible. but only over 2.4Ghz band.
I'll do some more investigation tonight when I get back home.
Wonder what kind of throughputs I'll net.
Ok thanks! I'm using burst and n settings to 1..
Ok it works but I do not know my speed....
Sent from my U20i using XDA App
I'm here again.
I discovered how set up n in my router at 2.4Ghz (was n at 5Ghz) AND IT WORKS !!!!!
NOW I'M AT 65MBITS! router is at 1st floor and I'm at 2nd floor, but speed is > 54
So our mini pro IS n !
UPDATE: I've just tried close the access point.. 65mbit... Ok, 65 is greater than 54.. I think firmware - driver limits "n" speed.
oversim said:
I'm here again.
I discovered how set up n in my router at 2.4Ghz (was n at 5Ghz) AND IT WORKS !!!!!
NOW I'M AT 65MBITS! router is at 1st floor and I'm at 2nd floor, but speed is > 54
So our mini pro IS n !
UPDATE: I've just tried close the access point.. 65mbit... Ok, 65 is greater than 54.. I think firmware - driver limits "n" speed.
Click to expand...
Click to collapse
How you discovered this? Wich software?
I'm trying.....
Thank You!!
dettofatto said:
How you discovered this? Wich software?
I'm trying.....
Thank You!!
Click to expand...
Click to collapse
No software, simple: while examining configuration files..
That's great news guys! How about the battery life? does switching to n affect battery life significantly?
TIA
Absolutely no... Battery behaviour is the same using 65 or 54mbit...
Sent from my U20i using XDA App
oversim said:
Absolutely no... Battery behaviour is the same using 65 or 54mbit...
Sent from my U20i using XDA App
Click to expand...
Click to collapse
Perfect! 65 mbit!
802.11n should improve reception and by the way may preserve battery life at the oposite of 802.11g.
What information have you changed?
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
To:
?
HT_Enable=1 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
ok, thanks! i will try at home.
Hi,
I change the file tiwlan.ini as in the 1st post, but I didn't measure any difference.
I use wireshark in my laptop with wireless card (ipw4965 - module ipwagn) in monitor mode to check the traffic between my e10i (X10 mini, not pro) and my router (Linksys WAG325N).
In any instant the baudrate was greater that 54Mbps, but my laptop connects with a maximum of 130Mbps.
My X10 mini show 65mbps without any modification, the values are 0. Hmm...this could be from my router (asus wl500 gp, oleg firmware.) I will try the modified values
how are u guys editing it ??
NashXDA said:
how are u guys editing it ??
Click to expand...
Click to collapse
You need root access to your device and to mount the system folder with write permissions.
Copy your original tiwlan.ini to the sdcard, edit the file in the PC, and copy again to the original location.
I'm using root explorer to edit this file..
phoxy84 said:
What information have you changed?
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
To:
?
Click to expand...
Click to collapse
Both 1, enabled.
rubensun said:
did a little digging.
looks like the wlan controller for the x10 mini pro is:
texas instrument wL1271a
http://focus.ti.com/general/docs/wt...ntId=29993&navigationId=12762&templateId=6123
TQM679002A from TriQuint
http://www.triquint.com/prodserv/more_info/proddisp.aspx?prod_id=TQM679002A
source: http://www.phonewreck.com/2010/08/05/823/
which means that the x10 mini pro is indeed b/g/n compatible. but only over 2.4Ghz band.
I'll do some more investigation tonight when I get back home.
Wonder what kind of throughputs I'll net.
Click to expand...
Click to collapse
If you would have read everything, you would have read this:
Supports the soon-to be ratified WiFi Directâ„¢ and Soft AP mode capabilities, extensible to support additional protocols
Click to expand...
Click to collapse
This hints that it is draft-n, not final-n which is a result of the 65 speed only (which burstmode actually gives over a 802.11g connection as burstmode simply sends data from one device to another without waiting for the other device to say "I have recieved it"
http://en.wikipedia.org/wiki/Burst_mode_(computing)
)
In order to enable final 802.11n, the chip would have to have its firmware updated. On my Intel 4965, this same issue occured: I had a draft router and a draft card (The Intel 4965). The speeds were I believe 104 or something less. Now, with both of them on the final spec with their firmwares updated, Im hitting 130.

[DEV] Request for a dev to build an x10miniPRO 2.2 or 2.3 ROM with FULLY WORKING WiFi

Originally Posted by nightwing369
nightwing369 said:
The Wireless in the x10 mini Pro Stock SE firmware worked fine for me! (e.g. at home using WPA/WPA2 PSK & non-broadcast hidden signal) but I have had this wireless problem with ALL Custom roms I have tried e.g. slade87's, D4rKn3sSyS's, pumakkiotto's, paul-xxx's etc.
This problem still exists (both on slade's MiniCM6/7 rom, and on ALL roms based off this rom). I think this is because it (and they are - other roms based off this rom) is based on "MiniCM" by nobodyAtAll (that rom being the common element). As you can see quoted at the top of this post, I have mentioned the exact BUG and situation in which I encounter it. Also, The Wireless in the Stock SE firmware worked fine for me!
Please could one of you clever devs take over this thread and make a custom ROM aiming at fixing this specific WiFi BUG so that it doesn't ever occur - thank you!
Click to expand...
Click to collapse
Why are you posting crap allover,,,,,,,,,,,,,,,,,,,, all the roms have fully working wifi its your wireless router ssid setting ffs
dude no offence
but as you said you have mentioned that in so many threads and so many times and the bug still exists
did it ever occur to you that the devs CAN'T fix it?
you really think that they can and after all your fuss they didn't because they are lazy?
after all it's a miniscule bug that can be fixed instantly.....
wait for it......
OPEN SSID
in the end if it is such a torturing bug for you, you can always use stock rom
you are allowed to
custom rom is not mandatory
cheers
mods please delete thread
spamming all over rom threads for the same thing and requesting on dev thread with dev tag
is it DEV Thread ?
lol
mukptl said:
is it DEV Thread ?
lol
Click to expand...
Click to collapse
No, and it should be locked. its just a request thread for the known hided ssid bug...
he have a solution but he is too lazy :S .
To fix the bug he only need to go to his router management page and make the ssid visible.
is there even a reason to have the SSID hidden?
What a troll thread lol
As for me dear nightwing369, I hope the devs never ever change wifi management.
I using CyaNoComb v1.4 and that's wifi managements much better than stock's.
I have triple download speed and sooo much stable than the original
For example with stock rom I have ~200KB/s download speed, and lost connection every minute. With CyaNoComb I have ~500-600KB/s download speed and fully stable (for now, I had issues before -.-).
Instead of making devs angry, you MUST to read a lot about wifi configuration. In custom roms, you have the premission to change EVERYTHING.
But not with arrogance or cry.
s0ftcorn: some guys really thinks, they can hide from wifi stealers/hackers with that disabled ssid broadcast. But they just failed.
is it OFFTOP Thread?
WPA2/PSK WiFi setup with custom roms
ZaiKoo said:
What a troll thread lol
As for me dear nightwing369, I hope the devs never ever change wifi management.
I using CyaNoComb v1.4 and that's wifi managements much better than stock's.
I have triple download speed and sooo much stable than the original
For example with stock rom I have ~200KB/s download speed, and lost connection every minute. With CyaNoComb I have ~500-600KB/s download speed and fully stable (for now, I had issues before -.-).
Instead of making devs angry, you MUST to read a lot about wifi configuration. In custom roms, you have the premission to change EVERYTHING.
But not with arrogance or cry.
s0ftcorn: some guys really thinks, they can hide from wifi stealers/hackers with that disabled ssid broadcast. But they just failed.
Click to expand...
Click to collapse
What's your setup recommendation for my router (using WPA2/PSK) ? Is it still secure to broadcast the signal? Which WiFi settings (including security settings) do you find best on your phone using CyaNoComb v1.4? Cheers for your help btw
nightwing369 said:
What's your setup recommendation for my router (using WPA2/PSK) ? Is it still secure to broadcast the signal? Which WiFi settings (including security settings) do you find best on your phone using CyaNoComb v1.4? Cheers for your help btw
Click to expand...
Click to collapse
It is secure when nobody knows your password. And the security is with your router not your phone. If your modem is set to WPA Encryption and you decide to use "wep" passcode you won't be able to use the wifi.
nightwing369 said:
What's your setup recommendation for my router (using WPA2/PSK) ? Is it still secure to broadcast the signal? Which WiFi settings (including security settings) do you find best on your phone using CyaNoComb v1.4? Cheers for your help btw
Click to expand...
Click to collapse
You can simply Broadcast the SSID. Thats not protect you from any hacker.
This is my router configuration:
Enable Wireless Router Radio: yes
Enable SSID Broadcast: yes
Name (SSID): ZaiKo
Channel: 3 (Check your place with Wifi analyzer app. Use that channel what doesn't use anybody else, if there isn't free channel, you that what less ppl use)
Mode: 11g only (I setted this manually. My router also can use 'n' but phone doesn't.)
Password encrypt: WPA2-PSK with AES cryption
Transmit Power: High
Beacon Interval: 100
RTS Threshold: 2346
Fragmentation Threshold: 2346
DTIM Interval: 1
Enable WMM: yes
Channel Width: 20MHz
Max Tx Rate: 54Mbps
WDS Status: Disable
And use strong password, what contains capital, non-capital letters, numbers and if you are really crazy, special characters too and use tha longest password what you can remember for it.
That's the problem with most custom roms, they support common cases and that's it. For example xCyanogen doesn't support selecting your mobile provider manually. This is a problem when you live near a country's border and the phone tends to switch to a non home network.
Wifi roaming also doesn't work properly with many custom roms. They connect to the last AP even if its signal is very weak. But nobody uses wifi roaming so who cares..
But hey, random boot animations are the really important thing in a custom rom

Android 4+ and Wi-Fi channel 13

I understand that there were some changes to android after ICS which adds some difficulty to successfully changing your Wi-Fi Region Encoding (to enable the use of channels 12 and 13), but I was thinking that someone had to have figured out a solution by now.
I have an HTC One S, rooted, S-off, with a SuperCID (11111), and am running a 4.4 Beanstalk ROM port. I recently moved to a new apartment where the wifi situation is very congested (with neighbors using some seriously powerful routers given their signal strength).
Before ICS I was using channel 13 for fun as I had flashed DD-WRT on an old Linksys router. But eventually, because it wasn't necessary, I kept the wifi region on US and just used channel 11.
Though now, because of the congestion in this building, I really would like to go back and use channel 13. Having done so before, it is really frustrating not being able to. My router is set to 13, and I tried changing the region code (there is an option in the ROM) to both Europe and Japan/Russia but channels 12 and 13 are not scanned in either case . I also used sqlite editor and successfully changed the region in Settings Storage (but I hear this is now an obsolete method). In either case, the region is successfully changed but I am never able to scan channel 12 or 13.
I looked at the data on my sim card and it shows an MMC of 310 which I would expect since my cell provider is TMOUS. I read someplace that this is how my available wifi channels are being determined. Can anyone verify this?
More importantly, does anyone know how to configure my phone so I can use channels 12/13? It is really difficult to use wifi even 4 short yards from my router because the signal of -35dbm competes with a router signals on virtually every channel which is similar in strength.
Thanks!
Syntropic
Sent from my One S using XDA Premium 4 mobile app
syntropic said:
More importantly, does anyone know how to configure my phone so I can use channels 12/13?
Click to expand...
Click to collapse
All CM versions >9 have this problem
But it is easy to solve:
In the file \etc\wifi\nvram.txt you can change the line ccode=ALL to ccode=EU.
After a reboot you can use the high channels
If you flash another ROM to have to repeat this.
tramp20 said:
All CM versions >9 have this problem
But it is easy to solve:
In the file \etc\wifi\nvram.txt you can change the line ccode=ALL to ccode=EU.
After a reboot you can use the high channels
If you flash another ROM to have to repeat this.
Click to expand...
Click to collapse
I've tried a lot of apps but nothing worked!
Changing the nvram.txt worked! Thanks a lot ???
Does this setting only exist on CM? As I have a stock rooted Nexus 9 running android version 5.1.1 and this file does not exist:
\etc\wifi\nvram.txt
syntropic said:
I understand that there were some changes to android after ICS which adds some difficulty to successfully changing your Wi-Fi Region Encoding (to enable the use of channels 12 and 13), but I was thinking that someone had to have figured out a solution by now.
I have an HTC One S, rooted, S-off, with a SuperCID (11111), and am running a 4.4 Beanstalk ROM port. I recently moved to a new apartment where the wifi situation is very congested (with neighbors using some seriously powerful routers given their signal strength).
Before ICS I was using channel 13 for fun as I had flashed DD-WRT on an old Linksys router. But eventually, because it wasn't necessary, I kept the wifi region on US and just used channel 11.
Though now, because of the congestion in this building, I really would like to go back and use channel 13. Having done so before, it is really frustrating not being able to. My router is set to 13, and I tried changing the region code (there is an option in the ROM) to both Europe and Japan/Russia but channels 12 and 13 are not scanned in either case . I also used sqlite editor and successfully changed the region in Settings Storage (but I hear this is now an obsolete method). In either case, the region is successfully changed but I am never able to scan channel 12 or 13.
I looked at the data on my sim card and it shows an MMC of 310 which I would expect since my cell provider is TMOUS. I read someplace that this is how my available wifi channels are being determined. Can anyone verify this?
More importantly, does anyone know how to configure my phone so I can use channels 12/13? It is really difficult to use wifi even 4 short yards from my router because the signal of -35dbm competes with a router signals on virtually every channel which is similar in strength.
Thanks!
Syntropic
Sent from my One S using XDA Premium 4 mobile app
Click to expand...
Click to collapse
*reports to fcc*
what build of dd wrt?
i have a really old wrt54g v6 running 24461. had to turn off the webserver cause ram. so its old school with the telnetz

Wifi speed - Redmi Note 4X

Hi. I want to know how max wifi speed has Redmi Note 4X. I have internet 100Mb/s in home but phone in tests shows only about 40Mb/s (max 45). When I download some files it shows max 4MB/s. It's strange because phone has a/b/g/n standard, so it should show 100Mb/s.
Redmi Note 4X Tapatalk
I get 80-90Mbs download speed via 5G wifi from a Xiaomi Mini router, which has a max ethernet speed of 100Mbs.
So no problem with wifi speed.
I have a Redmi Note 4 sd 3/32 global version.
Hello, I also have only 40mbs at 5g channel on 300mbs link. Where to look for best wifi settings?
Guys I discovered how to speed up wifi speed. Go to /data/misc/wifi and open "WCNSS_qcom_cfg.ini" file. Find "gChannelBondingMode5GHz=1" line. Under this add "gChannelBondingMode24GHz=1" line. Next find "WmmIsEnabled=0" and change 0 to 1. Next reboot. My wifi speed up from 40Mb/s to 80.
Hi, guys!
I see you've managed to enable the 2.4 GHz channel bonding, but, does anyone know the maximum speed that mido support? I'm using mine on a 5 GHz wifi network and it can't go above 150mbps of link speed. It's the same on both frequencies (2.4 and 5 GHz). I have other Android phones that are connected with a link of 433mbps.
I tried a lot of tweaks and none of them worked.
Thanks!
FMAranda said:
Hi, guys!
I see you've managed to enable the 2.4 GHz channel bonding, but, does anyone know the maximum speed that mido support? I'm using mine on a 5 GHz wifi network and it can't go above 150mbps of link speed. It's the same on both frequencies (2.4 and 5 GHz). I have other Android phones that are connected with a link of 433mbps.
I tried a lot of tweaks and none of them worked.
Thanks!
Click to expand...
Click to collapse
The SoC in the phone theoretically can support 802.11ac (2 x 2 : 1)
but the actual SoC in the phone does not support it, it's not built in (it's in WCN3680b) - only 802.11n.
The phone's SoC has a WCN3660B and it has no 802.11ac (in WCN3680B there is).
This is what the phone can do fo you 802.11n:
- 1x1:1 antenna config and thus
. ^ ^ ^
. | | |
. | | '-- 1 possible data stream
. | '-- 1 RX antenna
. '-- 1 TX antenna,
- so one antenna, the antenna has a Tx/Rx integrated switch
thus (with one antenna) there's no possibility for MIMO, nor beamforming (not even physically possible)
but that's a 802.11ac feature anyway (and as I mentioned the chip inside does not support it).
(Note: BT is using the same antenna!
You can easily experience the slowdown of Wifi connection
along with an active and traffic forwarding BT connection
because the internal switch has to switch to BT TX/RX too.)
- Long or Short GI (800ns | 400ns)
- Channel bandwidth: 20 or 40MHz (HT20 | HT40)
TL;DR - this phone's capabilities are:
Code:
..Wifi...| Freq.....|.Channel..|.Guard....|.Max. conn.speed
."type"..|..........|.bandw....|.Interval.|.(1 stream)
---------+----------+----------+----------+----------------
.802.11g.|.2.4GHz...|..20MHz...|..800ns...|....54Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..800ns...|....65Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..400ns...|....72Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..800ns...|....135Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..400ns...|....150Mbps
So all your tweaks should be supported on both the phone and the AP (wireless router, AP, whatever) side as well.
Telegra.ph article - where I explained all a bit more.
https://telegra.ph/Xiaomi-Redmi-Note-4X-Snapdragon---Wifi-along-with-Bluetooth--bad-network-experience-and-sporadical-Bluetooth-connection-issues-05-26
All my Telegra.ph articles: http://telegra.ph/Telegraph-posts-by-crok-05-28
crok.bic said:
The SoC in the phone theoretically can support 802.11ac-t is (2 x 2 : 1)
but the actual SoC in the phone this is not built in - only 802.11n.
The phone's SoC has a WCN3660B and it has no 802.11ac (in WCN3680B there is).
This is what the phone can do fo you 802.11n:
- 1x1:1 antenna config and thus
. ^ ^ ^
. | | |
. | | '-- 1 possible data stream
. | '-- 1 RX antenna
. '-- 1 TX antenna,
- so one antenna, the antenna has a Tx/Rx integrated switch
thus (with one antenna) there's no MIMO-ra, nor beamforming (not even physically can do it)
but that's a 802.11ac feature anyway (but as I mentioned the chip inside does not support it).
(Note: BT is using the same antenna.
You can easily experience the slowdown of Wifi connection
along with an active and traffic forwarding BT connection
because the internal switch has to switch to BT TX/RX too.)
- Long or Short GI (800ns | 400ns)
- Channel bandwidth: 20 or 40MHz (HT20 | HT40)
TL;DR - this phone's capabilities are:
Code:
..Wifi...| Freq.....|.Channel..|.Guard....|.Max. conn.speed
."type"..|..........|.bandw....|.Interval.|.(1 stream)
---------+----------+----------+----------+----------------
.802.11g.|.2.4GHz...|..20MHz...|..800ns...|....54Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..800ns...|....65Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..400ns...|....72Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..800ns...|....135Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..400ns...|....150Mbps
So all your tweaks should be supported on both the phone and the AP (wireless router, AP, whatever) side as well.
Click to expand...
Click to collapse
Wow, thank you for sharing your knowledge with us. I'm actually ok now that I know that mido is physically not capable to go any further. That's something I'll look into on my next phone. I think I'll PM you with a question regarding the wireless network I have setup on my home. I'll be glad if you reply me.
Thanks again!
Zgadnijcie said:
Guys I discovered how to speed up wifi speed. Go to /data/misc/wifi and open "WCNSS_qcom_cfg.ini" file. Find "gChannelBondingMode5GHz=1" line. Under this add "gChannelBondingMode24GHz=1" line. Next find "WmmIsEnabled=0" and change 0 to 1. Next reboot. My wifi speed up from 40Mb/s to 80.
Click to expand...
Click to collapse
Anyone else have tried this?
Yes, works.
jctmobz26 said:
Anyone else have tried this?
Click to expand...
Click to collapse
crok.bic said:
Yes, works.
Click to expand...
Click to collapse
Sadly I can't find those indicated in the post.
I explained in #6 what the phone can do, even posted a table with possible settings.
jctmobz26 said:
Anyone else have tried this?
Click to expand...
Click to collapse
Crap my bad it's in the vendor file not in the /data. I changed the "WmmIsEnabled" to 1 already just gonna test if something has changed

Question Wifi 6E on XQ-CT72 (TW Version)

Hi there, got myself a TW version X1 iv. Ive found out that it wasn't able to see Wifi 6E (6Ghz) hotspots. I read that TW hasn't adopted Wifi 6E so TW firmware probably has that disabled.
Question: can anyone confirm whether they can see Wifi 6E hotspots on HK / SEA firmware? Can I cross flash other firmwares under the same XQ-CT72 SKU?
Many thanks.
Also: is it something that can be bypassed without having to flash firmware?
Edit: went ahead and flashed HK and then USA firmware, neither worked, still couldn't see Wifi 6E network. Anyone have any luck with this & does the router config matter?
bloomfielderic said:
Also: is it something that can be bypassed without having to flash firmware?
Edit: went ahead and flashed HK and then USA firmware, neither worked, still couldn't see Wifi 6E network. Anyone have any luck with this & does the router config matter?
Click to expand...
Click to collapse
i dont think xperia 1 iv supports 6e
Mrxyzl said:
i dont think xperia 1 iv supports 6e
Click to expand...
Click to collapse
Why? Obviously SD 8 Gen 1 has the hardware for that. Sony even boasted WIFI 6E connectivity in the promo material (on their TW website too)
bloomfielderic said:
Why? Obviously SD 8 Gen 1 has the hardware for that. Sony even boasted WIFI 6E connectivity in the promo material (on their TW website too)
Click to expand...
Click to collapse
not help with main question but yes iv supports 6E i have it on mine on 6ghz network to clear up thing that the iv does not support it
billycar11 said:
not help with main question but yes iv supports 6E i have it on mine on 6ghz network to clear up thing that the iv does not support it
Click to expand...
Click to collapse
What model do you have? Do you have to configure your router in a certain way?
bloomfielderic said:
What model do you have? Do you have to configure your router in a certain way?
Click to expand...
Click to collapse
Ct 62 no special config on router my wifi 6e ap is a ubiquity uap 6 enterprise
Hello all,
I was able to figure this out. Here's a copy of my Reddit post:
After importing the Sony Xperia 1 IV "Gaming Edition" from Taiwan to the US for the additional 4GB of RAM (16GB vs 12GB) and ability to unlock the bootloader (the US model, XQ-CT62, does not allow bootloader unlocking), I discovered that my XQ-CT72 would not see my 6GHz network, only my 2.4/5GHz networks. After installing Termux and verifying that 6GHz was indeed disabled (iw list) despite my country code being set to the US already (iw reg get country), I attempted to flash XQ-CT62's modem firmware, which succeeded but still did not enable WiFi 6e. Comparing the firmwares with WinMerge, I found that the Taiwan and USA firmwares have different props set for several RF-related values in /oem/etc/customization/config.prop.
I wrote a short script to override the relevant props on the Taiwan firmware with the props from the US firmware and dropped it in /data/adb/post-fs-data.d (making sure the script was set to executable, i.e. chmod +x) to ensure Magisk would run it before most of Android had been started, and after that was able to see and connect to 6GHz networks successfully:
Code:
#!/system/bin/sh
resetprop -n ro.vendor.sony.wlan.6e_cc_list US
resetprop -n ro.vendor.product.rf.id PDX223-A2US
resetprop -n ro.oem_ant_switch_index_table 0,0,2,0,0,2,2,0,2,2,2,2,2,2,2,2,0,0,2,0,0,2,2,0,2,2,2,2,2,2,2,2,0,0,2,0,0,2,2,0,2,2,2,2,2,2,2,2,0,0,2,0,0,2,2,0,2,2,2,2,2,2,2,2
resetprop -n ro.oem_sar_back_off_index_table 1,2,8,1,6,3,8,1,5,2,8,1,5,2,8,1,1,2,8,1,6,3,8,1,5,2,8,1,5,2,8,1
Note: I tested setting only resetprop -n ro.vendor.sony.wlan.6e_cc_list US without overriding the RF ID with ro.vendor.product.rf.id PDX223-A2US and this did not work unfortunately. ro.oem_ant_switch_index_table and ro.oem_sar_back_off_index_table are probably not strictly required, but since XQ-CT72 (TW) is not FCC-certified, I figured it would be best to adjust the antenna parameters to match the FCC-certified XQ-CT62 (US) just in case.
Reporting back - huge kudos to #8 @noellemercer 's post confirming it is indeed possible to bypass OS lvl restrictions.
I tried out his script but unfortunately still couldn't see WIFI 6E networks. iw reg get returns "unset" countries. In his reddit post he mentioned he was on US mobile network which was infeasible for me ATM, sadly.
I digged further and found out there's another property tied to wifi country code. I made change to that on top of the ones above and voila, all good!
You just need to add one more line to above:
resetprop -n ro.boot.wificountrycode US
Good luck!
Update - welp, I had got ahead of myself...
So after the fix I was able to see & connect to my 6Ghz network. But it remained unusable 99% of the time. My phone might be able to load a webpage or two before the connection would be automatically dropped. Can't even load up the speed test webpage lol!
I guess for me there's more to just setting a flag or two. I tried flashing CT62's modem firmware and it brought no improvements. iw outputs look alright though. @noellemercer how's your speed? Is your 6Ghz hotspot on 160mhz? I am wondering where else I should look at. Maybe all the props?
bloomfielderic said:
Update - welp, I had got ahead of myself...
So after the fix I was able to see & connect to my 6Ghz network. But it remained unusable 99% of the time. My phone might be able to load a webpage or two before the connection would be automatically dropped. Can't even load up the speed test webpage lol!
I guess for me there's more to just setting a flag or two. I tried flashing CT62's modem firmware and it brought no improvements. iw outputs look alright though. @noellemercer how's your speed? Is your 6Ghz hotspot on 160mhz? I am wondering where else I should look at. Maybe all the props?
Click to expand...
Click to collapse
I'm using an Ubiquiti gateway/router and an ASUS GT-AXE11000 in AP-only mode running asuswrt-merlin 388.1. Channel width is set to 160MHz. I don't have issues with dropouts so I'm not sure what the cause could be unfortunately; I get about 700-900mbps down on speed tests which is about the same as my Pixel 6 Pro (my WAN is 2gbps up/1gbps down).
The only thing I can think of in your case is to check if something is resetting the US country code prop after your network drops, as that's the only client-side (i.e. the phone itself) difference between our setups.
Can confirm that after many tweaks 6Ghz wifi is working reliably. Interestingly webpages do not load as swiftly compared to 5Ghz but disconnects no longer happen. I did have to reconfigure my wireless router, which seemed to be the main culprit. Going forward I'll probably just cross flash USA firmware.
Update 5/12/2023 - can confirm it's still working like a charm after flashing multiple builds. I believe initially the problem lay more with my router (GT-11000AXE). I did a factory reset and format on USB drive, reflashed Merlin and reinstalled scripts that I used, no more drops. The above script is still needed (as Google account etc. might automatically change region) but yes you don't necessarily have to remain on US firmware (I did as I don't plan on using cellular in the near future - even if I do I'll just use basic telephony services).

Categories

Resources