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 moreThe 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$MiuiOtherSettingsObserverFor HyperOs In class:
MiuiShortcutTriggerHelper$ShortcutSettingsObserverReplace:
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
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
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 methodIn 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 methodCredit: @SoutaEver
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$MiuiOtherSettingsObserverReplace all:
sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:ZTo
const/4 v0, 0x1Credit: @SoutaEver
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:IThis is width of object (values: 1-4)
->priority:IThis 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 - 0xc8Some values of spansize;
Header space - 0x4 Qs card - 0x2 Media player - 0x2 Brightness - 0x1 Volume - 0x1 Smart devices - 0x4 Smart hub - 0x4 Edit button - 0x4If 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:ZChange all to
Lmiuix/os/Build;->IS_INTERNATIONAL_BUILD:ZIn class
miuix/os/BuildChange
.field public static final IS_INTERNATIONAL_BUILD:Zto
.field public static final IS_INTERNATIONAL_BUILD:Z = trueSearch:
sput-boolean v0, Lmiuix/os/Build;->IS_INTERNATIONAL_BUILD:ZBefore that, add
const/4 v0, 0x1Credit: @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/ActivitySecurityHelperSearch:
sget-boolean vX, Lmiui/os/Build;->IS_INTERNATIONAL_BUILD:ZAfter that, add
const/4 vX, 0x1Test 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
For a fingerprint icon like this
In MiuiSystemUI.apk
Replace fingerprint icons in
/res/drawableand
/res/drawable-nxhdpi-v4by fingerprint icons in this File Credit: @godofvoltron
