yashsingh1/xdaforums huggingface dataset:
[General Topics] xxsen:
For more logs monitoring, enable com.android.traceur and developer options/logger buffer size 8MB and track with android studio (recommended)

Smartsuggestion service gives a lot of errors in the logs when it is deleted or disabled by force, Especially when the keyboard starts every time we want to type something, smartsuggestion throws a lot of errors. In order to avoid mistakes and errors, it should be left enabled but turned off in the options. It is interesting here that by clicking on the "turn off" button, you turn off everything, the problem of errors is not solved, they are still present. That is why it is necessary to disable for each application separately and only then turn off the complete option.

And the procedure is as follows:

1. Enable smartsuggestion

2. Go to Settings/Advanced Features/SmartSuggestion open it and enable

3. First, manual disable all apps there one by one,. One by one. Do not turn off everything on the main button. When you turn off one by one, the set will turn off by itself and that way there will be no more errors and mistakes that drain the battery to some extent. , for me there is: Samsung Keyboard, Calendar and Messages

I think that for any options in this way, it is necessary to learn and manually turn off each option separately, and only then turn off the whole feature in relation to something on the main button.

here, we could turn off smartsuggestion for all applications with one button, but that turns off only the smartsuggestion service, and there is still a link between the keyboard, messages, and calendar apps, and then whenever those three applications are running in the background, they try to start smartsuggestion, and an error appears and thus we needlessly consume some battery, reduce performance and heat up the phone.

I am not an expert on logs, someone who understands better should investigate this, but it is necessary to enable com.android.traceur and in the developer options the logger buffer size to 8MB and to monitor the logs while the phone is locked and while it is normally used and opened/ close apps, scroll and so on

Disabling it via adhell3 based on knox doesn't help either. I thought that it gives errors through ADB, but even through the adhell app that works through the knox license deeply integrated into the system, it still makes errors, so it is necessary to leave this service enabled but turn it off manually in the way I described.
[General Topics] simoyellow27:
So like this?
[General Topics] xxsen:
Yes
[General Topics] simoyellow27:
Thanks man. Even though I didn't see Smart suggestions appear in the logcat, I've reinstalled it anyway.
[General Topics] :
It really doesn't. That was a long ass post for a device specific issue lol.
[General Topics] simoyellow27:
Oh alright ☠️
[General Topics] :
S911W. One UI 6.1

Power saving disabled.
[General Topics] Minh Quan Nguyen:
how could ????
[General Topics] Jirka001:
Hi guys, I have a problem with calling up the service menu on my phone, I guess I deleted some app and I don't know what I have ....com.android.carrierconfig,,com.android.carrierdefaultapp. Thanks for help.
[General Topics] AndroidWars:
Nice preset I liked and using it. I will feedback. Can u share ur Keep preset? I tryed ur treesystems old keep preset.
[General Topics] Minh Quan Nguyen:
for those who are interested in this preset, just want to warn you to notice:

com.samsung.euicc: will break esim
[General Topics] :
Thanks. Uploaded.

Yes, it says that in the post. com.sec.phone, com.sec.android.app.SecSetupWizard, com.samsung.android.app.telephonyui.esimclient, com.samsung.android.app.esimkeystring, com.sec.vsim.ericssonnsds.webapp (?), etc.
[General Topics] Hamid Chikh:
Actually no, Honey (Keyboard) doesn't cause bootloop as i always uninstrall it. But a few packages do like device services, AOD or else. Sadly you'd have to factory reset
[General Topics] xxsen:
Every time I open an app with ads or maybe some special apps, I didn't test everything, I tested on a couple of apps, the phone calls com.google.android.adservices.api.

I enabled it and now that error is gone.

I left com.google.android.adservices disabled

Does anyone know how to restore global settings, secure and system? I have a backup in .txt format that I made via ADB, but is there an easy way to restore it or do I have to check one by one and return to the default
[General Topics] :
Ad services is just tailored ads. Why don't you just block ads instead?
[General Topics] xxsen:
Ads are blocked
[General Topics] :
Post logs of what you're claiming uninstalled ad services causes.
[General Topics] :
Some mixed use mobile data only days.
[General Topics] Hamid Chikh:
com.samsung.petservice 🤔
[General Topics] :
Smart Pet Care - Monitor Your Pets with SmartThings Home | Samsung US

Find and watch your pet when you’re away from home. With SmartThings Pet Care, Samsung’s robot vacuum can find and film your pet. Learn more here.

www.samsung.com

Useless if you don't use Samsung/ST brand pet cam.
[General Topics] simoyellow27:
Nah man I can't believe Samsung made an animal for PETS☠️☠️

When I first saw this service, I thought "nah it can't be true", but...
[General Topics] RealSalva:
Which preset is safe to use?
[General Topics] Hamid Chikh:
Updated Preset for Stable and light Debloat (OneUi 6.1)​

Review before Applying​

I'm also testing removing a few more apps as test but i'll have to give it time before publishing.
[General Topics] Hamid Chikh:
"Repair Apps" option sadly REMOVED from Recovery​
[General Topics] simoyellow27:
Is there an adb command that could replace it?
[General Topics] :
Might be able to just run Galaxy App Booster and then restart your device. This is better anyway.
[General Topics] simoyellow27:
Oh alright. I'm already doing so.
[General Topics] Minh Quan Nguyen:
so if i remove bloatware, how can I "repair app" now ???
[General Topics] skovv:
My question about calibration.

it charges for 2 hours, but with fast charging or standard charging, and I only look at the time, or do I also need to charge it to 100%?
[General Topics] caingatcarl:
I noticed that you've restored many packages that was in uninstalled before. Is it because it causes battery draining?
[General Topics] Hamid Chikh:
Lighter preset for a more stable experience and more features available
[General Topics] noelbisha45:
Any method to run repair apps again?
[General Topics] mlongue1:
ALWAYS interesting to watch the first robovac vs pet meetings…
[General Topics] Minh Quan Nguyen:
is it good to use your new light preset now ???
[General Topics] AndroidWars:
S10+ Exynos nice SOT for all day on 4G. I could reach almost 9 hour SOT.

Edit - added second Screenshot

8 hour SOT end the day %9 left
[General Topics] xxsen:
Is this correct what I found for the "Loger Buffer Size" option in the developer options?

Ok I’ll try to make it simple & small. The “Per- CPU buffer size” also know as “Logger buffer size” is the amount of time your phone will take to process incoming sounds in your device. Like when your buffer size is set to 256k (which is the default buffer size) it means, when your phone is recording your voice, it will have to process 256,000 samples of audio per second and then give you the output result.

Regarding your question that what amount should you choose for best performance? Well the answer is - it depends on what you want. You see there is a trade off in setting the buffer size.
If you want to record audio/video you want to set the buffer size as low as possible as it will reduce the audio latency a lot.
When you’re about to edit that video/audio/play some games then you want to set the buffer size high as it will force your phone to use more plugins & power and eventually run your phone a little smoother. Though keep in mind when you set your buffer high, don’t set it to the maximum as it can corrupt your system. Try doing some experiment with it, but carefully.
[General Topics] :
Sort of yes, but deceptive in the way it's worded.

Increasing the buffer size will increase the processing time, so it will introduce more latency.

This is bad for, let's say, FPS games where precise directional gunfire audio is optimal.

Ideally you want to achieve the largest buffer size just before it introduces noticeable gaps in the audio.
[General Topics] xxsen:
I don't need it for games, but for normal use, and I think that setting it to 256 reduces battery consumption and my battery temperature dropped by some 4-5 degrees compared to when it was completely off
[General Topics] :
Nvm, the logger buffer size is exactly what it says it is, which affects device performance at the cost of battery consumption.

As Hamid posted in OP, the most universal setting for this, in respect to battery consumption, is "Off".

Very informative post about logger size vs. performance: https://stackoverflow.com/a/11221907

Increased logger buffer size

= more logcat to cache from

= better / worse performance

= less / more battery consumption

But also,

Faster processing

= faster actions

= less time spent processing/performing them

This is why battery saver is actually detrimental during productive sessions.

Advanced users may experiment with values to see where they get the best performance increase vs. battery consumption increase before the falloff.

From the post, phones in 2010 were hitting a performance sweet-spot around 32K with performance falling off after due to device slowdown from logger size becoming too large:

Spoiler content hidden.
[General Topics] Mort015:
Can someone figure out why i cant access Google Discover from my Homescreen anymore? Its available in the Google app but swiping from Homescreen is broken.... I attached my Debloat List.

S23 Ultra, One Ui 6.1 (April)
[General Topics] morley636:
Have you tried force stopping google and one ui home app? This has happened sometimes on mine too and this helped
[General Topics] Mort015:
Wow thank you..! Force stopping one ui home fixed the problem 🙈
[General Topics] :
Yeah, Google Discover is built into One UI now, you cannot uninstall it or enable/disable it via ADB. Has to be done manually.
[General Topics] Hamid Chikh:
More Apps = Better Battery ???​

I think that taking out too many apps may cause further battery drain ???? I'm now testing lighter profiles with only essential unnecessary apps removed

Check OP for updated "Light" Preset
[General Topics] simoyellow27:
Waiting for updates from this test.
[General Topics] simoyellow27:
Btw at the moment I have this preset. If you want to take a look you're welcome. With this preset, my background usage is really low and I arrive safely at midnight no matter what usage.
[General Topics] :
Are you seeing which packages are trying to spin back up?
[General Topics] :
Factory reset and starting over.

Use this command to figure out what processes are actually running and sorted by time. I'm done uninstalling packages that aren't actually using resources.

adb shell ps -AMflwk TIME
[General Topics] Minh Quan Nguyen:
hi @Tree5627, i curious that what is "display cutout" for, is it safe if uninstall ???
[General Topics] :
Support display cutouts | Views | Android Developers

Display cutouts allow for an edge-to-edge experience while providing space for sensors.

developer.android.com

Used for emulator development purposes.

UAD reports bootloops without it (never happened for me), but it's not worth uninstalling as it does nothing.
[General Topics] :
Couldn't help myself. People on Reddit are so goofy for continuously arguing that debloating does nothing anymore.

237 uninstalled, don't think any functionality is missing.

e: Don't uninstall imsservice.

e2: Don't uninstall sharelive if you want full Home Up functionality.

05-04 17:38:22.032 29487 29487 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.samsung.android.app.homestar/com.samsung.android.app.sharestar.activities.ShareStarActivity}: android.content.pm.PackageManager$NameNotFoundException: com.samsung.android.app.sharelive
[General Topics] RealSalva:
Which device did you use to do this?
[General Topics] :
S911W, in the text file. S23.
[General Topics] :
How to debug your own preset using

adb logcat AndroidRuntime:I *:S

adb logcat ActivityManager:E *:S

or similar.
[General Topics] Hamid Chikh:
Great analysis ! Where did you land exactly after all your research ? Share your preset !
[General Topics] Kris_b1104:
Can you elaborate on how Quick Share affects Home Up? I only use Home Up for the circular Task Changer. I don't use Quick Share at all and would like to disable it. Thanks. Gonna try your preset after you shared those marvelous battery stats.
[General Topics] Mort015:
Okay can someone help me? I can't save new contacts to my Samsung Account.. Editing existing Contacts in my Samsung Acc cannot be edited. Also Galaxy AI is not working (Text, Call Translation etc)... Can someone figure out what i have to restore?
[General Topics] Superkenel:
Hello everyone !

I have a question about Samsung Dex :

does someone know if it will work without Gplay services ?

Explanation :

I came from iodé os (a lineage os degoogleised with a integrated firewall in system aps ), I've intalled Noble rom and I am laning to replace Gplay ap by MicroG ( like it is in iodé os ). I've never used google service, I do not support this ****, I install apk only, like a windows computer.

I've observed that the same S9+ exynos on iodé os instead of the original One UI and google service have 2 times more battery life. I've also seen that google service is taking a lot of ram at any time while I am not using it.

So it's reducing the life of your phone and consumming electricity for nothing without paying it ( imagine the cost for billions of android users ).

I am not agree with all of that, but I want the Samsung Dex ( that's why I bought a S9+ exynos ).

Unfortunately I discover after installing iodé os that Samsung Dex do not work on Lineage Os or iOdé Os ( wich is a fork of Lineage ).
[General Topics] libertyotheseasduckplan:
Thank you for bringing this to my attention. Since I don't utilize banking apps on my phone, I haven't encountered this issue firsthand. However, I recommend starting by restoring all KNOX apps using ADB AppControl, then restarting your device and attempting the process again. I would appreciate it if you could provide an update afterward. Thank you
[General Topics] caingatcarl:
Which one is responsible for scan to text when performing screenshot? Mine was missing when I use your presets. Thanks
[General Topics] serene_sky:
check if this package was removed "com.samsung.android.sdk.ocr"
[General Topics] :
Sorry, been away. Uploading the preset from App Manager.

Any form of debloating that does not cause a bootloop will not cause a fatal exception on device level.

Also noticed that every system app is constantly throwing debug warnings, probably hundreds per minute, while installed. While uninstalled, the OS simply detects that the package is missing and exits, no debug warnings, no constant background runs looking at edge cases or whatever.

Quick Share only affects the "Share" settings in Home Up as it lets you edit the way Quick Share works. To edit the share screen outside Home Up you just need to hit the pencil button on the share panel itself to edit it.

Contact Storage.

Shouldn't need it for DeX but you do need it for DeX add-ons since they need to be installed through the Play Store. DeX does leverage Knox but I've been able to use it even with Knox packages uninstalled.

Yes, OCR, thanks.

I've left all *setup* packages installed for Play/Galaxy Services updates to avoid security vulnerabilities.
[General Topics] Arjunpvl:
The file seems empty.
[General Topics] :
Yeah App Manager is not exporting properly. Best I can do for now.
[General Topics] jlove:
thx. hope it helps.
[General Topics] skovv:
Okay, I understand that this is a list of applications that you did not remove/disable?
[General Topics] :
Probably staying with this list until they introduce new packages.
[General Topics] Hamid Chikh:
Please upload valid preset, i'll test and might integrate it to OP. Thanks for the good work and contribution
[General Topics] Superkenel:
Thank you !
[General Topics] :
All steps from OP still need to be followed for max battery optimization.

My tweaks:

Battery

Spoiler content hidden.

Display

Spoiler content hidden.

Notifications

Spoiler content hidden.

Advanced Features

Spoiler content hidden.

Developer options

Spoiler content hidden.

LockStar

Spoiler content hidden.

NavStar - On

Spoiler content hidden.

Home Up - On

Spoiler content hidden.

QuickStar - On

Spoiler content hidden.

Edge Lighting+ - On

Spoiler content hidden.

Nice Shot

Spoiler content hidden.

NotiStar - On

Spoiler content hidden.

Edge Touch

Spoiler content hidden.

Nice Catch - On

Spoiler content hidden.

Routines+

Spoiler content hidden.

MultiStar

Spoiler content hidden.

RegiStar

Spoiler content hidden.

Sound Assistant

Spoiler content hidden.

Battery Guardian

Spoiler content hidden.

Thermal Guardian

Spoiler content hidden.

Memory Guardian

Spoiler content hidden.

Galaxy App Booster

Spoiler content hidden.
[General Topics] Minh Quan Nguyen:
hello bro, 1 question: Battery optimization: ON or OFF ???
[General Topics] :
Everything that needs to be mentioned is mentioned. Not sure which setting you're referring to, there is no setting by that name.
[General Topics] Minh Quan Nguyen:
i mean: ADAPTIVE BATTERY: ON or OFF
[General Topics] :
That's in Hamid's guide. I've only included things I've done slightly differently or additional settings.
[General Topics] RealSalva:
ADAPTIVE BATTERY ON, you can test if its different
[General Topics] marios199546:
I see from logs that in kernel level ram plus is enabled , we cannot disable it at all
[General Topics] marios199546:
4 - Suspend execution of cached apps​

For those who can't find the setting in developer options.

- adb shell settings put global cached_apps_freezer 1 default

App freezer is already enabled by default in our devices

o1s:/ $ device_config list | grep activity_manager_native_boot

activity_manager_native_boot/freeze_debounce_timeout=600000

activity_manager_native_boot/offload_queue_enabled=false

activity_manager_native_boot/use_freezer=true

o1s:/ $
[General Topics] kingrohan:
Does this work in S10 plus to remove stutter and lag in the UI..???
[General Topics] Hamid Chikh:
It's shown enabled for you because you have access to the setting in developer options, some people don't, that's why that command is there
[General Topics] Hamid Chikh:
Yes, it is compatible with S10 series, my friend's S10 5G has never been better. Check OP
[General Topics] skiku:
3 - Enable Multi-core packets scheduler For those who can't find the setting in developer options.

- adb shell settings put system multicore_packet_scheduler 1 default

Hi, I can't get this option to show on my S22+. Maybe Samsung removed it?

And if I lock the low limit to 60hz, does it use alot more batery than the stock 24hz?

Thanks
[General Topics] Hamid Chikh:
Hi

- If the setting isn't originally shown under developer options, use that adb command to enable the setting, it won't show but it'll activate.

- This command keeps the screen from going under 60hz. The battery consumption difference is negligible, since it almost never go below 60, and not for too long anyway. If you don't face any trouble with frame drops, just leave the minimum limit alone. You can always set high limit to 96.
[General Topics] skiku:
And if I set the high limit do I lose 120hz?
[General Topics] galaxy16:
ahh okay.. got it!
[General Topics] George Musat:
Finally the problem is solved because my dns doesn t want to connect
[General Topics] George Musat:
And I deleted it
[General Topics] Hamid Chikh:
Of course, 96 is not 120hz. But it is still smooth, you won't notice the difference, but, you'll gain battery life.
[General Topics] Hamid Chikh:
Did you set dns to adguard ?
[General Topics] George Musat:
Yep
[General Topics] George Musat:
Btw I want to know if the trick for louder speakers affect something or you know... make sound worse
[General Topics] kingrohan:
How to revert this to original state, I have noticed lagging in some apps after running this command.
[General Topics] Hamid Chikh:
That's impossible, it has nothing to do with performance. It just enables this setting shown in the attachment.

You can still disable this setting if you want by replacing 1 with 0. The setting only applies after reboot
[General Topics] Hamid Chikh:
No it doesn't make sound quality worse.
[General Topics] Hamid Chikh:
This is a recap of the GOS gate happening​
[General Topics] George Musat:
What I need to delete? I forgot
[General Topics] skovv:
thank you very much - I will test it on my s22 ultra.

Please let me know if you also used the ADB command?
[General Topics] caingatcarl:
@Tree5627 is it me or not but the subtitles/CC on youtube app is not showing even tho its turned on
[General Topics] :
Why on?

Works on all my YouTube apps.
[General Topics] RealSalva:
You can test it, what for you is better, for more battery
[General Topics] :
Show battery comparison screenshots of ON being better?
[General Topics] Superkenel:
I confirm that Dex work fine without google applications and services.

My problem now is to enable signature spoofing on ONE UI 5 ( Noble ROM ), I've tried stuff this afternoon without success.

( then I want to install MicroG to replace some google services )
[General Topics] :
App Manager, Lucky Patcher, Obtainium, maybe Aurora Store should be able to signature spoof.

Could also try APKMirror since they upload with altered signatures most of the time.
[General Topics] caingatcarl:
It's all good now. Thank you so much
[General Topics] Hamid Chikh:
Adaptive Battery​

On is now default for me, i decided to give it a chance now
[General Topics] :
This might be a wonky reset. I've had Adaptive Battery set to ON by default for me maybe 1 out of 10 resets. It happens as a weird error I think during the setup. I don't think it is actually on by default.
[General Topics] Minh Quan Nguyen:
Adaptive battery ON is the default
[General Topics] :
@Hamid Chikh Did a reset, leaving adaptive battery on.

Uninstalled, did a bunch of testing for system errors using

adb logcat -s System.err

Got many system errors (as usual).

Then I reinstalled everything and disabled the same list, and many of the system level errors went away.

So I'm full switching to disabling only.
[General Topics] Hamid Chikh:
Never mind, that **** is garbage
[General Topics] Hamid Chikh:
Already tested that, makes the phone too hot and battery bad
[General Topics] Minh Quan Nguyen:
@Hamid Chikh, so your advice is to turn it off ???
[General Topics] Minh Quan Nguyen:
Does it still apply to uninstall bloatware app, instead of keeping them in Disable status???
[General Topics] xxsen:
Why does the "send_action_app_error" command return to 1 randomly during the day, I've been setting it to 0 for months and sometimes it stays at 0 for half an hour, sometimes for half a day, and then it returns to 1 automatically.

I tried setting both secure and global to 0 because there is that option in both places, but no matter what I do, both secure and global randomly return to 1 during the day.

Galaxy S20+

It's not a reboot. Sometimes I restart the phone and then it stays at 0, but then sometimes it goes back to 1. Obviously, something is connected with it somewhere, some application or phone settings, and when I go into certain settings, it probably goes back to 1 and as long as I don't go in, it keeps at 0. (My opinion)

These are my thoughts because I noticed that when I use power save mode on the S20+ and want to activate the 120hz display, I use the Galaxy MAX HZ app and it does the 120hz display until I go into settings/display,

immediately as soon as I enter the screen settings, the screen goes back to 60hz, so I have to repeat the procedure again. That's why I think that this command is connected somewhere in a similar way, and when I enter something during the day, it returns it to 1 because it happens randomly, there are no rules and no time. Sometimes it will be 20 minutes, and sometimes it can be at 0 for the whole day and then return to 1