Trying to debloat - Samsung Galaxy S7 Questions and Answers

I was wondering if someone could shed some light on this. I've been playing with what's safe to debloat but I'm only just starting. I used titanium backup, after making a full nandroid backup, to remove some things I thought were basic safe bloat. Like hangouts, Facebook, gmail, ant + hal stuff.
But when I restart it, the flashlight doesn't work anymore, says it's already being used and the toggle is sort of greyed out. It seemed to be part of "smart things' which I didn't touch, to look in greenify that starts running when I turned on the torch after hibernating a bunch of things. This was true on both nougat and Oreo, the error happened on both after only some very basic debloat.
... So is debloat not possible? I used the same caution as my s5 neo currently on lollipop. The torch there works just fine with the ant hal stuff removed so I figured that was safe. This was the only true system app set I removed.
So.... What broke the flashlight? To go back to my backup it works again so not a hardware issue... I'm at a loss
Sent from my [device_name] using XDA-Developers Legacy app

Could you please specify exactly what apps you've removed?

Pawprints1986 said:
I was wondering if someone could shed some light on this. I've been playing with what's safe to debloat but I'm only just starting. I used titanium backup, after making a full nandroid backup, to remove some things I thought were basic safe bloat. Like hangouts, Facebook, gmail, ant + hal stuff.
But when I restart it, the flashlight doesn't work anymore, says it's already being used and the toggle is sort of greyed out. It seemed to be part of "smart things' which I didn't touch, to look in greenify that starts running when I turned on the torch after hibernating a bunch of things. This was true on both nougat and Oreo, the error happened on both after only some very basic debloat.
... So is debloat not possible? I used the same caution as my s5 neo currently on lollipop. The torch there works just fine with the ant hal stuff removed so I figured that was safe. This was the only true system app set I removed.
So.... What broke the flashlight? To go back to my backup it works again so not a hardware issue... I'm at a loss
Click to expand...
Click to collapse
You want to keep ant+ as that deals with low power Bluetooth devices, and you want to keep anything Hal related since that deals with Hardware Access Layer.

BurnedDrake said:
You want to keep ant+ as that deals with low power Bluetooth devices, and you want to keep anything Hal related since that deals with Hardware Access Layer.
Click to expand...
Click to collapse
The weird part is though, I can hibernate those things with greenify, and to turn on the flashlight with those hibernated, they don't come out from hibernation but the flashlight does work, the only thing actually that does come out of hibernation is"smart things" so I thought that was the thing to not remove... That's why I thought they were safe to kill off completely. On my s5 neo I did kill those off and nothing stopped working.... Hmm. Odd indeed.
Sent from my [device_name] using XDA-Developers Legacy app

Pawprints1986 said:
The weird part is though, I can hibernate those things with greenify, and to turn on the flashlight with those hibernated, they don't come out from hibernation but the flashlight does work, the only thing actually that does come out of hibernation is"smart things" so I thought that was the thing to not remove... That's why I thought they were safe to kill off completely. On my s5 neo I did kill those off and nothing stopped working.... Hmm. Odd indeed.
Click to expand...
Click to collapse
I may be incorrect about hal being the actual cause of flashlight not working I was really only using that as an example, but freezing things makes the system see it as not existing and greenifying things just hibernates them,but still allows for apps/system to call them when needed. The safest bet for debloating is just removing apps that you know a hundred percent what they are and leave the rest for greenify if need be. I've also seen a lot of people get overzealous with greenify, Android does a great job of managing memory when it needs to. For example you don't want to greenify everything when those things get woken up all the time for things like phone calls text messages and whatnot, it is detrimental to battery life.

Related

[Q] Greenify "Keep notidfications" feature not working as expected

Has anybody tried the xposed framework? Phone is rooted and I want to use the "keep notifications" feature which requires xposed. I have read the xposed threads and it seems like its very unstable n had loads of bugs and can also almost brick the phone. Has any body tried greenify with xposed? Has anybody installed xposed successfully on moto g?Are there any problems on moto g due to xposed?
Thanks guys for the help. I did install and activate it and rebooted. I activated the greenify module and rebooted again. Then I turned on the "keep notiifcations" feature in greenify and rebooted yet again. Now another problem quietly bombarded upon my face. I am simply not getting any notification for the hibernated apps. For example, let's take the Facebook's messenger app. It is hibernated. I asked my friend to send me a message just to see if I got any notification. I simply didn't. Any solutions to this?
Noo... nothing like that u cn use....i m using it...also have more modules too..nvr had any problm.
Sent from my XT1033 using XDA Free mobile app
nilanko said:
Has anybody tried the xposed framework? Phone is rooted and I want to use the "keep notifications" feature which requires xposed. I have read the xposed threads and it seems like its very unstable n had loads of bugs and can also almost brick the phone. Has any body tried greenify with xposed? Has anybody installed xposed successfully on moto g?Are there any problems on moto g due to xposed?
Click to expand...
Click to collapse
Xposed gets unstable if you use lots of modules and especially some exotic ones.Otherwise you wont even notice that it's there.
I concur. Used Xposed with the GravityBox and BootManager modules for several months on my previous phone and never had any problem. I guess you could get bugs if you activate different modules that perform the same modifications, though. They might conflict with one another, I guess.
Thanks guys for the help. I did install and activate it and rebooted. I activated the greenify module and rebooted again. Then I turned on the "keep notiifcations" feature in greenify and rebooted yet again. Now another problem quietly bombarded upon my face. I am simply not getting any notification for the hibernated apps. For example, let's take the Facebook's messenger app. It is hibernated. I asked my friend to send me a message just to see if I got any notification. I simply didn't. Any solutions to this?
Yes : uninstall Greenify
I never noticed any real difference in battery life.
I am seriously considering giving up on greenify for a while and see if it goes well, maybe back to use ART in this case for uninstalling xposed. I feel the battery impact is not that huge at all.
SbM_ said:
Yes : uninstall Greenify
I never noticed any real difference in battery life.
Click to expand...
Click to collapse
rogeriorp said:
I am seriously considering giving up on greenify for a while and see if it goes well, maybe back to use ART in this case for uninstalling xposed. I feel the battery impact is not that huge at all.
Click to expand...
Click to collapse
Guys, I don't use Greenify for saving battery, I use it for getting some free RAM. These apps like Whatsapp, Facebook, Messenger, etc always keep running in the background and hog memory and impact game performance. Also, when these apps receive messages and a notification comes up, the running game lags for some seconds badly. One solution is turning the wifi off. But still, these apps do try to connect when running in the background and thus they do have some sort of activity going on. Also, they eat RAM and depriving the game of memory and thus slowing it down.
nilanko said:
Guys, I don't use Greenify for saving battery, I use it for getting some free RAM. These apps like Whatsapp, Facebook, Messenger, etc always keep running in the background and hog memory and impact game performance. Also, when these apps receive messages and a notification comes up, the running game lags for some seconds badly. One solution is turning the wifi off. But still, these apps do try to connect when running in the background and thus they do have some sort of activity going on. Also, they eat RAM and depriving the game of memory and thus slowing it down.
Click to expand...
Click to collapse
In that case simply enable "GCM Push notifications" on experimental features, all the pushes that come within GCM will work properly - well, quite properly since it lags the notifications a bit on my end.
nilanko said:
Guys, I don't use Greenify for saving battery, I use it for getting some free RAM. These apps like Whatsapp, Facebook, Messenger, etc always keep running in the background and hog memory and impact game performance. Also, when these apps receive messages and a notification comes up, the running game lags for some seconds badly. One solution is turning the wifi off. But still, these apps do try to connect when running in the background and thus they do have some sort of activity going on. Also, they eat RAM and depriving the game of memory and thus slowing it down.
Click to expand...
Click to collapse
Oh OK. I don't play on my phone so wasn't aware of this, sorry.
rogeriorp said:
In that case simply enable "GCM Push notifications" on experimental features, all the pushes that come within GCM will work properly - well, quite properly since it lags the notifications a bit on my end.
Click to expand...
Click to collapse
That solved my problem. Thanks.

Z5 issues after rooting/installing Xposed

I'm currently with the latest version. I rooted my Z5 about a month after buying it and some weeks later I installed Xposed on it. Since then I have experienced these problems:
- On the YouTube app I can't watch any videos after watching a certain quantity of them (I haven't done the experiments to know what that quantity is). The only solution is to restart the phone.
- Similar to the previous problem, the fingerprint scanner stops working after some uses. Or maybe it's after a certain time, since once I experimented using it continuously until it stopped working but I stopped at about 30 uses because it was still working. It says the hardware isn't working, or something like that. Again, the solution is to restart the phone.
- The last (maybe) problem is probably related to Xposed or root. When going to the settings and trying to see the apps section, it takes tooo long to load. I do have a big amount of apps, but I feel like it's just to much. The worst part is that when I directly go to an app's settings (without going through the phone's settings and all) it is very slow, like it was loading all apps again
So, do any of these problems have solutions? Or does it only happen to me?
Oh, and I need to address this:
Is there a way to hide the headphone notification? I hate it and hate the fact that Sony put it there just because yes and with no option to disable it.
Nayibmc said:
Is there a way to hide the headphone notification? I hate it and hate the fact that Sony put it there just because yes and with no option to disable it.
Click to expand...
Click to collapse
You can do it with the xosed module GravityBox.

How to prevent from stopping background processes

Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
jorgemackay said:
Hello, (sorry for my english ) I have a Samsung Galaxy S8 plus SM-G9550 and I would like to know how I can prevent the system from stopping important processes running in the background, since the widgets can not be used without manually activating the app to which the widget belongs. Don´t Synchronize the weather widgets for example, also applications widgets to record or play audio, only work a few minutes after application was manually opened and then stop working, also close streaming applications running in the background as "radiocut" . I already tried everything, even removing the apps from the energy saving settings, I put those applications in the list of apps without supervision of the power monitor and still do not work, only work for a few minutes and then the system stops the process, Could you help me solve this problem?
Thank you very much
Click to expand...
Click to collapse
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
dhorgas said:
You can't really stop the S8 from killing processes. It has very bad memory management and constantly kills processes and running apps. It's very annoying.
Click to expand...
Click to collapse
Like Emby, when you're in the middle of casting
disturbd1 said:
Like Emby, when you're in the middle of casting
Click to expand...
Click to collapse
I don't know is what that means.
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
ShrekOpher said:
In device manager under battery there is the ability to add apps to the whitelist so the device manager won't stop them.
Click to expand...
Click to collapse
This doesn't work. The issue is with memory management on the device. It's pretty well documented in a few places on XDA already and is by no means a new problem for Samsung. It has gotten a lot worse since Samsung started moving to Nougat though.
Can you give a reproducible scenario?
The original post already mentioned that he already removed the apps at battery optimization.
Sent from my SM-G955F using Tapatalk
lopri said:
Can you give a reproducible scenario?
Click to expand...
Click to collapse
Open 6-8 apps, in my case phone, messages, email, browser with 10 tabs, BBM, calendar, Nine Email, and Slack and watch the phone shut down apps on its own even if they are removed from all optimization features. It sometimes takes a few hours, other times it's quicker, but sooner or later the phone just shuts down apps on its own. Most of the time it kills the phone app and messages first. Then all the browser tabs go into refresh mode.
dolbylogic said:
I think you have to turn off the app from Battery Optimization. Try Settings; Apps; touch the three DOT menu on the right corner, select Special access; Optimize battery usage; on the top left select "All apps" by default it shows "Apps not optimized" and Turn off Battery Optimization from the app you want to keep running... Let see if it works...
Click to expand...
Click to collapse
Nobody else responded to this, but it seems to work for me.
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
adattabd said:
I am a j7 pro user, android 7. I have tried all the oprions mentioned here but those are of no use. problem is getting worse day by day. desperately need a solution.
Click to expand...
Click to collapse
I suggest the J7 forum section then, this post hadn't been touched for a year.
iworkout said:
Nobody else responded to this, but it seems to work for me.
Click to expand...
Click to collapse
It worked for me too.
I had an Galaxy S6 and used to sync FolderSync with an FTP account.
After migrating to Galaxy S8+ FolderSync doesn't work anymore.
It does sync once while the app is opened and after that it stops syncing, no matter if it is closed not.
Removing Battery management for FolderSync app makes syncing to stay running in background even with all apps closed.
Thanks!

Push Notification Problem

Hi guys,
Today i switched from OP7t to OP8t but i have a problem with push notifications in email apps (yahoo, web, gmail).
The notifications are comming only after opening the app...
What i did until now:
- Deactivate battery optimization
- Deactivate deep sleep in battery settings
Does anyone have the same problems or some tips for me?
Thx a lot
It's an OxygenOS issue I believe, I've seen reports/complaints about this since the 6T. Unfortunately, I am not aware of any fixes for this. You can also try disabling battery optimization per app, but I tried that on my 7 Pro and it did not help. I even reinstall Gmail as root app, did not help.
I'm not trying to be sour here. I have two workarounds that I use(d):
- MacroDroid, and you set up a macro to turn on display every 30 minute (you can also add actions to sync certain apps.)
- Just keep phone on charger whenever you want notifications. Sucks because its bad for battery, but its what it is.
Find the solution (for me) by myself!
I switched from 7t to 8t with OneplusSwitch App... And it seems, that this was the problem, why the apps which were switched didnt give push notifications...
OPSwitched is really good and very fast for transfering all files... But after deleting the apps and install and set up them fresh, the notification are working!
I can understand having a backup for emergency purposes...but something I learned many, many phones ago is to NEVER allow ANY app to come back when moving to a new phone! I always reinstall all my apps from scratch! Maybe this is why I have far fewer problems than others do when moving to a new phone??? YMMV
Yes, thats right, now i would make it so too.
But as i said, in the past it always worked fine without problems and OPSwitch is a very fast way...
Something learned again

Question Permissions Issues

I like to stop background data and set battery use to restricted for most of my apps.
I spent about 10 minutes yesterday going through every app and turning off background data and setting the battery use to restricted, but after a reboot, everything is back to default, including apps I've previously enabled to install other apps (Google chrome, mixplorer, sai, etc)
Any ideas?
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
synesthete said:
Here is something that I do to achieve a similar result. I use the app Ice Box to freeze many of my apps that I want to restrict. This temporarily disables them, but keeps their data. This cuts down on battery usage, background CPU/RAM usage, and notifications. Whenever you want to use one of those apps, you can just tap the icebox icon and it will show a panel of all of you frozen apps and you can just tap an app to open it. It does offer the ability to put shortcuts of the frozen apps in your launcher to make it easier to access them.
If you are rooted it is simple to set up. If you are not rooted, you can still use it with ADB permissions (works well with Shuzuku too), but you need to reissue the adb command anytime your phone it rebooted. Shizuku makes this step a bit easier.
Click to expand...
Click to collapse
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Psychlone said:
Thanks @synesthete, but my use is different. I've used SDMaid and other apps to freeze apps for years, but that's not what I'm after.
For instance, I don't think Google Chrome needs to have background data when I'm not actively using it. I also think that there's no need for it to have "optimized" battery setting if I only want it running when I want to use it. There are a lot of apps that fall into this category that I'd like to be in control of.
So in short, I want to disable background data and set it's battery use to "restricted", which works right up until I restart my phone.
I hope this isn't some new "intended behavior", that'll suck.
Battery life is part of my concern - apps that are on the "restricted" list don't use as much battery, and I couldn't care less if I get notifications from most of them, but I still want to use them.
Background data is more privacy-concern. I don't think most of my apps need to call home and tell them what I've done in their app since last time it called home. My invoicing program for instance. I need that info synced, but when *I* choose for it to sync, not 14 times in the middle of the night when I'm not using the phone.
Click to expand...
Click to collapse
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
synesthete said:
Yeah I understand your reasoning and I agree that many apps like that do not need background data or to even run run in the background. I suppose some people use web-apps/PWAs and push notifications in their browsers, but it seems that background data should be an opt-in setting for many apps.
It is very strange that those settings are resetting after reboot. I just tested it out with Chrome and Chrome Beta and the restricted setting survived a reboot.
Click to expand...
Click to collapse
Damn, ok, at least I know there's something wrong with specifically MY setup.
Hopefully someone will chime in with a reason and a fix.
Thank you for checking it out on yours and giving me input!!
I hate to double-post, but it's been a couple days and I was hoping that someone with experience in what my issues is would chime in.
tl;dr the initial post:
I set specific apps to restrict background data and set the battery use to restricted.
After a phone restart, the settings are back to default, including any 'disable over' and other permissions. My changes do not persist after a reboot.

Categories

Resources