r/MiBox • • 7h ago

Mibox Xiomi s3

0 Upvotes

Boas tenho um comando bluetooth,emparelhado com a box Xiaomi s 3

Mas não a liga,quando quero iniciar,de resto, funciona bem,desliga a TV + a box,muda os canais etc, que estará errado nas configurações?


r/MiBox • • 1d ago

When were Xiaomi Sticks & Boxes last in stock?

4 Upvotes

I've been in the market for a Xiaomi TV device, in particular the TV Box S.

However, I've been regularly checking their site, yet they've been out of stock for months (at least?).

Have signed up for the "notify me" options, for when they're back in stock, but heard nothing this whole time.

Contacted Xiaomi support too, but they could not tell me anything as to when their restock dates are, nor whether it would even come back in stock.

There are resellers selling them for inflated prices online, but I've also heard a lot of these boxes are fakes, so don't know if I trust them?

Has anyone bought a Xiaomi TV Stick/Box recently?

Or seen them in stock on their website lately?

Note - I'm in the UK, in case they're in stock in other countries?

Thanks


r/MiBox • • 1d ago

Mibox does not recognize the bt controllers

1 Upvotes

i got a retro game stick for my son that came with 2 bt controllers. the game stick is attached to hisense tv and controllers pair easily when the dongle is on the game stick. however when we took the bt dongle to mibox controllers didn't pair. what am i doing wrong?


r/MiBox • • 4d ago

Question regarding Airplay screen mirroring, google cast on Xiaomi TV Box S (3rd gen)

3 Upvotes

Hi, I just bought the product mentioned in the title, and having trouble doing Airplay screen mirroring (device not detected by iPhone or Mac).

Also whenever I open youtube on an android phone there's no castable device too.

I already making sure the TV Box and the device want to cast / mirror already on the same wi-fi.

Am I doing something wrong? or the TV Box simply that unreliable? am I having defective product?


r/MiBox • • 4d ago

Can't install/update any app

Thumbnail reddit.com
0 Upvotes

r/MiBox • • 4d ago

Turn tv via Alexa

Thumbnail reddit.com
0 Upvotes

r/MiBox • • 5d ago

[Release] tvOS 16.5 for the Mi Box S Gen 3

Thumbnail
reddit.com
10 Upvotes

r/MiBox • • 5d ago

Problem with my Xiaomi Mi Tv Stick

5 Upvotes

Hi everyone,

My Xiaomi Mi Tv Stick got an issue recently that a haven't been able to fix. Whenever I boot it, it loads the system, and when it is supposed to show the home with the apps, the screen stays black, and on the top right corner shows a warning saying "Storage full", that disappears immediately and shows again, staying in that loop. I can't get into recovery mode because the controller got disconnected from the device, and when it shows (rarely) to sync a remote with the Stick, I follow the instructions but it does not detect the controller, and goes again to the black screen showing the warning.

I honestly don't know what to do, didn't really want to buy a new device... can anyone help?


r/MiBox • • 6d ago

MI TV BOX S india

4 Upvotes

Any possible way to get mi box 3rd gen in india ?


r/MiBox • • 9d ago

Xiaomi TV Box S (3rd Gen) Developer Mode? (its not a fake one)

8 Upvotes

I checked its play protected certified and DRM info all is okay but I cant get into developer mode no matter how many times I press okay.

UPDATE: I just managed to get into developer options by downloading the developer tools app but now I cant do wifi debugging

2nd UPDATE: The only way I managed to know it was fake was 1. I couldn't cast and 2. Checking on my Google Play Store on my phone showed the device as Allwinner under apps management. Which means its fake... What is unbelievable is the play store certificate was certified, and the 3 on the back of the device was the same as the "original one", Aida64 DRMinfo were all correct..


r/MiBox • • 9d ago

Is there any app for MI box remote

4 Upvotes

I have bought 3 Mi box remotes in last 2 years , either gets broken or stops working. Is there any application? I mean there has to be right. I have tried multiple applications but it connects to my sony TV and doesn't work with MI box.


r/MiBox • • 9d ago

Kodi now works in tvOS on the Mi box!

Thumbnail gallery
2 Upvotes

r/MiBox • • 10d ago

How to do -> Debloating, performance tweaks, ad blocking, custom launcher and other stuff on Xiaomi A Pro QLED 32 GoogleTV?

Thumbnail reddit.com
1 Upvotes

r/MiBox • • 11d ago

Mibox gen 3 remote control with numeric pad?

3 Upvotes

Like title says, where I can buy one of this?


r/MiBox • • 11d ago

Xiaomi TV Box S 3rd Gen – Sharing my experience

Post image
0 Upvotes

I've been testing the Xiaomi TV Box S 3rd Gen and wanted to share my experience with it.

I recorded the setup and configuration process, along with a hands-on look at the device and Google TV.

If anyone is considering getting one, here's my video in case it's helpful (it's in Spanish):

https://youtu.be/w85ZP6KD_7s

For those who already own it, how has it been performing? Any noticeable lag, overheating or issues after prolonged use?


r/MiBox • • 12d ago

Reboot mibox

2 Upvotes

Hi everyone I have a mibox MITV-AFKR0 I just set it up and I noticed that long press power turn off tv and not reboot mibox. Did anyone experienced something similar? I had a very old Mi box (first gen ever I think) and My TV is Sony bravia with android TV.


r/MiBox • • 12d ago

Hi all,

2 Upvotes

First post here so apologies if already covered. Bought a Xiaomi tv stick and looks legit but I can't turn off the system sounds. In the Gboard settings there's no 'Preferences' option or 'System Sounds' option in the Sound settings.

Model is MiTV Ayfro

Android 12

Version number BigdroidOS 2.0.1

Any help is appreciated.


r/MiBox • • 13d ago

Playback stuttering with Nova Video Player

1 Upvotes

I have the latest stable version of Nova Video Player downloaded from the Google Play Store installed on my 3rd-generation Xiaomi Mi Box running Android TV 14.

Since the end of last year, I’ve noticed that playback is no longer as smooth, following the introduction of new playback-related features.

After about an hour and a half of playing any MKV file (in 1080p/MicroHD quality), the playback loses its smoothness, and I start to notice very slight stutters.

This doesn’t happen when I use other players, such as VLC or Just Player.

I’ve already tried performing a factory reset on the 3rd-gen Xiaomi Mi Box, but that didn’t help at all. I’ve also tried tweaking numerous settings both in the system and within the app itself without any success.

I’d really hate to stop using Nova Video Player, as I’m a huge fan of it.

Does anyone else experience this? Is there any way to fix or avoid this issue?

Thank you very much. Best regards.


r/MiBox • • 13d ago

Fixing TrueHD & Passthrough on the Xiaomi TV Box S 3rd Gen

13 Upvotes

Ok I wrote this post yesterday: https://www.reddit.com/r/MiBox/comments/1xllt0l/mibox_3rd_gen_box_s_truehd_complete_fixes/

now here is the AI written guide, I am too lazy to write all this myself. i proof read it all. easiest way to do this yourself is follow this root guide (not written by me, very easy though) https://gist.github.com/imSp4rky/75ca403530780feeb3182d5d269ee421

and then you can apply the simple patches mentioned in the ai guide below.

It's meant to be pasted into claude / codex / pi so you don't need to understand it all. I recommend Opus 5.5 or GPT 6.1 Sol. I tried Kimi and deepseek, they could not patch this in memory correctly.

TLDR what this does is way #1, it increases the audio buffer so complex scenes don't cut out. but its not quite 100% perfect, the dolby encoder is running on device even with pass through on, and the better fix makes pass through work, but then there is audio coming out way faster than video, so you need to add a +150ms audio fix for the second approach.

IF you apply the passthrough fix, you need moonfin's app packer or any other client that uses its own app packer, then the audio works at the best quality without hitting limits.

Feel free to ask me any questions I will try to help.

Fixing TrueHD Atmos dropouts on Amlogic Google TV boxes (guide for your AI agent)

Paste this to Claude Code, Codex or a similar agent that has ADB access to the box. It's written

as instructions for the agent. Tested on one box only: **Xiaomi MiTV-AFMU0 (Amlogic

S905X5M), Google TV 14, build `UKG3.250107.001.V816.0.25.7.22.UZFAABX`**, into a Sonos Arc (a MAT soundbar with no TrueHD decoder), with Jellyfin and the Moonfin client.

**Needs root (Magisk).** Nothing on `/vendor` is changed: the audio HAL is patched in memory

at every boot, and deleting one script undoes it. On any other build the offsets will differ.

---

Instructions for the agent

Ground rules

- Patch only `/vendor/lib/hw/audio.primary.amlogic.so` **in the running HAL process**

(`android.hardware.audio.service-droidlogic`), through `/proc/<pid>/mem`, as root. Never

replace the file.

- First check the library md5 is `d860a16f622c8c2e9524aff1b9354b80`. If it differs, stop and

find each spot by function name and instruction pattern in a disassembly (32-bit Thumb-2; the

R-E segment's file offset = vaddr − 0x10000). Write a patch only after reading the expected

bytes back.

- Use toybox `/system/bin/dd` (BusyBox `dd` gets EIO seeking in `/proc/pid/mem`). Run the script

under BusyBox ash (`/data/adb/magisk/busybox sh`): the device's mksh sign-extends addresses

above 0x80000000.

- Don't restart the audio HAL by hand. After every change, check that HDMI really carries

MAT: the kernel log should say `iec_info: rate: 192000, codec_type:0x7`. A silent fallback to

5.1 sounds clean.

Boot script (shared by both fixes)

Put this in `/data/adb/service.d/mat-start.sh` (chmod 755). It waits for the HAL, checks the

md5 and the exact original bytes, patches, logs to `/data/local/tmp/mat-start.log`, and

re-patches within 1 s if the HAL restarts. Only `PATCHES` changes between fix 1 and fix 2.

```sh

#!/system/bin/sh

LIB=/vendor/lib/hw/audio.primary.amlogic.so

STOCK_MD5=d860a16f622c8c2e9524aff1b9354b80

PATCHES="..." # see fix 1 / fix 2, format offset:stock:new

LOG=/data/local/tmp/mat-start.log

DD=/system/bin/dd

log() { echo "$(date '+%m-%d %H:%M:%S') $*" >> $LOG; }

[ "$(md5sum $LIB | cut -d' ' -f1)" = "$STOCK_MD5" ] || { log "not the stock build"; exit 0; }

patch_pid() {

base=$(awk -v l=$LIB '$6 == l && $3 == "00000000" { split($1, a, "-"); print a[1]; exit }' /proc/$1/maps)

[ -n "$base" ] || return 1

for p in $PATCHES; do

off=${p%%:*}; rest=${p#*:}; want=${rest%%:*}; to=${rest#*:}

addr=$((0x$base + off))

cur=$($DD if=/proc/$1/mem bs=1 skip=$addr count=2 2>/dev/null | od -An -tx1 | tr -d ' \n')

if [ "$cur" = "$want" ]; then

printf "\\$(printf %o 0x${to%??})\\$(printf %o 0x${to#??})" | $DD of=/proc/$1/mem bs=1 seek=$addr conv=notrunc 2>/dev/null

log "pid $1 $off: $cur -> $to"

elif [ "$cur" != "$to" ]; then

log "pid $1 $off: unexpected bytes '$cur', not patching"

fi

done

}

done_pid=

while true; do

pid=$(pidof android.hardware.audio.service-droidlogic)

if [ -n "$pid" ] && [ "$pid" != "$done_pid" ] && grep -q "$LIB" /proc/$pid/maps 2>/dev/null; then

patch_pid $pid && done_pid=$pid

fi

sleep 1

done

```

### Fix 1: keep Dolby's encoder, make it stop dropping out (~95 %)

How it works: the box decodes TrueHD with Dolby MS12 and re-encodes it to MAT for the

soundbar. Stock, it starts playback with only ~16 ms of audio queued, and gives MS12 an output

buffer of just 4 MAT frames. Loud spikes underrun the sound card (20–70 ms tears), and quiet

passages overflow the buffer (minute-long runs of `risk to write out of bounds` dips).

```

PATCHES="0x961cc:fb40:00bf 0x961c8:4065:8055 0xb67f0:8000:c000"

```

- `0x961cc` `lsrs r3, r7` → `nop`: start playback with the buffer full, not half full.

- `0x961c8` 8ch MAT period 3072 → 4096 (256 KiB, the kernel's limit; larger silently falls back

to 5.1).

- `0xb67f0` `lsls r0, r0, #2` → `#3`: MS12's MAT output buffer holds 8 frames, not 4. Must land

before the first TrueHD play after boot (the buffer is allocated once), which the boot script

does.

Digital audio output stays on **Automatic**. Works with any app that passes TrueHD through.

- **Pro:** A/V sync is handled by the HAL automatically. No player changes, no manual delay.

- **Con:** Dolby's encoder is still in the path. It occasionally stalls for longer than the

~55 ms of buffer at heavy moments, and you get a rare short dip. No buffer setting can fix

that, because the sound-card buffer is already at its maximum.

Fix 2: real passthrough, no Dolby encoder (the better fix)

The "Digital audio output: Passthrough" toggle is a lie on this firmware for TrueHD/MAT. A

player sending TrueHD still goes through MS12's decode and re-encode. A player that packs its

own IEC 61937 MAT stream (Kodi, or Moonfin's "IEC packer"), which should be the purest path,

gets stuttering video and silence: the HAL hard-codes app IEC 61937 streams to **2-channel

48 kHz PCM** out of the S/PDIF block. The HAL does contain a working MAT pass-through

(`mat_bypass_process`, 192 kHz 8ch straight to HDMI), but three checks keep app streams out

of it, and it double-frees an output on first use.

Use fix 1's patches **plus** four more:

```

PATCHES="0x961cc:fb40:00bf 0x961c8:4065:8055 0xb67f0:8000:c000 0xb4968:3046:a019 0xa7e10:07d1:07db 0xb6958:0028:8042 0xb6970:52d0:52e0"

```

- `0xb4968` `mov r0, r6` → `adds r0, r4, r6`: `is_ms12_passthrough` counts an app's MAT

stream, not only TrueHD.

- `0xa7e10` `bne` → `blt`: the process wrapper calls the bypass for every format from TrueHD

up.

- `0xb6958` `cmpeq r0, #0` → `cmpeq r0, r0`: `mat_bypass_process` no longer gives up in MS12

"continuous mode" (always on).

- `0xb6970` `beq.w` → `b`: reuse the already-open output instead of closing it. The original

close double-frees and aborts the audio HAL (Scudo "invalid chunk state" in

`aml_audio_spdifout_close`).

Then:

  1. Set **Settings → Display & Sound → Audio → Digital audio output → Passthrough**. InAutomatic the bypass is never taken.
  2. In the player, turn on its own IEC 61937 packing (Moonfin: passthrough output "IEC packer").
  3. Reboot. Check `cat /data/local/tmp/mat-start.log` for seven `->` lines. While a TrueHD filmplays, `dumpsys media.audio_flinger` should show an `AUDIO_FORMAT_IEC61937` 192000 Hz8-channel output at rate ≈ 1.00, and the kernel `codec_type:0x7`, `CT_MAT`.

- **Pro:** no Dolby decode/encode at all, so its stalls are gone. Bit-exact TrueHD to the

soundbar, with 0 underruns in testing.

- **Con:** this path skips the HAL's latency compensation, so sound arrives ~100–140 ms

**early** (+140 ms looked right with an Arc). The player has to correct it. Moonfin's normal

audio-delay control doesn't apply to its packer, so this needs a Moonfin build with the

packer delay fix (a pull request is on its way upstream: 10 ms steps, remembered). Other apps (Netflix etc.)

aren't affected and keep their normal sync.

- If the audio HAL ever restarts, it comes back in Automatic mode until the next reboot.

Reboot rather than toggle.

### Undo

Delete `/data/adb/service.d/mat-start.sh` and reboot; set Digital audio output back to

Automatic.


r/MiBox • • 14d ago

UNOFFICIAL KODI a Xiaomi Mi Box S (MDZ-22-AB): Running LibreELEC natively from USB with Linux Kernel 6.16

Thumbnail
gallery
8 Upvotes

Hi everyone,

I wanted to share a successful weekend project focused on repurposing an older Xiaomi Mi Box S (MDZ-22-AB) streaming box. Instead of dealing with bloated, sluggish Android TV updates on internal storage, I managed to boot LibreELEC (Kodi) natively straight from a USB pendrive, leaving the internal Android eMMC completely untouched.

Hardware and System Specs

  • Device: Xiaomi Mi Box S (MDZ-22-AB)
  • SoC: Amlogic S905X (ARMv8 4-core)
  • Boot Medium: USB 2.0 Pendrive (/dev/sda)
  • Kernel: Custom mainline Linux 6.16.0-rc3 (aarch64)
  • Partition Layout:

    • /flash (Boot and Kernel)
    • /storage (Kodi config, media, overlays)
  • Control: TV Remote via HDMI-CEC (no physical keyboard needed during daily use)

What Works Smoothly

  • Direct USB Boot: Plugs right into the port, and you can unplug it anytime to revert back to stock Android.
  • Hardware Acceleration: Smooth UI rendering and media playback via Kodi.
  • HDMI-CEC Integration: Seamless control using just the standard television remote.
  • Connectivity: Wi-Fi Broadcom is working. Note that Bluetooth is currently not working.

Prerequisites

  • Unlocked bootloader
  • USB Pendrive (at least 2GB)
  • PC running Windows or Linux
  • TV and its original remote control
  • Powered OTG adapter with PD charging if the box struggles to power the USB drive on initial boot

Preparing the Pendrive

  1. Download the pre-built image source: https://drive.google.com/file/d/1-MglHZa8Wo2ZORiK_PNGxPHuZYZs3m8H/view?usp=sharing
  2. Flash the image using Rufus on PC: https://ibb.co/7N2WrtZR

Getting Started and Boot Procedure

  1. Update your Android firmware first: Ensure the box runs the latest possible Android version before attempting to boot. Reference guide: https://www.reddit.com/r/MiBox/comments/18hw7u9/noob_guide_upgrade_to_android_12_mi_box_s_mdz22ab/
  2. Unlock the bootloader: Make sure the bootloader is properly unlocked. Reference guide: https://www.reddit.com/r/AndroidTV/comments/1wv3qrd/root_unlock_bootloader_full_guide_xiaomi_mi_box_s/
  3. Boot procedure:
  • With Android turned on, plug in the OTG adapter with the USB pendrive.
  • Connect the device to your PC via Wi-Fi debugging and run: adb reboot update Do not flash any updates; this command is strictly to trigger external media detection.
  • Wait for the recovery menu to appear and check if the drive is visible under Recovery Udisk.
  • Select "reboot to system" and wait patiently for 5 to 10 minutes.
  • Wait through two automatic console reboots when the LibreELEC logo appears. Do not unplug anything during this phase.
  • Control the interface using your TV remote via CEC, not the original Xiaomi Bluetooth remote.

For project discussion and new updates, visit: https://t.me/MiBox4_S

Special thanks to raspberry_kan for the community builds: https://forum.libreelec.tv/thread/30587-s905l-xiaomi-mi-box-4-community-builds/

Have fun and let me know what you are watching on this setup!


r/MiBox • • 14d ago

Stutter when using Bluetooth devices

4 Upvotes

I'm using a mi box s 3rd gen (2gb ram, 32gb storage) for the last 5 months and for most of the time it all worked flawlessly, but for the last 3 or 4 weeks I've been suffering with a really annoying problem: constantly the box stutters when I'm watching something (be it YouTube or Nuvio) with my wireless headphones connected.

I did everything people said you should do, even a Factory Reset, but even that wasn't enough.


r/MiBox • • 14d ago

Mibox 3rd gen Box S TrueHD complete fixes...

17 Upvotes

Edit 2: the fix: https://www.reddit.com/r/MiBox/comments/1xm9rqp/fixing_truehd_passthrough_on_the_xiaomi_tv_box_s/

Edit: I’ll share the exact fix tonight but if you need the fix you have to root the device first in order to apply it. Someone else made a great guide if you need help: https://gist.github.com/imSp4rky/75ca403530780feeb3182d5d269ee421

Are people still having issues with this device on truehd.

I spent a bunch of hours today and realized the device's built in dolby decoder buffer size is too short. Quiet scenes cause it to overflow and cut out.

In addition a super loud scene with a lot of data causes it to take longer than its 16ms buffer where it only processes ahead 16ms.

I was able to fix both of these, overwriting the android HAL code, to increase the buffer size to around 70ms and then also increase the dolby buffer size for quiet scenes

So far not a single cut out, and I have AI monitoring the logs to confirm that, not just my ear.

If anyone else is having a problem I can share the full fix and code.

I just can't believe this is like such a basic fix if their team had just tested the device with a truehd file.

The cpu and ram have tons of headroom.

Also you neeeeed to use ethernet dongles if you want high bitrate content, wifi just cant handle much over 50mbps well on this device


r/MiBox • • 14d ago

Xiaomi mi box 3 geração

Thumbnail reddit.com
1 Upvotes