Skip to content

reiryuki/Miui-Core-Magisk-Module

Repository files navigation

Miui Core Magisk Module

DISCLAIMER

  • Miui apps and blobs are owned by Xiaomi™.
  • The MIT license specified here is for the Magisk Module only, not for Miui apps and blobs.

Descriptions

  • System core framework library of Miui ROM ported from Xiaomi Mi 9 (cepheus) as a dependency of any Miui Magisk Modules
  • With this module, you can even normal install any NON-SYSTEM Miui apps: https://apkmirror.com/apk/xiaomi-inc

For Miui App Porter

  • You need to declare this line in your app AndroidManifest.xml at <application /> if you want to load classes from this Miui Core:

    <uses-library android:name="miui" android:required="false" />

  • You need to declare this line if you want to load classes from this Miui Core and also resources from miuisystem.apk (causes crash in some ROMs):

    <uses-library android:name="com.miui.system" android:required="false" />

  • You need to declare this line if you want to load resources from framework-ext-res.apk (causes crash in some ROMs):

    <uses-library android:name="com.miui.rom" android:required="false" />

  • You need to declare this line if you want to load resources from miui.apk (causes crash in some ROMs):

    <uses-library android:name="com.miui.core" android:required="false" />

  • Do not white list those libraries with your own Magisk Module /system/etc/permissions/ because there might be a conflict.

  • You don't need to declare all of those but just declare which is needed only.

Sources

Changelog

v6.7

  • Update libmagiskpolicy.so from Magisk (stable) 30.7 (30700)
  • Prepare /storage/emulated/"$UID"/Android/data/com.miui.core/files directory

v6.6

  • Fix wrong target in latest KernelSU

v6.5

  • Change optional miui.public to public.libraries (in Global Optionals)
  • Abort installation if it's failed to mount mirror system
  • Fix ABILIST detection in post-fs-data.sh
  • Fix conflict with Play Integrity in permissive mode
  • Fix conflict with other modules which also patch public.libraries.txt

v6.4-R

  • Fix wrong copy target

v6.4

  • /system_ext/framework/MiuiBooster.jar support

v6.3

  • Fix dlopen failed libmiui_runtime.so in SDK 35

v6.2

  • Fix getCurrentFreeFormWindowMode method

v6.1

  • Add Action button to clear apps caches
  • Fix architecture detection in some weird ROMs
  • Fix bug in uninstall.sh

v6.0

  • Allow installation in Android Emulator

v5.9

  • Fix fatal exceptions

Requirements

  • NOT in Miui ROM
  • arm64-v8a or armeabi-v7a architecture
  • Android 5 (SDK 21) and up
  • Magisk or Kitsune Mask or KernelSU or Apatch installed

Installation Guide & Download Link

Miui Magisk Modules Available

Optionals

Troubleshootings

Global: https://t.me/ryukinotes/34

Support & Bug Report

Credits and Contributors

Sponsors

https://t.me/ryukinotes/25

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages