I have a fresh install with a few side-loaded and phone-cloned apps.
It seems like (a) some apps send notifications when active but the aggressive battery management kills apps and are not awaken by a push notification, and (b) some apps just do not send notifications.
For (a) ... if I open the app, the notification immediately appears.
Using the Huawei email app as an example, I have done the following:
a) Battery -> App launch -> Email app -> Manage manually -> with the 3 options active.
b) Apps -> Apps -> Special access -> Battery optimisation -> Email app -> Not allowed
c) Home Screen -> Recent Apps -> Email apps -> swiped down to lock
d) Email app -> Settings -> Accounts -> Sync frequency -> Automatic (push)
e) Settings -> Notifications -> Email app -> Allow notifications - enabled
f) ADB command to kill powergenie .... adb shell pm uninstall --user 0 com.huawei.powergenie
g) Settings -> Battery -> Performance Mode - enabled
If I open the app, then the email arrives and the notification appears.
To enable powergenie again ...
adb shell cmd package install-existing com.huawei.powergenie
linux2525 said:
I have a fresh install with a few side-loaded and phone-cloned apps.
It seems like the aggressive battery management is killing apps and preventing apps from creating notifications.
If I open the app, the notification immediately appears - this even applies to the Huawei Email app .. not just side-loaded apps.
Using the Huawei email app as an example, I have done the following:
a) Battery -> App launch -> Email app -> Manage manually -> with the 3 options active.
b) Apps -> Apps -> Special access -> Battery optimisation -> Email app -> Not allowed
c) Home Screen -> Recent Apps -> Email apps -> swiped down to lock
d) Email app -> Settings -> Accounts -> Sync frequency -> Automatic (push)
e) Settings -> Notifications -> Email app -> Allow notifications - enabled
f) ADB command to kill powergenie
If I open the app, then the email arrives and the notification appears.
Click to expand...
Click to collapse
What is the adb command you are using to kill powergenie? thanks
anup29 said:
What is the adb command you are using to kill powergenie? thanks
Click to expand...
Click to collapse
the same as everywhere .... the first few google results ... doesn't seem to do much though! ...
https://portal.mobilebackup.biz/help/en/install/android/huawei/powergenie.html
https://dontkillmyapp.com/huawei
I may have had some success with improving my notifications ... I had a few different types of problems ...
SETUP .... stock HMS with microG
Problem 1 - skype app sends zero notifications - Skype is registered in microG and connected .. but no notifications are received ... cannot fix.
Problem 2 skype LITE app .. sends notifications but only when open or recently closed .. within an hour or so .. the notifications are dead.
Potential solution for Problem 2:
- the usual power saving adjustments as set-out in my first email ... then also ... one of these seems to have improved the reliability to notify from a dead app ... edit ... FAIL .. keep reading.
a) notifications -> app -> gentle notifications = OFF
b) notifications -> app -> allow interruptions = ON
c) apps -> special access -> unrestricted data access -> app = ON
d) notifications -> more notification settings -> wake screen = ON
None of that worked with Skype Lite and Skype Full ...
Conclusions to date ...
1. Skype Full app notifications are almost completely broken although I received x1 notification after 200 to 300 tests!? could never repeat.
2. Skype Lite notifications are reliable when the app is awake ... disabling PowerGenie made no difference, so it must be Doze .... so far so good after an hour of testing with Doze disabled ...
adb shell dumpsys deviceidle disable
The command prompt should return with:
Deep idle mode disabled
Light idle mode disabled
Update... the app still drops out after 30 mins or so and does not send notifications.
Next plan to whitelist ...
find package ...
adb shell "pm list packages -f xxxxx"
then whitelist ...
adb shell dumpsys deviceidle whitelist +com.app.package
then check whitelist ...
adb shell dumpsys deviceidle whitelist
UPDATE ... looking good for this as the solution! ... Update after 18 hrs ... SOLVED!
linux2525 said:
Next plan to whitelist ...
find package ...
adb shell "pm list packages -f xxxxx"
then whitelist ...
adb shell dumpsys deviceidle whitelist +com.app.package
then check whitelist ...
adb shell dumpsys deviceidle whitelist
UPDATE ... looking good for this as the solution! ... Update after 18 hrs ... SOLVED!
Click to expand...
Click to collapse
Can this be done to WhatsApp?
(On HMS Only - No GMS Setup)
JazonX said:
Can this be done to WhatsApp?
(On HMS Only - No GMS Setup)
Click to expand...
Click to collapse
What is the problem?
I thought whatsapp was one of the rare apps with notifications that worked with HMS-naked?
I received notifications with HMS-naked but didn't test for days for long-term reliability.
with a HMS+microG install, the whatsapp notifications are being processed through microG's Google Cloud Messaging (Firebase) and work perfectly.
linux2525 said:
What is the problem?
I thought whatsapp was one of the rare apps with notifications that worked with HMS-naked?
I received notifications with HMS-naked but didn't test for days for long-term reliability.
with a HMS+microG install, the whatsapp notifications are being processed through microG's Google Cloud Messaging (Firebase) and work perfectly.
Click to expand...
Click to collapse
I have done everything except Adb-killing PowerGenie.
The Notifications stop coming in after about 15 mins in idle and then once I open it up, It just brings all notifications at once.
Battery Saver disabled, and Auto Launch, Secondary launch enabled.
JazonX said:
I have done everything except Adb-killing PowerGenie.
The Notifications stop coming in after about 15 mins in idle and then once I open it up, It just brings all notifications at once.
Battery Saver disabled, and Auto Launch, Secondary launch enabled.
Click to expand...
Click to collapse
interesting .. guess I didn't test whatsapp for a long period .. I was trying to solve the skype problems first.
anyway .. whatsapp notifications are definitely perfect with microG.
linux2525 said:
Next plan to whitelist ...
find package ...
adb shell "pm list packages -f xxxxx"
then whitelist ...
adb shell dumpsys deviceidle whitelist +com.app.package
then check whitelist ...
adb shell dumpsys deviceidle whitelist
UPDATE ... looking good for this as the solution! ... Update after 18 hrs ... SOLVED!
Click to expand...
Click to collapse
Hi, can you confirm if your Skype still works after this?
Would gladly appreciate a guide in how to make Skype working fully!
Samiii2 said:
Hi, can you confirm if your Skype still works after this?
Would gladly appreciate a guide in how to make Skype working fully!
Click to expand...
Click to collapse
Read my later posts... It didn't turn out as successful as immediate testing.
Summary below..
HMS+microG
Skype Lite... .. Some notifications but then failed at times
Skype.. Fail
Skype Preview.. Fail
HMS+GMS
Skype Lite... Perfect
Skype.. Perfect
Skype Preview.. Perfect
I uninstalled microG and installed GMS as per.. Use chrome or edge to translate...
https://www.huaweiblog.de/news/anleitung-huawei-google-dienste-installieren-push/
Related
This is all the things I have done to my P20 Pro CLT-L04 before and after a factory reset.
--
USE AT YOUR OWN RISK!!
--
Full backup to google drive from Google services backup now.
Backup of Nova launcher to google drive.
Check for EMUI update.
Factory reset.
Full Google restore
Reboot
install GDialer from https://forum.xda-developers.com/android/apps-games/app-google-phone-v14-0-175904292-bubble-t3708218 and change settings to make it default (Default Apps) and Display over other apps, write system settings and turn off power consumption alert and disable App launch automatically manage from the App Info dialog under Apps in setttings.
Remove or disable the folowing apps if you want (USB Debugging enabled):
adb uninstall --user 0 com.android.calendar
adb uninstall --user 0 com.android.contacts
adb uninstall --user 0 com.microsoft.translator
adb uninstall --user 0 com.android.email
adb uninstall --user 0 com.huawei.search
adb uninstall --user 0 com.huawei.android.launcher (Only if you have replacement home launcher and it will revert to cards flip recents)
Change Battery Optimization settings for apps you use the most like phone, messages etc
Do the same for app launch
Darken interface colors
Set resolution to FHD not smart
Clear and update AGPS with GPS Test
Disable and enable GPS tag in camera app so it doesn't show China as location.
Enable fingerprint unlock
Enable always on display
Disable smart cover.
Disable smart screenshot
Enable motion control, pick up, wake device
Disable split screen gesture
Disable quick call voice control
In color mode and temperature change to color temperature to normal, natural tone and eye comfort schedule
Disable start up sound
Notifications, lock screen notifications show but hide
Enable face recognition and select slide to unlock and smart lock screen notifications
Change the render settings in developer options to .5
Turn off Display carrier name
Clear the cache partition using the start by holding volume up and power buttons
This is a work in progress...
Cheers!
Optimise for what? Battery or Performance?
The Restless Soul said:
Optimise for what? Battery or Performance?
Click to expand...
Click to collapse
Both and for my personal preferences. I figured this would be obvious upon reading the post but maybe I should change the title.
AnTuTu benchmark
What kind of SOT are you experiencing? I've never really reached consistent SOTs like my OnePlus 5.
Wouldn't you just remove these using titanium ?
Be easier.
PS: gave you a thanks.. I know this took time
dladz said:
What kind of SOT are you experiencing? I've never really reached consistent SOTs like my OnePlus 5.
Wouldn't you just remove these using titanium ?
Be easier.
PS: gave you a thanks.. I know this took time
Click to expand...
Click to collapse
Haven't had time to do SOT but seems the same as factory. Device is so fast now even without performance mode. I didn't try titanium as I am not rooted and really didn't even think about that. Appreciate your comments.
Cheers
Here's a general day of use...
grantdb said:
Here's a general day of use...
Click to expand...
Click to collapse
I have the same SOT in a full work day (8am-19am) always on 4G data, GPS on and at least 1:30 hours of Spotify. When I'm at home, I can easily reach 7-8 hours of SOT... My phone is 1 year old. I just removed the app you suggested cause I hate that silly bug that affects the "recent app" screen while using a 3rd party launcher
I tried excluding Gmail (and Google Photos) from doze using adb and it stayed excluded even after device restart.
Code:
adb shell dumpsys deviceidle whitelist +com.google.android.gm
adb shell dumpsys deviceidle whitelist +com.google.android.apps.photos
(Use minus sign instead of plus to remove package from list)
Verify:
Code:
adb shell dumpsys deviceidle whitelist
I attempted the same on Android 9 before but it always got lost shortly after reboot. On Android 10, it seems like it sticks (and works - based on my first few tries).
I also noticed that com.android.settings.Settings$HighPowerApplicationsActivity no longer lists system apps. OnePlus also removed the more aggressive power saving option.
moneytoo said:
I tried excluding Gmail (and Google Photos) from doze using adb and it stayed excluded even after device restart.
(Use minus sign instead of plus to remove package from list)
Verify:
I attempted the same on Android 9 before but it always got lost shortly after reboot. On Android 10, it seems like it sticks (and works - based on my first few tries).
I also noticed that com.android.settings.Settings$HighPowerApplicationsActivity no longer lists system apps. OnePlus also removed the more aggressive power saving option.
Click to expand...
Click to collapse
Nice findings and thx for sharing it with us
Great! Thanks for sharing
Edit:
Gmail notifications are still delayed by around 10min.
Isn't it true that whitelisting only DISABLES Battery Optimization for a particular app, and you can do the same thing via the Android interface?
And we all know that turning Battery Optimization off doesn't do squat to get notifications sooner.
OR does whitelisting via ADB (supposed to) do something more powerful than disabling Battery Optimization? Thanks so much.
Looking forward to your reply
wgraz said:
Isn't it true that whitelisting only DISABLES Battery Optimization for a particular app, and you can do the same thing via the Android interface?
And we all know that turning Battery Optimization off doesn't do squat to get notifications sooner.
OR does whitelisting via ADB (supposed to) do something more powerful than disabling Battery Optimization? Thanks so much.
Looking forward to your reply
Click to expand...
Click to collapse
Nope, via settings do not work, i disabled battery optimization as a whole but i have delays on sms and alarms, unless i wake up manually the phone, then the sms and alarms arrived all together.
Confirm that the setting is permanent, i'm using android 11 (custom rom), see the last two entries added to the system.
Code:
E:\Adb>adb shell dumpsys deviceidle whitelist
system-excidle,com.android.providers.calendar,10134
system-excidle,com.android.providers.downloads,10124
system-excidle,com.android.messaging,10183
system-excidle,com.qualcomm.qti.telephonyservice,1001
system-excidle,com.qualcomm.qcrilmsgtunnel,1001
system-excidle,com.android.cellbroadcastreceiver,10133
system-excidle,com.android.proxyhandler,10121
system-excidle,com.android.cellbroadcastreceiver.module,10205
system-excidle,com.android.shell,2000
system-excidle,com.android.deskclock,10182
system-excidle,com.qualcomm.atfwd,10197
system-excidle,com.android.providers.contacts,10132
system,com.android.providers.downloads,10124
system,com.android.messaging,10183
system,com.qualcomm.qti.telephonyservice,1001
system,com.qualcomm.qcrilmsgtunnel,1001
system,com.android.cellbroadcastreceiver,10133
system,com.android.cellbroadcastreceiver.module,10205
system,com.android.shell,2000
system,com.android.deskclock,10182
system,com.qualcomm.atfwd,10197
user,com.android.messaging,10183
user,com.android.deskclock,10182
When I added com.google.android.gm and com.google.android.apps.messaging, adb shell dumpsys deviceidle whitelist shows them in the "user" section, not the "system" section. Did I do something wrong? I notice the other apps in the "user" section are the ones I set to "Never Optimize" under battery preferences. I feel like adding these two are not going to make any difference since the "Never Optimize" setting doesn't help.
xda6969 said:
When I added com.google.android.gm and com.google.android.apps.messaging, adb shell dumpsys deviceidle whitelist shows them in the "user" section, not the "system" section. Did I do something wrong? I notice the other apps in the "user" section are the ones I set to "Never Optimize" under battery preferences. I feel like adding these two are not going to make any difference since the "Never Optimize" setting doesn't help.
Click to expand...
Click to collapse
No, is ok, the change is at user level. I disabled doze in the settings too under battery management.
In my case they do a huge different, i do not have anymore the delay on notifications, expecially sms and clock alarms.
kd276 said:
No, is ok, the change is at user level. I disabled doze in the settings too under battery management.
In my case they do a huge different, i do not have anymore the delay on notifications, expecially sms and clock alarms.
Click to expand...
Click to collapse
In my case, this didn't help. Gmail notifications are delayed randomly, sometimes like 7 minutes, other times until I unlock the phone. I have a Pixel 5a. Now I'm gonna try to the turn off doze altogether. I know this method requires it to be redone every reboot. Incidentally, I was able to reverse the whitelisting by using...
adb shell dumpsys deviceidle whitelist -com.google.android.gm
xda6969 said:
In my case, this didn't help. Gmail notifications are delayed randomly, sometimes like 7 minutes, other times until I unlock the phone. I have a Pixel 5a. Now I'm gonna try to the turn off doze altogether. I know this method requires it to be redone every reboot. Incidentally, I was able to reverse the whitelisting by using...
adb shell dumpsys deviceidle whitelist -com.google.android.gm
Click to expand...
Click to collapse
Sorry this trick didn't help your case, i'm on Poco X3 Pro.
Turned of Doze totally using...
adb shell dumpsys deviceidle disable
... and now notifications work correctly. This disable both deep doze and light doze.
Yes it seems like whitelisting com.google.android.gm isn't enough to keep it awake. There must be other package(s) that need to be whitelisted as well.
I have a OP7 with unlocked bootloader, magisk, build 10.3.0.GM57AA.
I heavily use the google assistant reminders, but I can't get them to work on the OP7. Reminders notifications come several minutes/hours after the programmed time. I had no problem with my previous phones, one of which I still use and it never misses a reminder notification (thus confirming that is not a problem of the Google app, but of the OP7 software). I tried different solutions:
- Disable adaptive battery and all other battery-related optimizations. Didn't work.
- Uninstall the system app Google and reinstall it as a user app. This, for whatever reason, breaks the ''OK google'' voice recognition so is not a viable solution.
- Modify the magisk module ''OxygenOS gmail battery fix'' from David Sn, to work with the Google app instead of the Gmail App. I can confirm that the Google package (com.google.android.googlequicksearchbox) is correctly whitelisted from Doze after installing the module (I checked with the command ''dumpsys deviceidle" with a terminal emulator). This way the reminders notifications come immediately after I unlock the screen, but they still don't work when the screen is off.
- Manually add com.google.android.googlequicksearchbox to the .xml files that control the Doze whitelisted apps (/system/etc/sysconfig and /system/product/etc/sysconfig). Didn't work.
- Use the Nova Launcher activity trick to make system apps appear in the ''Battery optimization'' menu (https://forum.xda-developers.com/showpost.php?p=79613520&postcount=8) but it didn't worked (I can't get system apps to show in that menu). [Side note: why the hell Oneplus decided to hide system apps in the battery optimization menu????????]
The only way I managed to get the reminders notifications when the phone is idle is to completely disable Doze with "dumpsys deviceidle disable" command. This way all the notifications work perfectly but obviously there is an abnormal battery drain when the phone is idle. I'm about to give up and switch to another reminder app or to a custom rom, but this piss me off because this is theoretically a top-range smartphone and it is ridiculos that such a basic function don't work, especially considering that this is an almost stock software and that this issue was reported a long time ago on the Oneplus Community forum by multiple users.
Please if you have any advice/solution share it with me.
THIS IS A SUGGESTED CONFIGURATION FOR GOOGLE DEVICESOUT OF SUPPORT/CLOSEDRECOMMENDED SETTINGSTo Start With- Factory Reset (RECOMMENDED)
- Remove SIM before first boot
- Follow setup OFFLINE (DON'T restore anything during setup)
- Reboot, insert SIM then continue setup online.
System Settings- Auto-Rotate: DISABLED
- Notification Bubbles: DISABLED
- Notification History: DISABLED
- Synchronization: DISABLED (turn it off again when not in use).
- Location: DISABLED (turn it off again when not in use).
- Display Resolution: FHD/1080p
- Advanced features: ALL DISABLED
- Motions and Gestures: ALL DISABLED
- Auto download System Update over Wi-Fi: DISABLED
- Bluetooth Scanning (Location services): DISABLED
- Usage & Diagnostics: DISABLED
- Advertising ID: RESET & DELETE
- System Sound/Vibration feedback: OFF
- Network Mode: 4G
- Always On Display (AoD): DISABLED
- Dark Mode: ENABLED
- Trust Agent: DISABLED
- Turn Screen On: DISABLED
- Suggestions/Recommendations: ALL DISABLED
- Gestures/Shortcuts: DISABLED.
- Adaptive Battery: DISABLED
- Adaptive Connectivity: DISABLED.
Google Settings- Nearby connections: DISABLED
- Devices: DISABLED
- Nearby Share: DISABLED (turn it off again when not in use).
- Nearby Share Notification: DISABLED
- Location Services: ALL DISABLED
Developer Options:- Allow window-level blurs: DISABLED
- Background Check: DISABLED
- Suspend execution of Cached apps: ENABLED
- Animation scale (3 entries) : x0.5
- Logger Buffer Sizes: OFF
- Predictive Back Animations: ON
Camera Settings- Turn off location permission for the camera app.
- Face Beautification: DISABLED
- Video Stabilization: DISABLED
- Video Resolution: 4K30
- Social share: DISABLED.
- Google lens suggestions: DISABLED
Advanced
- Show dirty lens warning: DISABLED
- Store videos efficiently: DISABLED
Google Play Store Settings- Google Play Protect: DISABLED
- Autoplay: DISABLED
- Auto Update Apps: DISABLED
- App Installation Optimization: DISABLED
Google Chrome SettingsSettings
- Page Preloading: DISABLED
Chrome Flags
- Smooth Scrolling: ENABLED
- Parallel Downloading: ENABLED
Social Media Apps Settings- Theme: AMOLED/DARK
- Autoplay videos: DISABLED
- Log out of all Old sessions.
- Delete old logged in devices.
Spotify Settings- Canvas: DISABLED
- Gapless: ENABLED
- Normalize volume: DISABLED
- Device broadcast status: DISABLED
- Spotify connect in the background: DISABLED
Add "Sync" Quick Toggle- Download Quick Settings
- Enable it under "System no root"
- Add the tile normally through the edit button
GENERAL FIXESDiagnose Your Problem- Go to Device care, battery, check your battery usage. If nothing shows, it's battery leak.
Fix Battery Leak (IMPORTANT)- Go to Permission Manager, enable "Show system apps" and check for any excess permissions, especially hardware like location, camera or nearby devices.
Fix Battery Calibration- Use your phone normally till it dies off automatically.
- Plug it into the charger and leave it charging for 2h while it's still off.
- Turn it on, calibrate the battery then unplug your phone and use it normally until it dies again.
- Plug it into the charger and leave it charging for 2h while it's still off.
- Turn it on, calibrate the battery again and unplug it, enjoy
Fix Google Apps Battery drainGo to Settings, Apps. Enable "Show system apps" then look for each of:
- Google Play Store
- Google Services Framework
- Google Play Services
- Android System WebView"
Uninstall Updates, Clear data & Cache, Force Stop, Reboot, update and follow setup.
Fix Camera Experience- Wipe Data & Cache, reboot to Safe mode, do it again, then reboot normally.
Fix OLED Burn-in/Ghosting- Download LCD Burn-in Wiper
- Disable Auto-brightness & set Brightness to 100%
- Leave on for at least 1 hour
Fix Speaker crackling- Download Speaker cleaner
- Set your volume to max
- Put your phone face down & launch
Remove Ads System-WideGo to settings, connections, more connections settings, look for Private DNS.
- dns.adguard-dns.com or dns.adguard.com
- Close all apps then reboot.
Apps Alternatives- Apps list
What's wrong with Adaptive Battery? AFAIK it just slows down charging through the night when u have alarm turned on.
reas0n said:
What's wrong with Adaptive Battery? AFAIK it just slows down charging through the night when u have alarm turned on.
Click to expand...
Click to collapse
That's adaptive charging you're describing
What kind of battery improvement/screen on time can we expect from these optimizations? I'm currently getting 6-8h of screen time or 40~ hours of standby with 4~ hours of screentime.
devilsshadow said:
What kind of battery improvement/screen on time can we expect from these optimizations? I'm currently getting 6-8h of screen time or 40~ hours of standby with 4~ hours of screentime.
Click to expand...
Click to collapse
All kinds actually, from smoother phone to longer battery life.
I wouldn't follow this guide, especially since it recommends malware (ccleaner hasn't been good for a looooong time).
There's also no need for draining your battery until the phone turns off multiple times to "calibrate" it, and disabling stuff that many people find useful (like location for Maps)... going through ADB to turn off settings available through the UI is also strange... Seems like snake oil.
Reserved
rydare said:
I wouldn't follow this guide, especially since it recommends malware (ccleaner hasn't been good for a looooong time).
There's also no need for draining your battery until the phone turns off multiple times to "calibrate" it, and disabling stuff that many people find useful (like location for Maps)... going through ADB to turn off settings available through the UI is also strange... Seems like snake oil.
Click to expand...
Click to collapse
Then don't .
rydare said:
I wouldn't follow this guide, especially since it recommends malware (ccleaner hasn't been good for a looooong time).
There's also no need for draining your battery until the phone turns off multiple times to "calibrate" it, and disabling stuff that many people find useful (like location for Maps)... going through ADB to turn off settings available through the UI is also strange... Seems like snake oil.
Click to expand...
Click to collapse
Agreed. CCleaner is garbage malware and most of the tips cripple your device's capabilities. One example from the rec'd settings... Turn off WiFi/Bluetooth scanning/GPS. Sure you'll save battery.. at the expense of losing location results. Also many apps require GPS permissions so this suggestion isn't even really practical.
Battery Calibration Pro? Hasn't been updated since 2017. If you want to know what's going on with your battery get a relevant app like Ampere. And why do we even need to "calibrate" our batteries?
And many of the apps listed in PixelSafe.txt marked as "bloatware" are definitely not safe to uninstall..
com.android.omadm.service
com.google.android.ims
com.google.android.carrier
Good luck using your phone without these.
And if AppControl OP is suggesting to use to uninstall the listed apps is doing so by modifying system partition say goodbye to passing safetynet.
100% do not use anything suggested here lol
bobbarker2 said:
Agreed. CCleaner is garbage malware and most of the tips cripple your device's capabilities. One example from the rec'd settings... Turn off WiFi/Bluetooth scanning/GPS. Sure you'll save battery.. at the expense of losing location results. Also many apps require GPS permissions so this suggestion isn't even really practical.
Battery Calibration Pro? Hasn't been updated since 2017. If you want to know what's going on with your battery get a relevant app like Ampere. And why do we even need to "calibrate" our batteries?
And many of the apps listed in PixelSafe.txt marked as "bloatware" are definitely not safe to uninstall..
com.android.omadm.service
com.google.android.ims
com.google.android.carrier
Good luck using your phone without these.
And if AppControl OP is suggesting to use to uninstall the listed apps is doing so by modifying system partition say goodbye to passing safetynet.
100% do not use anything suggested here lol
Click to expand...
Click to collapse
Im going to call bull**** on you here
Ive had omadm disabled for over 2 months with zero issues
OMA DM server development cooperation in the air, mobile phones and wireless devices to provide remote configuration, configure and update device management (DM) client enables operators and handset manufacturers outbreak system dependencies between DM tight.
if you can explain exactly why something should not be disabled and why it will cause a bootloop or failure to boot great.
if you are just blowing smoke out your ass because you think your phone should wipe your ass for you and everyone else.
then go away you are not helping the discussion.
i also dont think any non opensource app should be used as snake oil to fix issues unless we know exactly how it works.
people should always do their own research on everything, XDA is not for sheep following a guide word for word because they don't understand why things work or don't work
bobbarker2 said:
Agreed. CCleaner is garbage malware and most of the tips cripple your device's capabilities. One example from the rec'd settings... Turn off WiFi/Bluetooth scanning/GPS. Sure you'll save battery.. at the expense of losing location results. Also many apps require GPS permissions so this suggestion isn't even really practical.
Battery Calibration Pro? Hasn't been updated since 2017. If you want to know what's going on with your battery get a relevant app like Ampere. And why do we even need to "calibrate" our batteries?
And many of the apps listed in PixelSafe.txt marked as "bloatware" are definitely not safe to uninstall..
com.android.omadm.service
com.google.android.ims
com.google.android.carrier
Good luck using your phone without these.
And if AppControl OP is suggesting to use to uninstall the listed apps is doing so by modifying system partition say goodbye to passing safetynet.
100% do not use anything suggested here lol
Click to expand...
Click to collapse
PLEASE, READ OP CAREFULLY BEFORE COMMENTING. THANK YOU- CCleaner does the job, also, uninstalling it right after you're done using it is a key step.
- Doesn't matter when has it been updated, it does the job.
- I actually have a pixel 6, and those apps listed are ALREADY UNINSTALLED for me, and i'm running fine as you can see .
- Bootloader locked, no root, and you're worried about system partitions ? And safetynet too ?
- OMADM was shipped disabled for me, i never needed to take it out.
- Literally NO ONE forced you to do what i said, all of those are suggestions, feel free to do, or not do them.
- You don't like my suggestions ? Skip them, go away, don't come posting nonsense, please, i want to keep my thread clean of bull****.
- 100% nobody asked your opinion.
nutzfreelance said:
Im going to call bull**** on you here
Ive had omadm disabled for over 2 months with zero issues
OMA DM server development cooperation in the air, mobile phones and wireless devices to provide remote configuration, configure and update device management (DM) client enables operators and handset manufacturers outbreak system dependencies between DM tight.
if you can explain exactly why something should not be disabled and why it will cause a bootloop or failure to boot great.
if you are just blowing smoke out your ass because you think your phone should wipe your ass for you and everyone else.
then go away you are not helping the discussion.
i also dont think any non opensource app should be used as snake oil to fix issues unless we know exactly how it works.
people should always do their own research on everything, XDA is not for sheep following a guide word for word because they don't understand why things work or don't work
Click to expand...
Click to collapse
As i already stated in the past post, those apps are already uninstalled on my phone and i don't have any problem. Everything is working as intended, but with less heat, faster charging and better battery life
OMA DM and it's associated apps are frozen out of the box (for my carrier anyway). Can't speak for all carriers.
Lol I just copy/pasted from where I saw in the txt to uninstall com.google.android.ims and
com.google.android.carrier.. my bad if I included one that can be removed "safely".
Though how would it be beneficial to battery life to remove a frozen system app?
You missed my point. There are apps in the txt that should never be removed or even be suggested to be removed because without them, you no longer have a phone.
This entire battery optimization guide is full of bad advice at best and changes that will break your phone. What's the point of having a phone with amazing battering life but no functionality?
Don't believe me than go ahead and disable/remove com.google.android.ims and the other ims services. See how well sms/mms/telephony work through an IP network.
Literally NO ONE forced you to do what i said, all of those are suggestions, feel free to do, or not do them. You don't like my suggestions ? Skip them, go away, don't come posting nonsense, please, i want to keep my thread clean of bull****.
Click to expand...
Click to collapse
XDA is a community with lots of people who don't have in-depth knowledge of Android. Some people may not know better.
So as a community, we also want to stop the spread of bad information. You can't post a guide for better battery life and then say "but no one look into them or question them they work 100%". That's not how things work.
And with that not wasting more time on this thread. Best of luck!
To everyone coming here, please, if you don't have serious issues with your battery, never ever drain it to 0. And over all, never ever try to start a phone with a 0% battery.
A battery is always better at 40-60%, not more, not less (you can find a lot of battery care articles on the web explaining why).
This calibration method is probably a way to solve a problem after flashing your phone with a custom ROM and after that, you see wrong battery percentage (like if your phone switch off before 3% remaining).
But please note that draining your battery to 0 will decrease its capacity permanently (and it can be by a huge amount if you insist to much). Also charging it to 100% everyday can decrease your battery life faster.
In an everyday use of your phone, it's better by a huge amount to charge your phone as often as you can and unplug it around 60-80%. You will see a difference after years.
Do you know why a new phone is around 50-60% battery when you buy it and switch it on for the first time ? Now you know
bobbarker2 said:
XDA is a community with lots of people who don't have in-depth knowledge of Android. Some people may not know better.
So as a community, we also want to stop the spread of bad information. You can't post a guide for better battery life and then say "but no one look into them or question them they work 100%". That's not how things work.
And with that not wasting more time on this thread. Best of luck!
Click to expand...
Click to collapse
The OP isn't going to love me at all. I just know I'm going to get a "nobody asked for your opinion" comment from him. He's right, nobody did ask my opinion, but that doesn't mean I'm not allowed to give it anyway. So, while I thank the OP for his enthusiasm and his attempts to provide something useful for Pixel 6 owners, I strongly advise caution in following these tweaks.
Out of the OP's list, the only things I could agree with would as follows: advertising ID, always on display, system dark mode, animation scale, and systemwide removal of ads. That last one however, I use Blokada for as I feel it's more effective.
OP should explain his reasoning behind each and every one of these changes in this list, so the people he is trying to help can understand his reasoning here. I've been mucking around the guts of Android devices since Android 2.1 and even I would like to know why he chose these things. I'd like to know because most of them seem to cripple the functions of the unit, i.e. negatively impact the Google experience. For example, gestures - gesture navigation - he says to disable. Why?
Some of these tweaks have little to no effect, could actually do more harm than good, or have better options available.
Battery Calibration - Totally unnecessary and only serves to waste battery charge cycles, which you do NOT want to do with a battery trapped in an aluminum frame between two slabs of glass. Battery calibration apps are unnecessary as the only thing they do is delete batterystats.bin, which Android automatically does upon removing the unit from a charger. This has been a known fact since around 2012.
Apps lag using CCleaner - Ignoring CCleaner's reputation since its purchase by Avast, lag from apps on a Pixel 6 is debatable. In any event, SDMaid I feel is a better option than CCleaner, especially as it functions quite nicely for debloating.
Fix OLED Burn-in/Ghosting - The disable gestures tweak could accelerate burn-in along the bottom of the display as the device would have to revert to the 3-dot navigation option. Any burn-in the screen does acquire would have to be rather light in order for an app to fix it, but so long as the wear is light an app will work. I have seen some very extreme examples of burn-in on an OLED screen, and no app would help those.
And then there is the bloatware section. Why in the hell is it that everyone and their mother still recommends deleting apps from the system partition instead of disabling them? Seriously, in the early days of Android it made sense. Now, it's only a waste of time, especially on a device whose system partitions are set to read-only in the first place. Using SDMaid or Titanium Backup and freezing, i.e. disabling, apps is far less likely to cause problems. If I recall correctly, the freezing function does not require root access to work.
My thoughts...take them as you will. Most of this stuff I won't bother with, and the things I do bother with I've already done.
I use the following :
Nova launcher pro
Appdash pro
SD Maid pro
Adaway
Modules - systemless and safety net V2.
Updated Google Pixel debloat list:- Added overlays
i smell snake oil.
Hamid Chikh said:
From the author of Complete Samsung OneUI Optimization
GENERAL BATTERY/PERFORMANCE SETTINGSTo Start With- Factory Reset.
Settings App- Adaptive Battery: DISABLED.
- Synchronization: DISABLED (turn it off again when not in use).
- Location: DISABLED (turn it off again when not in use).
- Advanced features/Gestures: DISABLED
- Bluetooth Scanning (Location services): DISABLED
- Usage & Diagnostics: DISABLED
- Advertising ID: DELETE
- Sound/Vibration feedback: ALL OFF
- Network Mode: 4G
- Always On Display (AoD): DISABLED
- System-Wide Dark Mode: ENABLED
Google Settings- Nearby connections: DISABLED
- Devices: DISABLED
- Nearby Share: DISABLED (turn it off again when not in use).
- Emergency Location Service: DISABLED
Developer Options:- Background Check: DISABLED
- Suspend execution of Cached apps (under dev options): ENABLED
- Animation scale (3 entries) : x0.5
Home Screen- Apply dark black Amoled Wallpaper
- Apply dark theme to Wallpaper
GENERAL BATTERY/PERFORMANCE FIXESBattery Calibration (Method #1)- Fully charge your phone, then use it normally till it turns off automatically.
- Wait a few minutes, try to turn it on again, to make sure it's really dead.
- Plug it into the charger and leave it charging for 2h while it's still off.
- Unplug it, turn it on, use it normally it dies again
- Wait a few minutes, try to turn it on again, to make sure it's really dead.
- Plug it into the charger and leave it charging for 2h while it's still off.
- Unplug it, turn it on, and you're done! Enjoy.
Battery Calibration (Method #2)- Download Battery Calibration Pro
- Fully charge your phone
- Calibrate
- Restart
- Unplug your phone
Other calibration methods can be found here
Fix General Battery Drain- Go to Permission Manager, check for any excess permissions, like location, camera or nearby devices.
Fix Apps Lag- Download CCleaner
- Give it all permissions required
- Delete all apps caches
- Go to apps and Force stop all apps
- Uninstall CCleaner then reboot.
Fix Google Apps Battery drainGo to Settings, Apps. Enable "show system apps" then look for each of:
"Google Play Store", "Google Services Framework", "Google Play Services", "Chrome", "WebView" & "Google App".
- Clear data & cache
- Uninstall Updates
- Force Stop
- Reboot, let them update and follow setup.
- Turn Sync Off
- Auto Update Apps: DISABLED
Fix Camera Experience- Wipe Data & Cache of Camera app, reboot to Safe mode, do it again, then reboot normally.
Fix Spotify Battery Drain- Under Spotify settings, turn off "Spotify connect in the background" (This won't stop background music playing).
Remove Ads System-WideGo to settings, connections, more connections settings, look for Private DNS.
- Set: dns.adguard.com as custom dns & save.
- Close all apps then reboot.
Fix Slow App Install TimeUnder General Google Play Store settings
- "App Install Optimisation": DISABLED
Fix OLED Burn-in/Ghosting- Download LCD Burn-in Wiper
- Disable Auto-brightness
- Set Brightness to 100%
- Launch a 2 hours session
Fix Speaker Crackling- Download Speaker cleaner
- Set your volume to max
- Put your phone face down
Fix Google Chrome- Page Preloading: DISABLED
Chrome Flags
- QUIC protocol: ENABLED
- Smooth Scrolling: ENABLED
- Parallel Downloading: ENABLED
- Auto Dark Mode for Web Content: ENABLED
Fix Reddit- Theme: AMOLED
- Autoplay videos: OFF
REMOVE BLOATWAREYou're gonna need:
- ADB AppControl (Windows)
- Samsung USB Drivers
- Latest presets attached at the bottom of this post
- You have to enable USB debugging and "Always authorise" on your phone
In AppControl
- Load "PixelSafe"
- Take a look at all what's going to be removed then unselect apps & features you need.
- Apply Uninstall while checking "delete data & cache".
- Restart your phone.
Important Notes
- Uncheck features and apps you need.
- You can always go to "Uninstall" section in AC, search and restore the features you need.
- Keep in mind that deleted apps stay in the phone and will all be restored after factory reset.
- Restore all apps before updating your phone
ADB OPTIMISATIONS#BACKUP FIRST- adb devices
- adb shell settings list global > global_stock.txt
- adb shell settings list system > system_stock.txt
- adb shell settings list secure > secure_stock.txt
If you want to check parameter's state, replace "put" with "get" and remove value.
Ex: For "animator_duration_scale"
- adb shell settings get global animator_duration_scale
Change Refresh rate- adb shell settings put system peak_refresh_rate 90.0
- adb shell settings put system min_refresh_rate 60.0
Change Animation scale- adb shell settings put global window_animation_scale 0.35
- adb shell settings put global transition_animation_scale 0.35
- adb shell settings put global animator_duration_scale 0.35
Enable Suspend execution of cached apps- adb shell settings put global cached_apps_freezer enabled
Change Adaptive Brightness Bias (1 = Brighter, -1 = Darker)- adb shell settings put system screen_auto_brightness_adj 1
Disable Gestures- adb shell settings put secure double_tap_to_wake 0
- adb shell settings put secure wake_gesture_enabled 0
- adb shell settings put secure camera_double_twist_to_flip_enabled 0
- adb shell settings put secure volume_hush_gesture 0
- adb shell settings put secure hush_gesture_used 0
- adb shell settings put secure silence_gesture 0
- adb shell settings put secure skip_gesture 0
Disable Sound Effects on Interaction- adb shell settings put system sound_effects_enabled 0
Disable Haptic Feedback- adb shell settings put system haptic_feedback_enabled 0
- adb shell settings put system haptic_feedback_intensity 0
Disable Screen Saver- adb shell settings put secure screensaver_enabled 0
- adb shell settings put secure screensaver_activate_on_sleep 0
- adb shell settings put secure screensaver_activate_on_dock 0
Enable Hidden Wifi/Data Toggle- adb shell settings put global settings_provider_model false
- adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
Stay tuned, more is coming ...
#I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
Click to expand...
Click to collapse
Bravissimo !
thanks a lot my friend !!!
I set all :
Autostart
Locked in background
No restriction battery saving
Allow notification
But sometime i still have to open phone to receive new notifications
What should i do now ?
hoangtu2410 said:
I set all :
Autostart
Locked in background
No restriction battery saving
Allow notification
But sometime i still have to open phone to receive new notifications
What should i do now ?
Click to expand...
Click to collapse
Yes I've also noticed this. Awaiting a custom ROM to fully eliminate this issue. Google services being baked into the ROM will make a world of a difference.
@hoangtu2410
Disable "Sleep mode" in battery settings
Disable "Suspend execution for cached apps" in developer options
Disable powerkeeper (after settings battery saver option)
Install Global ROM-ify Magisk module
[MAGISK] Add languages to MIUI CN - Enables Google Location History & Nearby Share
I want to use the original MIUI Chinese version as it is, so I created a Magisk module to add the languages! The translation is extracted from MIUI Global ROM for Xiaomi 11T Pro. This module also enables Google Location History & Nearby Share...
forum.xda-developers.com
might help.
AndroPlus said:
@hoangtu2410
Disable "Sleep mode" in battery settings
Disable "Suspend execution for cached apps" in developer options
Disable powerkeeper by adb shell pm uninstall -k --user 0 com.miui.powerkeeper
Install Global ROM-ify Magisk module
[MAGISK] Add languages to MIUI CN - Enables Google Location History & Nearby Share
I want to use the original MIUI Chinese version as it is, so I created a Magisk module to add the languages! The translation is extracted from MIUI Global ROM for Xiaomi 11T Pro. This module also enables Google Location History & Nearby Share...
forum.xda-developers.com
might help.
Click to expand...
Click to collapse
i dont really want to use magisk cause some my country's bank apps might not work. Experienced before
I thought this too from bad magisk modules. I currently have magisk with safety net fix. That works with unlocked bootloader. Also SkyGo and Lloyds Bank works with the deny settings ticked and every app that complained about root or unlocked bootloader now work using these magisk settings. I'm quite happy. I will still remove root if and when the Xiaomi EU ROM is released but just how amazed how far magisk has come on since it's early days.
Clear data and cache of Always On Display (AOD) and notfications will work normally
I'm also impacted; I've locked my apps in the background, enabled all the relevant notification categories for each app, and ensured that the "show on lock screen" permission is set to "Allow". Have also ensured there is no battery saver enabled for my apps.
The strange thing is, though, even my Chinese apps like Weibo suffer from this issue, to the point that lock screen notifications don't work, and notifications only come in when my phone is unlocked.
I have a Mi 11 Ultra, also with CN ROM, and no issues whatsoever – settings as above, and notifications arrive instantaneously, and without issue.
I've also executed (via adb) this command (which must be re-run at every boot):
./adb shell dumpsys deviceidle disable
The result of executing this is the following message:
Deep idle mode disabled
Light idle mode disabled
This appears to have helped, but only a few notifications are showing, not all of the apps are, including AOD-wise (yes, permisssions regarding the AOD are set correctly, too).
Anyone else experiencing what I am with my 12S?