A secure, auditable rebuild of the original "SPPH ULTRA NET" Magisk module.
Removes obfuscated code, eliminates security risks, and optimizes network latency for handheld gaming.
The original SPPH-ULTRA-NET module contained heavily obfuscated code (eval, variable concatenation) in its service.sh and system.prop files. This practice is a major security red flag, as it prevents users from auditing what the module actually does.
This fork:
- ✅ Removes all obfuscation: Every line of code is transparent and readable.
- ✅ Eliminates security risks: No hidden backdoors or malicious payloads.
- ✅ Focuses on proven optimizations: Only applies settings that are safe and effective for the Retroid Pocket 5.
- ✅ Graceful degradation: If a feature (like BBR) isn't supported by the kernel, it skips it without crashing.
Reduces the time it takes to detect dead connections, crucial for online gaming stability.
tcp_keepalive_time: 30s (Default: 7200s)tcp_keepalive_intvl: 30s (Default: 75s)tcp_keepalive_probes: 3 (Default: 9)
Moves network interrupt handlers (WLAN/ETH) to a dedicated CPU core.
- Benefit: Isolates network processing from the main gaming cores, reducing input lag and micro-stutters.
Increases the NAT table limit to prevent "Connection Lost" errors during heavy multiplayer sessions.
nf_conntrack_max: 65,536nf_conntrack_buckets: 65,536
Attempts to enable BBR (Bottleneck Bandwidth and RTT) if the kernel supports it.
- Note: If your kernel does not support BBR (common on stock kernels), the module gracefully falls back to
cubicwithout errors.
To ensure stability and prevent errors, the following features from the original module were removed as they failed to apply on the Retroid Pocket 5:
- ❌ DNS Changes:
/system/etc/resolver.confis read-only on modern Android ROMs. - ❌ WiFi Power Save: The
power_savesysfs node is missing on this device. - ❌ TCP Buffer Tuning:
tcp_rmem/tcp_wmemwrites are ignored by the kernel. - ❌ Obfuscated Logic: All
evalstatements and hidden code blocks.
- Download the latest
.ziprelease from the Releases tab. - Open Magisk Manager (or KernelSU).
- Tap Install → Select and Patch a File (or Install from Storage).
- Select the downloaded
.zip. - Reboot your device.
After reboot, run the following commands in a terminal (Termux/ADB):
# Check Keepalive (Should be 30)
cat /proc/sys/net/ipv4/tcp_keepalive_time
# Check Congestion Control (Should be 'bbr' or 'cubic')
cat /proc/sys/net/ipv4/tcp_congestion_control
# View Debug Log
cat /data/local/tmp/net_debug.log