Mi Box S network adb - Android Stick & Console AMLogic based Computers

Hello,
Is it possible to permanently switch on Network Adb on Mi Box S?
I have seen reports that it can be turned on by USB debug. However, I don't know if that survives a cold reboot.
I need network Adb to remotely control it using Scrcpy.

Related

[Q] Tethering issue

Apologies if this has been asked before, but I've searched and couldn't find anything that matches what I'm after.
I have a GNex running custom 4.2.2 and Windows 7 x64.
I want to be able to access my phone from my PC. To do this, I installed AirDroid. All good so far.
Issue 1: Using WiFi to access the phone, it doesn't do anything when the screen is off/the device is locked. Annoying.
Issue 2: Using USB tethering, it works fine when the screen is off, but kills my PC's internet access. Also annoying.
I would like to use USB tethering if possible, but I only want to be able to access my phone via AirDroid, not use it for internet (my PC has a much better wired connection already).
More on issue 2: Windows says the DNS server is unavailable when I troubleshoot. The moment I plug in my phone and the NDIS-thingy connection is formed, I lose internet access via my normal connection. It goes back to normal as soon as I unplug it. I've tried changing the priority of the network devices, but to no avail.
Any help appreciated.
Solved my own problem.
To those who are curious:
Under network settings for the USB tether, set DNS server addresses manually, go into advanced settings, and set the default gateway to whatever your router's address is.

Android 8.0 make mobile data always on without developer options

Hello,
I own a rooted Samsung Galaxy S7 running stock firmware (Oreo).
When I connect my phone to a WIFI network, it keeps shutting down mobile data.
I have checked the option to make mobile data always on using developer options and it works fine.
I have a few questions:
Is there a workaround to enable mobile data connectivity via adb (WITHOUT ticking "Mobile data always on" on developer options), even if device is connected to WIFI? (svc data enable doesn't really enable mobile data).
How can I change the metric of a network route? So that even if I am connected to WIFI, all network traffic will go through mobile data, unless I am trying to access an address which is on the WIFI LAN?
Thanks.
adb shell settings put global mobile_data_always_on 1
I don't know why you don't want to tick the option in developer options .. to use ADB, you'll have to enable developer options, and USB debugging.

Wi-Fi problem with Xiaomi Mi Box S after power failure

After almost one year of happy usage of my Xiaomi Mi Box S I have encountered a very weird problem recently after a power failure because of a blown fuse.
A couple of days ago one of my fuses blew and after I had reset the fuse box and turned on my tv and Xiaomi Mi Box S I noticed that my Mi Box couldn't find my Wi-Fi network anymore. As far as I know it wasn't updating anything during the power failure. What I've noticed so far is that:
- the Mi Box S can still find and connect to other wifi networks
- All my other devices can still find and connect to my own wifi network without any problems
- If I create a hotspot via my laptop which is connected to the wifi the Mi Box S cannot find or connect with this network
The things I have tried so far to fix it:
- Reboot the Xiaomi Mi Box S
- Reboot the router (Sitecom WLR-3100)
- Factory reset the Xiaomi Mi Box S
- Changed the name of wifi network
- Changed the password of wifi network
- Changed the IP address of the wifi network
- Factory reset the router
none of these things have helped. Does anyone have suggestions how I could restore this problem? All help is very much appreciated.
TedVA said:
After almost one year of happy usage of my Xiaomi Mi Box S I have encountered a very weird problem recently after a power failure because of a blown fuse.
A couple of days ago one of my fuses blew and after I had reset the fuse box and turned on my tv and Xiaomi Mi Box S I noticed that my Mi Box couldn't find my Wi-Fi network anymore. As far as I know it wasn't updating anything during the power failure. What I've noticed so far is that:
- the Mi Box S can still find and connect to other wifi networks
- All my other devices can still find and connect to my own wifi network without any problems
- If I create a hotspot via my laptop which is connected to the wifi the Mi Box S cannot find or connect with this network
The things I have tried so far to fix it:
- Reboot the Xiaomi Mi Box S
- Reboot the router (Sitecom WLR-3100)
- Factory reset the Xiaomi Mi Box S
- Changed the name of wifi network
- Changed the password of wifi network
- Changed the IP address of the wifi network
- Factory reset the router
none of these things have helped. Does anyone have suggestions how I could restore this problem? All help is very much appreciated.
Click to expand...
Click to collapse
Call Ghostbusters!!!!
TedVA said:
After almost one year of happy usage of my Xiaomi Mi Box S I have encountered a very weird problem recently after a power failure because of a blown fuse.
A couple of days ago one of my fuses blew and after I had reset the fuse box and turned on my tv and Xiaomi Mi Box S I noticed that my Mi Box couldn't find my Wi-Fi network anymore. As far as I know it wasn't updating anything during the power failure. What I've noticed so far is that:
- the Mi Box S can still find and connect to other wifi networks
- All my other devices can still find and connect to my own wifi network without any problems
- If I create a hotspot via my laptop which is connected to the wifi the Mi Box S cannot find or connect with this network
The things I have tried so far to fix it:
- Reboot the Xiaomi Mi Box S
- Reboot the router (Sitecom WLR-3100)
- Factory reset the Xiaomi Mi Box S
- Changed the name of wifi network
- Changed the password of wifi network
- Changed the IP address of the wifi network
- Factory reset the router
none of these things have helped. Does anyone have suggestions how I could restore this problem? All help is very much appreciated.
Click to expand...
Click to collapse
The same as my problem. I don't have any solution for this, just replace the router.
I guest some configuration of Wireless driver had been broken during the suddenly lost power. Maybe re-flashing the android firmware could resolve it.
TedVA said:
After almost one year of happy usage of my Xiaomi Mi Box S I have encountered a very weird problem recently after a power failure because of a blown fuse.
A couple of days ago one of my fuses blew and after I had reset the fuse box and turned on my tv and Xiaomi Mi Box S I noticed that my Mi Box couldn't find my Wi-Fi network anymore. As far as I know it wasn't updating anything during the power failure. What I've noticed so far is that:
- the Mi Box S can still find and connect to other wifi networks
- All my other devices can still find and connect to my own wifi network without any problems
- If I create a hotspot via my laptop which is connected to the wifi the Mi Box S cannot find or connect with this network
The things I have tried so far to fix it:
- Reboot the Xiaomi Mi Box S
- Reboot the router (Sitecom WLR-3100)
- Factory reset the Xiaomi Mi Box S
- Changed the name of wifi network
- Changed the password of wifi network
- Changed the IP address of the wifi network
- Factory reset the router
none of these things have helped. Does anyone have suggestions how I could restore this problem? All help is very much appreciated.
Click to expand...
Click to collapse
I realize this thread is a few months old but I thought I would chime in with an experience I had with the Mi BOX not showing any wifi networks. What fixed my issue was turning off a usb bluetooth adapter that I had plugged in to my PC (which was only a few feet away). I read somewhere that bluetooth could affect Wifi connections so I switched the adapter off and my Mi BOX immediately started to display all of the nearby networks again.
TedVA said:
After almost one year of happy usage of my Xiaomi Mi Box S I have encountered a very weird problem recently after a power failure because of a blown fuse.
A couple of days ago one of my fuses blew and after I had reset the fuse box and turned on my tv and Xiaomi Mi Box S I noticed that my Mi Box couldn't find my Wi-Fi network anymore. As far as I know it wasn't updating anything during the power failure. What I've noticed so far is that:
- the Mi Box S can still find and connect to other wifi networks
- All my other devices can still find and connect to my own wifi network without any problems
- If I create a hotspot via my laptop which is connected to the wifi the Mi Box S cannot find or connect with this network
The things I have tried so far to fix it:
- Reboot the Xiaomi Mi Box S
- Reboot the router (Sitecom WLR-3100)
- Factory reset the Xiaomi Mi Box S
- Changed the name of wifi network
- Changed the password of wifi network
- Changed the IP address of the wifi network
- Factory reset the router
none of these things have helped. Does anyone have suggestions how I could restore this problem? All help is very much appreciated.
Click to expand...
Click to collapse
Any update on this ?
Having same issue with my new mi box 4, out of the box it can't see my home network, however all other networks show up and work fine. Even the hotspot created off of home network is not shown. I'm out of my wits right now.
I had exactly the same problem. Mi box started to see my wifi after I turned TKIP off option in router's wifi setup.
You need to change the channel of the router, try channel 6, it will be ok.
Envoyé de mon SM-G960F en utilisant Tapatalk
It's ok guys with the channel 6 ?
It's working if you change the router to channel 6. Mine was on channel 13 and after i switched it imediatly the MiBox saw the network. Thanks anarckia!
mi box wifi issues
I'm facing the same issues, everytime after power cut, mi box is not able to connect to wifi automatically, I have to restart the mi box everytime, and then to forgot network to connect again.
Change channel to 6
It's working if you change the router to channel 6. Mine was on channel 13 and after i switched it imediatly the MiBox saw the network. Thanks
I tried by changing the channel to 6 and I'm facing the same problem.
Mibox S recognizes my Wi-Fi (both 2.4 and 5.5 Ghz) but no internet access.
My laptop, tablet 3 phones and Amazon Alexa are connected to the 5Ghz without any problem (stable Wi-Fi 98Mb download)
If I create a hotspot from my phone (it uses the LTE 4G network) mibox can connect and have internet access
The most oddly thing is.... NETFLIX works even with the message ``no internet access´´ (no I don't have any download episode or movie from Netflix )
With this diagnosis I can conclude that, my router is ok (phones laptop tablet etc.. Works flawless) the Mibox S Wi-Fi antenna is ok (detects all the Wi-Fi network) the problem I imagine is some firmware configuration from the mibox (this start to happen after a power failure)
Any ideas?
thanks
I have the same problem with my Mibox S
I wake up from morning and my Mibox show notifications that No internet,
I try to connect to my home wifi, but nothing appear on the list, all of my laptop and phone can connect to that wifi normally
I also tried to reset mibox twice, reset my wifi router but nothing work.
Then i create a hospot from my 4G LTE and the mibox can connect to that hospot.
I've just returned it to the retailer, hope they will find out what is happening with my device
I don't know why or how, but my mi box wifi suddenly not working after a power failure. but my router wifi channel is always set to automatic.
changing my wifi channel to 6 fixed my issue.
Before I read this thread, I was thinking to borrow a "usb to gigabit ethernet" from my friend to check if will work on cabled network.
But now it works. thanks
just in case channel 6 didn't solve the problem, set date and time to manually set (note that your date and time was reset to old date), this will solve the problem. but on every power set you will have to set again
changing the channel to 6 worked for me.
Check your date and time, try manual setup. It work for me. After connect to wifi change your set date and time to auto
Hi Friends,
I was using a Mi TV box with no issue for the last 1 year but once I did a system reset on my Singtel wi-fi router, Mi TV box is not able to connect to the internet.
Took below steps:
1. Tried factory reset on the Mi TV box but no luck
2. All other appliances (Macbook, IBM laptop, Android phone, Iphone) able to connect to wifi router. Issue is only with Mi TV box.
3. I tried setting static ip instead of DHCP but no luck
4. Tried to connect on both 2.4GHz and 5GHz channel but no luck.
5. Tried disabling the 5GHz channel on the router and checked with different channels of 2.4GHz but still same issue.
6. Based on this forum discussion, tried channel 6 (2.437GHz), did not work.. in fact tried all channels 1 by 1, nothing worked
7. Tried 'Date and Time' manual and Automation but no luck.
8. Mi tv box able to connect to my android phone hotspot.
9. Called Singtel team and asked them to do firmware upgrade on the router but no change ( not sure if it really happened or not)
Guys, any suggestion would be very very helpful.
- akash
I am setting date time to manual and then back to automatic and it does the trick until we have a fix.

Data connection not working when connected to wifi

Hi all,
i've got this big problem and i dunno how to solve it.
Stock rom, MIUI 12.0.3, no root, developer options active.
I ran into this annoying bug months ago, while trying to get my car's android auto working with my phone without using usb cable.
I managed to connect my Mi 8 lite with the car via wifi connection; made it enabling Android Auto developer options (otherwise it wolud let me connect only with cable). Unfortunately once connected everything doesn't work, because there is no data: while wifi is on AND connected, my phone doesn't "want" to use my mobile data, even if i force data use by setting "mobile data always on" option in developer options.
I noticed this is not a problem of my car's infotainmnet, infact it happens also if i connect my phone to my wifi network unplugging phone's line cable (and so internet data ) from my router. Also in this case, with phone mobile data always active, my phone will stay connected to my wifi (which has no internet) and won't use my mobile data.
Does anyone have any idea/suggestion or know what i'm doing wrong?
Thx in advance for reading
This topic is discussed here: https://forum.xda-developers.com/t/...iui-while-aa-is-connected-wirelessly.4252187/
But no widely working workaround yet.

Location Re-enable Spontaneously When Connecting to Different Wifi

This is a really odd issue and it is a privacy concern. I have a Samsung Galaxy A51 and a Samsung Galaxy Tab A with Android 11, and I have noticed on both that the device location setting is spontaneously being re-enabled without my intervention on both devices. It happens under the following scenario:
-Location off
-Wifi on
-No apps other than system apps (which cannot be uninstalled and cannot have location permissions revoked) have location access permissions granted
-While device connects automatically to a different wifi network than device was most recently previously connected to (e.g. being connected to wifi at home, then automatically connecting to wifi when visiting family at their house) or when manually connecting to a different wifi network (e.g. when connecting to wifi at a hotel).
I also notice that not only does locations services get enabled, but that the location being accessed icon shows up too. Yet, when I look at the location access setting menu in settings, it shows that nothing has been accessing my location.
Does anybody know why this is happening? Is this issue limited to Samsung devices or all Android devices?
Find my phone is set to enabled from within settings, but this wouldn't be causing this, right?

Categories

Resources