Keep background processes running - OnePlus 6 Questions & Answers

My BitTorrent app does not download stuff in the background. Maybe for sometime but then it stops working and doesn't download, every morning I wake up to see that my stuff isn't downloaded and it's frustrating. In my battery settings, I've switched off aggressive doze, and kept the app the "Not Optimised", my WiFi scanning is always on as well. Can someone advise me how to keep my downloads running?
Thanks.

You have to make sure the app you're using has the storage permission allowed or it can't download and write to your storage.

Eric214 said:
You have to make sure the app you're using has the storage permission allowed or it can't download and write to your storage.
Click to expand...
Click to collapse
It has access to all the storage permission it wants

Harsh Keswani said:
It has access to all the storage permission it wants
Click to expand...
Click to collapse
hmm not sure then. Any time I had that issue was when the app didn't have storage permissions.
And I'm assuming you didn't restrict the background data under the cellular data on the specific app you're talking about.

Go into the app info.. under battery
And make sure background activity is on
If the option is missing then disable battery optimization for this app

Try pressing the lock button within the recents manager and see if that helps

try enabling unrestricted data access under special access permissions

Related

Minor issue with Tasker and GPS settings

I'm almost positive I had this working in the past but it's not now some reason. I'm running CM10.2 on a Skyrocket. All I am attempting to do is turn the GPS on or off using a task. I ran the task manually, everything else is working fine. Tasker has root permissions as shown in superuser, and just to be sure it also is a device administrator and is in the system app folder. Secure settings doesn't have an option for GPS in the free version.
vpxf said:
I'm almost positive I had this working in the past but it's not now some reason. I'm running CM10.2 on a Skyrocket. All I am attempting to do is turn the GPS on or off using a task. I ran the task manually, everything else is working fine. Tasker has root permissions as shown in superuser, and just to be sure it also is a device administrator and is in the system app folder. Secure settings doesn't have an option for GPS in the free version.
Click to expand...
Click to collapse
tasker?
use the drop down menu as it couldnt get any easier than that, no extra apps needed
vincom said:
tasker?
use the drop down menu as it couldnt get any easier than that, no extra apps needed
Click to expand...
Click to collapse
I wrote a script that I use, as well for my girlfriend who does not like to manually adjust things so much. I'm assuming your response means that you have no idea as to why it's not working
Automatic GPS on/off > manual

[Q] Revoke GPS for Certain App(s)?

Is there anyway to revoke GPS permissions for certain apps like Facebook for example but keep them on for Google Maps? Having an issue where I wake up my phone to check the time, answer a text, or whatever, and notice my GPS icon at the top blinking and will not stop till I close everything in my recent apps. Want to try and revoke GPS permissions for apps that do not need it and see if that would fix my problem.
Thanks.
I know there are many xposed modules which allow you to restrict individual permissions for specific apps. From there you could restrict an app's access to your fine (GPS) location. I think that would keep it from triggering your GPS upon opening. I don't know what to tell you if you're not rooted out have a reason not till install xposed. Hope that helps.
The Stig 04 said:
Is there anyway to revoke GPS permissions for certain apps like Facebook for example but keep them on for Google Maps? Having an issue where I wake up my phone to check the time, answer a text, or whatever, and notice my GPS icon at the top blinking and will not stop till I close everything in my recent apps. Want to try and revoke GPS permissions for apps that do not need it and see if that would fix my problem.
Thanks.
Click to expand...
Click to collapse
app ops can do it. you can also use tasker so that location only turns on for certain apps.
cntryby429 said:
I know there are many xposed modules which allow you to restrict individual permissions for specific apps. From there you could restrict an app's access to your fine (GPS) location. I think that would keep it from triggering your GPS upon opening. I don't know what to tell you if you're not rooted out have a reason not till install xposed. Hope that helps.
Click to expand...
Click to collapse
madsquabbles said:
app ops can do it. you can also use tasker so that location only turns on for certain apps.
Click to expand...
Click to collapse
Cool thanks guys. Wasn't sure how to word this when trying to Google it but searching for App Ops I found an XDA Article that had some other solutions as well. I appreciate the help! :good:
Here is the link for the article in case anyone else wants to read it.
http://www.xda-developers.com/protecting-your-privacy-app-ops-privacy-guard-and-xprivacy/

App notifications + Wifi? Some answers some questions

So I have stumbled across a bug that is rather frustrating. This bug was that I could not receive notifications in "real time"( if that makes sense) basically I mean very delayed. A fellow XDA member pointed me out to a thread that has a solution for this which goes as follows:
Settings-> Additional settings->Battery& performance -> Manage apps battery use->chose apps.
After that its pretty straight forward.
My current problem is that I still get delayed notifications in Wi-Fi. I have tested this out on about 10 different Wi-Fi networks. I am sure this is some stupid MiUi setting hidden somewhere making the phone go in a deep sleep state or a battery mode or something..
Before people start recommending installing CM, I am not interested in it, until CM bugs are fixed, Also this is not a solution that answers my question.
I hope the solution above has helped other people as it has for me, for the Wi-Fi issue any thoughts or suggestions are more than welcome.. (Haven't tried the IPV4 thingie I read in XDA but that doesnt seem like a solution that I can apply when I am at someone elses house or out =/ )
About the notifications problem
I don't know if we are talking about the same issue, but I have seen delayed notifications on many phones and Android versions in the past. Also, the web is full of forums and sites where people complain about this. I think this is more a Google Cloud Messaging bug than a Xiaomi or Miui bug.
Maybe the people here suffering from this issue can try this app
https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
Helped me in the past. You can chance the heartbeat of your internet connection to keep it alive.
I can't say if i have this issue because i didn't got much notifications in the last days. At least i didn't noticed something. Also my banking app notifies me immediately when i do banking stuff or pay somewhere.
Also, the people who gets disconnected when they turn off the screen on Miui, there is a setting in the security app under battery profiles which says by default "clear on lockscreen". Maybe making an own profile with a different setting helps here
rob rich said:
About the notifications problem
I don't know if we are talking about the same issue, but I have seen delayed notifications on many phones and Android versions in the past. Also, the web is full of forums and sites where people complain about this. I think this is more a Google Cloud Messaging bug than a Xiaomi or Miui bug.
Maybe the people here suffering from this issue can try this app
https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
Helped me in the past. You can chance the heartbeat of your internet connection to keep it alive.
I can't say if i have this issue because i didn't got much notifications in the last days. At least i didn't noticed something. Also my banking app notifies me immediately when i do banking stuff or pay somewhere.
Also, the people who gets disconnected when they turn off the screen on Miui, there is a setting in the security app under battery profiles which says by default "clear on lockscreen". Maybe making an own profile with a different setting helps here
Click to expand...
Click to collapse
Em this sortof helps.. I get 90% of my notifications on WiFi have no what to change in its settings though Any pointers? big thank you though
b3ava said:
Em this sortof helps.. I get 90% of my notifications on WiFi have no what to change in its settings though Any pointers? big thank you though
Click to expand...
Click to collapse
In what settings? Security app or Push Notification Fixer app (in this app you just have to hit "apply settings" and reboot)
rob rich said:
In what settings? Security app or Push Notification Fixer app (in this app you just have to hit "apply settings" and reboot)
Click to expand...
Click to collapse
The "heartbeat interval" in the root -push notification fixer app I have no clue what that is or what happens if you increase or decrease it
b3ava said:
The "heartbeat interval" in the root -push notification fixer app I have no clue what that is or what happens if you increase or decrease it
Click to expand...
Click to collapse
You can read about it in the projects XDA-thread: http://forum.xda-developers.com/showthread.php?t=2142503
I read about "heartbeat interval", but if the problem is it, notification should not work correctly even when screen is on. While it seems here we are speaking when the screen is off, right?
---------- Post added at 10:58 AM ---------- Previous post was at 10:53 AM ----------
I made some research, and i wrote all settings that could be interesting. I write them here just to be sure all settings was checked.
These settings should be adjusted, besides your pushing apps (wapp, facebook,etc.), even for:
- Google Services Framework
- Google Account Manager
- Google Play services
- Google Play Store
Code:
1.Goto Security->Permissions->Autostart and give autostart permissions to the Google Services Framework,Google Account Manager and your Messaging apps like whatsapp,hike,etc.
2.Goto Security folder>permissions> and give permissions to each apps.
3.Goto Security->Data Usage->Data Usage Stats and Select your app . After that check if background data is enabled. If it is not enabled, enable it
4.Goto Security->Data Usage->Data Saver->Manage Apps and turn off optimization for the messaging apps.
5.Goto Settings>Additional Settings>Battery>Manage app battery usage, now disable/turn off the following options.
- Manage app battery usage
- Restrict apps when battery is low
Or
- Select "Choose apps to restrict" and unselect/untick the apps from the list
6.Goto security folder and click the check button.
7.If you have already opened these apps you will see these apps in the memory tab.
Click on the memory tab and uncheck these apps and any other apps you desire or you can simply go to recents panel and lock this app by swiping down.
8.Goto settings<security<locatIon<location acces<permissions<messenger<display pop up....
Finally reboot the device and check.
Do you hav adjuested all these checks? If yes, it is clear there is a GREAT bug in MIUI rom, or better miui kernel.
People, don't try nothing, this is simply a MIUI bug!!!
Read here: http://en.miui.com/thread-176743-1-1.html
Here http://en.miui.com/thread-182610-1-1.html is the bug, you can confirm it, so, maybe, a day MIUI team will fix it!
These settings should be adjusted, besides your pushing apps (wapp, facebook,etc.), even for:
- Google Services Framework
- Google Account Manager
- Google Play services
- Google Play Store
Click to expand...
Click to collapse
I don't even have any of these options on my Mi4C. For me it looks like all those Google apps are hidden? I can only change permissions or power settings for WhatsApp, can't find Google Services Framework etc
I only get WhatsApp messages reliably if my phone is unlocked and WhatsApp is open. And can only connect to WhatsApp Web if my phone unlocked and WhatsApp open.... Really frustrating.
Keep finding I've missed messages from hours ago cause they never showed up in notifications.
I've done everything here: https://www.whatsapp.com/faq/en/android/20887936
Installed Push Notification Fixer
Still same problem. Must be MIUI bug
antony84 said:
People, don't try nothing, this is simply a MIUI bug!!!
Read here: http://en.miui.com/thread-176743-1-1.html
Here http://en.miui.com/thread-182610-1-1.html is the bug, you can confirm it, so, maybe, a day MIUI team will fix it!
Click to expand...
Click to collapse
Once i set my apps that require push to Autostart it all worked.

Possible Solution For Notifications

I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
benneb2 said:
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
Click to expand...
Click to collapse
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
chtsarts said:
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
Click to expand...
Click to collapse
I have done this also :crying:. Upon re-opening Messenger while on data, it shows 'Waiting for Network' then 'Connected' and all the notifications come through. Ive also tried disabling Doze to no avail. Notifications work fine when on Wifi so not sure what the problem is, looks like a software design problem made by Lenovo. I might try Lineage in the future.
I find that when I return home and phone gets WiFi while pulling in drive I suddenly get Gmail notifications so seems mine is same.
The only way to fix notifications I've found that actually works is to disable doze via adb shell.
Sadly this fix needs to be reapplied every time you restart the phone making it a bandaid for a gunshot wound.
It feels like the OnePlus 3 all over again...
Install this app...
This app should work very well...
https://play.google.com/store/apps/details?id=de.geroo.disabledoze
Try this.
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
You have to close the lock, see image in the link below.
http://imgur.com/Gc4IBIj

Is any way to disable calling/texting?

Is any way to disable calling/texting? And to keep data running? Any app or option to do it.
Basically I just don't want to receive any phone calls and texts at certain time. Is it possible? But again.. to keep cell data On.
Thank you for help
Nevermind, misread
netgar said:
Is any way to disable calling/texting? And to keep data running? Any app or option to do it.
Basically I just don't want to receive any phone calls and texts at certain time. Is it possible? But again.. to keep cell data On.
Thank you for help
Click to expand...
Click to collapse
This is a workaround.
Freeze dialer app and in-call UI and Message app via any apps like SdMaid.
But you have to do everytime when you need to toggle.
May Tasker help you in this automation.
mjp93 said:
This is a workaround.
Freeze dialer app and in-call UI and Message app via any apps like SdMaid.
But you have to do everytime when you need to toggle.
May Tasker help you in this automation.
Click to expand...
Click to collapse
Thank you for your help. Tasker is very complicated for me.
I can't find option to disable those apps in SD maid app.
Could you shoot me a screen shot please
netgar said:
Thank you for your help. Tasker is very complicated for me.
I can't find option to disable those apps in SD maid app.
Could you shoot me a screen shot please
Click to expand...
Click to collapse
Here it is.
I have not confirmed if it works but report back if it does.
Edit: There is problem with sharing the screenshot.
Screenshot here: (if it's allowed)
https://pasteboard.co/HxbMmww.png
https://pasteboard.co/HxbMKTG.png
netgar said:
Is any way to disable calling/texting? And to keep data running? Any app or option to do it.
Basically I just don't want to receive any phone calls and texts at certain time. Is it possible? But again.. to keep cell data On.
Thank you for help
Click to expand...
Click to collapse
activate airplane mode and thereafter any radio you need/want, i.e. bluetooth, wifi, nfc etc.
it's not only fast but also fastest to revert back
if you have to boot into this condition always or often you can make a tasker script that does it automatically upon boot or upon another condition.
of course you can do the later anyways if you already use tasker and are relatively quick to implement such a profile or task
magnamentis said:
activate airplane mode and thereafter any radio you need/want, i.e. bluetooth, wifi, nfc etc.
it's not only fast but also fastest to revert back
if you have to boot into this condition always or often you can make a tasker script that does it automatically upon boot or upon another condition.
of course you can do the later anyways if you already use tasker and are relatively quick to implement such a profile or task
Click to expand...
Click to collapse
If I enable airplane mode there is no way I could make my cellular data to work, that's what I need. I dont need wifi, either Bluetooth.
Am I wrong?
Titanium Backup Pro ( required root ) lets you freeze "anything" ! ! ! . . . . . ( ie. you need a full backup before you try and ( maybe ) hose yourself )
You got two simcard slots. Get yourself a data only card for the second slot and turn off SIM 1 when you don't want any calls. I believe this is the most simple way.
Maybe I'm misunderstanding but wouldn't DND work ?
titanium backup let's you freeze any app
you freeze a app and causes boot loop
delete the file in
data system user 0 named package restrictions.XML in term
this rests all blocked apps
Damn, I wish I could use some app to do it with one click but I guess there is no such a thing. Anyway, Thx guys for suggestions.

Categories

Resources