Integrate Google Lens in Google Assistant - Android Software/Hacking General [Developers Only]

Google recently started pushing Google Lens in the Google Assistant, this is a server side switch, but you can increase the probability by following this method
Procedure :-
Update the Google App and Google Play Services to the latest beta.
Flash the Pixel Features zip by @ZeevoX
Long Press the Home Button
Enjoy!
Note:- I have tried it on Android 8.0, may or may not work with Nougat. Also, it's a server side switch, so it might take time.
Downloads :-
@ZeevoX 's Pixel Features Zip :- https://forum.xda-developers.com/oneplus-3/themes/flashable-zip-google-lens-pixel-2-t3693859/page1
Screenshots are attached below!
Credits :-
@ZeevoX
Google
ThankYou!

Good work! Thanks for sharing!

Show me your Google app version and the Google services also
According to your procedure Lens won't integrated in my assistant still
My Moto G on 7.1.1 Aosp extended Rom

Related

[FLASHABLE ZIP] Google Lens and other Pixel 2 Exclusive Features

I've been rooting around in the recently posted Pixel 2 (XL) system images, and I've found the key to Google Lens (and any other Pixel 2-exclusive features, presumably, which ones though?), so I decided to make a flashable zip and share my success.
Achievement Unlocked: Featured on XDA
Thanks a million!
Features
- Google Lens in Google Photos (Not in the Assistant)
- Pixel-exclusive apps in the Play Store (namely, Pixel Launcher)
- Pixel-exclusive wallpaper categories (Underwater, etc.)
- You tell me
Unlimited photos?
According to @thecoolkid, photo backup settings will stay the same, and you won't get unlimited photos unless you're uploading in "high quality", which will compress them. Basically, although it claims unlimited photos, it'll just be the setting you had before.
Instructions
Really?
1. Flash the zip, and Google Lens should magically appear (I didn't even need to clear Google Photos' app data)
2. Enjoy Google Lens (Only inside Google Photos, not in the Assistant itself - more info here)!
Uninstalling Google Lens?
You can revert the functionality of this zip and effectively uninstall Google Lens by deleting the following files:
Code:
/system/etc/sysconfig/nexus.xml
/system/etc/sysconfig/pixel_2017_exclusive.xml
/system/etc/sysconfig/pixel_2017.xml
Screenshots / Screenrecording
Small example screenrecording, watch here
Magisk Module
I personally haven't tested this, but you can go check it out here. (Thanks to @Flint2)
Download
See attachments
Mirrors: My server / AndroidFileHost
Using Pure Fusion OS Nougat. Works flawlessly. Great work.
Thanks!
This works great straight from Google Photos, but I'm not seeing the Lens icon in standalone assistant yet. Guess I'll wait for an update to assistant.
(OP3t running Zenity nougat)
It doesn't work on latest oos beta (oreo) ...
I thought google turned off this trick from its side?
theduke7 said:
It doesn't work on latest OOS Open Beta (Oreo 8.0) for me...
Didn't Google disable this trick server-side?
Click to expand...
Click to collapse
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Code:
<!-- This defines the Photos preload feature for specifically the 2017 Pixel devices. -->
com.google.android.apps.photos.PIXEL_2017_PRELOAD
<!-- This is meant to be the canonical feature identifying 2017 and newer Nexus devices. -->
com.google.android.feature.PIXEL_2017_EXPERIENCE
It also adds other canonical features identifying a Pixel device, you can check these out inside the flashable zip.
It works for me. You may need to combine the previous trick as well and pretend you have a Pixel 2 (XL) in build.prop
This zip doesn't enable Google Lens inside the Assistant itself, just inside Google Photos. I'll clarify that in OP.
All the best,
ZeevoX
Working great, thanks!
jeremyet said:
This works great straight from Google Photos, but I'm not seeing the Lens icon in standalone assistant yet. Guess I'll wait for an update to assistant.
(OP3t running Zenity nougat)
Click to expand...
Click to collapse
I've updated OP to state that it won't work in Assistant, since that doesn't happen even on the Pixel 2 (XL). I've also provided a link to an AndroidPolice news article about that.
All the best,
ZeevoX
ZeevoX said:
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Code:
<!-- This defines the Photos preload feature for specifically the 2017 Pixel devices. -->
com.google.android.apps.photos.PIXEL_2017_PRELOAD
<!-- This is meant to be the canonical feature identifying 2017 and newer Nexus devices. -->
com.google.android.feature.PIXEL_2017_EXPERIENCE
It also adds other canonical features identifying a Pixel device, you can check these out inside the flashable zip.
It works for me. You may need to combine the previous trick as well and pretend you have a Pixel 2 (XL) in build.prop
This zip doesn't enable Google Lens inside the Assistant itself, just inside Google Photos. I'll clarify that in OP.
All the best,
ZeevoX
Click to expand...
Click to collapse
Update/ disregard previous replies, i was too noob-ish, it works perfectly...
i thought it would add a camera button or something to photos app
theduke7 said:
That was different, that was where you would spoof that you have a Google Pixel 2 XL. In this case, I add the actual permissions that define a Pixel 2 device:
Update/ disregard previous replies, i was too noob-ish, it works perfectly...
i thought it would add a camera button or something to photos app
Click to expand...
Click to collapse
Nice font. Which one?
silentvisitor said:
Nice font. Which one?
Click to expand...
Click to collapse
OnePlus Slate (it should be there on 4.5.0 and above) i'm using latest beta. and theme is PitchBlack.
in case you're not on stock rom (or OP device)
https://forums.oneplus.net/threads/font-oneplus-slate-download.544318/
Did it work in any samsung device
working great on oneplus 5 xXx rom
Magisk Module
Cannot wait for Magisk Module, so there is it.
Tested on Oneplus 5
Don´t forget to thanks the OP!
Awesome.
Working flawlessly on LOS 15 in Redmi Note 4 (Mido). Thanks a lot, mate. Cheers !
Working perfectly on Unofficial LOS 15 Redmi Note 3.
Working great on Nexus 6P Stock Oreo!!! Thank you!!!
It also enables the unlimited drive space with original photo size upload option again, but if it is really working I didn't find out yet.
Sent from my Nexus 6P using XDA Labs
Thx a lot. It works beautifully.
Though can we get this without the fake google photo unlimited uploads?
..and also Google Lens recognized my N6P as a Google Pixel
Sent from my Nexus 6P using XDA Labs
Great man!
Ok thanks for the great job but I noticed that photos app now is backing up new photos in full quality, does it works against my gdrive storage or what?

[APP] [T350] Google Camera Go (Replacement Camera App for 32bit ROMs)

As many of you may possibly know, Google dropped 32bit support for Google Camera all the way back in version 4.2. That version would crash on my SM-T350 running Pie, and while 4.1 would work, it would crash when opening the back camera unless you changed the resolution to 480p (even though my back camera supports 720p). In addition, 4.1 is also such an old version that it doesn't have any of the features that would make it a viable option over the OpenGapps Camera (which I'm also personally not a fan of) or Open Camera, neither of which I think have particularly good features or UI.
However, Google has recently release a lite version of Gcam much like their other apps called "Google Camera Go". Lucky for us, some of the APKs uploaded to APKMirror (it's only available on Playstore in certain regions, much like other lite apps) have armeabi-v7a support, such as this one which is currently the latest:
Google Camera Go 2.2.359460728_release (arm-v7a) APK Download by Google LLC - APKMirror
Google Camera Go 2.2.359460728_release (arm-v7a) APK Download by Google LLC - APKMirror Free and safe Android APK downloads
www.apkmirror.com
I am not sure if it is necessary, as I have not tested it without it, but I also edited my build.prop to include "persist.camera.HAL3.enabled=1", so try adding that if it doesn't work for some reason.
This finally brings portrait mode and translate support to my tablet, and I think it's a big improvement over OpenGapps Camera and Open Camera.

How To Guide [NO ROOT REQUIRED] Install GApps Suite on Edge S (Stock China ROM)

Update: I made the tutorial as simple as possible.
*Remove sim card or turn on airplane mode*
1. Go to Settings > System > Google Play Services
2. Turn on Google Play Services
3. Install latest Google Play Store from https://www.apkmirror.com/apk/google-inc/google-play-store/
4. Install other Google Apps
5. To install Google Chrome, you MUST update "Android System Webview" first
6. Install your other apps.
*Disable first the stock Moto dialer, contacts, Lenovo Appcenter and LeCloud (as these apps will mess up your Google contacts).
7. Install Google sync contacts app attached to sync contacts.
8. Default Motorola Contactt app will sync your Google contacts (no need to install Google Contacts)
9. Default Motorola Calendar app will sync your Google calendar (no need to install Google Calendar)
Done.
-------
How to enable notifications in Motorola Edge S (phone will not kill the apps in background)
1. Go to Device Shield app
2. Go to Background Processing
3. Click the app one-by-one and update (as well as any app you installed that you want to receive notifications on time) to "Allow app running in background".
4. Go to Auto Start apps and enable your Google apps to auto start. I also do this with my other non-Google apps.
DONE. Your phone is now ready to use.
By going through this process, the play store will work with no issues after? Able to download whatever app you want or will it generate an error?
Shadowthor said:
By going through this process, the play store will work with no issues after? Able to download whatever app you want or will it generate an error?
Click to expand...
Click to collapse
Yes. No Playstore issue whatsoever. Google will be the default app store to download, install and update all your apps. You can disable the default Lenovo App Center app.
Google assistant works too (of course you need to download the assistant app from Playstore as well).
ijuanp03 said:
Yes. No Playstore issue whatsoever. Google will be the default app store to download, install and update all your apps. You can disable the default Lenovo App Center app.
Google assistant works too (of course you need to download the assistant app from Playstore as well).
Click to expand...
Click to collapse
Awesome, that's good to know. do you think it will survive a factory reset or you have to go through these steps for each factory reset?
Shadowthor said:
Awesome, that's good to know. do you think it will survive a factory reset or you have to go through these steps for each factory reset?
Click to expand...
Click to collapse
You need to go through everything again
For those who do not need the Google suite, but only Play services dependent apps such as Play Store, Line, and GCam, enabling Google Services under "System" settings (>Advanced) works reliably and will update/install all your apps, too.
Loving the moto UI on Android 11, which lets you disable/uninstall almost anything including the built-in app store.
These steps work great so far with the 8gb/256gb variant. Only thing that needs troubleshooting from my end is the 5G band.
ijuanp03 said:
Update: I made the tutorial as simple as possible.
*Remove sim card or turn on airplane mode*
1. Go to Settings > System > Google Play Services
2. Turn on Google Play Services
3. Install latest Google Play Store from https://www.apkmirror.com/apk/google-inc/google-play-store/
4. Install other Google Apps
5. To install Google Chrome, you MUST update "Android System Webview" first
6. Install your other apps.
7. Install Google sync contacts app attached to sync contacts.
8. Default Motorola Contactt app will sync your Google contacts (no need to install Google Contacts)
9. Default Motorola Calendar app will sync your Google calendar (no need to install Google Calendar)
Done.
-------
How to enable notifications in Motorola Edge S (phone will not kill the apps in background)
1. Go to Device Shield app
2. Go to Background Processing
3. Click the app one-by-one and update (as well as any app you installed that you want to receive notifications on time) to "Allow app running in background".
4. Go to Auto Start apps and enable your Google apps to auto start. I also do this with my other non-Google apps.
DONE. Your phone is now ready to use.
Click to expand...
Click to collapse
Hi . Will this method also work for moto Edge s pro ( Edge 20 pro ) ?
mcjwang said:
For those who do not need the Google suite, but only Play services dependent apps such as Play Store, Line, and GCam, enabling Google Services under "System" settings (>Advanced) works reliably and will update/install all your apps, too.
Loving the moto UI on Android 11, which lets you disable/uninstall almost anything including the built-in app store.
Click to expand...
Click to collapse
Are the icons and and Menu of edge s look like the g100 ? I mean the Chinese rom look like the global ?
fire159 said:
Are the icons and and Menu of edge s look like the g100 ? I mean the Chinese rom look like the global ?
Click to expand...
Click to collapse
Yes
Chrome can be installed from the Lenovo Apps Centre if it doesn't install through Google Play Store.
Can verify NFC and Google Pay also works no problem.
I want to get the moto edge s from AliExpress, but found out that the device is not on the list to receive android 12 update.
EbubeNike said:
I want to get the moto edge s from AliExpress, but found out that the device is not on the list to receive android 12 update.
Click to expand...
Click to collapse
You could considered the Moto Edge X30. It's available now on Aliexpress. It comes with Android 12 built in. It has much better specs than the Edge S, including a 50M OIS camera and the Snapdragon 8 Gen 1 cpu. But of course, it more expensive.
EbubeNike said:
I want to get the moto edge s from AliExpress, but found out that the device is not on the list to receive android 12 update.
Click to expand...
Click to collapse
But G100 is on that list. So you will still be able to install its Android 12`s Global Rom on Edge S.
soprano77 said:
Mas o G100 está nesta lista. Portanto, você ainda poderá instalar a Global Rom do Android 12 no Edge S.
Click to expand...
Click to collapse
This means that the edge S pro does not receive android 12 in official ways, the only way for it to receive android 12 and unlocking the device's bootload. (China won't give even one kind of OTA support)
Hello, I put the Chinese rom at 20 pro. but I can't get android auto to work, because I need to install android auto stub to the system folder so it recognizes it for me. but with root explore like other apk they don't let me install it. I have root with magisk 25.

[GUIDE] How to debloat Stock ROM Android 10, No ROOT, No UBL!

After trying a couple of different custom ROMs, I've decided to relock my bootloader and use the Stock ROM, I don't think the Stock ROM is the best but for the purpose that I need is the one that works best. Since I can't stand the bloatware I've made a simple bash script to remove system apps of the Stock ROM(Android 10) on the Moto G7 play smartphone, you do not need ROOT nor an unlocked bootloader.
This is meant to be used with the Stock Android 10 ROM, I've made this for my own use and decided to share here to whomever may it concern.
What apps will this script uninstall?​
facebook app (com.facebook.katana)
facebook related services (com.facebook.appmanager)
facebook related services (com.facebook.services)
facebook related services (com.facebook.system)
google music app (com.google.android.music)
google youtube system app (com.google.android.youtube)
google playvideos (com.google.android.videos)
google photos (com.google.android.apps.photos)
google maps (com.google.android.apps.maps)
google duo (com.google.android.apps.tachyon)
google files (com.google.android.apps.nbu.files)
google drive (com.google.android.apps.docs)
google chrome (com.android.chrome)
google gmail (com.google.android.gm)
google calendar (com.google.android.calendar)
google app (com.google.android.googlequicksearchbox)
Optional apps you can also uninstall​
google default SMS messaging app (com.google.android.apps.messaging) | Use signal instead.
google well being (com.google.android.apps.wellbeing)
demo mode app (com.motorola.demo)
moto feedback app (com.motorola.help)
moto time and weather homescreen widget (com.motorola.timeweatherwidget)
moto gesture navigation tutorial, that annoying notification (com.motorola.gesture)
moto device help (com.motorola.genie)
If you wish you can add or remove more apps to this script, just follow the instructions on the readme file, or you don't even need to run the scripts, if you just copy paste the commands on the terminal or cmd if you are on windows it will work the same as long as you have ADB installed..
Please read the github page for further instructions Android-debloater​Download the script here​
Thanks for the script. Works great!

[APP][NO ROOT][SHARE] Modded MicroG for Huawei Devices

Hello friends, here is something I found to solve the lack of Google Play Services in modern Huawei devices. Credits go to the developer, not me, and to the original MicroG developers, I just want to share this solution to help people having the same issue.
MicroG is an open source software replacement for Google Play Services, and it requires root, Magisk, Xposed or in-built signature spoofing patch to work, but not this time.
I used this method as soon as I found it, since both of my parents got a Huawei P40 Lite E, and I couldn't use Googlefier because of the updated firmware.
No need of virtualized environments like GSpace, Gbox and other similar methods, now you can simply login into your Google Account without the need of installing other packages.
This solution is based on the YouTube Vanced-dedicated derivative of MicroG, called Vanced MicroG indeed, and it requires no root and no other packages to work.
Simply install this app, called GMSCoreHuawei (don't use the "unpatched" version, but the HUAWEI one), then Play Store apk from official sources like ApkMirror:
GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
Attempt to support Free implementation of Play Services for HUAWEI devices - GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
github.com
Download Google Play Store APKs for Android - APKMirror
Download Google Play Store APKs for Android - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Login in MicroG using the Huawei button, give the necessary MicroG permissions for notifications and you're done
I didn't test on other devices, but I think also other De-Googlefied ones or users with problems in installing MicroG using other methods can manage to use this solution.
I tested Play Store downloads and Google Maps and some apps like Gboard or Opera browser requiring GMS to work fine, and I got no problems so far.
Maybe the developer of this version of MicroG will see this thread and further update this app to match official MicroG progress.
Thanks to him again for the amazing job, which will save much time and efforts to many users wanting to enable the Google ecosystem on their devices.
jacomail95 said:
Hello friends, here is something I found to solve the lack of Google Play Services in modern Huawei devices. Credits go to the developer, not me, and to the original MicroG developers, I just want to share this solution to help people having the same issue.
MicroG is an open source software replacement for Google Play Services, and it requires root, Magisk, Xposed or in-built signature spoofing patch to work, but not this time.
I used this method as soon as I found it, since both of my parents got a Huawei P40 Lite E, and I couldn't use Googlefier because of the updated firmware.
No need of virtualized environments like GSpace, Gbox and other similar methods, now you can simply login into your Google Account without the need of installing other packages.
This solution is based on the YouTube Vanced-dedicated derivative of MicroG, called Vanced MicroG indeed, and it requires no root and no other packages to work.
Simply install this app, called GMSCoreHuawei (don't use the "unpatched" version, but the HUAWEI one), then Play Store apk from official sources like ApkMirror:
GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
Attempt to support Free implementation of Play Services for HUAWEI devices - GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
github.com
Download Google Play Store APKs for Android - APKMirror
Download Google Play Store APKs for Android - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Login in MicroG using the Huawei button, give the necessary MicroG permissions for notifications and you're done
I didn't test on other devices, but I think also other De-Googlefied ones or users with problems in installing MicroG using other methods can manage to use this solution.
I tested Play Store downloads and Google Maps and some apps like Gboard or Opera browser requiring GMS to work fine, and I got no problems so far.
Maybe the developer of this version of MicroG will see this thread and further update this app to match official MicroG progress.
Thanks to him again for the amazing job, which will save much time and efforts to many users wanting to enable the Google ecosystem on their devices.
Click to expand...
Click to collapse
The developer discontinued further work on this project because it did not allow access to personalized functional gapps. He abandoned this project in his github page. Yes some Google and Android apps work regardless of GMS authenticity like maps or Chrome. I can confirm that this method will not work in harmony os mate Xs2.
jacomail95 said:
Hello friends, here is something I found to solve the lack of Google Play Services in modern Huawei devices. Credits go to the developer, not me, and to the original MicroG developers, I just want to share this solution to help people having the same issue.
MicroG is an open source software replacement for Google Play Services, and it requires root, Magisk, Xposed or in-built signature spoofing patch to work, but not this time.
I used this method as soon as I found it, since both of my parents got a Huawei P40 Lite E, and I couldn't use Googlefier because of the updated firmware.
No need of virtualized environments like GSpace, Gbox and other similar methods, now you can simply login into your Google Account without the need of installing other packages.
This solution is based on the YouTube Vanced-dedicated derivative of MicroG, called Vanced MicroG indeed, and it requires no root and no other packages to work.
Simply install this app, called GMSCoreHuawei (don't use the "unpatched" version, but the HUAWEI one), then Play Store apk from official sources like ApkMirror:
GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
Attempt to support Free implementation of Play Services for HUAWEI devices - GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
github.com
Download Google Play Store APKs for Android - APKMirror
Download Google Play Store APKs for Android - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Login in MicroG using the Huawei button, give the necessary MicroG permissions for notifications and you're done
I didn't test on other devices, but I think also other De-Googlefied ones or users with problems in installing MicroG using other methods can manage to use this solution.
I tested Play Store downloads and Google Maps and some apps like Gboard or Opera browser requiring GMS to work fine, and I got no problems so far.
Maybe the developer of this version of MicroG will see this thread and further update this app to match official MicroG progress.
Thanks to him again for the amazing job, which will save much time and efforts to many users wanting to enable the Google ecosystem on their devices.
Click to expand...
Click to collapse
I couldn't get this work on my P40 5G.
I am able to login inside the microg app but asks login again in the playstore.
Can you please specify how did you manage to get it working and which particular version of the microG app did you use ?
I used Patched v0.2.22.212658 on Emui 12
cafemandala said:
I couldn't get this work on my P40 5G.
I am able to login inside the microg app but asks login again in the playstore.
Can you please specify how did you manage to get it working and which particular version of the microG app did you use ?
I used Patched v0.2.22.212658 on Emui 12
Click to expand...
Click to collapse
Hi, my experience is on EMUI 10 and I used this apk:
https://github.com/jcchikikomori/GmsCoreHuawei/releases/download/v0.2.22.212658-HUAWEI/play-services-core-withMapbox-withNearby-release.apk
I logged in using the HUAWEI button, gave ALL the required permissions in MicroG settings and then Play Store apk downloaded from Apkmirror worked without issues, and so Maps and other Google apps.
There are some 3rd party apps still not recognizing it as a replacement of GMS, but I can manage that.
If the apk or other versions don't work for you, you can still try an older MicroG variant built from EloyGomez, here the source code:
GitHub - EloYGomeZ/android_packages_apps_GmsCore-HUAWEI: Free implementation of Play Services
Free implementation of Play Services. Contribute to EloYGomeZ/android_packages_apps_GmsCore-HUAWEI development by creating an account on GitHub.
github.com
Here the apk found on another XDA thread
31.13 MB file on MEGA
mega.nz
I also used that once, it works in the same way and successfully, I remember having discovered it casually in a YouTube video and also I've seen it in Android Hilfe forum (translate button necessary).
Alternatively, you can try this method using regular MicroG, but I don't know if it's still working and it's not tested by me:
https://www.reddit.com/r/Huawei/comments/i5fhkf
Let me know how it goes.
jacomail95 said:
Hi, my experience is on EMUI 10 and I used this apk:
https://github.com/jcchikikomori/GmsCoreHuawei/releases/download/v0.2.22.212658-HUAWEI/play-services-core-withMapbox-withNearby-release.apk
I logged in using the HUAWEI button, gave ALL the required permissions in MicroG settings and then Play Store apk downloaded from Apkmirror worked without issues, and so Maps and other Google apps.
There are some 3rd party apps still not recognizing it as a replacement of GMS, but I can manage that.
If the apk or other versions don't work for you, you can still try an older MicroG variant built from EloyGomez, here the source code:
GitHub - EloYGomeZ/android_packages_apps_GmsCore-HUAWEI: Free implementation of Play Services
Free implementation of Play Services. Contribute to EloYGomeZ/android_packages_apps_GmsCore-HUAWEI development by creating an account on GitHub.
github.com
I also used that once, it works in the same way and successfully, I remember having discovered it casually in a YouTube video and also I've seen it in Android Hilfe forum (translate button necessary).
Alternatively, you can try this method using regular MicroG, but I don't know if it's still working and it's not tested by me:
https://www.reddit.com/r/Huawei/comments/i5fhkf
Let me know how it goes.
Click to expand...
Click to collapse
I assumed you might be on Emui 11 or 12 since the device is P40 lite. I know those MicroG forks and googlefier work on Emui 10 and I do not want to downgrade my firmware.
Recently there is new microG fork called 'lighthouse' which is currently only available for Huawei Malaysia region and support Emui 12.
Since I saw this I been looking around internet to see someone else has figured out a way for GMS services to work on newer Huawei devices.
The lighthouse app seems working like a native gms and people are loving it on their new mate50 devices.
I am afraid of the firmware downgrade for Emui 12 to 11 and then to 10 since it can cause some update issues and risk of device bricking.
If you have done the downgrade and seems it was easy work, would you mind sharing the methods you followed ?
Thank you so much in advance
The Huawei phone I worked with is a P40 Lite E, not P40 Lite, and Huawei didn't update it further than EMUI 10 but simply patched it so it no longer can use Googlefier, and i didn't downgrade the device to EMUI 9 (yet).
Anyway, I found some time ago on YouTube an older version of Huawei HiSuite still letting me use the downgrade/rollback option, as long as it is not updated.
Backup everything first, if you want to try, maybe that option is applicable for you also.
Let me know about it if you do it.
I'll attach the file here (unzip it once downloaded), because I can't remember the video, I found it some months ago and downloaded the file right away.
I'll edit or delete the post in case some moderator tells me it's not allowed.
jacomail95 said:
The Huawei phone I worked with is a P40 Lite E, not P40 Lite, and Huawei didn't update it further than EMUI 10 but simply patched it so it no longer can use Googlefier, and i didn't downgrade the device to EMUI 9 (yet).
Anyway, I found some time ago on YouTube an older version of Huawei HiSuite still letting me use the downgrade/rollback option, as long as it is not updated.
Backup everything first, if you want to try, maybe that option is applicable for you also.
Let me know about it if you do it.
I'll attach the file here (unzip it once downloaded), because I can't remember the video, I found it some months ago and downloaded the file right away.
I'll edit or delete the post in case some moderator tells me it's not allowed.
Click to expand...
Click to collapse
Thank you so much for the quick response
I downloaded the exe and will try it after backing up everything
I will definitely keep you updated if that works for me.
jacomail95 said:
Hello friends, here is something I found to solve the lack of Google Play Services in modern Huawei devices. Credits go to the developer, not me, and to the original MicroG developers, I just want to share this solution to help people having the same issue.
MicroG is an open source software replacement for Google Play Services, and it requires root, Magisk, Xposed or in-built signature spoofing patch to work, but not this time.
I used this method as soon as I found it, since both of my parents got a Huawei P40 Lite E, and I couldn't use Googlefier because of the updated firmware.
No need of virtualized environments like GSpace, Gbox and other similar methods, now you can simply login into your Google Account without the need of installing other packages.
This solution is based on the YouTube Vanced-dedicated derivative of MicroG, called Vanced MicroG indeed, and it requires no root and no other packages to work.
Simply install this app, called GMSCoreHuawei (don't use the "unpatched" version, but the HUAWEI one), then Play Store apk from official sources like ApkMirror:
GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
Attempt to support Free implementation of Play Services for HUAWEI devices - GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
github.com
Download Google Play Store APKs for Android - APKMirror
Download Google Play Store APKs for Android - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Login in MicroG using the Huawei button, give the necessary MicroG permissions for notifications and you're done
I didn't test on other devices, but I think also other De-Googlefied ones or users with problems in installing MicroG using other methods can manage to use this solution.
I tested Play Store downloads and Google Maps and some apps like Gboard or Opera browser requiring GMS to work fine, and I got no problems so far.
Maybe the developer of this version of MicroG will see this thread and further update this app to match official MicroG progress.
Thanks to him again for the amazing job, which will save much time and efforts to many users wanting to enable the Google ecosystem on their devices.
Click to expand...
Click to collapse
Hello,
I'm using my huawei matepad 11, I installed the microG as u told and signed the Google acc but when I tried to open the playstore it kicked me out just 0,000001 milliseconds
Please helpp
crcblz said:
Hello,
I'm using my huawei matepad 11, I installed the microG as u told and signed the Google acc but when I tried to open the playstore it kicked me out just 0,000001 milliseconds
Please helpp
Click to expand...
Click to collapse
Hi, I cannot be of much help in this case since I do not have a device shipping with Harmony OS, but I think this video can be somewhat useful, let me know if you're successful in case you decide to try this method:
@crcblz you can also try this, if you want, I'm pretty sure there's Private Space option also in Harmony OS (I would have used this guide, but the Lite E device doesn't support Private Space at all).
[GUIDE] Add google account if you accidentally deleted it - EMUI 12.0.0.276
Hello, I just found out how to add google account if you accidentally delete it, you can also delete the updated google play services to install version 21.24.57. You can also uninstall google services framework and install on old version...
forum.xda-developers.com
cafemandala said:
Thank you so much for the quick response
I downloaded the exe and will try it after backing up everything
I will definitely keep you updated if that works for me.
Click to expand...
Click to collapse
Just updating you, I found the time to make the final step and used HiSuite to make a backup of apps and files in my dad's P40 Lite E, and downgrade its firmware to EMUI 9. After that I installed the first OTA update of the phone to upgrade to an EMUI 10 version before the one Huawei applied the patch to, so I could use Googlefier without any issue.
The HiSuite version I posted here didn't let me install the downgraded firmware, so I let it update automatically to the official HiSuite 11.0.0.650_OVE version first and that worked just fine for the rollback (strangely enough, after that it didn't ask me to update to the latest V13.0.0.310 on the official HiSuite website, but it is better this way).
This short video also helped me in forcing Googlefier to work in the earliest steps.
Also make sure you follow Googlefier instructions exactly step by step, every detail of them is to be executed to the letter, every time you restart the device you have to open LZPlay first, without pressing any button of that app, and then you get back to Googlefier using the home button, so it can track the steps you do in installing GMS.
Edit:
After a few days I kept receiving Play Protect notification, so I tried using this official Google website to register my device, to no avail.
"https://www.google.com/android/uncertified/"
After registering the device I cleared Google Play Store, Google Play Services and Google Services Framework data, and in Notifications section of Google Play Services appeared a new setting, called Play Protect. I disabled it and I got no more annoying notifications about uncertified device.
Unfortunately, after some more days, every Google app I tried to use suddendly reported the "Device is not Play Protect Certified" screen, preventing me from using all of them.
So, sick of this situation, I completely uninstalled GMS except Google Account Manager (which contains the Google account I need on the phone) and I came back to MicroG, but at least the official version, since the account it's already on the device, and it's more updated than Huawei modded versions (their only advantage is that they add the ability to login successfully on Google on their own on Huawei devices).
And since I still don't know how to apply the signature spoofing patch on a completely stock, locked and unrooted device like Huawei is forced to be, and I don't trust the tons of modified Google Play Services apks on the web, I had to use PWAs for a couple of apps my parents needed, since they didn't recognize MicroG as the official GMS.
Play Store and Maps still work, but I had to replace Gmail and Google Calendar with open source alternatives, there are good replacements both on Play Store and on F-Droid (K-9 Mail, for example, has a pretty simple UI very similar to the Gmail one, and supports Google Accounts).
So, in the end I partially won the battle (and I got to the same point I was when I wrote OP) but not completely, since some apps force you to have official GMS or MicroG with signature spoofing patch enabled in order to be used, so alternatives or PWAs are needed.
jacomail95 said:
Hello friends, here is something I found to solve the lack of Google Play Services in modern Huawei devices. Credits go to the developer, not me, and to the original MicroG developers, I just want to share this solution to help people having the same issue.
MicroG is an open source software replacement for Google Play Services, and it requires root, Magisk, Xposed or in-built signature spoofing patch to work, but not this time.
I used this method as soon as I found it, since both of my parents got a Huawei P40 Lite E, and I couldn't use Googlefier because of the updated firmware.
No need of virtualized environments like GSpace, Gbox and other similar methods, now you can simply login into your Google Account without the need of installing other packages.
This solution is based on the YouTube Vanced-dedicated derivative of MicroG, called Vanced MicroG indeed, and it requires no root and no other packages to work.
Simply install this app, called GMSCoreHuawei (don't use the "unpatched" version, but the HUAWEI one), then Play Store apk from official sources like ApkMirror:
GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
Attempt to support Free implementation of Play Services for HUAWEI devices - GitHub - jcchikikomori/GmsCoreHuawei: Attempt to support Free implementation of Play Services for HUAWEI devices
github.com
Download Google Play Store APKs for Android - APKMirror
Download Google Play Store APKs for Android - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Login in MicroG using the Huawei button, give the necessary MicroG permissions for notifications and you're done
I didn't test on other devices, but I think also other De-Googlefied ones or users with problems in installing MicroG using other methods can manage to use this solution.
I tested Play Store downloads and Google Maps and some apps like Gboard or Opera browser requiring GMS to work fine, and I got no problems so far.
Maybe the developer of this version of MicroG will see this thread and further update this app to match official MicroG progress.
Thanks to him again for the amazing job, which will save much time and efforts to many users wanting to enable the Google ecosystem on their devices.
Click to expand...
Click to collapse
Any updates on this? I would love an app that worked just for vasic stuff like gmaps or gmail
tiagomachado02 said:
Any updates on this? I would love an app that worked just for vasic stuff like gmaps or gmail
Click to expand...
Click to collapse
The MicroG I linked in OP works for Maps and Gmail, I can confirm, at least for EMUI 10. I don't have a Harmony OS device so I can't test on that.
does not install the microg Huawei on my mate20
Hey, I just passed through this thread.
I'm not a programmer, nor do I own a Huawei phone, but I can give some ideas to someone smarter than me.
Maybe one could do something similar to ReVanced. You see, ReVanced has it's own manager, to which you "upload" a sideloaded app, f.e. YouTube, and you can add patches to it. One of them is the addition of microG support. After you patch the app, a forked version of the app will install with different code name (original has com.google. ..., forked has app.revanced. ...). So, maybe someone smarter than me could do something like this, some sort of a manager which makes forked versions of G-apps with microG support. Of course, this wouldn't work with services which cannot properly function without GMS, like the Play Store, but for most G-apps, something like this could work, but that's just me spewing some ideas into the void...
jacomail95 said:
Hi, my experience is on EMUI 10 and I used this apk:
https://github.com/jcchikikomori/GmsCoreHuawei/releases/download/v0.2.22.212658-HUAWEI/play-services-core-withMapbox-withNearby-release.apk
I logged in using the HUAWEI button, gave ALL the required permissions in MicroG settings and then Play Store apk downloaded from Apkmirror worked without issues, and so Maps and other Google apps.
There are some 3rd party apps still not recognizing it as a replacement of GMS, but I can manage that.
If the apk or other versions don't work for you, you can still try an older MicroG variant built from EloyGomez, here the source code:
GitHub - EloYGomeZ/android_packages_apps_GmsCore-HUAWEI: Free implementation of Play Services
Free implementation of Play Services. Contribute to EloYGomeZ/android_packages_apps_GmsCore-HUAWEI development by creating an account on GitHub.
github.com
Here the apk found on another XDA thread
31.13 MB file on MEGA
mega.nz
I also used that once, it works in the same way and successfully, I remember having discovered it casually in a YouTube video and also I've seen it in Android Hilfe forum (translate button necessary).
Alternatively, you can try this method using regular MicroG, but I don't know if it's still working and it's not tested by me:
https://www.reddit.com/r/Huawei/comments/i5fhkf
Let me know how it goes.
Click to expand...
Click to collapse
Hey, i used the dirst link and playstore worked, but everything else said no account was on the phone. The mega linked didn't work... Where can i guet other versions of that app?

Categories

Resources