How to stop Android killing my apps? - Nokia 3.1 Questions & Answers

Just got a Nokia 3.1 Android One (Android 8.0.0)
There is only 1 problem :
Call Recorder ACR and Bluelight for eye care are killed / stopped by Android.
Battery settings are "not optimised" for these apps.
Is there a way to prevent Android to stop them?
Arie

Bolle1961 said:
Just got a Nokia 3.1 Android One (Android 8.0.0)
There is only 1 problem :
Call Recorder ACR and Bluelight for eye care are killed / stopped by Android.
Battery settings are "not optimised" for these apps.
Is there a way to prevent Android to stop them?
Arie
Click to expand...
Click to collapse
Maybe I found a solution :
Keeping your Android application running when the device wants to sleep at developer zebra dot com
At Battery Optimization / Doze Mode I found at poit 3 this
3. Using ADB during provisioning you can manually edit the whitelist, though obviously your device must first have developer options enabled:
Add your application to the whitelist as follows:
adb shell dumpsys deviceidle whitelist +com.yourcompany.yourapp
And remove your application from the whitelist with the following command:
adb shell dumpsys deviceidle whitelist -com.yourcompany.yourapp
Developer mode and USB debugging are activated on my phone, is this safe to try?

Hi,
I was having the same issue as well. I agree it is really annoying. For me, it was happening with Night Screen and Gadget Bridge.
However, since I got the 8.1 Oreo update (I got it on the 19th), I have not had Gadget Bridge get killed. I'm finally able to enjoy using my watch again
I no longer use Night Screen as 8.1 comes with one built in that is applied system wide.
I've only had the update for two days, so I can't say for certain if the problem is completely gone. However, it is a lot better than what I was experiencing on 8.0.
I don't know how long you will have to wait for the update, my friend who also has the same phone hasn't received it yet.

Last thursday I got the 8.1 upgrade and everything works fine, no apps get killed anymore.

Anyone else getting the feeling that the new Pie Update for Nokia 3.1 Plus is wonky?
I have an applock application that basically NEEDS to be active in the background. Somehow, the Pie Update got rid of any apps ability to stay active in the background. I contacted the customer service... And they told me to reset app cache, reset individual app data, factory reset AND boot up in SAFE MODE.
Now that I've done all of this, IDK what to do with the phone. The rest of the phone works great.
Actually, scratch that. After the factory reset, my ringtone kept getting reset to default Nokia ringtone even though I changed the ringtone. It defaults every boot up as well.
Please let me know what to do.
I know this is a 3.1 exclusive thread... But IDK why there's no 3.1 Plus thread. Please do help me in this.
I'm pretty much screwed.

I too am having that problem. Here is something that might help.
https://dontkillmyapp.com/nokia
I dont know how to run adb commands yet.

Related

Google Stock Apps are getting enabled...

I have disabled few google apps like Chrome,Duo,Photos. These apps are getting enabled automatically after some language update. I need to disable them again. How to stop them from getting enable. I am facing this issue past 3-4 days.
Using OnePlus 7 Pro(GM1911) .
Oxygen OS 9.5.11.GM21AA
prtk.pd said:
I have disabled few google apps like Chrome,Duo,Photos. These apps are getting enabled automatically after some language update. I need to disable them again. How to stop them from getting enable. I am facing this issue past 3-4 days.
Using OnePlus 7 Pro(GM1911) .
Oxygen OS 9.5.11.GM21AA
Click to expand...
Click to collapse
I'm having the exact same issue. No restarts either. I disable the damn thing, and within a day or two, they all get enabled. Why will the damn phone not respect my decision to disable it. Duo, I never use, why the hell does it keep getting enabled? Same with Chrome, and card package. It never used to be like this.
I take it you guys aren't using root; I've just deleted these apps, all is well
I am rooted and I used terminal deloater, xxx no limits, and root essentials and no matter what several Google apps keep coming back after a few reboots and it's irritating
I freeze them with Titanium Backup and they've never come back.

Disable Updates?

Sorry for potentially asking a dumb question, but im at my wits end here.
Is there any way to completely disable OTA updates, with the stock ROM on the Pixel 4a?
Asking because i have turned automatic updates off in settings and it STILL checks and STILL force updates the phone after a week or so. This is extremely frustrating as i have very specific versions of certain apps installed, eg Google Keyboard, Vanced YouTube, Pre stories Twitter etc. They are all configured exactly how i want and when it updates it installs the latest versions and consequently ****s all the settings up at the same time. This means i have to spend a few hours uninstallling, reinstalling and re configuring the whole ****ing phone again.
So yeah, is there a way? I am rooted with magisk if thats of any benefit. Ill do anything, even if it fundamentally breaks google play store/services and requires ghetto apps like LP/Autostarts etc. I just want my device how I want, not what some trillion dollar company wants.
My last device was a Mi A2 Lite and it behaved itself perfectly before i destroyed the screen. Starting to regret this upgrade.
When you say "I have turned automatic updates off", did you do this in the play store app? If so, good.
But, you can also try these extra steps:
1) Turn on "Developer Mode" on your phone (do search for how to do this). Then go into developer options and turn off "Automatic System Updates".
2) Then do the changes I did in this post:
How do I stop update notices?
I'm rooted with Android 10 on my pixel4a. I don't want to upgrade to 11 just yet, but I keep getting the annoying update notices. Is there an app or module I can freeze with titanium to turn off the notices?
forum.xda-developers.com
Since doing these, I have not seen an "Upgrade to Android 11" (I'm on A10) message and I have not noticed any apps being forced updated.
yeah google play updates are disabled. which is interesting because after the phone updates, it re enables them, as well as a bunch of other permissions in settings!
and yeah ive disabled auto system updates in developer options, which is what im pissed about because it still updated the phone without my permission whilst i was asleep last night.
ill try and force freeze those components you listed, see if that kills it.
i might have a poke around the autostarts app later and see if i can do something there, thats if it even works with android 11.
the last time i had to do this was on my nexus 7 running kitkat lol

This is pathetic -- Android Notification Delay problem fixed by using adb?!

I simply cannot recommend Android to my normie friends and family.
Let me restate this: It is not our job to fix Google's bugs.
This is a US-centric view.
If you can't tell: I am a bit aggravated right now.
I could not get my GMail, GCal, and other notifications to come through properly on Pixel 5's Android 11 OR S21 Ultra's Android 11.
This has apparently been an issue that many an Android user suffers through silently -- and, some don't even know that this is happening to them. I guess they're embarrassed to publicly state that their mobile OS is subpar.
When you get an e-mail or if a calendar event reminder is coming up, and even if your phone's screen is OFF/locked: you should get an \*\*\*instant\*\*\* notification. No delay whatsoever.
Well, if my screen was off/locked, I wouldn't get these notifications or it would take 10+ minutes to show. But, once I unlocked my phone: boom, notifications. And, sometimes even if my screen wasn't locked, there would be a serious delay or no notification.
After spending loads of time trying to fix this problem, me and my friend finally stumbled upon a solution: ./adb shell dumpsys deviceidle disable
A reboot eliminates this setting modification, by the way.
Do not tell me that instant e-mail notifications are not necessary. Many of us work jobs that require them to be instant.
No end user should ever have to go through this. iPhone users certainly don't go through this.
If Google doesn't care about Android users, then, why should I, as an Android user, care about Android too? Just switch to iPhone, I guess.
Google pays Apple $10bn+ every year and makes better software for iOS than it does for Android.
Just look at the damn widgets that iOS users get.
So, $10bn/year plus the cost of the software developed to cater to iOS users.
This makes Google a simp cuck to Apple, nothing else.
Would Apple ever return this favor? No.
Therefore, Google management is a simp cucked by Apple, nothing more.
We are fools to be using this OS.
If Google is willing to subsidize my iOS software updates and experience to the tune of billions of dollars every single year -- then, why not just switch?
Clearly, my experience has shown me that Android can be cheaper -- if I don't value my time.
Statistic after statistic bears it out: iPhone users are wealthier.
I am tired of being an Android luser -- why should I take on such abuse and neglect by the main author of my mobile OS?
Before you start patronizing me: YES, I tried every other bloody trick in the book to fix this issue.
No end user should ever have to go through this! No end user should have to run adb commands to enable basic functionality.
There are some basic things that modern smartphones should just be able to do: instant notifications, 3rd party camera support, functioning RCS or some other form of E2EE messaging built-in, reliable local backups, a nationwide network of repair facilities, etc.
Android fails on all of these.
iPhone ordered. Glad to leave this Android ghetto behind.
Hey Google, if you have some self-respect: then, instead of paying Apple $10bn an year and doing iOS development, how about you actually work on some basic Android functionality instead?
You are right and I fully share your emotions regarding nasty state of notifications we often observe in our phones.
However, apart from google, there is a 3rd party: the china cellar/basement where our phones are produced. Owners of these cellars think they are very clever guys when they implement power management tools in their ugly stock ROMs. Guess what these power management tools do with notifications!
Sometimes (not always) you have to know how android is programmed in order to fight with power management. Especially, this is true with phones that run 6-7-8 versions of android.
I have 2 more or less modern phones in my family. They run on A10 and do not have these problems with notifications.
Yes, phone OSes and software can be annoying. But I don't think iOS is the solution.
Regarding the problem, I suppose you've already tried changing the sleep settings, but if not: maybe deviceidle whitelisting could be helpful.
vp1117 said:
I have 2 more or less modern phones in my family. They run on A10 and do not have these problems with notifications.
Click to expand...
Click to collapse
I never had these problems with Android 10.
So, yeah, it MAY be Android 11.
I am downloading the May update for my S21U. Let's see if this fixes it.
hkjo said:
Yes, phone OSes and software can be annoying. But I don't think iOS is the solution.
Regarding the problem, I suppose you've already tried changing the sleep settings, but if not: maybe deviceidle whitelisting could be helpful.
Click to expand...
Click to collapse
Even the folks in that thread are having mixed results.
I just ran the blanket OS-level command as described in my original post.
I haven't faced any noticeable depreciation battery life due to this.
nixnixnixnix4 said:
I never had these problems with Android 10.
So, yeah, it MAY be Android 11.
I am downloading the May update for my S21U. Let's see if this fixes it.
Click to expand...
Click to collapse
It doesn't.
The May update didn't fix this issue.
Isn't it true that whitelisting via ADB 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 via ADB 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
AFAIK: Whitelisting a single app thru the UI and thru ADB has the same effect. I disabled battery optimizations on all apps and still faced a delay. Perhaps, Google will take care of this issue eventually. But, I doubt it.
But, yes, disabling deviceidle thru adb works as a full-proof solution.
I'm still testing to see if disabling "Android Adaptive Notifications" works.
Also, I wonder if there's a way to see if the phone received the email but just chose not to show us the notification.
nixnixnixnix4 said:
AFAIK: Whitelisting a single app thru the UI and thru ADB has the same effect. I disabled battery optimizations on all apps and still faced a delay. Perhaps, Google will take care of this issue eventually. But, I doubt it.
But, yes, disabling deviceidle thru adb works as a full-proof solution.
I'm still testing to see if disabling "Android Adaptive Notifications" works.
Also, I wonder if there's a way to see if the phone received the email but just chose not to show us the notification.
Click to expand...
Click to collapse
Sorry for the late response.
Thanks for confirming the adb whitelist and disabling battery optimization are the same.
I tried: adb shell dumpsys deviceidle disable
but I'm still getting delayed email notifications, once the device has been sleeping for 5-7 minutes.
I don't think Google will ever give freedom back to it's users. They want control. Years ago, I think Gmail had push notifications, but Google pulled that back. My guess is they want to reintroduce it in the future as a paid service because they felt they had very little in their gmail pipeline at the time. Google's favorability is declining, but I'd still take Android over IOS. I still use Google Voice. Other than that, I wouldn't have any Google accounts on my phone.
wgraz said:
Sorry for the late response.
Thanks for confirming the adb whitelist and disabling battery optimization are the same.
I tried: adb shell dumpsys deviceidle disable
but I'm still getting delayed email notifications, once the device has been sleeping for 5-7 minutes.
I don't think Google will ever give freedom back to it's users. They want control. Years ago, I think Gmail had push notifications, but Google pulled that back. My guess is they want to reintroduce it in the future as a paid service. My thought is, they felt they had very little in their gmail pipeline so they removed push notifications to reintroduce it at a later time. I hate Google, but I'd take Android over IOS at this point in time. I still use my Google Voice account. Other than that, I wouldn't have any Google accounts on my phone.
Click to expand...
Click to collapse
./adb devices
./adb shell dumpsys deviceidle disable
./adb disconnect
If that didn't work for you, go into the GMail app and look closely at the settings to see if there is something off.
Also, does disabling GMail and using Outlook instead work for you?
wgraz said:
I don't think Google will ever give freedom back to it's users. They want control.
Click to expand...
Click to collapse
The EU, Japan, and the US are all cracking down on Apple now. Google won't be able to control this beast too much for too long.
nixnixnixnix4 said:
./adb devices
./adb shell dumpsys deviceidle disable
./adb disconnect
If that didn't work for you, go into the GMail app and look closely at the settings to see if there is something off.
Also, does disabling GMail and using Outlook instead work for you?
Click to expand...
Click to collapse
I didn't use the: adb disconnect
Just "exit" the cmd and unmounted the phone.
I don't use the gmail app but have a gmail accounts ( in addition to other email accounts) I use through another email app. But every email app I try has this issue after the phone's been sitting for 5-7 minutes.
I mean, what is google trying to do? Save battery power to reduce mining of essential minerals for new batteries? Or they simply don't want people getting instant information?
We need someone with the expertise to check if the e-mail made its way to the phone or not.
This will tell us if the issue has to do with just notification display OR something with the internet/server.
nixnixnixnix4 said:
We need someone with the expertise to check if the e-mail made its way to the phone or not.
This will tell us if the issue has to do with just notification display OR something with the internet/server.
Click to expand...
Click to collapse
I was reading in this thread about PARTIAL_WAKE_LOCK
I asked if it was even possible if you can apply this PARTIAL_WAKE_LOCK to other apps.

Question Motorola Edge S (Delayed/No Notification until you open the App)

Hi, I'm planning to buy the Motorola Edge S (not G100) as it is cheaper.
Previously, I owned a Moto P30 (the phone that looks like the iPhone X) and China ROMs even on other OEMs have this weird bug where you won't receive any notifications say, in WhatsApp unless you open the app itself (already enabled app in background/disabled optimizations etc..).
Is this "bug" still persists in latest Moto phones using China ROM?
Hope someone can confirm. Thanks.
I personally bought it from AliExpress and the vendor already unlocked the bootloader and flashed the global ron with Google Play. My edge S with the global rom from the vendor has no problem with the notifications. Depending where you buy it you can have it with the global rom already instead of needing to do it yourself.
Keep in mind you wont pass safetynet, you may need to install Magisk for it
Thanks. I don't intend on flashing it to Global ROM. There is no issue with Motorola global ROMs as notification is working fine. I just need some confirmation if China ROM still has this weird bug. This is true for any Android phone without GMS (a lot of complaints in Huawei forums with this problem).
There should be some battery optimizing setting behind. If you cannot set it via whatsapp & phone setting, you will need to kill such background app by adb
Disabling battery optimization and putting the app with "unrestricted data usage" didn't help (on my previous Moto P30 running China ROM). Same case as the Lenovo z6 Pro based on China ROM. Android will kill the app (ex. WhatsApp) regardless whether you put it on whitelist.
But both are old devices running an old version of Android. Anyway, I would still buy the Motorola Edge S (Pioneer Edition). An irritating bug (for devices without GMS) which Android developers should have squashed a long time ago.
Settings Edge S with Chinese firmware.
1.Settings - System - Advanced. Google Play Services - On.
2. Download, unpack, and install Google Services.
3. Configuring notifications and application operation.
a) System-Apps & notifications-Special app access-Battery optimization.
For the necessary applications and notifications: Enable - Don’t optimize
b) Launch the application - Device shield.
Background running – Allow app running in background.
Auto start apps - Enable the applications you need.
My order is still on the way. I'll try that once I received my purchase. Thanks.
So I got my phone already setup with all Google-related apps installed.
I configured the settings by whitelisting Google and all apps important to me like WhatsApp.
In Device Shield, I ensured my apps are whitelisted to allow background processing at all times and put them in auto start.
Adding to that, in battery settings, I put them in Do Not Optimize. I also ensured to allow background data.
For now, everything works PERFECTLY. Notifications arrive on time and I don't even miss any WhatsApp calls. It is either that OR my I'm still using my phone too much (not even 12 hours since I got it).
ijuanp03 said:
So I got my phone already setup with all Google-related apps installed.
I configured the settings by whitelisting Google and all apps important to me like WhatsApp.
In Device Shield, I ensured my apps are whitelisted to allow background processing at all times and put them in auto start.
Adding to that, in battery settings, I put them in Do Not Optimize. I also ensured to allow background data.
For now, everything works PERFECTLY. Notifications arrive on time and I don't even miss any WhatsApp calls. It is either that OR my I'm still using my phone too much (not even 12 hours since I got it).
Click to expand...
Click to collapse
Hi, I got the same problem. WhatsApp calls don't work properly. If any one knows how to remove/kill the background app procedure through adb, please share the same.

How can I see disabled apps on my phone?

I've been getting a toast message stating all apps associated with hotspot feature have been blocked, turned off, or are not installed. This started after the most recent update.
Prior to the update, hotspot worked and I've never used a third party app to turn it on. I simply went into the settings and enabled it.
How can I see a full list of services/apps I may have disabled? I also have a VPN running.
Or is there a logcat app I can use to see what's happening? Not rooted here.
On a Samsung S20 5G and not all owners are seeing this issue. So maybe it's a user error.
Thanks for the help.
Depends how you disabled them.
It's easy if you used a package disabler.
I guess adb would work but no clue how to view that. Keep a log of what you disable with adb...
Usually takes a factory reset or two to get things right
@Pinalp84
to list all disabled apps you run
Code:
adb devices
adb shell pm list packages -d
It's not rooted. If I did disable them, I'm sure it wasn't through adb. So most likely through whatever method available via only the phone.
Okay, enabled all packages. Restarted. Still the same issue. So sick of Samsung.
Pinalp84 said:
Okay, enabled all packages. Restarted. Still the same issue. So sick of Samsung.
Click to expand...
Click to collapse
You need to optimize it.
If you did any major firmware updates and didn't do a factory reset, do so now.
If you used SmartSwitch to transfer settings from another OS or device, factory reset.
Clear system cache, system logs and apk caches (data as needed); this is routine maintenance and generally all that's needed once optimized.
Do not use 3rd party launchers or power management especially 3rd party power management apps. Find the what's causing the issues and deal with those apks/services directly. Each user and configuration is unique and so are the solutions.
It's a fast, very stable, strong running device once optimized... play with it.
Never used SmartSwitch. Just did a factory reset. Still the same issue...
Pinalp84 said:
Never used SmartSwitch. Just did a factory reset. Still the same issue...
Click to expand...
Click to collapse
Try in safe mode. In settings do a "tethering" search. Double check all settings...
If it's through a carrier... renew the pass code.
SmartSwitch may be ok if same device and OS... just make sure it's not your primary backup.
My theme, icons, homescreen are pretty elaborate so next reload I'll test it for just that.
If it pukes I'll just factory reset again, no big deal.
blackhawk said:
Try in safe mode. In settings do a "tethering" search. Double check all settings...
If it's through a carrier... renew the pass code.
SmartSwitch may be ok if same device and OS... just make sure it's not your primary backup.
My theme, icons, homescreen are pretty elaborate so next reload I'll test it for just that.
If it pukes I'll just factory reset again, no big deal.
Click to expand...
Click to collapse
Are you on a S20 5G?
Pinalp84 said:
Are you on a S20 5G?
Click to expand...
Click to collapse
No.
Cross search devices/OS versions for solutions and workarounds. Most issues have been around for years...
Everytime you update you expose yourself to new and potentially unknown firmware malfunctions that many times vastly outweigh any benefits.
Google is not conservative but you can be...
There are no solutions for this issue as of now. I've seen a few people online with the same issue and none of them have found a solution even after calling Samsung support. This issue surfaced after the most recent android update.
Pinalp84 said:
There are no solutions for this issue as of now. I've seen a few people online with the same issue and none of them have found a solution even after calling Samsung support. This issue surfaced after the most recent android update.
Click to expand...
Click to collapse
Samsung tech support is next to useless.
The US tech side is better, SK and Philippines are worthless.
Check -all- related settings and permissions.
The update may have toggled a critical buried setting. It wouldn't be the first time
Many times you need to track the issue down yourself. Try different search words and look at all similar issues regardless of the OS version and device.
What are you trying to tetheri to?

Categories

Resources