removed
My Experience, A standalone Install did not pass "SafetyNet" checks, even the basic integrity check failed.
I just installed it from Magisk as a module but again the same, both the checks (basic and cts) are failing., Just wanted to post this reply to see if somebody has a suggestion so that I can also follow.
Update:
I can conclude that Xposed from magisk is the best choice right now.
Installing Xposed in anyway makes this thing called "safetyNet" fail, and you cannot use apps like Netflix and Google pay.
If you install Xposed as standalone, you have to uninstall xposed to set the safetyNet back to true. (I tried that disabling from 'xposed installer' app isn't helping)
But if you install Xposed via Magisk, it is as good as a module and you can disable Xposed whenever needed from the modules menu of magisk and reboot to use the apps mentioned above..
To put it simple, if a friend were to ask me to send money via Google pay, it is better to ask for 2 minutes to disable Xposed and reboot via magisk.. instead of saying that i have Xposed installed and i cant use the Google pay app.
sagar2208 said:
My Experience, A standalone Install did not pass "SafetyNet" checks, even the basic integrity check failed.
I just installed it from Magisk as a module but again the same, both the checks (basic and cts) are failing., Just wanted to post this reply to see if somebody has a suggestion so that I can also follow.
Update:
I can conclude that Xposed from magisk is the best choice right now.
Installing Xposed in anyway makes this thing called "safetyNet" fail, and you cannot use apps like Netflix and Google pay.
If you install Xposed as standalone, you have to uninstall xposed to set the safetyNet back to true. (I tried that disabling from 'xposed installer' app isn't helping)
But if you install Xposed via Magisk, it is as good as a module and you can disable Xposed whenever needed from the modules menu of magisk and reboot to use the apps mentioned above..
To put it simple, if a friend were to ask me to send money via Google pay, it is better to ask for 2 minutes to disable Xposed and reboot via magisk.. instead of saying that i have Xposed installed and i cant use the Google pay app.
Click to expand...
Click to collapse
Way to go[emoji41][emoji1419]
Sent from my SM-N920T using Tapatalk
First I made a full backup because I didn't think it would work. You should too if you're going to attempt it.
- I patched my rom's services.jar using the Smali Patcher found HERE, enabling the option for signature spoofing in the app
- I pushed the resulting magisk module to my sdcard
- I flashed the module in magisk (using magisk 19.4-736729f5), rebooted, and confirmed that signature spoofing was working using Signature Spoofing Checker
- I downloaded the microg unofficial installer found HERE, making sure it was available on my sdcard for flashing
- I booted into TWRP recovery, mounted the System partition, and using the file manager found under "Advanced", I deleted Google Play Services, Google Services Framework, and Google Play Store from my /system/priv-app directory (I had already deleted Chrome, Play Movies/Music, Duo, etc. a long time ago, so I'm not sure if that's necessary for this to work)
- I went back to the main menu and installed the microg unofficial installer and rebooted the phone
- microg settings was now visible in my launcher, so i opened it and enabled device registration.
- I opened the the patched Play Store app provided by the microg unofficial installer and added my account when prompted
- I downloaded a previously purchased app to test if the app purchases could be validated. It was successful.
That's it. I read a lot of posts claiming that microg wouldn't work on OxygenOS, but I've been using it for 2 1/2 days now with no issues. UnifiedNLP still doesn't work unless you use the xposed module, but this seems to be an issue on every android pie rom that i've tried so far.
UPDATE:
Due to request, I uploaded my generated Magisk module which replaces services.jar with a patched version as requested. It was generated from OOS 9.5.11.
Please be aware that I cannot guarantee it will be compatible with your particular setup
Thanks for this, will give this a try , cheers.
Just a warning, I noticed I'm not passing safetynet after doing this. I've personally never encountered a situation where safetynet is relevant, but I know it'a a concern for a lot of you. I'll let you know if I figure out what's triggering it.
Hi,,may u share your service jar or signature spoofing magisk module here?
I managed to get UnifiedNlp working on custom ROMs. The culprit is the 'NLP Combo feature' commit present in all major OnePlus 7 Pro ROMs' frameworks/base. I made a custom build with this patch and backported Q animations in LineageOS if anyone is interested.
https://forum.xda-developers.com/oneplus-7-pro/development/rom-lineageos-16-microg-support-t3960116
muphetz said:
Hi,,may u share your service jar or signature spoofing magisk module here?
Click to expand...
Click to collapse
Done. Check original post for attachment.
bsimpson1 said:
Done. Check original post for attachment.
Click to expand...
Click to collapse
Tks,,its work with stock oss 9.5.11,,signature checking was enabled,,
Anyone know how to get UnfiedLP working on 10.0.3 without edexposed?
microG works great until a paid app tries to verify the license or when it comes to in app purchases. Using existing tools like NanoDroid and microG Installer Revived has disadvantages (see Readme below). That's why I created a Magisk module that replaces FakeStore with a patched version of the PlayStore. After installing the module, licenses can be verified and even in-app-purchases are possible with microG.
Visit on Github or download v0.1 directly.
Readme:
FakeStore 2 PlayStoreThis is a Magisk module that replaces FakeStore with the patched Play Store by Nanolx and is mainly intended to be used with LineageOS for microG, which already ships with microG and FakeStore. I only tested it on LineageOS 18.1 for microG. Use at your own risk, if you are on a different ROM.
The module uses fixed permissions settings from nift4's microG Installer Revived. Additionally it adds the Nanolx's NanoDroid companion F-Droid repository to F-Droid for automatic updates of the patched Play Store.
Why you want to use itYou want to have License Verification and In-App-Purchases with microG and already have a system with microG + FakeStore (like LineageOS for microG)
Installation
Install LineageOS for microG
Install Magisk
Install the module through the Magisk Manager App
Important: Do NOT flash in TWRP, you need to use the Magisk app and have an active internet connection for downloading the patched PlayStore.
NanoDroid or microG Installer Revived already do the job, don't they?Yes and no. After several tries with combinations of LineageOS 18.1, Lineage OS 18.1 for microG, NanoDroid and microG Installer Revived, I always ended up with either an unbootable system or with configurations that don't survive OTA upates or that would render microG upgrades useless or install too much.
NanoDroid's patcher (currently?) isn't able to successfully patch signature spoofing into LOS 18.1 and I didn't want to fiddle around with deodexing. My intention was to have a ready-to-use solution for LineageOS that survives OTAs. So I had to use LOS for microG, which already has the signature spoofing patch. However installing the patched PlayStore in LOS 18.1 for microG using NanoDroid always resulted in an unbootable system - even when disabling every other feature in .nanodroid-setup and hiding FakeStore with .nanodroid-overlay.
Though microG Installer Revived does a better job (the system was bootable after installing the patched PlayStore , it isn't able to hide FakeStore on it's own. So I had to still hide FakeStore somehow. Additionally microG Installer Revived installs DroidGuard as a system app, which is not what I wanted. Furthermore, it overwrites GmsCore with it's own version and therefor any OTA updates by LineageOS for microG would've been overwritten by the Installer's version.
That said, it's possible to use NanoDroid's .nanodroid-overlay feature to hide FakeStore in combination with microG Installer Revived to install the patched PlayStore and live with the DroidGuard and OTA issues. But I decided to make a Magisk module that does no more than replacing FakeStore with a patched version of PlayStore. Here it is.
BuildLinux, BSD, macOS, AndroidRequires wget.
wget -O META-INF/com/google/android/update-binary https://raw.githubusercontent.com/topjohnwu/Magisk/master/scripts/module_installer.sh && zip fakestore2playstore.zip -9r *
OtherDownload this and put it into META-INF/com/google/android/update-binary. And ZIP it.
Credits
Nanolx for the PlayStore patch.
nift4 for microG Installer Revived
wait does this still use the google play in-app purchase dialogue or are in-app purchases just free now?
MirageSteezyBoi said:
wait does this still use the google play in-app purchase dialogue or are in-app purchases just free now?
Click to expand...
Click to collapse
Negative, nothing is for free! Otherwise it'd be considered warez! This means, this modificated Google Play Store allows you to make the same purchases like the "normal" play store despite the lack of Google Play Services and the use of µG.
Oswald Boelcke said:
Negative, nothing is for free! Otherwise it'd be considered warez! This means, this modificated Google Play Store allows you to make the same purchases like the "normal" play store despite the lack of Google Play Services and the use of µG.
Click to expand...
Click to collapse
cool. works great. vouch
now this is helpful - thank you for releasing this!
for me only worked the one to download directly (1.0). generating or updating the zip like described led to "unzipping failed" message in magisk. i don't know, where the pitfall could be, just mentioning this here.
klaasklever said:
now this is helpful - thank you for releasing this!
for me only worked the one to download directly (1.0). generating or updating the zip like described led to "unzipping failed" message in magisk. i don't know, where the pitfall could be, just mentioning this here.
Click to expand...
Click to collapse
Thanks for reporting. However, I double checked the build steps and ended up with the same file as the released one. I guess it doesn't have to do anything with fakestore2playstore, but may be due to your "zip" executable. In fact, Magisk also complains about the unzipping progress itself. Anyway, I'm happy you find this module helpful!
You should check out https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases they already include the same PatchedPhonesky along with a minimal microG setup similar to the revived version from the Magisk repo, all in one package.
As for signature spoofing and all that if your ROM doesn't support it the easiest way is to use f0mey's Smali Patcher:
[MODULE] Smali Patcher 7.4
Smali Patcher WHAT THE HELL IS THIS THING? :: To sum things up this is an application I developed that pulls the android framework from your device, applies what I (or other users) consider useful patches to the sourced files and then...
forum.xda-developers.com
Thank you a big bunch. Very easy to install, and works pretty good. Some paid apps can't be installed for some reaaon, but you can install them with means, and the licence verification later works! Which is the main point.
I've been using this on 3 phones running gappless + microG. All with different custom ROMs and it appears to work wonderfully for license verification on the few apps I have paid for - except one (titanium backup). FWIW 2 are running A10 and one A11.
Thank's to the developer for this useful app!
It used to work for me, but after I reset my phone a few days ago and tried to install the module again I get error message "download failed and installation failed". I use /e/os (a fork of Lineage OS 18.1) on a Galaxy S10+ and Magisk 24.3. Any ideas?
thegreekfreak said:
It used to work for me, but after I reset my phone a few days ago and tried to install the module again I get error message "download failed and installation failed". I use /e/os (a fork of Lineage OS 18.1) on a Galaxy S10+ and Magisk 24.3. Any ideas?
Click to expand...
Click to collapse
Fixed in fakestore2playstore-0.2.zip
The wget version that ships with the busybox provided by Magisk 24 somehow can't download the patched playstore from Nanolx's repository. The server closes the connection because of a tls error. Now the patched playstore is included in this module and a download isn't required any more.
By the way: I'm on Android 12 now, but the Playstore doesn't work properly. Seems like some permissions/settings are missing. Unfortunately I'm quite busy currently and can't look into this deeper right now. Hope to find some sparetime soon.
sn00x said:
Fixed in fakestore2playstore-0.2.zip
The wget version that ships with the busybox provided by Magisk 24 somehow can't download the patched playstore from Nanolx's repository. The server closes the connection because of a tls error. Now the patched playstore is included in this module and a download isn't required any more.
By the way: I'm on Android 12 now, but the Playstore doesn't work properly. Seems like some permissions/settings are missing. Unfortunately I'm quite busy currently and can't look into this deeper right now. Hope to find some sparetime soon.
Click to expand...
Click to collapse
Please fix Android 12 issue! Please!
Hello, your module is running perfetcly on my device. Thanks!
But I'm still have some questions. Is it possible to install the Original PlayStore with microG installed?
I might have the exact case described here (LOS 18.1 for MicroG), but this does work perfectly. Thanks a lot
Well, doesn't work on Android 12+... Any chance for an update ? This was really a neat module :/
lPolarisl said:
Well, doesn't work on Android 12+... Any chance for an update ? This was really a neat module :/
Click to expand...
Click to collapse
I made it work again, but can't really remember how... first thing is enable network access for playstore in app-setting, it was disabled by default. also, try microG_Installer_Revived-Revived_3.0.0. and mess around with it, somehow it turns out ok ...
Jackson Karloff said:
I made it work again, but can't really remember how... first thing is enable network access for playstore in app-setting, it was disabled by default. also, try microG_Installer_Revived-Revived_3.0.0. and mess around with it, somehow it turns out ok ...
Click to expand...
Click to collapse
It works... Can't believe I missed that, that was all, network access was disabled x(
Thanks a lot, I had completely given up on this !
@sn00x In case you're still around... I now have trouble with your module, for some reason, it installs fine and the Play Store's there on the first reboot, but after the second reboot, it still shows up as active in the Magisk module list, but no Play Store app to be found, only FakeStore...
IodéOS, Android 12
Hello. I have ROG Phone 3 with latest stock ROM. I only have magisk root installed ant thats it. So i want to install microG on it instead of GApps. I used Magisk - Riru - LSposed - FakeGApps module to get signature spoofing. Then i installed Magisk Debloater module and deleted all Google apps. After reboot i installed microG revived magisk module. And everything is working, but i miss play store. What i need is google playstore, microG and pass safetynet. Is there any better way to install microg to get google playstore and pass safetynet. Or maybe someone knows how to just get google play store with safetynet passed
You can use the Aurora Store, it is a front-end of the google play store, so you can download everything on the play store. You can download it here: https://f-droid.org/en/packages/com.aurora.store/
In this forum entry
https://forum.xda-developers.com/t/...h-a-patched-playstore-from-nanodroid.4456421/
I described how to replace the fake store in the OmniROM with MicroG with a patched Playstore.
The Playstore version contained in the Magisk module PlaySore_for_MicroG.zip mentioned in that forum entry is quite old: 20.9.20-all. It works (at least for my purpose...) but for others it might be to old.
To install a newer version of the Playstore the Magisk module microG-GApps can be used:
The version of the Playstore in this Magisk module is 35.2.19-21.
The Magisk module microG-GApps also contains the necessary MicroG apks for using the Playstore so it can be installed in the OmniROM image without MicroG. in this case be sure to configure the MicroG settings manually before starting the Playstore.
Note that the customizing script in this Magisk module downloads the MicroG packages from the MicroG website so a working internet connection is necessary to install the module
It's also possible to install the Magisk module microG-GApps in the OmniROM with MicroG:
To use the Magisk module microg-GApps in the OmniROM with MicroG it's necessary to disable the fake store from the OmniROM:
This can be done with the Magisk module disable_fake_store.zip.
After installing that module install the Magisk module microG-GApps and reboot the phone to activate both Magisk modules.
The Magisk module microG-GApps will also install additional Google packages and a new version of the MicroG packages (as of 04.06.2023 this is the version 0.2.28.231657) . To remove these optional files either remove them from the ZIP with the Magisk module microG-GApps (and correct the script customize.sh in te ZIP file) or delete the files installed on the phone for these components after installing the module:
The optional files that can be deleted on the phone running the OmniROM with MicroG are:
To remove the additional Google packages delete these files in /data/adb/modules/microG-GApps/system:
./priv-app/GoogleCalendarSyncAdapter
./priv-app/GoogleCalendarSyncAdapter/base.apk
./priv-app/GoogleContactsSyncAdapter
./priv-app/GoogleContactsSyncAdapter/base.apk
./etc/permissions/com.google.android.syncadapters.contacts.xml
./etc/permissions/com.google.android.syncadapters.calendar.xml
To remove the MicroG packages delete these files in /data/adb/modules/microG-GApps/system:
./priv-app/microGServicesCore
./priv-app/microGServicesCore/base.apk
./priv-app/microGServicesFrameworkProxy
./priv-app/microGServicesFrameworkProxy/base.apk
./framework/com.google.android.maps.jar
./etc/permissions/com.google.android.syncadapters.contacts.xml
./etc/permissions/com.google.android.syncadapters.calendar.xml
Before using the Playstore check the output in the Self Check in the MicroG app to make sure everything is still okay. In addition, the "Google Device registration" must be enabled in the MicroG settings.
Trouble Shooting
In case you get the error DF-DFERH-01 after the Google sign in double check the settings in MicroG. If everyhing is ok in the MicroG settings stop the Playstore using "Force stop" in the System application and delete the storage for the Playstore using "Clear storage" in the System application. When done reopen the Playstore.
Update 08.06.2023
If the Playstore does not work after upgrading from the old Magisk Module (e.g. there is no Playstore icon in the menu) execute these commands as user root to fix it:
Bash:
PHONESKY_APK="/system/priv-app/Phonesky/Phonesky.apk"
PKG_SIZE=$( ls -l ${PHONESKY_APK} | awk ' { print $5 }' )
cat "${PHONESKY_APK}" | echo pm install -S ${PKG_SIZE}
So, if I have MicroG already installed, I just need to flash disable_fake_store.zip, that's all ?
lPolarisl said:
So, if I have MicroG already installed, I just need to flash disable_fake_store.zip, that's all ?
Click to expand...
Click to collapse
Hi
both moduls are Magisk modules -- so nothing has to be flashed.
if the installed MicroG contains a fake store you install both Magisk modules
disable_fake_store.zip
microG-GApps
and reboot.
regards
Bernd