vysor - Realme X2 Pro Questions & Answers

can anyone use vysor? to me only black screen, I tried vysor's suggestions but nothing to do

I just found this thread long after I got Vysor (and scrcpy) to work (almost) flawlessly on Android 11 (with USB setting up the initial adb connection and then switching to Wi-Fi thereafter)....
In early May I updated from Android 11 to Android 12 and I found out that Android 12 has a fantastic new Developer option "Wireless debugging" feature where you can set up the adb connection to the PC completely over Wi-Fi (no need for the initial USB connection!).
I just wanted people to know new information related to using Vysor completely over Wi-Fi (no USB connection is ever needed again!).
This always on Wi-Fi Vysor capability is new in Android 12 because Android 12 has a new Developer option for "Wireless debugging".
However, Android 12 also has a new Developer option for "Enhanced MAC Randomization" which randomizes the MAC address on every Wi-Fi connection, so with that added desired Wi-Fi simplicity in Android 12 comes also the added desired privacy of MAC randomization on every connection (the difference being Android 11 only randomized the MAC per SSID, as far as I understand it).
All this new Android 12 functionality has implications for your Vysor (and scrcpy) setup, based on my tests over the past couple of months.
Of course, if your router is using the MAC address to hand out the IP address you might need address reservation since the router can no longer expect a consistent MAC address if you set that new Android 12 Developer option but you can set the Android phone to request a "Static" IP address (if you want the adb connect commands to be consistent in the IP address in day to day usage).
I have found that rebooting the PC causes me to need to reconnect via an adb command on the PC before Vysor will work, and, for unknown reasons yet, often the Android 12 "Wireless debugging" switch gets turned off (mysteriously) - which affects the Vysor (and scrcpy) connections from one day to another.
It's no big deal once you figure out the commands and switches though, where the screenshots below show the settings I currently have on my unrooted Android 12 Samsung Galaxy A32-5G phone from T-Mobile (many of which are for privacy and functionality reasons).

Related

N1 - Can't connect to any Wifi Networks

Hi,
I'm a SysAdmin and usually can figure out stuff by myself but I'm at a loss here, I feel like I've literally tried everything.
Hope you guys can lend a hand - I've also asked the CyanogenMod community here: forum.cyanogenmod.com/topic/8830-nexus-one-cant-connect-to-any-wifi-networks/
I've just received a replacement nexus one and it just won't connect to ANY Wifi networks (I've tried 3 different ones).
I know for a fact that my previous phone connected without any issues and we have several other wireless devices here that work fine (Printer, iPod, Laptops..)
Behavior:
- After resetting Wifi (disabling, re-enabling), it will scan for networks, it will detect my home network as well as several around my house properly.
- My home network is secured with WPA2, I select my network and put in my passphrase
- It will say "Connecting..." for several seconds then it will go back to "Disconnected" and eventually it will start scanning again for networks.
It seems to be the same issue as several people are experiencing here:
66.102.11.100/support/forum/p/android/thread?tid=63fcb1171110570e&hl=en
Several notes:
- Wifi signal is at 4 bars (maximum)
- It will show my home network as remembered once I have attempted one connection
- As soon as the connection fails (falls back to "Disconnected"), my home network goes Out of Range (!?)
- MAC address is definitely entered correctly in my router's MAC address filtering
- Tried restarting router, modem
- Restarted phone, restored it back to factory settings (tried a factory reset via Fastboot and via AmonRa Recovery)
- Tried with default android 2.2 firmware, Cyanogenmod Stable (2.2) and the latest nightly (2.2.1)
- Tried "Wifi Fixer" (Installed via USB)
- Out of the three networks I've tried, one was open and the two others were WPA
Another thing I've tried is setting up a static IP address.
It gets kind of odd here - my top status bar will start showing the icon as if I would be connected to a Wifi network and if I go into "Settings -> Wireless & Networks", it will say that I am connected. However, I'm not connected to any network (eh?).
I've done my best to browse the filesystem for logs with the terminal emulator cyanogen provides but I don't really know the layout of android. If anyone can point out a path, I can pull out some logs for you.
So, any ideas ?
I too have the same issue but unable to solve it
if you find any answers please let me know too
Judging by several ROMs that have been unable to cure your issue - it looks to be HW issue rather than SW one. There are plenty of reasons why the protocol would fail authentication, and the symptoms you're describing fit exactly how would Nexus behave in case of failed network negotiation. The problem is that failed network negotiation can occur if all the networks are protected by MAC access filter which doesn't recognize your MAC, but it's not your case - so it might be some other negotiation failure, which might be HW-related.
Jack_R1 said:
Judging by several ROMs that have been unable to cure your issue - it looks to be HW issue rather than SW one. There are plenty of reasons why the protocol would fail authentication, and the symptoms you're describing fit exactly how would Nexus behave in case of failed network negotiation. The problem is that failed network negotiation can occur if all the networks are protected by MAC access filter which doesn't recognize your MAC, but it's not your case - so it might be some other negotiation failure, which might be HW-related.
Click to expand...
Click to collapse
Do you know if Android logs events or errors ? I'd really like to know why it fails.
fooraide said:
Do you know if Android logs events or errors ? I'd really like to know why it fails.
Click to expand...
Click to collapse
adb logcat
Or install alogcat from market..
If you're rooted, you might be even better off dumping /proc/kmsg
Even though you say the MAC address is entered correctly, I would turn MAC filtering off at least temporarily just to be 100% sure something funny is not happening.
I've also had problems with hidden SSID, might broadcast it temporarily if its in fact off
crachel said:
Even though you say the MAC address is entered correctly, I would turn MAC filtering off at least temporarily just to be 100% sure something funny is not happening.
I've also had problems with hidden SSID, might broadcast it temporarily if its in fact off
Click to expand...
Click to collapse
Tried turning MAC address filtering off but no go - I doubted this could had been the issue since my device can't connect to an open network either.
The SSID broadcast isn't the issue either.
I'll try and look into the logs later tonight and see what I can dig up (thanks to those who hinted at how I could look them up)

Galaxy Mini S3 Android 4.1.2 WiFi Fix!

Having spent many hours trying to resolve this with Virgin Mobile (supplier) and Samsung UK (neither of which had a clue) on the Phandroid forum I've finally found a fix that works . If I could find my way back to the post I would give full credit here, but I can't until find it again.
The problem is with WPS. I opened the WPS settings and on the (Belkin N+) Router main menu followed: Wireless - WiFi Protected Setup & found it 'Enabled'.
On the phone I went to Settings - WiFi and on the 'WiFi Networks' page selected hard menu key which gives the option 'WPS PIN Entry' and provides a PIN number to put into the router. Once I'd done this the phone connected immediately.
Once I'd done a bit of Googling I couldn't see any good reason to have WPS enabled, I've even found on line several posts that say it's a security liability when enabled, so I've switched mine off. It seems to have made no difference whatsoever to my other laptops, phones etc.
Perhaps someone on here could indicate to me if, why and what issues I may have set in motion by switching it off.
I hope the fix works for you!
Wi-Fi Protected Setup (WPS; originally Wi-Fi Simple Config) is a computing standard that attempts to allow easy establishment of a secure wireless home network.
Created by the Wi-Fi Alliance and introduced in 2006, the goal of the protocol is to allow home users who know little of wireless security and may be intimidated by the available security options to set up Wi-Fi Protected Access, as well as making it easy to add new devices to an existing network without entering long passphrases.
Prior to the standard, several competing solutions were developed by different vendors to address the same need.
WPS has been shown to easily fall to brute-force attacks.
It seems WPS has been cracked (design flaw - it accepts repeat PIN attempts, and lets you know when you've got the first 4 right).
I'm no expert by the way - just got this from browsing (also found a download link for the hacking software very easily!).
A major security flaw was revealed in December 2011 that affects wireless routers with the WPS feature, which most recent models have enabled by default.
The flaw allows a remote attacker to recover the WPS PIN in a few hours and, with it, the network's WPA/WPA2 pre-shared key.
Users have been urged to turn off the WPS feature, although this may not be possible on some router models.
Thanks Raistlin - I'd seen something similar about the security issues. I don't understand why it is that, with WPS enabled by default for years, this is the first bit of kit that's had a problem connecting to it. It's bizarre and only compounded by the lack of knowledge of the problem by any of the agencies involved in providing the phone - Samsung, Google Android or Virgin Mobile. It's very, very annoying.

Impossible to Setup

I had 2 Chromecast working just fine for a long time,one in the main network and the other in the second network in a room that is too far from the main router.
Then one day i disabled UPNP for security concerns and soon after I realized chromecast needed it and enabled it again, however i was never able to set up it again
I tried using many phones like Galaxy S4, RAZR D3, iPhone 6, Windows 7 PC, I tried resetting the Chromecast to factory defaults many times without success, then I tried the other Chromecast and reset it to factory defaults and could not set up it either, so the problem is on my network.
My wi-fi settings right now:
11n only, it's 2.4GHz only
Channel Width automatic,
Channel is set to 11,
IGMP proxy disabled,
[WPA2-PSK-CCMP][ESS](from wi-fi analyzer app)AES with 54.000 seconds group key update period,
My password length is 13 with ! and () and numbers
WPS disabled
Mac filtering disabled,
Transmit power high,WMM enabled,
Short GI enabled,
AP isolation disabled,
beacon interval is 50,
RTS threshold is 2304,
fragmentation threshold 2346,
using a DHCP server,
UPNP enabled(again),
SPI firewall is enabled ALG all enabled but SIP ALG,
Forbid ping packet from LAN,
Ignore ping from WAN(tried without this too, so i don't think it is this),
Parental control is disabled,
My router uses google dns by default.
I don't use any VPN
My router is a TP-LINK TL-WR941ND my firmware is up to date(3.15.9 for V5 hardware) it is connected to another modem that just run as a bridge and nat disabled if i remember right i don't think it is a problem it with it and the only options related to IGMP on it is IGMP proxy and chromecast support says it need IGMP enabled + IGMP proxy disabled so how i check out this?
I also tried moving the chromecast to a TV that is right next to my router, still get 'can't see the chromecast on your network',
I also tried to give the chromecast a permanent static ip, and port forward it(virtual servers on my router) 2-65535 UDP and 2-65535 TCP but still setup won't complete, i don't know what more i can do other than just trash this stupid chromecast and back to see all my series on laptop.
Sometimes i'm able to cast my tab from a little time after a failed setup but then soon it will say 'no chromecast found', my pc runs comodo firewall however it was not giving me any problem and i tried to setup it with it disabled.
For the god sake i just want to be able to watch my series again, anyone please help me! If you need any more info just ask it, i can run wireshark and send some prints if this can help too.
- edit
Tried today with an Ipad and has able to do the setup and got the screen ready to cast, however i see no ports open in UPNP, and the chromecast app on ipad said it was configured but was not possible to dectect it on my network, and also from time to time the screen would go back to 'connecting to your wi-fi' then go back to 'ready to cast' i was able to cast this table as i write this,will see if it will stay stable and come back.
On my Galaxy S4 GT-i9500 on my chromecast still says no chromecast found for some reason, but i'm able to cast from it, however i seems to get black tabs now when streaming to my chromecast which i don't like, verified the same for my Galaxy S5 , for my Ipad and for my Iphone 6, why????????? I can ping the chromecast too however i had 1% loss of packet on 200 pings in the same room as my router.
You mention you have a main network and a second network. Can you elaborate on how those are connected together?
muchtall said:
You mention you have a main network and a second network. Can you elaborate on how those are connected together?
Click to expand...
Click to collapse
The main network is the network of the house and the second network is the network of the backyard, but i'm trying to run the chromecast in the main network, and the second is currently off.
The main network is the tp-link router as access point to a TG862 ARRIS in brigde mode, with firewall and nat disabled.
I think my wi-fi settings are all ok right? So why the chromecast can't setup???
I'd try changing wifi channel to 1 or 6. I'm not a network expert but I'd try that.

hotspot *still* not working MIUI 10...any fix available?

hi...I'm in the US and recently picked up a Mi 8 and absolutely love it, even with the language issues with the default MIUI 9 and 10 apps.
my device has the china rom and is currently running MIUI 10
one thing I've had no luck at all figuring out is the hotspot issue...the hotspot connects fine to other phones, but when I try to connect my main win10 dev computer to it, it tries to connect, then my wireless adapter on my computer *seems* to be reset (the icon switches to the wired network one for a few moments before switching back to the unconnected wireless one), and it says "can't connect to this network"
i need to try to connect a different computer to it, just to see, but i have not yet had a chance to do that...its on my list to do next. since it does connect so easily to other phones, i find it quite odd it won't connect to my computer.
also, i tried hardcoding the DNS in win10 to use the google ones as some posts for the Mi Mix 2 suggest, but no luck...does anyone have any suggestions for this as its almost a deal killer for using this fantastic phone as I am a remote developer and of course require a remote hotspot on occasion?

MAC randomization in P9

Hi All,
I've bought a WiFi repeater/extender with the intention of connecting to my P9 hotspot and connect to all my devices at home using my phone data allowance, but every time I switched the hotspot off and on again, it never connects back to the extender again.
Finally after some head bagging while trying to troubleshoot the issue, I've realised that the Mac address changes automatically every time I switch the Hotspot on and off, rendering the range extender useless!
After some google search, I've realised that is called Mac Randomization and it's a stupid feature.
I also tried a Samsung Note 8 and this doesn't happen at all!
Do you know a way to disable the MAC randomization on my Huawei P9 please?
Many thanks
Yes, on Nougat, Tethering hotspot changes MAC address every time it's turned on.
But I tested also with Oreo, P9 rebranded to Chinese AL10c00b540 - and on Oreo, Tethering hotspot keeps always the same MAC address.:
Three screenshots, for each test I even renamed the Tethering hotspot name, but it's MAC address remained constant
---
PS: For the matter of fact, MAC Randomisation is something else:
- Device should change its MAC address when connecting to different WiFi Access points / Hotspots, to protect its privacy
(not to change the MAC address for its own Tethering hotspot)
https://www.google.com/amp/s/www.theregister.co.uk/AMP/2017/03/10/mac_address_randomization/
And regarding to that, both Nougat and Oreo do not change their MAC addresses when connecting to different WLAN connections, but always and everywhere connect with the same MAC addresses (you can test by installing eg Network Utilities app from Playstore)
Anyway, I don't know why on Nougat it changes iMAC address of its own Tethering hotspot (and why not on Oreo), and I don't see any settings to control that

Categories

Resources