How hxreborn/morphe-patches works
hxreborn’s patches is a collection of Android-app modifications for Morphe. The principal workflow is to select a compatible patch for a target app and have Morphe apply its bytecode or resource changes to produce a modified app. Patch definitions cover app-specific features such as themes, premium access, ads and tracking; shared code supports compatibility and specialized protected-app handling. The tree also includes injected runtime extensions for behaviors that cannot be expressed solely as patch-time edits. Source excerpts are limited, so links between individual patch declarations and runtime extensions are not inferred.
Main entry points: patches App-specific patches · protonmail Proton patches · misc Protection handling · protonvpn VPN patches
Components 21
App patches
- App-specific patches
patches/src/main/kotlin/app/morphe/patches - Proton patches
patches/src/main/kotlin/app/morphe/patches/protonmail - VPN patches
patches/src/main/kotlin/app/morphe/patches/protonvpn - Photo editor patches
patches/src/main/kotlin/app/morphe/patches/photoeditorpro - Media app patches
patches/src/main/kotlin/app/morphe/patches/moviebox
Shared patch support
- Compatibility support
patches/src/main/kotlin/app/morphe/patches/shared/compat/AppCompatibilities.kt - Proton UI support
patches/src/main/kotlin/app/morphe/patches/shared/misc/proton - Protection handling
patches/src/main/kotlin/app/morphe/patches/shared/misc
Runtime extensions
- Injected extensions
extensions/extension/src/main/java/app/hxreborn/extension - Proton runtime UI
extensions/extension/src/main/java/app/hxreborn/extension/proton - Mail behavior
extensions/extension/src/main/java/app/hxreborn/extension/protonmail - Photo diagnostics
extensions/extension/src/main/java/app/hxreborn/extension/photoeditorpro - WebView styling
extensions/extension/src/main/js
Specialized handling
- Ijiami handler
patches/src/main/kotlin/app/morphe/patches/shared/misc/ijiami - Jiagu handler
patches/src/main/kotlin/app/morphe/patches/shared/misc/jiagu - Playback client
extensions/moviebox/src/hx/CloudFrontPlayInfoClient.java - Login handling
extensions/extension/src/main/java/app/hxreborn/extension/terabox/GoogleLoginChromeClient.java
Other components
- Morphe user
- Target Android app
- Morphe patcher
- Patched Android app
Connections 14
- Morphe user → Morphe patcher: selects patches
- Target Android app → Morphe patcher: provides app
- Morphe patcher → App-specific patches: loads patches
- App-specific patches → Compatibility support: checks compatibility
- App-specific patches → Patched Android app: defines modifications
- Proton patches → Proton UI support: uses UI support
- Proton patches → Patched Android app: defines modifications
- VPN patches → Patched Android app: defines modifications
- Photo editor patches → Patched Android app: defines modifications
- Media app patches → Patched Android app: defines modifications
- Protection handling → Ijiami handler: supports unpacking
- Protection handling → Jiagu handler: supports unpacking
- Patched Android app → Injected extensions: runs injected code
- Proton runtime UI → WebView styling: uses scripts