yashsingh1/xdaforums huggingface dataset:
[General Topics] Hamid Chikh:
PRESET UPDATE​

Yesterday's preset caused heat/battery drain problems for me. It's fixed now
[General Topics] InfamousMykol:
Which apps caused drain?
[General Topics] aurares:
In the "General Fixes>Fix Battery Leak (IMPORTANT)", how do you guys decide what to turn off and on, surely turning off a lot of these services will break features no?

Do you just go about it with the scorched earth approach? there's so many services that aren't very descriptive in what they do. I'm not sure what and what not to disable.

EDIT: Should I just go about using the "UADB-GUI>recommended" tool and remove either all google or samsung services. This is the tool in question: https://github.com/0x192/universal-android-debloater
[General Topics] kevinco1:
Thanks for this, but I'd rather pick and chose selectivity from a list of the ADB commands instead of running this BAT file in one swoop
[General Topics] Haruu1416:
You can change the name of the file to .txt and then get the commands one by one
[General Topics] skiku:
Hi,

Sorry if this is a bit off topic but does anyone know if any of the debloated apps makes Theme Park not working?

I already updated the app to the version that supposedly works with one Ui 5 but so far it stills gives an error.

Thanks

EDIT: nvm found the app. It was com.samsung.android.themecenter. I also have com.samsung.android.dynamiclock enabled
[General Topics] darek5cro:
Hi.

After updating my S21 Ultra to ONE UI 5/ANDROID 13 I am getting less SOT than I had..

Did not change anything from first page, but now my SOT decreased from 7.5h to 6.45h with same use. @Hamid Chikh or anyone else, did you tested what could cause more battery drain with this new android/one ui?

Thnx for advices
[General Topics] Klaudas:
If it's first or second day with new software don't worry. It will go back to normal. Atleast for me first day was rough but on second day I was getting same SOT but with perfomance increase(those new animations looks good atleast for me)
[General Topics] Hamid Chikh:
Some config apps, i thought it would've been a good idea to restore those
[General Topics] Hamid Chikh:
Usually, you can't disable an important permission, also, most of the times it's obvious.

For exemple, if you remove Maps permission to location, you'll obviously won't be able to navigate using GPS.

If you remove phone app's permission to phone calls, you'll obviously won't be able to make calls.
[General Topics] Hamid Chikh:
Please, edit your post and share the solution for others to see.
[General Topics] Emre67511:
You can also clear cache and repair apps after such an update
[General Topics] serene_sky:
Anyone has problem with "Predictive back animation"?

I enable it in deverloper mode, but it show the message.
[General Topics] InfamousMykol:
If I'm not wrong lockscreen and dinamick clock apps are related to Theme Park and similar
[General Topics] Reicoler:
@Hamid Chikh *WARNING* dont change the buffeer log size, IT DOSENT HAVE ANYTHING TO DO WITH LOGGING(privacy wise) its just messing with sound quality! Its some sound thing remove this from the developer option section pls!
[General Topics] Haruu1416:
I just noticed this a while ago but I ended up thinking it was the damaged power button. but the problem is that there are occasions when the Power button does not respond and sometimes it works with the device working. I turned it off through the notification panel and tried to enter recovery and it worked perfectly, I was able to browse without problems and well... I have no idea what it could be.

Please if anyone knows how to fix this problem I would be very grateful.
[General Topics] Reicoler:
Its the qulity while recording tho
[General Topics] Haruu1416:
I don't understand bro
[General Topics] Hamid Chikh:
NEW FLASH !!!​

Turns out, snapdragon devices don't support some features, which were on the ADB commands list, ported from Exynos (My S22). It *might* be the reason some people had troubles.

I noted amongst those, cached_app_freezer (Suspend the execution of cached apps in dev options) and app_standby_enabled. So please remove those with these two following commands:

adb shell settings delete global cached_apps_freezer

adb shell settings delete global app_standby_enabled

And if you never applied them, please, confirm that you don't have those so that i make sure they don't work on SD devices. Thanks.

You can always enable them if you want or if they're originally on your phone:

adb shell settings put global cached_apps_freezer enabled

adb shell settings put global app_standby_enabled 1
[General Topics] Hamid Chikh:
That's not sound buffer size don't worry 😂
[General Topics] Hamid Chikh:
I don't see a problem. This is for DEVS to know, it works just fine
[General Topics] Kris_b1104:
I will donate to you AGAIN to put back the ADB commands 😂😂
[General Topics] Kris_b1104:
cached_app_freezer works on my Snapdragon S22U
[General Topics] Hamid Chikh:
We'll make it a challenge 😂, if enough people go for it, i'll put them all back again into OP and continue improving them 😎.
[General Topics] KayserXDA:
I have an A52s with a Snapdragon 778G and I do have the option "Suspend the execution of cached apps in dev options", which came available from factory.

As for the "app_standby_enabled" I did apply it through ADB but I don't know if it came available from factory. Right now I can see it 2 options below "Suspend the execution of cached"
[General Topics] Hamid Chikh:
It might be because you already applied the setting with ADB, can you try deleting the parameter and checking again if it's still there ? You can always enable it back.
[General Topics] Kris_b1104:
It was available when I got the phone out of the box and enabled Developer Options before doing any tweaks.
[General Topics] Hamid Chikh:
That's odd, S20 5G snapdragon doesn't have it
[General Topics] sapanag:
My s22 plus SD also have Suspend the execution of cached apps before applying Adb commands or debloats.

But had nothing like app standby enabled one
[General Topics] OktaviAnabelle:
I

I'm on it , it would be a long-form post to be honest.

The battery seems very consistent , it's about 5% for 1 Hour of SOT on average when doing some simple multitasking task like browsing & playing music with my bluetooth on
[General Topics] orgshooter:
Yes, please write it down and tell us what device it is!
[General Topics] KKYASIR:
background check and cached app available in S22 ultra SD
[General Topics] serene_sky:
excellent, please share your debloat + setting.
[General Topics] Reicoler:
Omg sorry (;
[General Topics] InfamousMykol:
Which is the exact adb command pls?
[General Topics] InfamousMykol:
My brother on his S22 (oneui5) tried to set (with setedit) this value in the system table, but Hz remain between 24 and 120, why?
[General Topics] sapanag:
try this command. We used this one on oneui 4

adb shell settings put system peak_refresh_rate 96.0

adb shell settings put system min_refresh_rate 96.0
[General Topics] Hamid Chikh:
No need to set "min" value, i was able to get it ADAPTIVE (24-96) with just "peak" command
[General Topics] Hamid Chikh:
PRESET UPDATE​

Latest preset update is ROCK STABLE

ADB commands coming soon ??????
[General Topics] alex6600:
Is someone already tried to disable Ram Plus in oneUI 5?

Does it affect performance?

Or disabling still leaves 3 GB Zram?
[General Topics] InfamousMykol:
Ill'try thx
[General Topics] Djsemp89:
Please Hamid upload the adb commands. Or DM them if possible so I can save this time 😥
[General Topics] InfamousMykol:
{Mod edit: Quoted post has been deleted. Oswald Boelcke}

I think u should only reset, It happened the same on my brother' S22 some update ago
[General Topics] paul222008:
deleted
[General Topics] InfamousMykol:
I tried few things but without settings and adb working I couldn't do anything, I couldn't even turn on the wifi. You can try with someone' system.apk, I hope it will work
[General Topics] Chrisnik:
Please share your debloat list and settings bro.
[General Topics] serene_sky:
Seems like I only can disable gos.

Everytime I uninstall it by ADB appcontrol, it'll reappear after a time.
[General Topics] AndroidWars:
Yes On Android 12 u can disable GOS

On Android 13 u can uninstall GOS
[General Topics] Luispacheco2552:
is it possible to use this command to downgrade to adaptive 48hz on s21 ultra?
[General Topics] serene_sky:
but I have android 13.
[General Topics] lusui:
подскажите есть смысл отключить RAM+ на s22 ultra ???
[General Topics] DjSound:
Hi everyone,

i followed oneui5 preset in first page, but have this problem:

Any Idea how to solve? It stucks on "secure keyboard opening" .

Already tried to uninstall. clear cache, wipe, repair app etc.

Thank you!
[General Topics] InfamousMykol:
Prova a riabilitare tutte le app, fai clear cache e repair apps e configura. Ci sono varie funzioni samsung che vanno configurate prima di fare il debloat, come Samsung Pass, Battito cardiaco in SHealt, bixby e altri.

Try re-enabling all apps, clear cache and repair apps and configure. There are various samsung functions that must be configured before debloating, such as Samsung Pass, Heartbeat in SHealt, bixby and others.
[General Topics] DjSound:
Ok i will try, thank you :cowboy:
[General Topics] InfamousMykol:
Let me know :)
[General Topics] DjSound:
Worked like a charm!

Really annoying as a procedure but solved it. Probably there is some specific package that is required for these configurations.

Anyway Thank you 🙌

EDIT: But now I'm afraid to remove the packages from the list on the first page again 😐
[General Topics] InfamousMykol:
Once you have configured the samsung apps you can disable all bloatware without problems, except some packages like Samsung account, those related to Samsung Pass (authfw or something similar) ecc..
[General Topics] DjSound:
Ok done again, seems everythings ok 🙌

Thank you again 😁
[General Topics] InfamousMykol:
Np bro🤪
[General Topics] Hamid Chikh:
Restore everything , continue this setup, then debloat again. As stated in OP, debloating should only be done after setup
[General Topics] Hamid Chikh:
ANDROID AUTOMATIC OPTIMIZATIONS​

Turns out, Android will automatically boost apps (Compile for Speed-profile) when device is idle, fully charged and charging.

SOURCE

Also, it says that starting from Android 14, all apps will be Speed-profile filtered.
[General Topics] Hamid Chikh:
Light Performance Mode (From Z series)​

Some people are claiming it works for Galaxy S22, which a lot of us already tested for weeks and results were all over the place, from placebo, positive and negative.

So i'd like to give it a chance and invite you all to try it once again, and report back, please. Thank you.

Testing includes benchmarks, SOT (controlled) and small bursts of app consumption, feel free to do one or more of these.

Enable LPM​

adb shell settings put global sem_low_heat_mode 1

Disable LPM​

adb shell settings put global sem_low_heat_mode 0

Remove LPM parameter (default)​

adb shell settings delete global sem_low_heat_mode
[General Topics] InfamousMykol:
Works on oneui 4.1?
[General Topics] sapanag:
on oneui 4.1 it didnt for me. Lets see if it works on One ui 5🤞
[General Topics] Hamid Chikh:
Android 12 Kernel in Android 13?​

I just realized, Samsung is still using Android 12 kernel in the latest stable build of Android 13 One UI 5
[General Topics] Hamid Chikh:
LIGHT DEBLOAT PRESET​

This is just a test, but since a lot of you asked for it, i tried making one. You guys already know, it's impossible to make the PERFECT preset for EVERYONE at the SAME TIME, since to each their needs and priorities. You can start here and add/remove stuff !
[General Topics] sapanag:
I saw them using old kernels in beta but as per leaks it said official version will be on latest kernels. But this is step back
[General Topics] Hamid Chikh:
I actually am getting better experience with this debloat preset
[General Topics] Hamid Chikh:
Might be the reason November patch took so long ? The real full update might be coming soon
[General Topics] Hamid Chikh:
PRESET UPDATE​

- Old OneUI5 has been renamed to EXTREME preset now

- New S1 & S2 presets introduced for Level 1 & 2 Debloating !

I want you guys all to PLEASE TRY IT:

- Save your current preset (in case you'd want to go back to it)

- Restore everything

- Apply new preset (obviously uncheck what you need)

- Test for 48-72h, and REPORT BACK PLEASE
[General Topics] nocio:
Hi Hamid, in this preset do you keep Samsung phone, contacts and messages app or did you remove it?

Also, can you please elaborate why you prefer to use Google phone and message?
[General Topics] sapanag:
yes actual proper android 13 is on Nov patch. Even users complain of battery issue with stable update which will be fixed on Nov update
[General Topics] InfamousMykol:
I'll test on my S10+ oneui 4.1
[General Topics] serene_sky:
Honestly I think we just should remove apps that running on background. Remove the others only help gaining a small disk space but make some functions broken

Now my preset has 121 apps.
[General Topics] Djsemp89:
Can you share your preset please?
[General Topics] nokia_16:
will test and update. Going to reinstall my s22 ultra (Snapdragon) and will apply this preset once my device is configured for full use. Also along with this preset have you used any adb command for google core and low heat mode?
[General Topics] Hamid Chikh:
These are the only ADB Commands i applied starting from yesterday, after a CLEAN FLASH AND NO RESTORE
[General Topics] Hamid Chikh:
ANDROID SYSTEM INTELLIGENCE​

Do you guys get the same when viewing the app in the PlayStore?
[General Topics] Hamid Chikh:
That's what STABLE preset is about
[General Topics] Hamid Chikh:
Allow Window-Level Blurs​

What i find odd is that the setting actually exists, but is hidden. We already know how to set it using ADB but I'm wondering why Samsung would deprive us from an option this powerful.

Disable Android 13 Blur:​

adb shell settings put global disable_window_blurs 1

Default:​

adb shell settings delete global disable_window_blurs
[General Topics] InfamousMykol:
The dialer's code *#0228# doesn't workshop anymore in my S10+ (instead of *#9900#), I enabled all apps, did clear cache and repair apps but it didn't change a thing. How to fix?
[General Topics] Hamid Chikh:
You're welcome mate, squeezing any last bit of juice out of our phone!

And by the way, since the presets contain apps other Samsung's, you can apply them to any Android phone, it'll just ignore the apps that aren't installed in the first place.

Actually, i applied what's available of these settings and also applied the presets to my girlfriend's Pixel 3 and it doubled its battery life
[General Topics] Hamid Chikh:
###### SETTINGS UPDATE #####​

Under battery settings:

- Set Power Mode (Processing Speed) to HIGH.

Also, since some of you got the February update that seems to have solved drop frames and fixed 48Hz mode, feel free to re-enable that using ADB (for those that disabled it previously by setting it to 60hz).

3 - Limit refresh rate to 96hz (stays adaptive but doesn't go past 96hz)​

You can use the console tab in ADB AppControl:

- adb shell settings put system peak_refresh_rate 96.0 #sets high limit to 96Hz

- adb shell settings put system min_refresh_rate 48.0 #sets low limit to 48Hz.
[General Topics] Hamid Chikh:
##### LAST EDITED: 22-02-2021 ##### REASONABLE PRESET V6​

- Managed some apps

Waiting for your feedback

*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] chrisQQ90:
I like the features but having problem to add 2nd sim card as esim. Can you please advise which apk should I restore to make it working?
[General Topics] Hamid Chikh:
Restore everything with "sim" in it
[General Topics] Ivixmax:
just a few things mate.

- if you put Spotify connect in the background" off the songs stops with screen of in a little minutes

- Under "Sleeping Apps" add all your apps. this makes no instante notifications on whatsapp,telegram gmail and similar apps

i think these settings are very drasctic
[General Topics] NozGojira:
I never put on sleep and deep sleep these 3 on mine. Whatsapp, messenger and spotify. That's a fact puting them on those will cause problem
[General Topics] dantexaiver:
So was debloating my Galaxy S10e and now my recent apps button isnt working at all what package did i remove that this could be related to ?

NVM i found it it was the OneUI Home i removed i restored it and issues resolved
[General Topics] dantexaiver:
What would happen if i completely strip all knox apps ?
[General Topics] Kaddy2727:
I applied it on my Xiaomi Mi 10 5g and it went into bootloop :/ , I had to re-flash the ROM again

So be cautious
[General Topics] NozGojira:
Are you guys experienced too that theres some point that touchscreen not working on our phone you cant touch or open any app except home back and recent apps button? No choice but to restart the phone again then it'll be fine
[General Topics] Hamid Chikh:
- Spotify works fine for me because i didn't add it to sleeping apps.

- Instant messaging apps and other apps you need realtime updates from shouldn't go to sleeping apps.
[General Topics] Hamid Chikh:
Sorry to hear that, as i said, i tried on different devices and never had problems. You can try yourself and test, it might just be a single app that causes that.
[General Topics] Hamid Chikh:
Nope, never had that. I'm pretty sure your problem comes from one app. Try safe boot and see if the problem remains.
[General Topics] Hamid Chikh:
Knox is completely removed on my presets
[General Topics] Hamid Chikh:
The preset presumes you have gesture navigation enabled, i deleted the 3 button navigation system
[General Topics] Hamid Chikh:
Thanks for your input, I just updated OP for sleeping apps configuration
[General Topics] chrisQQ90:
i have restored all apps after serching "sim" it still didnt work pnly after restoring all apps its fine again. it has to be something else
[General Topics] NozGojira:
How is that?
[General Topics] Hamid Chikh:
Try restoring ims stuff
[General Topics] Hamid Chikh:
ADB COMMANDS I'M USING NOW​

After a Clean install (No restore) i started from scratch to create a new and safe list of ADB commands, i'm slowly adding step by step some that i find useful and SAFE.

Here's what i have applied UNTIL NOW, this list is going to be updated as i add more overtime (If i do) to TEST new stuff.

Device name​

adb shell settings put secure bluetooth_name H-banGG

adb shell settings put global device_name H-banGG

adb shell settings put global synced_account_name H-banGG

System​

adb shell settings put secure long_press_timeout 250

adb shell settings put secure multi_press_timeout 250

adb shell settings put secure accessibility_captioning_font_scale 0.7

adb shell settings put global online_manual_url 0

Disable Blur​

adb shell wm disable-blur

adb shell settings put global disable_window_blurs 1
[General Topics] Hamid Chikh:
You said it yourself, if you restored everything and still didn't work, that's a Samsung problem.
[General Topics] InfamousMykol:
Doesn't it work for you too?
[General Topics] Hamid Chikh:
Google Play Services Battery Drain​

So it seems i'm having GMS causing some battery leak, which is totally normal after a fresh flash. What i do is i uninstall these 3 apps using AppControl while checking clean app data, then restore them, then reboot. I get asked

.
[General Topics] Hamid Chikh:
#EXPLAINED - List of App Packages​

GITHUB

ALLIANCE

Adding more ...
[General Topics] VinTaco:
I now have this blank bar on my screen where the nav buttons would be, and nothing fills that space. What do I do to revert this? It's like 1cm of space right at the bottom. On OneUI 5 and I can't recall what I changed to get this, and it's now bothering me.

Sorry for my lack of paying attention.
[General Topics] serene_sky:
Just restore "3 navigation buttons" or use gesture feature.
[General Topics] VinTaco:
I have only ever used gestures, I removed the buttons when I got the phone.
[General Topics] Hamid Chikh:
New debloat levels
[General Topics] mcdotcom:
Hello Hamid,

i will test out later today your presets. One question whats is Level 1 or level 2? Or whats the difference?

Do you want more details like our Smartphone Models (with chip exynos or Snapdragon?) firmware etc so its maybe easier to find out whats better (i know its often personalized but its maybe a good way for other users)
[General Topics] Hamid Chikh:
Enhanced Processing​

I was checking my GF's S20 5G SD865 and it's miles faster than my S22. I checked the parameters and found that it doesn't have/support enhanced_processing. So for testing purposes, i deleted the otherwise default line of parameter from my phone and it's a lot better now. Might be placebo, since I'm only testing, but the results are promising up until now.

It seems the "optimised" mode is the hold back here, i set mine back to optimised, deleted the parameter using the following command, then rebooted:

adb shell settings delete global enhanced_processing
[General Topics] skiku:
This one global "enhanced_processing"?

Isn't this command the one that controls the "optemized", "high" and "maximum" processing speed?

Just asking before I mess up my phone, I wanna try that too :P
[General Topics] sapanag:
same here for me
[General Topics] sapanag:
Looks like a fresh start. But we really needed Light debloat. which i was melding since weeks as per my usage.😍😍. Now i think new users will face less issues after debloating
[General Topics] Hamid Chikh:
Yep, i removed it
[General Topics] sapanag:
🤔🤔 means??

U mean high performance?? in my s22 when i switch to high mode. Enhanced processing turns 2 and cpu responsiveness turn's 1
[General Topics] skiku:
Just tried it and, after deleting, I changed from high to optimize and it re-appeared.
[General Topics] mcdotcom:
Hello Hamid,

i use the second level preset now for testing. :)
[General Topics] Hamid Chikh:
No, we already explained that. High get's enhanced processing to 1, and maximum get it to 2 with cpu responsiveness to 1
[General Topics] Hamid Chikh:
I set it back to optimised, removed the parameter, and rebooted
[General Topics] Hamid Chikh:
Here's the command to delete if you want to test. Default is obviously 0
[General Topics] sapanag:
delete
[General Topics] Hamid Chikh:
Okay, then if you set it to maximum, what do you get ?
[General Topics] sapanag:
ohh man. I used Maximum only. got confused with High and max. My bad

sorry for confusion
[General Topics] Haruu1416:
Only pixel phone
[General Topics] Hamid Chikh:
It's still preinstalled on Samsung phones
[General Topics] Haruu1416:
I didn't know, I thought he was exclusive to pixels with a12
[General Topics] dominicstg2:
i find im getting better batterylife with this and stable debloat on my s22 ultra sd
[General Topics] dominicstg2:
i still have all your old adb commands should i reinstall and only install those ones in the screen shot?
[General Topics] Hamid Chikh:
UPDATED PRESETS​

- S1 is the least debloating i could imagine

- S2 is the middle ground (my current config)

- Extreme is the most apps you can remove without the phone going into bootloop.

Check them out in OP
[General Topics] Hamid Chikh:
Latest S2 preset update is ROCK SOLID, less heat is generated and battery is better. Wondering why ? Turns out Samsung packs some security services that consume power under "Android System" entry, when taken off, the phone is miles better.

Also, low heat mode seems to have an effect (placebo?), but only when GOS is enabled
[General Topics] InfamousMykol:
Low heat mode is only for oneui 5 or also for oneui 4.1?
[General Topics] Reicoler:
where are all of the adb commands tho?
[General Topics] Hamid Chikh:
One or two pages back
[General Topics] livystewy01:
Question, to get back split screen view which app do I restore?
[General Topics] stepinac:
com.samsung.android.app.appsedge
[General Topics] Hamid Chikh:
Is this a bug or is there an app responsible for this ? I never had this show up I'm not even charging. SDHMS isn't removed
[General Topics] Lurien:
Ive been away from this thread for a bit. Are these new presets ok for the snapdragon S22 ultra? Thanks.