Related
Aside from the obvious that your drains less, where in the battery manager do you look to know for sure?
lude219 said:
Aside from the obvious that your drains less, where in the battery manager do you look to know for sure?
Click to expand...
Click to collapse
Not via the battery manager anyway.
Install a Terminal app from the Play Store and enter:
su <enter> (give root permissions)
dumpsys deviceidle enabled
If result = 1: Doze is enabled (default)
If result = 0: Doze was disabled (odd, but can be switched on by using dumpsys deviceidle enable)
Do note there are two kinds of "Doze" on the Huawai. The standard Android Doze and the rather aggressive Huawei memory killer. Due to the combination of both and the poor implementation lots of people had notification issues on older firmware versions.
^ thanks! That's just what I wanted to know.
Checking doze status on my mate shows it is enable "If result = 1: Doze is enabled (default)"
but I can confirm doze is not working, even if ADB shows it is enabled. btw I lose 1% in standby per hour.
Also checking with GsamBattery showing Doze 0 hour.
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.
In a local environment I have some Android pixel 3 devices(Android 11) that are connected with a web socket in the foreground service. This socket connection only listens for messages and pushes them to the push notification. Sometimes you may not receive messages for hours or sometimes days, so this needs to be really stable.
The push notification works when the screen is on, when the goes in lock mode the connection is fine for the first few minutes. If a message is pushed after 10-15 minutes, the notification message will not be displayed. As soon as another message comes up, the previous message is suddenly picked up and displayed to. After 60 minutes or more, no messages will be displayed at all. It appears that the connection is no longer intact and the server and app logs do not show that the connection is lost.
I have been working on this for more than 5 intensive days, but to my frustration nothing works. I have found many topics related to this doze topic, the optimization for the app adjusted, send a ping every minute (StayAlive) to the server but all to no avail.
Trying to change the idle settings and disable Doze mode via ADB, but no luck.
Its an internal app so I can do pretty much everything if needed.
Is there a way to bypass or remove the Doze entirely?
Please let me know
Thank you in advance.
Nikko_93 said:
In a local environment I have some Android pixel 3 devices(Android 11) that are connected with a web socket in the foreground service. This socket connection only listens for messages and pushes them to the push notification. Sometimes you may not receive messages for hours or sometimes days, so this needs to be really stable.
The push notification works when the screen is on, when the goes in lock mode the connection is fine for the first few minutes. If a message is pushed after 10-15 minutes, the notification message will not be displayed. As soon as another message comes up, the previous message is suddenly picked up and displayed to. After 60 minutes or more, no messages will be displayed at all. It appears that the connection is no longer intact and the server and app logs do not show that the connection is lost.
I have been working on this for more than 5 intensive days, but to my frustration nothing works. I have found many topics related to this doze topic, the optimization for the app adjusted, send a ping every minute (StayAlive) to the server but all to no avail.
Trying to change the idle settings and disable Doze mode via ADB, but no luck.
Its an internal app so I can do pretty much everything if needed.
Is there a way to bypass or remove the Doze entirely?
Please let me know
Thank you in advance.
Click to expand...
Click to collapse
Feel your pain.. Just got a Note 10+ and have been going crazy testing notifications with 7-8 email clients all with the same delayed notifications as you describe. I read there's a way to remove it, but it will return at reboot. What did you try with ADB?
I was also reading about whitelisting certain apps to be not affected by doze and supposedly it'll stick after reboot. I've never done this before so it's all new. Sitting here at 4am just starting to read about whitelisting. Gotta get to bed.. Follow up tomorrow. Not sure if whitelisting will work on Android 11. Any other help will be greatly appreciated.
AFAIK completely disabling device's Doze mode can be done by means of ADB
Code:
adb devices
adb shell "dumpsys deviceidle unforce"
So, what's the difference between these two (I know "disable" doesn't stick on reboot):
Code:
adb shell dumpsys deviceidle unforce
VS
Code:
adb shell dumpsys deviceidle disable
I'd rather whitelist specific apps but isn't this the same as turning off Battery Optimization for an app in the Settings (which doesn't work):
Code:
adb shell dumpsys deviceidle whitelist +<package name>
Factory Unlocked Note 10+ Android 11 One UI 3.1.
One more question please. Do I need Samsung USB drivers to connect my Note 10+ to my Win 7 PC for ADB commands? Thanks.
Not too many replies at once.
ANSWER: YES.
Disabled Doze with the ADB command: adb shell dumpsys deviceidle disable
Confirmation:
"Light state: INACTIVE
Deep state: INACTIVE"
But still getting email notifications as late as ever if phone has been inactive.
Factory Unlocked Note 10+ Android 11 One UI 3.1.
wgraz said:
Not too many replies at once.
Click to expand...
Click to collapse
Typically, one rarely gets useful replies in this forum. One typically has to fight with problems on his own...
Here guys also discuss poor performance of notifications.
vp1117 said:
Typically, one rarely gets useful replies in this forum. One typically has to fight with problems on his own...
Click to expand...
Click to collapse
Yeah, And this forum search sucks. I haven't found a way to search a particular thread or a group of threads. I laboriously, use "Find in Page" in one page at a time of certain threads. Takes forever. You're right, XDA seems vacant but I still try.
I started a thread almost a month ago about edge lighting... 165 views, Not one reply.
Question about Edge Lighting in relation to One UI 3.0 /3.1
I'd grateful if someone could explain the Edge Lighting and why it doesn't work on One UI 3.0/3.1. I always thought Edge Lighting is a light indicator left on WHEN YOUR SCREEN IS OFF (like an LED notification) indicating you already received a...
forum.xda-developers.com
wgraz said:
Disabled Doze with the ADB command: adb shell dumpsys deviceidle disable
Confirmation:
"Light state: INACTIVE
Deep state: INACTIVE"
But still getting email notifications as late as ever if phone has been inactive.
Factory Unlocked Note 10+ Android 11 One UI 3.1.
Click to expand...
Click to collapse
It appears, de-activating a doze mode is not the solution. I get telegram notifications with huge delay, like half a day. At the same time, telegram application is included into witelist.
Here they mention wake locks. And, surprisingly enough, when I ran adb shell dumpsys power, I saw that out of 2 messengers that I use - whatsapp and telegram - only whatsapp shows a wake lock:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, I'm sick and tired of fighting with this s...tty android functinality and with s...tty power management tools china vendor built into their nasty china ROM for my china phone. I can live with the fact that whatsapp messenger works fine and telegram notifications are being depressed. I do not want to spend more time on this s...t, especially with zero level of expertise on this subject in this forum.
Null
vp1117 said:
It appears, de-activating a doze mode is not the solution. I get telegram notifications with huge delay, like half a day. At the same time, telegram application is included into witelist.
Here they mention wake locks. And, surprisingly enough, when I ran adb shell dumpsys power, I saw that out of 2 messengers that I use - whatsapp and telegram - only whatsapp shows a wake lock:
View attachment 5332329
However, I'm sick and tired of fighting with this s...tty android functinality and with s...tty power management tools china vendor built into their nasty china ROM for my china phone. I can live with the fact that whatsapp messenger works fine and telegram notifications are being depressed. I do not want to spend more time on this s...t, especially with zero level of expertise on this subject in this forum.
Click to expand...
Click to collapse
Is it possible to add a PARTIAL_WAKE_LOCK to Telegram or any other app like email, etc?
I'm assuming that y'all have read my rant and possible solution:
(1) https://forum.xda-developers.com/t/...ion-delay-problem-fixed-by-using-adb.4276161/
(2) https://forum.xda-developers.com/t/...when-the-phones-screen-is-off-locked.4278413/
Either way, issues like this will be the downfall of Android. If you can't get notifications, normies aren't going to bother buying you phones! And, if normies don't buy, companies lose scale and nerds don't get the products they want.
I'm guessing this PARTIAL_WAKE_LOCK needs to be OK'd by Google when developing an app? Or can any developer put this in their app? Or is it not in the app at all, but Google has a "whitelist" of sorts to allow certain apps PARTIAL_WAKE_LOCK?
wgraz said:
I'm guessing this PARTIAL_WAKE_LOCK needs to be OK'd by Google when developing an app? Or can any developer put this in their app? Or is it not in the app at all, but Google has a "whitelist" of sorts to allow certain apps PARTIAL_WAKE_LOCK?
Click to expand...
Click to collapse
Well, just look at the latest reviews for the GMail app on the Google Play store.
They're all complaining about notifications not being received when the phone is locked.
There was an update today. Let's see if that fixed it.
Here's a joke:
Q: How do you get Google to care about a bug?
A: Tell them you're an iOS user.
wgraz said:
So, what's the difference between these two (I know "disable" doesn't stick on reboot):
Code:
adb shell dumpsys deviceidle unforce
VS
Code:
adb shell dumpsys deviceidle disable
I'd rather whitelist specific apps but isn't this the same as turning off Battery Optimization for an app in the Settings (which doesn't work):
Code:
adb shell dumpsys deviceidle whitelist +<package name>
Factory Unlocked Note 10+ Android 11 One UI 3.1.
Click to expand...
Click to collapse
I just wanted to whitelist specific apps via terminal as settings app restores to default apps even i added apps not to optimise. So ur guide worked for me, Thanks a lot bro...
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 !!!