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.61k stars 242 forks source link

Bootloop miui 14 /PlayInt16.7 #380

Closed RYSKLE closed 1 month ago

RYSKLE commented 1 month ago

Hello,

Everything was working with play integrity 16.5 Today saw cts failed. Updated to 16.7, then bootloop cannot solve it. Im on mi 11 Ultra with miui 14 and android 13. Im still in bootloop cannot solve it even after restoring boot.img saved in twrp or downgrading to 16.5 I dk what happened with 16.7 please Thanks for your help

RYSKLE commented 1 month ago

So this is what i have done : -disabled all module. Didn't work -downgrade to 16.5 didn't work -install boot.img from old save twrp didn't work -install boot.img from rom. Phone booted but when i installed a new flashed boot.img with new magisk phone bootloop again. -i install magisk uninstaller to get ride of all magisk file

Anyone can help with that magisk issue now after installing play integrity 16.7 ?

I need root back to the phone i can wait until we have a fix for play integrity tho.

I will try to go root from scratch step by step adding module until 16.5.

osm0sis commented 1 month ago

Do you have Viper4Android installed? This user in the thread managed to get out of the bootloop when rooted by removing it and PIF.

https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/page-953#post-89622031

RYSKLE commented 1 month ago

No i dont use that module, and i disabled all magisk module. Right now its bootloop just with plain magisk and 16.7 installed. I also bootloop if go back to 16.5 which is worse now, even reverting version isn't helping much

osm0sis commented 1 month ago

Do you still bootloop if you fully uninstall all modules? Not just disable, fully uninstall them.

RYSKLE commented 1 month ago

Yes i disabled all modules from magisk i still bootloop. now i try uninstall them and magisk from scratch and put them again one by one. as all modules were working perfectly with PIF 15.5. Update broke something in the phone that cant be reverted for now if magisk is installed.

osm0sis commented 1 month ago

That it only bootloops while rooted but all modules removed is very weird.

RYSKLE commented 1 month ago

tell me about it. driving me crazy usually disabling last installed module solve the bootloop. Today im going trought hell uninstalling all and setting them again just to get back the root right. fixing PFI would be next step

osm0sis commented 1 month ago

Probably just switch to my fork where I don't make such drastic changes without thorough testing.

RYSKLE commented 1 month ago

instaling Magisk from scratch works, phone boot. Tried first module was 16.7 to see if it works ... bootloop again. Downgrading to 16.5 works now. Installing my modules back and i will wait for a fix for the 16.7

M3551 commented 1 month ago

yes everything was normal, got bootloop when updating to 16.7, confirm the bootloop was from 16.7 integrity fix. (got in safemode and uninstall v16.7, device then boot normally) - send from redmi note 11 hyper os 1.0.3.0. Magisk Canary 27004

RYSKLE commented 1 month ago

After installing from scratch everything works root and modules. Cts broken waiting for new fix of PIF

chiteroman commented 1 month ago

Can you try using this version? https://github.com/chiteroman/PlayIntegrityFix/releases/tag/v16.8

Slejpnir commented 1 month ago

Didn't work for me...

fifi501 commented 1 month ago

Yes i disabled all modules from magisk i still bootloop. now i try uninstall them and magisk from scratch and put them again one by one. as all modules were working perfectly with PIF 15.5. Update broke something in the phone that cant be reverted for now if magisk is installed.

Start phone in Save mode then it works after safe mode you can start normal and activate all modules except play integity 1.67

fifi501 commented 1 month ago

Can you try using this version? https://github.com/chiteroman/PlayIntegrityFix/releases/tag/v16.8

1.68 also boot loop on Hyper Os Xiaomi 13 pro Android 14. Last workig version without boot loop 1.65

osm0sis commented 1 month ago

Any bootloop with this? https://github.com/4h9fbZ/PlayIntegrityFork/actions/runs/10024548087

That would basically narrow it down to the new signature spoof code, if so.

fifi501 commented 1 month ago

Any bootloop with this? https://github.com/4h9fbZ/PlayIntegrityFork/actions/runs/10024548087

That would basically narrow it down to the new signature spoof code, if so.

yes also end up in a boot loop.

osm0sis commented 1 month ago

Thanks for confirming.

osm0sis commented 1 month ago

Just to be absolutely certain, what about my latest build that doesn't have the signature spoof commit? https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10001375019

Magisk 27004 recommended first just due to some of the script changes.

M3551 commented 1 month ago

Just to be absolutely certain, what about my latest build that doesn't have the signature spoof commit? https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10001375019

Magisk 27004 recommended first just due to some of the script changes.

Confirming it's bootlooping too, the pre release 16.8 version - sent from redmi note 11 pro, HyperOS 1.0.3.0 Magisk Canary 27004

M3551 commented 1 month ago

TBH Play integrity works perfectly on Magisk Canary 27003 (previous version) bootlooping start when I updated to 27004 and then update play integrity fix v16.7

fifi501 commented 1 month ago

I have magisk canary 27004 and both 1.67 u 1.68 have boot loop

M3551 @.***> schrieb am Di., 23. Juli 2024, 14:14:

TBH Play integrity works perfectly on Magisk Canary 27003 (previous version) bootlooping start when I updated to 27004 and then update play integrity fix v16.7

— Reply to this email directly, view it on GitHub https://github.com/chiteroman/PlayIntegrityFix/issues/380#issuecomment-2244334289, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEIQKD6ZGY5TMHRZXRP5CSLZNXYCVAVCNFSM6AAAAABLHSJ2UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUGMZTIMRYHE . You are receiving this because you commented.Message ID: @.***>

gperouffe commented 1 month ago

I just had the same problem using Magisk 27000 and PIF 16.7, on Xiaomi Mi 11 ultra with ROM xiaomi.eu 14.0.13.0

chiteroman commented 1 month ago

Can you try this one? https://nightly.link/chiteroman/PlayIntegrityFix/workflows/android/main/PlayIntegrityFix.zip

M3551 commented 1 month ago

Can you try this one? https://nightly.link/chiteroman/PlayIntegrityFix/workflows/android/main/PlayIntegrityFix.zip

Screenshot_2024-07-23-15-12-52-852_rikka safetynetchecker hi your new update works perfectly, no bootloop, CTS pass thanks for fixing Screenshot_2024-07-23-15-12-34-970_hxe sjjpsqf Screenshot_2024-07-23-15-12-39-377_hxe sjjpsqf

fifi501 commented 1 month ago

work again wihtout boot loop. thx

gperouffe commented 1 month ago

It's working again for me too, thank you!

osm0sis commented 1 month ago

Can someone try this one? chit removed a bunch in his, but I think I know exactly which prop was the culprit and want to confirm.

https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10058368291

RYSKLE commented 1 month ago

I tried the other version not yours. No bootloop cts failed.

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Chris Renshaw @.> Sent: Tuesday, July 23, 2024 9:55:21 PM To: chiteroman/PlayIntegrityFix @.> Cc: RYSKLE @.>; Author @.> Subject: Re: [chiteroman/PlayIntegrityFix] Bootloop miui 14 /PlayInt16.7 (Issue #380)

Can someone try this one? chit removed a bunch but I think I know exactly which prop was the culprit.

https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10058368291

— Reply to this email directly, view it on GitHubhttps://github.com/chiteroman/PlayIntegrityFix/issues/380#issuecomment-2245030779, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBXZ3L5HSIGT2SKTDMR5HGTZNZACTAVCNFSM6AAAAABLHSJ2UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGAZTANZXHE. You are receiving this because you authored the thread.Message ID: @.***>

osm0sis commented 1 month ago

Yeah, it would be good to know exactly what the problem was. Please try mine and report back, then if that one still is a problem I'll have another real quick.

M3551 commented 1 month ago

Can someone try this one? chit removed a bunch in his, but I think I know exactly which prop was the culprit and want to confirm.

https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10058368291

sure I'll test when I get back home

M3551 commented 1 month ago

Yeah, it would be good to know exactly what the problem was. Please try mine and report back, then if that one still is a problem I'll have another real quick.

Still got bootloop from your latest version.

osm0sis commented 1 month ago

Thanks for checking, so it's not the first one I thought. Hold on a moment please and I'll have another candidate.

osm0sis commented 1 month ago

@M3551 And this one? https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10059493261

RYSKLE commented 1 month ago

bootloop fixed, cts failed bank app still works, play store device certified. But google wallet detect root... Dont know how he is in denylist and PIF installed

M3551 commented 1 month ago

@M3551 And this one? https://github.com/osm0sis/PlayIntegrityFork/actions/runs/10059493261

just tested that version, bootloop too! Seems like a hard rock, doesn't it

osm0sis commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

chiteroman commented 1 month ago

@osm0sis https://github.com/chiteroman/PlayIntegrityFix/commit/527de921c747eba2dc4592ae1cebe50602c16a09#diff-3e0e62fa7f67d0e52f239dc35e03a0fa214261825c6f2479239e0ec0e7ffde96L57

Maybe this prop is the problem ?

osm0sis commented 1 month ago

@osm0sis 527de92#diff-3e0e62fa7f67d0e52f239dc35e03a0fa214261825c6f2479239e0ec0e7ffde96L57

Maybe this prop is the problem ?

That's been there for ages. And it's in Shamiko. 🀔

chiteroman commented 1 month ago

Guys with bootloops can you try this version? https://nightly.link/chiteroman/PlayIntegrityFix/workflows/android/main/PlayIntegrityFix.zip

I think the issue is this prop: https://github.com/chiteroman/PlayIntegrityFix/commit/063350c2ba64c38e0401b2e4eebb67f628b55a8b

osm0sis commented 1 month ago

It's been there for 6 months in PIFork (since v6):

https://github.com/osm0sis/PlayIntegrityFork/commit/a9630901b38e136fc7ff9f2584c10565f7c111f3

RYSKLE commented 1 month ago

Can you try this one? https://nightly.link/chiteroman/PlayIntegrityFix/workflows/android/main/PlayIntegrityFix.zip

Screenshot_2024-07-23-15-12-52-852_rikka safetynetchecker hi your new update works perfectly, no bootloop, CTS pass thanks for fixing Screenshot_2024-07-23-15-12-34-970_hxe sjjpsqf Screenshot_2024-07-23-15-12-39-377_hxe sjjpsqf

Can you please share what's your set-up in detail : Version of PIF : denylist on/off : what module are you using : Zygisk on/off : app need to be in deny from google : order of install/cleaning data : Lsposed installed yes/no : any additional app used to help cts success: android version/magisk version : Any additional tip you got please 🥺

I tried everything, my modules are off except PIF, Clean install like 50 times, tried couple of apps. Nothing is helping, sometimes play store got certification which allow banks apps to work but wallet keep detection root on my device.

Really appreciate the help

osm0sis commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

@M3551 if you could start with my released v9 that would rule out/in a lot of this stuff. https://github.com/osm0sis/PlayIntegrityFork/releases

M3551 commented 1 month ago

Can you try this one? https://nightly.link/chiteroman/PlayIntegrityFix/workflows/android/main/PlayIntegrityFix.zip

Screenshot_2024-07-23-15-12-52-852_rikka safetynetchecker hi your new update works perfectly, no bootloop, CTS pass thanks for fixing Screenshot_2024-07-23-15-12-34-970_hxe sjjpsqf Screenshot_2024-07-23-15-12-39-377_hxe sjjpsqf

Can you please share what's your set-up in detail : Version of PIF : denylist on/off : what module are you using : Zygisk on/off : app need to be in deny from google : order of install/cleaning data : Lsposed installed yes/no : any additional app used to help cts success: android version/magisk version : Any additional tip you got please 🥺

I tried everything, my modules are off except PIF, Clean install like 50 times, tried couple of apps. Nothing is helping, sometimes play store got certification which allow banks apps to work but wallet keep detection root on my device.

Really appreciate the help

Sure thing I use Magisk Canary because I use Shamiko module. Zygisk on, install shamiko and play integrity fix & lposed, hide the magisk app, configure denylist to hide any service,google, banking apps... (DON'T FORCE DENYLIST)

Then clear google play, play services frame work, play services app data & your banking app too. Restart. If it doesn't work, then your banking app probably checking bootloader unlocked. You can use BootloaderSpoofer in Lposes (BUT ONLY USE IT WHEN THE MENTIONED METHODS DOESN'T WORK!) I don't use bootloader spoofer for my baking apps in the moment. Also, install Yasnac to check you google play Final note: SHAMIKO, PLAY INTEGRITY are the only modules that I need but I do face some problems with government app (my government app check bootloader unlock 🀧 ![Uploading Screenshot_2024-07-24-23-49-50-476_com.android.shell.jpg
]()

M3551 commented 1 month ago

Oh yeah, remember to expand the denylist and check the top box so that you ✅ ALL THE BOXES like my picture

Screenshot_2024-07-24-23-59-45-137_com topjohnwu magisk

M3551 commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

@M3551 if you could start with my released v9 that would rule out/in a lot of this stuff. https://github.com/osm0sis/PlayIntegrityFork/releases

is it this version highlighted? Screenshot_2024-07-24-23-57-49-894_com android chrome-edit

osm0sis commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

@M3551 if you could start with my released v9 that would rule out/in a lot of this stuff. https://github.com/osm0sis/PlayIntegrityFork/releases

is it this version highlighted? Screenshot_2024-07-24-23-57-49-894_com android chrome-edit

That is the equivalent CI build to the one in my releases link, yes! 👍

If you're on Shamiko 1.1 you might want to start with the "use unique project name" one above that however, since it works around a Shamiko bug that crashes DenyList apps.

M3551 commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

@M3551 if you could start with my released v9 that would rule out/in a lot of this stuff. https://github.com/osm0sis/PlayIntegrityFork/releases

is it this version highlighted? Screenshot_2024-07-24-23-57-49-894_com android chrome-edit

That is the equivalent CI build to the one in my releases link, yes! 👍

If you're on Shamiko 1.1 you might want to start with the "use unique project name" one above that however, since it works around a Shamiko bug that crashes DenyList apps.

Yes still get bootloop from V9 "https://github.com/osm0sis/PlayIntegrityFork/releases"

osm0sis commented 1 month ago

@M3551 Indeed! Can you please go back through my Actions builds here and tell me the first commit that works? https://github.com/osm0sis/PlayIntegrityFork/actions

@M3551 if you could start with my released v9 that would rule out/in a lot of this stuff. https://github.com/osm0sis/PlayIntegrityFork/releases

is it this version highlighted? Screenshot_2024-07-24-23-57-49-894_com android chrome-edit

That is the equivalent CI build to the one in my releases link, yes! 👍 If you're on Shamiko 1.1 you might want to start with the "use unique project name" one above that however, since it works around a Shamiko bug that crashes DenyList apps.

Yes still get bootloop from V9 "https://github.com/osm0sis/PlayIntegrityFork/releases"

Wow, are you on xda? Please PM me so we can directly test prop combinations and find the root of the issue.

RYSKLE commented 1 month ago

Oh yeah, remember to expand the denylist and check the top box so that you ✅ ALL THE BOXES like my picture

Screenshot_2024-07-24-23-59-45-137_com topjohnwu magisk

Thank you so much. Perfectly clear explanation. I got everything to work with my previous PIF release and updated module fingerprint from Xiaomi.eu. but only temporary as i setup Gwallet with fake cts match. Now its still failing but the apps are working. I will give a try to your way of doing it on my other phone mi 14 ultra and see how integrity react.

Hopefully none of my apps check bootloader that's hell of a way for doing it 😅.

I can give a try to the last PIF but i think its still bootloop on the v9. Let me know if you need a second tester 👍