MagiskHidePropsConf/README.md

747 lines
55 KiB
Markdown
Raw Normal View History

2018-03-18 15:39:43 +00:00
# MagiskHide Props Config
## By Didgeridoohan @ XDA Developers
2017-12-25 21:21:25 +00:00
2018-05-12 16:29:05 +00:00
[Support Thread @ XDA](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228)
2018-03-26 16:51:48 +00:00
2018-08-07 11:50:01 +00:00
## What's this?
2018-12-06 05:24:42 +00:00
This module is a very complicated way of doing something very simple. Complicated for me, that is... The aim is to make it easy for you, the user. The module changes prop values using the [Magisk resetprop tool](https://github.com/topjohnwu/Magisk/blob/master/docs/tools.md#resetprop), something that is very easy to do with a [Magisk boot script](https://github.com/topjohnwu/Magisk/blob/master/docs/details.md#magisk-booting-process) and some simple commands. This is very useful for a lot of things, among others to help pass the SafetyNet CTS Profile check on custom and uncertified ROMs. And of course for any normal modification of your device that is done by altering build.prop or similar files.
2018-08-07 11:50:01 +00:00
What this module does is that it adds a terminal based UI for those that don't want (or can't) create a boot script for themselves, making the process of creating such a boot script very simple. With this module I'm also maintaining a list of certified build fingerprints for a number of devices, so that it's easy to pick one you want to use.
2018-12-06 05:24:42 +00:00
Keep reading below to find out more details about the different parts of the module
2018-08-07 11:50:01 +00:00
## Documentation index
2018-12-05 15:22:57 +00:00
- [Prerequisites](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#prerequisites)
- [Installation](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#installation)
- [Usage](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#usage)
- [Spoofing device's fingerprint to pass the ctsProfile check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#spoofing-devices-fingerprint-to-pass-the-ctsprofile-check)
- [Use vendor fingerprint](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#use-vendor-fingerprint)
- [Matching the Android security patch date](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf#matching-the-android-security-patch-date)
- [Can I use any fingerprint?](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#can-i-use-any-fingerprint)
- [Finding a certified fingerprint](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#finding-a-certified-fingerprint)
- [The getprop method](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#the-getprop-method)
- [The stock ROM/firmware/factory image method](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#the-stock-romfirmwarefactory-image-method)
- [The firmware.mobi method](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#the-firmwaremobi-method)
- [Custom fingerprints list](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#custom-fingerprints-list)
- [I still can't pass the ctsProfile check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-still-cant-pass-the-ctsprofile-check)
- [Keeping your device "certified"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#keeping-your-device-certified)
- [Current fingerprints list version](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#current-fingerprints-list-version)
- [Please add support for device X](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#please-add-support-for-device-x)
- [Please update fingerprint X](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#please-update-fingerprint-x)
2019-02-02 12:37:20 +00:00
- [Device simulation](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#device-simulation)
- [Improved root hiding - Editing build.prop and default.prop](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#improved-root-hiding---editing-buildprop-and-defaultprop)
- [Set/reset MagiskHide Sensitive props](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#setreset-magiskhide-sensitive-props)
- [Change/set custom prop values](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values)
- [Removing prop values](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#removing-prop-values)
- [Prop script settings](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#prop-script-settings)
- [Boot stage](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#boot-stage)
- [Script colours](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#script-colours)
- [Fingerprints list check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#fingerprints-list-check)
- [Configuration file](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#configuration-file)
2019-02-02 12:37:20 +00:00
- [Setting up the module on a clean Magisk/ROM flash](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#setting-up-the-module-on-a-clean-magiskrom-flash)
- [Miscellaneous MagiskHide issues](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#miscellaneous-magiskhide-issues)
- [Issues, support,etc](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#issues-support-etc)
- [Known issues](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#known-issues)
- [An option is marked as "disabled"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#an-option-is-marked-as-disabled)
- [I can't pass the ctsProfile check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-cant-pass-the-ctsprofile-check)
- [I can't pass the basicIntegrity check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-cant-pass-the-basicintegrity-check)
- [Props don't seem to set properly](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#props-dont-seem-to-set-properly)
- [Device issues because of the module](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#device-issues-because-of-the-module)
- [Logs](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#logs)
- [Collecting logs manually](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#collecting-logs-manually)
2019-02-02 12:37:20 +00:00
- [Donations](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#donations)
- [Source](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#source)
- [Credits](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#credits)
- [Changelog](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changelog)
- [Current fingerprints list](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#current-fingerprints-list)
2019-02-02 12:37:20 +00:00
- [Licence](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#mit-licence)
2018-12-05 15:22:57 +00:00
## Prerequisites
- Magisk v17+.
- Busybox, preferably @osm0sis'
2018-03-18 15:39:43 +00:00
## Installation
2018-05-12 16:29:05 +00:00
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-t3789228), and install through the Magisk Manager -> Modules, or from recovery.
2018-03-26 16:25:58 +00:00
2018-05-12 16:29:05 +00:00
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-t3789228). Any previous releases can be found on [GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/releases).
2017-12-25 21:21:25 +00:00
2018-03-20 17:36:47 +00:00
## Usage
2018-07-26 09:03:13 +00:00
After installing the module and rebooting, run the command `props` in a terminal emulator (you can find a one on [F-Droid](https://f-droid.org/) or in the [Play Store](https://play.google.com/store/apps)), and follow the instructions to set your desired options. If you use Termux, you'll have to call su before running the command.
2018-04-15 22:05:33 +00:00
You can also run the command with options. Use -h for details.
2018-03-18 15:39:43 +00:00
2018-04-19 03:13:40 +00:00
## Spoofing device's fingerprint to pass the ctsProfile check
2018-12-06 05:24:42 +00:00
If your device can't pass SafetyNet fully, the CTS profile check fails while basic integrity passes, that means MagiskHide is working on your device but Google doesn't recognise your device as being certified (if basic integrity fails there is nothing this module can do, please check [I can't pass the basicIntegrity check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-cant-pass-the-basicintegrity-check)).
2018-03-18 15:39:43 +00:00
This might be because your device simply hasn't been certified or that the ROM you are using on your device isn't recognised by Google (because it's a custom ROM).
2019-02-02 12:37:20 +00:00
To fix this, you can use a known working device fingerprint (`ro.build.fingerprint`), one that has been certified by Google, usually from a stock ROM/firmware/factory image, and replace your device's current fingerprint with this. You can also use a fingerprint from another device, but this will change how your device is perceived.
2018-03-18 15:39:43 +00:00
2018-10-25 06:37:05 +00:00
NOTE: If you're using a fingerprint for an Android build after March 16th 2018 you might have to change the security patch date to one that matches the fingerprint used. You can use the [Custom prop](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values) function of this module to change `ro.build.version.security_patch` to the desired date. If you don't know the security patch date you can try finding it with trial and error. The dates are always either the 1st or the 5th of the month, so try different months one after the other until the CTS profile passes.
2018-10-22 07:15:22 +00:00
2018-10-22 06:12:15 +00:00
There are a few pre-configured certified fingerprints available in the module, just in case you can't get a hold of one for your device. If you have a working fingerprint that could be added to the list, or an updated one for one already on there, please post that in the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228) toghether with device details. Please also include the Android security patch date for the factory image/firmware/ROM that the fingerprint comes from.
2018-10-21 14:17:11 +00:00
2019-02-02 12:37:20 +00:00
After having applied a device fingerprint from the module, whenever that particular print is updated in the included prints list, the chosen fingerprint will be automatically updated when the fingerprints list is. Just reboot to apply the new fingerprint.
If you are using a Treble GSI ROM you can enable the [Use vendor fingerprint](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#use-vendor-fingerprint-for-treble-gsi-roms) option (for more details, see below) in the `Edit device fingerprint` menu.
### Use vendor fingerprint (for Treble GSI ROMs)
When using a Treble GSI ROM with a stock vendor partition, it is possible to use the vendor fingerprint to make the device pass the CTS profile check. Enabling this option will make the module scripts pull the vendor fingerprint on each boot and use this to spoof the device fingerprint. This in turn means you will only have to enable this option once and even if you update your vendor partition the fingerprint used will always be the latest one.
2018-10-21 14:17:11 +00:00
### Matching the Android security patch date
2018-10-25 06:37:05 +00:00
For some devices, if the fingerprint is for an Android build after March 16th 2018, it is necessary to use a security patch date that matches the fingerprint used. For the module provided fingerprints this is done automatically, but if you enter a fingerprint manually you will have to update the security patch date yourself (if they don't already match). Use the [Custom props](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values) function of this module to change `ro.build.version.security_patch` to the desired date.
2018-03-18 15:39:43 +00:00
### Can I use any fingerprint?
It's possible to use any fingerprint that's certified for your device. It doesn't have to match, either device or Android version. If you don't use a fingerprint for your device, the device might be percieved as the device that the fingerprint belongs to, in certain situations (Play Store, etc). The Android version doesn't matter much, and if you're using a ROM with an Android version much newer than what is officially available for your device, you are going to have to use an older fingerprint if you want to use the one for your device. But, like already stated, that doesn't really matter.
2018-03-18 15:39:43 +00:00
### Finding a certified fingerprint
#### The getprop method
If you don't want to use one of the provided fingerprints, you can get one for your device by running the getprop command below on a stock ROM/firmware/factory image that fully passes SafetyNet.
2018-03-18 15:39:43 +00:00
```
getprop ro.build.fingerprint
```
If you're already on a custom ROM that can't pass the CTS profile check, this might not be an option... Head over to your device's forum and ask for help. If someone can run the getprop command on their device for you, you're good to go. Or, you can try the other method described below.
2018-09-15 06:14:16 +00:00
*Note that this is the only surefire way of getting the proper fingerprint.*
2018-09-15 06:13:17 +00:00
#### The stock ROM/firmware/factory image method
Another way to find a certified fingerprint is to download a stock ROM/firmware/factory image for your device and extract the fingerprint from there.
2018-09-15 06:14:16 +00:00
*Note that this is possibly not the best way of finding the fingerprint. Using getprop is always preferred.*
2018-09-15 06:13:17 +00:00
2018-05-16 16:21:12 +00:00
You can find the file to download in your device's forum on XDA Developers (either as a firmware file, a proper stock ROM, or in the development section as a debloated stock ROM), from the manufacturer's website, or elsewhere on the great interweb (just remember to be careful when downloading unknown files, it's dangerous to go alone!).
Once you have the file downloaded, there are several different ways that the fingerprint can be found. In all cases you'll have to access the file somehow, and in most cases it's just a matter of unpackaging it. After that it depends on how the package is constructed.
- Sometimes there'll be a build.prop file directly in the zip/package. You'll likely find the fingerprint in there.
- For some devices you'll have to unpackage the system.img to get to the build.prop or default.prop file, where you'll find the info you want. On Windows, you can use something like [this tool](https://forum.xda-developers.com/showpost.php?p=57742855&postcount=42). You'll also find more info in the [main thread for that post](https://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952).
2018-05-17 20:41:34 +00:00
- Other times you'll find the fingerprint in META-INF\com\google\android\updater-script. Look for "Target:" and you'll likely find the fingerprint there.
2018-10-06 12:14:57 +00:00
- Etc... Experiment, the fingerprint will be in there somewhere.
2018-03-18 15:39:43 +00:00
2018-05-17 20:41:34 +00:00
Take a look below for an example of what a device fingerprint looks like.
2018-10-06 12:14:57 +00:00
#### The firmware.mobi method
Sometimes you can also find up to date and certified fingerprints at [firmware.mobi](https://desktop.firmware.mobi/).
2018-03-18 15:39:43 +00:00
### Custom fingerprints list
2018-12-06 14:02:20 +00:00
You can add your own fingerprint to the list by placing a file, named `printslist` (no file extension), in the root of your internal storage with the fingerprints. It needs to be formated as follows: `device name=fingerprint`. The fingerprints added to this list will be found under the `Custom` category in the fingerprints menu. If you create the printslist file in Windows, make sure that you use a text editor that can handle [Unix file endings](https://en.m.wikipedia.org/wiki/Newline), such as Notepad++ and similar editors (not regular Notepad).
2018-03-18 15:39:43 +00:00
Here's an example:
```
2018-07-26 09:03:13 +00:00
Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
2018-03-18 15:39:43 +00:00
```
2018-10-25 10:22:27 +00:00
NOTE: If you're using a fingerprint for an Android build after March 16th 2018 you might have to change the security patch date to one that matches the fingerprint used. This can be done directly in the fingerprints list, by adding two underscores directly followd by the date at the end of the fingerprint (`__2018-09-05`). You can also use the [Custom props](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values) function of this module to change `ro.build.version.security_patch` to the desired date. If you don't know the security patch date you can try finding it with trial and error. The dates are always either the 1st or the 5th of the month, so try different months one after the other until the CTS profile passes.
2018-03-18 15:39:43 +00:00
2018-07-26 09:03:13 +00:00
2018-04-25 22:17:32 +00:00
### I still can't pass the ctsProfile check
2018-05-29 07:29:19 +00:00
If you've picked a certified fingerprint from the provided list, or you're using a fingerprint that you know is certified but still can't pass the ctsProfile check, try one or more of the following:
2018-07-01 05:32:49 +00:00
- First, do you pass basicIntegrity? If you don't, there's something else going on that this module can't help you with. Take a look under ["Miscellaneous MagiskHide issues"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#miscellaneous-magiskhide-issues) below.
2018-10-25 06:37:05 +00:00
- Go into the script options and make sure the execution of the boot script is in post-fs-data. See ["Boot stage"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#boot-stage) below.
2018-05-29 07:29:19 +00:00
- Try a different fingerprint (pick one from the provided list).
2018-12-06 10:39:49 +00:00
- If you're not using one of the fingerprints provided in the module, make sure you have a matching security patch date set in [Custom props](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values). See ["Matching the Android security patch date"](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf#matching-the-android-security-patch-date) above.
2018-12-06 10:41:35 +00:00
- Some ROMs will just not be able to pass the ctsProfile check, if they contain signs of a rooted/modified device that Magisk can't hide, or that they are built in a way that makes it impossible to pass SafetyNet. Check in your ROM thread or with the creator/developer.
2018-07-01 05:32:49 +00:00
- You might have remnants of previous modifications that trigger SafetyNet on your device. A clean install of your system may be required.
2018-07-26 09:03:13 +00:00
- If you can't get things working, and want help, make sure to provide logs and details. See ["Logs"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#logs) below.
2018-04-29 09:14:35 +00:00
## Keeping your device "certified"
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.
Magisk, and this module, can help with that.
Before setting up your device, install Magisk, this module and use the configuration file described below 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).
If you're having issues getting your device certified, take a look in the Magisk troubleshooting guide linked below.
2018-04-25 22:17:32 +00:00
In case you can't get the Play Store to report your device as "certified", see ["Issues"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#issues-support-etc) below.
2018-03-18 15:39:43 +00:00
2018-03-20 18:47:36 +00:00
## Current fingerprints list version
2018-05-12 16:29:05 +00:00
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-t3789228) for info.
2018-03-20 18:47:36 +00:00
2018-06-19 09:56:08 +00:00
Just run the `props` command and the list will be updated automatically. Use the -nw option to disable or disable it completely in the script settings (see ["Prop script settings"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#prop-script-settings) below). If you've disabled the this setting you can update the list manually in the `Edit device fingerprint` menu.
2018-03-20 18:47:36 +00:00
2019-02-02 12:52:12 +00:00
If you already have a device fingerprint set by the module, and it has been updated in the current fingerprints list, it will be automatically updated when the prints list gets an update. Just reboot to apply. This function can be turned of in the script settings (see ["Prop script settings"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#prop-script-settings) below)
2019-02-02 12:37:20 +00:00
2019-01-09 08:50:49 +00:00
**_Current fingerprints list version - v42_**
2018-03-20 18:47:36 +00:00
2018-10-12 15:49:50 +00:00
## Please add support for device X
Adding device fingerprints to the list relies heavily on the users. You guys. I've looked up a fingerprint from time to time, but it is a bit time consuming and I don't have that time...
2018-10-21 14:17:11 +00:00
2018-10-22 06:12:15 +00:00
If you want a specific device fingerprint to be added to the module, see [Finding a certified fingerprint](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#finding-a-certified-fingerprint) above. If you can find a fingerprint for the device you have in mind, post it in the thread. I'll test it out and if it passes the ctsProfile check I'll add it to the list. Please also include the Android security patch date for the factory image/firmware/ROM that the fingerprint comes from.
2018-10-12 15:49:50 +00:00
## Please update fingerprint X
Fingerprints included in the module are updated once in a while. Mainly if a user (that's you) provides the updated fingerprint, but sometimes I do look up new fingerprints on [firmware.mobi](https://desktop.firmware.mobi). That is purely based on how much time I have on my hands and how bored I am though...
If you have an updated fingerprint available (and you've posted it for me to update the list), but I haven't yet updated the fingerprints list (which might be a while depending on how much IRL stuff I have to do), it is still perfectly possible for you to use the updated fingerprint.
You can enter the fingerprint manually in the `Edit device fingerprint` menu in the module, you can use the [configuration file](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf#configuration-file), or you can make a [custom fingerprints list](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf#custom-fingerprints-list).
2019-02-02 12:37:20 +00:00
## Device simulation
If you want to simulate a specific device (to get access to device specific apps in the Play store, as an example), you can activate this option. It will pull information from the currently used fingerprint (has to be set by the module) and use this to set a few certain props to these values. The props that are set are (currently):
- ro.product.brand
- ro.product.name
- ro.product.device
- ro.build.version.release
- ro.build.id
- ro.build.version.incremental
By default all props are set when this option is activated, but it is possible to activate and deactivate each prop individually.
Whenever a fingerprint is set by the module, the `ro.build.description` prop will be set automatically independently from if the general device simulation option is enabled or not.
2018-04-15 22:12:58 +00:00
## Improved root hiding - Editing build.prop and default.prop
2018-08-15 18:12:48 +00:00
In some rare cases, apps and services look at the actual files (build.prop and default.prop), rather than the set prop values. With this module feature you can make sure that the actual prop in build.prop and default.prop is changed to match whatever value the prop has been set to by either MagiskHide or the module. If there's a prop value set by the module (see ["Set/reset MagiskHide Sensitive props"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#setreset-magiskhide-sensitive-props) below), that value takes precedence.
2018-03-18 15:39:43 +00:00
## Set/reset MagiskHide Sensitive props
By default, if MagiskHide detects certain sensitive prop values they will be changed to known safe values. These are currently:
- ro.debuggable (set to "0" by MagiskHide - sensitive value is "1")
- ro.secure (set to "1" by MagiskHide - sensitive value is "0")
- ro.build.type (set to "user" by MagiskHide - sensitive value is "userdebug")
2018-04-15 22:05:33 +00:00
- ro.build.tags (set to "release-keys" by MagiskHide - sensitive value is "test-keys" or "dev-keys")
2018-03-18 15:39:43 +00:00
- ro.build.selinux (set to "0" by MagiskHide - sensitive value is "1")
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.
2018-04-15 22:05:33 +00:00
## Change/set custom prop values
2019-02-02 12:37:20 +00:00
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, default.prop, etc, you can now do with this module instead. If you have a lot of props that you want to change it'll be a lot easier to use the [configuration file](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#configuration-file) (see below).
2018-04-15 22:05:33 +00:00
2018-09-04 07:55:57 +00:00
When setting a custom prop you can also pick in what boot stage it should be set in. This can also be changed later for each individual custom prop. There are three options:
2018-10-21 14:17:11 +00:00
- Default - The main module option will decide (see [Prop script settings](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#boot-stage) below).
2018-09-04 07:55:57 +00:00
- post-fs-data - The prop will always be set in post-fs-data, regardless of the main module option.
- late_start service - The prop will always be set in late_start service, regardless of the main module option.
2019-02-02 12:37:20 +00:00
- Both post-fs-data late_start service - In some special cases you would want the prop to be set during both boot stages. An example would be if the system reapplies the stock prop value late in the boot process (after post-fs-data).
2018-09-04 07:55:57 +00:00
2018-10-21 14:17:11 +00:00
Note: post-fs-data runs earlier than late_start service.
2018-10-04 13:43:46 +00:00
### My build.prop doesn't change after setting a custom prop
Magisk doesn't alter the build.prop file when changing a custom prop value, it simply loads the new value instead of the one in build.prop. If you want to check if the new value has been loaded you can see this by selecting the prop in the "Add/edit custom props" menu of the `props` script.
You can also use the `getprop` command in a terminal emulator to check the set value. Example:
```
getprop ro.build.fingerprint
```
2018-04-15 22:05:33 +00:00
2018-06-19 09:56:08 +00:00
## Removing prop values
If you would like to delete a certain prop value from your system, that can be done with the [Magisk resetprop tool](https://github.com/topjohnwu/Magisk/blob/master/docs/tools.md#resetprop). With this module you can easily set that up by adding whatever prop you want removed to the "Delete props" list. Be very careful when using this option, since removing the wrong prop may cause isses with your device. See ["Device issues because of the module"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#device-issues-because-of-the-module) below if this happens.
2018-10-04 13:43:46 +00:00
### My build.prop doesn't change after removing a prop value
Magisk doesn't alter the build.prop file when removing a prop value, it simply prevents the prop to load instead of removing it from build.prop. If you want to check if the prop has been removed use the `getprop` command in a terminal emulator to check. Example:
```
getprop ro.build.fingerprint
```
If the prop has been removed, the command should return nothing.
2018-06-19 09:56:08 +00:00
2018-04-16 16:06:49 +00:00
## Prop script settings
2018-07-26 09:03:13 +00:00
There are a couple of persistent options that you can set for the `props` script. These are currently "Boot stage", "Script colours" and "Fingerprints list check". The options are found under "Script settings" when running the `props` script. The settings menu can also be opened by using the -s option (use -h for details).
2018-05-29 07:29:19 +00:00
### Boot stage
2018-08-09 05:56:28 +00:00
It's possible to move the execution of the boot script from the default post-fs-data to late_start service. Running the script in post-fs-data is required for the SafetyNet fix and custom props to work on some ROM/device combinations, and is also more reliable overall. If there are any kind of issues during boot, try changing the boot stage to late_start service instead. Just keep in mind that this might cause setting the build fingerprint to fail.
2018-05-29 07:29:19 +00:00
2018-10-21 14:17:11 +00:00
Note: post-fs-data runs earlier than late_start service.
2018-05-29 07:29:19 +00:00
### Script colours
This option will disable or enable colours for the `props` script.
### Fingerprints list check
2018-07-26 09:03:13 +00:00
This option will disable or enable the automatic updating of the fingerprints list when the `props` script starts. If the fingerprints list check is disabled, the list can be manually updated from within the script, under the `Edit device fingerprint` menu, or with the -f option (use -h for details).
2018-04-15 22:05:33 +00:00
2019-02-02 12:52:12 +00:00
### Automatic fingerprints update
Whenever there is an update to the fingerprints list and if you have a fingerprint applied for a device that is on the list, the fingerprint will automatically be updated (if there is an update to that particular fingerprint).
2018-04-15 22:05:33 +00:00
## Configuration file
2019-02-02 12:37:20 +00:00
You can use a configuration file to set your desired options, rather than running the `props` command. This is particularly useful if you have a large amount of custom props you want to set. 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 ('propsconf_conf' in the common folder), fill in the desired options (follow the instructions in the file), place it /data or /cache (or /data/cache if you're using an A/B device) and reboot. You can also use the configuration file when first installing the module. Just place the file in the root of your internal storage (or one of the other previously mentioned locations) before flashing the module and the installation script will set everything up.
If you edit the configuration file in Windows, make sure that you use a text editor that can handle [Unix file endings](https://en.m.wikipedia.org/wiki/Newline), such as Notepad++ and similar editors (not regular Windows Notepad).
This can also be done directly at the first install (through Manager or recovery) and even on a brand new clean install of Magisk, before even rebooting your device (also see "Setting up the module on a clean Magisk/ROM flash" below).
2018-06-19 09:56:08 +00:00
2019-02-02 12:37:20 +00:00
**NOTE!** Upon detecting the file, the module installation/boot script will load the configured values into the module and then delete the the configuration file, so keep a copy somewhere if you want to use the same settings later.
2018-06-19 09:56:08 +00:00
2019-02-02 12:37:20 +00:00
### Setting up the module on a clean Magisk/ROM flash
After having made a clean ROM flash, the configuration file can be used to set the module up as you want without even having to boot first. First flash the ROM and Magisk. After that you can place the configuration file (see above) with your desired settings (fingerprint, custom props, etc) in the root of your internal storage, /data or /cache (or /data/cache if you're using an A/B device) and then install the module. This will set the module up just as you want it without having to do anything else. It is also possible to place the configuration file after having installed the module and rebooting (although you can only use /data or /cache as a location for the file). This will set everything up during boot, but it is possible that this won't work an all device/ROM combinations. If you experience issues, let the ROM boot once before setting everything up.
2018-04-15 22:05:33 +00:00
2018-03-20 17:36:47 +00:00
## Miscellaneous MagiskHide issues
2018-04-15 22:05:33 +00:00
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)...
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.
2018-03-18 15:39:43 +00:00
2018-04-25 22:17:32 +00:00
## Issues, support, etc
2018-05-12 16:29:05 +00:00
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-t3789228) @ XDA.
2018-03-18 15:39:43 +00:00
2018-08-09 05:56:28 +00:00
### Known issues
2019-02-02 12:37:20 +00:00
- MagiskHide Props Config v2.7.2 and earlier versions won't work on Magisk v18.1-d73127b1(18006) or later, due to internal changes in Magisk.
- Xiaomi devices (MIUI) sometimes have issues passing the ctsProfile check, particularly China releases. Try using [ShellHide](https://forum.xda-developers.com/apps/magisk/magisk-shellhide-t3855616) by @JayminSuthar together with this module. They might work in conjunction to get the device to pass SafetyNet.
2018-12-05 15:22:57 +00:00
- If you're on Android Pie you will have to use Magisk v17.2+. Any version prior to that will not be able to change the required prop values. This is because of a change in Android Pie, and with Magisk v17.2 the resetprop tool was been updated for this change.
2018-08-09 05:56:28 +00:00
2018-07-22 16:43:44 +00:00
### An option is marked as "disabled"
A couple of the options in the `props` script will be automatically disabled in some circumstances. These are:
2019-02-02 12:37:20 +00:00
- _"Edit device fingerprint"_ will be disabled if another Magisk module that is known to also edit the device fingerprint is installed.
- _"Device simulation"_ will be disabled if there is no device fingerprint set by the module.
- _"Improved hiding"_ will be disable if all relevant prop values already are "safe" (in other words: the option isn't needed), or if a conflicting module that also Magic Mounts build.prop is found.
2018-07-22 16:43:44 +00:00
2018-07-01 05:32:49 +00:00
### I can't pass the ctsProfile check
See ["I still can't pass the ctsProfile check"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-still-cant-pass-the-ctsprofile-check) above.
Also see ["Props don't seem to set properly"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#props-dont-seem-to-set-properly) below.
### I can't pass the basicIntegrity check
This module can only really help with the ctsProfile check, by spoofing the device fingerprint. If you can't pass basicIntegrity, there's probably something else going on with your device. See ["Miscellaneous MagiskHide issues"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#miscellaneous-magiskhide-issues) above.
2018-05-29 07:29:19 +00:00
### Props don't seem to set properly
2018-10-25 06:37:05 +00:00
If it seems like props you're trying to set with the module don't get set properly (ctsProfile still doesn't pass, custom props don't work, etc), go into the script options and change the boot stage at which the props are being set, or change the boot stage for that particular prop. See ["Boot stage"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#boot-stage) or ["Custom prop values"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#changeset-custom-prop-values) above.
2018-05-29 07:29:19 +00:00
2018-10-21 14:17:11 +00:00
### My device's Android security patch date changed
2018-10-25 06:37:05 +00:00
For some devices it is necessary to also change the security patch date to match the fingerprint. This is automatically done by the module when using a fingerprint from a build after March 16 2018. If you do not want this to happen you can manually add `ro.build.version.security_patch` to the custom props and load back the original date.
2018-10-21 14:17:11 +00:00
2018-04-26 20:40:46 +00:00
### Device issues because of the module
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 [Magisk 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.
Place a file named `reset_mhpc` in /cache (or /data/cache on A/B devices) and reboot.
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.
### The Play Store is "uncertified"
If your device's Play Store reports that the device is "uncertified", this is usually fixed by making sure that you pass SafetyNet and then clearing data for the Play Store (and possibly rebooting). More details in the [Magisk troubleshooting guide](https://www.didgeridoohan.com/magisk/MagiskHide#hn_Device_uncertified_in_Play_storeNetflix_and_other_apps_wont_install_or_doesnt_show_up).
2018-07-22 16:43:44 +00:00
## Logs
2018-07-26 09:03:13 +00:00
In case of issues, please provide the logs by running the `props` script and selecting the "Collect logs" option (or running the `props` script with the -l option, use -h for details). All the relevant logs and module files, together with the Magisk log, the stock build.prop file and current prop values will be packaged into a file that'll be stored in the root of the device's internal storage, ready for attaching to a post in the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228), together with a detailed description of your problem.
2018-06-19 09:56:08 +00:00
2018-07-01 05:32:49 +00:00
The logs will also automatically be saved to the root of the device's internal storage if there's an issue with the module scripts.
2018-07-22 16:43:44 +00:00
### Collecting logs manually
If you can't run the `props` script for some reason, the logs are also stored in /cache (or /data/cache for A/B devices). The Magisk log and any files starting with "propsconf" would be useful for troubleshooting (if you don't, or can't, use the "Collect logs" option mentioned above). Providing the output from terminal might also be useful.
2018-03-20 17:36:47 +00:00
2018-03-18 15:39:43 +00:00
2019-02-02 12:37:20 +00:00
## Donations
If you've had any help from me or this module, any kind of [URL="https://forum.xda-developers.com/donatetome.php?u=4667597"]donation[/URL] to support the work involved would of course be appreciated.
2018-03-18 15:39:43 +00:00
## Source
2018-03-26 16:25:58 +00:00
[GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config)
2018-03-18 15:39:43 +00:00
## Credits
2018-11-18 06:31:58 +00:00
@topjohnwu @ XDA Developers, for Magisk
2018-04-19 03:13:40 +00:00
@Zackptg5, @veez21 and @jenslody @ XDA Developers, for help and inspiration
2018-03-18 15:39:43 +00:00
## Previous releases
Any previous releases can be found on [GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/releases).
Releases up until v2.4.0 are compatible with Magisk v15 to v16.7.
Releases from v2.4.1 are compatible with Magisk v17+.
2018-03-18 15:39:43 +00:00
## Changelog
### v3.0.2
- Another quickfix, this time fixing editing already set custom props (a victim of slightly too heavy-handed optimisations of variable and settings retrieval in v3.0.0).
2019-02-02 13:38:40 +00:00
### v3.0.1
- Quickfix for updating the module from v2.7.2 or earlier.
2019-02-02 12:37:20 +00:00
### v3.0.0
- New function for device simulation. The module sets a number of device specifying props based on the used fingerprint. See the documentation for details.
- New function for Treble GSI users that have a stock vendor partition: The module can use the certified vendor fingerprint found there. See the documentation for details. Thank you to @oF2pks for making me aware of this possibility.
- New function where the currently used fingerprint automatically will be updated if there's a new fingerprint for that device added to the fingerprints list. See the documentation for details.
- New function to set custom props in both post-fs-data and late_start service mode. See the documentation for details. See the documentation for details.
- Updated the configuration file function so that the file will now be detected during installation or at boot. See the documentation for details.
- Updated the locations for placing the configuration file when importing settings to the module. See the documentation for details.
- Updated the configuration file to be version specific. Make sure you use the latest available configuration file.
- Fixed compatibility with changed boot stages in Magisk v18.1-d73127b1(18006).
- Fixed double download of fingerprints file if using the -f option and cleaned up the runtime options a bit.
- Fixed module reset option.
- Optimised variable and settings retrieval.
- Optimised module boot scripts.
- A whole bunch of minor fixes and cleanups.
2018-12-22 18:41:34 +00:00
### v2.7.2
2018-12-22 19:03:09 +00:00
- Re-run the post-fs-data script if the Magisk image wasn't mounted yet or if the script has been reset.
2018-12-22 18:41:34 +00:00
- Added fingeprints for Razer Phone 1 & 2 and Xiaomi Mi Pad 4, and updated fingerprints for Xiaomi Mi 8, Mi A2 & Pocophone F1. List v40.
- Mostly harmless.
- Small fixes, as usual.
2018-12-09 09:05:50 +00:00
### v2.7.1
- Fixed an issue when users create custom prints list and configuration files with Windows file endings.
- Fixed an issue where the currently picked device wouldn't show for the custom prints list.
- Added fingerprints for Sony Xperia Z4 Tablet LTE and Xiaomi Mi A2 & Redmi Y1. Updated fingerprints for Essential PH-1, Google Nexus 5X & 6P, Pixel 1-3 (both regular and XL) & C and Sony Xperia XZ1 Compact. List updated to v39.
2018-12-05 15:22:57 +00:00
### v2.7.0
- Updated Busybox logic (again). It is now required to install Busybox alongside the module, to ensure proper functionality. I recommend @osm0sis' Busybox, installable as a Magisk module from the Magisk repo.
- Added fingerprints for Google Nexus 7 (2012 & 2013, WiFi & LTE), Nexus 9 (WiFi & LTE) and Pixel C, LG V30, Motorola Moto E5 Plus, OnePlus 6T, Samsung Galaxy J7 Prime and S5, and Xiaomi Mi 8. Updated the fingerprint for Huawei P8 Lite and Xiaomi Mi Mix 2s. List updated to v38.
- Probably some other small fixes as well. Can't remember...
2018-11-19 13:00:38 +00:00
### v2.6.5
- Fixed some of the "optimisations" I did in the previous release (read: I messed up).
2018-11-18 06:31:58 +00:00
### v2.6.4
- Fixed the "Delete prop values" function to properly delete persistent props.
- Updated for the new paths introduced in Magisk v17.4-ab5fedda(17316).
- Added and updated fingerprints for Google Nexus 10, Huawei P8 Lite and LG G5 850. List updated to v37.
- Miscellaneous fixes.
2018-10-30 08:28:47 +00:00
### v2.6.3
- Fixed custom fingerprints list that broke with the fingerprints list optimisation in v2.5.0.
- Added fingerprints for Huawei P9 Plus and HTC U12 Plus. List updated to v34.
- Minor improvements.
2018-10-25 10:22:27 +00:00
### v2.6.2
- Another quick fix. Keep 'em coming...
2018-10-25 09:24:31 +00:00
### v2.6.1
- Small fix (revert really) for possible issue with setting prop values (including fingerprint).
2018-10-25 06:37:05 +00:00
### v2.6.0
2018-10-25 09:24:31 +00:00
- Updated the fingerprints list to load much, much faster.
- Added and updated fingerprints for Huawei Mate 10, Nextbook Ares 8A, OnePlus 3, 3T, 5 and 5T, and ZTE Axon 7. List updated to v33.
2018-10-25 06:37:05 +00:00
- The new and improved SafetyNet fix turns out to be not only for Android Pie. Gone through the entire list and added security patch dates where needed.
- Fixed some seriously botched code in v2.5.0.
- As usual, small bug fixes and improvemnts.
- No Yoshis where harmed during the making of this release.
2018-10-21 14:17:11 +00:00
### v2.5.0
- Improved/fixed the SafetyNet fix when using Android Pie fingerprints.
- Updated/changed Busybox logic.
- It is sometimes an appropriate response to reality to go insane.
- Added and updated fingerprints for Essential PH-1, Google Pixel and Pixel XL (all three variants) and Nokia 7 Plus. Fingerprints list v31.
- Various bugfixes and improvements.
2018-10-05 05:29:55 +00:00
### v2.4.3
- Another small update, fixing my bad memory (I wish).
2018-10-04 22:06:01 +00:00
### v2.4.2
- Small update to the root detection logic. Should fix issues on devices with a broken `id` command.
2018-09-04 08:00:53 +00:00
### v2.4.1
- Updated to Magisk module template v17000. Compatible with Magisk v17+ only.
2018-09-04 07:55:57 +00:00
### v2.4.0
- Added a check for if the download of the internal Busybox fails.
- Added an option for picking what boot stage a custom prop should be set in.
- Updated the internal Busybox to @osm0sis' latest 1.29.2 build.
- Don't panick!
- Updated and added a couple of fingerprints.
- Various improvements, etc.
2018-08-07 11:50:01 +00:00
### v2.3.6
- Added md5 checksum when downloading the internal Busybox.
- Changed the default boot stage from late_start service to post-fs-data.
- Various fixes and improvements, as usual.
2018-07-26 09:03:13 +00:00
### v2.3.5
2018-12-05 15:22:57 +00:00
- Fixed issue with Busybox version detection.
2018-07-26 09:03:13 +00:00
- Fixed the documentation. Some parts had been accidentally deleted. Oops...
- Improved log collecting.
- Added and updated fingerprints for the Xiaomi Mi Note 2 and Redmi Note 5A Lite, list v23.
- Minor improvements here and there. Hopefully I haven't broken something this time...
2018-07-23 11:13:43 +00:00
### v2.3.4
- Updated for Busybox v1.29.1. Thank you @osm0sis.
- Bugfixes. Because I'm blind.
### v2.3.3
2018-07-21 08:52:53 +00:00
- Tiny update for installation logic and documentation.
- Also added and updated a whole bunch of fingerprints (Huawei Honor 6X, Sony Xperia X Dual, X Compact, X Performance Dual, XZ Dual, XZ Premium, XZ Premium Dual, XZ1, XZ2, XZ2 Dual, XZ2 Compact, XZ2 Compact Dual and Xiaomi Mi5/5 Pro), list v22.
2018-07-19 19:47:43 +00:00
### v2.3.2
- Finally fixed installing with the configuration file on a clean Magisk installation.
- Fixed updating placeholders if boot scripts gets restored at boot.
- Updated the power requirements to 1.21 gigawatts.
- Updated and added new fingerprints (Asus Zenfone 2 Laser, Huawei P9, LG G4, Motorola Moto C Plus and G6 Play, Samsung Galaxy J5 2015, Xiaomi Mi 4C and Mi Mix 2S), list v21.
- Miscellaneous fixes and updates.
2018-07-01 05:32:49 +00:00
### v2.3.1
- Fixed permissions for the settings boot script when using the reset option.
- Fixed log collecting.
- Added automatic log collecting when there's an issue with the boot scripts.
- Some updates to the documentation, mainly regarding troubleshooting issues.
- Miscellaneous improvements and fixes.
2018-06-19 09:56:08 +00:00
### v2.3.0
- Added a function for removing props. See the documentation for details.
- Added a function to collect and package the logs and relevant troubleshooting files for easy uploading.
- Updated and clarified the documentation on how to use the configuration file.
- A bunch of improvements and tweaks. Several of which may go horribly wrong.
2018-07-19 19:47:43 +00:00
- Updated and added bunch of new fingerprints (Asus ZenPad S 8.0, Huawei P20 Pro, Samsung Galaxy S8, Sony Xperia XZ1 Dual and XZ1 Compact, Xiaomi Mi 4C and Redmi Note 3 Pro SE), list v19.
2018-10-21 14:17:11 +00:00
- Don't turn your back, don't look away, and *don't blink!* Good luck.
2018-06-19 09:56:08 +00:00
2018-06-03 16:40:24 +00:00
### v2.2.2
- This is not the changelog you're looking for. You can go about your business. Move along.
- Fixed a bug with setting custom props where the value contains spaces.
- Added a couple of fingerprints (OnePlus 6 and Xiaomi Mi Note 2) and cleaned out a few old ones, list v 18.
- As usual, a whole bunch of script improvements that hopefully won't break anything.
2018-05-29 20:44:54 +00:00
### v2.2.1
- Added a check for entering empty values for fingerprint and custom props.
- Added a command option to go directly to the settings menu. Run `props` with the -h option for details.
2018-05-29 07:29:19 +00:00
### v2.2.0
- Added an option to set prop values earlier in the boot process.
- Moved module setup from post-fs-data.sh to post-fs-data.d.
- Fixed installing module on a fresh Magisk install.
- Fixed restoring the boot scripts during post-fs-data boot stage.
- Updated and added some new fingerprints (Google Pixel 2 XL, Huawei Honor 9, Samsung Galaxy J5 and Note 8, Xiaomi Mi A1, Mi Max 2 and Redmi Note 5 Pro), list v17.
- As usual, a bunch of improvements. They'll likely not harm any kittens, but might break the module.
2018-05-12 16:29:05 +00:00
### v2.1.6
- Added some new fingerprints (Sony Xperia Z, Sony Xperia Z1, Xiaomi Redmi 4 Prime, Xiaomi Redmi Note 5/5 Plus), list v15.
- Very minor improvements that doesn't even deserve their own release, or changelog.
2018-05-06 09:57:49 +00:00
### v2.1.5
- Show what device the currently set fingerprint is from.
- Fixed,updated and added a bunch of fingerprints, list v12.
- Minor updates and improvements.
2018-04-29 09:14:35 +00:00
### v2.1.4
- Fixed improved hiding.
- Fixed using the configuration file on a clean install.
- Fixed a fault in the AE-35 Unit.
- Improved logging.
- A bunch of optimisations that will probably break stuff.
2018-04-26 20:40:46 +00:00
### v2.1.3
- Reverted the function to only editing existing fingerprint props.
- Optimised setting the different props.
- Minor updates and improvements.
2018-04-25 22:17:32 +00:00
### v2.1.2
- Detects and edits only existing device fingerprint props.
- Slightly optimised the boot scripts.
- New fingerprint (Motorola Moto E4), list v10.
- Minor updates and improvements.
2018-04-20 22:29:24 +00:00
### v2.1.1
- Fixed transferring custom props between module updates.
2018-04-19 03:13:40 +00:00
### v2.1.0
2018-04-19 04:08:35 +00:00
- "Improved hiding" will now also mask the device fingerprint in build.prop. Please reapply the option to set.
2018-04-19 03:13:40 +00:00
- Fixed colour code issues if running the script with ADB Shell. Huge shout-out to @veez21 over at XDA Developers.
- Fixed typo in A/B device detection. Thank you to @JayminSuthar over at XDA Developers.
- New fingerprints (Samsung Galaxy S4 and Sony Xperia Z3 Tablet Compact), list v8.
- Minor fixes and improvements.
2018-04-15 22:05:33 +00:00
### v2.0.0
- Added a function for setting your own custom prop values.
- 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.
- Added a function for resetting the module by placing a specific file in /cache. Useful if a custom prop is causing issues.
- Added a function to set options for the props script. See the documentation for details.
- Added command option to not check online for new fingerprints list at start. Run `props` with the -h option for details.
- Restructured the fingerprints list menu. Sorted by manufacturer for easier access.
- New and updated fingerprints (lots), list v6.
- Minor fixes and improvements.
2018-03-28 16:39:57 +00:00
### v1.2.1
- Fixed logic for checking the original prop values.
- New fingerprints (Xiaomi Mi 5, ZTE Axon 7), list v4.
- Minor fixes.
2018-03-26 16:25:58 +00:00
### v1.2.0
- Now in the Magisk repo. Updated to match.
2018-03-28 16:39:57 +00:00
- New fingerprint (Pixel 2), list v3.
2018-03-26 16:25:58 +00:00
- Show info when checking for fingerprint updates.
- Minor changes and improvements.
2018-03-20 18:47:36 +00:00
### v1.1.0
- New fingerprint added (Sony Xperia Z3).
- Added the ability to update the fingerprints list automatically
2018-03-18 15:39:43 +00:00
### v1.0.0
- Initial release. Compatible with Magisk v15+.
2018-03-26 16:25:58 +00:00
## Current fingerprints list
2019-01-09 08:50:49 +00:00
### List v42
2018-05-06 18:55:30 +00:00
- Asus Zenfone 2 Laser (6.0.1)
2018-08-01 06:28:46 +00:00
- Asus Zenfone 4 Max (7.1.1)
2018-06-19 09:56:08 +00:00
- Asus ZenPad S 8.0 (6.0.1)
2018-10-21 14:17:11 +00:00
- Essential PH-1 (9)
2018-04-20 07:43:28 +00:00
- Google Nexus 4 (5.1.1)
- Google Nexus 5 (6.0.1)
2018-12-22 18:41:34 +00:00
- Google Nexus 5X (8.1.0)
2018-12-06 06:06:14 +00:00
- Google Nexus 6 (7.1.1)
2018-04-20 07:43:28 +00:00
- Google Nexus 6P (8.1.0)
2018-12-05 15:22:57 +00:00
- Google Nexus 7 2012 WiFi (5.1.1)
- Google Nexus 7 2012 LTE (5.1.1)
- Google Nexus 7 2013 WiFi (6.0.1)
- Google Nexus 7 2013 LTE (6.0.1)
- Google Nexus 9 WiFi ()
- Google Nexus 9 LTE (7.1.1)
2018-11-18 06:31:58 +00:00
- Google Nexus 10 (5.1.1)
2018-09-26 12:31:46 +00:00
- Google Pixel (9)
- Google Pixel XL (9)
- Google Pixel 2 (9)
- Google Pixel 2 XL (9)
2018-10-21 14:17:11 +00:00
- Google Pixel 3 (9)
- Google Pixel 3 XL (9)
2018-12-05 15:22:57 +00:00
- Google Pixel C (8.1.0)
2018-04-15 22:05:33 +00:00
- HTC 10 (6.0.1)
2018-09-04 07:55:57 +00:00
- HTC U11 (8.0.0)
2018-10-30 08:28:47 +00:00
- HTC U12 Plus (8.0.0)
2018-07-21 08:52:53 +00:00
- Huawei Honor 6X (8.0.0)
2018-05-29 07:29:19 +00:00
- Huawei Honor 9 (8.0.0)
2018-10-25 06:37:05 +00:00
- Huawei Mate 10 (8.0.0)
2018-04-15 22:05:33 +00:00
- Huawei Mate 10 Pro (8.0.0)
2018-08-02 06:22:04 +00:00
- Huawei P8 Lite (8.0.0)
2018-07-19 19:47:43 +00:00
- Huawei P9 (7.0)
2018-11-04 03:31:02 +00:00
- Huawei P9 Lite (7.0)
2018-10-30 08:28:47 +00:00
- Huawei P9 Plus (7.0)
2018-06-19 09:56:08 +00:00
- Huawei P20 Pro (8.1.0)
2018-10-21 18:58:17 +00:00
- LeEco Le Pro3 (6.0.1)
2018-09-26 12:31:46 +00:00
- LG G2 BS980 (5.0.2)
2018-07-19 19:47:43 +00:00
- LG G4 H812 (6.0)
2018-11-18 06:31:58 +00:00
- LG G5 H850 (8.0.0)
2018-12-05 15:22:57 +00:00
- LG V30 H930 (8.0.0)
2018-07-19 19:47:43 +00:00
- Motorola Moto C Plus (7.0)
2018-04-25 22:17:32 +00:00
- Motorola Moto E4 (7.1.1)
2018-09-26 12:31:46 +00:00
- Motorola Moto E4 Plus (7.1.1)
2019-01-08 04:42:22 +00:00
- Motorola Moto E5 Play (8.0.0)
2018-12-05 15:22:57 +00:00
- Motorola Moto E5 Plus (8.0.0)
2018-04-15 22:05:33 +00:00
- Motorola Moto G4 (7.0)
- Motorola Moto G5 (7.0)
- Motorola Moto G5 Plus (7.0)
2018-07-06 20:21:37 +00:00
- Motorola Moto G5S (7.1.1)
2018-07-19 19:47:43 +00:00
- Motorola Moto G6 Play (8.0.0)
2018-05-06 09:57:49 +00:00
- Motorola Moto X4 (8.0.0)
2018-08-15 18:12:48 +00:00
- Motorola Moto Z2 Play (8.0.0)
2018-10-25 06:37:05 +00:00
- Nextbook Ares 8A (6.0.1)
2018-10-21 14:17:11 +00:00
- Nokia 7 Plus (9)
2018-04-15 22:05:33 +00:00
- Nvidia Shield K1 (7.0)
2018-08-01 13:38:00 +00:00
- Nvidia Shield Tablet (7.0)
2018-07-06 20:21:37 +00:00
- OnePlus 2 (6.0.1)
- OnePlus X (6.0.1)
- OnePlus 3 (8.0.0)
2018-03-26 16:25:58 +00:00
- OnePlus 3T (8.0.0)
2018-07-06 20:21:37 +00:00
- OnePlus 5 (8.1.0)
- OnePlus 5T (8.1.0)
2018-09-26 12:35:44 +00:00
- OnePlus 6 (9)
2018-12-05 15:22:57 +00:00
- OnePlus 6T (9)
2018-12-22 18:41:34 +00:00
- Razer Phone (8.1.0)
- Razer Phone 2 (8.1.0)
2019-01-08 04:42:22 +00:00
- Samsung Galaxy A5 2017 (8.0.0)
- Samsung Galaxy A8 Plus (7.1.1)
2018-03-26 16:25:58 +00:00
- Samsung Galaxy Grand Prime (5.0.2)
2018-08-05 19:54:53 +00:00
- Samsung Galaxy J2 (5.1.1)
2018-07-06 20:21:37 +00:00
- Samsung Galaxy J3 (5.1.1)
2018-07-19 19:47:43 +00:00
- Samsung Galaxy J5 2015 (6.0.1)
2018-05-29 07:29:19 +00:00
- Samsung Galaxy J5 (7.1.1)
2018-05-06 09:57:49 +00:00
- Samsung Galaxy J5 Prime (7.0)
2019-01-09 08:50:49 +00:00
- Samsung Galaxy J7 2017 (8.1.0)
2018-12-05 15:22:57 +00:00
- Samsung Galaxy J7 Prime (6.0.1)
2018-11-07 22:41:10 +00:00
- Samsung Galaxy Note 3 (5.0)
2018-03-31 19:45:01 +00:00
- Samsung Galaxy Note 4 (6.0.1)
2018-04-15 22:05:33 +00:00
- Samsung Galaxy Note 5 (7.0)
2018-05-29 07:29:19 +00:00
- Samsung Galaxy Note 8 (8.0.0)
2018-07-06 20:21:37 +00:00
- Samsung Galaxy Note 10.1 2014 (5.1.1)
2018-05-07 20:32:21 +00:00
- Samsung Galaxy S3 Neo (4.4.4)
2018-04-19 03:13:40 +00:00
- Samsung Galaxy S4 (5.0.1)
2018-12-05 15:22:57 +00:00
- Samsung Galaxy S5 (6.0.1)
- Samsung Galaxy S6 (7.0)
- Samsung Galaxy S6 Edge (7.0)
2018-05-07 20:32:21 +00:00
- Samsung Galaxy S7 (8.0.0)
2018-05-06 09:57:49 +00:00
- Samsung Galaxy S7 Edge (8.0.0)
2018-06-19 09:56:08 +00:00
- Samsung Galaxy S8 (8.0.0)
2018-03-31 19:45:01 +00:00
- Samsung Galaxy S8 Plus (8.0.0)
- Samsung Galaxy S9 (8.0.0)
- Samsung Galaxy S9 Plus (8.0.0)
2018-04-20 07:43:28 +00:00
- Sony Xperia X (8.0.0)
2018-07-21 08:52:53 +00:00
- Sony Xperia X Compact (8.0.0)
- Sony Xperia X Dual (8.0.0)
2018-04-15 22:05:33 +00:00
- Sony Xperia X Performance (8.0.0)
2018-07-21 08:52:53 +00:00
- Sony Xperia X Performance Dual (8.0.0)
2018-04-15 22:05:33 +00:00
- Sony Xperia XZ (8.0.0)
2018-07-21 08:52:53 +00:00
- Sony Xperia XZ Dual (8.0.0)
- Sony Xperia XZ Premium (8.0.0)
- Sony Xperia XZ Premium Dual (8.0.0)
- Sony Xperia XZ1 (8.0.0)
2018-12-22 18:41:34 +00:00
- Sony Xperia XZ1 Compact (9)
2018-07-21 08:52:53 +00:00
- Sony Xperia XZ1 Dual (8.0.0)
- Sony Xperia XZ2 (8.0.0)
- Sony Xperia XZ2 Compact (8.0.0)
- Sony Xperia XZ2 Compact Dual (8.0.0)
- Sony Xperia XZ2 Dual (8.0.0)
2018-05-12 16:29:05 +00:00
- Sony Xperia Z (5.1.1)
- Sony Xperia Z1 (5.1.1)
2018-05-06 18:55:30 +00:00
- Sony Xperia Z2 (6.0.1)
2018-03-26 16:25:58 +00:00
- Sony Xperia Z3 (6.0.1)
2018-05-06 18:55:30 +00:00
- Sony Xperia Z3 Compact (6.0.1)
2018-04-19 03:13:40 +00:00
- Sony Xperia Z3 Tablet Compact (6.0.1)
2018-12-09 09:05:50 +00:00
- Sony Xperia Z4 Tablet LTE (7.1.1)
2018-04-16 16:06:49 +00:00
- Sony Xperia Z5 (7.1.1)
- Sony Xperia Z5 Compact (7.1.1)
- Sony Xperia Z5 Dual (7.1.1)
2018-09-26 12:31:46 +00:00
- Sony Xperia Z5 Premium (7.1.1)
- Sony Xperia Z5 Premium Dual (7.1.1)
2018-04-15 22:05:33 +00:00
- Vodafone Smart Ultra 6 (5.1.1)
- Xiaomi Mi 3/4 (6.0.1)
2018-06-19 09:56:08 +00:00
- Xiaomi Mi 4C (7.0)
2018-07-21 08:52:53 +00:00
- Xiaomi Mi 5/5 Pro (8.0.0)
2018-03-31 19:45:01 +00:00
- Xiaomi Mi 5S (7.0)
2018-08-02 06:29:16 +00:00
- Xiaomi Mi 5S Plus (7.0)
2018-05-06 18:55:30 +00:00
- Xiaomi Mi 6 (8.0.0)
2018-12-22 18:41:34 +00:00
- Xiaomi Mi 8 (9)
2018-05-29 07:29:19 +00:00
- Xiaomi Mi A1 (8.0.0)
2018-12-22 18:41:34 +00:00
- Xiaomi Mi A2 (9)
2019-01-08 04:42:22 +00:00
- Xiaomi Mi A2 Lite (9)
2018-05-29 07:29:19 +00:00
- Xiaomi Mi Max 2 (7.1.1)
2018-09-04 07:55:57 +00:00
- Xiaomi Mi Mix 2 (8.0.0)
2019-01-08 04:42:22 +00:00
- Xiaomi Mi Mix 2S (9)
2018-09-04 07:55:57 +00:00
- Xiaomi Mi Note 2 (8.0.0)
2018-12-22 18:41:34 +00:00
- Xiaomi Mi Pad 4 (8.1.0)
- Xiaomi Pocophone F1 (9)
2018-11-04 03:31:02 +00:00
- Xiaomi Redmi 3/3 Pro (5.1.1)
2018-08-01 06:28:46 +00:00
- Xiaomi Redmi 3S/X Prime (6.0.1)
2018-05-12 16:29:05 +00:00
- Xiaomi Redmi 4 Prime (6.0.1)
2018-04-15 22:05:33 +00:00
- Xiaomi Redmi 4X (6.0.1)
2018-08-01 06:28:46 +00:00
- Xiaomi Redmi 5A (7.1.2)
- Xiaomi Redmi Note 2 (5.0.2)
2018-04-15 22:05:33 +00:00
- Xiaomi Redmi Note 3 Pro (6.0.1)
2018-06-19 09:56:08 +00:00
- Xiaomi Redmi Note 3 Pro SE (6.0.1)
2018-04-15 22:05:33 +00:00
- Xiaomi Redmi Note 4/4X (7.0)
2018-05-12 16:29:05 +00:00
- Xiaomi Redmi Note 5/5 Plus (7.1.2)
2018-05-29 07:29:19 +00:00
- Xiaomi Redmi Note 5 Pro (8.1.0)
2018-07-26 09:03:13 +00:00
- Xiaomi Redmi Note 5A Lite (7.1.2)
2019-01-08 04:42:22 +00:00
- Xiaomi Redmi Note 6 Pro (8.1.0)
2018-12-09 09:05:50 +00:00
- Xiaomi Redmi Y1 (7.1.2)
2018-10-25 06:37:05 +00:00
- ZTE Axon 7 (8.0.0)
2018-08-01 06:28:46 +00:00
- ZTE Blade (6.0.1)
2018-04-30 15:18:27 +00:00
- ZTE Nubia Z17 (7.1.1)
2018-09-26 12:35:44 +00:00
- Zuk Z2 Pro (7.0)
## MIT Licence
2019-02-02 12:37:20 +00:00
*Copyright (c) 2018-2019 Didgeridoohan*
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.