Injector plugins
Default catalog for Injector. Plugins install disabled and run only after the user enables them. Root-backed plugins use existing granted root; they do not acquire it.
| Plugin |
Device qualification |
| Animation speed |
Apply and Disable restored all three original animation scales. |
| Display timeout |
Apply and Disable restored the original screen timeout. |
| CPU frequency control |
On amethyst, two policy0 governor cycles restored the original governor. The ceiling attempt stopped at its pre-write guard. |
| Battery charge limit |
Ordinary catalog replacement on amethyst verified the installed pin and native executable. Disable restored the owned setting to suspend=0. The final enabled session used thresholds 74/80 with no pending operation. Controller support varies by device. |
| MIUI Floating Window Unlimiter |
On amethyst OS3.0.303.0.WOPINXM, WindowManager reported eight WM-visible freeform tasks across five packages in one trial. The ninth attempt remained unclassified. Independent rendering and input at eight remain unverified. |
The historical miui-floating-windows plugin is excluded from the current catalog. Its source and release remain available. Device apply/restore tests do not prove reboot reapplication or every recovery case. Host fault tests cover rollback and external-change preservation separately.
Release integrity
The public plugin prerelease plugins-20261122-controls-2 points to source commit a1ee92c6159004c81159c599486d887c45e0e11f. Its three ZIPs matched a clean rebuild from committed sources and were checked again after download. The controls-2 catalog pinned Battery, CPU and Caffeine to this release. Battery ordinary replacement was verified on amethyst. The CPU governor results cover the isolated native hook. Candidate release pins · Candidate catalog.
Caffeine 0.1.3 offers 30 minutes, 1 hour, 5 hours and Unlimited. It retains the existing indefinite value. Screen off defaults to Turn off. Pause resumes the remaining duration on wake, and Restart starts the selected duration again on wake. These modes require the matching Injector runtime. Quick Settings cycles through these presets in manifest order on an Injector version that supports all four. Battery and CPU retain their controls-2 release pins.
MIUI recovery on amethyst
The catalog pins plugins-20261123-miui-recovery-2 to e17de5d108d87b4a84289988c430a1d8f523b416. Its enabled live-update path accepts the universal predecessor with ZIP SHA-256 8261ed1a1df0d164fa6f951041614156d4c50921d9534cb86ac9e82ea3b4b337. The previous default ZIP (3a47b11b…) is outside that live-update path. Release pin
On amethyst OS3.0.303.0.WOPINXM, the reviewed UI replacement retained the installation's state directory. Fresh Enable receipt 521 on generation 054fa9ce enumerated 3,761 declared activity classes and verified 3,762 entries in each retention list. The read-only inspector returned ACTIVE for journal SHA-256 71398a0819d647b4a5a7cbcc250104a32ef1e54d9948cff554bd6567e460827c. Both journal files had identical hashes before and after inspection.
Natural interval receipt 523 completed successfully on that generation with refresh enabled. JobScheduler subsequently reported the periodic slot waiting. These observations qualify controller recovery and one background delivery. The earlier window-count trial remains the separate evidence for visible floating windows.
On this firmware, MIUI's stack-added handler compares the stack count with its mode-dependent limit. In the ordinary over-limit replacement path it skips eviction when the replacement task's resumed activity intent class is in the first retention list and the incoming task's base intent component class is in the second. A missing resumed activity or component prevents that match. The plugin updates these two system-wide lists with activity class names for the current Android user. The stock ordinary maximum defaults to two. The inspected strategy, cloud updater, freeform Binder interface and AM/WM command handlers expose no live setter for that maximum. Separate game, mode and visibility rules still apply.
After an app install, update or removal, a successful scheduled refresh checks PackageManager's change sequence, rescans declared activities when needed, adds missing classes and removes only obsolete entries the plugin owns. An unchanged interval verifies both live lists. JobScheduler controls delivery of the 15-minute interval, so a newly installed activity can wait longer than 15 minutes for coverage. An approved explicit Run while refresh is enabled performs the scan immediately. The released manifest declares boot and interval triggers.
Injector checks the resolved tag, source manifest and downloaded package before installation.
Build and update
Requires Python 3 and Git. No plugin hook runs during packaging.
git fetch origin --tags
python3 package-catalog.py packages --check
python3 package-catalog.py verify --require-tag \
--release releases/plugins-20261123-miui-recovery-2.json \
--retain battery-charge-limit=releases/plugins-20261122-controls-2.json \
--retain cpu-control=releases/plugins-20261122-controls-2.json \
--retain caffeine=releases/plugins-20261122-caffeine-screen-off-1.json
Packages use fixed member allowlists, ordering, timestamps and permissions. To publish changes: commit source and deterministic packages first, choose an unused release tag, create pins referencing that source commit, and generate the catalog with package-catalog.py build. Publish new assets, verify the remote tag target and every downloaded hash, then commit the catalog and release pins. Never move a published tag or replace its assets.