System/vendor/bin/perfd - Nexus 6P General

What is this? Why deleting it phone feels way faster opening apps?

fedef12evo said:
What is this? Why deleting it phone feels way faster opening apps?
Click to expand...
Click to collapse
You really shouldn't delete that.
That is the process responsible for collecting system statistics, like battery, app usage, etc.
Perfd Manual - "perfd is a system performance daemon that provides real-time access to system performance metrics, locally or remotely."

Related

[Q] Checking RAM situation

Considering the way that Android deals with RAM, how can I check if I really have enough of it?
The programs which show logs, that I see, only show them when the app is in the foreground So, I only see Garbage Collection pause times, when I have the logging app in the foreground.
dzr said:
Considering the way that Android deals with RAM, how can I check if I really have enough of it?
The programs which show logs, that I see, only show them when the app is in the foreground So, I only see Garbage Collection pause times, when I have the logging app in the foreground.
Click to expand...
Click to collapse
System Monitor Lite has background logging, if that's what you're looking for.
If you go to the Apps setting you can see the RAM usage for Running and Cached.
Re System Monitor, I meant system logs, to see garbage collection. I don't see that in that tool. Thanks.
Re cache, thanks for pointing that out.

Battery setting - Launch - manage all automatically

Hi All
I'm trying to get my head around what Huawei have done with the "Launch" functionality. My naive understanding is that it's huawei's own attempt at greenify. Killing apps that are not being used... somewhat intelligently.
I'm wondering if this actually has any impact on battery at all, it certainly stops processes from launching and running.. notifications being missed etc.
Anyone have any ideas what this is actually doing, or if the setting is actually beneficial? I thought google was against this sort of practice when doze is their solution.
Secondly, the following apps are allowed to ignore battery optimisation out of the box:
Backup
Camera
com.huawei.hiviewtunnel
Email
Google Play Services
Google Services Framework
Health
HwLBSService
Screen recording
System update
Any one know if it is advisable to set these to don't allow ignoring of battery optimisations?
Thanks
alexs1mmo said:
Hi All
I'm trying to get my head around what Huawei have done with the "Launch" functionality. My naive understanding is that it's huawei's own attempt at greenify. Killing apps that are not being used... somewhat intelligently.
I'm wondering if this actually has any impact on battery at all, it certainly stops processes from launching and running.. notifications being missed etc.
Anyone have any ideas what this is actually doing, or if the setting is actually beneficial? I thought google was against this sort of practice when doze is their solution.
Secondly, the following apps are allowed to ignore battery optimisation out of the box:
Backup
Camera
com.huawei.hiviewtunnel
Email
Google Play Services
Google Services Framework
Health
HwLBSService
Screen recording
System update
Any one know if it is advisable to set these to don't allow ignoring of battery optimisations?
Thanks
Click to expand...
Click to collapse
Allow none of them. Cause no harm
lawtq said:
Allow none of them. Cause no harm
Click to expand...
Click to collapse
I'm wondering the same thing.
Are you sure that we can allow none of them app ?
I'm not allowing any apps that need to stay running (in the background) like Garmin Connect, Ad blocker, virus scanner and some more to avoid Huawei killing them. I see no difference in battery consumption.
sonydesouza said:
I'm wondering the same thing.
Are you sure that we can allow none of them app ?
Click to expand...
Click to collapse
I've disallowed all of them. I don't see any problems
lawtq said:
I've disallowed all of them. I don't see any problems
Click to expand...
Click to collapse
And did you see any improvments ?
sonydesouza said:
And did you see any improvments ?
Click to expand...
Click to collapse
Tbh no. Lol. Battery is great no matter what. But no harm either

Debloat, save battery and data and improve privacy while we wait for a custom Rom

Hi all, ok so ive done some reading on how to debloat this phone in order to improve the battery life, limit tracking and save data by removing the unneccesary software that runs in the background while we wait for a custom rom to be developed.
Have a look at the following:
Universal Android Debloater
XiaomiADBFastbootTools
Also have a look at F-Droid (and install Aurora Droid) and the Aurora Store if you care about your privacy and the tracking that comes with Playstore apps.
Netguard is also excellent in limiting internet connection to apps you decide (even system apps) in order to save data and to protect your privacy.
If ive missed anything please feel free to post here so all of us can help one another.
Thanks
How I remove system apps without root
Did you try Android GSI (see Phh-usson-GSI)? This is more AOSP ROM type of GSI
>How I remove system apps without root
With xiaomi adbfastboot tools. Working flawlessly
Surendra R sonawane said:
How I remove system apps without root
Click to expand...
Click to collapse
Using ADB. Google
janni0077 said:
Hi all, ok so ive done some reading on how to debloat this phone in order to improve the battery life, limit tracking and save data by removing the unneccesary software that runs in the background while we wait for a custom rom to be developed.
Have a look at the following:
Universal Android Debloater
XiaomiADBFastbootTools
Also have a look at F-Droid (and install Aurora Droid) and the Aurora Store if you care about your privacy and the tracking that comes with Playstore apps.
Netguard is also excellent in limiting internet connection to apps you decide (even system apps) in order to save data and to protect your privacy.
If ive missed anything please feel free to post here so all of us can help one another.
Thanks
Click to expand...
Click to collapse
What are the bloatwares you have removed so far? Did anything malfunction after that?
Which bloatware apps are necessary and should not be deleted?
after a mild debloating - the recorded videos don't play.
otherwise I have a feeling every phone has 90% unneeded garbage

Android system battery drain

Hi admins
Why android system takes 52% of my battery? Is this normal?
Device: Samsung A10s running android 10 2/32
Thank you.
It's NOT Android OS itself that consumes this amount of battery charge.
My guess is that Android OS only takes ~10%.
The programs / services which run on top of Android OS are using device's CPU what is draining device's battery.
To get an idea what is actually running on your phone you use ADB and run the following commands
Code:
adb devices
adb shell top
or install & run BetterBatteryStats APK that allows users to monitor how the battery is being used by the operating system and apps.
go to the battery options and enable "adaptive power saving"
some of it surely is samsungs bloatware
you can remove them without root using adb commands
search for the apps that are most consuming
also enable developer options, and limit the background process to 2
jwoegerbauer said:
It's NOT Android OS itself that consumes this amount of battery charge.
My guess is that Android OS only takes ~10%.
The programs / services which run on top of Android OS are using device's CPU what is draining device's battery.
To get an idea what is actually running on your phone you use ADB and run the following commands
Code:
adb devices
adb shell top
or install & run BetterBatteryStats APK that allows users to monitor how the battery is being used by the operating system and apps.
Click to expand...
Click to collapse
How about adb codes to reduce battery drain or some diy tricks cuz i already ysed greenify and still the same, any helps will be appreciated thank you sir❤
ZodiacFam said:
How about adb codes to reduce battery drain or some diy tricks cuz i already ysed greenify and still the same, any helps will be appreciated thank you sir❤
Click to expand...
Click to collapse
greenify faitly useless...
battery drain also depends a lot on the device, some processors are more power hungry (even in idle) then others,
but some things help:
use 50% or less brightness, limit backgroud apps to 1 or 2 maximum, enable the adaptive battery mode
put all less frequent apps into sleep mode
debloat your device - and not only crap apps, use as little aps as you can
search for battery draining apps on your device that can be disabled or removed, for example the samsung "AASAservice"
and snapchat, tinder and other dating apps, any news app, facebook, streaming apps, microsoft apps etc. Use the website instead of the app whenever possible (this also fights telemetry)
widgets help draining battery, avoid using them as much as you can
disable bluetooth when you dont need it
and avoid getting your mobile phone hot - like leaving it on a cars dashboard, a place with direct sunlight, high temperature stresses the device, and drains more battery
cheers
Turn off all power management except screen/ power mode, set to optimize.
Android can manage it's self fine.
Clear Google Play Services clear its data as needed.
It can be disabled with a package blocker but is needed for gmail, Playstore; enable as needed.
Disable Google Backup Transport and Framework, clear their data as needed.
Disable all cloud stuff, carrier, Samsung, Google feedback.
Karma Firewall can be used to block the above system apks and reduce battery usage.
agonoize said:
some of it surely is samsungs bloatware
you can remove them without root using adb commands
Click to expand...
Click to collapse
This statement is wrong: On non-rooted devices you by means of ADB can only hide apps to user, but not remove them, hence they still last on storage memory.
WhatsApp is half the problem...
jwoegerbauer said:
This statement is wrong: On non-rooted devices you by means of ADB can only hide apps to user, but not remove them, hence they still last on storage memory.
Click to expand...
Click to collapse
i currently have a samsung A01, and my mobile is not rooted, yet i removed all apps i do not want, including system apps, all google apps aside from playstore, i do not recall the exact numbers but i did get more space afterwards
if i try the command to enable them it fails telling me the app does not exist, if i look trough adb shell pm list packages the ones i 'uninstalled' are not listed, the apps are really gone
so maybe it depends on the brand and model? on some it can be done, on others not?
although i tought it could be done on all of them
agonoize said:
i currently have a samsung A01, and my mobile is not rooted, yet i removed all apps i do not want, including system apps, all google apps aside from playstore, i do not recall the exact numbers but i did get more space afterwards
if i try the command to enable them it fails telling me the app does not exist, if i look trough adb shell pm list packages the ones i 'uninstalled' are not listed, the apps are really gone
so maybe it depends on the brand and model? on some it can be done, on others not?
although i tought it could be done on all of them
Click to expand...
Click to collapse
Code:
adb uninstall
internally runs
Code:
pm uninstall
So
Code:
adb uninstall --user 0 com.android.service
internally runs
Code:
pm uninstall --user 0 com.android.service
Bloatware housed in /system/priv-app obviously can get tracelessly removed, but surely not all that what is located in /system because essential apps in /system have FLAG_SYSTEM set. I'm pretty sure those apps can't get removed without root rights. But as always: I may err.
jwoegerbauer said:
Bloatware housed in /system/priv-app obviously can get tracelessly removed, but surely not all that what is located in /system because essential apps in /system have FLAG_SYSTEM set. I'm pretty sure those apps can't get removed without root rights. But as always: I may err.
Click to expand...
Click to collapse
well now i am really curious about this, is there some adb command to check? or an app? to verify if they are really gone?
i know for sure the unbloated uses 0.3 less ram and about 2gb less storage space
thanks
jwoegerbauer said:
Bloatware housed in /system/priv-app obviously can get tracelessly removed, but surely not all that what is located in /system because essential apps in /system have FLAG_SYSTEM set. I'm pretty sure those apps can't get removed without root rights. But as always: I may err.
Click to expand...
Click to collapse
well now i am really curious about this, is there some adb command to check? or an app? to verify if they are really gone?
i know for sure the unbloated uses 0.3 less ram and about 2gb less storage space
thanks
You use Android's package manager (pm) tool to perform actions and queries on app packages installed on the device.
Synthax:
Code:
adb shell "pm list packages [options] filter"
agonoize said:
well now i am really curious about this, is there some adb command to check? or an app? to verify if they are really gone?
Click to expand...
Click to collapse
Nothing will go away really. Root access is needed if making changes into the system. They are just hiding from the current user.
agonoize said:
greenify faitly useless...
battery drain also depends a lot on the device, some processors are more power hungry (even in idle) then others,
but some things help:
use 50% or less brightness, limit backgroud apps to 1 or 2 maximum, enable the adaptive battery mode
put all less frequent apps into sleep mode
debloat your device - and not only crap apps, use as little aps as you can
search for battery draining apps on your device that can be disabled or removed, for example the samsung "AASAservice"
and snapchat, tinder and other dating apps, any news app, facebook, streaming apps, microsoft apps etc. Use the website instead of the app whenever possible (this also fights telemetry)
widgets help draining battery, avoid using them as much as you can
disable bluetooth when you dont need it
and avoid getting your mobile phone hot - like leaving it on a cars dashboard, a place with direct sunlight, high temperature stresses the device, and drains more battery
cheers
Click to expand...
Click to collapse
Oh when you say "limit background apps to 1 or 2" what does it means and how would i do it?
ZodiacFam said:
Oh when you say "limit background apps to 1 or 2" what does it means and how would i do it?
Click to expand...
Click to collapse
You can do that in Developer Options. Or simple close apps out when done with them.
Some apps may refuse to do so and run in the background instead, connecting with the internet a few times a minute. Brave browser does this sometimes and force stopping it is the only thing that works. Swell.
blackhawk said:
Turn off all power management except screen/ power mode, set to optimize.
Android can manage it's self fine.
Clear Google Play Services clear its data as needed.
It can be disabled with a package blocker but is needed for gmail, Playstore; enable as needed.
Disable Google Backup Transport and Framework, clear their data as needed.
Disable all cloud stuff, carrier, Samsung, Google feedback.
Karma Firewall can be used to block the above system apks and reduce battery usage.
Click to expand...
Click to collapse
By carrier you mean carrier services? What is its function?

Battery information missing on my S7+ (I think I removed it with adb)

I've been removing bloatware that I see using `adb shell pm uninstall -k --user 0 com.the.app`. I think I may have removed "the wrong thing" because now I don't see the Battery setting in the settings list. I also don't see battery saver in the notification menu. There was a useful battery statistics page that showed what apps are using what percentage of the battery. I'd like to get that back.
Can anyone confirm what the package is that provides this functionality? I'll look at how to restore it (since I used the -k option I should be able to get it back).
Thank you.
There are dependencies. Can't recall all for that.
Maybe:
com.sec.android.sdhms
com.google.android.apps.turbo
You really need to know what you're uninstalling before you do it.
It's easier to use a Package Disabler if you want to experiment. It's possible to boot loop the device though if you go too nuts. Some of the "bloatware" just sits there using no resources until you need it and is in fact operationally useful.
blackhawk said:
There are dependencies. Can't recall all for that.
Maybe:
com.sec.android.sdhms
com.google.android.apps.turbo
You really need to know what you're uninstalling before you do it.
It's easier to use a Package Disabler if you want to experiment. It's possible to boot loop the device though if you go too nuts. Some of the "bloatware" just sits there using no resources until you need it and is in fact operationally useful.
Click to expand...
Click to collapse
It's been difficult to find a guide that specifically lists the operationally useful ones to keep. I can only judge them by name and remove based on that. I try to be conservative. But lack of reliable guidance is frustrating.
Googling leads to a ton of different lists of "bloatware", all of them completely wrong. So there's no way for me to know what to trust. I think it would be fantastic if you could provide a list.
I did `cmd package install-existing PACKAGE_NAME` for each of the 2 packages you listed, and it didn't install anything, I think. `pm list` doesn't show them after I run the commands.
Here is something that should be a little more helpful. I generated two lists:
pm list packages -u
pm list packages
I diffed the two and here are the packages that were in the first list but not the second (should represent packages I uninstalled via `adb shell pm uninstall`:
Code:
package:com.samsung.android.fmm
package:com.samsung.android.service.livedrawing
package:com.samsung.android.visionintelligence
package:com.samsung.android.app.clockpack
package:com.samsung.android.app.reminder
package:com.samsung.android.bixbyvision.framework
package:com.samsung.android.app.galaxyfinder
package:com.sec.android.app.samsungapps
package:com.samsung.android.app.notes.addons
package:com.samsung.android.forest
package:com.samsung.android.lool
package:com.samsung.android.app.contacts
package:com.samsung.android.game.gametools
package:com.sec.android.app.myfiles
package:com.samsung.android.bixby.agent.dummy
package:com.samsung.android.app.watchmanagerstub
package:com.sec.android.gallery3d
package:com.sec.android.app.clockpackage
package:com.samsung.android.messaging
package:com.samsung.systemui.bixby2
package:com.samsung.android.authfw
package:com.sec.android.daemonapp
package:com.samsung.android.scloud
package:com.samsung.android.app.dressroom
package:com.samsung.android.beaconmanager
package:com.samsung.android.aremoji
package:com.samsung.android.app.routines
package:com.samsung.storyservice
package:com.samsung.android.bixby.service
package:com.sec.android.mimage.avatarstickers
package:com.samsung.android.arzone
package:com.samsung.android.allshare.service.mediashare
package:com.samsung.android.samsungpassautofill
package:com.samsung.android.ardrawing
package:com.samsung.android.allshare.service.fileshare
package:com.samsung.android.bixby.wakeup
package:com.samsung.android.game.gamehome
package:com.samsung.android.samsungpass
package:com.samsung.android.bixby.agent
package:com.samsung.safetyinformation
package:com.samsung.android.video
package:com.samsung.android.sdk.handwriting
package:com.samsung.android.app.spage
package:com.samsung.android.svoiceime
package:com.samsung.android.calendar
package:com.samsung.app.highlightplayer
package:com.samsung.android.homemode
package:com.samsung.android.app.settings.bixby
package:com.sec.android.easyMover.Agent
If there's anything in here that should be restored (especially if they are related to this battery app issue), please let me know. Thanks again.
Nothing that stands out.
The names can be quit different from their actual function. Worse there can be seemingly unrelated dependencies that will fail if it's needed associated apk is disabled.
Many times the trail/error method is needed to figure out what all a apk or service does.
It takes some time. Each device and user needs are different so each device needs to be customized by the user to work right. One list does not fit all.
I have about 86 packages disabled, about 6 are available immediately by using a PD's interactive widget on/off toggle.
Google play Services and Playstore are normally disabled except when because they're such troublemakers.
Google backup Transport, Framework, Firebase are always disabled.
I also use Karma Firewall to lock down a bunch of apks/services.
My stock N10+/Pie gets 7-11%@hr SOT now. At night using tap on AOD with phone, texting and internet enabled it uses >.5% battery per hour.
Current OS load is over a year old, still fast and very stable with little maintenance needed.
Took over a year for me to fully optimize it.
It's a learning process, but well worth it.
Could you provide some information on how you disable the items in your list? For example I google for disabling Firebase but nothing comes up.
I'm looking at adb logcat to see if something jumps out at me but so far most of it seems useless.
Google Firebase is under Settings, Google account. It collects all kinds of your usage data ie music, playlists, vids etc on your dime, allegedly for faster indexing.
This Disabler works:
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com
blackhawk said:
Google Firebase is under Settings, Google account. It collects all kinds of your usage data ie music, playlists, vids etc on your dime, allegedly for faster indexing.
This Disabler works:
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com
Click to expand...
Click to collapse
Thank you! How reliable is the disable bloat feature in the dashboard for Package Disabler?
Android.Addiction said:
Thank you! How reliable is the disable bloat feature in the dashboard for Package Disabler?
Click to expand...
Click to collapse
What do you mean exactly?
It disables most.
I tried generating a current list but I'm having problems similar to yours
I need to play with it a bit.
Ok I made some progress on this issue. The app that I removed that caused this is:
Code:
com.samsung.android.lool
This is listed in this repo: https://github.com/khlam/debloat-samsung-android
The repository has this to say about the "Device Care" app:
The Device Care app will be disabled and will not appear in settings. This includes Samsung's app sleeper and battery monitor. There is evidence the Device Care app created by the Chinese company Qihoo 360 sends data to China domains over HTTP.
Click to expand...
Click to collapse
Is there any other app I can use to analyze battery usage of applications on my tablet?
Android.Addiction said:
Ok I made some progress on this issue. The app that I removed that caused this is:
Code:
com.samsung.android.lool
This is listed in this repo: https://github.com/khlam/debloat-samsung-android
The repository has this to say about the "Device Care" app:
Is there any other app I can use to analyze battery usage of applications on my tablet?
Click to expand...
Click to collapse
Device Care is a useful app. I use the original factory load version that came with my 10+.
It uses the suspected CCP spyware 360° cleaning app, which actually does a very good job. I simply firewall block it's untrustworthy a$$
Latter Device Care versions aren't as useful but still have needed settings toggles. After you set them you can disable it. I recommend you not use battery optimization or and of those toggles, only toggle on fast charging. This app doesn't use a lot of power as best I can tell as long as the battery optimizing toggles aren't enabled.
blackhawk said:
Device Care is a useful app. I use the original factory load version that came with my 10+.
It uses the suspected CCP spyware 360° cleaning app, which actually does a very good job. I simply firewall block it's untrustworthy a$$
Latter Device Care versions aren't as useful but still have needed settings toggles. After you set them you can disable it. I recommend you not use battery optimization or and of those toggles, only toggle on fast charging. This app doesn't use a lot of power as best I can tell as long as the battery optimizing toggles aren't enabled.
Click to expand...
Click to collapse
I instead went with a separate app, AccuBattery, to monitor app battery usage. That way I'm not relying on potential malware from Samsung
Android.Addiction said:
I instead went with a separate app, AccuBattery, to monitor app battery usage. That way I'm not relying on potential malware from Samsung
Click to expand...
Click to collapse
Accubattery can't do what Device Care does.
I use Accubattery too.
The newer versions dropped 360° so it's gone.
360° deep cleaning actually works very well and is probably no threat when firewall blocked. Which is why I still run the factory load version.
blackhawk said:
Accubattery can't do what Device Care does.
I use Accubattery too.
The newer versions dropped 360° so it's gone.
360° deep cleaning actually works very well and is probably no threat when firewall blocked. Which is why I still run the factory load version.
Click to expand...
Click to collapse
What is 360?
Android.Addiction said:
What is 360?
Click to expand...
Click to collapse
I still don't know what it actually is.
Android.Addiction said:
I still don't know what it actually is.
Click to expand...
Click to collapse
It's a cleaning app Samsung use to license to use in Device Care. Unfortunately the Chinese company that owned it was data mining user data so Samsung ditched them.
So I just firewall block it... it works well otherwise.
blackhawk said:
Accubattery can't do what Device Care does.
Click to expand...
Click to collapse
What exactly does Device Care (or 360) do that Accubattery doesn't? I'm trying to decide if I want to re-enable it, and any details you provide here will help me understand a bit better to make that decision. Thanks for everything so far.
Android.Addiction said:
What exactly does Device Care (or 360) do that Accubattery doesn't? I'm trying to decide if I want to re-enable it, and any details you provide here will help me understand a bit better to make that decision. Thanks for everything so far.
Click to expand...
Click to collapse
The old Device Care with 360° effectively cleans system logs files and other hidden caches.
Cleans some things SD Maid doesn't seem to touch. If you load the old version simply block it with Karma Firewall which uses almost no battery, ad free.
Battery stats are much more detailed in Device Care. It also has easy power mode settings... play with it. No harm, no foul.

Categories

Resources