[Wrong section] [Q] Android 4.4: Module which prevents background apps getting closed - Xposed General

Hello I've got a Android 4.4 Miui v5 Device and some of my background apps getting closed after a while or when closing all unused apps with the app switch.
It's annoying because my alarm clock isn't working as soon as I open another app or return to home.
It's like the complete opposite of the module:
"Prevent Running Force Stopped" > Prevent Background running from stopping
I've got the alarm time fix installed and set up correctly but this fix won't stop the app from getting closed!
My question:
Is there a module which prevents android 4.4 from closing these apps?
Thank you
Sent with my Xiaomi MI2 with Tapatalk Pro
MOD EDIT: Closed, please read http://forum.xda-developers.com/xposed/read-posting-module-specific-questions-t2752716

Related

Marshmallow update for Axon pro released

ZTE has released the marshmallow update for this beast. How's the update coming along for everyone so far?
The new update adds stock android features with little to no skinning.
Known issues/changes
•Some users are reporting stock launcher crashes, the problem can be alleviated by using a different launcher.
•Dolby Sound has gone missing, evidence provided by Arsenic53 suggest ZTE done goofed and accidentally removed it.
•The quick settings panel is now Dark and Transparent (very classy)
•Average RAM usage has gone up considerably due to system apps being badly optimized...or maybe they're just being rebellious?
•Bootloader still locked
•Battery drains quicker.
•Nice new booting screen
•Annoying WIFI calling issue has been resolved.
•Some users have reported lag even during the booting process.
•A user has reported that He/She cannot see the screen on some occasions especially when charging.
•The lockscreen is now closer to the stock version. The dialer shortcut has been replaced with a Google now voice function and the annoying "# more notifications" thing has been removed.
•Bloatware app "rockmyrun" can no longer be disabled.
P.S someone please link zte usa's twitter to this thread so they can go over it. Leave a reply so i can remove this message.
Taking forever to download...
badjebus said:
ZTE has released the marshmallow update for this beast. How's the update coming along for everyone so far?
Click to expand...
Click to collapse
Yeah im getting about 110 kb/s... Gonna be awhile.
Thank goodness!!!! now lets see if they fixed everything!!!
Looks like Dolby Sound is now gone. I had a widget on the home screen and it is now gone and nowhere in the menus...I wonder what else is missing now
Yeah what a shame, I liked the dolby sound.
am not gonna risk it this time .but a great news they finally brought the marshmallow update cheers guys
I did the install but now they stock launcher keeps crashing....... I might have to reset my phone..........
Coldheat1906 said:
I did the install but now they stock launcher keeps crashing....... I might have to reset my phone..........
Click to expand...
Click to collapse
Tried using a different launcher?
The download and install is going great for me. Works like a charm will keep looking for bugs but haven't found as of yet.
No bugs to report yet....just missing Dolby Sound
Coldheat1906 said:
I did the install but now they stock launcher keeps crashing....... I might have to reset my phone..........
Click to expand...
Click to collapse
I'm also having this same problem. Is anyone else experincing this as well?
Wish they didn't take Dolby sound.
Dolby atmos app is missing and the app drawer seems to be the old app drawer itself.hope the new marshmallow type app drawer is crashing.slight lag here and there and does doze feature in this update I can't find any setting menu for it.
vickytarunl said:
Dolby atmos app is missing and the app drawer seems to be the old app drawer itself.hope the new marshmallow type app drawer is crashing.slight lag here and there and does doze feature in this update I can't find any setting menu for it.
Click to expand...
Click to collapse
The doze feature doesnt come with a dedicated settings tab. if you want to choose which apps get dozed and which dont, go to apps(settings) click the gear and click battery optimization; from there you can white list certain apps from doze (I recommend greenify if you want doze to activate in just a few minutes as opposed to an hour.)
badjebus said:
The doze feature doesnt come with a dedicated settings tab. if you want to choose which apps get dozed and which dont, go to apps(settings) click the gear and click battery optimization; from there you can white list certain apps from doze (I recommend greenify if you want doze to activate in just a few minutes as opposed to an hour.)
Click to expand...
Click to collapse
thanks a lot did u come to know anything about the app drawer ?
This is what I got when I inquired about Dolby sound. Maybe they will release an update to add it back soon.
vickytarunl said:
thanks a lot did u come to know anything about the app drawer ?
Click to expand...
Click to collapse
Unfortunately my launcher also crashes so i cant say anything on that, ive switched to the Google now launcher to alleviate the problem.
So mine buglist here:
*Battery drains much more than before the update
*No screen sometimes when i just want to use mine phone (this happens when mine phone is charging i noticed)
*Phone lags, even the boot flash lags
*forgot the other point, but there is more...
zulfikar said:
So mine buglist here:
*Battery drains much more than before the update
*No screen sometimes when i just want to use mine phone (this happens when mine phone is charging i noticed)
*Phone lags, even the boot flash lags
*forgot the other point, but there is more...
Click to expand...
Click to collapse
Same with me, the phone is lagging. I want to comeback to lollipop

Auto-closing apps in background on Nougat

My Oneplus 3T is autoclosing apps that I am using while running, they are running in the background to give me timing and track my GPS, they are just randomly closed.
I have disabled Aggressive Doze and Auto-close high power apps but it is still happening. Is there anything I can do to prevent this?
Preau said:
My Oneplus 3T is autoclosing apps that I am using while running, they are running in the background to give me timing and track my GPS, they are just randomly closed.
I have disabled Aggressive Doze and Auto-close high power apps but it is still happening. Is there anything I can do to prevent this?
Click to expand...
Click to collapse
Yes, activate the lock (top right / multitasking screen) or flash a custom kernel (like: https://forum.xda-developers.com/on...ernel-franco-kernel-r1-28th-november-t3508904) which supports more background apps (limit raised to 60 from stock 32)
Fir3start3r said:
Yes, activate the lock (top right / multitasking screen) or flash a custom kernel (like: https://forum.xda-developers.com/on...ernel-franco-kernel-r1-28th-november-t3508904) which supports more background apps (limit raised to 60 from stock 32)
Click to expand...
Click to collapse
Thanks, I didn't know what the lock button was for. I'll try it next time I go running!
Fir3start3r said:
Yes, activate the lock (top right / multitasking screen)
Click to expand...
Click to collapse
Dumb queston: where is that setting? Can't seem to find it
JRSax said:
Dumb queston: where is that setting? Can't seem to find it
Click to expand...
Click to collapse
Sent from my OnePlus3T using XDA Labs
hello, does the lock solve the issue, could you please confirm ?
There are some hidden settings which might cause this
1. Apps - Setting - Apps auto-launch . Make sure it's turned off
2. Advanced - Recent app management - Make sure Normal clear is selected.
There is option in setting that close the application as soon you clear it from recent apps ....Setting/system UI/advanced
...Make sure it desabled.....Enjoy your device
I can't find any such setting. Which phone are you using now?
3T
---------- Post added at 12:27 PM ---------- Previous post was at 12:24 PM ----------
Naitik527 said:
3T
Click to expand...
Click to collapse
stacyy said:
I can't find any such setting. Which phone are you using now?
Click to expand...
Click to collapse
You have to start system UI tuner then you will be able to see this setting that's why
Preau said:
My Oneplus 3T is autoclosing apps that I am using while running, they are running in the background to give me timing and track my GPS, they are just randomly closed.
I have disabled Aggressive Doze and Auto-close high power apps but it is still happening. Is there anything I can do to prevent this?
Click to expand...
Click to collapse
How about battery optimization setting? apps > gear > special access > battery optimization > apps in Not optimized list?
Yeah, I know. There's Doze, Aggressive Doze, and this Battery Optimization.
I'm having the same issue. Tried Franco Kernel and it didn't help.
Fir3start3r said:
Yes, activate the lock (top right / multitasking screen) or flash a custom kernel (like: https://forum.xda-developers.com/on...ernel-franco-kernel-r1-28th-november-t3508904) which supports more background apps (limit raised to 60 from stock 32)
Click to expand...
Click to collapse
I have tried locking Pokemon Go and it seemed to be working until today when it was killed in the background and I had to reload.
I'm not sure if this is a PoGo issue or a OnePlus issue.
I have now turned off battery optimisations for PoGo to see how that goes.
jamesl1001 said:
I have tried locking Pokemon Go and it seemed to be working until today when it was killed in the background and I had to reload.
I'm not sure if this is a PoGo issue or a OnePlus issue.
I have now turned off battery optimisations for PoGo to see how that goes.
Click to expand...
Click to collapse
So far none of the solutions listed have worked for me. I have same problem with Pokemon Go, Lyft, and Uber. I'm on stock 7.0 not rooted. I tried the Beta 7.1.1 and no difference.
Sent from my ZTE A2017U using XDA-Developers Legacy app
I started my torrent download and i slept as it was downloading in background, but in the morning the download dissappear how to fix this
Same Problem
I'm also having the same problem with PoGo. I can't find this lock button.
I have the same issue with some apps, including PoGo and Firefox and probably Discord (chat application). I bought this device with 6 GB to have not these issues. I'm quite disappointed. The issue occured with Android 6, with what the device was shipped, and with the latest Android 7.1. Maybe it doesn't have 6 GB at all and they did cheat me?
The lock button on the task manager screen does just prevent apps to be swiped away in my opinion.
i have the same issue when playing with pokemon go. very annoying. especially when its connected to my pogo plus. never had an issue with my s7e.
glad i'm not the only one. NPR app closes by itself when I'm listening to it.. I've noticed flipboard closing while i'm using it as well.
Just use a custom kernel, stock one has a limit on 32 max apps open. Other than that the solutions are those given already (Lock icon, disable battery opt for that app, disable doze, etc.)

how to prevent certain service from being closed

Hi all
Is there any way to prevent MIUI from closing an app that run as a service ( there is no actual app running when you check recent apps ) so you actually can't lock anything
The nHead notifications pubble is a great app but I can't find anyway to keep it running forever other wise MIUI will auto close or even when I clean memory
I'm on stock global latest 8.2.2 with no root
I have tried completely disabling battery optimization but no luck
Also the exception list in the cleaner security app is useless as I can't add any app to exception
Please any advise is appreciated
Thanks
Security>permissions>autostart.
Enable autostart for that app
From battery saver turn off ultimate mode.
STOP USING THE CLEAR ALL BUTTON IN RECENTS TAB. Never do this.
From developer options set memory optimization to off

Question Working Screenrecorder for the RN10s?

As above, noticed no screenrecorder so tried a few 3rd party apps, but starting a recording ends in fc due to a LPPe Service trying to "invoke a com.android.server.wallpaper.WallpaperManagerService", which then soft reboots the phone.
Then saw that there is a disabled miui screenrecorder app, installed that, then I got a quicktile for the screenrecorder, which does start - but still gets the LPPe service error as described above.
So anyone got a screenrecorder to work?
kenshinta said:
As above, noticed no screenrecorder so tried a few 3rd party apps, but starting a recording ends in fc due to a LPPe Service trying to "invoke a com.android.server.wallpaper.WallpaperManagerService", which then soft reboots the phone.
Then saw that there is a disabled miui screenrecorder app, installed that, then I got a quicktile for the screenrecorder, which does start - but still gets the LPPe service error as described above.
So anyone got a screenrecorder to work?
Click to expand...
Click to collapse
my screen recorder that comes with the global rom by default just works, I'm not sure why it seems like you're having a lot of trouble with your note 10S, I'm having a great experience after I flashed the global rom on mine.
My screen recorder works just fine without any error.
Ok
I did debloat this using UAD with a default xiaomi list, so it likely removed a package the screenrecorder needs (and based on 3rd part app maybe what any screenrecorder needs. )
Its just curious about the error - what does lppe have to do with screenrecording and why it calls the wallpaper engine.
Ah.. miui...
Solution:
Restore "com.miui.miwallpaper".
That was easy enough lol.

Any way to force an app to stay alive in the background?

So, on my old OneOlus 7, i would simply start the app, lock it from recent apps drawer, minimise it, and it'd run in the background for as long as i wanted. Even if i played a game or do anything, the app would run no issues.
On Rog 3, the app is closed randomly after 10 seconds or 5 minutes.
I have every background restriction i could find, disabled. Armoury Crate has Memory cleaner disabled as well.
Any method to keep an app running minimised in background guys?
Add the app to OptiFlex.
In app settings:
- Background Restriction = Disabled​- Battery Optimization = Disabled​- Background app management = Disabled​
Also, if you need the app to automatically start on every boot/reset, add it in Auto Start Manager.
That's it.
Already did all these.
It's still beeing closed damn it

Categories

Resources