You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+70-10Lines changed: 70 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
## Installation
9
9
Install through the Magisk Manager Downloads section. Or, download the zip from the Manager or the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199), and install through the Magisk Manager -> Modules, or from recovery.
10
10
11
-
The current release is always attached to the OP of the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199). Any previous releases can also be found on [GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/releases). If downloading a release from GitHub, make sure to repackage the zip with all the module files and folders in the root of the zip. Otherwise it won't install (error: "not a Magisk zip").
11
+
The current release is always attached to the OP of the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199). Any previous releases can be found on [GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/releases).
12
12
13
13
14
14
## Usage
@@ -17,7 +17,7 @@ After installing the module and rebooting, run the command `props` (as su) in a
17
17
su
18
18
props
19
19
```
20
-
You can also run the command with options. Use -h or --help for details.
20
+
You can also run the command with options. Use -h for details.
21
21
22
22
23
23
## Spoofing device's fingerprint
@@ -47,9 +47,9 @@ Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
47
47
## Current fingerprints list version
48
48
The fingerprints list will update without the need to update the entire module. Keep an eye on the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199) for info.
49
49
50
-
Just run the `props` command and the list will be updated automatically.
50
+
Just run the `props` command and the list will be updated automatically. Use the -nw option to disable.
51
51
52
-
**_Current fingerprints list version - v5_**
52
+
**_Current fingerprints list version - v6_**
53
53
54
54
55
55
## Editing build.prop and default.prop
@@ -61,20 +61,50 @@ By default, if MagiskHide detects certain sensitive prop values they will be cha
61
61
- ro.debuggable (set to "0" by MagiskHide - sensitive value is "1")
62
62
- ro.secure (set to "1" by MagiskHide - sensitive value is "0")
63
63
- ro.build.type (set to "user" by MagiskHide - sensitive value is "userdebug")
64
-
- ro.build.tags (set to "release-keys" by MagiskHide - sensitive value is "test-keys")
64
+
- ro.build.tags (set to "release-keys" by MagiskHide - sensitive value is "test-keys" or "dev-keys")
65
65
- ro.build.selinux (set to "0" by MagiskHide - sensitive value is "1")
66
66
67
67
If, for some reason, you need one or more of these to be kept as their original value (one example would be resetting ro.build.type to userdebug since some ROMs need this to work properly), you can reset to the original value with this module. Keep in mind that this might trigger some apps looking for these prop values as a sign of your device being rooted.
68
68
69
-
You can also use this module to set these props to your preferred value with MagiskHide disabled.
69
+
70
+
## Change/set custom prop values
71
+
It's quite easy to change prop values with Magisk. With this module it's even easier. Just enter the prop you want to change and the new value and the module does the rest, nice and systemless. Any changes that you've previously done directly to build.prop you can now do with this module instead.
72
+
73
+
74
+
## Prop script options
75
+
There are a couple of persistent options that you can set for the `props` script. These are currently "Colour" and "Fingerprints list check". The colour option disables or enables colours for the script, and the fingerprints list check option disables or enables automatic updating of the fingerprints list when the script starts. If the fingerprints list check is disabled, the list can be manually updated from within the script, under the "Device fingerprint" menu.
76
+
77
+
78
+
## Configuration file
79
+
You can use a configuration file to set your desired options, rather than running the `props` command. Download the [settings file](https://raw.githubusercontent.com/Magisk-Modules-Repo/MagiskHide-Props-Config/master/common/propsconf_conf) or extract it from the module zip (in the common folder), fill in the desired options (follow the instructions in the file), place it in /cache (or /data/cache if you're using an A/B device) and reboot. This can also be done directly at the first install (through Manager or recovery), before even rebooting your device. Instant settings.
80
+
81
+
82
+
## Device issues because of the module
83
+
In case of issues, if you've set a prop value that doesn't work on your device causing it not to boot, etc, don't worry. There are options. You can follow the advice in the [troubleshooting guide](https://www.didgeridoohan.com/magisk/Magisk#hn_Module_causing_issues_Magisk_functionality_bootloop_loss_of_root_etc) to remove or disable the module, or you can use the module's built-in options to reset all module settings to the defaults.
84
+
85
+
Place a file named `reset_mhpc` in /cache (or /data/cache on A/B devices) and reboot.
86
+
87
+
It is possible to use this in combination with the configuration file described above to keep device fingerprint or any other settings intact past the reset. Just make sure to remove any custom props that might have been causing issues from the configuration file.
88
+
89
+
90
+
## Certifying your device
91
+
If you're using a custom ROM, the chances of it being [perceived as uncertified by Google](https://www.xda-developers.com/google-blocks-gapps-uncertified-devices-custom-rom-whitelist/) are pretty high. If your ROM has a build date later than March 16 2018, this might mean that you can't even log into your Google account or use Gapps without [whitelisting your device with Google](https://www.google.com/android/uncertified/) first.
92
+
93
+
Magisk, and this module, can help with that.
94
+
95
+
Before setting up your device, install Magisk, this module and use the configuration file described above to pass the ctsProfile check. This should make your device be perceived as certified by Google and you can log into your Google account and use your device without having to whitelist it. Check [here](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/common/prints.sh) for usable fingerprints (only use the part to the right of the equal sign).
96
+
97
+
If you're having issues getting your device certified, take a look in the troubleshooting guide linked below.
70
98
71
99
72
100
## Miscellaneous MagiskHide issues
73
-
If you're having issues passing SafetyNet or otherwise getting MagiskHide to work, take a look in the [Magisk and MagiskHide Installation and Troubleshooting Guide](https://www.didgeridoohan.com/magisk). Lots of good info there (if I may say so myself)...
101
+
If you're having issues passing SafetyNet, getting your device certified, or otherwise getting MagiskHide to work, take a look in the [Magisk and MagiskHide Installation and Troubleshooting Guide](https://www.didgeridoohan.com/magisk). Lots of good info there (if I may say so myself)...
102
+
103
+
But first: have you tried turning it off and on again? Toggling MagiskHide off and on usually works if MagiskHide has stopped working after an update of Magisk or your ROM.
74
104
75
105
76
106
## Support, etc
77
-
If you have questions, suggestions or are experiensing some kind of issue, visit the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199)@XDA.
107
+
If you have questions, suggestions or are experiencing some kind of issue, visit the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199) @XDA.
78
108
79
109
### Logs, etc
80
110
In case of issues, please provide the logs, saved in /cache, "propsconf.log" and "propsconf_last.log", together with a detailed description of your problem. Providing the output from terminal might also be useful.
@@ -86,10 +116,20 @@ In case of issues, please provide the logs, saved in /cache, "propsconf.log" and
86
116
87
117
## Credits
88
118
@topjohnwu @ XDA Developers, for Magisk
89
-
@Zackptg5and @veez21 @ XDA Developers, for inspiration
119
+
@Zackptg5, @veez21and @jenslody @ XDA Developers, for inspiration
90
120
91
121
92
122
## Changelog
123
+
### v2.0.0
124
+
- Added a function for setting your own custom prop values.
125
+
- Added a function for setting values by configuration file. Useful if you want to make a ROM pass the ctsProfile check out of the box.
126
+
- Added a function for resetting the module by placing a specific file in /cache. Useful if a custom prop is causing issues.
127
+
- Added a function to set options for the props script. See the documentation for details.
128
+
- Added command option to not check online for new fingerprints list at start. Run `props` with the -h option for details.
129
+
- Restructured the fingerprints list menu. Sorted by manufacturer for easier access.
130
+
- New and updated fingerprints (lots), list v6.
131
+
- Minor fixes and improvements.
132
+
93
133
### v1.2.1
94
134
- Fixed logic for checking the original prop values.
95
135
- New fingerprints (Xiaomi Mi 5, ZTE Axon 7), list v4.
@@ -110,20 +150,40 @@ In case of issues, please provide the logs, saved in /cache, "propsconf.log" and
0 commit comments