Skip to content

Instantly share code, notes, and snippets.

@ngocdangrby
Created August 30, 2024 12:40
Show Gist options
  • Select an option

  • Save ngocdangrby/e9a515956207c94122615ad7d56126d8 to your computer and use it in GitHub Desktop.

Select an option

Save ngocdangrby/e9a515956207c94122615ad7d56126d8 to your computer and use it in GitHub Desktop.
Bypass Authy integrity with Rooted Android phone

It took me 3 days to pass the error The device does not meet the minimum integrity requirements.

Finally, I exported my Authy from my Android 14 phone on custom ROM.

  • Phone: Realme GT2
  • ROM: custom ROM PixelOS
  • State: Root already
  • Android: 14
  • Integrity: MEETS_DEVICE_INTEGRITY

Here are some steps for you:

  1. Replace Magisk with Kitsune Magisk: https://github.com/HuskyDG/magisk-files/releases/

  2. Install module PlayIntegrityFix: https://github.com/chiteroman/PlayIntegrityFix

  3. Install module MagiskHidePropsConf: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/releases

  4. Reboot

  5. Use https://github.com/TheFreeman193/PIFS to change finger print to pass MEETS_DEVICE_INTEGRITY

  6. Open Kitsune: enable Zygisk, MagiskHide

  7. Enable magisk hide for: com.google.android.gms, com.google.android.gms:unstable, Google Store

  8. Clear Google Store, Google Play Service data then reboot again

  9. Go to Google Store, install latest Authy. DONOT open it (make sure you install from google store, do not install apk)

  10. Go to Kitsune, enable magiskHide for Authy (deny list)

  11. Open Authy, login. ->> should login ok

  12. Use Agis to import from Authy

  13. Use Agis to export to QR HTML

refer: https://gist.github.com/gboudreau/94bb0c11a6209c82418d01a59d958c93

@alexhenrie
Copy link

Any workaround to make the device integrity check pass on Lineage is going to be fragile at best. Can you use Google Wallet and DKB from a web browser? My personal plan is to get a second phone if I absolutely have to use an app that insists on running on stock Android.

@codinggamer-dev
Copy link

I dont have any problem with reinstaling lineageos on my phone, because i just set it up. I need the DKB App because of when i buy something online i need to confirm with the app. also for wallet i want to pay contactless with my phone.... iam ready for everything!

Any workaround to make the device integrity check pass on Lineage is going to be fragile at best. Can you use Google Wallet and DKB from a web browser? My personal plan is to get a second phone if I absolutely have to use an app that insists on running on stock Android.

@KreAch3R
Copy link

Last time I tried it, you needed LOS (Android 15), and Magisk, PIF, Tricky Store, and Integrity box. Don't use anything else because in my case things clashed. You didn't mention that you enabled Zugisk in Magisk settings and then hid the app. Try my steps with the latest changes from @alexhenrie , don't install anything else on the device (a clean LOS install), do a reboot and play store / services clear data, and check if it works.
In some case, you might be inside the timeframe that one keybox becomes invalid and then a new integrity box will come out. Try to wait a couple of days to check if v24 or whatever will come out.

In my case, I found a lot of invalid keyboxes (inside integrity box or not) and that was messing up the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment