mirror of
https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf.git
synced 2024-10-02 21:02:09 +00:00
v1.2.0-v3
This commit is contained in:
parent
5a1183b2ab
commit
ab6cf62ebc
43
README.md
43
README.md
@ -3,12 +3,13 @@
|
|||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
Download the zip from 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.
|
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.
|
||||||
Any previous versions are kept in the first post of the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199).
|
|
||||||
|
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").
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Run the command `props` (as su) 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)).
|
After installing the module and rebooting, run the command `props` (as su) 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.
|
||||||
```
|
```
|
||||||
su
|
su
|
||||||
props
|
props
|
||||||
@ -21,9 +22,7 @@ If your device can't pass SafetyNet fully, the CTS profile check fails while bas
|
|||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
To fix this, you can use a known working 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.
|
To fix this, you can use a known working 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.
|
||||||
|
|
||||||
Keep in mind that changing the fingerprint of your device might have some side-effects, since you are changing how your device is percieved. Most of the times it works fine though. IMO it is preferable to use a fingerprint from a stock ROM for your specific device.
|
|
||||||
|
|
||||||
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-simple-t3765199) toghether with device details.
|
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-simple-t3765199) toghether with device details.
|
||||||
|
|
||||||
@ -35,7 +34,7 @@ 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.
|
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.
|
||||||
|
|
||||||
### Custom fingerprints list
|
### Custom fingerprints list
|
||||||
You can add your own fingerprint to the list by placing a file, named `printslist`, in the root of your internal storage with the fingerprint. It needs to be formated as follows:`<device name>=<fingerprint>`.
|
You can add your own fingerprint to the list by placing a file, named `printslis`, in the root of your internal storage with the fingerprint. It needs to be formated as follows:`device name=fingerprint`.
|
||||||
Here's an example:
|
Here's an example:
|
||||||
```
|
```
|
||||||
Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
|
Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
|
||||||
@ -45,9 +44,9 @@ Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
|
|||||||
## Current fingerprints list version
|
## Current fingerprints list version
|
||||||
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.
|
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.
|
||||||
|
|
||||||
Just run the `props` command and it'll be updated automatically.
|
Just run the `props` command and the list will be updated automatically.
|
||||||
|
|
||||||
**_Current fingerprints list version - v2_**
|
**_Current fingerprints list version - v3_**
|
||||||
|
|
||||||
|
|
||||||
## Editing build.prop and default.prop
|
## Editing build.prop and default.prop
|
||||||
@ -72,14 +71,14 @@ If you're having issues passing SafetyNet or otherwise getting MagiskHide to wor
|
|||||||
|
|
||||||
|
|
||||||
## Support, etc
|
## Support, etc
|
||||||
If you're having issues, questions or suggestions, visit the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-simple-t3765199) @XDA.
|
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.
|
||||||
|
|
||||||
### Logs, etc
|
### Logs, etc
|
||||||
Please provide the logs saved in /cache, "propsconf.log" and "propsconf_last.log", together with a detailed description of your issue. Providing the output from terminal might also be useful.
|
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.
|
||||||
|
|
||||||
|
|
||||||
## Source
|
## Source
|
||||||
[GitHub](https://github.com/Didgeridoohan/MagiskHide-Props-Config)
|
[GitHub](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config)
|
||||||
|
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
@ -88,9 +87,29 @@ Please provide the logs saved in /cache, "propsconf.log" and "propsconf_last.log
|
|||||||
|
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
### v1.2.0
|
||||||
|
- Now in the Magisk repo. Updated to match.
|
||||||
|
- New fingerprint, list v3.
|
||||||
|
- Check connection when checking for fingerprint updates.
|
||||||
|
- Show info when checking for fingerprint updates.
|
||||||
|
- Minor changes and improvements.
|
||||||
|
|
||||||
### v1.1.0
|
### v1.1.0
|
||||||
- New fingerprint added (Sony Xperia Z3).
|
- New fingerprint added (Sony Xperia Z3).
|
||||||
- Added the ability to update the fingerprints list automatically
|
- Added the ability to update the fingerprints list automatically
|
||||||
|
|
||||||
### v1.0.0
|
### v1.0.0
|
||||||
- Initial release. Compatible with Magisk v15+.
|
- Initial release. Compatible with Magisk v15+.
|
||||||
|
|
||||||
|
|
||||||
|
## Current fingerprints list
|
||||||
|
### List v3
|
||||||
|
- Google Nexus 6 (7.1.1)
|
||||||
|
- Google Pixel 2 (P DP1)
|
||||||
|
- Google Pixel 2 XL (8.1.0)
|
||||||
|
- OnePlus 3T (8.0.0)
|
||||||
|
- OnePlus 5T (7.1.1)
|
||||||
|
- Samsung Galaxy Grand Prime (5.0.2)
|
||||||
|
- Samsung Galaxy S8 Plus (7.0)
|
||||||
|
- Sony Xperia Z3 (6.0.1)
|
||||||
|
- Xiaomi Mi6 (7.1.1)
|
@ -18,7 +18,7 @@ USNFLIST=USNF_PLACEHOLDER
|
|||||||
# Load functions
|
# Load functions
|
||||||
. $MODDIR/util_functions.sh
|
. $MODDIR/util_functions.sh
|
||||||
|
|
||||||
MODVERSION=$(get_file_value $MODDIR/module.prop "version=")
|
MODVERSION=$(echo $(get_file_value $MODDIR/module.prop "version=") | sed 's/-.*//')
|
||||||
|
|
||||||
# Saves the previous log (if available) and creates a new one
|
# Saves the previous log (if available) and creates a new one
|
||||||
if [ -f "$LOGFILE" ]; then
|
if [ -f "$LOGFILE" ]; then
|
||||||
|
@ -3,21 +3,22 @@
|
|||||||
# MagiskHide Props Config
|
# MagiskHide Props Config
|
||||||
# By Didgeridoohan @ XDA-Developers
|
# By Didgeridoohan @ XDA-Developers
|
||||||
|
|
||||||
PRINTSV=2
|
PRINTSV=3
|
||||||
PRINTSTRANSF=1
|
PRINTSTRANSF=1
|
||||||
|
|
||||||
PRINTSFILE=/sdcard/printslist
|
PRINTSFILE=/sdcard/printslist
|
||||||
|
|
||||||
# Certified fingerprints
|
# Certified fingerprints
|
||||||
PRINTSLIST="
|
PRINTSLIST="
|
||||||
Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
|
Google Nexus 6 (7.1.1)=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
|
||||||
Google Pixel 2 XL=google/taimen/taimen:8.1.0/OPM1.171019.013/4474084:user/release-keys
|
Google Pixel 2 (P DP1)=google/walleye/walleye:P/PPP1.180208.014/4633861:user/release-keys
|
||||||
OnePlus 3T=OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR6.170623.013/12041042:user/release-keys
|
Google Pixel 2 XL (8.1.0)=google/taimen/taimen:8.1.0/OPM1.171019.013/4474084:user/release-keys
|
||||||
OnePlus 5T=OnePlus/OnePlus5T/OnePlus5T:7.1.1/NMF26X/12152312:user/release-keys
|
OnePlus 3T (8.0.0)=OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR6.170623.013/12041042:user/release-keys
|
||||||
Samsung Galaxy Grand Prime=samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys
|
OnePlus 5T (7.1.1)=OnePlus/OnePlus5T/OnePlus5T:7.1.1/NMF26X/12152312:user/release-keys
|
||||||
Samsung S8 Plus=samsung/dream2ltexx/dream2lte:7.0/NRD90M/G955FXXU1AQGB:user/release-keys
|
Samsung Galaxy Grand Prime (5.0.2)=samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys
|
||||||
Sony Xperia Z3=Sony/D6633/D6633:6.0.1/23.5.A.1.291/2769308465:user/release-keys
|
Samsung Galaxy S8 Plus (7.0)=samsung/dream2ltexx/dream2lte:7.0/NRD90M/G955FXXU1AQGB:user/release-keys
|
||||||
Xiaomi Mi6=Xiaomi/sagit/sagit:7.1.1/NMF26X/V8.2.17.0.NCACNEC:user/release-keys
|
Sony Xperia Z3 (6.0.1)=Sony/D6633/D6633:6.0.1/23.5.A.1.291/2769308465:user/release-keys
|
||||||
|
Xiaomi Mi6 (7.1.1)=Xiaomi/sagit/sagit:7.1.1/NMF26X/V8.2.17.0.NCACNEC:user/release-keys
|
||||||
"
|
"
|
||||||
|
|
||||||
if [ -f "$PRINTSFILE" ]; then
|
if [ -f "$PRINTSFILE" ]; then
|
||||||
|
@ -10,10 +10,9 @@ MAGISKLOC=/data/adb/magisk
|
|||||||
BBPATH=$MAGISKLOC/busybox
|
BBPATH=$MAGISKLOC/busybox
|
||||||
PRINTSLOC=$MODPATH/prints.sh
|
PRINTSLOC=$MODPATH/prints.sh
|
||||||
PRINTSTMP=/cache/prints.sh
|
PRINTSTMP=/cache/prints.sh
|
||||||
PRINTSWWW="https://raw.githubusercontent.com/Didgeridoohan/MagiskHide-Props-Config/master/common/prints.sh"
|
PRINTSWWW="https://raw.githubusercontent.com/Magisk-Modules-Repo/MagiskHide-Props-Config/master/common/prints.sh"
|
||||||
alias cat="$BBPATH cat"
|
alias cat="$BBPATH cat"
|
||||||
alias grep="$BBPATH grep"
|
alias grep="$BBPATH grep"
|
||||||
alias reboot="/system/bin/reboot"
|
|
||||||
alias resetprop="$MAGISKLOC/magisk resetprop"
|
alias resetprop="$MAGISKLOC/magisk resetprop"
|
||||||
alias sed="$BBPATH sed"
|
alias sed="$BBPATH sed"
|
||||||
alias tr="$BBPATH tr"
|
alias tr="$BBPATH tr"
|
||||||
@ -42,6 +41,30 @@ log_handler() {
|
|||||||
echo "" >> $LOGFILE
|
echo "" >> $LOGFILE
|
||||||
echo -e "$(date +"%m-%d-%Y %H:%M:%S") - $1" >> $LOGFILE
|
echo -e "$(date +"%m-%d-%Y %H:%M:%S") - $1" >> $LOGFILE
|
||||||
}
|
}
|
||||||
|
log_print() {
|
||||||
|
echo "$1"
|
||||||
|
log_handler "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#Divider
|
||||||
|
DIVIDER="${Y}=====================================${N}"
|
||||||
|
|
||||||
|
# Header
|
||||||
|
menu_header() {
|
||||||
|
if [ "$MODVERSION" == "VER_PLACEHOLDER" ]; then
|
||||||
|
VERSIONTXT=""
|
||||||
|
else
|
||||||
|
VERSIONTXT=$MODVERSION
|
||||||
|
fi
|
||||||
|
echo ""
|
||||||
|
echo "${W}MagiskHide Props Config $VERSIONTXT${N}"
|
||||||
|
echo "${W}by Didgeridoohan @ XDA Developers${N}"
|
||||||
|
echo ""
|
||||||
|
echo $DIVIDER
|
||||||
|
echo -e " $1"
|
||||||
|
echo $DIVIDER
|
||||||
|
}
|
||||||
|
|
||||||
# Finding file values
|
# Finding file values
|
||||||
get_file_value() {
|
get_file_value() {
|
||||||
@ -90,13 +113,29 @@ placeholder_update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
download_prints() {
|
download_prints() {
|
||||||
wget -O $PRINTSTMP $PRINTSWWW 2>> $LOGFILE
|
clear
|
||||||
if [ "$(get_file_value $PRINTSTMP "PRINTSV=")" -gt "$(get_file_value $PRINTSLOC "PRINTSV=")" ]; then
|
menu_header "Updating fingerprints list"
|
||||||
if [ "$(get_file_value $PRINTSTMP "PRINTSTRANSF=")" -ge "$(get_file_value $PRINTSLOC "PRINTSTRANSF=")" ]; then
|
echo ""
|
||||||
|
log_print "Checking list version."
|
||||||
|
wget -T 10 -O $PRINTSTMP $PRINTSWWW 2>> $LOGFILE
|
||||||
|
if [ -f "$PRINTSTMP" ]; then
|
||||||
|
LISTVERSION=$(get_file_value $PRINTSTMP "PRINTSV=")
|
||||||
|
if [ "$LISTVERSION" -gt "$(get_file_value $PRINTSLOC "PRINTSV=")" ]; then
|
||||||
|
if [ "$(get_file_value $PRINTSTMP "PRINTSTRANSF=")" -le "$(get_file_value $PRINTSLOC "PRINTSTRANSF=")" ]; then
|
||||||
mv -f $PRINTSTMP $PRINTSLOC
|
mv -f $PRINTSTMP $PRINTSLOC
|
||||||
log_handler "Updated prints.sh to v$(get_file_value $PRINTSLOC "PRINTSV=")."
|
# Updates list version in module.prop
|
||||||
|
VERSIONTMP=$(get_file_value $MODPATH/module.prop "version=")
|
||||||
|
sed -i "s/version=$VERSIONTMP/version=$MODVERSION-v$LISTVERSION/g" $MODPATH/module.prop
|
||||||
|
log_print "Updated list to v$LISTVERSION."
|
||||||
|
else
|
||||||
|
rm -f $PRINTSTMP
|
||||||
|
log_print "New fingerprints list requires module update."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
rm -f $PRINTSTMP
|
rm -f $PRINTSTMP
|
||||||
|
log_print "Fingerprints list up-to-date."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
log_print "No connection."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
id=MagiskHidePropsConf
|
id=MagiskHidePropsConf
|
||||||
name=MagiskHide Props Config
|
name=MagiskHide Props Config
|
||||||
version=v1.1.0
|
version=v1.2.0-v3
|
||||||
versionCode=2
|
versionCode=3
|
||||||
author=Didgeridoohan
|
author=Didgeridoohan
|
||||||
description=Change your device's fingerprint, to pass SafetyNet's CTS Profile check. Edit prop files for better root hiding. Set/reset prop values set by MagiskHide.
|
description=Change your device's fingerprint, to pass SafetyNet's CTS Profile check. Edit prop files for better root hiding. Set/reset prop values set by MagiskHide.
|
||||||
minMagisk=1500
|
minMagisk=1500
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user