Tips for Better Standby Time? - One (M7) Q&A, Help & Troubleshooting

Hey everyone,
I know i've been asking questions ALL over the forum lately, but as a phone I have to use as a daily driver for some time, I wanted to hear some of your suggestions for ways to increase standby time when the phone is not in use. It's weird, because as I used some Nougat ROMS and a Sense ROM for some time now, my results were mixed bag and my phone was still eating battery even though I wasn't using anything.
Right now I do got the GPE firmware flashed, and atm using a sense ROM to see where battery life will take me the most. Any apps you people recommend so I can make the most of my device?

There is one thing what brought me the most juice of my battery back as if i had a new battery... Dont use gapps, use microG. If you configure it correct you will have the same functions as if you use gapps but without the waste of battery. There is a magisk module called nanomod microG since this exist its realy easy to use microG even for beginners. You dont need the full nanomod package, only microG and the patcher. You will have full access to play store also with paid apps, you will have contacts and calender synch, cloud messaging and location services by mozilla. The only thing that doesnt work is streaming to chromecast devices with apps that doesnt have it build in like youtube and spotify, those need gapps for streaming to other devices.

saturday_night said:
There is one thing what brought me the most juice of my battery back as if i had a new battery... Dont use gapps, use microG. If you configure it correct you will have the same functions as if you use gapps but without the waste of battery. There is a magisk module called nanomod microG since this exist its realy easy to use microG even for beginners. You dont need the full nanomod package, only microG and the patcher. You will have full access to play store also with paid apps, you will have contacts and calender synch, cloud messaging and location services by mozilla. The only thing that doesnt work is streaming to chromecast devices with apps that doesnt have it build in like youtube and spotify, those need gapps for streaming to other devices.
Click to expand...
Click to collapse
Interesting. So with MicroG I can't use YouTube? Even by itself? And will you help me set it up?

1) Use an android 5.x rom (e.g. NuSenSeveN )
2) Install Xposed (Probably using the Xposed Installer app)
3) Install Power Nap
4) Consider also installing Amplify
5) Consider using the "Battery -> Power saver -> Data connection" setting in sense.
6) Enjoy your new battery life
Doing these things has gotten me through 4 days on 1 charge with minimal use. Albeit, you'll still go through the battery very quickly if you use something like Google Maps. Something else to keep in mind is that your battery life is heavily dependent on your cell reception. If I don't turn airplane mode on before going into a basement, for instance, the phone will kill itself in a few hours trying to find reception.
With Power Nap and Amplify it doesn't matter whether you have google apps and facebook - these xposed apps will block other apps from touching your CPU while the screen is off.

zeeBomb said:
Interesting. So with MicroG I can't use YouTube? Even by itself? And will you help me set it up?
Click to expand...
Click to collapse
You can use all apps on the device itself, just streaming to TV doesnt work. And yes i can help you with the setup.
1. Flash Rom of your choice
2. Flash Custom Kernel if you want
3. Flash Magisk
4. Flash nanomod microG
5. Boot into system (dont setup anything)
6. Reboot into recovery
7. Flash nanomod patcher (takes a few minutes)
8. Boot into system and open microG settings
9. Activate Device Registration, cloud messaging, saftynet and grant permission to deactivate Battery optimization
10. Tap on "UnifiedNLP Settings" in microG settings app and activate both (grant permissions as system ask)
11. Go into system settings and activate Location "high acuracy"
12. Go into microG settings and check if everything works
13. Setup your Google Account like allways on every Rom
There are some Roms like AIM Rom which support "Signature Spoofing", on those Roms you dont need to flash the patcher. On those Roms you need to grant a special permission for the play store app. Go into system settings, go into apps, tap an Google Play Store, tap on Permissions and grant permission for Signature Spoofing.
Sometimes you need to restart your device after Setup everything. That is just necessary if Play Store shows an error during first start.

saturday_night said:
You can use all apps on the device itself, just streaming to TV doesnt work. And yes i can help you with the setup.
1. Flash Rom of your choice
2. Flash Custom Kernel if you want
3. Flash Magisk
4. Flash nanomod microG
5. Boot into system (dont setup anything)
6. Reboot into recovery
7. Flash nanomod patcher (takes a few minutes)
8. Boot into system and open microG settings
9. Activate Device Registration, cloud messaging, saftynet and grant permission to deactivate Battery optimization
10. Tap on "UnifiedNLP Settings" in microG settings app and activate both (grant permissions as system ask)
11. Go into system settings and activate Location "high acuracy"
12. Go into microG settings and check if everything works
13. Setup your Google Account like allways on every Rom
There are some Roms like AIM Rom which support "Signature Spoofing", on those Roms you dont need to flash the patcher. On those Roms you need to grant a special permission for the play store app. Go into system settings, go into apps, tap an Google Play Store, tap on Permissions and grant permission for Signature Spoofing.
Sometimes you need to restart your device after Setup everything. That is just necessary if Play Store shows an error during first start.
Click to expand...
Click to collapse
This would work on apps like smapchat too? How much extra SOT do you think I'll gain from this?

zeeBomb said:
Hey everyone,
I know i've been asking questions ALL over the forum lately, but as a phone I have to use as a daily driver for some time, I wanted to hear some of your suggestions for ways to increase standby time when the phone is not in use. It's weird, because as I used some Nougat ROMS and a Sense ROM for some time now, my results were mixed bag and my phone was still eating battery even though I wasn't using anything.
Right now I do got the GPE firmware flashed, and atm using a sense ROM to see where battery life will take me the most. Any apps you people recommend so I can make the most of my device?
Click to expand...
Click to collapse
Me personally, I use greenify with root on my device. I kill much of application that run on background ( mostly FB and FBM) but would kill battery due to YouTube background playback. But while phone sits, it helps out a lot on my end

zeeBomb said:
This would work on apps like smapchat too? How much extra SOT do you think I'll gain from this?
Click to expand...
Click to collapse
All apps are working no matter which app. What i said was ONLY related to streaming to TVs. I cant tell you hom much sot you will get but play services suck about 10-15% of your battery and microG is about 1-3%.

saturday_night said:
All apps are working no matter which app. What i said was ONLY related to streaming to TVs. I cant tell you hom much sot you will get but play services suck about 10-15% of your battery and microG is about 1-3%.
Click to expand...
Click to collapse
That is truly amazing. Thank you for helping me out...does AICP support signature spoofing too?

zeeBomb said:
That is truly amazing. Thank you for helping me out...does AICP support signature spoofing too?
Click to expand...
Click to collapse
AICP doesnt support it, you need to flash the patch there. But i would recommend not to update every nightly only if there are some heavy changes. Because some apps like whatsapp need to register for cloud messaging and you need to clean install those apps everytime you flashed an update+microG. And espacily whatsapp doesnt notice that the registration for cloud messaging is gone after an update of the rom. Also you need to flash microG with every rom update and setup everything in microG again.

saturday_night said:
AICP doesnt support it, you need to flash the patch there. But i would recommend not to update every nightly only if there are some heavy changes. Because some apps like whatsapp need to register for cloud messaging and you need to clean install those apps everytime you flashed an update+microG. And espacily whatsapp doesnt notice that the registration for cloud messaging is gone after an update of the rom. Also you need to flash microG with every rom update and setup everything in microG again.
Click to expand...
Click to collapse
Okay, I got everything to work but my "system grants signature spoofing permission" and "UnifiedNlp do not have Location to test Geocoder" is off. How to fix

zeeBomb said:
Okay, I got everything to work but my "system grants signature spoofing permission" and "UnifiedNlp do not have Location to test Geocoder" is off. How to fix
Click to expand...
Click to collapse
Hmm, wait a few minutes until it finds your location

saturday_night said:
Hmm, wait a few minutes until it finds your location
Click to expand...
Click to collapse
Okay. Is it normal to have the WIFI to turn on and off repeatedly? Do I need to have location set on high 24/7?

zeeBomb said:
Okay. Is it normal to have the WIFI to turn on and off repeatedly? Do I need to have location set on high 24/7?
Click to expand...
Click to collapse
Wifi isnt related to google services or microG. And no you dont need to have location active all the time, if you dont need it just disable it.

Hello Everyone. It's been a week since i first tried out MicroG, and all is well! Battery life is improved as I don't drain as much as 20% on light usage throughout my days when I'm busy. Definitely a great way to get the best out of the aging M7. Thank you @saturday_night for helping me set this up, and @Watercycle for helping with some additional stuff!

Related

Sony Stock ROM without Gapps

I've been trying to get the GAPPs off my Z3C one by one. I root the phone, I start removing GAPPS, eventually I remove something that causes a bootloop and I have to restore the system partition and start trying again. Is there any existing ROM for Z3C which is the basic Sony ROM (as in the camera works, etc) but without GAPPS?
Thanks!
I'd also like to know this, without reinstalling or risk of bootloops if possible.
Would actually like to use features of the phone without google calling back home with timestamped records of every network ever connected on, every app used and apps calling back through gapps api so google can squirrel away location and wifi memory to your google identity forever. Maps would be useful.
Theseum said:
I'd also like to know this, without reinstalling or risk of bootloops if possible.
Would actually like to use features of the phone without google calling back home with timestamped records of every network ever connected on, every app used and apps calling back through gapps api so google can squirrel away location and wifi memory to your google identity forever. Maps would be useful.
Click to expand...
Click to collapse
You can disable a lot of this stuff (assuming you have root) using AFWall+ and in the Apps Manager settings, I leave google play services disabled. This mostly works. Where I'm having an issue is that I'd like to install micro gms core https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 as a replacement for some of these things, but to do that I need to get a clean rom without GAPPS.
Another big issue for me is that, like you, I don't really want Google continually phoning home and such. For me, battery life and simply controlling my own network activity is my main motivation. But anyway, I would be almost really happy to live with google play services simply disabled, and then re-enabling it every once in a while when it's useful (a lot like how I use location), but the issue is that if you try to disable google play services then you get "would you like to remove any updates and go back to the default"? If you click "yes", then reenabling that service means that you have to redownload the updates. I'd be equally happy to live with google play services if I could enable and disable them at will without having to reupdate/uninstall updates every cycle. As it stands, I just live with them disabled. Since I have them disabled, I'd love to go ahead and remove them and try a substitute, thus my question in the OP.

Google Free Android

Hello guys.
I've been thinking about that quite long time, but I could not just give up on Google straight away.
I relay on my privacy and I don't want Google to store any data about what I'm doing and make give myself more privacy. And also better Battery life and sot on one charge.
I know, I still can be easily located bla bla bla. But I think it's a good step, better than non.
I'm already using duckduckgo search browser and I need to say that I don't miss Google at all, I was surprised how good it is.
Instead of Google maps I will use Nokia Here, it seems to be quite good choice.
I found out that Nova launcher works without Google service framework.
And... F-Droid will be as a my "Google play Store".
But first I need to flash good rom, so which OS rom will be the best with some useful preinstaled appsand and which will support xposed of course, so it needs to be Android 6.
Thank you.
Edit:
Just realised that I posted in wrong section. This post can be deleted.
Posting that to different forums wont help you any further. There is only ONE Android version you might find what you ask for and that https://www.replicant.us/ which is badly outdated due to the fact that they dont even allow binary blobs in there. So whatever you do, you have Google, Apple or Microsoft havin access to your data. It's dangerous to go alone... Choose wisely ^^
i remember the people at CM said that once, they wanted to make a google free android...look where they are now
now, i understand the privacy argument, but my friend it goes too deep for you to try and use outdated OS for it...
sites have different levels of tracking, apps you install even those that don't rely on google services still at some level do, and mostly will be collected by google as long as you're using Android,
so you can do all 3 while using google services, preserve battery, minimize(and not entirely eliminate) privacy concerns, and have an updated OS... if you're going to spend the time to get rid of google, that time will be more fruitful spent just immuning your normal android...
use adblocks, VPN, Encrypt your device and possibly your connection with VPN, and through google define or disable most of what google uses to mine data...the chances on your ISP leaking your info is more than that of Googles (or Apple...etc) under normal circumstance) , apple even set a 1st when they refused to decrypt a phone for the FBI>>>so i'd suggest to get an updated nice rom , if it's custom flash the minimal GAPPs (Pico) , spend sometime on google privacy and security pages going thoroughly through them and disabling everything, do the same on Google option on your device, install a free VPN (or a good paid one if you can afford it which will provide encrypted Connection) , you'll have root, so debloat your rom as much as possible, read a little about wakelocks and alarms and disable them reasonably, get a good Kernel that has that in mind...and you'r set , and i bet you you'll leak less data than if just removed Google services...
that said, most custom roms comes without GAPPS (google apps and services) installed, so as an example, if you flashed the latest Sultan's CM 13 you'll get what you're asking for, an android 6.0.1 rom, no gapps, good camera , great Kernel...etc (no root as well, so you'll need to flash root if you want it)
This may seem oversimplified, but isn't Hydrogen OS directly from OnePlus pretty much google free?
MicroG is a great project for you to look into then: https://microg.org/
theduke7 said:
install a free VPN (or a good paid one if you can afford it which will provide encrypted Connection)
Click to expand...
Click to collapse
Please never install a free VPN service. They're free for a reason and that reason is to sell your data. Most free VPN services just relocate you and don't even encrypt the connection.
i use color os in my redmi note 4x without google services. you can port color os to our device and enjoy google-less phone
i think chinese developer miui roms are google free.

Drain impossible to fix

Hello,
After many weeks trying to solve Google Play Services, I still have this boring issue.
I'm using Slimm Rom 3.8 with Locked Bootloader
- GPS, Wifi and NFC always off
- Stamina always on
- Brightness under 25%
I don't use much the phone (No facebook, less than 30min on internet, no Youtube, no Music)
I tried :
- to disable SystemUpdateService from Google Play Services and Google Framework with the App "Disable Servces"
- Uninstall updates of Google Play Services and reinstall in both way (Play Store / with APK)
- Using Amplify, AppOpsXposed, Greenify, PowerNap (from this link : https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884) and Force Doze
- Disable all Xposed modules (for now I'm using Android N-ify, BootManager, Greenify, Hide Emergency Button & Marshmallow SD Fix)
- Factory reset / flash KitKat .ftf file / Root again / Flash Slimm Rom
I also tried with other Rom like eXistenZ Marshmallow v5.6.5 and AOXP 1.5.7 ROM but I till have the issue.
I took some screenshots so maybe it can help you find what is causing drain.
Thank you in advance for your help
i use slimm and sometimes the battery percentage is going for example from 65% to 59% ,etc, and not only; i had xperience rom from marillia, cm12, existenz, and some - resulty is same. Next time my friend, dont buy SONY!!! ) that i said to myself. Anyway, what i saw from ur picture, google play services drain a lot of battery; also ur signal is very poor.
Try to set ur network to gsm only (not lte./edge) for normal use, and see that guide...maybe will help u. Also that
I've been fighting with Google Play Service for months because of the battery drain problem. In the end (tired of changing rom ecc..) I founded the solution on the last Xperia Concept Rom without root. Now the drain is totally gone, and I get 2 days battery life with ~5/6h screen time (using greenify only for aggressive doze, and having FB, Messenger, WA, telegram, gmail ecc..). Before, on others rom I couldn't get more than 4h screen time lately, so I'm super happy
op3n said:
i use slimm and sometimes the battery percentage is going for example from 65% to 59% ,etc, and not only; i had xperience rom from marillia, cm12, existenz, and some - resulty is same. Next time my friend, dont buy SONY!!! ) that i said to myself. Anyway, what i saw from ur picture, google play services drain a lot of battery; also ur signal is very poor.
Try to set ur network to gsm only (not lte./edge) for normal use, and see that guide...maybe will help u. Also that
Click to expand...
Click to collapse
Thank you for all your information but sadly I already tried all of that without success =/
I think that my next phone will not be Sony, even if I like them the camera isn't as good as they annonce.
Matteo Mazzu said:
I've been fighting with Google Play Service for months because of the battery drain problem. In the end (tired of changing rom ecc..) I founded the solution on the last Xperia Concept Rom without root. Now the drain is totally gone, and I get 2 days battery life with ~5/6h screen time (using greenify only for aggressive doze, and having FB, Messenger, WA, telegram, gmail ecc..). Before, on others rom I couldn't get more than 4h screen time lately, so I'm super happy
Click to expand...
Click to collapse
I was thinking about installing stock rom without root but I really don't like all the pre-installed apps. It is a big dilema in my head ^^
slutman said:
I was thinking about installing stock rom without root but I really don't like all the pre-installed apps. It is a big dilema in my head ^^
Click to expand...
Click to collapse
I know the feeling! But consider that on concept you don't have any, and the few Google apps I don't use are disabled. The only real thing I missed was double tap lock screen off, but I managed with Power Toggle :good:
https://forum.xda-developers.com/z3-compact/development/rom-slimm-t3359831/post69260867#post69260867
Didgesteve said:
I have posted several times in this thread ways to fix the Google battery drain. It's now such a long thread that some people may have missed my previous posts, so to summarise : (this is not guaranteed to fix your phone, I am just trying to help)
Method 1
Factory reset, restart to recovery, flash full Slim rom(nothing else) . Restart. Log in to Google from scratch, leave the phone for some time before installing any mods. Let Google phone home and set the phone up before installing Xposed, amplify, firewall etc etc.
Restore apps with Titanium Backup, but just apps+data, NO system apps, NO Google apps. I realise a full factory reset is beyond most users compression, but this is really the best way and will fix 90% of the problems I see posted on the thread.
Method 2
The lazy 'I don't believe I need to do a factory reset' method
Disable all Xposed modules, go into airplane mode, no wifi.
Reboot phone.
Delete your Google account.
Use Titanium Backup to delete the data on the following apps:
Google account manager
Google backup transport
Google play services
Google play store
Gmail
Google calendar sync
Google contacts sync
Google bookmarks sync
Google services framework
Download manager
(it will get more & more difficult to do this as once you remove the Google account, Google. gms, keeps FCing)
Reboot to recovery, wipe cache & dalvik, reboot phone.
Enable network.
Add Google account, leave it with 'synchronise accounts' for some time, let Google do its thing before enabling Xposed or any other system mods(important)
Enabling a firewall or excessive privacy control (like trying to mask your IMEI or account) will just piss GPS off and it will try even harder to phone home, causing huge battery drain. The more you try and block the various Google services the more they try get out.
I don't believe that the battery drain is connected to this rom specifically. I know the Dev has made some tweaks to try and help, but if you take the time to read the Google forums, this problem effects most makes of phone and all firmware versions.
Edit: You should always do a recovery backup before making any changes to your phone, I am not responsible blah blah blah
Click to expand...
Click to collapse

How to get google notifications working without gms or sketchy downloads

Hey guys, long time lurker around xda and after purposely getting a huawei gms-less phone to see how it would go I ran into some frustrations learning that apks from the playstore whether from downloads or aurora store app etc, nothing would deliver notifications. My huawei is a nova7se but I had a friend test this on his and it is working as well so I presume it works for all huawei/googleless devices to a point.
The goal of this was to find a way to get notifications from playstore apps such as discord, outlook email , banking apps etc. This is not a replacement for google services apis needed for games or google apps which rely on services framework to operate in general.
A few things
-MUST BE CLEAN GOOGLE-LESS PHONE**
-Does not need root/bootloader unlocked
-Does not need sketchy downloads from random sites formatting recovery/ota/hisuite backups etc
-Mostly all open source
-Easily reversible and minimal risk
-All done through phone without additional mods or adb
-Not all apps will work for notification services for this depending on how the original developer team wrote the app to handle this situations. For example: discord, outlook, capital one bank, chase bank, apps work but protonmail did not want to connect to microg for notifications and I have not been able to successfully trick it to connect to it yet)
- APKS MUST BE FROM PLAY STORE ORIGINALLY. Using fdroid variants or personal stuff probably wont work since those packages did not rely on google notification services. I know some apps have a standalone apk you can download externally from the source but it may differ in its functionality.
-THIS IS NOT GOOGLE PLAY SERVICES AND WILL NOT MAKE GOOGLE APPS WORK. The reason it is not working for your google apps and games is because it was never supposed to. Dx
**By "google-less" phone I am referring to not having any leftover packages from attempting to install gms on the device. Google packages conflict with microG and will not be compatible. If you have used lzplay or other methods to attempt to get some form of playstore working, then you will most likely have google packages installed somewhere even if it failed to get GMS working perfectly. Keep this in mind if you get installation issues. Ideally if you are not using the phone as a daily, factory reset it to original settings if possible to ensure cleanest install if you want to pursue this.
STEP 1)
Download microG apps.
-microG services core
(optional)
- **microG services framework proxy
- **microG droidguard helper (? no idea if this is needed but was in my downloads for microg testing)
**the services framework proxy and droidguardhelper were part of the original experiment but later on I managed to get notifications running without needed either one of these.
Easiest way is to use fdroid store app and to add in microg repo found here.
https://f-droid.org/
https://github.com/microg/android_packages_apps_GmsCore/wiki/Downloads
Step 2)
Open microg settings app - self check
-Signature spoofing will not work because we have no access to anything on the phone system wise
-Installed packages should have "playservices gms core installed" and "services framework installed" checked only (see picture)
-Grant permissions and select to ignore battery optimization (so the service is not closed in background)
Step 3)
MicroG settings main menu
-Turn on google device registration
-Turn on google cloud messaging
-Turn on google safetynet (probably is not actually doing anything but turn it on for good measure)
-Add google account (Does not appear to be needed since it did not do anything specific relating to notifs)
Step 4)
Download aurora store.
https://f-droid.org/en/packages/com.aurora.store/
or
https://gitlab.com/AuroraOSS/AuroraStore
Fdroid route is easiest if you used it to install microg apps.
(Why aurorastore? Why not? The main reason is because it accesses google play store apps which inturn are the apks which are known to use google play services for notifications. Downloading an apk from another origin might not be the playstore version making it not really work with this process)
Step 5)
Download apps as needed with aurora store,
In phone settings, make sure you disable auto management of background apps.
Settings-battery-applaunch. Set apps like outlook, discord etc to manual and turn all settings to on (auto launch/run in background/secondary lauch).
Optional step 6) In aurora store settings , add microg apps to blacklist so aurora store does not try to update microg with play services which will erase micro g and give you a systemless apk of play services which does absolutely nothing.
Thats basically it. I was so caught up on trying to find ways to break into my nova 7se's bootloader and attempted to sideload microg for authentic playstore functionality and playservices but as long as notifications are working, aurora store + notifs is all the functionality I need.
No offense to those offering other ways to add in gms to huawei phones but as a security minded individual, it seems like too much of a risk to use randomly hosted internet files overwriting system functionality.
If you go into microg settings and under "google cloud messaging" you can see which apps are being monitored for notifications. Once I restarted my device, its status turned to disconnected but still catches notifications for outlook and discord as I tested. This is not using microg as a replacement for playservices because again this is ONLY FOR NOTIFICATION USAGE in this implementation.
Hope this helps anyone who wants to be able to use some google play apps but had notification issues.
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
zoold3vil said:
It is not working as i kept getting error to install microG Services Core due to "Failed to install due to an unknown error" on my Huawei P40 Pro
Click to expand...
Click to collapse
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Don't worry, you just have to reinstall every app that force closes.
sheikgr said:
This is only for notifications, right?
I mean, this doesn't allow you to use YouTube, Gmail, Keep etc...?
Click to expand...
Click to collapse
Correct. I stumbled upon this accidentally while trying to figure out a way to enable 'oem unlock' in my nova7se since huawei blocked even adb shell sysprop access to change the setting. Its not a full implementation of microG and probably is not intended to be used this way but it gets notifications through which is a plus when pulling apks from play store. Theres no xda forum for the nova7se but figured Id share it here D:
futureshock said:
i did played with microG Services as well befire... but ended up in still having the original play services installed, did tested now again with microG services and now, outlook, whatsapp, Microsoft Authenticator and Launcher only force closes... what ah mess
Click to expand...
Click to collapse
Yea unfortunatly any attempts with getting original play services installed sort of messes with this. Preferably a clean install/phone reset is ideal starting point. App wise you might have to clear cache and data so it 'resets' which is almost the same as uninstalling and reinstalling the apps. You will still get the message that "this app wont function without play services" since you cant spoof it entirely and on some you might have to find the setting to turn notifications off and back on in the app themselves. If it shows up on microG's setting under 'google cloud messaging' option, it is working. Ive been using the nova7se for a couple days now testing it as a daily user, restarted it occasionally and things are functioning similar to regular android phones(notification wise). Just be sure to allow the app to run in background so the system battery saver/app launch process does not turn it off.
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
another interessting i found out right now, when the apps force closes, when putting the phone into airplane mode, the apps does open normally!
Click to expand...
Click to collapse
Oh ok I get what you are talking about now. Backup functionality (for whatsapp) I believe uses google drive account which microG in this sense is not going to provide. Just a friendly reminder that this process is for push notifications only and not google api usage. provided by play services
futureshock said:
as i say'd i did played a little bit with microG services, but for example, even when reinstalling the apps afterwards, whatsapp does start, and you need to relogin, but on the restore backup screen nothing more happens, only loading forever, when microG Services are installed..
Click to expand...
Click to collapse
maybe i found there a bug of whatsapp... as whatsapp trys to find google drive... but does not work correctly it loads forever... for some reason it looks like it ah hidden error message or something like this... i hit back a couple of times, and closed whatsapp and reopend, and suddenly i saw the no backup found page... anyway still all this is BS, i really hate huawei for not unlocking the bootloader, and let us just do what we like to do... there wouldn't even be an issue with GMS anymore as we simply could flash openGapps
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
hayals said:
So, you did found a new way, GMS + HMS enabled with no notification error? Am i right?
Click to expand...
Click to collapse
So the statement is a bit misleading, this is not really GMS but its a way to use 3rd party play store apps that would not give notifications because of play services missing. This will only cover the notification portion of apps/apks originally found in the playstore that require notifications through play services push notifications. I have not touched HMS or anything else but this basically inserts a listener under microG to monitor push notifications and deliver them as needed. Again this does not resolve the issue of missing google APIs found in the full GMS package and is not intended to do so. Strictly notification wise for apps that need them.
Personally I used aurora store to get apks from playstore without needing playstore installed (because playstore version apps are looking to use googles push notification services) but how those apps function is another story. For example: Youtube/maps/google pay etc will not work as they need google apis. But 3rd party apps like discord, outlook email, and banking apps like capital one etc do work. Games might not because they might want play games api which is not present here since this is not GMS. (Tried to fun cytus 2 and a few other games and it wouldnt start since license check fails by default)
To my knowledge this will not work with any other GMS procedure attempted so you cannot combine this with a working GMS hacked install since you will have a version of play services and gsf framework active. Think of this as another alternative entirely in a way if you want to not risk questionable modifications and want to stay on default HMS software. Idk what the future holds as huawei seems to block ways to get GMS on phones after they become popular so I see this as an alternative to the unknown with pulled playstore apks functioning as they should.
GMS and this fix won't cooperate.
I've been using this for a while, but sadly not apps are giving me notifications. Reddit for example is not sending anything to my phone.
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
GrimTech said:
I did a factory reset on my P40 Pro followed the guide and when you wrote to add an account I do so, I press Agree and then it stays on
Just a sec
Your device is contacting Google to
save information on your account
This can take a couple of minutes
Sorry
There was a problem communicating with Google Servers
Try again later.
And anything like games that use google to login it fails too
Click to expand...
Click to collapse
Unfortunatly for something like that theres too many factors at play to trouble shoot that from my end. I would say to try a different default browser/vpn it etc as it could be any number of reasons why google servers arent connecting for it. Games that use google wont work because this is not google play services replacement. This was only intended for getting notifications working with most* apps that rely on a simple push notification service through google play services. Unfortunatly this isnt a guarentee depending on the app itself and where its pulled from . This was why I use/suggest aurora store since its pulling the playstore version of the app which almost always relies on google services for notifications.
Some apps like discord, outlook etc have a manner of continuous notification scanning in the background processes to try to get itself to connect to a push service even if they give you the error that "the device does not have google services and might not work properly". I can confirm those are working as are my banking and authenticator apps. I had an issue with proton mail specifically where it wouldnt attempt another push notification check to register with microg like the previous apps and wont recieve notifications. Its not a magic bullet but helps where it works.
Vexusia said:
If you have any google core packages installed (even as regular systemless apps) or leftovers from previous attempts at getting gms installed then it will conflict with microg installation since it sees it as a conflicting app. This requires a clean almost factory emui without any remnants of google installation attempts. Ill update the initial post for that bit of info.
Click to expand...
Click to collapse
Thanks for the info
I still can't open google related apps like youtube or google app itself... Even with Vanced youtube, it is hard to keep up because I can't log in, so i can't have my subscriptions and updates. Also certain games can't be played because the data are connected to my Google Play
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
arsenal74 said:
Bump...
..So does the MicroG method still work in 2021 or with the latest version of the OS?
Click to expand...
Click to collapse
Yes it does work with EMUI11.
Only advantage it's easier to install and Get push Notification and not mush else.
Now This is the only way you can install with Vanced Manager

How To Guide de-googling oxygen OS on the OnePlus Nord CE 5G

Introduction​As the title says. We'll remove as many google things as we can. We'll replace missing functionality with microG.
This is not meant to be an extensive guide. Just a quick write up of my experience de-googling the device.
I bought this device without doing much research and was a bit bummed when I realized there's no custom ROMs for it. One unofficial build of lineage is on here, but a little known feature, called the phone app, did not work for me, so that wasn't an option. I used it with google for a while but I wanted control of the device back. I didn't find many comprehensive tutorials on how to do this without using custom ROMs, so I thought I'd make a quick and dirty one.
What's the goal?​
Remove google services from the Nord CE 5G without installing any custom ROM
Get full microG functionality (all the checkmarks)
Replace sync functionality for calendar, contacts, photos, etc with NextCloud.
​What's not the goal?​
Fully pass safetynet
Get special google functionality such as chromecast and google pay
Verify play store purchases
Who is this for?​This is basically for me 2 days ago. You have some experience messing about with android, but you don't really know what you're doing most of the time.
What you need​
Oneplus Nord CE 5G already rooted with Magisk (I won't explain how to since there are plenty of guides)
A file manager with root access. I use fx file explorer
f-droid
Step 1: Disable all google things (or as many as you would like)​There are ways to fully remove google apps over adb, but I wasn't sure if this whole thing would work and moreover, I couldn't be bothered. I took the simple and safe way out and recommend you to to the same. Just go to [settings -> apps & notifications], then disable google play services and all other google apps you want to remove. Surprisingly I was actually able to fully uninstall google play services after disabling it.
I disabled every google app on my phone, but you can pick and choose. Some might not work as expected.
Step 2: Install microG​Unfortunately there are too many apps that depend on some part of google play services to function, even if they have nothing to do with google. Luckily people have recognized this problem and we have migroG, which aims to replace at least the basic features of google play services.
This is where I started to be confused. When visiting https://microg.org/download.html you'll see a bunch of apk's without much explanation. I was under the impression you'd have to install this as a system app or something, but apparently not. You can just install the apks using the normal installer. I also though you'd need to install all of these, but you really only need Services Core. It seems it has all the others baked in. You can choose to install this through their f-droid repo as well as explained on the microg page. Choose your poison.
Step 3: Making sure microG actually works​After installing microG, you'll have an app called microG settings. It has a fun little button on top called self-check and if you click it you'll see a bunch of boxes, only some of which are checked. This is where the fun starts, because we will start to increase the number of checked boxes.
Permissions​Some of these boxes are just permissions that are missing. So we jump to [settings -> apps and notifications -> microG Services Core -> Permissions] and grant all of them (or some). We also want to allow microG to always run in the background, so in app info we also click [Advanced -> Battery -> Battery optimization] and select Don't optimise. OnePlus' battery management is the absolute worst so let's hope that will do what it says.
Account and device registration​microG allows to register a google account. This will allow you to use google login in apps like youtube. My personal goal is to not use any google service in the long run so I skipped this.
Google device registration means that your device will be registered with google. I enabled this to get access to google cloud messaging. Some apps need this for notifications. If you leave this off, I believe microG does not talk to google at all.
Signature spoofing​Now we're missing some checkmarks related to something called signature spoofing. I don't fully understand it, but it's basically the ability of microG to act as if it is the real play services (or any app to act as if it's any other app). By default this is made impossible because of obvious security risks. There are many ways of getting signature spoofing to work, and therefore plenty of ways to get lost in the weeds.
The method I used is as follows
Install LSPosed zygisk release module using Magisk Manager.
There are zygisk and riru releases. I don't know what these are. If you can't find zygisk in your magisk settings (gear icon top right), you probably need to install riru and use the riru release.
Now navigate to /data/adb/lspd/ and you'll see a file called manager.apk. Install it and open the app.
Now click the download button on the bottom left and search for fakegapps. After clicking it you can click the up arrow on the top right to go to the website. Here you'll find an apk that you have to install.
back in the LSPosed manager, click modules -> FakeGapps. Enable for microG Services Core. It is recommended not to enable any other apps.
Now signature spoofing related features should work.
Location​After all of this, location in OpenStreetMaps wasn't working and I thought there was no way to get it working.
It turns out I was just an idiot...
Apparently microG takes FOSS seriously enough to give you a choice of location backend. Simply search f-droid for "nlp" and you'll find a bunch of different options. I used one called Local NLP Backend Location since I see no reason for my location service to communicate with any server. After installing, you can enable the provider in microG location settings.
Step 4: Getting back some functionality​Play store apps​Now we would all like to ditch the play store altogether, but it's just a little too convenient. Luckily there is the Aurora store, which allows to download google play apps without the google play store. If you also install Aurora Services through Magisk, it will be as convenient as the real play store.
Cloud syncing​I like to be able to cloud sync photos, calendars, contacts, and notes, so I'd like a solution that is tied to google. I've found that nextcloud works quite well for these purposes. NextCloud is an open source cloud solution with plenty independent providers and the ability to host yourself. I made an account at thegood.cloud, but will probably create my own host at some point.
The nextcloud app can take care of syncing photos and files from your phone.
To synchronize calendars and contacts, there is an app called DAVx5 from f-droid. This app allows you to log into your nextcloud account and you can tell it to sync your contact and calendar. This app is based on the open DAV standard, which is supported by most calendar and contact apps.
To synchronize notes over nextcloud, I use an app called Quillnote. This was actually how I discovered nextcloud in the first place.
Conclusion​This whole process was a lot less painful than I anticipated at first. There is some lost functionality but most things really work fine. Lots of apps will start bothering you and send notifications that they are broken without play services, but I have not seen any of them have any issues. The notifications can be turned off, but unfortunately only one by one.
Updates will probably be a pain since you'll have to go through this whole process again, but who's really expecting major updates for this phone anymore?
Security is likely compromised but not to an extent I'm worried about.
Notnearlynovel said:
Introduction​As the title says. We'll remove as many google things as we can. We'll replace missing functionality with microG.
This is not meant to be an extensive guide. Just a quick write up of my experience de-googling the device.
I bought this device without doing much research and was a bit bummed when I realized there's no custom ROMs for it. One unofficial build of lineage is on here, but a little known feature, called the phone app, did not work for me, so that wasn't an option. I used it with google for a while but I wanted control of the device back. I didn't find many comprehensive tutorials on how to do this without using custom ROMs, so I thought I'd make a quick and dirty one.
What's the goal?​
Remove google services from the Nord CE 5G without installing any custom ROM
Get full microG functionality (all the checkmarks)
Replace sync functionality for calendar, contacts, photos, etc with NextCloud.
​What's not the goal?​
Fully pass safetynet
Get special google functionality such as chromecast and google pay
Verify play store purchases
Who is this for?​This is basically for me 2 days ago. You have some experience messing about with android, but you don't really know what you're doing most of the time.
What you need​
Oneplus Nord CE 5G already rooted with Magisk (I won't explain how to since there are plenty of guides)
A file manager with root access. I use fx file explorer
f-droid
Step 1: Disable all google things (or as many as you would like)​There are ways to fully remove google apps over adb, but I wasn't sure if this whole thing would work and moreover, I couldn't be bothered. I took the simple and safe way out and recommend you to to the same. Just go to [settings -> apps & notifications], then disable google play services and all other google apps you want to remove. Surprisingly I was actually able to fully uninstall google play services after disabling it.
I disabled every google app on my phone, but you can pick and choose. Some might not work as expected.
Step 2: Install microG​Unfortunately there are too many apps that depend on some part of google play services to function, even if they have nothing to do with google. Luckily people have recognized this problem and we have migroG, which aims to replace at least the basic features of google play services.
This is where I started to be confused. When visiting https://microg.org/download.html you'll see a bunch of apk's without much explanation. I was under the impression you'd have to install this as a system app or something, but apparently not. You can just install the apks using the normal installer. I also though you'd need to install all of these, but you really only need Services Core. It seems it has all the others baked in. You can choose to install this through their f-droid repo as well as explained on the microg page. Choose your poison.
Step 3: Making sure microG actually works​After installing microG, you'll have an app called microG settings. It has a fun little button on top called self-check and if you click it you'll see a bunch of boxes, only some of which are checked. This is where the fun starts, because we will start to increase the number of checked boxes.
Permissions​Some of these boxes are just permissions that are missing. So we jump to [settings -> apps and notifications -> microG Services Core -> Permissions] and grant all of them (or some). We also want to allow microG to always run in the background, so in app info we also click [Advanced -> Battery -> Battery optimization] and select Don't optimise. OnePlus' battery management is the absolute worst so let's hope that will do what it says.
Account and device registration​microG allows to register a google account. This will allow you to use google login in apps like youtube. My personal goal is to not use any google service in the long run so I skipped this.
Google device registration means that your device will be registered with google. I enabled this to get access to google cloud messaging. Some apps need this for notifications. If you leave this off, I believe microG does not talk to google at all.
Signature spoofing​Now we're missing some checkmarks related to something called signature spoofing. I don't fully understand it, but it's basically the ability of microG to act as if it is the real play services (or any app to act as if it's any other app). By default this is made impossible because of obvious security risks. There are many ways of getting signature spoofing to work, and therefore plenty of ways to get lost in the weeds.
The method I used is as follows
Install LSPosed zygisk release module using Magisk Manager.
There are zygisk and riru releases. I don't know what these are. If you can't find zygisk in your magisk settings (gear icon top right), you probably need to install riru and use the riru release.
Now navigate to /data/adb/lspd/ and you'll see a file called manager.apk. Install it and open the app.
Now click the download button on the bottom left and search for fakegapps. After clicking it you can click the up arrow on the top right to go to the website. Here you'll find an apk that you have to install.
back in the LSPosed manager, click modules -> FakeGapps. Enable for microG Services Core. It is recommended not to enable any other apps.
Now signature spoofing related features should work.
Location​After all of this, location in OpenStreetMaps wasn't working and I thought there was no way to get it working.
It turns out I was just an idiot...
Apparently microG takes FOSS seriously enough to give you a choice of location backend. Simply search f-droid for "nlp" and you'll find a bunch of different options. I used one called Local NLP Backend Location since I see no reason for my location service to communicate with any server. After installing, you can enable the provider in microG location settings.
Step 4: Getting back some functionality​Play store apps​Now we would all like to ditch the play store altogether, but it's just a little too convenient. Luckily there is the Aurora store, which allows to download google play apps without the google play store. If you also install Aurora Services through Magisk, it will be as convenient as the real play store.
Cloud syncing​I like to be able to cloud sync photos, calendars, contacts, and notes, so I'd like a solution that is tied to google. I've found that nextcloud works quite well for these purposes. NextCloud is an open source cloud solution with plenty independent providers and the ability to host yourself. I made an account at thegood.cloud, but will probably create my own host at some point.
The nextcloud app can take care of syncing photos and files from your phone.
To synchronize calendars and contacts, there is an app called DAVx5 from f-droid. This app allows you to log into your nextcloud account and you can tell it to sync your contact and calendar. This app is based on the open DAV standard, which is supported by most calendar and contact apps.
To synchronize notes over nextcloud, I use an app called Quillnote. This was actually how I discovered nextcloud in the first place.
Conclusion​This whole process was a lot less painful than I anticipated at first. There is some lost functionality but most things really work fine. Lots of apps will start bothering you and send notifications that they are broken without play services, but I have not seen any of them have any issues. The notifications can be turned off, but unfortunately only one by one.
Updates will probably be a pain since you'll have to go through this whole process again, but who's really expecting major updates for this phone anymore?
Security is likely compromised but not to an extent I'm worried about.
Click to expand...
Click to collapse
In the lineageos thread there is one version of LOS without gapps however its security patch is outdated. I also believe that LOS fan edition doesn't come with gapps by default though I have yet to try that rom.
Fisuxcel said:
In the lineageos thread there is one version of LOS without gapps however its security patch is outdated. I also believe that LOS fan edition doesn't come with gapps by default though I have yet to try that rom.
Click to expand...
Click to collapse
Yes and I did install it previously but the phone app stopped working and overall it was a bit buggy for me. Not everyone seems to have this issue so you might want to give it a try.
Doesn"t seem to work on OOS 12
At microG Service Core install I think I must be missing something, it tells me the package is already installed, though I've deleted correctly the com.google.android.gms package (and of course almost everything related)
I've reinstalled the Play Services and Services Framework from Google for now to make my phone work again until a solution is found

Categories

Resources