Skip to content

Commit

Permalink
v2.4.0-v29
Browse files Browse the repository at this point in the history
  • Loading branch information
Didgeridoohan authored Sep 4, 2018
1 parent 0861a59 commit dde6871
Show file tree
Hide file tree
Showing 15 changed files with 464 additions and 169 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The fingerprints list will update without the need to update the entire module.

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.

**_Current fingerprints list version - v28_**
**_Current fingerprints list version - v29_**


## Improved root hiding - Editing build.prop and default.prop
Expand All @@ -111,6 +111,11 @@ If, for some reason, you need one or more of these to be kept as their original
## Change/set custom prop values
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.

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:
- Default - The main module option will decide (see Prop script settings below).
- 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.


## 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.
Expand Down Expand Up @@ -194,6 +199,14 @@ If you can't run the `props` script for some reason, the logs are also stored in


## Changelog
### 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.

### v2.3.6
- Added md5 checksum when downloading the internal Busybox.
- Changed the default boot stage from late_start service to post-fs-data.
Expand Down Expand Up @@ -321,7 +334,7 @@ If you can't run the `props` script for some reason, the logs are also stored in


## Current fingerprints list
### List v28
### List v29
- Asus Zenfone 2 Laser (6.0.1)
- Asus Zenfone 4 Max (7.1.1)
- Asus ZenPad S 8.0 (6.0.1)
Expand All @@ -339,6 +352,7 @@ If you can't run the `props` script for some reason, the logs are also stored in
- Google Pixel 2 XL (8.1.0)
- Google Pixel 2 XL (P DP1)
- HTC 10 (6.0.1)
- HTC U11 (8.0.0)
- Huawei Honor 6X (8.0.0)
- Huawei Honor 9 (8.0.0)
- Huawei Mate 10 Pro (8.0.0)
Expand Down Expand Up @@ -371,7 +385,6 @@ If you can't run the `props` script for some reason, the logs are also stored in
- Samsung Galaxy J5 2015 (6.0.1)
- Samsung Galaxy J5 (7.1.1)
- Samsung Galaxy J5 Prime (7.0)
- Samsung Galaxy Note 3 (7.1.1)
- Samsung Galaxy Note 4 (6.0.1)
- Samsung Galaxy Note 5 (7.0)
- Samsung Galaxy Note 8 (8.0.0)
Expand Down Expand Up @@ -421,8 +434,9 @@ If you can't run the `props` script for some reason, the logs are also stored in
- Xiaomi Mi 6 (8.0.0)
- Xiaomi Mi A1 (8.0.0)
- Xiaomi Mi Max 2 (7.1.1)
- Xiaomi Mi Mix 2 (8.0.0)
- Xiaomi Mi Mix 2S (8.0.0)
- Xiaomi Mi Note 2 (7.0)
- Xiaomi Mi Note 2 (8.0.0)
- Xiaomi Redmi 3S/X Prime (6.0.1)
- Xiaomi Redmi 4 Prime (6.0.1)
- Xiaomi Redmi 4X (6.0.1)
Expand Down
2 changes: 1 addition & 1 deletion common/busybox-arm.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ef0f310f6a35e0afa735c36afd8135e3
2eded5ac68a5e7ffc5f7eaf76e09e3a5
2 changes: 1 addition & 1 deletion common/busybox-arm64.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bbb13cf8bb2b1de70ecbf495cbff1450
6aeb221640a10243182169a3f6388646
2 changes: 1 addition & 1 deletion common/busybox-mips.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e4be280e6a3f8102a62c261110ff69a2
1203fb78725a2e3eb6d0af195f8952a0
2 changes: 1 addition & 1 deletion common/busybox-mips64.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8a7f321ee8ed0fb85726de8d43d86ebf
4ed866fec3edc3c2a44a85f29628f3c2
2 changes: 1 addition & 1 deletion common/busybox-x86.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
170133693c4af03a6f311179793569ec
95800bfaa28b8670b1e616acea8ab537
2 changes: 1 addition & 1 deletion common/busybox-x86_64.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b8374521632f8e8520a1ea1ad2cc919c
a2fa19d85313bc5773f89e88ba76992f
5 changes: 3 additions & 2 deletions common/prints.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Google Pixel 2 (P DP1)=google/walleye/walleye:P/PPP1.180208.014/4633861:user/rel
Google Pixel 2 XL (8.1.0)=google/taimen/taimen:8.1.0/OPM4.171019.016.B1/4720843:user/release-keys
Google Pixel 2 XL (P DP1)=google/taimen/taimen:P/PPP1.180208.014/4633861:user/release-keys
HTC 10 (6.0.1)=htc/HTCOneM10vzw/htc_pmewl:6.0.1/MMB29M/774095.8:user/release-keys
HTC U11 (8.0.0)=htc/ocndtwl_01405/htc_ocndtwl:8.0.0/OPR6.170623.013/1017190.2:user/release-keys
Huawei Honor 6X (8.0.0)=HONOR/BLN-AL10/HWBLN-H:8.0.0/HONORBLN-AL10/528(C00):user/release-keys
Huawei Honor 9 (8.0.0)=HONOR/STF-L09/HWSTF:8.0.0/HUAWEISTF-L09/364(C432):user/release-keys
Huawei Mate 10 Pro (8.0.0)=HUAWEI/BLA-L29/HWBLA:8.0.0/HUAWEIBLA-L29S/137(C432):user/release-keys
Expand Down Expand Up @@ -59,7 +60,6 @@ Samsung Galaxy J3 (5.1.1)=ro.build.fingerprint=samsung/j3xnltexx/j3xnlte:5.1.1/L
Samsung Galaxy J5 2015 (6.0.1)=samsung/j5nltexx/j5nlte:6.0.1/MMB29M/J500FNXXS1BQG1:user/release-keys
Samsung Galaxy J5 (7.1.1)=samsung/j5xnltexx/j5xnlte:7.1.1/NMF26X/J510FNXXS2BRA2:user/release-keys
Samsung Galaxy J5 Prime (7.0)=samsung/on5xeltejv/on5xelte:7.0/NRD90M/G570FXXU1BQI6:user/release-keys
Samsung Galaxy Note 3 (7.1.1)=samsung/greatltexx/greatlte:7.1.1/NMF26X/N950FXXU1AQHA:user/release-keys
Samsung Galaxy Note 4 (6.0.1)=samsung/trltexx/trlte:6.0.1/MMB29M/N910FXXS1DQH9:user/release-keys
Samsung Galaxy Note 5 (7.0)=samsung/nobleltejv/noblelte:7.0/NRD90M/N920CXXU3CQH6:user/release-keys
Samsung Galaxy Note 8 (8.0.0)=samsung/greatltexx/greatlte:8.0.0/R16NW/N950FXXU3CRC1:user/release-keys
Expand Down Expand Up @@ -103,12 +103,13 @@ Vodafone Smart Ultra 6 (5.1.1)=Vodafone/P839V55/P839V55:5.1.1/LMY47V/20161227.13
Xiaomi Mi 3/4 (6.0.1)=Xiaomi/cancro/cancro:6.0.1/MMB29M/V9.5.2.0.MXDMIFA:user/release-keys
Xiaomi Mi 4C (7.0)=Xiaomi/libra/libra:7.0/NRD90M/V9.6.2.0.NXKCNFD:user/release-keys
Xiaomi Mi 5/5 Pro (8.0.0)=Xiaomi/gemini/gemini:8.0.0/OPR1.170623.032/V9.6.1.0.OAAMIFD:user/release-keys
Xiaomi Mi 5S (7.0)=Xiaomi/capricorn/capricorn:7.0/NRD90M/V9.2.1.0.NAGMIEK:user/release-keys
Xiaomi Mi 5S (7.0)=Xiaomi/capricorn/capricorn:7.0/NRD90M/V9.5.4.0.NAGMIFD:user/release-keys
Xiaomi Mi 5S Plus (7.0)=Xiaomi/natrium/natrium:7.0/NRD90M/V9.6.2.0.NBGMIFD:user/release-keys
Xiaomi Mi 6 (7.1.1)=Xiaomi/sagit/sagit:7.1.1/NMF26X/V8.2.17.0.NCACNEC:user/release-keys
Xiaomi Mi 6 (8.0.0)=Xiaomi/sagit/sagit:8.0.0/OPR1.170623.027/V9.2.3.0.OCAMIEK:user/release-keys
Xiaomi Mi A1 (8.0.0)=xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/V.9.5.10.0.ODHMIFA:user/release-keys
Xiaomi Mi Max 2 (7.1.1)=Xiaomi/oxygen/oxygen:7.1.1/NMF26F/V9.5.4.0.NDDMIFA:user/release-keys
Xiaomi Mi Mix 2 (8.0.0)=Xiaomi/chiron/chiron:8.0.0/OPR1.170623.027/V9.6.1.0.ODEMIFD:user/release-keys
Xiaomi Mi Mix 2S (8.0.0)=Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys
Xiaomi Mi Note 2 (8.0.0)=Xiaomi/scorpio/scorpio:8.0.0/OPR1.170623.032/V9.6.1.0.OADCNFD:user/release-keys
Xiaomi Redmi 3S/X Prime (6.0.1)=Xiaomi/land/land:6.0.1/MMB29M/V9.5.1.0.MALMIFA:user/release-keys
Expand Down
8 changes: 7 additions & 1 deletion common/propsconf_conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CONFTAGS=""
CONFSELINUX=""

CONFPROPS=""
CONFPROPSPOST=""
CONFPROPSLATE=""
PROPOPTION=replace

CONFDELPROPS=""
Expand Down Expand Up @@ -53,11 +55,15 @@ CONFWEB=enabled
# Please observe that if the prop you're trying to set contains spaces, you'll
# need to replace those spaces with "_sp_" (without the quotation marks).
#
# If you want a specific prop to run in either post-fs-data or late_start service,
# use either CONFPROPSPOST or CONFPROPSLATE instead. Any props added to CONFPROPS
# will run in the boot stage currently set in the module options (see CONFLATE below).
#
# With PROPOPTION you can decide if the current custom prop list should
# be replaced, added to or preserved. Add the corresponding words "replace",
# "add", or "preserve". The default option is to replace the list.
# This option supersedes the preserve option described below, but only
# for the CONFPROPS variable.
# for the CONFPROPS variables.

# CONFDELPROPS is a list of props you want to remove from your system.
# Be very careful when using this option, removing the wrong props might
Expand Down
13 changes: 9 additions & 4 deletions common/propsconf_late
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# In that case, feel free to delete it.

# Script version
SCRIPTV=13
SCRIPTV=14
SETTRANSF=2
NOTTRANSF="OPTIONLATE"

Expand Down Expand Up @@ -124,6 +124,8 @@ if [ -d "$MODPATH" ]; then

# ---Custom prop values---
CUSTOMPROPS=""
CUSTOMPROPSPOST=""
CUSTOMPROPSLATE=""

# ---Delete prop values---
DELETEPROPS=""
Expand All @@ -146,14 +148,16 @@ if [ -d "$MODPATH" ]; then
SETFINGERPRINT=false

# Edits prop values if set for late_start service
echo -e "\n--------------------" >> $LOGFILE 2>&1
log_handler "Editing prop values in late_start service mode."
if [ "$OPTIONLATE" == 1 ]; then
# ---Setting/Changing fingerprint---
print_edit
# ---Setting custom props---
custom_edit
# ---Deleting props---
prop_del
custom_edit "CUSTOMPROPS"
fi
# Edit custom props set for late_start service
custom_edit "CUSTOMPROPSLATE"
# Edit MagiskHide sensitive values
if [ "$PROPEDIT" == 1 ]; then
log_handler "Changing sensitive props."
Expand All @@ -168,6 +172,7 @@ if [ -d "$MODPATH" ]; then
fi
done
fi
echo -e "\n--------------------" >> $LOGFILE 2>&1

# ---Edits default.prop---
if [ "$DEFAULTEDIT" == 1 ] && [ "$FILESAFE" == 0 ]; then
Expand Down
14 changes: 8 additions & 6 deletions common/propsconf_post
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,19 @@ if [ -d "$MODPATH" ]; then
config_file

# Edits prop values if set for post-fs-data
echo -e "\n--------------------" >> $LOGFILE 2>&1
log_handler "Editing prop values in post-fs-data mode."
if [ "$(get_file_value $LATEFILE "OPTIONLATE=")" == 0 ]; then
echo -e "\n--------------------" >> $LOGFILE 2>&1
log_handler "Editing prop values in post-fs-data mode."
# ---Setting/Changing fingerprint---
print_edit
# ---Setting custom props---
custom_edit
# ---Deleting props---
prop_del
echo -e "\n--------------------" >> $LOGFILE 2>&1
custom_edit "CUSTOMPROPS"
fi
# Deleting props
prop_del
# Edit custom props set for post-fs-data
custom_edit "CUSTOMPROPSPOST"
echo -e "\n--------------------" >> $LOGFILE 2>&1

# Edits build.prop
if [ "$(get_file_value $LATEFILE "FILESAFE=")" == 0 ]; then
Expand Down
Loading

0 comments on commit dde6871

Please sign in to comment.