Xiaomi Box S 3rd Gen as a Dual-boot CE Box

No hub, no. Third 4GB stick, also not booting…

this side does not have .

What do you mean “same here” ? We both installed it successfully a few days ago. Or did you try some other dtb ? :face_with_diagonal_mouth:

I searched for debug pins by oscilloscope but nothing found.

So nothing can be done. Someone with a booting one can dump Android DTB?

You need any of these files from the CE partition or something else on STORAGE ?

Anyone place this script on his booting media in config folder on STORAGE partition.

It’s a hidden folder: /storage/.config.

Your PC needs EXT4 support, so best is to use a linux machine. Windows can not read the STORAGE partition by default.

autostart.sh (930 Bytes)

On next boot the script should dump a few items to the /storage/backup folder.

There should be a message in Kodi when script is finished.

1 Like

Alright.
Got a few things to do right now but I can probably do that in like 2-3 hours.

Done.
Colors were all messed up when booting CE this time, dunno why (all greyish), first time I encounter this issue. Also pay attention this is with 20250920 build. Got no message from Kodi regarding the script but seems like it worked. Btw this is unrelated but for me, the option to “Reboot to eMMC/NAND” works like a charm.

Here are the files :slight_smile:

dmesg.log (66.1 KB)

dtb.img.gz (19.7 KB)

info.log (516 Bytes)

Was replying to @Portisch about using the same DTB and not having CE boot issues:

1 Like

I’ve just tried again with the 0925 nightly and s7d_s905x5m_2g.dtb it still works fine, this is what I had to do to get it to boot.

  1. adb reboot update
  2. First MI logo
  3. Black screen
  4. Second MI logo (if you leave it here it hangs)
  5. As soon as the second MI logo appears disconnect the power
  6. Reconnect the power
  7. First MI logo
  8. Black screen
  9. Second MIlogo
  10. CoreELEC boots perfectly.
1 Like

I think portisch forgot to wrote that he got it working. Also got wifi working if I understand correctly:

   Machine model: Amlogic
  CoreELEC dt-id: s7d_s905x5m_xiaomi_3rd
   Linux version: 5.15.170 (portisch@Ubuntu) #1 Wed Sep 24 15:42:31 CEST 2025
   Kodi compiled: 2025-09-24 13:53:31 +0000
4 Likes

Please all try this new dtb:

Place it in /flash/device_trees (COREELEC/device_trees) without rename.

Place it also on /flash (COREELEC)renamed to dtb.img.

s7d_s905x5m_xiaomi_3rd_gen.dtb (75.7 KB)

Wifi will be fixed next week, driver is allready there, just a rule is missing.

Also the driver may not support wpa3, at least the sdio version do not. On this device the USB version is used.

BT will be a longer term.

DV is not working yet as here also some script do need adjustments.

3 Likes

Thank you for the great work @Portisch !
Will try this tomorrow.

Unfortunately the new dtb does not work for me. I’ve tried following your instructions replacing the dtb on my working USB stick and doing a fresh install and both times it just hangs at the MI logo.

Than Xiaomi is the worst an bad case as example from China device manufacturers.

They sell multiple different hardware configurations under the same hood.

Use the autostart script from above to make a dump of the different configuration by using the default 2g DT.

Also make a detailed picture of the RAM you have onboard.

Tried it today and it didn’t work for me.

dmesg.log (69.0 KB)

dtb.img.gz (19.7 KB)

info.log (731 Bytes)

1 Like

s7d_s905x5m_xiaomi_3rd_gen_v2.dtb (75.7 KB)

Please try again with the dtb. If it does boot run the autostart script again.

2 Likes

Yep, that one boots fine :+1:

dmesg.log (74.4 KB)

info.log (800 Bytes)

dtb.img.gz (19.7 KB)

2 Likes

What is the Android firmware version?

@Naej @roidy

Is there a difference?

I can’t check right now my one as I have no remote here.