How To Guide How to install microG on any ROM. - Nothing Phone 1

I hope you already know this, but
If you brick your device it's your fault!
THIS METHOD IS ONLY TESTED BY ME AND DOES NOT WORK PERFECTLY
If you can help to make it work easier or more reliable, text me pls.
Not checked in Self-Check:
Fake Play Store (May work fine)
- Install any ROM and finish setup (Skip everything etc.) (Had to redo everything cause I didnt finish it. Could not get rid of the notification)
- Flash Magisk
If signatur spoofing is not enabled:
- In Magisk go to settings (top right icon) and enable 'Zygisk' option
- Then in Magisk go to Modules tab, click top button 'Install from storage' install LSPosed-(...)-zygisk-release.zip (has to be zygisk version)
- Install FakeGapps.apk like regular app
- Reboot
- Popup will came out that ask you to add shortcut icon to desktop for LSPosed, just add it and open it
- Go to Modules and enable FakeGApps
Signature spoofing should be enabled
- Uninstall Google apps:
(easy and safer) Uninstall via Universal Android Debloater.
(hard but completely removed) Via adb shell
- Go to Magisk and install MinMicroG-Standard as a Module
- Reboot
- Open microG Service Core and ensure all boxes are selected. The most important is signature spoofing - this is what LSPosed and FakeGapps is for.
For working push notifications go to microG Service Core app and enable Google devices registration and Cloud Messaging.
For working location at least two apps will be needed - MozillaNlpBackend and NominatimNlpBackend. After installing they need to be enabled in microG Service Core app (Location modules). Sometimes MozillaNlpBackend refuse to be enabled, then you just have to go to it's permissions and select "Allow all the time" for location permission.
For working SafetyNet additional Magisk module may be needed.
SMS and Location in background didn't work for me, reinstalled the microG installer module and it worked
To find out the id's I used App Inspector.
If you have any improvements let me know.
Thanks to:
https://www.reddit.com/r/MicroG/comments/wev56n/_/iirvvfu

Replacements needed (what I use)
!name => important
?name => want better alternative (foss)
%name => not f-droid
!Keyboard (FlorisBoard)
!Browser (Fennec)
!App store (NeoStore (aka FDroid) and Aurora Store)
Calculator (Simple Calculator)
Camera (Open Camera, Nothing's Camera)
Notes (Carnet)
Calendar (Etar)
Files (Material Files)
Weather (Geometric Weather)
Cloud (Nextcloud) Contact, Calendar and Todo sync via DAVx5
Mail (Tutanota)
SMS (Signal)
Maps (OsmAnd~)
?Contacts (Simple Contacts)
?Phone (Nothing yet)
App Id's of apps I uninstalled safely:
(your ROM could have more or less bloatware installed, text me the id's if you want)
com.google.android.gms
com.android.vending
com.google.android.as.oss
com.google.android.apps.restore
com.google.android.gms.policy_sidecar_aps
com.google.android.projection.gearhead
com.google.android.calculator
com.google.android.calendar
com.android.chrome
com.google.android.deskclock
com.google.android.dialer
com.google.android.apps.messaging
com.android.egg
com.android.printspooler
com.android.dreams.phototable
com.google.android.feedback
com.google.android.as
com.google.android.marvin.talkback
com.google.android.printservice.recommendation
com.android.bluetoothmidiservice
com.android.calllogbackup
com.google.android.configupdater
com.google.android.ext.shared
com.google.android.gsf
com.google.android.ims
com.google.android.syncadapters.calendar
com.android.gallery3d
com.google.android.apps.cameralite
com.google.android.apps.wellbeing
com.google.android.apps.docs
com.google.android.apps.nbu.files
com.google.android.inputmethod.latin
com.google.android.gm
com.google.android.googlequicksearchbox
com.google.android.apps.maps
com.google.android.apps.safetyhub
com.google.android.apps.photos
com.google.android.youtube
com.google.android.contacts
com.android.hotwordenrollment.okgoogle
com.android.hotwordenrollment.xgoogle
com.android.partnerbookmarks
com.android.traceur
com.google.android.gms.location.history
com.google.android.markup
com.google.android.onetimeinitializer
com.google.android.partnersetup
com.google.android.tag
com.google.android.gms.supervision
com.google.android.overlay.gmsconfig.asi
com.google.android.overlay.gmsconfig.common
com.google.android.overlay.gmsconfig.comms
com.google.android.overlay.gmsconfig.geotz
com.google.android.overlay.gmsconfig.gsa
com.google.android.overlay.gmsconfig.personalsafety
com.google.android.overlay.gmsconfig.photos
com.google.android.overlay.gmsconfig.gsa
com.google.android.soundpicker
com.google.android.tts
com.google.android.turboadapter
com.google.android.webview
com.google.android.settings.intelligence
com.google.android.apps.turbo

If you choose to uninstall via adb shell, this is how to uninstall everything listed above.
Use flag -k after uninstall to only remove the app and leave the cache.
pm uninstall com.google.android.gms
pm uninstall com.android.vending
pm uninstall com.google.android.as.oss
pm uninstall com.google.android.apps.restore
pm uninstall --user 0 com.google.android.gms
pm uninstall --user 0 com.android.vending
pm uninstall --user 0 com.google.android.as.oss
pm uninstall --user 0 com.google.android.apps.restore
pm uninstall --user 0 com.google.android.gms.policy_sidecar_aps
pm uninstall --user 0 com.google.android.projection.gearhead
pm uninstall --user 0 com.google.android.calculator
pm uninstall --user 0 com.google.android.calendar
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.google.android.deskclock
pm uninstall --user 0 com.google.android.dialer
pm uninstall --user 0 com.google.android.apps.messaging
pm uninstall --user 0 com.android.egg
pm uninstall --user 0 com.android.printspooler
pm uninstall --user 0 com.android.dreams.phototable
pm uninstall --user 0 com.google.android.feedback
pm uninstall --user 0 com.google.android.as
pm uninstall --user 0 com.google.android.marvin.talkback
pm uninstall --user 0 com.google.android.printservice.recommendation
pm uninstall --user 0 com.android.bluetoothmidiservice
pm uninstall --user 0 com.android.calllogbackup
pm uninstall --user 0 com.google.android.configupdater
pm uninstall --user 0 com.google.android.ext.shared
pm uninstall --user 0 com.google.android.gsf
pm uninstall --user 0 com.google.android.ims
pm uninstall --user 0 com.google.android.syncadapters.calendar
pm uninstall --user 0 com.android.gallery3d
pm uninstall --user 0 com.google.android.apps.cameralite
pm uninstall --user 0 com.google.android.apps.wellbeing
pm uninstall --user 0 com.google.android.apps.docs
pm uninstall --user 0 com.google.android.apps.nbu.files
pm uninstall --user 0 com.google.android.inputmethod.latin
pm uninstall --user 0 com.google.android.gm
pm uninstall --user 0 com.google.android.googlequicksearchbox
pm uninstall --user 0 com.google.android.apps.maps
pm uninstall --user 0 com.google.android.apps.safetyhub
pm uninstall --user 0 com.google.android.apps.photos
pm uninstall --user 0 com.google.android.youtube
pm uninstall --user 0 com.google.android.contacts
pm uninstall --user 0 com.android.hotwordenrollment.okgoogle
pm uninstall --user 0 com.android.hotwordenrollment.xgoogle
pm uninstall --user 0 com.android.partnerbookmarks
pm uninstall --user 0 com.android.traceur
pm uninstall --user 0 com.google.android.gms.location.history
pm uninstall --user 0 com.google.android.markup
pm uninstall --user 0 com.google.android.onetimeinitializer
pm uninstall --user 0 com.google.android.partnersetup
pm uninstall --user 0 com.google.android.tag
pm uninstall --user 0 com.google.android.gms.supervision
pm uninstall --user 0 com.google.android.overlay.gmsconfig.asi
pm uninstall --user 0 com.google.android.overlay.gmsconfig.common
pm uninstall --user 0 com.google.android.overlay.gmsconfig.comms
pm uninstall --user 0 com.google.android.overlay.gmsconfig.geotz
pm uninstall --user 0 com.google.android.overlay.gmsconfig.gsa
pm uninstall --user 0 com.google.android.overlay.gmsconfig.personalsafety
pm uninstall --user 0 com.google.android.overlay.gmsconfig.photos
pm uninstall --user 0 com.google.android.overlay.gmsconfig.gsa
pm uninstall --user 0 com.google.android.soundpicker
pm uninstall --user 0 com.google.android.tts
pm uninstall --user 0 com.google.android.turboadapter
pm uninstall --user 0 com.google.android.webview
pm uninstall --user 0 com.google.android.settings.intelligence
pm uninstall --user 0 com.google.android.apps.turbo

Nice, thanks for this. I wondered how this was done without inbuilt sig spoofing.
How much google stuff did you uninstall?

dememted1 said:
Nice, thanks for this. I wondered how this was done without inbuilt sig spoofing.
How much google stuff did you uninstall?
Click to expand...
Click to collapse
Updated it rn, but if you find more apps to uninstall safely (app id and use/name) please let me know

The_Toady said:
Updated it rn, but if you find more apps to uninstall safely (app id and use/name) please let me know
Click to expand...
Click to collapse
Thanks buddy. You are not a lover of Google too ?

dememted1 said:
Thanks buddy. You are not a lover of Google too ?
Click to expand...
Click to collapse
I like to play around with IT stuff and privacy is important to me. Also I dont want a Google calculator xD

I'm thinking of buying Nothing's phone, but the only thing that keeps me away are google apps. Custom roms seem to be still in newborn age so I would like to stay with original, NothingOS.
Ive been running devices without google apps for years and it was benefit a lot battery life and privacy. I dont miss google and surly dont want to go back to it.
If I remove all google apps with Universal Android Debloater, will the phone work just fine without those apps? I dont want microG to be installed.

Zwijam_Dywan said:
I'm thinking of buying Nothing's phone, but the only thing that keeps me away are google apps. Custom roms seem to be still in newborn age so I would like to stay with original, NothingOS.
Ive been running devices without google apps for years and it was benefit a lot battery life and privacy. I dont miss google and surly dont want to go back to it.
If I remove all google apps with Universal Android Debloater, will the phone work just fine without those apps? I dont want microG to be installed.
Click to expand...
Click to collapse
Sry I havent tried that and my phone is now in a state were I dont want to factory reset it till a microg rom comes out. Still Im very curios why you dont want to install microG

The_Toady said:
Sry I havent tried that and my phone is now in a state were I dont want to factory reset it till a microg rom comes out. Still Im very curios why you dont want to install microG
Click to expand...
Click to collapse
I do not have any specific reason to not install it. I had microg on /e/ rom previously on my oneplus 6t and it was just fine. I am running now oneplus 6t on lineage os without gapps and microG and it works absolutely fine. I just dont feel like I need it really. Thats all.

This guide is very similar to what I wrote on Redd... haha, I wasn't expecting that, thanks for mentioning me
I might add that this method is a little more secure than using ROM with signature spoothing + installing microG manually because FakeGapps allows to spoof signature for microG only, no other apps. Also all changes can be just disabled either by uninstalling Magisk or disabling modules in Safe Mode in case of issues.
And of course there is nothing specific in this method for Nothing Phone, I successfully use it on my other devices with stock ROMs or LineageOS.

The_Toady said:
Install stock ROM and finish setup (Skip everything etc.) (Had to redo everything cause I didnt finish it. Could not get rid of the notification)
Flash Magisk
In Magisk go to settings (top right icon) and enable 'Zygisk' option
Then in Magisk go to Modules tab, click top button 'Install from storage' install LSPosed-(...)-zygisk-release.zip (has to be zygisk version)
Install FakeGapps.apk like regular app
Reboot
Popup will came out that ask you to add shortcut icon to desktop for LSPosed, just add it and open it
Go to Modules and enable FakeGApps
Go to Magisk and install microG_Installer_Revived.zip as a Module
Reboot
Open microG Service Core and ensure all boxes are selected. The most important is signature spoofing - this is what LSPosed and FakeGapps is for.
For working push notifications go to microG Service Core app and enable Google devices registration and Cloud Messaging.
For working location at least two apps will be needed - MozillaNlpBackend and NominatimNlpBackend. After installing they need to be enabled in microG Service Core app (Location modules). Sometimes MozillaNlpBackend refuse to be enabled, then you just have to go to it's permissions and select "Allow all the time" for location permission.
For working SafetyNet additional Magisk module may be needed.
SMS and Location in background didn't work for me, reinstalled the microG installer module and it worked
To uninstall google apps I used Universal Android Debloater. To find out the id's I used App Inspector.
Click to expand...
Click to collapse
Instructions unclear. At what step should Google Play packages be removed and which exact packages belong to Play services(I've seen second post, but it's more about end-user apps)?
Following current instructions gives an error while installing microG_installer_revived, smth about duplicate permission that is already owned by com.google.android.gsf, don't have phone with me now, and microg core services crashing non-stop after reboot.

Is full nonsense a Rom where already GAPPS are installed try to install microg that can not work.

Use this Rom because microg is preinstalled.
[ROM] UNOFFICIAL Lineage OS 20.0 + MicroG
***************************************************************************************** * DISCLAIMER * * ROMs are published as is, without any guaranty. * * They are built automaticaly without test. * * I am not responsable if you phone is...
forum.xda-developers.com

Exodusnick said:
Is full nonsense a Rom where already GAPPS are installed try to install microg that can not work.
Click to expand...
Click to collapse
I disagree, it is reasonable to want to benefit from the features and optimizations of the stock ROM.
Especially while no custom ROM is able to take fully advantage of the Glyph interface at the moment.
Although it is a hit or miss without knowing the exact level of coupling of the ROM with Gapps, it is possible to install microG.
Given that Nothing OS offers an experience very close to vanilla Android, I believe that removing Gapps will not create any major issues.
I think that the problem that @gonococcus is facing is due to the fact that Gapps are not properly uninstalled from the ROM.
Using Universal System Debloater will simply uninstall the selected apps for the current user instead of removing them completely from the ROM.
Here is my version of @The_Toady's guide:
Do a factory reset.
Complete the initial setup without connecting to the Internet and without adding any Google account.
This will prevent Gapps from updating or installing more apps.
Root your phone by flashing the latest version of Magisk.
Uninstall Gapps:
Create a file named 'SystemlessDebloaterList.sh' under /storage/emulated/0/Download and add the following text:
Code:
DebloatList="
GmsCore
GoogleServicesFramework
Phonesky
"
Notice that this is the minimum list of apps that must be uninstalled for a successful microG installation.
If you want to further debloat your phone, you can add more apps in the list acoording to the module's instructions.
Install the latest version of Systemless Debloater as a Magisk module.
Reboot.
Enable signature spoofing:
Enable Zygisk in Magisk's settings.
Install the latest Zygisk release of LSPosed as a Magisk module.
Install the FakeGapps app.
Reboot.
Add the shortcut icon of LSPosed to your home-screen and open it.
Enable the FakeGApps LSPosed module.
Reboot.
Install the latest version of the microG Installer Revived as a Magisk module and reboot.
The above guide worked flawlessly for me on both 1.1.7 and 1.5-beta versions of Nothing OS.
I was even able to install OTAs manually with reasonable effort.
If you are interested I will write a guide about it soon.

Sorry no interest as I have my own Rom with microG .
Without bells and whistles with this LSPosed and I do not know .
Which also intervenes much too deep into the system.

Exodusnick said:
Sorry no interest as I have my own Rom with microG .
Click to expand...
Click to collapse
The current post is a guide on how to install microG on stock ROM.
My response tries to enable users do exactly this.
Exodusnick said:
Without bells and whistles with this LSPosed and I do not know .
Click to expand...
Click to collapse
I agree with you, a custom ROM that comes in vanilla version and takes fully advantage of the device's hardware is much preferable.
Exodusnick said:
Which also intervenes much too deep into the system.
Click to expand...
Click to collapse
This is up to you, e.g., the FakeGapps module is enabling signature spoofing only for microG and not system-wide.

emdikay said:
I think that the problem that @gonococcus is facing is due to the fact that Gapps are not properly uninstalled from the ROM.
Click to expand...
Click to collapse
Hey, thanks for very detailed explanation! (and merry Christmas)
I think my problem occurred due to either not removing original gapps or not leaving them intact. I found github issue at microg-installer-revived repo describing same problem and the author was asking if the person removed original gapps, so I got the impression that maybe I should've left them intact before installing magisk module.
My problem was solved by installing first 3.0.0 and then updating to 3.1.0 on top of it, which also supports my theory that microg-installer-revived should be applied on top of existing gapps/microg.
Anyway, in the end I gave up on microg at this point of time. I'm upgrading from my older phone which uses Lineage for microg. It doesn't work ideally, but I managed ok for last few years, but with microg-installer-revived package some apps that use Maps API are crashing straight away(at least few of them used to work, others would crash on both phones). My guess is they might be packaging different versions/dev branches of microg so the magisk version lags behind. For the time being I've uninstalled much of google stuff and will wait for NP1 ecosystem mature a bit more, hopefully getting Lineage for microg distro at some point. I'll keep an eye on microg in case there are some major updates.

SelfRef said:
This guide is very similar to what I wrote on Redd... haha, I wasn't expecting that, thanks for mentioning me
I might add that this method is a little more secure than using ROM with signature spoothing + installing microG manually because FakeGapps allows to spoof signature for microG only, no other apps. Also all changes can be just disabled either by uninstalling Magisk or disabling modules in Safe Mode in case of issues.
And of course there is nothing specific in this method for Nothing Phone, I successfully use it on my other devices with stock ROMs or LineageOS.
Click to expand...
Click to collapse
Yeah it really helped me and just "reposted' it here to make it easier to find. So big thanks.

Exodusnick said:
Use this Rom because microg is preinstalled.
[ROM] UNOFFICIAL Lineage OS 20.0 + MicroG
***************************************************************************************** * DISCLAIMER * * ROMs are published as is, without any guaranty. * * They are built automaticaly without test. * * I am not responsable if you phone is...
forum.xda-developers.com
Click to expand...
Click to collapse
If there was a good ROM with microG installed (or even anything when I created that post) I would have used it, but I want stuff like Fingerprint and NFC (I have a yubikey) and still dont want to use google. My Solution rn is e/OS/ on a S9 because I'm waiting for a good rom. This guide is for people like me, where this is the "best" solution

Related

No longer able to delete sprint apps with adb

Hello,
I recently factory reset as my phone was having a lot of lag issues. When i was debloating it again, it no longer let me uninstall ANY sprint apps. I really hate the sprint apps, they keep installing uber etc. If anyone know why please, let me know.
thanks.
Code:
lucye:/ $ pm uninstall -k --user 0 com.sprint.w.installer
Security exception: Cannot delete com.sprint.w.installer
java.lang.SecurityException: Cannot delete com.sprint.w.installer
at com.android.server.pm.PackageManagerService.deletePackageVersioned(PackageManagerService.java:19815)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:913)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:912)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:134)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23302)
at android.os.Binder.shellCommand(Binder.java:577)
at android.os.Binder.onTransact(Binder.java:477)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2750)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3973)
at com.android.server.pm.PackageManagerServiceEx.onTransact(PackageManagerServiceEx.java:58)
at android.os.Binder.execTransact(Binder.java:690)
JESUSARIUS REX said:
Hello,
I recently factory reset as my phone was having a lot of lag issues. When i was debloating it again, it no longer let me uninstall ANY sprint apps. I really hate the sprint apps, they keep installing uber etc. If anyone know why please, let me know.
thanks.
Code:
lucye:/ $ pm uninstall -k --user 0 com.sprint.w.installer
Security exception: Cannot delete com.sprint.w.installer
java.lang.SecurityException: Cannot delete com.sprint.w.installer
at com.android.server.pm.PackageManagerService.deletePackageVersioned(PackageManagerService.java:19815)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:913)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:912)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:134)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:23302)
at android.os.Binder.shellCommand(Binder.java:577)
at android.os.Binder.onTransact(Binder.java:477)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2750)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3973)
at com.android.server.pm.PackageManagerServiceEx.onTransact(PackageManagerServiceEx.java:58)
at android.os.Binder.execTransact(Binder.java:690)
Click to expand...
Click to collapse
Bump. Having the same problem with the same package on the same phone. Would appreciate any advice.
Use this instead, I got it on mobilism but here's the official link https://play.google.com/store/apps/details?id=com.pdmdm.dmplay
I was able to disable it using adb. FIrst I used the command
am force-stop com.sprint.w.installer
Then I used the command
pm disable-user com.sprint.w.installer

[Guide][CN Version]Removal of China related Apps [RealMe X2pro] Making it clean

Disclaimer :
PHP:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Your warranty will be void if you tamper with any part of your device / software.
Objective :
The following is for all who have a CN Version RealMe X2pro and want to change to EU Rom and not able like myself for the time being.
I'll provide a step by step Guide to remove all unwanted Chines system apps related to RealMe or Oppo and what to install to get a somewhat of clean and working build that would still get OTA and will be a better experience.
I hope its useful as that was the only way for me to use my CN version phone.
What you need First to be done:
Make sure google play Store is installed.
Make sure you are on the latest update. "RMX1931_11_A.12" even if you do OTA update nth will be affected.
Source all credits to this post.
What you need to do Second:
1) Install the USB drivers for your device (Google has a list of some universal USB drivers here)
2) Download the ADB binary for your particular OS (Windows, Mac, Linux)
3) Extract the zip file into a folder that you can quickly access.
4) On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
5) Now enter Developer Options and find USB Debugging. Enable it.
6) Open CMD at the location where you downloaded point 2 and point 3
The Source link has even more details ill stop at this point and jump to the Third step with what we need to delete.
Step Three :
After CMD is open on the designated folder where you extracted the zip file:
Commands first set:
PHP:
* adb devices
* adb shell
you will see your device details "[email protected]:/ $"
click the source link if you need visual details
Commands second set:
PHP:
Now copy past hit enter part for the following after each other
* pm uninstall -k --user 0 com.oppo.quicksearchbox ----> This will remove the single swip from top to bottom search that has lots of Chinese in it
* pm uninstall -k --user 0 com.coloros.assistantscreen ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.smartdrive ---->This will remove the breeno assistant drive
* pm uninstall -k --user 0 com.coloros.directui ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.ocrscanner ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.speechassist ----->This will remove the breeno assistant
* pm uninstall -k --user 0 com.nearme.browser ------>This will remove the browser
* pm uninstall -k --user 0 com.oppo.market ---->This will remove App Market
* pm uninstall -k --user 0 com.coloros.findmyphone ---->This will remove find my phone service
* pm uninstall -k --user 0 com.realme.findphone.client2 ----> This will remove Find my Phone
* pm uninstall -k --user 0 com.coloros.filemanager ----> This will remove File Manager
* pm uninstall -k --user 0 com.coloros.wallet ----> This will remove the wallet
* pm uninstall -k --user 0 com.nearme.themestore ---> This will remove Themes
* pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem ----> This will remove the Keyboard make sure you have another one installed.
Those area the apps that i found annoying and made me hate the UI.
Step Four:
Now since everything is removed you ether clone your old phone using the app or just start downloading your apps from Google play Store.
for the swipe down the moment you install "Google" from play store it will directly replace it with google search.
Note: In case anything happened you can always just do a hard rest and you are back to normal
Let me know how helpful this is to you guys. and if you need to check anything else to update this post.
This is how i am actually enjoying my RealMe X2pro now.
again all thanks and credit to @ Doug Lynch Source i just made the short cuts easy to come back too.
How do I remove the Chinese text-to-speech engine? It has highly annoying Chinese voices trying to speak English, and by default it's being used over other installed TTS engines.
marcovth2 said:
How do I remove the Chinese text-to-speech engine? It has highly annoying Chinese voices trying to speak English, and by default it's being used over other installed TTS engines.
Click to expand...
Click to collapse
if you check step 3 you will find the breeno apps you got to remove all that.
You know how to change the launcher?
Arn0ldx said:
You know how to change the launcher?
Click to expand...
Click to collapse
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!
kkarnaout said:
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!
Click to expand...
Click to collapse
I see thank you I will try to uninstall the apps that you recommended
Thanks for this. I was thinking of doing this too but you've saved me the trouble. I was busy trying to compile a version of Lawnchair with the applicationId of com.oppo.launcher to try and trick the phone in to bypassing the home gesture issue but without much success.
The home button (virtual keys) are fine as long as you have another launcher installed when you remove the oppo one. The upward gesture swipe to homescreen will not work (doesn't hang the phone, just fails and brings the last app back up), though you can long swipe up (recents) and click on the empty space to get back to the launcher but I ended up going with the virtual keys.
Can it fix the login of CN rom?
I can't login cause they need phone 86+ from china it will paid the number that we login too.
I tried to use free sms received but yes it need too pay to login with Chinese number.
Stanz3k said:
Thanks for this. I was thinking of doing this too but you've saved me the trouble. I was busy trying to compile a version of Lawnchair with the applicationId of com.oppo.launcher to try and trick the phone in to bypassing the home gesture issue but without much success.
The home button (virtual keys) are fine as long as you have another launcher installed when you remove the oppo one. The upward gesture swipe to homescreen will not work (doesn't hang the phone, just fails and brings the last app back up), though you can long swipe up (recents) and click on the empty space to get back to the launcher but I ended up going with the virtual keys.
Click to expand...
Click to collapse
Thank you, I was able to uninstall oppo launcher having Nova launcher installed
kkarnaout said:
yes its possible but i don't recommend because your home button will not work and will hang the phone ! if you still want it let me know i can add it later to first post!
Click to expand...
Click to collapse
you can still use swipe navigation but the "swipe from both sides" cant be used you have to use either the back on left or right option.
Nova works flawless for me
Create oppo id
Numslick555 said:
Can it fix the login of CN rom?
I can't login cause they need phone 86+ from china it will paid the number that we login too.
I tried to use free sms received but yes it need too pay to login with Chinese number.
Click to expand...
Click to collapse
You can totally create an account on their web page and login on the phone, so you can get the added services and avoid their pesky login requirements. Also ig you don't want to use your phone number, use twilio or something like that
URL="https://id.oppo.com/register/sms?type=1"
Hmmm, my ringtones don't work anymore
danvalang said:
Hmmm, my ringtones don't work anymore
Click to expand...
Click to collapse
its cause you uninstalled file manager had same issue when i had my reno 10x
also you can remove com.coloros.athena (this will keep things running in background helps notifications come through without delay only change is when you pull up recents you have to manually swipe each app away to close cause the X at the bottom no longer works)
Another thing is you do not have to Factory reset your phone to get apps back since you technically are not uninstalling things just disabling them. go back to the adb command window and type following command "adb shell cmd package install-existing (name of package you disabled)" and this will re-enable them.
Hope this helps
Why do we need to uninstall file manager? they are useful arent they?
kkarnaout said:
Disclaimer :
PHP:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Your warranty will be void if you tamper with any part of your device / software.
Objective :
The following is for all who have a CN Version RealMe X2pro and want to change to EU Rom and not able like myself for the time being.
I'll provide a step by step Guide to remove all unwanted Chines system apps related to RealMe or Oppo and what to install to get a somewhat of clean and working build that would still get OTA and will be a better experience.
I hope its useful as that was the only way for me to use my CN version phone.
What you need First to be done:
Make sure google play Store is installed.
Make sure you are on the latest update. "RMX1931_11_A.12" even if you do OTA update nth will be affected.
Source all credits to this post.
What you need to do Second:
1) Install the USB drivers for your device (Google has a list of some universal USB drivers here)
2) Download the ADB binary for your particular OS (Windows, Mac, Linux)
3) Extract the zip file into a folder that you can quickly access.
4) On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.
5) Now enter Developer Options and find USB Debugging. Enable it.
6) Open CMD at the location where you downloaded point 2 and point 3
The Source link has even more details ill stop at this point and jump to the Third step with what we need to delete.
Step Three :
After CMD is open on the designated folder where you extracted the zip file:
Commands first set:
PHP:
* adb devices
* adb shell
you will see your device details "[email protected]:/ $"
click the source link if you need visual details
Commands second set:
PHP:
Now copy past hit enter part for the following after each other
* pm uninstall -k --user 0 com.oppo.quicksearchbox ----> This will remove the single swip from top to bottom search that has lots of Chinese in it
* pm uninstall -k --user 0 com.coloros.assistantscreen ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.smartdrive ---->This will remove the breeno assistant drive
* pm uninstall -k --user 0 com.coloros.directui ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.ocrscanner ---->This will remove the breeno assistant
* pm uninstall -k --user 0 com.coloros.speechassist ----->This will remove the breeno assistant
* pm uninstall -k --user 0 com.nearme.browser ------>This will remove the browser
* pm uninstall -k --user 0 com.oppo.market ---->This will remove App Market
* pm uninstall -k --user 0 com.coloros.findmyphone ---->This will remove find my phone service
* pm uninstall -k --user 0 com.realme.findphone.client2 ----> This will remove Find my Phone
* pm uninstall -k --user 0 com.coloros.filemanager ----> This will remove File Manager
* pm uninstall -k --user 0 com.coloros.wallet ----> This will remove the wallet
* pm uninstall -k --user 0 com.nearme.themestore ---> This will remove Themes
* pm uninstall -k --user 0 com.sohu.inputmethod.sogouoem ----> This will remove the Keyboard make sure you have another one installed.
Those area the apps that i found annoying and made me hate the UI.
Step Four:
Now since everything is removed you ether clone your old phone using the app or just start downloading your apps from Google play Store.
for the swipe down the moment you install "Google" from play store it will directly replace it with google search.
Note: In case anything happened you can always just do a hard rest and you are back to normal
Let me know how helpful this is to you guys. and if you need to check anything else to update this post.
This is how i am actually enjoying my RealMe X2pro now.
again all thanks and credit to @ Doug Lynch Source i just made the short cuts easy to come back too.
Click to expand...
Click to collapse
Do you try to reboot, and it will cause error?
necsynx said:
Do you try to reboot, and it will cause error?
Click to expand...
Click to collapse
there is no issues at all, and its working perfectly, frankly i removed the launcher and a few items only, and its working amazing. you need to test it out a few times to get it to the place you want.
kkarnaout said:
there is no issues at all, and its working perfectly, frankly i removed the launcher and a few items only, and its working amazing. you need to test it out a few times to get it to the place you want.
Click to expand...
Click to collapse
Whats the launcher app name?
necsynx said:
Whats the launcher app name?
Click to expand...
Click to collapse
I found it ..
Its com.oppo.launcher
Phone and Message App
Is it possible to get rid of the phone and message app, the browser app?
Rifat Rezwan said:
Is it possible to get rid of the phone and message app, the browser app?
Click to expand...
Click to collapse
yes its shown in first post for browser, as for phone and messages its not recommended but if u want let me know ill get u there name

HD10 (2019): Use Amazon prime video app without completing tablet amazon-registration

Is there an option to use the Amazon prime video app on a HD10 (2019) without completing the Amazon registration for the tablet? Just log in to the app solely?
Thank's for help/ideas!
SerialK9 said:
Is there an option to use the Amazon prime video app on a HD10 (2019) without completing the Amazon registration for the tablet? Just log in to the app solely?
Thank's for help/ideas!
Click to expand...
Click to collapse
Why can't you complete registration? If you are able to root, you might have some options...
Michajin said:
Why can't you complete registration? If you are able to root, you might have some options...
Click to expand...
Click to collapse
I disabled ota via adb and alerted the launcher and somehow I fear to lose those modifications more easily the more "access" I grant Amazon to the tablet.. Tell me, am I too cautious?
SerialK9 said:
I disabled ota via adb and alerted the launcher and somehow I fear to lose those modifications more easily the more "access" I grant Amazon to the tablet.. Tell me, am I too cautious?
Click to expand...
Click to collapse
What version are you on? I have found that you wont take the update if you enable the apps as long as you dont reboot (just disable the OTA again when you are done). But i am curious what apps you disabled that would prevent registration... If you only disabled the ones for the OTA then you should be able to register. I have a few of these with the OTA's disabled. I have (1) on 7.3.1.0 and (2) on 7.3.1.1 and all are registered. The latest is 7.3.1.2, if you are on that you might as well do what you need then disable whenever you want...
---------- Post added at 06:17 PM ---------- Previous post was at 06:12 PM ----------
Michajin said:
What version are you on? I have found that you wont take the update if you enable the apps as long as you dont reboot (just disable the OTA again when you are done). But i am curious what apps you disabled that would prevent registration... If you only disabled the ones for the OTA then you should be able to register. I have a few of these with the OTA's disabled. I have (1) on 7.3.1.0 and (2) on 7.3.1.1 and all are registered. The latest is 7.3.1.2, if you are on that you might as well do what you need then disable whenever you want...
Click to expand...
Click to collapse
The apps i disabled -
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe.forced.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota.override
The one that could cause the registration error i keep enabled. ..
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe
Michajin said:
What version are you on? I have found that you wont take the update if you enable the apps as long as you dont reboot (just disable the OTA again when you are done). But i am curious what apps you disabled that would prevent registration... If you only disabled the ones for the OTA then you should be able to register. I have a few of these with the OTA's disabled. I have (1) on 7.3.1.0 and (2) on 7.3.1.1 and all are registered. The latest is 7.3.1.2, if you are on that you might as well do what you need then disable whenever you want...
---------- Post added at 06:17 PM ---------- Previous post was at 06:12 PM ----------
The apps i disabled -
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe.forced.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota.override
The one that could cause the registration error i keep enabled. ..
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe
Click to expand...
Click to collapse
I'm on 7.3.1.0 and want to stay there..
I've disabled
com.amazon.kindle.otter.oobe.forced.ota
com.amazon.device.software.ota
com.amazon.device.software.ota.override
And I think that one too but I have to check:
com.amazon.kindle.otter.oobe.
Because of your suggestion I registered yesterday which worked fine.
Have to check the disabled state toady then..

Debloat?

Now that CCSW is dead, are there any good debloat ADB scripts around?
subbed
What's CCSW?
a good foundation script
https://forum.xda-developers.com/galaxy-note-9/how-to/note-9-debloat-bash-script-t3907659
I used this one from the S20 thread
https://forum.xda-developers.com/galaxy-s20/how-to/how-to-ultimate-adb-debloating-thread-t4089089
This new tool looks promising: ADB AppControl https://forum.xda-developers.com/an...easy-management-android-applications-t4147837
Good debloat script
raul6 said:
a good foundation script
https://forum.xda-developers.com/galaxy-note-9/how-to/note-9-debloat-bash-script-t3907659
Click to expand...
Click to collapse
This is indeed a very good script from which to pick and choose what you debloat and is by far the best one I have found. What I like about it is that there is a helpful description of what the package does.
I have gone down the ADB debloat route with my Note 20 Ultra
bud7dha said:
This new tool looks promising: ADB AppControl https://forum.xda-developers.com/an...easy-management-android-applications-t4147837
Click to expand...
Click to collapse
This worked way better then expected.
I'm not new to ADB, but having the simple GUI to see what you are doing is amazing.
Was able to de-bloat to my desire with no problems at all!
Thanks for sharing!
or you could use package disabler pro from the google store which is even easier.
umx said:
or you could use package disabler pro from the google store which is even easier.
Click to expand...
Click to collapse
However, you have to keep re-puchasing it which is dull :crying:
pdagenius said:
However, you have to keep re-puchasing it which is dull :crying:
Click to expand...
Click to collapse
I had to purchase for note 9, repurchase for s10 and purchase again for the Note 10 but that one has now worked for the s20 and the note 20. So keeping fingers crossed lol.
If you are on AT&T this might help. I just downloaded ADB and ran the commands below. I hate not having the option of removing apps!
I removed all AT&T preinstalled apps + Samsung Browser, Chrome, Flipboard, and OneDrive.
pm uninstall --user 0 flipboard.boxer.app
pm uninstall --user 0 com.att.callprotect
pm uninstall --user 0 com.att.thanks
pm uninstall --user 0 net.aetherpal.device
pm uninstall --user 0 com.att.iqi
pm uninstall --user 0 com.android.chrome
pm uninstall --user 0 com.att.personalcloud
pm uninstall --user 0 com.att.dh
pm uninstall --user 0 com.synchronoss.dcs.att.r2g
pm uninstall --user 0 com.att.myWireless
pm uninstall --user 0 com.att.mobilesecurity
pm uninstall --user 0 com.att.tv
pm uninstall --user 0 com.att.csoiam.mobilekey
pm uninstall --user 0 com.att.android.attsmartwifi
pm uninstall --user 0 com.sec.android.app.sbrowser
pm uninstall --user 0 com.sec.android.app.sbrowser
pm uninstall --user 0 com.dti.att
pm uninstall --user 0 com.microsoft.skydrive
umx said:
or you could use package disabler pro from the google store which is even easier.
Click to expand...
Click to collapse
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
ggrant3876 said:
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
Click to expand...
Click to collapse
i used to use ccsw they pulled his license not sure why. I prob disabled 80 or so things.. giving more like pure android after that.. and better battery
ggrant3876 said:
Was using CCSW but stopped working but went back to Package Disabler Pro. I am proficient with adb but don't want yo delete something with it and find out I now need it. Much easier to just disable the app and if for some reason you need it back just reenable it.
Click to expand...
Click to collapse
From what I see for the Adb commands, the is a package install command which works in a similar way to disable /enable and therefore uninstall is not an issue as the package remains on your phone unless you are rooted.
If you are a little organised and keep a list of what you uninstalling it is not an issue in my opinion.
pdagenius said:
From what I see for the Adb commands, the is a package install command which works in a similar way to disable /enable and therefore uninstall is not an issue as the package remains on your phone unless you are rooted.
If you are a little organised and keep a list of what you uninstalling it is not an issue in my opinion.
Click to expand...
Click to collapse
What I've seen on here before, sometimes they use this "pm uninstall -k --user 0 com.my.demo.app". I'm just a belts and suspenders kind of gut I guess!

[Solved] Error: "Unfortunately, Google Play Services has stopped" On different Note 4 Variants!!

Getting an error on multiple Note 4 variants N910V running Modest Rom & N916K (converted to N910C) running eRobot all within the last couple of days "Unfortunately, Google Play Services has stopped" , seems like a global issue anyone knows why & how to fix this??? Clearing the data cache of Google Appz does not help neither the factory reset, tried that too.
As a temporary solution I freezed " Google Play Services" using Lucky Patcher after some research but all Google Appz are not working, Pros Response is needed!
FOR THE SOLUTION read the last 3 posts starting post #7​
[Solved] Error: "Unfortunately, Google Play Services has stopped" On different Note 4 Variants!!
Getting an error on multiple Note 4 variants N910V running Modest Rom & N916K (converted to N910C) running eRobot all within the last couple of days "Unfortunately, Google Play Services has stopped" , seems like a global issue anyone knows why &...
forum.xda-developers.com
My temp solution was also disabling GMS, but via ADB - the phone itself was spamming with the error messages so much, it was unusable. My commands:
```
adb shell
su
pm disable com.google.android.gms
```
That removes access to all google services, ofc.
The error disappeared for some time after installing GMS 18.7.19 - I described that in the thread:
[solved] Google Play Store uninstalled, now cannot get it back
tl;dr: I uninstalled com.android.vending via adb, now re-installing it from APK isn't bringing the icon, or the functionality, back. So today I tried to use my phone as you do, and "Application Google Play Services has stopped" was popping...
forum.xda-developers.com
.. but few days have passed, and the old version started to do the same thing.
So downgrading GMS won't help.
Some people claimed that full data wipe helps. Would be nice to figure out the single file which needs to be deleted to make everything work, instead of wiping the phone.
UPDATE:
I 'fixed' it again, but not sure if it won't stop working again, tomorrow. What I did was:
1. Identify names of all apps which use Google Servies
2. Disable all of them
3. Clear all cache and all data in all of them
4. Re-enable the ones I use
ad 1.
I used `pm list packages -f | grep google` and few other greps to get the list, then browsed through it to find the apps which have higher chance of making the difference.
You probably don't have to replicate this point if you just want to fix your issue.
Though to execute commands from the points below, you need to first:
```
adb shell
su
```
ad 2.
I disabled the apps which looked relevant to me, and those which I never use anyway:
```
# Google Play Services - the one which is crashing
pm disable com.google.android.gms
# GMail
pm disable com.google.android.gm
# Google Maps
pm disable com.google.android.apps.maps
# Youtube app
pm disable com.google.android.youtube
# Play Store
pm disable com.android.vending
# Web pages view used in other apps
pm disable com.google.android.webview
# Google Service Framework
pm disable com.google.android.gsf
pm disable com.google.android.gsf.login
# Google Search desktop widget
pm disable com.google.android.googlequicksearchbox
# Google Play Videos
pm disable com.google.android.videos
# Google Play Books
pm disable com.google.android.apps.books
# Google Play Games
pm disable com.google.android.play.games
# Google Play Kiosk
pm disable com.google.android.apps.magazines
# Google Photos
pm disable com.google.android.apps.photos
# Google Drive (yes, drive is named docs..)
pm disable com.google.android.apps.docs
```
ad 3.
I cleared data and cache of all these apps. Note that this means google accounts are disconnected, gmail is no longer configured, you are not logged in to YT etc. If you allowed google to move your contacts to their service, all the contacts will disappear as well - a lesson to not allow moving your contacts anywhere in the future.
```
pm clear com.google.android.gms
pm clear com.google.android.gm
pm clear com.google.android.apps.maps
pm clear com.google.android.youtube
pm clear com.android.vending
pm clear com.google.android.webview
pm clear com.google.android.gsf
pm clear com.google.android.gsf.login
pm clear com.google.android.googlequicksearchbox
pm clear com.google.android.videos
pm clear com.google.android.apps.books
pm clear com.google.android.play.games
pm clear com.google.android.apps.magazines
pm clear com.google.android.apps.photos
pm clear com.google.android.apps.docs
```
ad 4.
At this point I was able to re-enable GMS without any crash:
```
pm enable com.google.android.gms
```
Then I re-enabled the apps, only ones which I really use. The rest will stay disabled for ever - there is no need to bloat the phone with unused processing. So my enable list was:
```
pm enable com.google.android.gm
pm enable com.google.android.apps.maps
pm enable com.google.android.youtube
pm enable com.android.vending
pm enable com.google.android.webview
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
pm enable com.google.android.googlequicksearchbox
pm enable com.google.android.apps.docs
```
Conclusion: I've seen several people here telling GMS is cancer. This is fully true.
xero4zero said:
Getting an error on multiple Note 4 variants N910V running Modest Rom & N916K (converted to N910C) running eRobot all within the last couple of days "Unfortunately, Google Play Services has stopped" , seems like a global issue anyone knows why & how to fix this??? Clearing the data cache of Google Appz does not help neither the factory reset, tried that too.
As a temporary solution I freezed " Google Play Services" using Lucky Patcher after some research but all Google Appz are not working, Pros Response is needed!
Click to expand...
Click to collapse
I thought I was going crazy. Same going on here.
N910T with N935T Rom by Maximum OvrDrive. If I open various apps, they just open, then close to the home screen. I too had to disable GPlayS. Now I'm left scratching my head. Older versions of Play Services just trigger notifications.
After performing all the typical cache clearing, nothing worked. So I formatted, TWRPd my ROM from scratch, I immediately had the same problem!
Reserved for updates if any!
kaszebci said:
My temp solution was also disabling GMS, but via ADB - the phone itself was spamming with the error messages so much, it was unusable. My commands:
```
adb shell
su
pm disable com.google.android.gms
```
That removes access to all google services, ofc.
The error disappeared for some time after installing GMS 18.7.19 - I described that in the thread:
[solved] Google Play Store uninstalled, now cannot get it back
tl;dr: I uninstalled com.android.vending via adb, now re-installing it from APK isn't bringing the icon, or the functionality, back. So today I tried to use my phone as you do, and "Application Google Play Services has stopped" was popping...
forum.xda-developers.com
.. but few days have passed, and the old version started to do the same thing.
So downgrading GMS won't help.
Some people claimed that full data wipe helps. Would be nice to figure out the single file which needs to be deleted to make everything work, instead of wiping the phone.
UPDATE:
I 'fixed' it again, but not sure if it won't stop working again, tomorrow. What I did was:
1. Identify names of all apps which use Google Servies
2. Disable all of them
3. Clear all cache and all data in all of them
4. Re-enable the ones I use
ad 1.
I used `pm list packages -f | grep google` and few other greps to get the list, then browsed through it to find the apps which have higher chance of making the difference.
You probably don't have to replicate this point if you just want to fix your issue.
Though to execute commands from the points below, you need to first:
```
adb shell
su
```
ad 2.
I disabled the apps which looked relevant to me, and those which I never use anyway:
```
# Google Play Services - the one which is crashing
pm disable com.google.android.gms
# GMail
pm disable com.google.android.gm
# Google Maps
pm disable com.google.android.apps.maps
# Youtube app
pm disable com.google.android.youtube
# Play Store
pm disable com.android.vending
# Web pages view used in other apps
pm disable com.google.android.webview
# Google Service Framework
pm disable com.google.android.gsf
pm disable com.google.android.gsf.login
# Google Search desktop widget
pm disable com.google.android.googlequicksearchbox
# Google Play Videos
pm disable com.google.android.videos
# Google Play Books
pm disable com.google.android.apps.books
# Google Play Games
pm disable com.google.android.play.games
# Google Play Kiosk
pm disable com.google.android.apps.magazines
# Google Photos
pm disable com.google.android.apps.photos
# Google Drive (yes, drive is named docs..)
pm disable com.google.android.apps.docs
```
ad 3.
I cleared data and cache of all these apps. Note that this means google accounts are disconnected, gmail is no longer configured, you are not logged in to YT etc. If you allowed google to move your contacts to their service, all the contacts will disappear as well - a lesson to not allow moving your contacts anywhere in the future.
```
pm clear com.google.android.gms
pm clear com.google.android.gm
pm clear com.google.android.apps.maps
pm clear com.google.android.youtube
pm clear com.android.vending
pm clear com.google.android.webview
pm clear com.google.android.gsf
pm clear com.google.android.gsf.login
pm clear com.google.android.googlequicksearchbox
pm clear com.google.android.videos
pm clear com.google.android.apps.books
pm clear com.google.android.play.games
pm clear com.google.android.apps.magazines
pm clear com.google.android.apps.photos
pm clear com.google.android.apps.docs
```
ad 4.
At this point I was able to re-enable GMS without any crash:
```
pm enable com.google.android.gms
```
Then I re-enabled the apps, only ones which I really use. The rest will stay disabled for ever - there is no need to bloat the phone with unused processing. So my enable list was:
```
pm enable com.google.android.gm
pm enable com.google.android.apps.maps
pm enable com.google.android.youtube
pm enable com.android.vending
pm enable com.google.android.webview
pm enable com.google.android.gsf
pm enable com.google.android.gsf.login
pm enable com.google.android.googlequicksearchbox
pm enable com.google.android.apps.docs
```
Conclusion: I've seen several people here telling GMS is cancer. This is fully true.
Click to expand...
Click to collapse
That didnt work either.
N910T 2014-Date said:
I thought I was going crazy. Same going on here.
N910T with N935T Rom by Maximum OvrDrive. If I open various apps, they just open, then close to the home screen. I too had to disable GPlayS. Now I'm left scratching my head. Older versions of Play Services just trigger notifications.
After performing all the typical cache clearing, nothing worked. So I formatted, TWRPd my ROM from scratch, I immediately had the same problem!
Click to expand...
Click to collapse
Sorry to hear that, but finally I am sure that it is a global issue a bug by Google or a trap for rooted Note 4 devices??? I guess we will hopefully know in a few ....
N910T 2014-Date said:
I thought I was going crazy. Same going on here.
N910T with N935T Rom by Maximum OvrDrive. If I open various apps, they just open, then close to the home screen. I too had to disable GPlayS. Now I'm left scratching my head. Older versions of Play Services just trigger notifications.
After performing all the typical cache clearing, nothing worked. So I formatted, TWRPd my ROM from scratch, I immediately had the same problem!
Click to expand...
Click to collapse
I am waiting for the new version of Google Play Services to see if they would fix this. Till that time I used Lucky Patcher and/or Uninstaller Pro to freeze Google Play Services even uninstalled some GAppz & installed alternative applications for my normal daily activities like Blue Mail instead of Gmail, Sygic instead of Google Maps ... If this continues I guess I will be better off to finally escape the grip of Google. There is always an alternative!!!
The Alternative
[GUIDE] DeGoogle any device and install MicroG
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user...
forum.xda-developers.com
And SUCCESS
What u need is a Rooted Note 4 + Xposed Module or Magisk follow the instructions from the link above install FakeGApps [MODULE] in Xposed if you have SU or Smali Patcher [MODULE] if you have Magisk
Signature Spoofing
Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.
github.com
[INDEX] How to get Signature Spoofing support
Beware, you are about to enter a dangerous zone! I N T R O D U C T I O N Signature Spoofing is a feature that allow apps to impersonate themselves as other apps. It works by faking the package signature of an app as the one that the app is...
forum.xda-developers.com
[INDEX] How to get Signature Spoofing support
Beware, you are about to enter a dangerous zone! I N T R O D U C T I O N Signature Spoofing is a feature that allow apps to impersonate themselves as other apps. It works by faking the package signature of an app as the one that the app is...
forum.xda-developers.com
then install microG required Appz from here:
Download - microG Project
et Voila You can run any Google App u need
Thanks XDA
xero4zero said:
And SUCCESS
Click to expand...
Click to collapse
After re-flashing my ROM, I immediately re-installed XPosed as usual. One of my two versions of XPrivacyLUA couldn't load the module it needed, so I uninstalled XPosed intending to reinstall. I restarted without reinstalling, and everything now works again. I'm curious if you use XPLUA, because if you do, perhaps GPlay no longer recognizes spoofed information.
I don't know. I'll definitely take your microG route if this thing acts up again. I'd prefer to keep my XPLUA actively spoofing, but for now I'm just too damn lazy.
xero4zero said:
And SUCCESS
What u need is a Rooted Note 4 + Xposed Module or Magisk follow the instructions from the link above install FakeGApps [MODULE] in Xposed if you have SU or Smali Patcher [MODULE] if you have Magisk
Click to expand...
Click to collapse
For Magisk you can also use NanoDroid Patcher
https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-patcher-23.1.2.20210117.zip
Signature Spoofing
Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.
github.com
I had another round of fighting the same issue. And the solutions proposed by @xero4zero seem to be best (even though they might be not trivial to apply).
I decided to use Magisk+NanoDroid. Here is some explanation, and my steps with some notes of the issues I stumbled upon:
-1. what are those strange names
Magisk is a rooting tool, with additional features - it allows more control over boot process and allows hooking (adding custom code) in many places within the system. When Magisk is installed, you can make use of its features by installing Magisk Modules. We need it because it provides root, but it also makes it easier for NanoDroid to run - NanoDroid is able to use these hooks.
NanoDroid in a pack of tools which make it easier to install free alternatives for Google Services. There is a package which patches the Android to allow these tools to run (NanoDroid-patcher), and the actual microG package (NanoDroid-microG). NanoDroid also integrates F-Droid, which is an alternative store (you can install F-Droid independently on any device, it's just an app store).
TWRP is a very good replacement of Android Recovery partition, which allows you to do a lot of things interactively (standard recovery just shows you a picture and expects you to control it from PC). TWRP has a lot of features and became a de facto standard starting point for any modifications to stock Android images.
0. starting point
For me it was Note 4 with stock Android 6.0.1 image marked "MMB29M". It had TWRP already installed (so install it first if you want to follow the steps below).
If you're seeing the "Unfortunately, Google Play Services has stopped" message and that is preventing you from doing anything, connect your Note 4 to a PC and do:
```
adb shell
su
pm disable com.google.android.gms
```
(That's assuming you have rooted device, ADB enabled in Android settings, and a client on PC. If not - search the web for details or use another method of disabling the GMS.)
1. install Magisk
Other roots (ie SuperSU) need to be uninstalled before installing Magisk!
Rename APK to ZIP, then install inside TWRP (`Select Storage`, `Install Zip`).
Read the linked howto for details.
2. Run the Magisk app
If it doesn't start, uninstall and re-install APK only, without going to TWRP:
```
adb uninstall com.topjohnwu.magisk
adb install Magisk-v24.2.apk
```
3. Go back to TWRP, install NanoDroid patcher
This is the most complex part, if it won't work out of the box. But try the easy route first:
Select the file `NanoDroid-patcher-*.zip` and `Install Zip` again.
In my case, the tool was unable to De-odex the Android image so that signature spoofing can be installed
on top of that. I suspect that's because this operation requires considerable amount of RAM. I had to
carefully read instructions, and do that change on PC.
So if you have such issue, make sure you have some time to focus, read that carefully and to what it says.
Below are the specific command I used. But these are specific to my setup, so don't rely on it - use the instructions link above.
When de-odexing the `services.jar` on PC, you may notice the size of that file increased multiple times. That is expected, it's not a sign of issue.
Spoiler: the specific commands I used for de-odex on PC
```
# De-odex the Android image so that signature spoofing can be added
# Get files from mobile to PC
adb pull /system/framework framework
# Make backup of the file we modify
cp framework/services.jar services.jar-backup
# Decompile the .jar file to smali assembly, and patch it
C:\Arduino\java\bin\java -Xmx1024m -jar baksmali.jar x framework/oat/arm/services.odex -d framework/arm -d framework/ -o services-new
# Re-compile smali assembly
C:\Arduino\java\bin\java -Xmx1024m -jar smali.jar a services-new -o classes.dex
# Re-pack updated files
zip -j framework/services.jar classes*.dex
# Copy to the phone, into a place where there is write access
adb push framework/services.jar /sdcard/TWRP/services.jar
# Log in as super user to the mobile, and move the .jar to correct folder
adb shell
su
mount -o rw,remount /system
mv /system/framework/services.jar /system/framework/services.jar.orig
mv /sdcard/TWRP/services.jar /system/framework/services.jar
chmod 0644 /system/framework/services.jar
chown root:root /system/framework/services.jar
# verify if the file is in place and has correct attributes
ls -l /system/framework/services.jar
```
After updating my `services.jar`, I tried installing NanoDroid again, and it worked.
While NanoDroid was installing , further modifications to `services.jar` took quite long - like 10 minutes. But succeeded in the end.
4. Verify spoofing
It is prudent to check whether the spoofing works, at this point. Later, migroG will tell you about spoofing status, but for now, you will want to install the small app "Signature Spoofing Checker". You know, so you won't start uninstalling Google without having the base for miniG to work properly.
5. Remove original Google services
Followthe general instructions from DeGoogle post to remove the Google Services.
I did that through ADB. First, I uninstalled all the apps.
You don't really have to uninstall all of them. Only:
- Play Store
- Service Framework
- Play services
.. or in other words, only the last few. The rest should be able to start working after microG takes place of the core services.
Spoiler: uninstall Google Apps through ADB
```
# GMail
adb shell pm uninstall --user 0 com.google.android.gm
# Google Maps
adb shell pm uninstall --user 0 com.google.android.apps.maps
# Youtube app
adb shell pm uninstall --user 0 com.google.android.youtube
# Google Play Videos
adb shell pm uninstall --user 0 com.google.android.videos
# Google Play Books
adb shell pm uninstall --user 0 com.google.android.apps.books
# Google Play Games
adb shell pm uninstall --user 0 com.google.android.play.games
# Google Play Kiosk
adb shell pm uninstall --user 0 com.google.android.apps.magazines
# Google Photos
adb shell pm uninstall --user 0 com.google.android.apps.photos
# Google Drive (yes, drive is named docs..)
adb shell pm uninstall --user 0 com.google.android.apps.docs
# Google Search desktop widget
adb shell pm uninstall --user 0 com.google.android.googlequicksearchbox
# Play Store
adb shell pm uninstall --user 0 com.android.vending
# Google Service Framework
adb shell pm uninstall --user 0 com.google.android.gsf
adb shell pm uninstall --user 0 com.google.android.gsf.login
# Google Play Services - the one which is crashing
adb shell pm uninstall --user 0 com.google.android.gms
```
Then I removed their folders, which the DeGoogle post listed.
Well I didn't really removed them, I moved them to a temporary folder, so that I can revert that in case of issues.
Spoiler: move Google Apps packages through ADB
```
# Log in as super user to the mobile, and move folders with stock services
adb shell
su
mount -o rw,remount /system
# Make a temp dir and move there all directories to be deleted
mkdir /system/priv-app-to-rm
mv /system/priv-app/GmsCore /system/priv-app-to-rm
mv /system/priv-app/GoogleBackupTransport /system/priv-app-to-rm
mv /system/priv-app/GoogleFeedback /system/priv-app-to-rm
mv /system/priv-app/GoogleLoginService /system/priv-app-to-rm
mv /system/priv-app/GoogleOneTimeInitializer /system/priv-app-to-rm
mv /system/priv-app/GooglePartnerSetup /system/priv-app-to-rm
mv /system/priv-app/GoogleServicesFramework /system/priv-app-to-rm
mv /system/priv-app/Phonesky /system/priv-app-to-rm
mv /system/priv-app/SetupWizard /system/priv-app-to-rm
mv /system/priv-app/Velvet /system/priv-app-to-rm
```
And that's it. Your mobile will now run without any Google services. Normally Note 4 doesn't have any software which would make them mandatory to start the device, so you should be able to reboot and basic stuff will work properly.
6. Install microG services
The easiest way is to install "NanoDroid-microG" package. Download it somewhere to your mobile.
By default, "NanoDroid-microG" will not install Play Store - it will install Aurora instead. If you want to use a modded Play store instead, you need to prepare a modified ".nanodroid-setup" - find the default file, and do modifications based on comments inside the file. See NanoDroid documentation for details.
When ready, use `Install` inside TWRP, select the file `NanoDroid-migroG-*.zip` and swipe in `Install Zip`.
Reboot, and you have microG installed. Now configure it, using instructions from NanoDroid documentation.
Done.
Well, I found a solution, and it was very simple. This was indeed a major Google Services update bug. I could repoduce it. It is an update from the Play Services that was malfunctionning.
The fix was simple :
- Remove Google Play services (warning, this will remove your Google Accounts, so don't forget to note your latest passwords and phone numbers)
- Install an older Google Play services (you can very easily find one on an APK sharing site or here, do this at your own risk). The working versions for me was one all back to the 18.0.0 (can't remember the exact version, but if I used the one like 18.0.1, well it wouldn't work anymore, had to be the exact 18.0.0)
- Finnally, you BLOCK all the Google Play services updates servers, simply put in the phone Host file the line to block play.google.com or use a custom Android VPN like Adaway (not free)
I could again use the phone for 4-5 months, so I skipped the bad Google Play services updates (all the versions from 18.0.1 to 22.0.0, from the top of my y head, were buggy, I suppose there was another Google app that caused the bug, but could find it, as I can remember the older versions of the Play Service never bugged until this day), then now I removed the "fix" and there is 0 problem. Running the fixed 22.0.0+ without issues.

Categories

Resources