To "repack" a Magisk module for touch improvement, you are essentially modifying an existing module's configuration files (like system.prop or service.sh) to include custom tweaks and then re-zipping it for installation. 1. Extract the Original Module
Download the original "Touch Improvement" or similar module. Use a file manager to extract the .zip content into a new folder. You should see a structure containing:
module.prop: Contains the module's ID, name, and description.
system.prop: Used for build.prop style system property overrides.
service.sh (optional): A script that runs after the device boots to apply more complex changes. META-INF/: Standard Android installation metadata. 2. Modify Touch Properties touch improvement magisk module repack
Open the system.prop file with a text editor. Add or modify the following properties to tune touch responsiveness:
Touch Event Frequency: windowsmgr.max_events_per_sec=300 allows the window manager to process more touch events per second for a smoother experience.
Fling Velocity: ro.max.fling_velocity=13800 and ro.min.fling_velocity=10500 adjust the speed and recognition of swipe gestures.
Calibration: touch.pressure.calibration=physical (instead of amplitude) can change how the device interprets touch pressure. To "repack" a Magisk module for touch improvement,
Floating Touch: ro.floatingtouch.available=1 enables extra touch sensitivity on supported hardware. 3. Update Module Information
Edit the module.prop file to distinguish your repacked version from the original.
id: Change this if you want it to install alongside the original (e.g., touch_improve_repack).
name: Give it a clear title (e.g., "Touch Improvement Repack v2"). version: Increment the version number. description: Summarize your specific changes. 4. Repack the Module Extract boot
Select all the files inside your working folder (ensure you are selecting the files, not the folder itself) and compress them back into a .zip archive. 5. Installation and Testing Touch Improve vFinal - Perfect Magisk Module to try in 2021
Published by: Android Modding Daily
Reading time: 8 minutes
Before creating a module, it's crucial to understand what "touch improvement" entails. This can include increasing touch sensitivity, improving touch response times, reducing ghost touches, or enhancing overall accuracy. These improvements often involve tweaking kernel parameters or system configurations.
If you need to actually patch the touchscreen driver:
boot.img from your ROM.split_img/ or after unpacking ramdisk.fts_ts.ko, goodix.ko, etc.) with modded version.boot.img replacement.Note: This is risky – always keep stock boot.img backup.