yashsingh1/xdaforums huggingface dataset:
[Magisk] maretodoric:
Following steps worked for me for McDonlad's version 2.20.1

- Remove the app

- Remove Lucky Patcher

- Hide he Magisk app (mask it as Settings)

- Enable MagiskHide

- Install the App (don't open it)

- Hide McDonalds from Magisk (There are 2 versions to hide when you check McDonalds, check them both)

- Run McDonalds app

Honestly, what i think it helped is removing Lucky Patcher, as I've tried all the above steps without removing lucky patcher, but when i did so in the above order, McDonalds started working.

I had the error "It appears like the application has been installed from unknown source, please install the application from Google play". Weird.
[Magisk] 2khaos:
Guuuuuuys, I found a solution!

Tested on my OP Nord running OxygenOS & Magisk.​

Follow those steps:

- download App Manager, give root permissions and such things

- install McDonald's app from play store

but don't open it

- enable Magisk Hide inside Magisk app

View attachment 5422781

- open App Manager, search for McDonald

View attachment 5422785

- tap on the little tracker bubble just under the app name

- select all trackers & tap block

View attachment 5422787

- navigate to 'App ops' tab and remove all the permissions highlighted in RED

View attachment 5422789

- do the same thing in the next following tab, named 'Uses permission'

View attachment 5422791

(there's a faster way while you are on the right tab -> three dots menu -> tap on 'Deny dangerous app ops')

- once you removed all those RED permissions you have to return in the first tab, named App Info

- from there you need to force stop the app (if active) and tap on 'clear data' plus 'clear cache' (you have to swipe a bit on the right, check the second picture)

- tap on Launch, the app will open

- select country and language

- the app will load contents without any warning 'bout your rooted phone (yayyyy)

View attachment 5422795

- login and navigate to offers

View attachment 5422803

- here you are, rush at the nearest McDonald, get your covid pass scanned, order your low-priced-nuggets and enjoy being a proud, worthless and rotten product of your beloved turbo-capitalism. Sheep. 🐑

don't worry: I love nuggets too. Lemme know if it's working. Have a nice day ✌️
[Magisk] tiagomachado02:
I dont have root so i cant do it like that, thx tho:(
[Magisk] 2khaos:
Sir, this is a thread about McDonald's app error code on devices

rooted

with Magisk

Sorry to hear that you can't follow my little guide
[Magisk] tiagomachado02:
I have the same error but no root... My problem is a non google certified phone but thx
[Magisk] jpslvie:
* please delete *
[Magisk] jpslvie:
Doesn't work for me...
[Magisk] semhsp:
Nice guide but it's still not working, guess I'll go to Burger King lmao
[Magisk] NathRefalo:
Has anyone found a solution to the mcd app problem in 2021? Ive been trying to find a solution for weeks but nothing works. Pls help
[Magisk] Alexium2022:
I installed on Magisk v24 the Universal SafetyNetFix V 2.2.1 by user kdrag0n on my Redmi Note 8 Ginkgo and it worked. The App Manager is a dud for me.

Release v2.2.1 (Zygisk) · kdrag0n/safetynet-fix

Changes Fixed under-display fingerprint sensor on Realme devices (thanks @osm0sis, @byxiaorun, @Jowat97) Clarified definition of "basic attestation" in readme Add check to prevent installation on ...

github.com

Release v2.1.3 (Riru) · kdrag0n/safetynet-fix

Changes Fixed under-display fingerprint sensor on Realme devices (thanks @osm0sis, @byxiaorun, @Jowat97) Clarified definition of "basic attestation" in readme Add check to prevent installation on ...

github.com
[Magisk] NathRefalo:
What do you do after installing the file?
[Magisk] Alexium2022:
Well I first downloaded the file on my laptop and put it on my SD on the phone. Then I went to magisk - modules - instal from storage and installed it. It did a reboot and when it came back i did a check for safetynet and then started the McDonald's app that was already installed and it passed from

that error message into the app. I did have magisk hidden and the app added to denylist
[Magisk] NathRefalo:
It doesnt let me press the modules icon
[Magisk] Alexium2022:
I am not an expert. But I believe you do not have Zygisk. It says right there on your screenshot. I do.
[Magisk] Alexium2022:
After that maybe go to modules and press install from storage. If that don't work, maybe someone will help you here. Good luck !
[Magisk] NathRefalo:
What do i do to get zgisk though?
[Magisk] Alexium2022:
When I updated magisk to version 24 with TWRP the feature was there "on" just like that.
[Magisk] cheekylicious:
This worked for me for v2.37.0
[Magisk] Alexium2022:
Well, this joy lasted short. I was on magisk 24.1 and zygisk but when i tried to open mcd app tonight it kept crashing. I unistalled it and got the latest. Same, crashing. I updated magisk to 24.2. Still crashing.
[Magisk] cheekylicious:
Mine's still working correctly! Are you using LSposed?
[Magisk] Alexium2022:
Well, this joy lasted short. I was on magisk 24.1 and zygisk but when i tried to open mcd app tonight it kept crashing. I unistalled it and got the latest. Same, crashing. I updated magisk to 24.2. Still crashing

I do now. Still no change. I can t read code. Any idea of the log ?
[Magisk] cheekylicious:
Now download the apk from here. After installing, you will be able to see its module in LSposed. Just enable it, then force stop Mcdonald's, clear its data and you are good to go.
[Magisk] Alexium2022:
No succes. Maybe something I did not check properly, installed properly or it just don't work or the issue for crashing is not related. I even messed with another module, xprivacylua. I am waiting for other updates. And use another phone unrooted for the app.
[Magisk] SerjoHacks:
If you have the Magisk version 24, then install the Shamiko module (requires Zygisk enabled). Then after installing Shamiko, install Magisk with a different name, then then turn on the Deny List (with Zygisk enabled). Look for McDonald's, hide it, then turn off the Deny List. Then install the Universal Safety Net FIX module. After that, install McRoot (which was thrown to you above), go to LSPosed, turn on the module and reboot the device. After that, you should not have root rights detected in the application.

Personally, it helped me.
[Magisk] Wappenull:
Working with McDonald 2.40.1

- Magisk deny list the McDonald app

- Magisk changed the package name

- Installed Magisk "Universal Safety Net FIX"

- I'm using LSPosed, so install LSPosed "McRoot", and enable it in LSPosed app

- Reboot once

- btw I did not install that "Shamiko" thing. I have Magisk setting "Enforce DenyList" = ON.

Redmi Note 10 pro on MIUI Global 12.5.9 (boot loader unlocked, rooted)

Magisk 24.2

P.S. As someone pointed out, this one is more annoying than banking app. lol.

Simply having boot loader unlocked would make app refuse to run, you need to go to an extra extent to root your phone, install several modules to shut that thing up.
[Magisk] MiSSigNNo:
Finally, after months, McDonalds app working again. Lost 1 Big Mac in points for this **** :ROFLMAO:

Not really I had PE 12 and it just worked fine. It detects Magisk because it surely opens a secondary process with Chromium to detect Root. Many banking apps do this. Kind of annyoing. But if you stay out of Magisk it works fine. As soon as you install Magisk it breaks forever. Even if you install Magisk again. You need to clean flash your ROM again or do this trick
[Magisk] justjey:
Guys, I'm using a Huawei P40 with native GMS running and some modded apps. Phone not rooted. Anyway can help bypass it?

Thanks.
[Magisk] tiagomachado02:
Seme, nothing yet from what i have seen
[Magisk] justjey:
What an app🤪😂
[Magisk] Staudyy:
Did you fix the crashing? Because no matter what I do the app closes right as the loading screen finishes. I don't get the "root detected" message anymore the app just crashes. I am on MIUI 12.5. For fixing the root detection I used Shamiko, Hide My Applist, McRoot. I pass safetynet and i pass all checks in Oprek Detector. Any ideas?
[Magisk] IUseArchByTheWay:
Found a way to bypass the root check this is how i did it on my redmi note 9 rooted (magisk) with project elixir custom ROM

1. Hide Magisk in Magisk settings

2. Enforce DenyList and then go to configure denylist find "Google Play services" and check "com.google.android.gms" and "com.google.android.gms.unstable"

3. Clear storage and cache for the mcdonalds app through system settings or any other way

4. Reboot your phone

Thats how i did it might help some people

and im pretty sure it just relys on safetynet
[Magisk] seba2kk:
Last night I was able to launch. DenyList + safetynet + make sure device is certified in Play Store.
[Magisk] justjey:
but im on stock, not going for gms and phone was install will some crack app. still not working... stupid app.
[Magisk] cichy63:
Thank you, this method worked for me. PE12+ on Pixel 3a.
[Magisk] mx597turbo:
I'm on A13 Nameless. Can't get the app to work, even will all the fixes in this thread.
[Magisk] erstazi:
Thank you! This method worked for me on LineageOS 19.1 on Pixel 5a 5g.
[Magisk] ayuinaba:
I'm really upset about this - I was using LineageOS 17.1 with GApps on my ASUS Zenfone Max Pro M1, and after a whole bunch of months of delaying updating to the latest version, I backed up everything and went the MicroG route, as I had installed it before for YouTube Vanced.

Turns out to have been a mistake, because I'm currently experiencing all these issues with getting it to work. I had my LineageOS 17.1 rooted before, I was using Magisk with HideProps, Enforced Denylist, SafetyNet Fix, and everything worked perfectly.

Now that I've upgraded to LineageOS 19, I've been tinkering with everything at my disposal to get it to work: Zygisk enabled, LSPosed with Shamiko, the HideProps for LineageOS Magisk module, XPrivacyLua, HideMyApplist, McRoot, and absolutely nothing works. The app just keeps crashing every time I open it. It loads, then it crashes. When I open it, it complains that it wasn't installed from the Play Store, even with McRoot, or it loads and crashes instantly. The first few times I tried it with LineageOS4MicroG installed, it actually allowed me to login, and it worked for a few hours, until it crashed and stopped working entirely. And that was before I even fiddled with McRoot and all those other modules.

I've wiped my phone from top to bottom 3 times already. Tried with vanilla LineageOS, installed MicroG Revived through Magisk, even less luck that way.

As it is now, LineageOS4MicroG passes every single check on the Self-Check page, passes YASNAC (I know SafetyNet is being deprecated), passes TB Checker's Root and Xposed Check - except for the "Magisk Random Package Name". I've even installed Magisk Delta instead, because I read it would possibly be able to work better with MagiskHide - it doesn't.

The one thing it doesn't pass at all, and I think is the underlying cause of it, is the Google Play Services API - throws an error "-9: unknown status code: -9" - which makes me wonder if they're strictly contacting Google Play Services in order to even launch the app. My banking app does no such thing. It works perfectly by simply hiding it in Magisk.

Another note: Play Integrity API Checker just doesn't work at all either - says "Error getting token from Google; Binding to the service in the Play Store has failed; This can be due to having an old Play Store version installed on the device."

Yet another note: when checking the LSPosed verbose logs, there's one error consistently throughout my attempts: "FATAL EXCEPTION: main Process: com.mcdonalds.mobileapp"; "java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mcdonalds.mobileapp/mcdonalds.core.MainActivity}: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0".

Would it be related to Bromite SystemWebView? Cause it was happening even with the Chromium WebView prior to me making that change.

EDIT: It's NOT related to the SystemWebView whatsoever - read my latest post in this thread.
[Magisk] anorbana:
Hey, anyone had so problem with Mcdonalds app?

Gapps + Play Store + Mcdonalds installed from Play Store -> Logged of from play store -> disabled play store -> error that mcdonalds is installed from unknown source. this app work for me only when i have enabled play store and loggedin with google account... in the past it worked when was only installed from play store or with adb and as installer app com.android.vending (Safetynet passed successfully)

In another smartphone where i have CalyxOS

MicroG, FakeStore, passed safetynet, installed Mcdonalds apps with ADB so it looks like was installed from play store:

adb install -i "com.android.vending" -r '.\McDonald''s_2.58.0_Apkpure.apk'

App said like with my first phone with gapps

Anyone know fix for it?

I want to use this app with my CalyxOS without root.
[Magisk] ayuinaba:
Sadly, I only got it working with a custom ROM with GApps included - specifically Project Elixir.

I tried again, and failed, with MicroG. It just doesn't work. The app expects the legitimate Play Store and Play Services every time. Not only that, but it required me to do a whole workaround even with the Play Integrity API passed - albeit without STRONG_INTEGRITY.

Here's what I did to get it to work:

1. Installed custom ROM from scratch, with Magisk. Project Elixir had all the default Google apps, but I didn't have to log into a Google account to use it.

2. Installed the Magisk apk, as I had flashed it as a .zip file in recovery, and then it prompted me to reboot.

3. Hid the Magisk app, enabled Zygisk, rebooted.

4. Configured DenyList to hide McDonald's and Google Play Services, as instructed in this thread. Enforced DenyList. Didn't work - the app kept crashing at launch as before.

5. Decided to go the LSPosed route - installed LSPosed Magisk module, rebooted. Installed Universal SafetyNet Fix 2.4.0, rebooted. For the LSPosed module to work properly, I had to disable Enforce DenyList, but kept the configuration as is (McDonald's app included). Important: If you use this method, and you want to keep using Magisk DenyList with other apps (e.g. banking apps), you must enforce denylist and uncheck the McDonald's app.

6. At this point, Play Integrity API was passing - however, the McDonald's app still refused to work.

7. So I decided to install the LSPosed module, McRoot, as my last resort. Enabled it for the McDonald's app, rebooted.

8. And... it just worked. It was the only way I could make it work. I uninstalled the app again, got it from the Aurora Store, enabled the McRoot module, and it worked that way as well. Didn't complain of it being installed outside of the Play Store, didn't crash, nothing. Just worked as it should.

In conclusion, I don't think MicroG as it is is reliable enough to spoof the Play Store and the Play Services completely, and I don't think it will ever happen, as MicroG is just not intended to work for these edge cases. In any case, if they're able to implement this, I would be elated, as I absolutely hate to depend on Google for everything.

I'm currently replacing the default Google apps on my system, making sure everything works, and looking into Systemless Debloat.

Thank you for all your contributions in this thread and others - I had to do a lot of reading and had a lot of frustration to reach this point.
[Magisk] MikeZh:
McRoot

updated

: crash fixes, reduce size and block tracker
[Magisk] kevinco1:
It been working for months with Magisk Delta installed, switch over to that fork and most of all your hiding needs will be met
[Magisk] Svirusx:
For me Mcdonalds app dont work when i install it and try configure with Microg (Play Integrity Checker API -> MEETS_DEVICE_INTEGRITY failed + MEETS_BASIC_INTEGRITY success)

but i found another way. Second smartphone with gapps + Magisk. Configure Mcdonalds app on it.

Backup with App Manager and restore at smartphone with Microg. Not perfect solve because it works only for main profile, work profile recovery looks like bugged.

Is here any way to get MEETS_DEVICE_INTEGRITY success with microg?

Tried MCroot too it works only to start and configure apps but when i want use my points to get rewards it says about security and dont work, in work profile is not possible to login in app with mcroot.
[Magisk] ayuinaba:
How did you get Play Integrity Checker API to work with MicroG? I'm using LineageOS with MicroG and it gives me an error binding to Play Store, and the McDonald's app launches with McRoot, but the menu is completely blank, as I've detailed here: https://xdaforums.com/t/mod-xposed-4-1-mcroot-mcdonalds-global-app.4265069/post-88395051
[Magisk] Svirusx:
I installed Minmicrog standard, when i want API check i need to start google play store than check work but don't pass MEETS_DEVICE_INTEGRITY so it's useless
[Magisk] squatter87:
SOLUTION FOR ALL

1 open the App list of Magisk hide

2 select the dots to see the System Apps

3 select google play services (click on it and check all)

McDonald's app start without problem!
[Magisk] matfcb:
Deviced certified in Play Store, Safety Net passed, McDonald's app, Google Play Services, Google Play Store added to Shamiko Deny List. App is running, but when I want to activate coupon to order cheaper food it says that I cannot do it on rooted smartphone. Any solution how to bypass this? Xiaomi Mi 9 Pro 5G, Android 11, latest Xiaomi.eu software, Magisk stable 26.1. USNF applied.
[Magisk] MikeZh:
McD app says you have a problem with PlayIntegrity. Use PlayIntegrity checker to check it. Maybe you need USNF module (Magisk) or it's Displax'x mod. I have a phone that's ok with GPay, but has a problem with McD.

UPD: oh, Xiaomi.eu! Try Displax's latest mods
[Magisk] runiprime:
Thanks for this. 100% working. 🥰
[Magisk] aygul12345:
Thanks it worked.
[Magisk] aygul12345:
Did you only check Google play services? Not MC donald app also?
[Magisk] dedors:
It stopped working for me.

I have play protect certificate (basic and device) and safetynet.

Usnf (Displax'x mod), and all related stuff in DenyList. Ofc hidden magisk manager.

It was always working before. But it somehow started to detect root now.
[Magisk] Gamesiarz:
Is there any fix that is working in August 2023?
[Magisk] dedors:
it turned out that some temporary(?) busybox file was left in /data/local/. after removing it, mcdonald's application started working and rootbeer showed that i don't have root. thx

I didn't even install itself, just launched the app.
[Magisk] Bofahad:
What file ??
[Magisk] dedors:
tmp/busybox
[Magisk] Bofahad:
Nothing there !
[Magisk] borisSweden:
I pass Safety net and Integrity, the issue is install source.
[Magisk] Mustafa_Eren:
hey guys i will tell you the method that you can pass through safetynet and open mcdonalds without even opening zygisk, the first thing we need is magisk delta (because we will use magisk hide instead of zygisk, this way you will be able to pass safetynet with mcdonalds, so u can use riru/lsposed/busybox)

Step 2 Download and install the following modules (install riru compatible modules after install and restarting riru if you don't you will get error!!!)

https://github.com/Displax/safetynet-fix/releases/download/v2.4.0-MOD_1.3/safetynet-fix-v2.4.0-MOD_1.3-Riru.zip

https://github.com/RikkaApps/Riru/releases/download/v26.1.7/riru-v26.1.7.r530.ab3086ec9f-release.zip

https://github.com/vvb2060/riru-unshare/releases/download/v2.0/riru-unshare-2.0.zip

https://github.com/Magisk-Modules-Alt-Repo/sensitive_props/releases/download/v3/sensitive_props-v3.zip

https://github.com/kam821/safetypatch/releases/download/v4.0.1/SafetyPatch-v4.0.1_kam821.zip

https://github.com/Xposed-Modules-Repo/ru.mike.mcroot/releases/download/8-2.1/mcroot_v2.1.apk

https://github.com/LSPosed/LSPosed/releases/download/v1.8.6/LSPosed-v1.8.6-6712-riru-release.zip

Step 3 Activate the lsposed module of mcdonalds.

step 4 hide mcdonalds from magiskhide

Step 5 You will be able to log in to mcdonalds easily.

If you get an error quote me

Note: sorry guys for my english bad

Edit:Maybe its can work for normal magisk
[Magisk] darkstyx72:
you can log in, unfortunately when you try to activate the code from the YEAH list, an error pops up
[Magisk] Mustafa_Eren:
Are u opened Sulist? because magiskide alone is not enough you need to hide superuser too. Btw forgive me for not specifying this
[Magisk] borisSweden:
For those who use Aurora store or sideload McD app, try to replace Fakestore with this:

GitHub - sn-00-x/fakestore2playstore: Replace FakeStore with (patched) PlayStore for license verification and in-app purchases with microG

Replace FakeStore with (patched) PlayStore for license verification and in-app purchases with microG - sn-00-x/fakestore2playstore

github.com
[Magisk] Ivymike52:
Doesn't work for me
[Magisk] saleyman:
did not work
[Magisk] saleyman:
I'm also curious...
[Magisk] synesthete:
Seems to be working just fine for me using zygisk and adding the McDonald's app to the deny list. Force stop the app and clear all data. Make sure to tap the name and toggle one both listings under McDonald's app. Also make sure that you use the feature in Magisk to hide/rename magisk to something that isn't suspicious/root-related. Then open the app, add your payment, etc. I didn't need to do anything else.

The above process already assumes that you have set things up so that you are already passing safetynet. The process for that vary vary a bit depending on your device. I'm on the Pixel 7 Pro. For that, I installed the latest magisk canary (though stable should work fine too), patched the latest stock init_boot.img file and flashed that. I go into airplane mode/turn off wifi and bluetooth, and then force quit and clear data for a few google app packages. Some probably aren't necessary, but it seems to work for me so I don't care. I wrote a shell script to do it:

Spoiler content hidden.

Then, I force stop and clear all data for Google Play Services (use the "Manage Data" button). That was something I couldn't get wprking in the script. Then I flash Universal Safetynet Fix module (which version might depend on your device/build of android). Reboot. Turn airplane mode off and Wifi/Bluetooth back on. Now you shouold b able to get Wallet working and stuff. Use YASNAC and Integrity Checker to test if you pass Safetynet. I can pass the first 2 tests in Integrity Checker. "Strong", the 3rd, is not needed for most things, at least on this device.

I am using Lsposed with Hide My App List module, but that doesn't seem to effect the McD's app if it is enabled or disabled.
[Magisk] borisSweden:
Another possible solutions is to use a rooted stock phone, install the app, make a backup of the whole app, zip it, transfer them restore it with the same backup app. But you can't update it.

McDonald really doesn't like cloned coupons and abuses the safety net/play integrity system.
[Magisk] Mustafa_Eren:
No its already working, can you send ss?
[Magisk] arjones85:
This is crazy y'all are having trouble with the McD app. I don't even have it in the deny list and it never gives me any trouble. Didn't even know this was a thing.
[Magisk] tmkmch:
Crdroid + microg 0.2.29 + Kernel with kernelsu support + zygisk4kernelsu + lsposed 1.9.1 + McRoot. McDonalds app works with no problems. The same with normal gapps. Crdroid + normal gapps (nikgapps or bitgapps) + Kernel with kernelsu support. I see that using normal gapps you do not need LSPosed, zygisk4kernelsu and McRoot.
[Magisk] awarexda:
Doesn't work with McDonald's 2.76, it starts the app but doesn't show menu

UPDATE: it is now even worse! I uninstalled and fresh installed 2.76.0 from Play Store and now the app crashes upon opening! Sh*t
[Magisk] awarexda:
Maybe I am more hungry now (!!) but can anyone please advise me accordingly. The McDonald's app crashes upon opening although until recently it was working fine with McRoot, LSpoed, Magisk, HideMyApplist, Zygisk and Shamiko.

Any input more than welcomed!