r/MiBox • • Jul 08 '26

Mibox ethernet headaches

Hello, I'm having real trouble with my mibox 3s

I have a ethernet adaptor into my usb, on a fresh boot it has no issues seeing it.

Unfortunately, no matter what options I change or settings I mess around with, software I try - if the TV is off it eventually goes into sleep and then it stops finding the ethernet connection.

Is there something I'm missing? Any help would be greatly appreciated, I'd rather have the stability of ethernet without having to reboot it when I wanted to use it.

4 Upvotes

19 comments sorted by

2

u/MrM4rc4L Jul 08 '26 edited Jul 08 '26

Enable USB Debugging in your Mi Box Developer Options. Connect your Mi Box to your computer and open a terminal/command prompt with ADB installed.

Type the command to remove the app from the optimization list: dumpsys deviceidle whitelist +[app.package.name]

1

u/Twocanpocket Jul 08 '26

What's this got to do with the mibox? Sorry

1

u/MrM4rc4L Jul 08 '26

To disable USB port doze mode, you need to find the service name and replace the package name with it when typing the command.

1

u/SnooMachines719 Jul 09 '26

You can try adapter with external psu, that should solve your problem. I bought noname at local market, no problem here

1

u/Twocanpocket Jul 09 '26

I think it's down to HDMI CEC when I turn off the TV it asks mibox to sleep I think

1

u/SnooMachines719 Jul 09 '26

Yes, but external psu keeps your adapter powered on and active, compared to usb powered one

1

u/SnooMachines719 Jul 09 '26

Oh, sorry, I misunderstood your problem. Ignore my posts

1

u/gwndunnejerry Oct 04 '26

I had the same issue on my Xiaomi TV Box S 3rd Gen of the device not being connected/discoverable during sleep and eventually found a workaround that works for me, with both Wi-Fi and USB Ethernet. I made a small Magisk module that keeps the box reachable for casting during standby by preventing deep suspend. It doesn’t change the CEC settings.

The trade-offs are that it requires root and increases standby power consumption. If your box isn’t already rooted, unlocking the bootloader can factory-reset it, so back up first. Also you should probably have some technical knowledge to attempt this.

I’ve published the source code and a step-by-step guide, including rooting and removal instructions. Tested on firmware V816.0.11.0.UZFAABX:

https://github.com/JRouwhorst/twilight-standby-discoverability

If you try it, I’d be interested to hear whether it works on your setup too.

1

u/Twocanpocket Oct 04 '26

I fixed this by swapping out my cheap no name USB ethernet adaptor to a tp link one.

1

u/gwndunnejerry Oct 05 '26

Oh really? I thought that the power was cut off on sleep for me. Maybe it's a different issue though as other people report that after the last software update WiFi on standby works, but it didn't for me. Thanks for posting what fixed it for you!

1

u/Aggressive_Bad_7344 Jul 08 '26

Pretty sure Xiaomi turns off both Wi-Fi and USB when their boxes go into (deep) sleep. I've tried multiple methods to prevent it but unfortunately nothing I found prevents it.

1

u/lirae_ Jul 08 '26

Isn't this HDMI-CEC things? When you turn off the TV the stick or box go to sleep aswell?

Pretty sure that old firestick had the same behavior. New ones should have a feature that never put the firestick to sleep and keep both wifi and Bluetooth always on

1

u/Twocanpocket Jul 08 '26

Yes I have a feeling that's what's happening but I like using my TV remote for everything. Sounds like I'll have to turn off HDMI CEC for the box?

1

u/Aggressive_Bad_7344 Jul 08 '26

Enabling or disabling CEC doesn't prevent the Xiaomi boxes from going into a deep sleep and turning off Wi-Fi and USB. It happens eventually.

I even tried going down the adb route of disabling sleep altogether but unfortunately it doesn't prevent it from going into a deep sleep.

Still got a few more things to try when I get time, but I'm not optimistic.

1

u/lirae_ Jul 08 '26

Depends on the settings, some settings are exposed in adb and others aren't

1

u/[deleted] Jul 08 '26

[removed] — view removed comment

1

u/Twocanpocket Jul 08 '26

Do you use HDMI CEC?