PayCardEditor

这是一个 Xposed 模块,可以帮助你替换自己的 Mi Pay 卡面为自己想要的图片。

原理

本模块采用 Hook 架构,从数据源头和图片加载两个层面实现卡面替换,相比传统的缓存文件直接替换方案更加稳定可靠。

感谢

PayCardEditor 使用了以下开源项目的部分或全部内容,感谢这些项目的开发者们做出的贡献。

Project Name Author/Organization Link
Android Android Open Source Project, Google Inc. https://source.android.google.cn/license
AndroidX Android Open Source Project, Google Inc. https://github.com/androidx/androidx
libxposed-service libxposed https://github.com/libxposed/service
libxposed-api libxposed https://github.com/libxposed/api
DexKit LuckyPray https://github.com/LuckyPray/DexKit
MiPayCard gddhy https://github.com/gddhy/MiPayCard
HyperCeiler ReChronoRain https://github.com/ReChronoRain/HyperCeiler
QAuxiliary cinit https://github.com/cinit/QAuxiliary
Ucrop yalantis https://github.com/yalantis/ucrop
Glide bumptech https://github.com/bumptech/glide

Releases

1.0.5

Stable

7/20/2026, 7:23:31 AM

Fixes and improvements

  • Fixed Advanced Settings not expanding after it was tapped.
  • Reworked segmented-list layout so runtime row additions and removals are handled safely during Compose recomposition.
  • Added regression coverage for the collapsed-to-expanded Advanced Settings interaction and standardized related test names in English.

Source changelog: luoshuijs/PayCardEditor@v1.0.4...v1.0.5

Assets

1

1.0.4

Stable

7/20/2026, 3:42:20 AM

Highlights

  • Fully migrated the Home, Card Studio, Card Preview, Settings, and Troubleshooting screens to Jetpack Compose and Material 3.
  • Added theme mode, seed color, palette style, and color specification settings, including system Monet dynamic colors and an AMOLED dark mode.
  • Reworked navigation and screen state management with Navigation Compose, ViewModel, and unidirectional state flows, with regression coverage for key interactions.
  • Replaced Glide with Coil for card image loading and moved theme settings to a dedicated Preferences DataStore. The cross-process module state remains on its existing SharedPreferences contract.

Fixes and improvements

  • Fixed a process abort caused by a DexKit query worker attempting to wait for itself while releasing the bridge.
  • Restored behaviors lost during the Compose migration, including snapshot details and copying, preview refresh when returning to the tab, and success feedback after card persistence.
  • Fixed Monet modes so they use the actual system dynamic color schemes.
  • Extracted crop coordination, paired-number editor dialogs, and shared UI error handling for more consistent interactions and failure reporting.

Full changelog: luoshuijs/PayCardEditor@v1.0.3...v1.0.4

Assets

1