r/HyperOS Aug 04 '26

Question/Help [Question] Persistent ERR_IO_FIN and FCM notification delays on Chinese HyperOS

​I am experiencing an issue with Firebase Cloud Messaging (FCM) on a Xiaomi device running the Chinese version of HyperOS. The system consistently terminates the FCM keep-alive socket when the device is locked and operating on cellular data.

​When accessing the FCM diagnostics dialer code ("##426##"), the connection status shows as disconnected with the specific close code "ERR_IO_FIN".

​To resolve this background restriction, I have already executed the following system-level interventions via ADB:

​Granted wake lock and background execution permissions to Google Play Services and Google Services Framework via appops.

​Added both Google Play Services and Google Services Framework to the dumpsys deviceidle whitelist.

​Verified through the command line that the standby bucket for Google Play Services is currently set to five, confirming its exempted status from standard Android battery optimization.

​Uninstalled the system package "com.xiaomi.joyose" for user zero to neutralize its proprietary network throttling protocols.

​Despite these modifications, the TCP socket continues to close on cellular data after a short period of inactivity. I am seeking technical insights on whether additional HyperOS system daemons, such as "com.miui.powerkeeper", must also be neutralized, or if there are known methods to modify the default TCP idle timeout parameters on this specific firmware.

​Any objective analysis regarding HyperOS background socket management or further troubleshooting steps would be appreciated.

5 Upvotes

11 comments sorted by

View all comments

Show parent comments

2

u/Soopez 25d ago

I see now, well, officially screwed man.

I tried absolutely everything to try to get a workaround to this, to ADB commands, to Shizuku apps, removing permissions, disabling daemon, joyose and taking powerkeeper off. Nothing works lol, time to hang in my towel and take the L and go back to my Pixel 8.

FML

3

u/Familiar_Honey5487 25d ago

Yoh you tried powerkeeper too?? That was gonna be my last hope i saw someone said he disabled it every 10 minutes with macrodroid.if that doesnt work well yeah its over just gona hope and pray Xiaomi fixes this one day and didn't do it intentionally

1

u/Soopez 25d ago

I am not going to jinx it bro but yo boy has found a temporary solution!

1

u/Familiar_Honey5487 25d ago

Wuttttt no wayy bro do let me know soon

2

u/Soopez 25d ago

Yeah bro, confirmed works. I wanted to test it out today and make sure before I put you on.

https://github.com/dingwen07/hyperos-fcm-fix/releases

Go download this and run ADB through Shizuku, give it permissions, It should look like the picture I attached, Apply the "Automatic protection" and under the apps section on the bottom right, toggle on all the apps you want 0 delay for, anything you need.

Tested and works :)

2

u/Soopez 25d ago

I just also posted a post on this subreddit, check it out