banner
ZDawn

ZDawn

Do one thing at a time and do well.
tg_channel

リアルミーGT5PROの攻略情報をお届けします。

The most commonly used push apps for Android in China are Huawei and Xiaomi's push apps. The installation process is similar. Since I have a Huawei account, I installed HMS push and FCM push for international apps.

HMSPush#

Huawei Push (HMSPush) is a push app that is currently used by many common apps, except for the toxic WeChat.

Preparation#

  • HMS Core (can be downloaded from Coolapk)
  • HMSPush (LSPosed module)
  • Huawei AppGallery app
  • LSPosed + Magisk
  • Scene (optional, to convert HMS Core into a system app)
  • libChecker app (optional, to check if the app is suitable for Huawei push)

Configuration Process#

  1. Download and install HMS Core and Huawei AppGallery. It is recommended to update apps in Huawei AppGallery, as different channels may use different push methods.
  2. Install HMSPush and enable the module in LSPosed, and check the System Framework and HMS Core in the recommended apps.
  3. In LSPosed, check the apps that need to use HMSPush for push. This step is mainly to disguise the app as a Huawei device. If other tools are used for disguise, the related scope does not need to be configured.
  4. After configuring the scope, restart the phone.
  5. After restarting, open hmspush.apk or open the module in LSPosed. You should be able to see the apps that need to be pushed, but they are still in an unregistered state. You need to restart the app once or twice to register it.
  6. After successful registration, kill the app in the background and disable the auto-start permission to enjoy the push. You can use QQ for push, but remember to enable system notifications, otherwise the notifications will not pop up.
  7. (Optional) Use Scene to convert HMS Core into a system app. This can fix the bug where clicking on notifications does not open the app. If you have experience, you can also disable unnecessary activities in HMS Core. However, in my experience, it does not consume much battery, so it can be ignored. I did not make any changes.

hmspush.jpg

FCM Push#

We know that most international apps do not support Huawei push. However, in addition to HMSPush, if you can maintain a stable connection to mtalk.google.com, you can also use FCM for push.

FCM push is different from HMSPush. FCM requires the app itself to be in the background in order to push. Most apps are already in the background, so they can push by themselves. Therefore, FCM is more suitable for pushing apps that are occasionally launched, such as Outlook and Gmail. Although WeChat can also push, it is not recommended because the frequency of push is high and it is better to let WeChat push by itself in the background.

Preparation#

Configuration Process#

  1. In many parts of China, FCM services can be connected, but the connection is not stable, resulting in delayed or missed push notifications. This can be resolved through the following methods:
    1. Directly connect to FCM. This is possible in Guangdong province.
    2. Modify the hosts file to allow connection to FCM. The main domains are listed below. If you have 5G, you can use IPv6 connection.
    3. Use a proxy to connect to the following domains.
    4. Dial *#*#426#*#* on the dial pad to check the connection status. Most connections are not stable.
mtalk.google.com
alt1-mtal.google.com
alt[2-8]-mtal.google.com #alt2-alt8 can all be configured
  1. Install FCM Fix and select the System Framework and Google Play Services scopes in the LSPosed module.
  2. Open the FCM Fix module and check the modules that support FCM push. The apps that support FCM are listed above.
  3. Grant auto-start permission to the apps that support FCM push. The FCM Fix module simulates a background process for the app. When an FCM push is received, it will launch the app to push the notification. Therefore, if the app does not have auto-start permission, FCM Fix cannot launch the app.
  4. Restart the phone.

Disadvantages of FCM Push#

As we can see, FCM push requires the app to be in the background. Unless the app supports GMS push, most apps do not meet this requirement. With the FCM Fix module, we can achieve push without the app being in the background, but the app needs to have auto-start permission. FCM Fix simulates a background process for the app. When an FCM push is received, FCM Fix will launch the app to push the notification. Therefore, in terms of the entire process, FCM push is not suitable for apps that require a large number of pushes in a short period of time or a large amount of information over a long period of time, such as WeChat. It is more suitable for apps that are occasionally pushed, so that the app does not need to be in the background for a long time, but still want to receive notifications in a timely manner, such as email applications.

Enjoy!#

Installing push apps on Android is really far behind iOS, but this is not Android's problem. The main reason is that Android is not dominant enough.

読み込み中...
文章は、創作者によって署名され、ブロックチェーンに安全に保存されています。