yashsingh1/xdaforums huggingface dataset:
[General Topics] redevans:
well, yes, if you know which apps related to battery and take precautions
[General Topics] nokia_16:
Hi .... Writing this review about Galaxy S22 Ultra (Snapdragon Version - 512GB) .....

Software Version : BVKB

Google Play System Update : 1 July 2022 (Unable to update to current. Stuck with it)

Country in Use : India

Sim : Dual Sim ( Jio (4g) and BSNL(2g))

Wifi : Day time

Mobile Data : On After 8pm till next day mrng around 7 am

Auto Sync : Always ON (disabled when battery was about 14% )

AOD : Off

Refresh rate : Min 60 and Max set to 96

Resolution : FHD+

Uninstalled Apps : 200+ with script from OP

Additional Apps Used for tweaking : Disconnect Pro (Thanks to @OktaviAnabelle , Purchased from Samsung Store), Samsung Package Disabler Pro, (purchased from https://www.packagedisabler.com/)

Connected Bluetooth Device : 2 Devices... (galaxy Buds 2 Pro and Galaxy Watch Classic 44mm Lte)

NFC : On when using selected apps ( routine via Bixby)

Secure Folder : I'm using and not disabled

Launcher : One UI

GOS : Disabled via Package Disabler Pro

Keyboard Vibration : On

Quick Share : Enabled.

above are my configurations. Almost using most of the required service except GOS, Smart View. S22 Ultra is my daily driver. Last week I factory resetted my S22 ultra and after reset i only restored wifi settings and call log, call block list and rest i setup a new phone. Paired my bluetooth devices, configured all banking apps, configured knox oriented apps like disconnect pro, secure folder. ONce everything is set for my regular use, i disabled 200+ apps via adb and applied few adb command from OP too. Then cleared cache via recovery and galaxy app booster. After 2 battery cycle here is my 3rd battery cycle stats ..Also attached Accu Battery Pro stats ..

I dont feel any lag in UI.. Somewhere I can face lag in twitter... Using Revanced Twitter and Youtube...

Note : In my experience if you are going to use the script to disable apps via adb or any 3rd party apps, first set up your phone completely for normal use, like pairing bluetooth devices, creating secure folder, installing vpn certificate, adding accounts,update necessary libraries and apps whatever it is, first set it up completely for your use and after 1 battery cycle disable apps what all you don't need. If done this way 100% there are no issues with bootloop or device connection error or whatsoever....

Thanks to @Hamid Chikh and @OktaviAnabelle
[General Topics] Tapjones:
System ui is running constantly in the background and killing my battery.

How can I stop this without doing a factory reset
[General Topics] serene_sky:
restore all. restart then remove app by app, several apps per day and see the effect.
[General Topics] sapanag:
Device: S22+

My SOT with mostly on 5g/4g and 1hr on wifi.

Gps and Bluetooth :- on

Still learning usage pattern with 3rd battery cycle. Hoping SOT will improve more once device settles

Thanks @Hamid Chikh bro♥️
[General Topics] Kris_b1104:
I have the same phone as you, but with AT&T in the US. Honestly, with all the optimizations you did, 4hr 30mins is not the greatest battery life. From 100% to 20% you should consistently be getting 8 hours of SOT. Average battery drain is about 10% per hour. I think you are doing something wrong, but I can't seem to think what it is, because your SOT is way too low for this phone model. If you are happy with it, then that's great, but I definitely think you can achieve an even greater SOT.
[General Topics] nokia_16:
I too understand that..from my observation i see that phone deep sleep is way less..lot of wakelocks ..also finder is using lot of battery....
[General Topics] Hamid Chikh:
PRESET UPDATE​

- No more over-heating for me !
[General Topics] mcdotcom:
Hello hamid,

Which preset extreme oder the other one?
[General Topics] RealSalva:
After applying your presets, I am unable to make calls. What can be the reason?
[General Topics] sapanag:
Restore ims services app
[General Topics] RealSalva:
where can i find it? can't find it in playstore.
[General Topics] mcdotcom:
I think he mean restore the IMS service
[General Topics] sapanag:
while debloating with present. You debloated ims service apps. Required for volte

Reinstate the same
[General Topics] RealSalva:
and then?
[General Topics] mcdotcom:
trying now your new extreme preset.. :)
[General Topics] mcdotcom:
fyi after debloat it doesnt work with stock phone app and google phone app. any ideas?
[General Topics] Oyunbus:
Give adb authorization to this open source app, then uninstall or disable the app you want.

adb tcpip 5555

App Manager Link

App Manager - Android package manager | F-Droid - Free and Open Source Android App Repository

A full-featured open source package manager for android.

f-droid.org

You can also give adb authorization with wireless debugging with the method in the video.
[General Topics] RealSalva:
Found the culprit, was active in 4G/3G network mode and required 2G.
[General Topics] nocio:
I'm testing one ui 5.

I performed factory reset, didn't debloat phone at all, using Bixby routines and some things more and I'm getting this SoT.

When I'm at work I use theirs WiFi but when I leave work I'm at 4g all the time, don't use WiFi at home and this is my result. So far I can say that I'm satisfied with my S21 base which is in my possession for 1 year and 3 months
[General Topics] Axiomkid:
Then I'm going to scratch out that any model that isn't an Ultra base model must be working fine with the new software.
[General Topics] Bill720:
Since it's unclear based on your posting, can you advise as to which of the aforementioned tweaks you have performed to arrive at this conclusion?
[General Topics] Hamid Chikh:
None, he's just reviewing stock software. He clearly stated he didn't apply any tweak.
[General Topics] RCNH:
Hi Hamid, I used your op But I can't display the content of the phone on the screen (Galaxy s10 5g ) used smart view But it does not display anything, what is the solution

شكرا 🌹
[General Topics] meternich:
Thank you all for suggestions. At the and I had to do factory reset. I couldn't grant ADB authorisation, because setting app wouldn't open. I tried with setedit, but ADB was already enabled and phone still wanted authorisation of device.
[General Topics] caingatcarl:
Been there. Lesson learned
[General Topics] caingatcarl:
This doesn't seem to work on my S22+ A13. Has anyone done it?

EDIT: While researching, i found out that this procedure is not working anymore in A13
[General Topics] serene_sky:
Anyone could totally remove one-hand mode?

I've uninstalled its package but it still appear in Advanced feature. A little annoying
[General Topics] Hamid Chikh:
Smart view works fine for me with that preset. Restore everything if possible
[General Topics] Hamid Chikh:
I'd advise you, as stated in OP, to restore everything before updating. It's not even that hard to save your current preset.
[General Topics] Hamid Chikh:
You're going to have to deal with that annoyance unfortunately
[General Topics] OktaviAnabelle:
Post deleted , it's xonsidered as out off topic , My Apologies .
[General Topics] nokia_16:
There one problem with Shield Rebirth.. It doesn't work straight away with android 13. In android 12 we should have installed , activated shield rebirth and the should have been upgraded to android 13.

This is what developer said when i was about to activate to pro version...

those who are upgraded to android 13 , developer said they are working to get it installed...but as of now no for android 13
[General Topics] Axiomkid:
I'm starting to notice my phone isn't going into deep sleep, can't find anything keeping the system active as everything is turned off. I already did a factory data reset plus Optimizations.
[General Topics] OktaviAnabelle:
Correct , Thanks to clear this things up.

I forgot to mention that it only works with android 12 , actually it will work with android 13 IF the SetUp is done in android 12 , so in order to use the app in android 13 is to downgrade the OS to 12 > do the installation > upgrade to 13 .

Yes theyre working on it , 13 would be available in the future.

Damn i'm started to hate this android 13 updates , it only makes everything much more difficult .
[General Topics] sapanag:
M not much of a tech person.

But u r saying that even if we uninstalled the apps. They are still running?? And we will have to disable it using LADB ??
[General Topics] nokia_16:
you in android 12 or 13? I'm planning to downgrade.....
[General Topics] Arealhooman:
What does it do
[General Topics] OktaviAnabelle:
I don't disable my apps with Shield , i use PDP to disable , but you can see all my installed system apps and disabled apps here , also have you tried to downgrade your phone before ? It's a risky procedure you have to use the right software version , including the one that is made for your specific country .
[General Topics] caioryx:
Is it safe to disable/uninstall Knox services? Will I lose security? I think Knox is one of the services I am most unsure whether to disable or not
[General Topics] Hamid Chikh:
New app list explaination !
[General Topics] OktaviAnabelle:
Some can be safely uninstalled , some may causes a bootloop.or leave your phone to be unstable

These are safe to uninstall : com.samsung.android.knox.analytics.uploader

com.samsung.android.knox.attestation

com.samsung.android.knox.pushmanager

com.knox.vpn.proxyhandler

com.samsung.android.knox.containercore

com.samsung.android.knox.containeragent

com.samsung.knox.securefolder / can be disable from Settings

com.samsung.android.knox.kpecore / can be uninstalled , but i prefer this one to be disable not uninstalled but it's your choice as a user

com.sec.enterprise.knox.cloudmdm.smdms

I don't know about this one , i can't even disable it with package manager , everytime i tried to disable it my package manager force closed , and i'm too scared to try to uninstall it , but some people have it uninstalled

com.samsung.klmsagent

I think this one can be uninstall , some people have it uninstalled , but this app has many important permissions like

MANAGE_DEVICE_ADMINS

MANAGE_USERS

READ_PRIVILEGED_PHONE_STATE

KNOX_PROXY_ADMIN_INTERNAL

KNOX_LICENSE_INTERNAL

KNOX_ENTERPRISE_DEVICE_ADMIN

KNOX_LICENS_LOG etc

Without this app you won't be able to grant Knox permission to all apps that requires Knox to run properly , everytime you try to grant Knox permissions to an apps a pop up message from this app will appear and ask you for an agreement to their terms & privacy policy , and you need to confirm it in order for you to procced further.

(based on my experience , you can always try it yourself if you want , you might have a different results)

com.samsung.android.kgclient

Don't even try , or else you'll get a bootloop
[General Topics] Hamid Chikh:
Battery boost worked for me FINALLY !​

"adb shell cmd package bg-dexopt-job"

- I'm at 100%

- Right after a reboot

- Here's my test preset (in case it has anything to do with that)
[General Topics] mcdotcom:
Hello Hamid,

I use your old preset. And it works with it to. Device must be fully charged and pluged in in and the lockscreen must ~ 30 mins locked. Then works the adb command or your batch file. This is my expierence. 😊
[General Topics] OktaviAnabelle:
Yes Shield has all uninstalled system app on the list , it makes it harder to search the apps and requires more scrolling unless i use the search function , just a little bit worried because i have friends that have to buy another phone because they brick their device in an attempt of downgrading the OS , your PDP uses Knox to setup ? Really ? Not the Device Owner one ? May i know the name of the package ? Yes with app manager & LADB you don't need a PC to do the optimization , but ADBAppControl is still needed if we wants to restore all or many apps at once .
[General Topics] nokia_16:
I have attached screenshot of the package disabler pro which i use... i purchased from the website i mentioned. Its not device owner version. Its knox license validated PDP.
[General Topics] nokia_16:
@Hamid Chikh i received an notification that 1 of my post has been removed. I dont know why its been removed... i didnt post anything wrong ....all post are related with this device and optimization...
[General Topics] OktaviAnabelle:
Right. That one is not the Device Owner version , this is how mine looks like , the old one including all of its premium features.

Btw , why didn't you just bought the one that is for the life time ?
[General Topics] KKYASIR:
can you plz explain it ..

1 Mobile fully charged

2 locked for 30 minutes ?

3 plugged in ?
[General Topics] mcdotcom:
Hello,

1, correct

2, correct and all background apps closed

3 , and plugged in the PC for the command
[General Topics] nokia_16:
I dont know whether this app will work as mentioned or not... so thought of trying. Thought of buying lifetime next year...
[General Topics] serene_sky:
How about "multicore packet scheduler"? Shoud I turn it on or off?
[General Topics] Haruu1416:
When adb commands and settings were in the op it was recommended to be disabled.
[General Topics] simoyellow27:
I've updated to android 13. No issues at all (s10 lite). After the update, i've debloated again everything and the phone now is FLYING. Now, as suggested in the OP, before updating, I've reinstalled everything and kept the phone like that for a fortnite and, in the meantime, I've turned adaptive battery on. Question: as i have debloated again after the update, do i have to turn it off and then on to make adaptive battery learn again or reset sdhms? Or i just leave it?

this is just a curiosity as i have the same SOT of when i had the phone debloated with OneUi 4.1, so really satisfied.
[General Topics] JimbaJumbo:
It is, root your phone, flash twrp, flash GSI and you got AOSP on your phone
[General Topics] OktaviAnabelle:
You don't have to turn it on & off , if you want your phone & battery to re-learn of how you use your phone , you just have to Clear the data & cache from the Device Care & SDHMS and then *#9900# and reset the batterystats from there
[General Topics] simoyellow27:
I've done it right then (apart the second thing). Thanks
[General Topics] rodken:
Not to beat a dead horse, but the method of clearing battery stats has been debunked many times over.
[General Topics] Hamid Chikh:
That one has disappeared in S22, even on exynos, i don't know if S21 running android 13 still has it. But please, feel free to conduct your tests and report back
[General Topics] Hamid Chikh:
SDHMS is SAMSUNG's, ADAPTIVE BATTERY is GOOGLE's.

Resetting SDHMS reset battery statistics in Battery care, there's no way to reset Adaptive Battery.
[General Topics] Hamid Chikh:
I'd advise against resetting battery stats from the dialer code, as it causes instabilities in some cases.
[General Topics] Hamid Chikh:
+1 here
[General Topics] mcdotcom:
Hello all,

one question about the *#9900#. It doesnt work debloated with stock dialer (samsung) or Google dialer. Any idea? It was Working on a12..

Attached the Screenshots.
[General Topics] OlehDokuka:
I restored all deloated apps, dialed the code, did stuff and then deloated back again
[General Topics] Emre67511:
Still there on S21+, exynos, android 13
[General Topics] mcdotcom:
Hello, okay thank you! I will try it 😊
[General Topics] serene_sky:
If you remove "com.sec.android.app.parser" then *#9900# won't work. (I tried it myself)
[General Topics] serene_sky:
Seems no different at all.
[General Topics] mcdotcom:
Hello,

Thank you! I restore it and try the batteryfix 😊
[General Topics] OktaviAnabelle:
Yes but the one that i suggested is just a .log/.txt files used for debugging , it is basically a junk , the one from the thread requires people to root their device and delete the .bin files from their system , i mean if i have to "root" my device just to reset the batterystats to fix whatever it is that is happening to my battery i'd probably gonna say NOPE , replacing it with a new one would be much more reasonable to me.

I think there are alot of misconceptions about resetting batterystats , it may help to recalibrate the battery (altough i'm not quite sure about this & not by deleting the DumpSys log files btw) but it certainly won't help to prolong the battery life
[General Topics] OktaviAnabelle:
What instabilities have you experienced ? It is basically just deleting a log files , the info that is used for gathering informations & debugging , a junk , just like clearing call log from phone settings & history from a browser , according to someone who analyze the log especially from Samsune phone , it stores the log / history of the battery info for up to 5 days while on Pixel phone he can't even get the log for more than 1 hour .

And what i did was basically clearing that log files for at least once a week . No issue so far after years of doing so .

Not to mention *#9900# works only on Samsung phone , others needs root/adb.
[General Topics] tinko975:
I disabled ram plus, s21, exynos. Or is it better to be turned od 2 GB? And multicore option should i turn on or not? Thanks.
[General Topics] Kris_b1104:
Finally got "Boost Battery" to work for the first time after reading this. I charged to 100% using my fast charger, then plugged it into PC, ran the bat file you uploaded and it worked. Took about 5 minutes to finish.

The crazy part is, after I ran the "Clear Cache" bat file, then "Boost Battery" bat file, I rebooted then ran Galaxy Guardian App Booster and it finished in 100 seconds! It usually takes 2-4 minutes for me when using that app. It never went as fast as 1% per second.

This might have been discussed before but does Boost Battery and App Booster do the same thing?
[General Topics] KKYASIR:
Yes its working
[General Topics] InfamousMykol:
Worked
[General Topics] Haruu1416:
Interesting, I thought my tests were over after I got my device stable, but I can see I'm going to have a nice job.
[General Topics] Hamid Chikh:
UPDATED PRESET/ADB OPTIMIZATIONS​
[General Topics] Hamid Chikh:
I don't really know if Samsung just decided to enable/disable it by default but in my S22 exynos, the option isn't there
[General Topics] Hamid Chikh:
Battery fix in OP doesn't require that app. I reiterate, that "fix" isn't recommended.
[General Topics] Hamid Chikh:
I STILL recommend AGAISNT doing that.
[General Topics] Hamid Chikh:
Too bad we didn't make a post to regroup all advised settings and recommended optimizations :/. You'll then have to scroll through all the pages, i advise you start from post #1 :)
[General Topics] Hamid Chikh:
Amazing, i'm not alone

Well, they're totally different. BAttery boost executes dexopt job, App booster sets all apps to "speed-profile" compilation
[General Topics] Kris_b1104:
I don't see any change in ADB Optimizations. Is it in OP or your other post?
[General Topics] il.:
Sorry for the dumb question. I just realized that I am facing some issues on my s22+ after doing some adb optimizations and debloat some apps. The problem is that when I turn off "Microphone Access" and then I make a call using phone or whatsapp app, it just hangs for a few seconds and then reboots my device. But when I try to record voice using the voice recorder app, there is no problem. II've tried restoring the debloated app but the problem still exist. The problem is fixed if only I enable "Microphone Access" before making any phone call. Sorry if I'm in the wrong place to ask, maybe someone is experiencing the same thing or can help provide a solution, thank you very much.
[General Topics] Axiomkid:
Need help running the bat files to try the boost battery. Keeping getting adb is not recognized?
[General Topics] rodken:
A short list of the usual suspects:

ADB driver not installed

Corrupted/missing files in ADB installation folder

ADB driver misconfigured

Outdated ADB driver

ADB command not found

Faulty USB cable(s)
[General Topics] skiku:
Try putting .\ before the command. Like ".\adb devices"

If this doesn't work, try "/" instead of the "\"
[General Topics] Hamid Chikh:
Updated ADB.txt file
[General Topics] Hamid Chikh:
DECEMBER UPDATE​

- Google Play system updates is still stuck in July

- Kernel is Still Android 12

- Battery seems better (deleted the low heat mode parameter)

- Telephonyui app now called "Always call to Korea" ???????

- ...
[General Topics] Hamid Chikh:
Updated OP
[General Topics] Hamid Chikh:
FINALLY BEEN ABLE TO REMOVE SAMSUNG GOS (Game Optimizing Service), known to kill and throttle performance.​

Available in latest preset configuration (PURE v.4)

This is a comparison:

Clien.net

This is the list of apps throttled by Samsung GOS

Linksharing

This is the reddit post

Reddit
[General Topics] Kris_b1104:
I have disabled some of my system apps like Game Optimizing Services through an app called Alliance Shield X.

Will I achieve the same result as this even though I am not using ADB app?
[General Topics] Hamid Chikh:
I never used that app, I can't tell you exactly if it does the same thing. I'd recommend using ADB to remove/disable apps.
[General Topics] abu46:
How were you able to remove GOS through adb? I have not been able to do that through app control our adb command and it again reappears
[General Topics] Hamid Chikh:
I was in the same boat, but after i factory reset my S21 yesterday, went to apply the preset and GOS was removed successfully. It might be that factory resetting fixes it, or it could be an update for one of Samsung apps that made it possible.
[General Topics] marios199546:
@Hamid Chikh do me a favor, reboot your device then connect to pc and get a logact (adb logcat > test.log) and share it please
[General Topics] Hamid Chikh:
@marios199546 are you having any issue after applying the preset ? Feel free to share your experience with us, we'll be happy to help.
[General Topics] Meruzzi:
After debloat I cant search in settings, how fix?
[General Topics] jdlfrnz:
@Hamid Chikh Hi Sir. I get this visual bug when selecting multiple items. Happens in gallery too.
[General Topics] jdlfrnz:
Also happens when selecting files on MyFiles app.
[General Topics] Jemec26:
I can't see the pure v4 preset.
[General Topics] jdlfrnz:
gos still auto installing on mine even if i apply the new preset. But it's weird that my geekbench score increased form 3100 to 3300 after applying the updated presets. (kept apps and features im using)
[General Topics] marios199546:
I haven't apply totally your preset. I use a lot of stuff that you remove (VoX, KNOX for work profile, quick share...) i want to see how the system is responding
[General Topics] Hamid Chikh:
BTU got February update, no OneUI 4.1
[General Topics] jdlfrnz:
Hi sir. can i ask about this? @Hamid Chikh
[General Topics] Hamid Chikh:
R

Restore "settings suggestions"
[General Topics] Hamid Chikh:
Never had this one, try restoring all apps and see if it's fixed.
[General Topics] Hamid Chikh:
Last post on page 31, also, presets are in OP
[General Topics] Hamid Chikh:
Try factory reset ? It fixed GOS reappearing for me
[General Topics] nocio:
Here you can download latest Google play system update. I downloaded it and mine is on November

https://www.apkmirror.com/apk/google-inc/main-compo
[General Topics] Hamid Chikh:
Why would it be called Always Call To Korea ? I think it's Spy service, i'll try uninstalling it and see if it doesn't affect calls and reception
[General Topics] Hamid Chikh:
UPDATED EXTREME PRESET​

- Battery drain is fixed (On the Samsung Side)

- REMOVED SPYWARE (Always Call to Korea ?)
[General Topics] Andrei0724:
If smart switch isn't recommended, then how do we transfer our files between new and old phones?
[General Topics] Hamid Chikh:
What i do:

- Google Backup

- Samsung Backup

- PC Backup

Factory reset ...

- Restore from Google

- Restore from Samsung

- Restore from PC
[General Topics] Axiomkid:
I seemed to have got the battery boost to work. There seems to be a simpler way of executing these bat files to run adb to connect to your device. Just cut and paste the files after you changed them to .bat into your ADB folder where the adb.exe resides and run the batch files from there.
[General Topics] Hamid Chikh:
I wonder why not all apps have the same green, for system apps