Skip to content

Integrity Helper - Universal web UI for managing integrity-related Magisk modules. Supports Magisk, APatch & KernelSU with automatic detection and batch installation

Notifications You must be signed in to change notification settings

himanshujjp/IntegrityHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Integrity Helper Magisk/APatch/KernelSU Module

Integrity Helper Version Compatibility

Universal web-based UI to manage and install integrity-related Magisk modules

πŸ“₯ Download Latest Release β€’ πŸ“– Documentation β€’ πŸ› Report Issues


✨ Features

  • 🌐 Web UI: Lightweight web interface running on localhost:8585
  • πŸ“¦ Module Management: Download, install, and track status of required modules
  • πŸ”„ Auto-Updates: Always fetches latest releases from official GitHub repositories
  • ⚑ Batch Install: "Install All" button for convenient setup
  • πŸ“Š Status Tracking: Persistent state of installed module versions
  • πŸ”’ Safety First: Only downloads from official repos with clear disclaimer
  • πŸ”§ Universal Support: Works with Magisk, APatch, and KernelSU automatically

πŸ› οΈ Compatibility

Root Solution Status Support Level
Magisk βœ… Full Complete support
APatch βœ… Full Complete support
KernelSU βœ… Full Complete support

The module automatically detects your root solution and configures itself accordingly.

πŸ“¦ Required Modules

This module manages the following integrity-related Magisk modules:

Module Description Repository
PlayIntegrityFork Play Integrity API bypass osm0sis/PlayIntegrityFork
TrickyStore Advanced store restrictions bypass 5ec1cff/TrickyStore
PlayStoreSelfUpdateBlocker Blocks Play Store auto-updates himanshujjp/PlayStoreSelfUpdateBlocker
yurikey Yuri Key integrity module YurikeyDev/yurikey
ZygiskNext Next-generation Zygisk implementation Dr-TSNG/ZygiskNext

πŸš€ Installation

Step 1: Download

Download IntegrityHelper.zip from the latest release

Step 2: Flash

Flash the ZIP via your root manager:

  • Magisk Manager β†’ Modules β†’ Install from storage
  • APatch β†’ Install β†’ Select ZIP
  • KernelSU β†’ Install β†’ Select ZIP

Step 3: Reboot

Reboot your device to activate the module

Step 4: Access UI

The web UI will automatically start on boot. Access it at: http://127.0.0.1:8585

🎯 Quick Access

After installation, use these commands to open the UI:

For Magisk/APatch:

sh /data/adb/modules/IntegrityHelper/open_ui.sh

For KernelSU:

sh /data/adb/ksu/modules/IntegrityHelper/open_ui.sh

πŸ“– Usage

  1. Access the Web UI at http://127.0.0.1:8585
  2. View Module Status: See all required modules with their current installation status
  3. Install Modules: Click "Install" to automatically download and flash modules through your root manager
  4. Update Modules: Click "Update" when a newer version is available
  5. Reboot Device: May be required for modules to become active
  6. Batch Process: Use "Install All" to process all modules at once
  7. View Repositories: Click "Open Repo" to view the module's GitHub page

⚠️ Important Workflow:

  • Install/Update β†’ Reboot (if required)

UI Features

  • πŸ”„ Real-time Status: Shows installed versions vs latest available
  • πŸ“₯ One-click Install/Update: Downloads and flashes latest releases automatically
  • βš™οΈ Smart Installation: Handles permissions and dependencies
  • πŸ“Š Progress Tracking: Visual feedback during operations
  • πŸ” Repository Links: Direct access to source code
  • πŸ”„ Update Detection: Shows "Update" button only when newer versions are available

πŸ”§ Technical Details

Component Technology Details
Backend Shell Scripts Busybox utilities with CGI support
Web Server Busybox httpd Lightweight CGI-capable server
Frontend HTML/JS Bootstrap-styled responsive interface
Communication AJAX RESTful API calls to CGI endpoints
Storage JSON State saved in /data/adb/IntegrityHelper/state.json
Downloads Temporary Files stored in /data/local/tmp/modules/

⚠️ Safety & Disclaimer

⚠️ Use at your own risk! This tool downloads and installs third-party modules.

Important Notes:

  • Always backup your data before installing modules
  • Review module descriptions and source code before use
  • Only install modules you understand and trust
  • Installing third-party modules can potentially harm your device
  • May violate terms of service for certain apps/services

What this tool does:

  • βœ… Downloads from official GitHub repositories only
  • βœ… Verifies module integrity during download
  • βœ… Automatically flashes modules through your root manager using proper commands:
    • Magisk: magisk --install-module <zip_path>
    • KernelSU: ksud module install <zip_path>
    • APatch: apd module install <zip_path>
  • βœ… Provides clear version tracking and status
  • βœ… Offers easy access to module repositories

What you need to do:

  • οΏ½ Reboot your device if prompted for changes to take effect

πŸ› Troubleshooting

Common Issues

Issue Solution
UI not loading Check if module is enabled in your root manager
Download fails Ensure internet connection and GitHub access
Install fails Check root manager logs and module compatibility
Permission issues Ensure proper root access and SELinux status
Port conflicts Verify no other service uses port 8585

Debug Commands

# Check if service is running
ps | grep httpd

# View service logs
cat /data/adb/IntegrityHelper/service.log

# Test API endpoints
curl http://127.0.0.1:8585/cgi-bin/api_test.sh

# Check module status
ls -la /data/adb/modules/IntegrityHelper/

πŸ“ Module Structure

IntegrityHelper/
β”œβ”€β”€ META-INF/com/google/android/update-binary  # Installer
β”œβ”€β”€ module.prop                                # Module properties
β”œβ”€β”€ service.sh                                 # Boot service
β”œβ”€β”€ open_ui.sh                                 # UI launcher script
β”œβ”€β”€ webroot/                                   # Web interface
β”‚   β”œβ”€β”€ index.html                            # Main UI
β”‚   β”œβ”€β”€ script.js                             # Frontend logic
β”‚   β”œβ”€β”€ manifest.json                         # Module list
β”‚   β”œβ”€β”€ httpd.conf                            # Server config
β”‚   └── cgi-bin/                              # CGI scripts
β”‚       β”œβ”€β”€ api_download.sh                   # Download endpoint
β”‚       β”œβ”€β”€ api_install.sh                    # Install endpoint
β”‚       β”œβ”€β”€ api_install_all.sh                # Batch install endpoint
β”‚       β”œβ”€β”€ api_state.sh                      # State endpoint
β”‚       └── api_test.sh                       # Test endpoint
└── scripts/                                   # Backend scripts
    └── httpd.conf                            # Alternative config

πŸ“‹ Changelog

v1.0 (Current)

  • ✨ Initial release with full functionality
  • 🌐 Web-based UI for module management
  • πŸ“¦ Support for 5 essential integrity modules
  • πŸ”„ Automatic latest version detection
  • ⚑ Batch install functionality
  • πŸ”’ CORS-enabled API endpoints
  • πŸ“Š Persistent state tracking
  • πŸ”§ Universal root solution support (Magisk/APatch/KernelSU)
  • πŸš€ Proper module flashing using root manager commands (not file copying)
  • πŸ”„ Smart Update buttons that only appear when updates are available
  • πŸ“± Simplified UI workflow - Install/Update/Reboot

🀝 Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly on your device
  5. Submit a pull request

Development Setup

# Clone the repository
git clone https://github.com/himanshujjp/IntegrityHelper.git
cd IntegrityHelper

# Make your changes
# Test on device
# Submit PR

πŸ“„ License

This project is released under the MIT License.

Individual managed modules maintain their own licenses. Please refer to each module's repository for license information.

πŸ™ Acknowledgments

  • osm0sis - PlayIntegrityFork
  • 5ec1cff - TrickyStore
  • YurikeyDev - yurikey
  • Dr-TSNG - ZygiskNext
  • Magisk/APatch/KernelSU teams - Root solutions

πŸ“ž Support


Made with ❀️ by himanshujjp

⭐ Star this repo if you found it useful!

About

Integrity Helper - Universal web UI for managing integrity-related Magisk modules. Supports Magisk, APatch & KernelSU with automatic detection and batch installation

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published