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

* 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

Are you looking for the latest working guide to bypass Safetynet issue? If the answer is yes, then you are at right place. Here we are going to show you how to fix Safetynet issue with the simple android app or Magisk module. The module called as universal SafetyNet Fix this let you run the apps which require the google new security measure aka Safety Net.

Magisk Manager is the one of the fastest growing Non-Playstore App that means unknown sources app which is only designed for the rooting devices systemlessly. One of the Xda-forum members has made this app for hiding the root access from some of the high-security applications. Topjohnwu is the creator of the Magisk Su. It Works as same as Chainfire’s Super Su . But Super Su fails the Safety Net pass so that most of the people switch to Magisk Root.

Table Of Contents

What is SafetyNet?

Safety net is the Topmost Security measure that ensures the device is safe to run some of the android application mostly Banking applications. Recently it was developed by the google to improve the security on android platform.

You might herd about the Android Pay which is introduced by the Google available some countries now. This app will check the safety net thing and if it confirms that then it will work. As like this one, most of the banking applications follow the same procedure to run their apps on the android device.

Even it spread to Netflix. Only Netflix works when it confirms that the device passes the safety net. By Rooting device, you will lose warranty along with the Safety Net pass. That may tend to your device is out of support for these kinds of apps.

Bypass SafetyNet Issue with Universal Safetynet FIX.

If you are using the SuperSu root binaries, then you must switch to the Magisk Su. Here is the best guide for installing Magisk Su. After installing Magisk Root binaries then this process will work for you as like a charm.

Fix Safetynet issue possible with the Magisk Module which is called as Universal Safety Net Fix. Deiki is the XDA forum member and the creator of this Module.

Currently, it is in Beta version so in some of the device it may not work properly. I recommended you to bookmark this page it will help you to get the app updates quickly. Or you will check the updates from the Magisk Manager.

Requirements:-

  • Magisk v12+ ()
  • Magisk Manager
  • New* Latest Module By Didgeridoohan that will help you to Pass the Safetynet measure. – Download
  • (Try this one, if above not works for you) Safetypatcher {Module} by hackintosh5 – Download

Steps to Fix SafetyNet on most of the android devices

  • Download the Universal Safetynet fix flashable zip file from the requirements section according to the Magisk version.
  • Open Magisk Manager and drag the menu from left to right.

  • You will see the Module section. Open it.
  • Now, click on the Yellow color + button. It will open the file manager of your device. Select the Universal safety net fix.Zip file.

  • After that Reboot your device.

Install Universal Safetynet Fix with TWRP (Custom Recovery)

In some of the beta versions, installing directly with the magisk manager is not possible. It will Show some error message when flashing module .zip file. In that case better to flash with custom recovery EG:- TWRP.

  • After downloading the above zip file according to the magisk version.
  • Now, Boot your device into Custom Recovery mode.

  • In the TWRP’s Home select the Install button. Find the required zip file from your Storage.
  • Swipe the install Button. It will take some time to complete the installation procedure. Then simply tap on reboot button.

  • Now, the phone will open normally and check the Safety net pass on the Magisk Manager App.

Final Words:

Working Guide to bypass Safetynet issue on most of the Android ROMs. I hope this guide will help you as much as I think. So, If you have any further queries regarding bypass Safetynet issue comment below. we will help you out as fast we can.

If this useful for you then don’t be shy to share this post with your friends.

По просьбе уважаемого 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.

Позволяющий осуществлять бесконтактные платежи. Но не успели владельцы 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 (например, с помощью