yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Arsylk:
Possible (Vanced)Youtube fix

After many problems with accounts and internet connection errors i decided to dive into source code and came up with a working xposed solution.

github.com Arsylk xposed-microg-packages

(i can't post links yet)

Basic idea is adding package name and original app's signature to KNOWN_GOOGLE_PACKAGES in MicroG GmsCore so that it gets granted EXTENDED_ACCESS.

Additionally

pm grant "com.google.android.youtube" "android.permission.GET_ACCOUNTS"

might be necessary to make it fully functional but since i already had it granted i can't be sure.

Then spoofing signature in PackageInfo.signatures for "com.google.android.youtube" so that all the auth requests have correct signature_id in it.

That did the trick for me, and looking at what google auth sends to server that could possibly do the trick for a lot more applications, just by adding correct package name and signature in FakeSignatures.

I might or might not experiment with it more, and add gui for adding entries to FakeSignatures in the future.

Right now both source code and compiled module is on github, hopefully it fixes the youtube problems~
[Android Apps and Games] :
Well i after a couple of days putting whitelist as op suggested in adaway (which i'm forget and reading saved me, everybody seems forget about that issues), GCM/FCM suddenly working.

It doesn't suddenly register after putting the whitelist/reboot. It takes a day for it takes effect.
[Android Apps and Games] Oswald Boelcke:
Are you using AdAway? Did you note this remark in the OP?
[Android Apps and Games] Setialpha:
That should not be required. microG 0.2.7 contains a new checkbox 'allow apps to find account', enabling this will make YT & Co. see your account without granting EXTENDED_ACCESS.
[Android Apps and Games] Arsylk:
It worked with microg 0.2.7 version & older vanced youtube, i updated to micrrog 0.2.8 & updated vanced youtube, it stopped working, i reverted and everything stopped working so i went the extra mile so hopefully someone else won't have to if everything else fails
[Android Apps and Games] Setialpha:
YouTube Vanced uses it's own microG fork, please post your issue there.
[Android Apps and Games] Arsylk:
I thought that microg vanced youtube version is for non root only, my bad then, honestly now i wonder how it worked before.

Should remove the posts here or leave them?
[Android Apps and Games] Setialpha:
Dunno, the last time I tried it needed a custom microG. There's no need to delete the posts.
[Android Apps and Games] rpcll:
I got the GCM/FCM Checkin working. The missing piece was turning off manual confirmation of new apps, as per https://github.com/microg/android_packages_apps_GmsCore/issues/631#issuecomment-429013399

Whatsapp etc appeared in my list within 10 minutes. Someone should please add this to the microg wiki.

Thanks everyone.
[Android Apps and Games] marcdw:
The non-root version of Vanced requires the custom microG apk. The root/magisk version (same package name as Google's) works like regular YouTube. Be it on GApps or microG-based setups. I use it on most of my ROMs save for those Google-free environments.

Essential PH-1, /e/OS 0.7-n ROM, microG (NoGapps), XDA Legacy
[Android Apps and Games] Oswald Boelcke:
[MENTION=5616867]150208[/MENTION] Maybe this and the next post are useful?
[Android Apps and Games] :
My case was already solved bro using whitelist only. It takes a day in my case.

I posted it for it to be showed on searches, since i don't get any results useful in first the 1-2 page when searching the terms of "GCM" (in this thread).

Now i don't need that script anymore, but yes maybe it might useful to others who don't like to wait like me.
[Android Apps and Games] --JoCa--:
why microG dont work on huaweI phone ? how fix that ?
[Android Apps and Games] kurtn:
I'm sure it works, if you remove some Google apps and enable signature spoofing. Not easy in stock rom.
[Android Apps and Games] --JoCa--:
do you know what remove ? i want that app on my phone :D
[Android Apps and Games] amg314:
I reccomend you study NanoDroid thread https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928 and try this all-in-one tool to install microG.
[Android Apps and Games] andersjohansson81:
So , any updates on this issue? Is it being adressed?

Very severe issue for most Swedish people(at least), bankid is a must have.

https://github.com/microg/android_packages_apps_GmsCore/issues/824
[Android Apps and Games] Draygon:
Hello,

I installed microG via adbpush to system and set all folder permissions.

It was running great, until I updated my custom rom (ArrowOS).

After updating the rom, microG was gone on the device.

Is this the normal behavior or can I lock microG somehow to the installed system path?
[Android Apps and Games] amg314:
If your OS update changed system.img, you can get unpatched framework.jar, stock gmsCore, etc.

Check your system/framework/services.jar size first - in deodexed patched framework it should be about 3 MB (I had about 120B before patching)))

Look at /system/priv-app/GmsCore version using tool like 3C ToolBox (see picture)
[Android Apps and Games] Setialpha:
Of course that's normal. Your nanually pushed files are missing after update, because they are not included in the update.

Best is to use any of the available microG installers, they take care of that, either through addon.d or via installation as Magisk Module.

Or manually repeat the process after each update.
[Android Apps and Games] korkmaz_44:
Does not support signature forgery

Resurrection Remix v5.8.5 does not support signature forgery. Can you help me?
[Android Apps and Games] Oswald Boelcke:
NanoDroid patcher: https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928
[Android Apps and Games] korkmaz_44:
Sorun devam ediyor.

I have installed the NanoDroid-microG-21.0.20190601 version.
[Android Apps and Games] Oswald Boelcke:
That's very good. But if I correctly understood you're lacking signature signatur spoofing, am I correct?

You also need to flash NanoDroid-patcher-21.0.20190601.zip
[Android Apps and Games] kaos_king:
Does no one else have this issue? I can't seem to get away from it
[Android Apps and Games] PoochyX:
Why don't you use smaili patcher to patch your jar file for the signature spoof instead of using the xposed module for that same effect

([emoji813]9/[emoji725]/9[emoji813])
[Android Apps and Games] .wojtek:
For this reason I decided to use this (un)official build: https://xdaforums.com/oneplus-3/one...3-op3t-unofficial-resurrection-remix-t3649591 - same as this one but has a couple of additions, including signature spoofing...
[Android Apps and Games] topaza:
If I flash the zip file playstore-patched.zip from shadow53 via TWRP everything looks good in TWRP. However after booting to LOS I do not see any Playstore App...

Any Ideas how to get it working?
[Android Apps and Games] marcdw:
It should be there in /system/priv-app/Phonesky/ I believe. By any chance is your BQ X Pro an A/B (system-as-root) device? If so that could be an issue. For my Essential PH-1 I had to edit a number of zips as they don't support that, including Shadow53's zips. On the OS side you see /system/priv-app/ for instance but in TWRP the path is /system/system/priv-app/. I would flash things successfully just to find nothing in the ROM.

If that's not the case then check manually if the Play Store is where it should be and/or generate a recovery log after flashing just to verify things.

LG G3 D851, PAC-ROM 6, MultiROM, XDA Legacy
[Android Apps and Games] Enthused9801:
Hey everyone,

I'm running RR 7.0.2 on a moto g2 and was looking at how I can get notifcations working on a pretty basic phone setup without Google services. I'm using f-droid and aurora store for accessing the google play store.

Do I need to use a different ROM for signature spoofing or can I use nanodroid to get that working?

How do you do that exactly, just flash nanodroid then flash microg? Thanks, I'm a bit confused about how to proceed.
[Android Apps and Games] guest4711:
See Oswald's answer in related thread: https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/post79914667
[Android Apps and Games] Leroy_Sparks:
I've got microg installed and working on a Samsung galaxy tab a10.1 but have an issue I can't find mentioned in the thread. I installed microg version 0.2.6.15181-79 via fdroid (microg repository), but if I attempt to upgrade to a more recent version, after I attempt to install I get an error message "Error installing microg Services Core. Failed to install due to an unknown error". I've even tried to install by downloading the most recent APK version, but that fails as well.

Here are some details:

AICP 16 ROM

Nanodroid 20.8.20190504

MicroG self-check shows all boxes checked except last one "Network based location enabled".

Any suggestions or ideas what might be wrong?
[Android Apps and Games] Setialpha:
Update NanoDroid to 22.0 that'll migrate you to official microG build, so you can update. It's got it's own thread btw.

For the other issue, no log, no solution.
[Android Apps and Games] Leroy_Sparks:
Thanks. That did the trick, everything working and on latest microG version. :good:
[Android Apps and Games] Shegue:
Hi, I need help please, i upgraded my huawei mate rs porsche design to emui and i lost the root, twrp is encrypted so i can't do anything, somebody have a solution? :crying:
[Android Apps and Games] Oswald Boelcke:
From my personal perspective, you've placed your question in the absolutely wrong thread i.e. I assume not to many useful replies will be received. Maybe it's better to create an own thread with your question here. As far as I see the Huawei Mate RS Porsche has neither a (full) device forum nor an ET (yet).
[Android Apps and Games] topaza:
I did some more research (before installing the patched store) but it is still kind of weird...

/system is completely empty - no sub folders

Find / -name *priv-app* does not show any results

Aurora Store seems to be located at /data/app/com.aurora.store--0tA8ObnsriQO5FSd9t37g==

At least there are these files/folders:

drwxr-xr-x 4 system system 4096 Jul 21 08:23 .

drwxrwx--x 94 system system 8192 Jul 21 11:32 ..

-rw-r--r-- 1 system system 6390864 Jul 21 08:23 base.apk

drwxr-xr-x 3 system system 4096 Jul 21 08:23 lib

drwxrwx--x 3 system install 4096 Jul 21 08:23 oat

However there is no directory /data/priv-app/

//EDIT:

I did my checks while /system was not mounted in TWRP. After mounting system the fold /system/priv-app appeared... :rolleyes:

But still it does not work. I had a look into the install script and realized there are several android version checks. TWRP does nor show any Android version in the Script output so I think the script just ends without installing anythind because the android version can not be detected.

Any idea how to fix that?
[Android Apps and Games] Setialpha:
No, it must be in /system. In A/B devices it may be /system/system. In TWRP yiu first need to mount /system from ROM you need root to see the contents of /system.

/data contains user apps and updates, there's of course no /data/priv-app as user apps can't be privledged.
[Android Apps and Games] Oswald Boelcke:
Maybe the attached screenshots can supplement what [MENTION=4187311]Setialpha[/MENTION] correctly explained?
[Android Apps and Games] topaza:
The patched play store works now. It was not installed because the android version is not set as expected in LOS.

I had so set the android version property via "adb shell setprop ro.build.version.release 9.0". Then I was able to flash the zip file.
[Android Apps and Games] topaza:
I ran into the next issue. The Playstore from Shadow53 is quite outdated so I patched the current one according to the guide on gitlab.

If I try to install the apk (signed with the test key as described in the guide) I get an error, because the signature does not seem to match the one used by shadow53:

adb install Phonesky-15.7.17-signed.apk

adb: failed to install Phonesky-15.7.17-signed.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.vending signatures do not match previously installed version; ignoring!]

Any ideas on how to work around this?
[Android Apps and Games] Setialpha:
You can't work around this, because it's correct. The release from shadow53 is signed with my personal key, yours with a different one, likely the test key.

Updates are here: https://www.nanolx.org/fdroid/repo/
[Android Apps and Games] marcdw:
Oops, error in my post. Deleted. [emoji16]
[Android Apps and Games] topaza:
Thanks for the link! I did not know there was a repository... works like a charm! :)

Anyway, if I want to change the “trusted” key of an application (I.e. if I would prefer to manually patch the store), how could I do that? (The device is rooted)

And one additional question regarding stores in general:

Can Aurora store coexist with the play store?

I found out that my paid apps only seem to validate the licenses during the first start (and maybe after some time period?!). So my idea is to deactivate play store completely until one of these apps need to check a license again and use Aurora for installing and updating play store apps.
[Android Apps and Games] MSF Jarvis:
Dang! Between ROMs and Girlfriends I almost forgot the AROMA page. Getting to work now.

P.S. Would you guys mind if the determination of SDK version became automatic? Rather than asking in the installer?
[Android Apps and Games] wdevil12:
I agree. It doesnt really matter tho
[Android Apps and Games] MSF Jarvis:
Its gonna take some time though, somehow its not working.
[Android Apps and Games] nagalun:
Flashing the zip is enough, if it fails, see the file /tmp/needle/log for errors.

Also, the time it takes to reassemble the framework.jar seems to be (a lot) longer if you wiped dalvik-cache

If it doesn't work for you tell me what's the error and I'll take a look.
[Android Apps and Games] BatDroid:
will we have any updates in recent time??
[Android Apps and Games] Buslova:
Yes, I'm extremely interested in this project but I'm self aware of my laziness and plan on waiting for an updated single flash .zip with all the goodies baked in. I don't currently use any gapps but I sure do miss some apps that rely on the framework and IMO there is NO substitution out there for google maps and I enjoy at least browsing the play store from my device. I have tried every map app/service for extensive amounts of time and honestly just hate them all. Y'all have me so intrigued I've kept this thread loaded in my browser so I stay updated. Thanx for all the hard work to help us all protect our privacy. These are the sort of things all citizens across the world should be doing.
[Android Apps and Games] Shadow53:
Updates for zips depend largely on the zip authors. The Aroma installer seems the best option to use, though I may continue updating my own for simplicity's sake (no aroma to interact with) and my own use.

As for updates to the microG apps, you can use the F-Droid repo at https://microg.org/fdroid/repo.

As a note for everyone here: there seem to have been multiple updates to microG since I uploaded my zip file. It is hard to tell because the release number is different between them, but my zip contains "8.4.89 (microG v0.2.0)" released 2/6, and the newest release in the repo is "v0.2.0-11" from 2/22. I was not notified by F-Droid for these updates, likely due to the different versioning scheme, but they are there.
[Android Apps and Games] Draygon:
Need help over here!

I did a clean install with OrionOS (http://xdaforums.com/lg-g2/development-d802/rom-orionlp-1-5-t3192311)

It's installed as a user app. Does GmsCore need it installed at the system?

After that, I installed the latest Xposed Framework, enabled FakeGapps, rebooted, installed the latest GmsCore and GfsProxy from F-Droid, rebooted and installed the latest Google Play apk: http://xdaforums.com/showthread.php?t=2753789

I added my Google account in the settings and gave GmsCore and Play Store all permissions.

When starting the Play Store, it's asking me again for my account details. It's closing then and asking again with every restart.

What's wrong? I don't get it...
[Android Apps and Games] wis3m0nkey:
Only play store needs to be system app everything else can be user. You can use /system/app-mover to move play store (don't need to do it manually).

I would suggest installing xprivacy (xposed module) to control play store permissions even when it's system app

---------- Post added at 09:28 PM ---------- Previous post was at 09:23 PM ----------

This is not solution for ur case but just how I use my phone in case u wanna try :

AddressToGPS searches Google and give GPS coordinate if u click on navigate to .... Osmand can navigate you there.

That's addressToGPS and osmand.

Or use Waze which is basically same/similar as Google maps (google maps uses Waze info for traffic updates). Waze can be used without any maps api, it can be used even without gmscore (need to have xprivacy installed and restricting permissions though)
[Android Apps and Games] enban:
Thank you for your work.

Just a suggestion: why don't you use the packages from the f-droid repo (or is it a signature matter?)? In this way they could be update automatically... It was not possible to do that last time in V1.1.

Thank you again!

E.
[Android Apps and Games] wdevil12:
ok, no problem) Since I dont use f-droid much I never thought about where to download from. I got them from github, but I will surely switch to f-droid ones with the next version (hopefully with kitkat support)

btw, thanks for the feedback. you are the first person who said that this zip is actually working...
[Android Apps and Games] Aakash Kaushal:
Can anybody tell me..how to uninstall playservices in one go?..
[Android Apps and Games] sonickles9:
Titanium Backup or System App Manager should do the job. I suppose you're in a stock rom and gapps are preinstalled, am I right?
[Android Apps and Games] Aakash Kaushal:
No im using custom rom based on stock but gapps were preinstalled...i already removed playservices with the help of titanium but still i can't install this app..i think i need to uninstall some more apps..?
[Android Apps and Games] BatDroid:
unistall all

---------- Post added 29th February 2016 at 12:00 AM ---------- Previous post was 28th February 2016 at 11:58 PM ----------

U said its 4.4+

but it works on cm10.1 too.

now what's that?
[Android Apps and Games] Shadow53:
There are a total of two or three apps to uninstall, depending on if you want to keep Play Store (not supported by MaR-V-iN (Hope I got that right (Ooh look, nested parenthetical comments!))).

Ahem.

The packages and their package names are

com.google.android.gms (Google Play Services, replaced by microG core)

com.google.android.gsf (Google services framework proxy, replaced by microG proxy)

com.android.vending (Play Store, you can technically keep this or use FakeStore/BlankStore)

You should be able to search the package names in TiBu and uninstall them, or, if it comes to it, you can back up your user apps and clean flash your custom ROM. I don't know of any ROM that ships with Google's services included because of licensing issues, so yours should have come from a GApps package. I could be proven wrong though, maybe yours did come with the GApps preinstalled. In that case, TiBu should be able to uninstall everything given the package names above.
[Android Apps and Games] Buslova:
Just really wanted to say thanx for the zip. I did everything manually first and got things working but then decided to wipe my ROM for other reasons so this time decided to check out your zip. SOOOO much easier and everything is working great!
[Android Apps and Games] Aakash Kaushal:
1) Cant signin to youtube...getting this error but all videos are working..?

2) Also playstore give this error after some minutes?
[Android Apps and Games] intika:
Just made an xposed module to inject fake signature in per app basis... :D

will publish it soon
[Android Apps and Games] wdevil12:
1) I dont know cuz I dont use YouTube

2) Just rebooting or good internet connection should fix this. It happens
[Android Apps and Games] Oswald Boelcke:
Yes, they do. I use both; however, Google Play Store is usually frozen. I unfreeze GPS about twice a week to check for updates of the applications, where I participate in beta programmes (Aurora is unable to retrieve those). And I unfreeze GPS on case by case if I require to purchase an app or make an in-app purchase.

For me another good reason to keep GPS frozen, I've explained here. Please refer also to the link in that post.
[Android Apps and Games] SGH-i200:
Threema: "Migration from GCM to FCM" is listed in the changelog of the new "Threema 4.0 for Android": https://play.google.com/store/apps/details?id=ch.threema.app&hl=en

Can I use the new version with the current official microG version?
[Android Apps and Games] habylab:
Installed this yesterday along with YouTube Vanced. Logged into my account all fine, but today Vanced force closes. OP7 Pro on Pie. Any ideas?
[Android Apps and Games] amg314:
Try SkyTube or/and NewPipe from F-droid repo.
[Android Apps and Games] PoochyX:
Ain't nothing like Vance tho

([emoji3590]09-09-18[emoji813])
[Android Apps and Games] amg314:
NewPipe do not show comments on the video.

IMO, comments could be more useful that video itself.

SkyTube show comments))
[Android Apps and Games] Setialpha:
It does show comments, but you can't make your own.
[Android Apps and Games] Raul11198:
Is there a way to use Google Pay ( formally known as Google Tez here in India) without Google Play Services with the help of microG
[Android Apps and Games] garylawwd:
I doubt it. Makes no sense really to be using a Google service with an app which sole premise is to rid Google services from your device
[Android Apps and Games] Raul11198:
?? Just for payment purpose only I'll find an alternative.
[Android Apps and Games] guest4711:
How about using coins?
[Android Apps and Games] Oswald Boelcke:
Currently, I doubt and don't know if and when it might change. SafetyNet is failing with µG, which is a known and observed issue. Please refer to the µG implemetation status and the there linked Github tickets.
[Android Apps and Games] budbay:
Are you using microg on oos or custom rom?
[Android Apps and Games] kurtn:
Not my opinion. If you wish to avoid Google services, avoid them. The microG project is just a different (and sometimes insufficient) method to use Google services.
[Android Apps and Games] n76:
microG with device registration and core messaging disabled is my Google free way to use apps from hotels, airlines, my bank, etc. that were compiled assuming that the core Google libraries ate on the phone. Those are useful to me and will never be released as FOSS Google free apps.

With the on phone database based location back ends it also makes initial location fast even without data being enabled. So apps like OsmAnd can start computing routes before the GPS reports its first location fix.

So I don't view microG as just a different method to use Google services.
[Android Apps and Games] atulmits:
Where is the app???
[Android Apps and Games] kurtn:
Read OP section download. Usually people install microG with a flashable installer like nanodroid.
[Android Apps and Games] whodisname:
If all else fails, read the instructions. Thanks for this.
[Android Apps and Games] tliebeck:
Just want to say thank you to all developers of this... have not been this happy with a phone since November 6, 2009 (Droid 1 launch). So nice to have a device I paid for only do things I want it to do.
[Android Apps and Games] NaughtyJothi:
How do I use MicroG for OGYT and MicroG for vanced, both?

MicroG for OGYT is functional and fully working (able to login) but Youtube Vanced can't login and MicroG for vanced can't be installed either.

Any advice. Much thanks. Non-rooted
[Android Apps and Games] kurtn:
Try newpipe
[Android Apps and Games] SacredDeviL666:
Thread Cleaned.

Kindly stay on topic.

Thanks

SacredDeviL666.