When it comes to customizing Android, there's no better way than creating your own ROM. You get new features that were not available in the standard firmware delivered with the phone, and you have complete control over the appearance of your system. But there is definitely a learning curve.
A big problem with ROMs is that your device must pass the SafetyNet security check so you can install certain apps and updates from the Play Store. You can handle this with Magisk, but if you boot your phone before before flashing Magisk with a custom ROM, the dreaded "Device is not confirmed" error will be displayed when in the Play Store app check in settings.
Because Magisk was not on your system during the first scan, you basically triggered a flag to catch the uncertified label. For this reason, it is recommended to flash Magisk immediately after flashing the ROM ̵
1; but if you forget it, there is a very easy way to fix this minor issue.
Step 1: Start Custom Restore If Needed
If you've already flashed Magisk after you've determined that your Play Store is not certified, you can proceed to Step 3. However, if you have not flashed Magisk yet, you must do so now. Start your phone first with custom recovery.
You can put your device into recovery mode in several ways, so you can choose which method works best for you. A universal method for achieving this on all devices is the bootloader menu. You can use the volume keys to highlight "recovery mode," and then press the power button to boot to TWRP Errors when you forget the Magisk Flash ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>
Step 2: Flash Magisk to your system (if necessary)
Now you are in the main menu of TWRP, navigate to "Install" and then to the folder of your Magisk file is saved. Tap this file, and then tap "Swipe to confirm Flash" to install it on your system. Once Magisk installation is complete, you can tap Reboot System. Since you have a custom ROM installed and are reading this guide now, this step should not be new to you, as you simply forgot to flash Magisk.
Step 3: Delete Play Store Data
Now you're back After launching, you want to go to your system settings and find the section where you can manage your installed apps. A common location where you might find this would be as follows:
Settings> Apps & Notifications> Show All Apps
Alternatively, in the Settings main menu, you can search all your system settings by entering text , Tap the search box and enter "App Info." Then tap the area that appears to quickly get to the same page. Depending on which ROM you have, it can be located or labeled differently, but look for something related to "installed apps" or the management of your installed apps.
If you run a newer version of Android, the apps will be displayed recently opened for quick access. If the Play Store has not been recently accessed, tap the "See all apps" section and find the "Google Play Store" in the list. If you tap the list, go to the "Memory" section, then tap the "Clear Memory" button. A message appears to let you know that the Play Store data is being deleted. Then tap the "OK" button to confirm.
There's not much to set up in the Play Store, so data does not get deleted when you need to do it frequently. After successfully clearing the data, restart before proceeding to make sure everything is working properly.
Step 4: Check your SafetyNet status
Go to the Magisk Manager app. Then use the "Tap to start SafetyNet check" option. You need to download a quick upgrade that Magisk needs to start the SafetyNet exam. Tap "Yes" to confirm. Within seconds, the message "SafetyNet Check Success" should be displayed if everything was successful in the previous installation of Magisk.
If the SafetyNet check fails for any reason, see  our troubleshooting guide, such as "CTS Profile Mismatch."
Step 5: Checking the Status of the Play Store
If you go back and install Magisk without deleting the Play Store data, that's not enough because the Play Store has already checked to see if your device broke at the first one Set up the SafetyNet flag. It will remain marked as unverified until you delete the Play Store data that some people may not have known. Now that you know that your device passed the SafetyNet exam, there is no doubt that the Play Store Certification Exam is in place.
Go to the Play Store, tap the menu on the left and go to "Settings." Scroll down to the About section and your device should now display the message "Device is certified" in the "Play Protect Certification" section. That's it! Now you are all re-certified and can now receive all updates as usual.
Title image and screenshots of Stephen Perkins / Gadget Hacks