Skip to content
TalonZeng

I put Aerial on my Xiaomi TV without flashing: Home key and standby recovery

The Xiaomi TV still works, but the stock home screen had become noisy. I installed Aerial 1.88 over ADB from a Mac, without flashing or rooting, then set up the Home button, standby revival, and a reversible boot-ad switch. This is a record from one MiTV-ANSP0.

zhudi12 min read
Share
Illustrated cover of a Xiaomi TV home-screen replacement with Aerial and six shortcuts; the stock system stays intact, with no firmware flashing or root.

The Xiaomi TV at home still has a usable screen and the basic functions I need, but the stock interface had been making me want to change something. Opening it meant recommendations, membership prompts, and ads. The apps I actually use were scattered across different pages. Moving among the home screen, apps, settings, and inputs was not as direct as I wanted. I often just needed Baidu Netdisk or iQiyi, and I still had to pass a pile of things I did not care about.

So the goal was simple: see the apps I use after the TV turns on, make the remote a bit more direct, and make the home screen a bit cleaner.

I like the app-centered layout of Apple TV, so I asked Codex to help me look at options, then connected to the TV over the home LAN to install it and work through the setup. I kept the original Xiaomi system, installed the Aerial launcher, set up Home-button takeover and standby recovery, and turned off the boot-ad switch. The TV can now start in Aerial, with the apps I use gathered on the home screen.

Illustrated cover showing a Xiaomi TV home screen with Aerial and six shortcuts; the original Xiaomi system remains intact, with no firmware flashing or root.

My setup: a Mac that already had ADB, on the same mutually reachable LAN as the TV. The system reported model MiTV-ANSP0, codename jobs, a 55-inch 3840 × 2160 screen, 3 GB of RAM, and 32 GB of storage. The Xiaomi UI was MiTV OS 2.5.12 stable, Android 9 (SDK 28), with app ABIs armeabi-v7a and armeabi. The stock Xiaomi launcher version was 3.50.1621. I installed Aerial 1.88 standard. I did not flash firmware, unlock the bootloader, or root the TV. Addresses in the commands are written as 192.0.2.43. That is a documentation example, not my TV’s real LAN address; replace it with the address shown in the TV’s Wi-Fi settings. The port is 5555.

What actually changed#

At first I described this as “flashing the TV with something like Apple TV.” After looking into it, what I actually did was replace the launcher.

Aerial is an Android TV launcher designed with a tvOS-inspired look. After installing it, the app layout, wallpaper, and home-screen interaction can get closer to the feel I wanted. Underneath, the TV is still running the original Android and Xiaomi system. The stock Xiaomi launcher, TV settings, app store, and screencast features are still there, and I can open them when I need them.

Diagram of replacing only the Xiaomi home launcher with Aerial 1.88 while keeping the stock system and original home app; no flashing, bootloader unlock, or root.

Here is what this TV actually reported:

Item

Value

Model reported by the system

MiTV-ANSP0

Codename

jobs

Screen

55-inch, 3840 × 2160

Memory and storage

3 GB RAM, 32 GB storage

Xiaomi UI version

MiTV OS 2.5.12 stable

Android version

Android 9, SDK 28

Supported app ABIs

armeabi-v7a, armeabi

Xiaomi launcher version

3.50.1621

Aerial version installed

1.88

The results below come from work on this TV. Other Xiaomi models, system versions, or Aerial versions may show different menus and behavior.

Why I chose Aerial#

While looking around, I also saw alternatives such as Projectivy Launcher. I chose Aerial mainly because its interface was closer to the Apple TV style I wanted, and the project has notes about domestic Android TVs and Xiaomi sets.

The changes that mattered most to me:

  • The home screen mostly shows app icons, which cuts down the noise from the stock recommendation feed.
  • I can order the apps I use instead of hunting through system suggestions.
  • TV settings, the app store, and screencast can sit directly on the home screen.
  • I can use the remote day to day, and rearrange the layout from a phone or computer on the same LAN.

Aerial is a fairly new project, so I did not treat a successful install as the end of the job. I kept going until the Home button, waking from standby, and a full reboot had been checked in ordinary use.

The image below comes from the official Aerial repository. It shows what the home screen can look like. Demo app icons may appear in it; I had not installed YouTube or Netflix on my TV, and this is not a photo of my set.

Official demo image from the Aerial TV repository, not a photo of my Xiaomi TV; the displayed streaming-service icons are demo imagery and were not installed on this set.

Connecting the TV over the LAN with ADB#

I used a Mac that already had ADB. ADB is Android’s debugging tool. I used it to read system information, install the launcher, and change related settings.

The computer and the TV need to be on the same mutually reachable LAN. To keep the commands readable, they all use:

bash
TV=192.0.2.43:5555

Replace 192.0.2.43 with your own TV address.

Diagram of connecting a Mac to a Xiaomi TV with ADB: enable developer options and network debugging, approve the first connection, and reconnect after restarting ADB; the address shown is a documentation example.

Turning on ADB on the TV#

The path I used:

  1. Open Settings → About → Product model.
  2. Press the remote’s OK button about 7 times, until the developer-mode prompt appears.
  3. Go back to Settings → Account and security → ADB debugging.
  4. Set ADB debugging to Allow.

Then, on the computer:

bash
TV=192.0.2.43:5555
adb connect "$TV"
adb devices -l

The connection is authorized only when the device state shows device. This matches Xiaomi’s official note: press the product model about 7 times in About, then allow ADB debugging under Account and security.

The first connection was unauthorized#

The first time I connected, the computer could see the TV, but the state was:

plaintext
unauthorized

That means the TV had not yet allowed this computer to debug it. I did not see an authorization prompt on the TV at the time, and leaving Settings to return home did not fix it right away.

What finally worked was turning ADB debugging off, allowing it again, returning to the home screen, and reconnecting. The authorization window appeared this time. I allowed it with the remote, and the connection actually succeeded.

If you hit the same state, check this step before looking for flashing tools.

Reading the real system info#

bash
TV=192.0.2.43:5555
adb -s "$TV" shell getprop ro.product.model
adb -s "$TV" shell getprop ro.build.version.release
adb -s "$TV" shell getprop ro.build.version.sdk
adb -s "$TV" shell getprop ro.product.cpu.abilist

This is how I confirmed Android 9 and a 32-bit app ABI. A 4K screen does not mean apps have to be arm64 builds. What the system reports is what matters.

Installing Aerial and keeping the stock Xiaomi launcher#

I downloaded the standard package from the project’s official GitHub Releases page:

Aerial v1.88 official release

The file I used was aerial-standard.apk. After downloading it, I checked the published SHA-256, then installed it with ADB:

bash
TV=192.0.2.43:5555
adb -s "$TV" install -r aerial-standard.apk

When the command returned Success, I started the launcher:

bash
adb -s "$TV" shell am start -W -n app.orchard.tv/.MainActivity

The new app home screen was already visible on the TV, but Home-button takeover and standby recovery were not done yet.

One important choice: I kept the stock Xiaomi launcher, com.mitv.tvhome. Notes for the same model say disabling the stock launcher can send the system to a fallback home screen and leave a black picture. I kept the original launcher and let Aerial’s guard service handle returning home in daily use.

Schematic showing the Xiaomi stock launcher kept enabled while Aerial handles daily Home-button use, avoiding disabling the original home app.

Making the remote’s Home button return to Aerial#

Installing the launcher alone can still send the Home button back to the Xiaomi interface. Next I enabled Aerial’s home-guard service and granted usage-access permission.

Read the accessibility services already enabled:

bash
TV=192.0.2.43:5555
adb -s "$TV" shell settings get secure enabled_accessibility_services

This TV already had services such as XiaoAI, so Aerial had to be appended to the existing list instead of replacing it. Aerial’s service name is:

plaintext
app.orchard.tv/app.orchard.tv.guard.HomeGuardService

The commands below follow that rule. They read the current list and append Aerial, so another device’s configuration does not overwrite yours:

bash
TV=192.0.2.43:5555
GUARD=app.orchard.tv/app.orchard.tv.guard.HomeGuardService
services=$(adb -s "$TV" shell settings get secure enabled_accessibility_services | tr -d '\r')

if [ "$services" = "null" ]; then
  services=""
fi

case ":$services:" in
  *":$GUARD:"*) ;;
  *) services="${services:+$services:}$GUARD" ;;
esac

adb -s "$TV" shell settings put secure enabled_accessibility_services "$services"
adb -s "$TV" shell settings put secure accessibility_enabled 1
adb -s "$TV" shell appops set app.orchard.tv GET_USAGE_STATS allow
Diagram of adding Aerial HomeGuardService to Android’s existing accessibility-service list without replacing other services, then testing the remote Home key.

Checking this step had a small catch: simulating Home from the computer with input keyevent 3 still returned to the Xiaomi launcher. Pressing Home on the physical remote from inside an app did return to Aerial.

That is why this kind of TV work has to be accepted with the real remote, not only with the output of a computer command.

Standby sent me back to the Xiaomi home screen#

The first standby test did not pass.

I pressed the power button briefly to stand by, then woke the TV. An ad-related screen appeared first. After I pressed Back, a signal search showed up. Pressing Home then took me back to the stock Xiaomi launcher.

After I turned ADB back on and looked at the logs, the reason was clear: during standby, the Xiaomi system force-stopped Aerial and removed its home-guard service from the enabled accessibility list. Even if Home worked before standby, the takeover can fail after wake.

Diagram of restoring Aerial after Xiaomi standby stops it: grant the required setting, enable RevivalListener, and retest standby and wake.

Aerial includes a revival service. I granted it permission to write secure settings and allowed its notification listener:

bash
TV=192.0.2.43:5555
adb -s "$TV" shell pm grant app.orchard.tv android.permission.WRITE_SECURE_SETTINGS
adb -s "$TV" shell cmd notification allow_listener app.orchard.tv/app.orchard.tv.guard.RevivalListener

Then I appended and enabled the home-guard service from the previous section again, and opened Aerial.

The notification-listener permission is for Aerial’s revival path. Write-secure-settings lets it turn its own guard service back on. Both are broad privileges. I granted them only to this copy of Aerial, downloaded from the official project.

After that, I tested again:

  1. Press the power button briefly to enter standby.
  2. Wait about 15 seconds, then wake the TV.
  3. Do not press other keys. Watch the final screen for about 30 seconds.

This time the TV returned to Aerial. The standby-wake test passed.

Separately, this TV turns ADB off after standby or a reboot. When I needed to keep changing things later, I turned ADB back on in the TV settings. I did not force the debug port to stay open for this project.

Tidying the home row into the apps I actually use#

Once the launcher was stable, I cleaned up the frequently used row.

I first hoped to keep Baidu Netdisk, iQiyi, the stock home, the app store, YouTube, and Netflix, and later added TV settings and screencast. Checking the set showed that YouTube and Netflix were not installed at the time. The first row ended up as these six items:

Order

App or entry

Use

1

Baidu Netdisk

Open files stored in the cloud drive

2

Galaxy iQiyi

The iQiyi TV app

3

Home

Open the stock Xiaomi launcher

4

App store

Manage and find TV apps

5

TV settings

Network, display, sound, and similar settings

6

Wireless screencast

Use the TV’s existing screencast entry

I used the LAN management page under Aerial Control Center → Personalization to reorder the apps on the computer and set the number of items per row to six.

Illustrative Aerial home row with six shortcuts: Baidu Netdisk, iQIYI, desktop, app center, TV settings, and wireless casting; this is not a photo of my TV.

This was only a cleanup of the frequently used row. Other apps stayed in the list below. Rearranging icons did not uninstall them.

Opening the TV now lets me do most everyday tasks from that first row. That was the most obvious improvement in the whole project.

The last flash of a boot-ad hint#

By this point the TV could boot into Aerial. I could still see a brief ad hint: it appeared for a moment, then the new launcher covered it.

Looking further, it came from the stock Xiaomi launcher’s boot-ad component. Aerial taking over the home screen does not automatically stop the original system’s ad flow.

The approach I used this time was to change a reversible system setting.

Schematic workflow for reading and changing the Xiaomi TV boot-ad setting, testing with a full power-off, and restoring the original value if needed; results vary by model and firmware.

First read the original value:

bash
TV=192.0.2.43:5555
adb -s "$TV" shell settings get system boot_ad_switch

This TV returned null, meaning the value had not been saved explicitly. Then write the off value:

bash
adb -s "$TV" shell settings put system boot_ad_switch 0
adb -s "$TV" shell settings get system boot_ad_switch

Reading it back returned 0. That only proves the write succeeded, so I also did a full power-off and power-on test.

The result: the brief hint I had been seeing was gone.

That result belongs to this TV, firmware, and Xiaomi launcher version. It is not a guarantee for every Xiaomi set. I also did not clear the stock launcher’s data to remove ads, so the original data stayed in place.

If I need to restore this setting later, my original value was null, so I can delete the key I added:

bash
adb -s "$TV" shell settings delete system boot_ad_switch

If another TV originally had a concrete value, that original value is what should be restored. If an ad comes back after a system or launcher update, I would first check whether this setting has been reset.

What I actually got#

Item

Before

Now

Home-screen look

Many recommendations, membership prompts, and content entries

Mostly the app icons I use

Everyday apps

Had to be found across pages

Six everyday entries in the first row

Remote Home button

Returned to the Xiaomi launcher

Returns to Aerial when tested with the physical remote

Wake from standby

Still returned to the stock home after the first change

Returned to Aerial after the revival service was configured

Full reboot

A brief ad hint had appeared

After turning the switch off, the hint was gone in a full power-cycle test

Original feature entries

Provided by the Xiaomi launcher

Home, app store, settings, and screencast entries remain available

The clearest improvement was the path through the TV: I can treat it as a device for opening apps and watching things, without facing a full page of recommendations every time.

These checks cover the actions I actually use. Longer-term stability, what happens after future system updates, and playback in individual apps still need to be watched in later use.

YouTube and Netflix are still later#

YouTube and Netflix are still on my list. I have not installed them this time, and I have not checked playback.

This is a China-market Xiaomi system, and it does not currently have the Google Play store. Installing overseas streaming apps is not only a matter of finding an install path. It also depends on whether the app supports this device, whether the TV’s current network can reach the service, and whether sign-in and playback actually work. Netflix in particular needs a check of device support and playback certification.

Next I would look at them in this order:

  1. Confirm the official app channel and system requirements that apply to this TV.
  2. Check remote control, sign-in, and actual playback, not only whether the install succeeds.
  3. After that checks out, add them to Aerial’s frequently used area.
  4. If the TV’s own system is not a good fit for these services, consider an HDMI box that is supported.

The home screen is already clean enough. I can use the apps that are set up now, and fill in the rest later.

Sources I used this time#

This is a record of one conversion and the results I measured. The TV address in the commands is a documentation example. Replace it with your own LAN address.

Comments

No comments yet — be the first to leave one.

Related articles