Hide UserDebug, Test-Keys and LineageOS

Change some props and “remove” LineageOS ones.

Description

Some Custom ROMs (like LineageOS) build their systems as userdebug which allows for easier debugging and ADB usage.

However, if you want to pass SafetyNet or any alternative, that can be a pain, due to Certified ROMs using user builds.

Also, some developers may use test-keys to sign their builds as opposed to release-keys, which is more of a security concern than anything. (Anyone can use the default test-keys to sign stuff, with the system just accepting those).

So, this module dynamically gets system props from the device and patches them to change userdebug to user and test-keys to release-keys.

Additionally, this module removes all LineageOS specific props, to prevent apps from identifying it by using them. This has a known issue; Over-the-Air updates don’t work, which in my opinion is a small price to pay (and you can always just disable the module before tyring to update).

The module is confirmed to work in LineageOS 19 (Android 12L) with Magisk 25+.

Attribution

I took great inspiration from HuskyDG’s hide_userdebug module which seems to be abandoned, and didn’t seem to work for some prop values, so I made my own version.

Link

Module Info

Search on : Google Bing Yandex

Other Modules

Systemless Adblocker

By Burhanverse

Module Template @StevenBlack / Base hosts sources @JumbomanXDA / Custom installation script @gloeyisk / Original source Download Link Download Link ...

Terminal Systemizer

By veez21

ailable on GitHub. But this module is only for Android 11 or below because Android 12 mostly has system partitions that cannot be modified. Seeing the activity in the GitHub repository, this module has not been developed for long, so it does not supp...

Mi Thermal Decryptor and Encryptor

By adithya2306

ncrypt input plain text file to output file (default=off) Notes Only for Xiaomi devices Author source binary tool by ghostrider compiled for arm by litylix module zip by litylix Link Download Source ...

module-patching

By tytydraco

K manually with a trusted keystore. Disclaimer Please note that the modules that you install from the Alt-Repo come with zero required support and is entirely under your responsibility. We cannot guarantee that all modules are safe and functional, al...

Zygisk Detach

By j-hc

Detaches installed apps from Play Store against its aggressive updating policy which ignores the auto-update option user sets. How Hooks libbinder with zygisk Usage Enable zygisk in Magisk or ZygiskNext module if you are on KernelSU Flash zygisk-deta...

PixelXpert

By siavash79

tatus bar Quick Settings panel Lock screen Notifications Gesture Navigations Phone & Dialer Hotspot Package Manager Screen properties Compatibility PixelXpert is ONLY compatible with pixel stock firmware on Google Pixel devices. Any custom ROM (i...


© 2025 Magisk Community