yashsingh1/xdaforums huggingface dataset:
[General Topics] mcdotcom:
In wlan no problems with genshin impact , battery drain is high but i can okay 3-4 h then its my battery empty. With 4g is it really crazy the battery is draining sooo fast.. This is why i wont use the 4g network 😅😅
[General Topics] mcdotcom:
Can you say me whats this app doing? Or for which service needed?
[General Topics] InfamousMykol:
Have to disable them?
[General Topics] InfamousMykol:
Here it is
[General Topics] Alaunus:
For some reason, after messing around with ADB and presets, sometimes the screen does not respond to me tapping it when I try to unlock my phone with fingerprint. I have to press the power button to activate the screen and then I can unlock. Usually I just stick my thumb to the screen and it unlocks but sometimes it does not work and the fingerprint sensor does not activate.

I'v enabled "tap to show" option in fingerprint settings and done the fingerprint fix in OP. Any ideas what causes that?
[General Topics] mcdotcom:
Hello , no Problem here. You must place your Finger correct on the Position. I have enabled face ID and fingerprint.
[General Topics] Alaunus:
I'm pretty sure that is not the problem since it does not work no matter where I place my finger.
[General Topics] VinTaco:
I feel like I'm going insane. I did a fresh format, applied ADB settings, a very light debloat (80 apps). And my battery is worse than before the format.

Are there common offenders I should be looking for?

EDIT I've disabled packages, rather than uninstall. Is that the issue?
[General Topics] mcdotcom:
Hello, sorry then i cant help you. Maybe anyone here in this thread.
[General Topics] AndroidWars:
Try to clear cache and data biometric system app and always on display apps. You can set biometric system app no restriction. And reboot
[General Topics] blackhawk:
Don't kill the messenger...

If you're experiencing odd or erratic behavior after the edits or at any time, clear the system cache found on the boot menu.
[General Topics] Hamid Chikh:
Reset always on display app, otherwise, there's no app that wakes up the screen. Check your uninstalled apps.
[General Topics] Hamid Chikh:
How many days did you take to evaluate that battery got worse ? 3,5, a week ?

It's not advised to disable, OP stays clearly to UNINSTALL.

All apps listed in my preset are tested, if you added other apps we can't help.
[General Topics] Hamid Chikh:
It's like people don't read what's in OP, they just jump in a moving train and expect to understand everything. Worse, they try to find issues with a configuration we all rock in a daily basis.
[General Topics] VinTaco:
I've been hesitant to uninstall. Will try that, thank you Hamid.
[General Topics] blackhawk:
Things ain't quit that simple🤣

If the device is in your hand suck it up and play with it. Don't whine and blame others. Bad things can happen trying to hop a moving train🤣

I got thousands of posts here but try to find ones where I ask for help. I track the answers down myself, sometimes it takes weeks or longer. At some point it becomes intuitive but not if you don't try to learn. I still play with the optimization on this 3+yo N10+ running on Pie. I find it fun.
[General Topics] lolli.filippo:
I'm on a S8 with Pie too, can I ask you to share with me your preset?

Here's mine
[General Topics] blackhawk:
Other mods made in Settings and app settings.

All global power management not used.

Google play Services normally disabled vis app settings unless needed. Running in high performance mode.
[General Topics] kitakoni:
Is this normal? I updated my s21 to latest software update with the instructions and after the update oneui home seems to be draining my battery so much. After and before are in the screenshots

Did the same debloat as I used before
[General Topics] blackhawk:
No.

Upgrades and updates can and do break Samsung's.

Social media and shopping apps should never be installed; browser login only if you must go there.

Clear system cache. A factory reset maybe needed.
[General Topics] kitakoni:
Im fine with social media apps being installed and their battery use, just concerned about the Oneui Home as it almost halved my sot
[General Topics] blackhawk:
They may be the cause. They are malware and a multi vector security risk. You are what you load...
[General Topics] kitakoni:
Dont think that is the issue since it would happen before the update too
[General Topics] VinTaco:
Does anyone know what packages WiFi Calling needs to work? I restored it, cleared cache + repair and now the app constantly crashes.

EDIT - trying some fixes. Will edit if I find the missing things.
[General Topics] blackhawk:
Lol, you see what you just wrote? One UI is normally an extremely stable, reliable and efficient launcher. It's entirely possible one or more of those apps are the cause... trashware.

Malware is always a possibility with persistent unexplained battery drain and/or erratic behavior.

Track down the cause*. Factory reset if you can't find the root cause although it may reoccur.

If you did a major upgrade ie Android 11 to 12 etc and didn't do a factory reset, do it now.

If you do a factory reset be careful what you load... or you might be right back where you started.

*remembering what was done before the problem started can help find it. It may be an app installed or uninstalled that triggered it. A poorly written app will sometimes alter hidden user settings permanently even after uninstalled.

A factory reset clears this.
[General Topics] kitakoni:
I did the security updates, didnt install any apps after that. So the apps you mentioned were already installed before the update and I didnt have any issue, that is what I mean.
[General Topics] blackhawk:
Well you're stuck then if it was caused by a firmware update. Try in safe mode and see if that stops it. If so find the app(s) causing it.

Something's not playing nice...

Do a hard reboot as well, then clear the system cache.

This N10+ hasn't been updated for over 3 years, current load will be 3 yo in June. Still fast and very stable with minimal maintenance. Security is simply not an issue, zero malware in that time. That's what Android is capable of if you don't muck with the firmware. Everytime you upgrade or update you risk changing the playing field and undoing your optimized platform.
[General Topics] kitakoni:
Well turns out restarting my phone without clearing cache triggered something that deleted my existing wallpaper and changed it to black which seems to fix the issue.
[General Topics] blackhawk:
That's not a good sign😳

That's abnormal behavior. Possibly a scripted jpeg; delete that jpeg stat. If abnormal behaviors persists, factory reset.

But first clear the system cache!!! It doesn't damage anything and will cure many bizarre behaviors. I do it after major changes, if needed or every month or two as part of regular maintenance.
[General Topics] kitakoni:
Probably deleting the wallpaper service caused the issue, my deleted wallpaper was default samsung wallpaper so it kept trying to do something with the wallpaper I guess
[General Topics] rodken:
From an OCD perspective - I tend to the clear the system cache each and every time I flash and/or update a Magisk Module.
[General Topics] Michael root:
9 hours of sot, all day on youtube with Bluetooth and Wi-Fi activated s21 Ultra Snapdragon
[General Topics] Kris_b1104:
I'm slightly concerned that you used your phone for 9 hours and 6 minutes without putting it down even once. 0 minutes of standby time (screen off) is impressive.

Now touch grass 😂
[General Topics] SM-A125W:
Hai there, i already uninstalled all the bloatware I got on my device (incase if you need to know),

May I have a list of (good) ADB commands to run on my device? I already did the extra ram options for RAM Plus (adb shell settings put global ram_expand_size_list), disabled manual (adb shell settings put global online_manual_url 0), enhanced cpu (adb shell settings put global sem_enhanced_cpu_responsiveness),

Also, does adb shell settings put system peak_refresh_rate 96.0 and adb shell settings put system min_refresh_rate 24.0 work on my device (my device model is my username), I am Running OneUI 4.1 Android 12,

If im wrong in something please tell me, also I just created account on xda forums (here),

I just wanna get the best out of my device (also some ways to extend battery life?)
[General Topics] Michael root:
lo que pasa es que estuve todo el dia estudiando para el examen final de la U, ahi se ve la oficina activa como 6 horas jajaja

Mod translation: What happens is that I was studying all day for the final exam of the U, there you can see the active office for like 6 hours hahaha
[General Topics] coolpixs4:
My device is S22+ 5G

I only have 7h SOT,...
[General Topics] Hamid Chikh:
Geekbench Benchmark Update​

I don't know about you guys, but I'm impressed.
[General Topics] Kris_b1104:
Oh I see, good luck on your test!!
[General Topics] Haruu1416:
Hey everyone, I've been away because I had to take care of my relationship and college.

During this time I was testing a new configuration that is being useful for performance and ram usage and also in low cpu usage.

This is a command in the global table, 'activity_manager_constants' I'm still testing this command, but I would like to know if anyone is willing to see if it's feasible to use it.

If anyone is interested use this command: adb shell settings put global activity_manager_constants max_cached_processes=0,background_settle_time=60000,fgservice_min_shown_time=2000,fgservice_min_report_time=3000,fgservice_screen_on_before_time=1000,fgservice_screen_on_after_time=5000,content_provider_retain_time=20000,gc_timeout=5000,gc_min_interval=60000,full_pss_min_interval=1200000,full_pss_lowered_interval=300000,power_check_interval=300000,power_check_max_cpu_1=0,power_check_max_cpu_2=0,power_check_max_cpu_3=0,power_check_max_cpu_4=0,service_usage_interaction_time=1800000,usage_stats_interaction_interval=7200000,service_restart_duration=1000,service_reset_run_duration=60000,service_restart_duration_factor=0,service_min_restart_time_between=10000,service_max_inactivity=1800000,service_bg_start_timeout=15000,CUR_MAX_CACHED_PROCESSES=0,CUR_MAX_EMPTY_PROCESSES=0,CUR_TRIM_EMPTY_PROCESSES=0,CUR_TRIM_CACHED_PROCESSES=0

This one is for devices with low ram.

I almost forgot, this command is just in case you want to have more performance in games, I don't recommend using it for your daily life and it can also vary by device.

Note: Your device will heat up when applying it and restarting, and this is normal, because the cpu will be almost always at maximum, and I'm going to show you some images of my test of it.

If you have problems, just remove this command via adb, setedit, ladb and brevent.

Edit: you won't multitask with this command.
[General Topics] Kris_b1104:
What phone do you have?
[General Topics] Kris_b1104:
Anyone ever tried this?

Supposed to be useful when playing games.
[General Topics] Haruu1416:
galaxy a107m one ui 3.1
[General Topics] Haruu1416:
Exactly, but I'm still testing other values, because depending on the value makes the device unstable.

Edit: maybe not, why this setting is not displayed in the global table, it is added and it is also universal, which means it works on any android from any manufacturer, samsung, Motorola, xiaomi, oppo and among others
[General Topics] InfamousMykol:
What's the values for activity_manager_contants and fgservices_min_rep?

These commands works on Oneui 4.1?
[General Topics] Haruu1416:
a thousand apologies, I didn't see that I didn't send the whole command, I'll correct that right now.

It's a native android function, so it works on any device regardless of version, 7.0 up to the latest android versions.
[General Topics] Haruu1416:
Please excuse me for this mistake, if you posted the previous one it's better to put this one now, it's the full version of it.
[General Topics] VinTaco:
I have a question - I am trying to reinstall an APK for wifi calling, however it won't install. I get "not installed", from both on the phone and via ADB AppControl. What would I do to fix this?

UPDATE - no app wants to install via ADB AppControl. Am I doing something wrong?

I see the following error: [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]

EDIT AGAIN - It's now installed, I have no idea how. Insight into that error would be helpful though.
[General Topics] InfamousMykol:
Could this command improve battery?
[General Topics] Haruu1416:
maybe, but I'm not sure about that yet, I'm still testing this command on my device, so unfortunately I can't give you that answer yet.

I think I have some sysdump commands that might improve battery life noted in my backup file.

But as I was testing it here, some apps were giving some errors (says device care) but in return the performance in the games themselves has been improved.

You sure know, the more performance the less battery so I think I should discard it as a battery friend.
[General Topics] Haruu1416:
I am currently looking for a way to find a way that everyone can find the ideal value for their devices, and I have something in mind.

In adb, type adb shell 'dumpsys activity', after that look for the name of the command (activity_manager_contants) right after that find his values and save. At the moment I will still find the command that is responsible for disabling the background and cached processes without compromising the system.

Note:If you are going to do what I said above, then remove the command values and restart to return to the original values and thus not have any problems.
[General Topics] blackhawk:
Are you the creator?

I am One UI and I'm perfect.

What's optimized for one isn't necessarily optimized for all. Lots of variables between phones even of the same model. If it's not a useless function like Device Wellness and consumes little or no battery probably best to leave it alone. Some habitual offenders like Google play Services should be temporarily disabled when not in use.
[General Topics] Haruu1416:
This is just my suggestion and I also intend to see if this function will be useful not only for me but for others, but if you don't agree or something like that I understand, so just ignore it if you don't like it.
[General Topics] blackhawk:
Take your own advise to heart. I was half funning around with you and the rest was serious.

You can not predict all the consequences of multiple setting changes and edits on different devices. Samsung goes through problems with every OS upgrade and with many of its updates... after they passed beta testing and are released in the wild.
[General Topics] VinTaco:
Just quick update post-debloat and optimisation - I've restored a few functions I need/use, and the biggest shock is the standby consumption. According to AccuBattery, it's around 0.6%/hr. That's crazy. Deep sleep goes down to 0.3%/hr.

Amazing work by @Hamid Chikh and everyone else who has contributed to this project.
[General Topics] Roei.e:
@Hamid Chikh

My friend did software update and his settings app crushes now. (He forgot to restore all apps) and in order to restore all you need to enable usb debugging.. but settings app is crashes. How can he fix it?
[General Topics] lolli.filippo:
Download the firmware on sammobile and flah it with odin.

In the CSC tab use the HOME CSC file to keep the datas, for safety tell him to backup what is possible to save before the flash

If this doesn't enable the apps, he has to reset the phone
[General Topics] VinTaco:
Question: My phone is using more battery for games than it did pre-debloat/reset. I'm playing Marvel SNAP which is a low resource game (compared to PUBG etc). What could be the cause of this? I restored Game Booster to set the profile to optimised to see if that helps. Anything else?
[General Topics] Hamid Chikh:
Battery Life Update​

This thing just increased out of nowhere! I've been rocking a test preset for a few days, that I wasn't very proud of actually and wanted to go back to old stable preset. But today, right after January GOOGLE PLAY SYSTEM update, which i didn't know had anything to do with battery life, the phone was amazing.

I still support disabling adaptive 120 and going fixed, it does wonders for me.

I'll update you guys soon
[General Topics] blackrubi:
Do you have an update on going 10hz min refresh rate and how to do that on the S22 Exy?
[General Topics] Hamid Chikh:
LIGHT PERFORMANCE PROFILE​

I'm testing low power mode (AGAIN), and see if it does any good.

adb shell settings put global sem_low_heat_mode 0
[General Topics] InfamousMykol:
Only for Oneui 5.0+?
[General Topics] AndroidWars:
S10+ Exynos 4g all Day on different Day screenshots with 1 hour 20 minute gaming 7 hour SOT nice for me. I cant imagine with this preset s23 ultra SOT. Who will upgrade s23 ultra?
[General Topics] bodomfan:
Where's Google play system update
[General Topics] bodomfan:
Where can we find this as mine still says November
[General Topics] ryudhruv:
1. I have delblated few of the applcations but after that my smart text select/ text extract feature have stopped working it says text not found.. can anyone tell which app should I restore to get the option working again

2. also apps have stopped working in split screen.. i can only put one app in top side of the screen but the other application can be open below it.. any soluiotons for that
[General Topics] lolli.filippo:
1. com.samsung.android.app.cocktailbarservice

com.samsung.android.app.clipboardedge

2. com.samsung.android.appseparation
[General Topics] Hamid Chikh:
UPDATED STABLE PRESET​
[General Topics] AndroidWars:
Thats nice S10+ Exynos all Day WiFi on

7 Hour SOT - 4 Hour gaming
[General Topics] Aizenvalt:
This has never happened on my S22 Ultra. I just tried the latest ADB preset, no debloating yet. Thanks man.
[General Topics] blackrubi:
Hi! Could someone explain me what these 2 commands do exactly? Ever since applying these 3 commands I have had very short freezes during opening / using apps.

1. adb shell settings put global restricted_device_performance 1,1 (How does this limit the performance and what if I set it to 0,0?)

2. adb shell settings put global enhanced_processing 0 (What does this do / disable?)

3. adb shell settings put global sem_enhanced_cpu_responsiveness 0 (What is this exactly?)

Thank you
[General Topics] Hamid Chikh:
I got 35xx recently, check last posts. You can get better
[General Topics] Hamid Chikh:
It seems S23 keeps the same screen size but is a bit larger, which means thicker bezels. I'm disappointed.
[General Topics] Hamid Chikh:
1 it's by default

2 & 3 are for processing speed modes
[General Topics] blackrubi:
You shouldn't as it seems that despite both being 6.1 inch, the S23 has more screen area by 1.2cm3 which makes it have even better screen-to-body ratio than the S22.
[General Topics] blackrubi:
What are the default option for each of these? I want to reset these configs to how they were before applying this command.
[General Topics] Hamid Chikh:
Here's my geekbench score for reference

@Aizenvalt
[General Topics] Hamid Chikh:
How many days did you give your modifications to settle and pull that conclusion ? You do know it takes time to stabilise, and less app can't consume more power
[General Topics] Hamid Chikh:
What about it ? It is possible of if you set min to 10, but i avoid adaptive all together by setting min to 120. Feel free to test yourself
[General Topics] Hamid Chikh:
It's supposed to only work on 4.1.1, but I'm just testing to see if it actually makes a difference.

Keep in mind that geekbench scores don't change with this command (which are supposed to) but I'm seeing in the long run if it has any effect
[General Topics] Hamid Chikh:
January GOOGLE PLAY SYSTEM update dropped in 3 days ago
[General Topics] Hamid Chikh:
Search the thread for responsible apps to restore those functions
[General Topics] Hamid Chikh:
I'm confused, specs say it's larger in every side, keeping the same screen size, it can only mean less screen/body ratio
[General Topics] ryudhruv:
i have

I have unintalled these apps using adb app control how can I restore them.?

Did not take any backup
[General Topics] Hamid Chikh:
Search the thread, i already posted about it in the past
[General Topics] ryudhruv:
got the thanx alot.. however iam unable to restore them.. how can I restore them.. haven't taken any backup before uninstalling them through ADB app control
[General Topics] skiku:
If you go to the "uninstalled" tab on ADB app control, you can search any app you deleted and restore it
[General Topics] ryudhruv:
its not showing these three apps there
[General Topics] skiku:
That's wierd. Are you sure you uninstalled, not disabled them? I'm asking just because usually all the apps I uninstall are there in the tab, even without the backup
[General Topics] Emre67511:
You can type "cmd package install-existing package.name.example" in adb to restore the apps
[General Topics] Hamid Chikh:
Just search for the apps in the uninstalled section and select them then select restore from the drop down menu on the bottom right corner
[General Topics] blackrubi:
Take a look at this comparison. To my knowledge, gsmarena is a reliable source for phone specifications.

Compare Samsung Galaxy S23 vs. Samsung Galaxy S22 5G - GSMArena.com

www.gsmarena.com
[General Topics] blackrubi:
Thank you for letting me know, I now have a better understanding on the 2 options.

However, I still do not fully get what "restricted_device_performance 1,1" is.

1. What is it setting exactly with those 2 numbers? I remember reading that somebody set it to 0.7,0.7 and somehow that was a sweetspot but for what exactly? I don't get what this does.

2. If 1,1 is the default, how come someone else's default was actually 0,1 and not 1,1?

Thank you for helping me better understand what these commands do.
[General Topics] Ardysan:
Hi guys! I have not done any tweaks or upgrades to my S21 Ultra for about 7 months (debloated with this topic ADB script version current, current as of then - and as it disabled software updates - did not update the phone software since then). So, Questions:

1. Is S21 Ultra debloat list maintained, or topic author moved on to s23?

2. For S21 Ultra - if I update - will I see worse battery life? How was your experience with new features/latest version of debloat lists?

3. How do I do so many months of updates? Restore all apps, then update, then debloat with latest lists?

Thank you so much!!
[General Topics] tribalfs:
restricted_device_performance is the settings key for "Limit CPU speed by 70%" in power saving mode settings. Valid left value is either 0 (disabled) or 1 (enabled). If set to other value, it's interpreted as 0. Value on the right does nothing.
[General Topics] lolli.filippo:
1. The autor is on a S22

2. If you debloat correctly don't worry about battery life, it will be good

3. You must reinstall all the bloatware berofe updating. I suggest to perform a reset if the upgrade is a OS upgrade
[General Topics] blackrubi:
How come then, that according to OP, the default value is 1 which would mean that Limit CPU speed by 70% would be enabled by default which is clearly not the case.
[General Topics] tribalfs:
I haven't checked the default value (it may vary). But note it only applies when power saving mode is enabled.
[General Topics] blackrubi:
So after all we're not sure what it does or helps with? What would be the difference between setting restricted_device_performance to 0 and 1?
[General Topics] tribalfs:
"Limit CPU speed by 70%" in power saving mode
[General Topics] blackrubi:
You are right, I figured it out now.

restricted_device_performance is the "Limit CPU speed by 70%" toggleable option in the Power Saving menu. If you do "adb shell get global estricted_device_performance" and it returns:

0,1 - it means that when you turn on Power Saving mode, it will not limit the CPU to 70%.

1,1 - when you turn on Power Saving mode, your CPU will be limited to 70%.

So technically, setting this option to 1,1 does not save you battery unless you turn on Power Saving mode in the phone's

settings page.