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 Mods Center
A simple yet useful information for people using Android 15 and those who edit system components: Problem: Android 15 jar files has dynamic codes at some places and if you edit those jar files using MT manager or similar tool then the pinpoint address will be changed for them resultant you may face bugs like power button rebooting the system or endless bootloop Avoidance: Search for "invoke-custom" in jar and avoid editing the dex which contains these classes. (classes2.dex in framework jar and all dexes in services jar contains these codes) Copium: If you just want to use modified apps in system normally then you can use following approach: In framework.jar
android/util/apk/ApkSignatureVerifier
Replace method:
.method public static blacklist getMinimumSignatureSchemeVersionForTargetSdk(I)I
    .registers 1

    const/4 v0, 0x1

    return v0
.end method
For people who still want to edit those classes , use different ApkEditor or manager to deal with these things

Disable apk signature verification Rom: HyperOS 2 Android: 15
It does what the module Core patch does
Red this note firstly: Here Credit: @dulquersalmaan22

The most important note for hyper 2 android 15
If you want to edit code in miui-services.jar (or miui-framework.jar), you should export classes, import them to services.jar (or framework.jar) and edit code in services.jar (or framework.jar). Editing miui-services.jar (or miui-framework.jar) might cause bug on your rom.
Shared by @dulquersalmaan22

sticker.webp0.13 KB

Enable gradient blur in control center and notification center For HyperOS 2 ONLY edit your systemui, in resources.arsc make this bool true
<bool name="shade_header_gradient_blur">true</bool>
Preview credit coolapk@天命233 shared by @cazymods

Repost from N/a
XdOverlayCheckBox | xd2.1 A custom Overlay CheckBox which can Enable/Disable Terget Overlay. • Smali Download. [Telegram] • X
XdOverlayCheckBox | xd2.1 A custom Overlay CheckBox which can Enable/Disable Terget Overlay. • Smali Download. [Telegram] • XdPreferenceHelper. [Telegram] • Preview .[Screenshots] ChangeLog :
• Intent Feature added. • Store Previous Values in Settings for Better Performance. • Initial State.
Notes :
• Only Supports on Android 11+ (Not Tested). • Syntax & Demo Overlay added in Smali Zip. • Please provide credit if you're using.
SignedBy - @darksky4you

Restore the "Preferred network type" option in new HyperOS bases For normal users dial this number *#*#54638#*#* For rom make
Restore the "Preferred network type" option in new HyperOS bases For normal users dial this number
*#*#54638#*#*
For rom makers delete this bool
config_is_hide_fiveg_and_network
From
/product/overlay/MiuiFrameworkTelephonyResOverlay.apk
Credit @MMETMA2

Enable xiaomi ai page in hyperos 2 search in settings class com/android/settings/InternalDeviceUtils; method
isAiSupported
find sget-object v0, Lcom/android/settings/InternalDeviceUtils;->UNSUPPORTED_AI_DEVICES:Ljava/util/Set; sget-object v1, Lmiui/os/Build;->DEVICE:Ljava/lang/String; invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z move-result v0 set const below 0×0 to 0x1 or just make method true credit :coolapk@什么也不会的小白菜 shared by @cazymods

Modded GetApps This is global apk, supports multi-langs It is only tested on CN rom Changelog:
- Disabled updating system apps completely - Removed some useless options in the Settings - Disabled the method selfupdate
Why do i want to share this apk?
You can download some apps, which are released in other regions and not available in your country on Play store.
Notes:
Your should add it into /product/app or install it directly if you disabled apk signature verification

- Disabled updating system apps completely - Only tested on CN rom --> You can download some apps, which are released in other regions and not available in your our country on Play store. - It is recommended to put it to /product/app

Global rom users: remove getapps CN rom users: remove getapps I'm like: use global getapps on CN rom
Global rom users: remove getapps CN rom users: remove getapps I'm like: use global getapps on CN rom

Change "Notification Clock Normal to Bold" in Global ROM In miui-framework.jar In classes miui.util.TypefaceHelper Search sge
+1
Change "Notification Clock Normal to Bold" in Global ROM In miui-framework.jar In classes
miui.util.TypefaceHelper
Search
sget-boolean v1, Lmiui/util/font/FontSettings;->HAS_MIUI_VAR_FONT:Z
Replace to
invoke-static {}, Lmiui/util/font/FontSettings;->isMiuiFontEnabled()Z move-result v1
Replace this method
.method public static isMiuiFontEnabled()Z .registers 2 sget-boolean v0, Lmiui/util/font/FontSettings;->HAS_MIUI_VAR_FONT:Z if-eqz v0, :cond_0 invoke-static {}, Lmiui/util/font/FontSettings;->isMiuiOptimizeEnabled()Z move-result v0 if-eqz v0, :cond_0 const-string v0, "persist.sys.miui_var_font" const/4 v1, 0x1 invoke-static {v0, v1}, Landroid/os/SystemProperties;->getBoolean(Ljava/lang/String;Z)Z move-result v0 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method
Credit: @dulquersalmaan22

Core_patch_a9-a15.zip0.88 KB

Disable Signature Verification (Core Patch) Guide Android: 9-15
If you add/update anything from this guide then give credits.
Credits:
- @Super_Cat07 for the original guide (android 9 - 14). - @Cazymods for the persistent app check and shared uid check. - @SoutaEver for the Google Play Service fixes on android 15 and video. - @fahimfaisaladitto for the note.

sticker.webp0.13 KB

Repost from N/a
XdWidgetCheckBox | xd2.0 A custom Selection CheckBox which can directly assign values to any Setting Keys or SystemProperties
XdWidgetCheckBox | xd2.0 A custom Selection CheckBox which can directly assign values to any Setting Keys or SystemProperties. • Smali Download. [Telegram] • XdPreferenceHelper. [Telegram] • Instruction.[Telegraph] • Preview .[Screenshots] ChangeLog :
• System, Secure, and Global settings providers. • Intent Feature added. • Added SystemProperties switch feature. • Enhanced code for better performance.
Notes :
• For using in Non-Miui/HyperOS , some id and color add in resources. • Compatible with all Android versions. (so far) • Not for paid modifications. • Please provide credit if used.
SignedBy - @darksky4you

Repost from N/a
XdEditTextPreference | xd2.0 A custom EditTextPreference which can directly assign values to any Setting Keys or SystemProper
XdEditTextPreference | xd2.0 A custom EditTextPreference which can directly assign values to any Setting Keys or SystemProperties. • Smali Download. [Telegram] • XdPreferenceHelper. [Telegram] • Instruction.[Telegraph] ChangeLog :
• System, Secure, and Global settings providers. • Reset Values to Default on Long Click . • Intent Feature added. • Added SystemProperties switch feature. • Enhanced code for better performance.
Notes :
• Thanks to Kevin Miranda for initial help. • Compatible with all Android versions. (so far) • Not for paid modifications. • Please provide credit if used.
SignedBy - @darksky4you

Repost from N/a
XdCheckBoxPreference | v1.0 A custom checkbox preference Modified from XmiuiCheckBoxPreference ! • Smali Download. [Telegram]
XdCheckBoxPreference | v1.0 A custom checkbox preference Modified from XmiuiCheckBoxPreference ! • Smali Download. [Telegram] • XdPreferenceHelper. [Telegram] • Instruction.[Telegraph] ChangeLog :
• System, Secure, and Global settings providers. • Added SystemProperties switch feature. • Intent Feature added. • Enhanced code for better performance.
Notes :
• Compatible with all Android versions. (so far) • Not for paid modifications. • Please provide credit if used.
SignedBy - @darksky4you