chiteroman / PlayIntegrityFix

Fix Play Integrity (and SafetyNet) verdicts.
https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/
GNU General Public License v3.0
4.62k stars 242 forks source link

some issues on lineageos #424

Closed long-crypto closed 18 minutes ago

long-crypto commented 1 day ago

i have checked your service.sh, you set resetprop_if_diff for some props but lingageos seems not have these props. so, i have to set resetprop ro.boot.flash.locked 1 resetprop ro.boot.verifiedbootstate green resetprop ro.secureboot.lockstate locked resetprop ro.boot.vbmeta.device_state locked again to bypass nativetest detection. can you add these for custom rom? not resetprop_if_diff but resetprop. thank you!

Stillhard commented 1 day ago

i have checked your service.sh, you set resetprop_if_diff for some props but lingageos seems not have these props. https://github.com/chiteroman/PlayIntegrityFix/blob/8701a60f2f3d58172f394fc6e0954f1f2d6b3140/module/common_func.sh#L38

long-crypto commented 1 day ago

so, -z "$CURRENT" Checks if CURRENT is empty. If it is empty, this condition is true. for lineageos, it is empty. so it will not do "resetprop" this command. but nativetest check this prop. before i filled resetprop after service.sh conventional tests show 11, After it show 10. i assumed the first 1 for check custom rom. so i ignored it.

chiteroman commented 18 minutes ago

If the props don't exist, why do you want to create them? Also, not a PIF issue.