Skip to content

KyonLi/nodebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hide UserDebug and Test-Keys

Change some props from test to release.

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.

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.

About

Change some props from test-keys to release-keys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%