Skip to content

Commit

Permalink
Merge pull request #5 from MlgmXyysd/master
Browse files Browse the repository at this point in the history
Fix fingerprint on ColorOS Non-A/B devices
  • Loading branch information
wuxianlin authored Nov 12, 2021
2 parents 3e09d41 + 255e95d commit 64b8e79
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 27 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Magisk Module for ColorOS

feature
## feature

fix fingerprint when magiskhide enabled

remove developer options warning notification
- fix fingerprint when magiskhide enabled
- remove developer options warning notification
- fix fingerprint on ColorOS Non-A/B devices

1 change: 0 additions & 1 deletion customize.sh

This file was deleted.

6 changes: 3 additions & 3 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=coloros-magisk
name=Magisk ColorOS
version=1.0
versionCode=1
author=wuxianlin
version=1.1
versionCode=2
author=wuxianlin & MlgmXyysd
description=Magisk Module for ColorOS
9 changes: 3 additions & 6 deletions post-fs-data.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
MODDIR=${0%/*}

# This script will be executed in post-fs-data mode
resetprop ro.boot.flash.locked 0
resetprop ro.boot.vbmeta.device_state unlocked
resetprop ro.boot.verifiedbootstate orange
15 changes: 9 additions & 6 deletions service.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/system/bin/sh
# Do NOT assume where your module will be located.
# ALWAYS use $MODDIR if you need to know where this script
# and module is placed.
# This will make sure your module will still work
# if Magisk change its mount point in the future
MODDIR=${0%/*}

# This script will be executed in late_start service mode
# Make SafetyNet pass

while [ "$(getprop sys.boot_completed)" != "1" ]; do
sleep 1
done

resetprop ro.boot.flash.locked 1
resetprop ro.boot.vbmeta.device_state locked
resetprop ro.boot.verifiedbootstate green
6 changes: 0 additions & 6 deletions system.prop

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!-- This file is auto-generated. DO NOT MODIFY. -->
<permissions>
<feature name="oppo.systemui.highlight.nodeveloper" />
<feature name="oppo.settings.verification.dialog.disallow"/>
Expand Down

0 comments on commit 64b8e79

Please sign in to comment.