[Google Home] Rainygortex3:
Hi all,

This is a the discussion thread for converting LX04 to X04G. Many people may have bought the LX04 by mistake, or because it was cheaper than the X04G global version. If you are now facing difficulties with understanding the system, you can now convert it to X04G.

You can also discuss here about X04G Xiaomi Smart Clock in general and installing custom apps on X04G.

WHY BUY LX04?

It's cheaper. If you don't mind you can just convert it to X04G.

In Guangzhou (where I live), the price of an LX04 is as low as 50 RMB, which is around 7 USD, 6.4 Euros, 5.5 GBP or 642 Russian rubles.

View attachment 6090621

However, if you buy an X04G that's gonna cost you 51 GBP, 64 USD, 59 Euro or 463 RMB, or 5948 Russian Rubles. That's 9 times the price for the same product. Why?

View attachment 6090625

You may check the Guide thread below for instructions:

[GUIDE] XIAOMI SMART CLOCK - Guide to convert LX04 (China edition) to X04G (Global edition) and vice versa

I have attached a guide for conversion below, from my successful experience: It is translated to English (for XDA), Chinese (for coolapk 酷安), Russian (for 4pda.to) and German.

xdaforums.com

DIFFERENCES WITH TRUE X04G:

The center button is marked "O", however it is actually the button for X04G.

Also, the bottom text including serial number will definetly be LX04 Chinese.

Other than that, your LX04 is now an X04G and should fully function like one as such.

BUGS:

LineageOS 20 GSI:

The speaker does not function as a Bluetooth speaker.

Stock ROM with custom Magisk:

When another app is opened over Assistant Core when an alarm sounds, the alarm does not sound and when Assistant Core is re-opened through the Home Button or the Back Button, the alarm seems to be deleted.

A simple workaround for this is to install the Google Clock alarm app and set the alarm inside there too. However, this alarm is not snoozable.

The only way to stop the alarm is to go into the Google Clock app and disable then quickly re-enable it - do not worry, this does not change the alarm AT ALL except for stopping it.

Screensavers sometimes crash and/or fail to start, which sometimes results in the device going to sleep directly. There is no fix or workaround to this.

UPDATE: Due to the myriad of bugs associated with screensavers, you are strongly advised to use the default pre-installed screensaver/clock faces on your X04G.

I'm also doing some experimenting to figure out if disabling MTK DuraSpeed or Battery optimizations can help fix the issue. What I'm guessing is that they kill apps that run in the background - especially floating apps or screensavers. For me it seems to be doing fine.

Also, enable RECEIVE_BOOT_COMPLETED permission to allow it to autostart on boot.

TWO-WAY BLUETOOTH ON STOCK ROM:

https://blog.csdn.net/jgw2008/article/details/122235663

This article is helpful. If you don't know Chinese, Google Translate the article. Shows you how to pair device not using Settings.

Bluetooth Pair (Android)

Automate pairing and connecting devices

bluetooth-pair.en.uptodown.com

CUSTOM ROM AND GSI:

You can install GSI on this thing - check octathorp's guide.

Xiaomi Mi Smart Clock - Development guide, GSI

Hello. We have been discussing about this topic in another thread (https://xdaforums.com/t/unlocking-the-xiaomi-mi-smart-clock.4576091) but I have decided to create a new thread to have info about my project organized in a more or less...

xdaforums.com

You can also put Magisk by using the GSI boot.img file or patching the stock ROM boot.img file as below:

GitHub - Informatic/xiaomi-x04g-research

Contribute to Informatic/xiaomi-x04g-research development by creating an account on GitHub.

github.com

Any problems or anything to share you can paste it here.