en
Feedback
Mod Collection for MiUI/HyperOS

Mod Collection for MiUI/HyperOS

Open in Telegram

This is a public channel. We share what we saved in public groups and share what we know. Update: https://t.me/hyperosmodcollection Chat: https://t.me/hyperosmodcollectionchat Paypal: https://www.paypal.me/AnhDzVN BIDV: PHAN VAN ANH 67210001283608

Show more
The country is not specifiedTechnologies & Applications20 964
No data
Subscribers
-124 hours
+97 days
+2330 days
Posts Archive
Repost from Kronos Mods
Power menu delay fix in china roms Android: 10+ In miui-services.jar For Miui In class:
MiuiKeyShortcutManager$MiuiOtherSettingsObserver
For HyperOs In class:
MiuiShortcutTriggerHelper$ShortcutSettingsObserver
Replace: sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z To const/4 v0, 0x1 Important:
Don't forget to give credit if your using in your roms.
Credit: @SoutaEver

sticker.webp0.12 KB

[guide] MediaArtView_v2.0 [only smali].zip9.93 KB

Add blur background on Media player on the notification shade and lock screen (version 2.0, only smali) Rom: Hyper Android: o
Add blur background on Media player on the notification shade and lock screen (version 2.0, only smali) Rom: Hyper Android: only tested on a14 Region: only tested on CN Screenshot: Here Apk: MIUISystemUI.apk This method requires only smali editing. Guide and credit are included in this file Watch video if u don't understand guide Report bug if you can find any bug By: @vawnanh2801

sticker.webp0.12 KB

Guide soon
Guide soon

Disable secure flags Miui/HyperOs This method removes the screenshots and screenrecords limits for all applications. Normally, special applications are replaced with black areas in records. This can be convenient in some cases but may lead to privacy leaks. In services.jar Replace these methods:
.method public isScreenCaptureAllowed(I)Z .registers 4 const/4 v0, 0x1 return v0 .end method
.method public getScreenCaptureDisabled(Landroid/content/ComponentName;IZ)Z .registers 5 const/4 v0, 0x1 return v0 .end method
.method private setScreenCaptureDisabled(I)V .registers 6 return-void .end method
.method isSecureLocked()Z .registers 6 const/4 v0, 0x0 return v0 .end method
.method setSecure(Z)V .registers 14 return-void .end method
In miui-services.jar Replace this method (miui user skips this step):
.method public notAllowCaptureDisplay(Lcom/android/server/wm/RootWindowContainer;I)Z .registers 9 const/4 v0, 0x0 return v0 .end method
Credit: @SoutaEver

Updated, now it is working properly😱😱😱 (not sure)

[guide] MediaArtView V1.1.zip2.36 MB

Add blur background on Media player view on the notification shade (beta version) Rom: Hyper Android: only tested on a14 Region: only tested on CN Screenshot: Here Apk: MIUISystemUI.apk You should use MT Manager premium (recommended) or NP manager (not recommended). Guide and credit are included in this .zip file Report if u find any bug By: @vawnanh2801

Power menu delay fix CN Roms Rom: Miui/HyperOS Android: 12+ Region: China In miui-services.jar In:
MiuiKeyShortcutManager$MiuiOtherSettingsObserver
Replace all:
sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z
To
const/4 v0, 0x1
Credit: @SoutaEver

When
When

Add "Restart UI" tile on the control center Android: only tested on 12+ It should work on both MIUI and Hyper, even though it was only tested on Hyper SystemUIPlugin.apk Report if u find any bug Credit: @vawnanh2801

Change position of objects on the control center Apk: Hyper SystemUIPlugin.apk In smali, you can search:
->spansize:I
This is width of object (values: 1-4)
->priority:I
This is priority order of objects when control center shows them Some values of priority:
Qs card tile - 0x14 Media player - 0x1e Brightness - 0x1f Volume - 0x20 Smart device - 0x32 Smart hub - 0x33 Qs column - 0x64 Edit button - 0xc8
Some values of spansize;
Header space - 0x4 Qs card - 0x2 Media player - 0x2 Brightness - 0x1 Volume - 0x1 Smart devices - 0x4 Smart hub - 0x4 Edit button - 0x4
If you want to change position, you need to change values of provity. Basic knowledge, don't ask how to do it Credit: Kashi

Fcm fix Android: 14 Region: China I think someone will need this module https://github.com/kooritea/fcmfix/tree/master

Patch PowerKeeper for fixing notification delay Rom: HyperOS Android: 14 Region: China I don't know if we need to do it Search
Lmiui/os/Build;->IS_INTERNATIONAL_BUILD:Z
Change all to
Lmiuix/os/Build;->IS_INTERNATIONAL_BUILD:Z
In class
miuix/os/Build
Change
.field public static final IS_INTERNATIONAL_BUILD:Z
to
.field public static final IS_INTERNATIONAL_BUILD:Z = true
Search:
sput-boolean v0, Lmiuix/os/Build;->IS_INTERNATIONAL_BUILD:Z
Before that, add
const/4 v0, 0x1
Credit: @vawnanh2801

FIX NOTIFICATION DELAY ON ANDROID 14 HYPEROS CHINA Rom: HyperOS Android: 14 Region: China In /system_ext/framework/miui-services.jar In these classes:
com/android/server/AppOpsServiceStubImpl
com/android/server/alarm/AlarmManagerServiceStubImpl
com/android/server/am/BroadcastQueueModernStubImpl
com/android/server/am/ProcessManagerService
com/android/server/am/ProcessSceneCleaner
com/android/server/job/JobServiceContextImpl
com/android/server/notification/NotificationManagerServiceImpl
com/miui/server/greeze/GreezeManagerService
miui/app/ActivitySecurityHelper
Search:
sget-boolean vX, Lmiui/os/Build;->IS_INTERNATIONAL_BUILD:Z
After that, add
const/4 vX, 0x1
Test and report if you found any bug or it can't fix notification delay Removing PowerKeeper.apk (not recommended, only mtk) or using modded one (recommended) can improve notification fix Credit: @reehan_b4

Fingerprint_icons.zip0.63 KB

For a fingerprint icon like this In MiuiSystemUI.apk Replace fingerprint icons in /res/drawable and /res/drawable-nxhdpi-v4 b
For a fingerprint icon like this In MiuiSystemUI.apk Replace fingerprint icons in
/res/drawable
and
/res/drawable-nxhdpi-v4
by fingerprint icons in this File Credit: @godofvoltron