yashsingh1/xdaforums huggingface dataset:
[General Topics] Hamid Chikh:
After following and applying tips mentioned in This video, battery life has improved a lot for me. This update restores important stuff back we got rid of at the beginning.

##### LAST EDITED: 05-02-2021 ##### MAX PRESET V2.1

- Restored Samsung capture

- Restored system update

- Managed some apps

Waiting for your feedback

We're now at:

- 312 Deleted apps

- 2 Disabled apps (uninstalling these will break features).

- 100 Kept system apps

*REVIEW APPS BEFORE APPLYING PRESETS

*APPLY ALL 3 OF THE NEW PRESETS

*REBOOT INTO RECOVERY, CLEAR CACHE PARTITION 3 TIMES, THEN REPAIR APPS.
[General Topics] Plyhakyr:
if the programs are not deleted but disabled, will there be a difference in the autonomy of the phone?
[General Topics] Hamid Chikh:
Some features need some apps installed, even if they're disabled. That's why we keep those 2 apps disabled and don't delete them.

Samsung keyboard: needed for accessibility settings to work, if deleted, it'll crash.

Filter provider: needed for the camera app to work, if deleted, it'll crash.
[General Topics] Hamid Chikh:
As soon as i restored Samsung capture, i had drop frames across the whole UI and apps, I'm deleting that.
[General Topics] Michael root:
what is the package name of samsung keyboard reset
[General Topics] Axiomkid:
Interesting...🤔 Test anyone on S21 Ultra, I'm not by a computer at this time.
[General Topics] blackhawk:
Wow, how GOS has grown...

This is what it looks like on my N10+/Pie variant.

Lol, it's always been pretty worthless🤣
[General Topics] Roei.e:
I can't find the command in OP
[General Topics] Axiomkid:
Adb shell settings put global online_manual_url 0

I should add I tested this tweak and it doesn't work on S21 Ultra Snapdragon T-Mobile variant.
[General Topics] Roei.e:
it works on my S21 FE. I did the command twice then Force stop settings app and reboot.
[General Topics] Axiomkid:
I've tried all that and it still hasn't disappeared. It only appears to be this phone for some reason. Something needs more editing for this to work. This is much easier on unlocked phones.
[General Topics] blackhawk:
A Verizon phone?
[General Topics] Axiomkid:
T-Mobile..... I'm quite sure T-Mobiles bloat and script blocks are worse than Verizon
[General Topics] blackhawk:
Surprisingly AT&T doesn't seem that bad or at least they weren't 3 years ago.

I have 2 N10+'s, one a AT&T N975U, the newest one is unlocked N975U1. Other than the AT&T bloatware the unlock one had more bloatware, wtf?

Overall though they are nearly identical. I thought there be a big difference... there wasn't at least on these models.
[General Topics] Axiomkid:
I got my first Samsung phone with At&t the Samsung Infuse 4G and there really wasn't any bloat back then as compared to today's phones. And its amazing how they got all this bloat to work with one another and if you mistakenly delete one service you could mess up whatever dependency it had. It wasn't ever this way, theres just way too many dependencies and all these services work with one another. You seriously have to go through each service and make sure your not going to break something that an app you use requires. This is why most of us create our own debloat scripts. Your apps may not be what another person uses....
[General Topics] blackhawk:
I never use debloat lists. It took a while (months) to debloat my N10+ but the results are worth it. It runs like a bat out of hell and does what I want it to. Global power management (the Gookill bucket crap) never worked right, first thing I do is to not enable that. Then go looking for the bandwidth and/or power hogs. I deal with each on a case by case basis. Package blocking is my last resort unless it's complete crapware like Digital Wellbeing, I blocked that so fast. Emergency call too. No amber alerts on my phones. All feedback disabled.

My second N10+ is setup with the imported PD list from the first one. Only changes made were the new outright bloatware that was added to the unlocked version. I left the dozens of new, small Samsung system apps alone (Android 9vs10). Mucking with these will likely screw up the UI. I will play with it more but for now my old N10+ runs too good to put down.

The new Samsung's and OS's are dysfunctional nightmares so I continue to use "outdated" hardware and firmware, happily. I spent very little time doing maintenance. This load is over 2 yo now, still fast and stable.

That's how well a stock Android can and should run🧐
[General Topics] Hamid Chikh:
Updated ADB Commands​
[General Topics] Axiomkid:
I like how more manageable Samsung phones have become without rooting.... back then we didn't have the amount of debloat tools or a ADB AppControl program to edit the registry or a SetEdit app to edit the registry to change settings. You had to be rooted back then to debloat. Nowadays they have simple software workarounds. Rooting is frustrating for most users and most fear they f*** their warranty. Yes and No to that. I have in the past bricked my phone and got it replaced through warranty without issues, nowadays they care only for phone damage such as water damage and or a cracked screen. They can care less what you did to the software. Just prove you can at least power it on to show the bootloop 🤣
[General Topics] Hamid Chikh:
Guys, watchout for this app, it seems it's malware
[General Topics] Axiomkid:
I read somewhere about that here

https://www.sammobile.com/news/this-system-update-steals-data-samsung-device/
[General Topics] blackhawk:
That's new one... not on Pie.

How bad it's running vs do you feeling lucky today... I never feel that lucky🤣
[General Topics] Axiomkid:
Lol, security policy updates..... that's not there business.....Google handles that Thank You Samsung.
[General Topics] oriyakov:
Hey sorry to bother you but I need help

I want to apply the battery and performance tweak you posted to my s21 ultra

Do I need to factory reset my phone first?

Can I restore my things with smartswitch after the optimization?
[General Topics] blackhawk:
So user installed? People do the darndest things... you are what you load🤣
[General Topics] Axiomkid:
1. It's preferred to do a clean install if starting from scratch.

2. Stay away from smartswitch, it's preferable not to restore anything from a previous installation as it can cause issues. Especially if your going to do the optimization.
[General Topics] oriyakov:
thank you

can I restore only contact videos and images?

its ok I restored whatsapp right?
[General Topics] Axiomkid:
Yeah whatsapp is fine and for pictures and videos just store them to the cloud and just restore what you want when your done. Just don't use the smartswitch app or software for backing anything up to restore.
[General Topics] blackhawk:
All critical data should already be backed up redundantly. You can also use a OTG flash stick but you better have more backup than that!

WhatsApp? Shouldn't even be on the phone or any social media, shopping apps etc for that matter. Just trouble waiting to happen.
[General Topics] Axiomkid:
I can't trust those 3rd party apps. Malware and virus Infused apps waiting to blow your phone up. Lol , the only time I used smartswitch is because my replacement phone wouldn't update through system update. It was stuck on a June update and it kept saying it was up to date when it wasn't. I had to force push it through smartswitch to update to August patch.
[General Topics] blackhawk:
With installed social media apps you lose the browser as a buffer zone. People get conned into things like downloading a "driver" to view a vid. A large social media platform is a hacker's buffet. Malware ie scripted jpegs are real, seen them on Windows and Android. Their capabilities seem limited but there's always someone that wants to add a twist. If one gets in a large folder of files in the database it will be... fun.

Like its predecessor Kies, SmartSwitch can fail you miserably. Never use it to backup critical data. It's ok for homepage settings from the same model but that's as far as I go.
[General Topics] Hamid Chikh:
You don't NEED to, it's recommended to factory reset.

As written in OP, you should avoid smartswitch
[General Topics] wilsonbstian:
My Samsung cloud isn't working, what app & system app to reinstall?
[General Topics] Roei.e:
"Cloud" apps
[General Topics] Alaunus:
Is it possible this apk came preinstalled with firmware downloaded from sammobile.com? AFAIK those are supposedly clean downloads directly from Samsung's servers but I found this apk on both my A72s which have Indian(because call recording is available by default) firmware downloaded from there. One of the phones is a clean install with a few basic apps downloaded from google play and battery guru with adb permissions and yet the app is installed on it.
[General Topics] Axiomkid:
It has to come from Samsung, this is a pre-installed service.
[General Topics] Alaunus:
Well, this is both a relief and a worry that they preinstall malware. I've removed it on both my phones.

Do you have any idea about the "audioin" wakelock I made a comment about?
[General Topics] Kris_b1104:
That's Software Update,

The app Hamid was referring to was SystemUpdate
[General Topics] Axiomkid:
That as well is a pre-installed service from Samsung.
[General Topics] Hamid Chikh:
I know it is, that's why I'm suggesting you remove it
[General Topics] Axiomkid:
There really isn't a whole lot of information about this service and what it exactly is. But if I am to presume anything whether right or wrong. I see this as something that falls along side the software update. By disabling it your disabling any software updates. Please correct me if I'm wrong.
[General Topics] Kris_b1104:
I tried to disable it with Alliance Shield but it wouldn't let me. Then I blocked all data from it via firewall, then when I went to Software Update in settings, it tells me I have no internet connection to search for software update.

I then unblocked it from the firewall and it was able to search for a software update, without error this time.

So yes, I would say it does relate to Software updates.
[General Topics] Axiomkid:
I keep it enabled for that reason. I will take whatever patch I can get from this $1200 phone. If you disable the systemupdate service that means your happy with your current firmware, no longer wish to receive updates and don't have to worry with the updates screwing your tweaks up.
[General Topics] Hamid Chikh:
I receive my updates normally. Please, don't presume I'd make you do something I didn't test before. I have a list of 345 apps to remove, that's the whole purpose of this thread.
[General Topics] Hamid Chikh:
It seems that OneUI home launcher consumes a lot of battery, might get removed in next preset update
[General Topics] Alaunus:
Wait, why are wakelocks offtopic? If the purpose of the thread is to identify and fix battery drain, aren't wakelocks part of this?

If for example you see imsservice wakelock drain a lot of battery, you can consider sacrificing hd calls and disabling ims. Hence why I asked my question about the audioin wakelock...
[General Topics] Hamid Chikh:
All IMS services are removed in my preset, and HD call works fine for me.
[General Topics] AndroidWars:
I figured out if u using weather or a lot widgets. One ui home battery drain increasing huge.

Actually I like Nova launcher but with navigation gestures Last apps lagging 1-1.5 second delaying. That because I dont like. Did u notice lag nova launcher on navigation gestures?
[General Topics] Roei.e:
It doesn't bother you that you need to do all this debloat in order to get good experience? I thought about it.. we buy a flagship phone then we need to take care of it like a baby.. Samsung need to do that out of the box
[General Topics] Alaunus:
I gave imsservice as a general example. I mainly have problems with audioin wakelock.
[General Topics] Moe2003:
New changes?
[General Topics] abu46:
What is is the differnece between the uninstall 12 & 13 files that @Hamid Chikh recently posted?

Also what does the package com.sec.android.app.itracker do, sounds suspicious..
[General Topics] Hamid Chikh:
12 is for Android 12, 13 is for Android 13.
[General Topics] Hamid Chikh:
This isn't general Samsung support. If you have a question regarding something mentioned in OP, you're welcome to discuss, and I with all the members here will be glad to help.
[General Topics] abu46:
Ohh, my bad🤦‍♂️. Thanks!

Also any headsup on the itracker package?
[General Topics] blackhawk:
I keep this one disabled. Personally anytime Samsung updates anything on my N10+/Pie... it's a problem it seems.

Samsung's have to be optimized for best results and SOT. Much of the "bloatware" adds to the functionality and usability. Some modifies the UI to make it look right in the wake of Android 10 and up. Samsung added well over a 100 small system apks in Android 10, most should be left alone. On my N10+'s N10+'s Android 9/10 I have about the same number of apks disabled, 80.

After being correctly optimized for that user, Sammy's need little maintenance including updates. This N10+ in my hand hasn't been upgraded in over 2.5 years. This load is over 2 yo and runs like a bat out of hell.
[General Topics] Axiomkid:
The only issue that surrounds me over all of this. Is not many users are using the same phones. Samsung S21 Ultra still has known wide issues to date with screen refresh rates, ui lag, battery drainage. OK, so yes the debloating and a few adb tweaks may speed things up. But internally the issues are still there only because the actual coding and kernel, as well as build.prop all need to be modified, but even after all that there is probably still no fix to today's issues. I eventually hope that with the OneUi 5.0 being in the works, there's more promise than negativity that not all but some of the issues will get fixed. If they can't figure these issues out then the S23 will be a complete flop with the same issues all surrounding performance and battery. I do agree using a different Launcher than OneUI has significant battery and speed improvements but of course you'll lose Samsung features.
[General Topics] Hamid Chikh:
Yep, ended up going back to oneui launcher. But i did reset the app just in case it helps
[General Topics] Hamid Chikh:
Well we already talked about that. Samsung wants to sell a feature packed phone, and it works. Now me, you or anyone else here, we might need 1, 2 ou maybe 5 of those features, but we don't need all 334564929 of them 😂. So we disable what we don't need and that's an advantage we get compared to people that just use stuff because they bought it.
[General Topics] Hamid Chikh:
I don't know that package sorry
[General Topics] blackhawk:
I've read about the Snapdragon chipset issues. Some claim not to have them. For those that do it's a big mess that only a firmware update may be able to fix. Samsung is notoriously slow at doing these fixes. Eventually they get around to it...

That's odd, 3rd party launchers generally use more resources than One UI on my N10+'s except for really stripped down ones. It runs fast and very stable... or at least it should. Not using One UI defeats the whole purpose of having a Samsung in my opinion, you lose a lot of perks.
[General Topics] rodken:
Sometimes more of a reason to 'root' and get busy....
[General Topics] Axiomkid:
This is a test on my Samung S21 Ultra Snapdragon 888. Now this is the lowest score I get, but when the phone settles and I rerun this test when I haven't been multitasking between YouTube and Chrome I get scores between 1000 and 3200 max. There is definitely an issue with the Snapdragon models. I don't understand why the performance keeps dropping all the time and when that happens the phone lags. Sounds like a kernel issue surrounding the CPU. I noticed things are a mess, YouTube just opening a video and minimizing it to a small window the speed would still be there, but after a few mins here comes the lag and the refresh rate changes and becomes unbearable. This is a flagship phone I should be able to play videos and multitask without lag and the frame rate changing to a point where everything is just dragging. I've tried everything here as far as adb tweaks and debloating, and all optimizations. The Snapdragon is F'd up, this is my 2nd phone same test results.... warranty replaced dead pixel on my last device.
[General Topics] Roei.e:
I am trying to run the battery optimization command on my Dad's phone but it says Failure over and over again, why?
[General Topics] Hamid Chikh:
Still haven't found the issue, i get the same results sometimes, and it works over times
[General Topics] almora9:
i updated the applications without installing them. now the settings are not open. I need to load it with ADB or I need to reset it.
[General Topics] Hamid Chikh:
Restore all apps, reboot, then debloat again
[General Topics] mcdotcom:
Hello,

Connect the phone to your PC. Start the ADB console, wait for device is plugged in. Lock your phone for 5-10 minutes then try the Command. Then it works. I must do the same thing always for working this Command. I hope this helps
[General Topics] TheWinner2810:
Update: for anyone willing to do this on the Z Flip 3, go ahead!! I'm getting 9h of REAL SoT (not the sot that the device tells you, which is miscalculated since a few updates ago), and I yet haven't fully debloated the device.
[General Topics] mcdotcom:
I dont trust any files, from Google drive. Im very careful with these links. Anyone cac confirm this?
[General Topics] almora9:
only samsung applications were enough. not all of them are needed
[General Topics] TheWinner2810:
Here's various screenshots of the script running, I have scanned it multiple times and there's no malware detected on this file. You can trust it.
[General Topics] ** A - R **:
Using Samsung Customisation Service ?
[General Topics] InfamousMykol:
I have a little bug.. device care shows me a SOT lower than the real SOT, there is a system package, that I could have deactivated, which is related to the bug? Or even a way to fix it
[General Topics] blackhawk:
As long as it's not a huge discrepancy it may be normal.

I use Accubattery, Galaxy Battery Tracker and Device Care. They can vary between each other and don't necessarily track using the same parameters it seems. Accubattery's history log is my favorite for determining SOT.
[General Topics] Hamid Chikh:
It applies optimizations found in OP
[General Topics] slash4real:
I wonder what settings put global zram_enabled 0 actually does. I ran it, reboot, but the phone still has a ZRAM pool which is also filling over time. The default on Android 13 / One UI 5 is set to 1, whereas on Android 12 / One UI 4 it is null (or not set at all).

Spoiler content hidden.
[General Topics] Axiomkid:
My Samsung S21 Ultra Snapdragon on Android 12 One UI 4.1 it's set to 1 by default, changing it to 0 doesn't change the Zram pool it keeps filling as well. Seems the only way to turn it off completely is through root.
[General Topics] dusanl:
Where I can found this scripts to download?
[General Topics] Hamid Chikh:
All the tweaks are in OP :)
[General Topics] Hamid Chikh:
OneUI 4.1.1 owners​

I'm trying to port the performance profile setting to my S22. Can anyone share responsible ADB parameters please?
[General Topics] dusanl:
Yeah, there are adb commands but this is screenshots from some kind of "app" called Android Optimization Scripts v1.5. Also some guy mention that there are google drive links for that "app" which I cannot find :)
[General Topics] TheWinner2810:
The post below explains the script, and contains the download link of the script
[General Topics] dusanl:
Thank you very much!
[General Topics] rdubby:
Which package is responsible for MMS (picture texts) it seems that I have uninstalled something and now I can't send or receive picture texts, only regular texts. I did not uninstall com.android.mms.service or com.sec.imsservice as OPs suggests, so I do not know what it could be.
[General Topics] yRorschach:
Good night, Does anyone know why the apps don't appear when I try to put them in sleep or deep sleep.
[General Topics] Hamid Chikh:
Restore SCPM and SDHMS
[General Topics] Hamid Chikh:
It's not ims but you can try restore it, ans also restore mms
[General Topics] yRorschach:
oh, it worked here, in the guide there is the 'Disabled' file and in it there is the Sdhms process. the ideal would be to do all the sleep and deep sleep configuration and then disable Sdhms? or would leaving it working wouldn't be so much problem?
[General Topics] forjest63:
hello, thank you very much for this nice work. I turned off autoplay from play store, but videos still play automatically in google chrome. How can I turn off autoplay in chrome. thank you
[General Topics] wilsonbstian:
Nevermind, i found the app to make the samsung apps work, thanks
[General Topics] Hamid Chikh:
If you need those Samsung app power management features, leave those apps installed, if not, uninstall them.
[General Topics] Hamid Chikh:
Settings applied to Google play store don't apply to chrome, see chrome optimization section in OP.
[General Topics] Hamid Chikh:
I advise switching to Google Autofill, but if you really want Samsung's. Search and restore all apps with:

PASS

AUTOFILL

AUTH

If still not working (reboot and test again), restore

KNOX.
[General Topics] Hamid Chikh:
UPDATED PRESET FOR ANDROID 12​

Check OP
[General Topics] wilsonbstian:
now this is my main problem, i still need to use mobile data, what app can i install to work?, it wont turn on&working after debloat

and the volte icon is gone.. help please

Is it phone app? Msg? Or any else?
[General Topics] forjest63:
How can we convert ADB optimization settings to bat file? please help. thank you
[General Topics] yRorschach:
thanks bro, with the help of this post I managed to improve the battery of my Samsung S21. And I still haven't used all the ADB commands, nor have I used list 12 or 13 to disable system apps. just a light Debloat and about 20 ADB commands, the initial configs and I've had good results.
[General Topics] mcdotcom:
@Hamid Chikh can you make changes in op page in a other color? So its mabye easier to See whats changed.. And THX for this mega thread and work for this community
[General Topics] Hamid Chikh:
Mobile data works fine for me, i use it too, it's essential. Try restoring all "EUICC" apps, if still not fixed after reboot, restore "IMS"
[General Topics] Hamid Chikh:
Just rename .txt file to .bat
[General Topics] rdubby:
I never uninstalled IMS or MMS. It's something else that's not allowing MMS.
[General Topics] slash4real:
I think it could also be device specific. For Android 12 I have used my Snapdragon N20U, whereas for Android 13, Exynos S22U. I haven't checked the S22U while it was on Android 12.
[General Topics] caingatcarl:
I have an issue in the messenger app. I really don't know if it is related to debloating but incoming calls wont show up on the screen, even in the notifications except when the call ends, then I have a missed call.
[General Topics] Hamid Chikh:
Set default phone app before uninstalling one
[General Topics] Hamid Chikh:
All Android phones have zRAM enabled by default.
[General Topics] Hamid Chikh:
Restore EUICC
[General Topics] Hamid Chikh:
Anyone got OneUI 4.1.1 ? ​

I'm on AVH9/AVHE and still nothing for EUX
[General Topics] forjest63:
Can you prepare a bat file for ADB settings and add it to the home page? thank you
[General Topics] caingatcarl:
Should i reinstall the app or something?
[General Topics] mcdotcom:
I

Thought this is only for thr fold series?

Here the link

Samsung brings latest One UI 4.1.1 and One UI Watch 4.5 to older devices

Samsung launched a handful of new products last week. The Galaxy Z Fold 4, Galaxy Z Flip 4 and the ...

www.sammobile.com

Correct me please, if i wrong
[General Topics] Axiomkid:
I've been keeping tabs on that page, seems 4.1.1 is only being released for the fold series at this time. There was talks about the update coming out for the S21 and S22 series, but Why? S22 should be getting an upgrade to a stable release of OneUI 5 within a month or so.... Hence there hasn't been any security patches yet for September nor any talks about one. S21 series will likely be waiting towards the end of the year into the beginning for the One UI 5.