Кто столкнулся с проблемой прохождения SafetyNet - вот Вам решение. Что делать, если смартфон сообщает «Google Pay не поддерживается на этом устройстве»? Несовпадение профиля cts что делать

Позволяющий осуществлять бесконтактные платежи. Но не успели владельцы Android-смартфонов порадоваться новым возможностям, как перед многими из них встала проблема. Приложение благополучно устанавливалось на устройство, но при попытке запуска смартфон выдавал сообщение следующего содержания: «Google Pay не поддерживается на этом устройстве. Нам не удалось проверить соответствует ли Ваше устройство стандартам безопасности, установленным для Google Pay. Причина может быть в том, что на нем настроен root-доступ, разблокирован загрузчик операционный системы или установлено неоригинальное ПЗУ».

Что интересно, пострадала, как обычно, та часть пользователей, которая предпочитает иметь при себе не просто телефон для общения, а удобный и производительный инструмент для решения разного рода повседневных задач. Как вы уже, вероятно, догадались, это те, кто получил Root-права на свой смартфон и установил модифицированные прошивки с качественным переводом на русский язык, разблокировав при этом загрузчик (ознакомиться ). Еще интереснее то, что, к примеру, у смартфонов Xiaomi даже официальная еженедельная сборка для устройств этого популярного бренда не проходит проверку в Google Pay - приложение согласно работать лишь со стабильными версиями MIUI , обновления которых происходят раз в несколько месяцев.


С подобной проблемой мы уже разбирались полтора года назад, и тогда нам удалось помочь пользователям обойти требования безопасности мобильной версии сервиса « ». Механизмы защиты Google Pay оказались примерно идентичными. Но (повторимся) прошло полтора года, и сегодня, благодаря усилиям тех самых продвинутых и любознательных пользователей, создана программа под названием «Magisk - The Universal Systemless Interface », позволяющая получить нужный результат проще и быстрее - без отказа от прав суперпользователя и установки патченных версий софта. Установка этой программы дает возможность полноценно использовать сервис Google Pay на смартфонах с Root-правами, разблокированным загрузчиком и кастомными прошивками.

Как воспользоваться программой Magisk?

Основное условие использования Magisk - наличие её собственных Root-прав (MagiskSU) или официально несистемный SuperSU. В любом другом случае Magisk попытается удалить сторонние root-права и установить по умолчанию MagiskSU.

Решение проблемы с Google Pay:


** В случае, если Вы не хотите устанавливать Magisk и остальное стороннее ПО, существует более простой способ скрытия Root-прав и/или разблокированного загрузчика от Google Pay: необходимо заменить две строчки (имя производителя и модель смартфона) в файле build.prop (например, с помощью

* Recommended to upload a 720*312 image as the cover image

Article Description

MIUI Еженедельные советы от Ru_Ivan #47 - Решение проблемы с SafetyNet при помощи: Magisk+Magisk safetynet fix.У Вас установлен Magisk, но что бы Вы ни делали при проверке SafetyNet у вас возникает проблема с ctsProfile. Решить эту проблему вполне возможно. Не будем тянуть время и перейдем к решению.Что нужно сделать:Первым делом - делаем полный бекап системы!Заряд батареи не менее 60%За все действия над устройством несете ответственность только Вы.Для Magisk ver 13.x/14.01. Для Magisk версии Magisk 13.х/14.0, версии 15+ не поддерживается. Нужно: скачать фикс для SafetyNet с XDA.2. Установить используя Magisk - модули, либо TWRP.3. Перезагрузить смартфонДля Magisk 15.xОгромная благодарность - Eni_Fadilah за статью на en.miui.com, в которой был выложен файл фикса SafetyNet универсайльный, но подготовленый для Redmi 4X (Santony). - Если у Вас Redmi 4x (Santony):1. Качаем фикс SafetyNet (оригинал) - Google disk2. Устанавливаем при помощи Magisk manager или TWRP3. Перезагружаем смартфонЧто в пакете?Помимо всего прочего:- SafetyNet Fix- Разблокирует полноэкранные функции- Boot анимация Miui 9- Selinux Permissive mode- Build.prop Tweak- Папка 4X3 (Launcher)- Шторка 5X3- Ручной режим в камере- Захват объекта нажатием на экран в камере- Меняет host- Открывает меню выбора цвета светодиода (не обольщайтесь на многих моделях действительно только белый цыет работает)Первый метод помогает и на др. моделях смартфонов, но лично я не хочу терять свой файл host. И в настройках системы мне не нужны разные цвета индикатора, т.к. он у меня не RGB, а просто белый. А также изменения в сетки рабочего стола и шторке – я для себя давно уже сделал необходимые изменения интерфейса и мне этого достаточно.- Если Вы все же хотите минимум изменений и чтобы проходил SafetyNet, но смартфон у Вас не SANTONY:1. Качаем отредактированный mod (проверена работа на Redmi 5 plus с прошивкой MIUI.su, бетка)2. Устанавливаем также через Magisk manager или TWRP3. Перезагружамем смартфон.P.S. некоторая часть изменений все же произойдет в системе, не критичные изменения.- Если есть желание, то можно к Magisk_у плюсом внести изменения в build.prop, который находится.\system\ Изменения необходимо произвести всего в двух строках:ro.build.description=xxxxro.build.fingerprint=xxxxзначения этих строк (вместо хххх необходимо скопировать и вставить от Глобальной стабильной версии)Файл build.prop от Redmi 5 plus Global Stable - (удаляем.zip)НЕ ЗАБЫВАЕМ: в пункте Magisk Hide выбрать программы от которых прятать Root.Скриншоты сделаны на XIAOMI Redmi 5 plus.Google play market стал считать прошивку от MIUI.su (beta) за сертифицированную.Статьи из раздела Инструкция по установке MagiskЧто есть Magisk

Because of Android"s new system, certain apps can now block rooted users or prevent you from accessing them altogether - but at least for now, there are still ways around these restrictions.

You can pass most of SafetyNet"s checks with and , but Google"s (CTS) remains a hurdle in some cases. With certain setups, you"ll still get a "CTS Profile Mismatch" error that causes the SafetyNet check to fail, even with Magisk installed.

If this has happened to you, there are a number of potential causes, ranging from incompatible root management apps to issues with Magisk Hide. So to help you get to the bottom of the issue, we"ll go over seven solutions below.

Before You Begin

This guide assumes you"ve already installed Magisk, which is a systemless root utility that can hide its presence from SafetyNet. If you haven"t already done this, head to get started.

When it comes to actually checking your SafetyNet status, the easiest way to do that would be to open the Magisk Manager app and tap the "SafetyNet Check" button at the bottom of the screen. So while following this guide, periodically re-check your SafetyNet status by opening the Magisk Manager app, swiping down to refresh, then tapping the "SafetyNet Check" button again.


Checking SafetyNet status in Magisk Manager.

Step 1: Get Rid of SuperSU and Use MagiskSU with Magisk Hide

The most likely cause of a CTS profile mismatch is a root management app that doesn"t hide itself from SafetyNet. This is the case with Chainfire"s SuperSU, which is the most popular root management out there.

Chances are, you originally rooted your phone using the SuperSU ZIP or CF Auto Root, which both install SuperSU as the default root management app. If you did that, and then installed Magisk, the leftover root binaries from SuperSU will cause SafetyNet to trip.

So if this is the cause of your CTS issues, you"ll need to uninstall SuperSU"s binaries and replace them with Magisk"s built-in root management app. But there"s one more wrinkle: If you have the Xposed Framework installed or if you"ve modified any system files using root access, you"ll need to undo those changes as well. Not to worry, though, we"ve outlined that entire process with a separate guide, so head to the following link to get squared away.

Once you"ve done that, make sure the "Magisk Hide" option is enabled in your Magisk Manager app. From there, you may want to hide additional apps using Magisk Hide, which essentially prevents the apps from knowing that you"re rooted.

To do that, head to the side navigation menu in your Magisk Manager app and select "Magisk Hide." From here, it may be helpful to tick the boxes next to Google Play Store and Google Services Framework as well as any other app you"re having SafetyNet issues with.


Step 2: Still No Good? Try Flashing unSU

If the above guide didn"t fix your CTS profile mismatch problems and you"re certain you"ve undone any system mods, it"s possible that you still have a few bits of data left over from SuperSU. The "Full Unroot" option in the SuperSU app is supposed to get rid of everything, but it"s not always perfect.

So to make sure you"ve completely eradicated SuperSU and its binaries, you can use a flashable ZIP created by developer osm0sis . To start, just tap the following link from your Android device, then boot into custom recovery.

From there, tap the "Install" button in TWRP"s main menu, then navigate to your Download folder and select UPDATE-unSU-signed.zip . After that, swipe the slider to flash the ZIP and eradicate all traces of SuperSU, and when you"re done, go back and re-flash the Magisk ZIP. After rebooting, check your SafetyNet status again - if you still don"t pass, move onto the next step.



Step 3: Change SELinux to Enforcing

If you"re still stuck, this next step is rather simple, though it would only apply if you"ve previously used an app to set your SELinux mode to "Permissive." Magisk attempts to hide your SELinux status from SafetyNet, but it"s not always perfect, so your best bet is to set SELinux back to its default mode of "Enforcing."

So open whichever SELinux mode changer app you used to set the mode to "Permissive" in the first place, then toggle the setting back to "Enforcing" and reboot. Sadly, we can"t share apps that change SELinux modes since Google blacklists sites that do, so if you"ve uninstalled the app, you"ll have to find it again on your own. That"s easy, though - just head to the XDA forums and search for "SELinux."

Step 4: Turn Off USB Debugging

For some strange reason, a fairly common cause of SafetyNet issues with Magisk is the "USB Debugging" setting in Developer options. So if you have this option enabled, head to your Settings menu to disable it, then reboot and see if that solved your SafetyNet issues.


Step 5: Custom ROM? Try a Custom Kernel

As I mentioned earlier, CTS stands for "Compatibility Test Suite." This is the process Google uses to verify that a device and its firmware meet certification standards, and to put it simply, a will never officially pass this test.

However, some custom kernels can help with this issue. The most popular kernel that"s been known to help with custom ROM incompatibility is Franco Kernel. It"s available for all Nexus, Pixel, and OnePlus devices, as well as the Redmi Note3, and the easiest way to install it would be to purchase the FKU app , then tap the "Download" button on the main page. Otherwise, you can search your device"s XDA forum to find a free flashable ZIP.


For some custom ROMs (particularly Lineage OS), this option may not fully solve the problem. However, many apps that use SafetyNet only check one CTS-related aspect called "Basic Integrity," and flashing Franco kernel will usually fix that aspect. So while Magisk Manager may still report a CTS mismatch, you may very well be able to use all of your apps now.

Finally, for Xiaomi users that are running a custom ROM, there"s another option. This Magisk module by developer Deic will reportedly make your phone pass the CTS test, so try installing it, then rebooting.

Step 6: Address Other Potential Problems

Before you take the nuclear approach outlined in Step 8 below, there are a few less-common issues that might cause SafetyNet to fail based on a CTS profile mismatch, so they"re worth a shot.

First, it"s possible that the Magisk Hide daemon isn"t starting properly on your phone. To fix that, try heading to the settings menu in your Magisk Manager app, then toggling the "Magisk Hide" option off and back on. Failing that, disable Magisk Hide, reboot, then re-enable the option.


Some users have also reported that Magisk"s "Systemless hosts" and "BusyBox" options caused them to experience issues with SafetyNet. As such, you may want to disable these two options in the Magisk Manager app"s settings menu, though note that disabling systemless hosts may cause issues with ad blockers like AdAway.

Step 7: Enable Core Only Mode

As a last-ditch effort, you can try enabling the "Core only mode" option in Magisk Manager"s settings. This will disable any Magisk modules you"ve installed which could be causing conflicts with SafetyNet, leaving you only with Magisk SU and root.

It may not be the ideal solution, but after Google updated SafetyNet to detect Magisk, enabling "Core only mode" seems to be the only fix that helps most users pass the CTS test. To try it out, head to the settings menu in Magisk Manager and tick the box next to "Core only mode," then reboot and run the SafetyNet check again.


Step 8: If All Else Fails, Start from Scratch

We"ve saved this step for last because it"s a catchall solution, but it"s a painful pill to swallow. If all else fails, simply restore your device"s stock firmware, reinstall custom recovery, then flash the Magisk ZIP that you can download in the Magisk Manager app. This will work in almost all cases.

The process of restoring your stock firmware will vary depending on the device, but if your phone has a bootloader menu that supports Fastboot commands, we"ve covered the process at . Failing that, your best bet would be to do a Google search for "restore stock firmware ." When you"re done there, you can reference for re-installing TWRP.

So have you finally solved your CTS profile mismatch issues? Do you have any other tips that will help get people past that dreaded SafetyNet check? If so, drop us a line in the comment section below.

Cover image and screenshots by Dallas Thomas/Gadget Hacks

Related

  • Magisk 101 : How to Install Magisk & Root with TWRP

  • How To : Fix Play Store Uncertified Errors When You Forget to Flash Magisk

  • Magisk 101 : How to Install Magisk Modules from the Repo or Third-Party Sources

  • News : T-Mobile Galaxy S8 Update Breaks SafetyNet & Android Pay

  • Magisk 101 : How to Switch from SuperSU to Magisk & Pass SafetyNet

  • SafetyNet Explained : Why SafetyNet Shows That Google Actually Cares About Android Root

  • How To : Use Twitter Custom Timelines

  • Tasker 101 : How to Import Tasks & Profiles

  • How To : Use the align command to fix normals in modo 101

  • News : Rooters Beware, Google Will Soon Start Locking You Out of Apps

  • News : Google"s March Security Update Breaks Android Pay on Some Pixel & Nexus Devices

  • Tasker 101 : How to Create an Exit Task

  • How To : Root Your OnePlus 6 with Magisk - A Beginner"s Guide

  • How To : Root Your OnePlus 6T with Magisk

  • How To : Easily Change Your Phone"s Font Without Tripping SafetyNet

  • News : Good place to set up a profile

  • How To : fix the error "transaction was not successful"

  • По просьбе уважаемого esleer выкладываю гайд по установке Magisk на аппарат Lenovo P2 и обход блокировки Android Pay на рутованном телефоне.

    Небольшой дисклеймер: все действия выполняются вами на свой страх и риск. Окирпичить этот телефон кривыми действиями сложно, но тем не менее. Нижеследующая инструкция является по сути повторением инструкции с сайта XDA (искать в гугле по кейворду "XDA Lenovo P2 Magisk") с некоторыми дополнениями от меня лично. Глубинного понимания процессов, происходящих в результате выполнения нижеприведенных действий у меня нет, поэтому буду рад любым уточнениям, дополнениям и исправлениям.

    Для установки Magisk, нам понадобится сам аппарат Lenovo P2 c разблокированным загрузчиком и установленным TWRP . Как сделать то и другое - читайте в соответствующих разделах форума. Наличие или отсутствие ранее установленного рута нам не принципиально, так как в процессе мы все равно будем устанавливать дефолтную прошивку, и затирать все следы его присутствия.Также желательно иметь флешку , куда удобно будет записывать бэкапы и установочные файлы.

    0: Подготовительные мероприятия: делаем бэкап системы через TWRP. Выключаем аппарат, зажимаем все три клавиши на боку устройства, входим в TWRP, пункт "резервное копирование", выбираем флешку в качестве места сохранения, выделяем все разделы кроме data, и делаем свайп вправо для старта процесса бэкапа. Небольшой момент: если в системе перед бэкапом уже установлен какой-то другой рут, предварительно удаляем само приложение рута из телефона. Сливаем с флешки папку TWRP на компьютер, сохраняем все нужные вам файлы с внутренней памяти устройства. Крайне рекомендую после создания бэкапа и перед прошивкой, избавиться от всех следов аккаунта Google и прочих сторонних аккаунтов на устройстве. Это сильно упростит жизнь при последующей установке чистой прошивки и избавит от непонятных глюков Magisk-а. Для удаления аккаунтов, заходим в настройки, раздел "Безопасность", отключаем полностью блокировку аппарата (пункт "нет"), далее в разделе "Личные данные", заходим в пункт "Аккаунты", "Google", тап по трем точкам сверху справа, "Удалить аккаунт". Таким же образом удаляем и остальные аккаунты из списка.

    1: Входим в TWRP, "Очистка > Выборочная очистка". Ставим галочку напротив раздела System. "Восстановить или изменить файловую систему > Изм. файловую систему > EXT4 > свайп слева направо"

    Таким образом, мы изменяем файловую систему раздела System на ext4, делая возможной корректную работу Magisk на данном устройстве.

    2: Теперь нам понадобится полностью обновить прошивку устройства. Автор оригинальной инструкции утверждает, что может прокатить и простое обновление без вайпа, но не рекомендует делать этого. Поэтому крайне желательно сделать прошивку с полным сбросом всех данных.

    Скачиваем вашу версию прошивки в профильной теме на форуме. Лично я проводил все операции на 251й прошивке, по словам автора поддерживаются версии 233/244 и новее, видимо. Устанавливаем её на телефон посредством программы ADB, переведя устройство в режим fastboot. Инструкция по прошивке посредством fastboot также есть на форуме. В процессе прошивки, также прошьется оригинальный образ boot.img, затерев все следы предыдущего рута, если таковой был установлен ранее. Не забываем установить нужный регион-пакет (набрать в диалере код ####682# и выбрать RU или иной), если для вас это принципиально.

    3: Снова устанавливаем TWRP.

    4: Скачиваем из данной темы последнюю версию программы Magisk: zip архив для установки через TWRP и инсталлятор Magisk Manager. Желательно сразу скачать самые свежие версии, чтобы потом не заморачиваться с переустановками и обновлениями. Также можно скачать Safety Net Fix отсюда же, но его установка опциональна, лично мне он не пригодился. Складываем скачанные файлы в корень карточки памяти.

    5: Входим в TWRP, выбираем пункт "Установка" и карту памяти в качестве источника данных, находим на ней zip файл инсталлятора Magisk и устанавливаем свайпом. Если на этом этапе возникают проблемы, например установка не доходит до конца, устройство внезапно выключается, перезагружается и т. п., попробуйте перезагрузиться в ОС устройства, после чего снова войти в TWRP и попробовать еще раз. Мне помогло. После установки желательно очистить кэш, как это предлагается в меню загрузчика после установки.

    6: Загружаем телефон, смотрим в списке приложений появился ли Magisk Manager, если нет, то через проводник телефона находим apk-файл на карточке и ставим вручную. Не забываем включить разрешение установки приложений из неизвестных источников.

    7: Запускаем Magisk Manager, нажимаем меню в верхнем левом углу, заходим в "Настройки", активируем переключатели "Magisk Hide" и "Systemless hosts" ("Внесистемные хосты"). Выходим на основную страницу программы. Снова тап по меню в верхнем левом углу, пункт "Magisk Hide". Находим в списке (можно воспользоваться поиском) и выделяем галочками приложения Google Services Framework и Play Market . Позднее, нужно будет добавить в этот список приложений для скрытия ваши банковские клиенты и прочие программы, которым не следует знать о руте на вашем устройстве)

    8: Заходим в плей-маркет, ищем и устанавливаем оттуда программу Kernel Adiutor , она бесплатная. Запускаем, разрешаем рут-права, тапаем на меню в верхнем левом углу, прокручиваем список вниз до пункта Init.d, входим. Нажимаем розовый плюс, пишем любое название скрипта, скажем, "Run". Открывается окно редактирования скрипта. Копируем туда (можно прямо из браузера телефона) следующие строчки:

    #!/system/bin/sh echo "deleting magisk properties" resetprop --delete init.svc.magisk_pfs resetprop --delete init.svc.magisk_pfsd resetprop --delete init.svc.magisk_service resetprop --delete persist.magisk.hide resetprop --delete ro.magisk.disable resetprop --delete magisk.version resetprop --delete persist.magisk.busybox resetprop --delete persist.magisk.hide

    Сохраняем тапом на дискету, нажимаем в списке появившийся скрипт и выполняем его. Перезагружаем телефон.

    9: Теперь тестируем, проходит ли телефон проверку SafetyNet. Заходим в Magisk Manager и нажимаем на основной странице "Проверить статус SafetyNet". Если видим две зеленые галочки - поздравляю, у вас получилось). Если нет, придется доустановить Safety Net Fix. Заходим в меню Magisk Manager, тапаем пункт "Модули", желтый плюс, находим на вашей карточке файл с патчем, делаем по нему длинный тап и выбираем "Открыть". После отработки установщика, перезагружаем телефон и делаем проверку SafetyNet еще раз.

    10: Восстанавливаем бэкап с флешки, если это необходимо. Входим в TWRP, пункт "Восстановление", находим в списке ваш предварительно сделанный на флешку бэкап, тапаем по нему и восстанавливаем свайпом. Лично я не стал восстанавливаться, поскольку телефон был новый и совершенно "голый" в плане софта, но проблем по идее возникнуть не должно. Если будут возникать какие-то проблемы после восстановления, отпишитесь здесь.

    11: Теперь можно устанавливать из стора Android Pay, следуя инструкциям привязывать карту, устанавливать другие банковские приложения, тот же Сбербанк Онлайн например, и пользоваться ими без ограничений.

    Отредактировал 24 февраля, 2018 qastron
    исправил мелкие недочёты

    2 пользователям понравился пост

    This article is all about the CTS Profile Mismatch Error and how to fix it.

    Before starting with the steps to fix the Magisk CTS Profile False /Mismatch Errors, let’s first understand what is ‘SafetyNet.’ We all know that rooting our Android phones give us a lot of freedom and we can do some great things with a rooted smartphone like installing a custom ROM, a custom Kernel, overclocking the processor, etc.

    But, if you have a device with which you use Google’s Android Pay, then it won’t work if you root your phone. SafetyNet is a thing that Google uses to detect whether your Android smartphone is rooted or not and if it detects that you have a rooted phone, certain apps can block you from accessing them. We have seen this with the Netflix app that users cannot even find the app to download from the Play Store if their devices are rooted.

    Magisk, as most of you might know, is a Universal Systemless Interface, to create an altered mask of the system without changing the system itself. (Thanks, XDA). With Magisk and Systemless root, we can skip most of the SafetyNet tests, revert but the thing is that the Google’s Compatibility Test Suite (CTS) is still a problem.

    So, you might get the ‘Magisk safetynet CTS Profile Mismatch Error’ even if you have the Magisk installed on your android phone. So, assuming that you have already installed the Magisk, let’s start with the steps to fix this error.

    TIP – You can check your SafetyNet status from the Magisk Manager. You will find an option that says ‘Tap to start SafetyNet Check.’ Tap on that, and it will show you the status.

    STEPS TO FIX THE CTS PROFILE MISMATCH ERRORS – FIX CTS PROFILE MATCH FALSE

    1. WHY NOT USE MAGISKSU?

    So, the thing is that if you have rooted your smartphone and it is having any other root manager than the MagiskSU, then the chances are that it doesn’t hide from Google’s SafetyNet and you get the error. SuperSU, which is the most popular root manager app, is on almost every rooted device so, if you want to get rid of the CTS error, make sure that you are using the MagiskSU and not SuperSU. So, here is how to switch from SuperSU to MagiskSU –

    • If you have the Xposed Installer installed, then uninstall it. No need to worry about all the modules you were using. You can install the systemless version of the Xposed using Magisk. To uninstall Xposed, go to Framework > Uninstaller and choose ‘Uninstall’ option. After the process completes, reboot your device by tapping on the ‘Reboot’ option.
    • This step is a bit trickier, and if, you have made any changes in the system after rooting your phone, you need to revert them. For Example, let’s suppose you removed the bloatware apps via Titanium Backup. So, you need to install them again. Or, let’s assume that you used AdAway to remove ads. So, you need to remove that also. And we all know what’s the best way to revert all the changes – Flashing the Stock System Image of your phone.
    • Now, you need to Unroot via the option in SuperSU and then, restore the Stock Boot Image of your phone. For that, Go to the SuperSU app and then settings. There, you will find an option called ‘ Full Root.’ Just tap on that and tap ‘Continue.’ Now, it will ask you if you want to restore the stock boot image. Here, make sure that you tap on ‘Yes’ option. Now, for installing Magisk, you need TWRP installed, so if you already have TWRP, you need to tap on ‘No’ when SuperSU asks if you want to restore the stock recovery image.
    • Now, you need to install the Magisk zip. For this, head to the Magisk Manager app and go the Install section. Here, you will find an option named ‘Download.’ Tap on that and once downloaded, boot into recovery. Once you are in TWRP, tap on ‘Install’ and select the Magisk ZIP file from the Magisk Manager folder. To flash the ZIP file, slide the button to the right and when finished, tap on ‘Reboot System.’
    • Now, got to Magisk Manager app, and go to settings. Here, make sure to enable Magisk Hide, BusyBox, and Systemless hosts options. Lastly, clear the data of the Play Store by going to Settings > Apps > Play Store > Manage Space > Clear Data.

    Now, head to the Magisk Manager app and go to Magisk Hide. Make sure that this option is enabled and it will be used to hide additional apps like Google Play Store and Google Services Framework and other apps that you think are having the issues with SafetyNet.

    2. WHAT ABOUT TRYING unSU?

    If you are unable to fix the CTS Profile Mismatch error even after doing everything mentioned above, you can try unSU. We have to use this because, i.e., even after doing the ‘Full Unroot’ via the SuperSU, not all the data of the SuperSU is removed. The developer osm0sis has created a flashable zip that you can download and flash via TWRP. The flashing procedure is same as you flashed the MagiskSU ZIP.

    3. IS USB DEBUGGING ON? TURN IT OFF!

    So, we also don’t know why but the CTS Profile Mismatch error can occur even with Magisk installed if you have turned on the ‘USB Debugging’ Option. So, you need to head to the Settings? Developer Options and then, turn off the ‘USB Debugging.’ Lastly, do a reboot and check if the issue has been fixed or not.

    4. SET SELinux BACK TO ‘ENFORCING’ MODE

    This is a pretty simple step. So, back in time if you ever changed the SELinux mode to ‘Permissive,’ then you need to revert it to ‘Enforcing,’ i.e., the default mode. So, open the same app via which you change the SETLinux Mode to Permissive and change the mode back to ‘Enforcing’. Now, you need to reboot the phone. You can find the apps to do so on XDA easily.

    5. TRY A CUSTOM KERNEL

    Having a custom ROM? Well, then you can try installing a custom Kernel. Why are we saying this? Well, the CTS is used by Google to verify that the device and its firmware meet the certification standards. A phone with custom ROM won’t pass this test. But, there is still a way. You need to install a custom Kernel known as the ‘Franco Kernel’ and to install this, you need to buy an app called ‘Franko Kernel Updater’ or ‘FKU.’ Once you have installed it, open it and then tap on ‘Download’ option. Don’t wanna spend money? Well, head to XDA, and you can find the best ‘Franco Kernel’ ZIP file for your smartphone for free.

    The Franco Kernel helps in such a way that the apps that use SafetyNet check the Basic Integrity don’t get any error.

    6. ENABLE MAGISK CORE ONLY MODE

    This is probably the best thing to do if all the things mentioned above aren’t working at all. See, when you head over to the settings of Magisk Manager, you will see an option that says ‘Magisk Core Only Mode’ under the ‘Magisk’ options. Many users have reported that turning this particular option ON fixes the magisk CTS Profile false error. Google has already updated its SafetyNet to check if there is Magisk on a particular device or not. So, enabling the Core Only Mode helps a lot in this case.

    So, what this option does? Well, enabling Masigk Core Only Mode means that all the Magisk Modules currently active are disabled and so, the only thing your phone has is the Superuser from Magisk and the root access. This step helps because sometimes, there are certain Magisk modules that cause issues with the SafetyNet test. And yes, make sure to reboot once you enabled the Magisk Core only mode.

    7. SOME USERS FIXED IT LIKE THIS

    A lot of users have recommended some more ways to fix the CTS Profile Mismatch error on their device. First, you need to go into the Magisk Settings and there, check if the ‘Magisk Hide’ option is turned on or not. If it is turned on, then simply turn it OFF and again turn it ON. Check if the error is there or not. If it is, then turn off the Magisk Hide option, reboot the phone, open Magisk Settings and turn On the Magisk Hide again.

    If this too doesn’t fix it, then there is one more method suggested by some users who faced this problem. In the Magisk Settings, you will find two options – ‘Systemless Hosts’ and ‘Enable Busybox’. Disabling these two options may also help in fixing the CTS Profile False error.

    8. WELL, YOU HAVE TO DO IT NOW!

    This is a step that no one would like to take if the CTS Profile False issue occurs. Well, if nothing works, then the only way you have left to fix that error is to install the stock ROM again, install the custom recovery again, then flash Magisk ZIP file to gain the root access and check if the issue persists now or not. If you are lucky, the issue will be gone completely.