[GUIDE][LP-MM-N][CM-CAF-AOSP] Workaround for "apps with access to usage data" bug! - Android Q&A, Help & Troubleshooting

[GUIDE][LP-MM-N][CM-CAF-AOSP] Workaround for "apps with access to usage data" bug!
There are A LOT of (even good) LP/MM ROMs out there that has the "apps with access to usage data" bug (it seems some Nougat too...).
There are two main types of this bug:
- the first, more spreaded on "branded" LP ROMs is that this menu has fully removed from Settings at all (should be inside Security section, as last choice available...). This happened on some old Samsung & LG ROMs if I don't go wrong...
- the second, more spreaded on MM (& N?) "cooked" ROM as CM, AOSPA, RRmx, etc... is that apps reported inside the menu are not the ones eventually needing this security settings introduced with LP, BUT totally RANDOM and, worse, quite ever, the needing ones are missing, limiting this way their complete functionality...
I'm *quite sure* this could be fixed by an Xposed Module but, as of today, I've not find one and nobody seemed able to realize one! :crying:
This bug is very discussed on the web, since it limits hardly the functionality of a lot of "technical apps" like many antivirus apps (e.g. Sophos, Malwarebytes...), anti thefts (e.g. Avast...), battery stats (e.g. Accubattery & 3C Battery Stats Pro...), battery savings (e.g. Greenify, Leandroid...), blue filters (e.g. Eyefilter...) and so on...
All these can't fully work or work at all since of the "apps with access to usage data" bug.
Many people at the end decided to switch from good ROMs only since of this bug, because for advanced users this is surely a "major one".
And nobody, as of today, was able to fix/patch it or to find a workaround.
I've so investigated on this with the intention to find at least a workaround for this (a fix/patch requires at least an Xposed module to be realize and this is out of my actual possibilities...).
At first I've found that granting that permission could be done even via adb and/or terminal: having root permissions (I'm talking to advanced users, OK? You have root for sure... ) there is a comand to grant permissions to apps, in this specific case it is:
>su
>pm grant <package_internal_name> android.permission.PACKAGE_USAGE_STATS
This probably should work fine on ROMs where the related settings menu has been removed, BUT on "cooked" ROMs affected by the bugged menu this simply doesn't work: command is accepted with no error BUT... it simply doesn't change anything!
This is interesting for who eventually will investigate on this bug, since it is clear that it is not a "cosmetic" bug related to settings submenu functionality, but it is something more core related since of the commands not working too...
At the end I've found a really *great* app, developed probably for other needs but that I've found it working perfectly as a workaround for this issue too! :highfive:
The app is App Ops or, better, one of the numerous apps with that name present on Play Store (most of not working at all... ), so you can search it as rikka.appops
Starting first time this app, it asks if you have root or not, to decide how to install it (yes, it seems able to work without root too, but functionality with our needs has to be confirmed), so, after have chosen "root mode" it will scan and show complete app list.
Then you have to go to your limited-since-of-the-bug-app ant tap on it. It will show you a list of the permission of that app and their actual status.
You have to go to get usage stats permission and you will find it indicated as "Default". Tap on it and simply change to "Allow", then exit.
Since now (even without a reboot!) your app will ignore (wrong...) system settings and will work fine as you have granted normally that permission. :highfive:
I've tested it with a lot of apps and all work fine after this workaround. :good:
I guess this could be useful to *many*!
P.S.: please note that on bugged settings menu nothing will change... but, who minds!

Thank you so much for this information! This is exactly what I was looking for and now I can use all my apps as they are supposed to be used:good::laugh:

tengwer said:
Thank you so much for this information! This is exactly what I was looking for and now I can use all my apps as they are supposed to be used:good::laugh:
Click to expand...
Click to collapse
You are the welcome... on what ROM did you applied this?

It was the Marshmallow version of Resurrection Remix.

been looking for this for a last few days... and actually find it now...
thanks.
you should add a screenshot of the step by step to make it easier to understand for some people, its just my opinion.

I was trying to find another ROM.. But there's nothing like RR man! So i'm restoring my backup & will try this ASAP. Really hope it'll works THANK YOU! Link : https://play.google.com/store/apps/details?id=rikka.appops&hl=fr

thanks man, you have saved me from a big app security problem.
I am using rr rom. Surprisingly, permission in this respect is not found in privacy tab in settings app on the rom.
Any way, thanks a lot??

It worked.. thank you saviour

enetec said:
The app is App Ops or, better, one of the numerous apps with that name present on Play Store (most of not working at all... ), so you can search it as rikka.appops
Click to expand...
Click to collapse
Thanks so much for this! This solved a permission problem I ran into on a Kindle fire 8.

Related

Need some advice around malware/viruses on android

Hello,
I've been looking around for an application that tracks application installs.
Especially for malware installs.
Let me explain the situation:
I've got a smartphone with installed apks (all legal from the playstore)
After a while I am trying to find out what problems are causing some random ad popups (about dating for those who are interested) it's caused by an apk called recents.
I always delete that program. But it seems that it reinstalls itself, every now and than.
also since today I've got an shortcut on my main screen that is called coobrowser (not coolbrowser although it has the same icon image, tried to find out where it came from but I can't find an apk either)
I know some applications:
os monitor is a good one though it doesn't accomplish my needs. (I can see the connections but there it stops)
Catlog doesn't make me any wiser
I hope someone know what I'm talking about and has this kind of application in reach.
TLDR: In need of an application install tracker that monitors which applications open a port for another application install (read malware)
I have the same issue with my phone.
When I clicked app info it turned out to be called trebuchet.
What type of phone do you have?
Yes exactly that's what I get too,
Jiayu S3
That is built into their os. It is made to reinstall if it detects it is Uninstalled. It's not an app that is doing it but the OEM of the device. It is known that many of the Chinese devices do this to counter the cheap prices of the device. Your only option would be to build an aosp based rom if you can.
jerrefurtor said:
Yes exactly that's what I get too,
Jiayu S3
Click to expand...
Click to collapse
I've got the same phone and the same issue started to appear recently. First the "recents" app, now the "coobrowser". The orginal Trebuchet icon is gone. Not sure if this is a virus or feature from JiaYu. How to tacke this without crafting my own ROM as mentioned?
jediz said:
I've got the same phone and the same issue started to appear recently. First the "recents" app, now the "coobrowser". The orginal Trebuchet icon is gone. Not sure if this is a virus or feature from JiaYu. How to tacke this without crafting my own ROM as mentioned?
Click to expand...
Click to collapse
Yeah I've managed to remove recents (since this was causing random ad popups)
I've got the exact same problem. Just want to know how to track it down
I can't see any other option than installing a different ROM, because the stock one is strange regarding security. For example every reboot resets "install apk from unknown sources " to YES, which is fishy. Bye bye stock rom, I liked it at the beginning but with these issues I am forced to switch.
jediz said:
I can't see any other option than installing a different ROM, because the stock one is strange regarding security. For example every reboot resets "install apk from unknown sources " to YES, which is fishy. Bye bye stock rom, I liked it at the beginning but with these issues I am forced to switch.
Click to expand...
Click to collapse
I've just noticed they have published the official rom for android 5.1 http://www.needrom.com/download/17-09-android-5-1-for-the-jiayu-s3/
I decided to avoid the official ROM as the problems I experienced were with the previous official ROM. I went for the "rom-xtreme-rom-tf"
So far so good, but don't you try to uninstall the Google Now app from android 5, I was unable to boot doing so.

Battery life (wakelock), Amplify, SD Maid, Auto Call Recorder, Chrome, APUS Launcher

Hi,
This is my first time specifically posting a question as a Q&A style thread so I hope I'm doing this right.
I have been using the Redmi Note 2 for about a month now. Overall, it's been a great phone (especially considering the price). However, I've been experiencing a couple of issues and I am hoping that some of you may be able to help.
I have rooted the phone but have not installed a ROM/kernel.
I have been using Wakelock Detector to track my battery life. Of most significance is com.baidu.map.location (NetworkLocation). I have attached the two screenshots showing the frequency of how often it wakes up my device. I tried to greenify it but it wouldn't allow me - it says "Sorry, "NetworkLocation" is ingreenifiable". Does anyone have any idea for me?
I have also been trying to use Amplify as another means to try and improve battery life. As mentioned, my phone is rooted, and the app prompted me to install the Xposed app which I did. However, after installing the app, it wants me to install the framework but it does not allow me to. I have attached the screenshot of this too.
Nova Launcher - Sometimes when I open the app drawer, the resolution of the app launcher appears funny. To fix it, I normally just press back and go back into the app drawer and it goes back to normal. I have attached a screenshot of what this roughly looks like. This is not a big deal but can be a little annoying. Has anyone experienced this?
SD Maid - I used to use this app on my old Galaxy S3 i9305 to clear out storage space taken up by unnecessary stuff. This app no longer works on this phone. I have attached a screenshot of the issue that I am having.
I have downloaded Auto Call Recorder from the app store with the intention of having it automatically record my phone conversations. It does not work but I am unable to figure out why. I have checked the settings and I cannot identify any obvious setting that is incorrectly configured.
Flynx - I have been trying to use Flynx as it appears to be an incredibly useful app, but it seems something is not working correctly. In the screenshot that I have attached, where it says "Tap on the bubble to open it!" I am assuming there is a bubble that is supposed to appear for me to tap, but it does not appear.
APUS Launcher/Clean Master - finally and maybe most worryingly, I sometimes get 2 or 3 apps "pushed" to my device prompting me to install it. I can only remember 2 at the moment; APUS Launcher and Clean Master. Fortunately, I am asked to give the app permission for installation but it worries me because it has occurred a few times and I did not download it at all. I do not have a screenshot of this at the moment, but I will do it next time it occurs.
I have been told that my provider (Vaya in Australia) sends out a SMS for "automatic update" purposes. I only spotted this because I have noticed that I was charged for 2 separate international SMS on 2 occasions when I did not send them (to a UK number, +44 7786209730). I am not sure whether this one is a phone problem or something else.
I appreciate any of your assistance in advance and I am sorry if I have not provided enough information. I am also not sure as to which issues may simply be app problems as opposed to a problem with MIUI software or Xiaomi.
Hope I will be able to get some assistance!
SD Maid - I used to use this app on my old Galaxy S3 i9305 to clear out storage space taken up by unnecessary stuff. This app no longer works on this phone. I have attached a screenshot of the issue that I am having.
Click to expand...
Click to collapse
Does the crash happen when the dialog opens, or when you click the orange entry?
Try giving your sdcard a name, possibly doing it from a desktop computer.
Hi, the crash happens when I click on "Overview" then click on "To start press [refresh icon]" and then you just press there - what normally happens is it will give a overall summary of the phone.
However, I have just tried it again. When that error message comes up, instead of tapping on the listed entry (as is instructed), I press "Done" and it is able to give me a summary!
So for some reason it appears as though it doesn't work (at least from the error message), and I just press done and it still works.
Thanks for your reply nevertheless! Would not have figured that out had you not replied hahaha.
If you just press "done", SD Maid won't have access to your external sdcard.
Did you try installing the Xiaomi EU rom, since it's supposed to be cleaned from chinese apps (Like the baidu one).
Hi all,
Sorry it seems like I never came back to expand what I have done to try and fix these problems.
I ended up changing to Hermes ROM here http://www.smiui.net/redminote2_hermes.php
Most of the issues above are now solved, but there are some that are still present such as #2 and #5. So Amplify still doesn't work, but I think this is a hardware limitation and Auto Call Recorder still doesn't work. As for why Auto Call Recorder doesn't work, I don't know why, but I am not greatly bothered by it so I have not attempted to do anything to resolve that problem.

Possible hacky solution to apps being aggressively killed

I say possible because the possible solution is basically disabling a system app, but this was after disabling other system apps and mucking around with settings, so it might be a combination of apps being disabled, but i dont think so
By the way, i can confirm that twrp from the here https://forum.xda-developers.com/nokia-1/development/unlocking-rooting-nokia-1-stock-rom-t3832230 works, and so does the latest magisk 17.
Twrp
Ive succesfully used the backup/install feature but havent had the courage yet to test the wipe and restore (data,system) feature, although following that ^ guide ^, looks like restore recovery/boot image works, so thats hopefully a good sign
Magisk
Following that guide, use twrp to flash, no major issues with installation.
Note, if you follow that guide and you come to the bit where the stock recovery only shows "no commands", hold press power button + up volume for a sec or two, or at least thats what i read somewhere, read somewhere else to just press these buttons continually on and off, which i did randomly, and eventually the stock recovery options appeared, dont know why this is this way
Anyways, the culprit, assuming im right barring the above reasons was........a system app called EMM or emmupdate (literately the apps name changed on my phone, i remembered it was emmupdate and now, after checking, its changed to emm, thats weird)
I used a root based logcat app
https://f-droid.org/en/packages/com.dp.logcatapp/
to try and see if there was anything to see, using a particular app i could reliably duplicate the issue with (swiping away from recents app would turn off this apps service removing its notification a couple seconds after being cleared from recents, this app being https://play.google.com/store/apps/...ite&pcampaignid=APPU_1_LUahW_D4DonSgAajx4y4Aw
Paused the logcat searched for the app, and saw a reference with this app, showing the emm app and references to "killing"
Solution
My particular solution was this app,(requires root)
https://play.google.com/store/apps/details?id=com.kunkunsoft.rootservicedisabler
(i dont think you can disable this emm app normally like some system apps, check, i could be wrong)
-in my brief researching this area, i saw discussions that you may be able to do this with adb(i dont know for sure, but might be worth looking into it yourselves, if you dont want to root, no guarantees)
The service disabler app lets you disable, well, services, and this emm app had one service attached to it called "MemoryManagerService", so maybe thats what did it, and not the disabling of the app, so i suggest that if you use this app, also disable the service as i did, for the emm app if disabling the app only, did nothing
IMPORTANT- Reboot the phone after, as thats when the change took affect for me
Ive rebooted, slept, and cleared recents and so far, multiple background apps that were continually being killed before, have NOT been killed
Hope this helps, hope it works.........silly that we have to do this
Well i did the same thing by analyazing the logcat through adb. What i found was that any app was killed after this so called emmservice in emmapp was run. After this the activity manager simple killed that app.
To check i choose emm app and turned d switch off under background apps in developer options. Also fc emm.apk. but still problem was there.
Ill check your workaround. It sounds more promising.
coolboyforeva said:
Well i did the same thing by analyazing the logcat through adb. What i found was that any app was killed after this so called emmservice in emmapp was run. After this the activity manager simple killed that app.
To check i choose emm app and turned d switch off under background apps in developer options. Also fc emm.apk. but still problem was there.
Ill check your workaround. It sounds more promising.
Click to expand...
Click to collapse
If you get the time, let us know if it works, that way anyone else with the same issue who comes across this thread at least has a way to make the phone multitask
An open source alternative to the disable services app, is an app called oandbackup on the fdroid store(like titanium backup), has a feature that lets you disable apps(requires root), aswell as backup/restore apps and their data, its very good
I just tried looking for a non root solution, but it seems that adb solution i briefly saw earlier also needs root
Besides that, like i said in my first post, it could have been the disabling of emmupdate/s service in the disable service app, so if disabling alone doesnt do it, try disabling the service aswell...........i kinda wanna know the least amount of steps to get it fixed, so if disabling did it alone, that would be worth knowing
Gd luck
Spoke to soon, seems like there might be a way to use adb without root to disable system apps https://www.androidpit.com/uninstall-system-apps-without-root, whether it works on oreo i dont know.
The article solution implies the this will uninstall the apps, but apparently, according to a commenter in that article, it deletes a part of the app in a certain place in android that essentially just disables it, if you did a factory reset, the app would return
If it works, at least users wont have to go through the trouble or risk of mistake in flashing twrp/root or any other modifications to fix it, assuming just disabling emm....... works.
banderos101 said:
If you get the time, let us know if it works, that way anyone else with the same issue who comes across this thread at least has a way to make the phone multitask
An open source alternative to the disable services app, is an app called oandbackup on the fdroid store(like titanium backup), has a feature that lets you disable apps(requires root), aswell as backup/restore apps and their data, its very good
I just tried looking for a non root solution, but it seems that adb solution i briefly saw earlier also needs root
Besides that, like i said in my first post, it could have been the disabling of emmupdate/s service in the disable service app, so if disabling alone doesnt do it, try disabling the service aswell...........i kinda wanna know the least amount of steps to get it fixed, so if disabling did it alone, that would be worth knowing
Gd luck
Spoke to soon, seems like there might be a way to use adb without root to disable system apps https://www.androidpit.com/uninstall-system-apps-without-root, whether it works on oreo i dont know.
The article solution implies the this will uninstall the apps, but apparently, according to a commenter in that article, it deletes a part of the app in a certain place in android that essentially just disables it, if you did a factory reset, the app would return
If it works, at least users wont have to go through the trouble or risk of mistake in flashing twrp/root or any other modifications to fix it, assuming just disabling emm....... works.
Click to expand...
Click to collapse
I tried. I can confirm the root method works. However, i also did the adb method. The adb too works. Apps are not killed by android now. No need to unlock bootloader, root or twrp. It just executing 2 commands
Code:
adb shell pm clear com.evenwell.emm
adb shell pm uninstall -k --user 0 com.evenwell.emm
And then reboot.
This clears the app data and disables the app for current user.
And, moreover it survives ota updates too. !!
Only thing to keep in mind is that if you factory reset, you have to re execute above 2 adb commands.
So now all sorted. Just a matter of executing 2 commands.
coolboyforeva said:
I tried. I can confirm the root method works. However, i also did the adb method. The adb too works. Apps are not killed by android now. No need to unlock bootloader, root or twrp. It just executing 2 commands
Code:
adb shell pm clear com.evenwell.emm
adb shell pm uninstall -k --user 0 com.evenwell.emm
And then reboot.
This clears the app data and disables the app for current user.
And, moreover it survives ota updates too. !!
Only thing to keep in mind is that if you factory reset, you have to re execute above 2 adb commands.
So now all sorted. Just a matter of executing 2 commands.
Click to expand...
Click to collapse
Very nice, now we know a solution
There you go folks, thanks to coolboyforeva's info, work, testing, and confirmation, anyone who comes across this annoying issue now has a non root solution to fix it, two adb commands.............not to bad, not to bad at all
Cheers CBF, for finding the specific adb commands, and the helpful info, hope it was'nt to much of a bother...........doing gods work pal
can confirm that the adb method works and can easily multitask now... thanks guys... no force closures of app now.....
Any you guys noticing a delay after reboot for your user apps to start, or just me.
Edit: even during operation(comes and goes), example app = Tasker
Edit2: mmmm, i have a suspicion it might be something to do with gaining root from magisk. Magisk has a few settings that changes how this works, so i might mess around with that first and see what happens. Might also just be tasker/oreo incompatibilities, or perhaps conflicting tasks
Probably gonna look into it, ill post here if i find anything, unless someone beats me to the punch, suspect its one of the manufactor's sytem "optimizing" apps..........
Was hoping we'd be swimming in custom roms, seing as our device SEEMS to be treble compatible and so cheap, a nice bloat free working lineage as daily driver..........guess ill have to stream line stock as much as possible until that day hopefully comes
banderos101 said:
Any you guys noticing a delay after reboot for your user apps to start, or just me.
Edit: even during operation(comes and goes), example app = Tasker
Edit2: mmmm, i have a suspicion it might be something to do with gaining root from magisk. Magisk has a few settings that changes how this works, so i might mess around with that first and see what happens. Might also just be tasker/oreo incompatibilities, or perhaps conflicting tasks
Probably gonna look into it, ill post here if i find anything, unless someone beats me to the punch, suspect its one of the manufactor's sytem "optimizing" apps..........
Was hoping we'd be swimming in custom roms, seing as our device SEEMS to be treble compatible and so cheap, a nice bloat free working lineage as daily driver..........guess ill have to stream line stock as much as possible until that day hopefully comes
Click to expand...
Click to collapse
Yes there is delay. Bt i think it would be there. Initially when apps were killed u had enough ram to quickly process any app. But now since apps reside, android ram management has to manage. And that delay in app starting maybe coz be hardware. Its a low grade mediatek chipset. I dont expect it to be quick. (Atleast it auto start apps after delay). But yes if you could find some clue to optimize , that would be good.
Meanwhile i am looking for a pie rom. treble rom works on our nokia 1. I flashed phh treble pie gsi. It boots normal. Only thing is you dont get notified of incoming calls, no rings. Outgoing calls work normal though. So it cant be used.
Link for rom : https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
If this issue is resolved we could have a ready pie rom too.
coolboyforeva said:
Yes there is delay. Bt i think it would be there. Initially when apps were killed u had enough ram to quickly process any app. But now since apps reside, android ram management has to manage. And that delay in app starting maybe coz be hardware. Its a low grade mediatek chipset. I dont expect it to be quick. (Atleast it auto start apps after delay). But yes if you could find some clue to optimize , that would be good.
Meanwhile i am looking for a pie rom. treble rom works on our nokia 1. I flashed phh treble pie gsi. It boots normal. Only thing is you dont get notified of incoming calls, no rings. Outgoing calls work normal though. So it cant be used.
Link for rom : https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
If this issue is resolved we could have a ready pie rom too.
Click to expand...
Click to collapse
Cheers buddy, nice to know these things, good to know that theres already an initial treble rom.
Gonna wait for incoming call ring support, might give it a couple of months actually, before trying out any rom that might come along, let the bugs get settled if any, assuming were lucky enough to get a maintainer
Edit
Commenting about the slow response time of user apps, normally i'd agree with you on the outdated hardware, but either the rom is very streamlined or the hardware is not so bad, as the phone is surprisingly snappy when its not stalling, which leads me to believe its a system app/service........ive had slow devices, and usually, everything is slow all the time, either because outdated hardware or heavy rom, so hopefully its a system app
Adb method works well here, tanks a lot. No UB, no root.
I'll be trying the ADB method when have enough charge as had to take Nokia 2.1 back and for that device having a Snapdragon I can confirm that this Nokia 1 is quicker by a mile
I done the adb method and it's worked!!!
thank you guys for this hack. multi-tasking is finally working and alot of overlays and apps are now working without closing.
I'll share with you something i found to make this phone really fast: in developer mode disable animations from x1 to OFF. Then turn ON gpu for 2d drawings. And reboot.
Now it will be buttery smooth!!

app closing and battery saver [Umidigi F1]

So I like the big battery in this phone, but I hate that when I open an app, and it loads (facebook for example), then I get an incoming email, so I tap the notification to open and read my email, the phone closes/ends my fb app. When I go back to fb, it re-launches the app all over again. It's annoying when I'm in the middle of something, and it'll force-close and lose everything I was typing. I've enabled dev options, and see an option in there for apps "Don't keep activities" (destroy every activity as soon as the user leaves it) which sounds like exactly what is happening, but this option is disabled. I've disabled every possible battery saver option I can find.
Anyone know where else to look? You wouldn't think it'd be a big thing, but it's really annoying having to spend extra time re-launching every single app as opposed to just switching between them already launched.
Thanks in advance!
radi0chik said:
So I like the big battery in this phone, but I hate that when I open an app, and it loads (facebook for example), then I get an incoming email, so I tap the notification to open and read my email, the phone closes/ends my fb app. When I go back to fb, it re-launches the app all over again. It's annoying when I'm in the middle of something, and it'll force-close and lose everything I was typing. I've enabled dev options, and see an option in there for apps "Don't keep activities" (destroy every activity as soon as the user leaves it) which sounds like exactly what is happening, but this option is disabled. I've disabled every possible battery saver option I can find.
Anyone know where else to look? You wouldn't think it'd be a big thing, but it's really annoying having to spend extra time re-launching every single app as opposed to just switching between them already launched.
Thanks in advance!
Click to expand...
Click to collapse
I am using Ruthless Pixel launcher, from here xda, and I haven't got this problem. May be you have to disable the DuraSpeed from Settings.
Bye!
I tried a different launcher. I'll try the one you use. I've even had problems with the launcher having to "restart" and when I go back to the homescreen, it takes several seconds for that to load.
same problem here, every battery saver option disabeled, duraspeed off, and everything that i need to to i did in the developer options, but literally every app reboots after i switch to an other. any news on how to get rid of it?
I've switched between several different launchers. This isn't a launcher problem. It's a phone software problem.
radi0chik said:
So I like the big battery in this phone, but I hate that when I open an app, and it loads (facebook for example), then I get an incoming email, so I tap the notification to open and read my email, the phone closes/ends my fb app. When I go back to fb, it re-launches the app all over again. It's annoying when I'm in the middle of something, and it'll force-close and lose everything I was typing. I've enabled dev options, and see an option in there for apps "Don't keep activities" (destroy every activity as soon as the user leaves it) which sounds like exactly what is happening, but this option is disabled. I've disabled every possible battery saver option I can find.
Anyone know where else to look? You wouldn't think it'd be a big thing, but it's really annoying having to spend extra time re-launching every single app as opposed to just switching between them already launched.
Thanks in advance!
Click to expand...
Click to collapse
I'm running Nova Launcher and see what you're talking about...if you leave a Facebook post you're working on open, then go to research something else, even though the draft post is there on screen when you scroll for it, the post will close and re-open before you can edit it again, wiping out the draft. A bug that needs to be fixed, indeed. The weirder thing is, after looking at it some more, is that it isn't easy to consistently replicate. Weird, indeed.
TVCCS said:
I'm running Nova Launcher and see what you're talking about...if you leave a Facebook post you're working on open, then go to research something else, even though the draft post is there on screen when you scroll for it, the post will close and re-open before you can edit it again, wiping out the draft. A bug that needs to be fixed, indeed. The weirder thing is, after looking at it some more, is that it isn't easy to consistently replicate. Weird, indeed.
Click to expand...
Click to collapse
So I packaged my phone up last night and shipped it back this morning. But a buddy of mine MAY have figured out how to make it work. Go to Duraspeed and ENABLE it. Then ENABLE the apps (or all apps) that you want to STAY ALIVE in the background. See if that allows them to all run, yeah, like making a fb post type thing. Report back. I may have to go buy it again!
I have ZimLX and no issue with background apps.
radi0chik said:
So I packaged my phone up last night and shipped it back this morning. But a buddy of mine MAY have figured out how to make it work. Go to Duraspeed and ENABLE it. Then ENABLE the apps (or all apps) that you want to STAY ALIVE in the background. See if that allows them to all run, yeah, like making a fb post type thing. Report back. I may have to go buy it again!
Click to expand...
Click to collapse
That only helps a little bit, if you switch between tw games, or a game than check facebook and then whatzapp, the game resets. Also if you like switch to 3 different apps, they usually reset and get force closed from the systhem.
Also if you turn on duraspeed, youtube vanced gets forceclosed, even when it is allowed in duraspeed.
So what i do right now is enable duraspeed and the app that i want and whenever i wanna hear music in the background, i have to disable duraspeed.
Also, it is a real dealbreaker right now, it´s just way to buggy.
it seems like they programmed a way too harsh task kille in on purpose to give a longe battery life.
---------- Post added at 05:29 PM ---------- Previous post was at 05:27 PM ----------
monoculero said:
I am using Ruthless Pixel launcher, from here xda, and I haven't got this problem. May be you have to disable the DuraSpeed from Settings.
Bye!
Click to expand...
Click to collapse
Not true, everyone has these problems nomather what launcher, it is a software problem.
Usually everyone has tryed to disable duraspeed of course and whatnot.
This problem/bug is really annoying. It makes me hate the phone to be honest.
How/who do we report this too?
Try here - https://community.umidigi.com/forum.php?mod=forumdisplay&fid=210
From what I've seen, Umidigi employees monitor and are active in their Forums, so hopefully someone will pay attention.
I have ZimXL and no issues with background apps closing. Are you on the latest ROM?
Kangburra said:
I have ZimXL and no issues with background apps closing. Are you on the latest ROM?
Click to expand...
Click to collapse
obviously we habe the lastest rom and every user has that problem it is a rom problem.
Also, what is a zim xl, google gives nothing about that.
I had a few apps do screwy things with the powersaver on , and it would be a few. Kroger app would crash and would not work until you uninstall and reinstall it. Att Uverse app, when you login it give a message about allow permissions, it had all, anything that need the gps. if I turn off the power saver I do not have those issues.
crystalpepe said:
obviously we habe the lastest rom and every user has that problem it is a rom problem.
Also, what is a zim xl, google gives nothing about that.
Click to expand...
Click to collapse
[Edit]Actually this doesn't work well. A couple posts down is my fix that works.
I logged in after a while to post this! This is a reply to you and op and anyone else having this "problem". Thanks to this forum post, I found a solution. I think it's an ingenious design they created. If you want every app to run in the background, *enable Duraspeed and enable all apps* in the top right corner. Then, *Reboot your phone*.
After you do this, the phone will magically be as fast as it should again. It's like I rebought a phone 100x better then what I was using .
The ingenious part of it is, if you don't want certain apps running in the background then Disable them! (you'll probably have to reboot for any change to be applied)
I love this design and I am now back in love with my Umidigi F1 , hope this helps everyone.
i sold it like 3 months ago and fixed a broken note 9 for cheap. my friend who owns the f1 since then still has this issue even when he tried your fix.
also another friend who owns a f1 play has this issue since the last update he had, he even newly installed / whiped it and so on, seems like umidigi just has problems with theis software and also it seems like it only affects a few people.
crystalpepe said:
i sold it like 3 months ago and fixed a broken note 9 for cheap. my friend who owns the f1 since then still has this issue even when he tried your fix.
also another friend who owns a f1 play has this issue since the last update he had, he even newly installed / whiped it and so on, seems like umidigi just has problems with theis software and also it seems like it only affects a few people.
Click to expand...
Click to collapse
Hello, I agree. The fix wasn't 100%.
So here is the official fix, and once again it makes sense. (You might have to enable developer mode)
Go to your apps/notifications in settings, select an app, under the app click advanced, Battery, then battery Optimizations. Under that page go through your apps and disable optimizations for apps you want to stay on in the background.
Found this out and it works.
Actually figured it out once I read your post
If it doesn't work, reboot your phone.
Still doesn't work, do this along with duraspeed on the selected apps.
Still doesn't work, might just be the app. (Some of my games still don't stay in memory)
It's working good for me now, but if I wanted more apps to stay open I'd check developer settings and turn Max apps to keep in memory to the highest amount.
and I agree, it's a bit unpolished. Probably something to do with their battery optimizations and Android's not being compatable.
Tried several methods and nothing truly works. Your best bet is to flash a GSI/rom. Or just root the phone and install "ram fix by cork" magisk mod. I'm using the latter method and it works fine.
Yep the software itself has far too aggressive memory management despite it having 4Gb of RAM and kills apps far too quickly.
I complained about it to UMIDIGI support and they said go buy an F2.
What i did was used this forum to install Lineage OS and now have no memory issues
Either install a GSI (I suggest LOSQ) or download RAM Management Fix by Crock if you can find it, it's not in Magisk anymore.

[Guide] Samsung Galaxy Tab S5e Debloat Without Root-Info

ADDED 1 AUG 2019: THIS WAS WRITTEN FOR THE WIFI-ONLY T720, *NOT* THE LTE-ENABLED T725. OBVIOUSLY BE AWARE OF ALL THE PHONE RELATED PACKAGES
For those with the S5e wanting to debloat your tablet without rooting I have some, hopefully, useful info.
See this post by @Catmobile for an excellent explanation of why devs have trouble keeping Samsung package disabler apps on Play Store. https://forum.xda-developers.com/showpost.php?p=80048718&postcount=42
I used the app Package Disabler Pro+ (Samsung) by policedeveloper available on Play Store here https://play.google.com/store/apps/details?id=com.elmklmsamsung.batteryaddon No longer available, and does not even work on my device anymore.
UPDATE 16 JUL 19: Above app is reportedly once again available on Play Store. HOWEVER, those who recently purchased it have to do so AGAIN! Please consider this if you decide to purchase.
For those with better skills and a computer, using adb's 'pm uninstall -k --user 0 <package name>' is an option, too. You can use the 'disable lists' to facilitate this.
Find here an example by @Catmobile of how to use ADB shell https://forum.xda-developers.com/showpost.php?p=80054354&postcount=44
IMPORTANT: You won't really know the true effects of your disabling til you restart the tablet! On the other hand, it seems that undisabling (re-enabling?) takes effect immediately.
I did a web search and found an .xml file that had packages disabled on a Galaxy S10 or S8. Unfortunately I don't remember from where I got the file but this and other files are available in my shared pCloud folder https://bit.ly/2VXRoLt
Updated link 26aug21 http://u.pc.cd/5pqctalK
You'll find below files, among others, there:
disabledpackages-Package Disabler Pro+ DEFAULT ALL BLOATWARE-46ofthem.xml
>>The default packages using 'Disable all Bloatware' option in Package Disabler Pro+
disabledpackages-S8orS10-125ofthem.xml
>>The file I found. When I used this the tablet UI slowed to a crawl. From my previous experimentation I suspected that disabling the phone apps was the culprit. I was right, and am currently using my tablet without any discernable issues using the xml file below. Obviously, examine the file before using it to see if it fits your needs. For instance, I don't use Bixby, so I disabled it.
[EDIT] File deleted.
disabledpackages-WORKINGFINE-SOMEphoneStuffReEnabled-119ofthem.xml
>>The file I exported from Package Disabler Pro+ after reenabling some packages.
[EDIT] Replaced by disabledpackages133-OK.xml
Below are the packages I reenabled in order to get the tab back to 'normal'. I'll continue with experimentation to see which one(s) are causing the slow-down, and report back here.
Code:
00001 <importExportSetting>
00002 <disabledPackages class="java.util.ArrayList">
00003 <string>com.android.carrierconfig</string>
00004 <string>com.android.carrierdefaultapp</string>
00005 <string>com.android.cts.priv.ctsshim</string>
00006 <string>com.android.phone</string>
00007 <string>com.android.providers.telephony</string>
00008 <string>com.samsung.android.dialer</string>
00009 <string>com.samsung.android.providers.contacts</string>
00010 <string>com.sec.phone</string>
00011 </disabledPackages>
00012 </importExportSetting>
Few More Packages Disabled
Here are some more. Haven't really messed with the phone stuff yet, but this addition brings total disabled packages to 126.
Code:
+00024 <string>com.qualcomm.qti.qms.service.connectionsecurity</string>
+00025 <string>com.sec.android.easyMover.Agent</string>
+00076 <string>com.android.chrome</string>
+00101 <string>com.sec.android.soagent</string>
+00120 <string>com.samsung.android.app.camera.sticker.stamp.preload</string>
+00123 <string>com.samsung.systemui.hidenotch</string>
Figured Out What Caused Slow UI
With further testing I figured out that com.android.providers.telephony DIALER STORAGEis what was causing slowness. Who'd a thunk it?
This is probably my last post in this thread, and present below what I currently have disabled while maintaining, for me, full functionality. In my case 'full funtionality' means no Bixby, Knox, Phone stuff, Telemetry (as far as I can using this method), most Samsung bloat as well as a few other things. I'll continue experimenting, though.
My choices might not meet everyone's needs, but they work for me. Use the code below as a starting point, and, Happy Deloating!
Code:
<importExportSetting>
<disabledPackages class="java.util.ArrayList">
<string>android.autoinstalls.config.samsung</string>
<string>com.android.bookmarkprovider</string>
<string>com.android.calllogbackup</string>
<string>com.android.carrierconfig</string>
<string>com.android.carrierdefaultapp</string>
<string>com.android.chrome</string>
<string>com.android.cts.ctsshim</string>
<string>com.android.cts.priv.ctsshim</string>
<string>com.android.dreams.basic</string>
<string>com.android.dreams.phototable</string>
<string>com.android.hotwordenrollment.okgoogle</string>
<string>com.android.hotwordenrollment.xgoogle</string>
<string>com.android.managedprovisioning</string>
<string>com.android.phone</string>
<string>com.android.printspooler</string>
<string>com.android.providers.partnerbookmarks</string>
<string>com.android.server.telecom</string>
<string>com.android.sharedstoragebackup</string>
<string>com.android.simappdialog</string>
<string>com.android.stk</string>
<string>com.android.wallpaper.livepicker</string>
<string>com.android.wallpapercropper</string>
<string>com.audible.application</string>
<string>com.dsi.ant.plugins.antplus</string>
<string>com.dsi.ant.sample.acquirechannels</string>
<string>com.dsi.ant.server</string>
<string>com.dsi.ant.service.socket</string>
<string>com.google.android.apps.maps</string>
<string>com.google.android.apps.turbo</string>
<string>com.google.android.gm</string>
<string>com.google.android.googlequicksearchbox</string>
<string>com.google.android.setupwizard</string>
<string>com.google.android.syncadapters.calendar</string>
<string>com.google.android.syncadapters.contacts</string>
<string>com.google.android.tts</string>
<string>com.google.android.youtube</string>
<string>com.knox.vpn.proxyhandler</string>
<string>com.microsoft.skydrive</string>
<string>com.monotype.android.font.foundation</string>
<string>com.osp.app.signin</string>
<string>com.qualcomm.qti.qms.service.connectionsecurity</string>
<string>com.qualcomm.qti.qms.service.telemetry</string>
<string>com.samsung.aasaservice</string>
<string>com.samsung.advp.imssettings</string>
<string>com.samsung.android.aircommandmanager</string>
<string>com.samsung.android.allshare.service.fileshare</string>
<string>com.samsung.android.allshare.service.mediashare</string>
<string>com.samsung.android.app.camera.sticker.facear.preload</string>
<string>com.samsung.android.app.camera.sticker.stamp.preload</string>
<string>com.samsung.android.app.galaxyfinder</string>
<string>com.samsung.android.app.reminder</string>
<string>com.samsung.android.app.settings.bixby</string>
<string>com.samsung.android.app.social</string>
<string>com.samsung.android.app.spage</string>
<string>com.samsung.android.app.watchmanagerstub</string>
<string>com.samsung.android.authfw</string>
<string>com.samsung.android.bbc.bbcagent</string>
<string>com.samsung.android.beaconmanager</string>
<string>com.samsung.android.bio.face.service</string>
<string>com.samsung.android.bixby.service</string>
<string>com.samsung.android.calendar</string>
<string>com.samsung.android.clipboarduiservice</string>
<string>com.samsung.android.contacts</string>
<string>com.samsung.android.dialer</string>
<string>com.samsung.android.dqagent</string>
<string>com.samsung.android.easysetup</string>
<string>com.samsung.android.emojiupdater</string>
<string>com.samsung.android.fmm</string>
<string>com.samsung.android.game.gamehome</string>
<string>com.samsung.android.game.gametools</string>
<string>com.samsung.android.game.gos</string>
<string>com.samsung.android.homemode</string>
<string>com.samsung.android.incallui</string>
<string>com.samsung.android.keyguardwallpaperupdator</string>
<string>com.samsung.android.kidsinstaller</string>
<string>com.samsung.android.knox.analytics.uploader</string>
<string>com.samsung.android.knox.containeragent</string>
<string>com.samsung.android.knox.containercore</string>
<string>com.samsung.android.knox.containerdesktop</string>
<string>com.samsung.android.location</string>
<string>com.samsung.android.lool</string>
<string>com.samsung.android.mdecservice</string>
<string>com.samsung.android.mdm</string>
<string>com.samsung.android.messaging</string>
<string>com.samsung.android.mobileservice</string>
<string>com.samsung.android.net.wifi.wifiguider</string>
<string>com.samsung.android.provider.stickerprovider</string>
<string>com.samsung.android.samsungpass</string>
<string>com.samsung.android.scloud</string>
<string>com.samsung.android.securitylogagent</string>
<string>com.samsung.android.smartface</string>
<string>com.samsung.android.smartswitchassistant</string>
<string>com.samsung.android.stickercenter</string>
<string>com.samsung.android.tadownloader</string>
<string>com.samsung.android.video</string>
<string>com.samsung.android.visionintelligence</string>
<string>com.samsung.android.wellbeing</string>
<string>com.samsung.app.newtrim</string>
<string>com.samsung.clipboardsaveservice</string>
<string>com.samsung.cmh</string>
<string>com.samsung.ims.smk</string>
<string>com.samsung.knox.keychain</string>
<string>com.samsung.knox.securefolder</string>
<string>com.samsung.mlp</string>
<string>com.samsung.oh</string>
<string>com.samsung.safetyinformation</string>
<string>com.samsung.sec.android.application.csc</string>
<string>com.samsung.SMT</string>
<string>com.samsung.storyservice</string>
<string>com.samsung.systemui.bixby2</string>
<string>com.samsung.systemui.hidenotch.withoutcornerround</string>
<string>com.samsung.systemui.hidenotch</string>
<string>com.sec.android.app.billing</string>
<string>com.sec.android.app.chromecustomizations</string>
<string>com.sec.android.app.samsungapps</string>
<string>com.sec.android.app.SecSetupWizard</string>
<string>com.sec.android.daemonapp</string>
<string>com.sec.android.easyMover.Agent</string>
<string>com.sec.android.mimage.gear360editor</string>
<string>com.sec.android.mimage.photoretouching</string>
<string>com.sec.android.soagent</string>
<string>com.sec.android.splitsound</string>
<string>com.sec.android.uibcvirtualsoftkey</string>
<string>com.sec.android.widgetapp.samsungapps</string>
<string>com.sec.bcservice</string>
<string>com.sec.enterprise.knox.cloudmdm.smdms</string>
<string>com.sec.enterprise.mdm.services.simpin</string>
<string>com.sec.factory</string>
<string>com.sec.phone</string>
<string>com.sec.spp.push</string>
<string>com.wssyncmldm</string>
<string>flipboard.boxer.app</string>
</disabledPackages>
</importExportSetting>
Did all of this work result in anything positive? Less memory use? Snappier UI? Less dandruff?
yRdcMIbiR6 said:
Did all of this work result in anything positive? Less memory use? Snappier UI? Less dandruff?
Click to expand...
Click to collapse
Whiter teeth ? and better sleep ? Actually, for me it's all about not letting someone else dictate what my tablet does, and what information is 'shared' (stolen, is how I view it). For instance, this thing has a telemetry function. I don't care what kind of telemetry it is, I din't want it. Also, this thing is not a phone and I don't use it for phone-like activities, so I don't want it to try to act like a phone, with all the activity in the background. I could go on and on, but...
To answer your question, no noticeable increase in performance. I do, however, enjoy the benefits I mentioned in the first sentence—except for the 'whiter teeth' thing.
I will root this tablet and then have full control—lots and lots of deleting files and folders. I can hardly wait!
I just got this tablet today, my last one was a Galaxy Tab S 10.5 before switching to a Surface Pro.
I missed Android multitasking and the apps which I'm pleased to have back but what's not nice is the amount of clutter that still exists in Samsung's ROMs.
I hope we can get AOSP or Lineage ported to this as One UI sucks.
The hardware is beast though. I'm going to give that app you suggested a try. Thanks.
flyboyovyick said:
I'm going to give that app you suggested a try. Thanks.
Click to expand...
Click to collapse
I agree. This my my first large-screen tablet—8.4" before—and I love it! The app works quite well. It is what allowed me to experiment. When I root, even if I don't install a custom ROM—I have no problem with the OneUI, uh, UI—I'll know what to start with, uninstall-wise.
One thing I don't like is inability to use Substratum—at least for now. If you find a way to theme this tablet please let us know.
I did end up caving and buying that package disabler, used your latest script and re-enabled some apps.
Found that now the icons are missing from the notifications drop down which is fantastic! It was cluttered.
Couple of things to note:
Dolby Atmos has gone, I used this when watching Netflix as it did make a difference.
One UI Home app, also known as com.sec.android.app.launcher, when disabled will give you the stock Android multitasking which is fantastic! I use Evie launcher so I would RECOMMEND you have a different launcher installed before doing this.
I've done a quick search for the Atmos app but no luck so far, if you have any ideas?
Thanks!
flyboyovyick said:
I did end up caving and buying that package disabler, used your latest script and re-enabled some apps.
Found that now the icons are missing from the notifications drop down which is fantastic! It was cluttered.
Couple of things to note:
Dolby Atmos has gone, I used this when watching Netflix as it did make a difference.
One UI Home app, also known as com.sec.android.app.launcher, when disabled will give you the stock Android multitasking which is fantastic! I use Evie launcher so I would RECOMMEND you have a different launcher installed before doing this.
I've done a quick search for the Atmos app but no luck so far, if you have any ideas?
Thanks!
Click to expand...
Click to collapse
Good to hear someone is benefiting from this!
I hadn't done anything where the audio was of concern, so I didn't notice. I just installed a few games though, RealRacing 3 being one of them, so now I care! No ideas, so I'll have to do some researching.
Thanks for the OneUI info. I use Nova Prime and frequently try out other ones, 'hyperion' being the latest, even though it force closes on opening—it bugs me that I can't easily get a proper log. Love Evie for my phone.
BTW, the link at https://bit.ly/2VXRoLt has my disabledpackages133-OK.xml file, which has all the changes in one file.
[EDIT] Reenabled OneUI cuz I like the way recents are shown.
TiTiB said:
Good to hear someone is benefiting from this!
I hadn't done anything where the audio was of concern, so I didn't notice. I just installed a few games though, RealRacing 3 being one of them, so now I care! No ideas, so I'll have to do some researching.
Thanks for the OneUI info. I use Nova Prime and frequently try out other ones, 'hyperion' being the latest, even though it force closes on opening—it bugs me that I can't easily get a proper log. Love Evie for my phone.
Click to expand...
Click to collapse
Yes thank you for sharing it.
Atmos is missing from the notification quick toggles and in the Settings under Sound > Advanced Settings. Will have to look through the disabled apps. Have you since uninstalled the apps completely?
Just need to get that working now. Had an issue with Evie when rotating to portrait, it would leave half the screen white for some reason so now I have moved to Nova Launcher which works flawlessly.
My tablet does feel quicker now, I have all the animations turned off in Developer Options. Especially on boot it's not lagging, ready to go sooner. I've even got the 6GB/128GB version.
flyboyovyick said:
Yes thank you for sharing it.
Atmos is missing from the notification quick toggles and in the Settings under Sound > Advanced Settings. Will have to look through the disabled apps. Have you since uninstalled the apps completely?
Just need to get that working now. Had an issue with Evie when rotating to portrait, it would leave half the screen white for some reason so now I have moved to Nova Launcher which works flawlessly.
My tablet does feel quicker now, I have all the animations turned off in Developer Options. Especially on boot it's not lagging, ready to go sooner. I've even got the 6GB/128GB version.
Click to expand...
Click to collapse
Haven't uninstalled anything yet.
Just checked, and Atmos is there for me—able to change settings for it, too.
Here's something you could try—do a file compare between what you have disabled, and my '133-ok' list, which is still working fime for me. I've been using DiffTool the File Compare Tool from Play Store https://play.google.com/store/apps/details?id=com.difftool to compare what I had newly disabled with what I had previously disabled. The interface and usage is a bit clunky (the dev has stated something to the effect of "it's a tool, not a beauty pageant"). HINTS: Use the compare TEXT files, then save the results using the ? icon to be able to use a text editor to see the results.
Please let us know what you find.
[EDIT] I f you find a better way to compare files on Android I'd sure like to know about it.
@TiTiB
Thank you for this valuable contribution. For those looking for root, this is the better route. You'll free up CPU and RAM whilst removing applications deemed unnecessary.
Been a while since I've been able to have a look but I've managed to find it using DiffTool
The package is com.sec.android.app.soundalive, now in Settings > Sound > Advanced Sound Settings > Sound Quality and Effects. Then in there you have Atmos. It's now working again!
Thanks so much for all the info!
Am considering about getting a s5e but the demo unit in my local retailers are kinda sluggish. Not sure if that is because of the bloatware or the demo mode.
May I know if this way of disabling bloatware will void my warranty? How much snappier will the device become after the cpu and ram are being freed up?
Thanks!
monsthamo said:
Thanks so much for all the info!
Am considering about getting a s5e but the demo unit in my local retailers are kinda sluggish. Not sure if that is because of the bloatware or the demo mode.
May I know if this way of disabling bloatware will void my warranty? How much snappier will the device become after the cpu and ram are being freed up?
Thanks!
Click to expand...
Click to collapse
No issues with warranty. All you are doing is disabling/freezing apps—something that can be done via Android's normal Settings for a lot of apps. What you'll be able to do via these apps or adb is disable/freeze apps that you wouldn't normally be able to.
I'm not really sure if disabling/freezing has improved performance because this tablet's response to everything I've thrown at it is so brisk! Admittedly,I'm not a big-time gamer—e.g. no Fortnite. My guess is that the demo unit was not set up properly/at all and was also subject to a 'demo mode effect', if there is such a thing. ?
In a nutshell, I think this thing is plenty quick! am *extremely happy with it, and I would recommend it. I don't know what sort of return policy you might be dealing with, but once you get it home it ain't goin' nowhere.
Thanks very much for the info! Let me give a try~
Thanks for sharing, I can confirm that this made the tablet a lot more responsive
I couldn't find the app in the app store...is it still around?
808phoneaddict said:
I couldn't find the app in the app store...is it still around?
Click to expand...
Click to collapse
It's "Package Disabler Pro+ (Samsung)". Did a search and it came up first on the list. ?
TiTiB said:
It's "Package Disabler Pro+ (Samsung)". Did a search and it came up first on the list.
Click to expand...
Click to collapse
I cannot find any app called "package disabler pro+(Samsung)" ..... so, I think they deleted from playstore....

Categories

Resources