yashsingh1/xdaforums huggingface dataset:
[General Topics] halilb1978:
Do u use a firewall like Trackercontrol? It is helping lot to privacy and battery ( also u can block many apps' internet access). Also combining Trackercontrol with Invizible pro helping lot. There are many trackers working at background . Also Permission Manager X is very helpful for privacy and battery. U can ignore apps background, unnecessary permissions. Google and Samsung apps eating battery :( better to replace as much as with foss apps.
[General Topics] Sigen:
I have an s20 exynos phone with android 12 which has been constantly overheating and has only 3-4 hours SoT. Now with galaxy max hz, I get 7 hours SoT in 120/60 adaptive mode without warming up. Thank you for your work and your tips!

Edit: This is today's use. 80% on wi-fi, 20% on mobile data.
[General Topics] Hamid Chikh:
There are adb commands in OP, you don't need an app to set refresh rate.

This thread is specifically here to fix that, read OP
[General Topics] Ardysan:
Aha found it thanks!

I've enabled -

com.google.android.apps.carrier.carrierwifi

com.sec.epdg

com.sec.imsservice

com.sec.sve

But wifi calling is still dead - and not in the settings (e.g. no way to switch it on - and it does not work by default).

Ps another WiFi related bug.

When it asks you to sign in to the network which has web dialogue, you click and nothing happens...
[General Topics] Sigen:
Thanks, i tried. Unfortunately, with the adb command, the s20 does not work in adaptive mode.
[General Topics] Hamid Chikh:
Read op again
[General Topics] Isitiah:
After one command lock screen option in settings is crashing
[General Topics] furquim97:
"Continue setup after reboot" this part?

So I should restore the apps after the offline setup? If that's so, thank you very much!
[General Topics] sapanag:
which command was that???
[General Topics] Hamid Chikh:
I don't know what decompressioning is

Commands are devided into groups already

Yes

You're welcome
[General Topics] Isitiah:
I just don't know because I restored the commands from the samsung, system category AND lockscreen AND it didn't help.

I will still try to see with other categories
[General Topics] MemurBey:
Me too

Pls help which command was this

@Hamid Chikh

I will factory reset my phone and no more adb codes.
[General Topics] Isitiah:
adb shell settings put system accelerometer_rotation 1

adb shell settings put system font_scale 1.0

adb shell settings put system font_size 2

adb shell settings put global animator_duration_scale 0.4

adb shell settings put global transition_animation_scale 0.4

adb shell settings put global window_animation_scale 0.4

adb shell settings put system display_night_theme_wallpaper 0

adb shell settings put system hdr_effect 1

adb shell settings put system screen_auto_brightness_adj 0.4

adb shell settings put system android.wallpaper.settings_systemui_transparency 0

adb shell settings put system auto_brightness_transition_time 0

adb shell settings put system auto_screen_on 0

adb shell settings put system blue_light_filter_adaptive_mode 0

adb shell settings put system colortheme_app_icon 1

adb shell settings put global colortheme_app_icon 1

adb shell settings put system dim_screen 0

adb shell settings put system lock_adaptive_color 1

adb shell settings put system lock_application_shortcut 0

It's one of this commands
[General Topics] Hamid Chikh:
Thanks for your input and help
[General Topics] Hamid Chikh:
I still don't know which one is it, feel free to help us find it by trying reversed adb commands
[General Topics] Hamid Chikh:
Thanks for your help
[General Topics] ryudhruv:
i also had to reset my settings to default as lockscreen editor is not working and crashing after the adb commands

and its one the display commands .

i have tried reversing the adb commands but no luck
[General Topics] ryudhruv:
FOund it

adb shell settings put system lock_application_shortcut 0

this is the one causin it

please remove it thanx
[General Topics] Hamid Chikh:
Thank you very much for you effort, but it doesn't seem to work for me. How did you get to it ?
[General Topics] ryudhruv:
This is the command that is causing lockscren custmoisaitons to crash.. imean u cannot set wallapaer or customise lockscreen If u execute this command.. once u execute this command the only way i found to come back is to reset all the settings under reset phone section
[General Topics] Hamid Chikh:
Have you tried reversing it ? Or deleting it ?
[General Topics] Hamid Chikh:
Here's the list of the new adb commands i added last time, some of them were already in the list, but i can confirm 100% the culprit is in this list. Let's get into it, let's fix this bad b**ch
[General Topics] Hamid Chikh:
UPDATE:

I reversed all adb commands and it's not fixing the problem. I'll sacrifice myself and factory reset, i'll rewrite ALL ADB COMMANDS from scratch.

I THINK it's some commands in the wrong category (system/secure/global)
[General Topics] sapanag:
I have applied all your presents and adb commands even the new ones except for all in feedback ,Gesture , lookscreen and notifications. and i don't face any issues of lookscreen crash issue. even able to edit lockscreen function and all others
[General Topics] Hamid Chikh:
Yes, that's why i deleted those sections from OP. Thank you for weighting in tho
[General Topics] Isitiah:
These, unfortunately, will not help. I have used every command in the display category except the faulty one and everything works fine.
[General Topics] Hamid Chikh:
UPDATE

It's one of the commads in LOCKSCREEN section. Still working on it
[General Topics] Hamid Chikh:
HERE'S THE CULPRIT​

adb shell settings put system lock_application_shortcut 0

I'll try to find a way to fix this
[General Topics] Hamid Chikh:
YOU WERE RIGHT, THANK YOU
[General Topics] Hamid Chikh:
ADB COMMANDS UPDATE​

FIXED ADB COMMAND CAUSING LOCK SCREEN SETTINGS TO CRASH
[General Topics] Hamid Chikh:
OCTOBER UPDATE FIXES CAMERA SHUTTER LAG ?​

Rumor is floating that Android 12 October patch (AVI7) fixes camera shutter lag, can anyone confirm ?
[General Topics] rubenswing:
yes it does..at least for me
[General Topics] sapanag:
@Hamid Chikh m curious what this command does :-adb shell settings put global google_core_control 0.

this one just made gms services to go away from battery usage❤️❤️
[General Topics] Hamid Chikh:
You're welcome 😎, it reduces wakelocks for GMS services
[General Topics] vincetarrosa:
My problem: I am now unable to upload to Google Drive using other applications. If I want to upload to my Drive, I have to do it directly in the Google Drive app. Can anybody help me restore the Drive functionality?

I debloated my S21 using the presets as a guide but did not follow them 100%. I tried searching this thread for anybody else who's had the same problem, but I couldn't find any posts.

Thank you very much for the guide, by the way. I appreciate all the effort you put into this.
[General Topics] caingatcarl:
What are the pros and cons when uninstalling com.android.stk? Is it responsible for mobile data for sim cards? Also is it okay to uninstall gamedriver when i have games on my phone?
[General Topics] Hamid Chikh:
I uninstalled both of those apps, as you can see them listed in the preset I'm using right now. I have mobile data and i can play games smoothly.
[General Topics] Hamid Chikh:
We don't remove "drive function". And that problem isn't related to debloating. And you're welcome
[General Topics] calinoi:
First of all, thank you very much for taking your time with this guide. My battery life has improved for sure over the last days, after following the guide.

But it still bugs me of how fast it discharges when the phone is idling, in my pocket. I guess this is because of the poor cellular signal. Is there any way to improve that? I already switched to 4g/3g automatic, but it's still weak. When changing to 3g/2g signal is much better but the mobile data speed is way worse...so i dont know if it's worth it. I was hoping for a fix. Can you help?

Cheers!
[General Topics] rodken:
@Hamid Chikh What was the reasoning behind removal of Bluetooth MAP v1.4 from the list?
[General Topics] Hamid Chikh:
Good catch !! It's No longer supported, i'm on OneUI 5.
[General Topics] Hamid Chikh:
Did you try the new adb commands ? The "Preferred network" adb command for exemple improved my speeds a lot. Also, it might not be signal, maybe GMS ? Try also the new command "Google core control", which seems to fix GMS battery drain. ADB commands are constantly updated, so you might want to try the newer ones.

Don't forget to try the other "FIXES" on the list.
[General Topics] sapanag:
@Hamid Chikh u also facing One UI Home battery drain in beta version??? Or it is just me. M noticing it since 3days it consumes 6-10% in each charge. No widgets or AOD is on. Tried clear data and cache also.🤕🤕
[General Topics] calinoi:
Thanks for your reply! I didn't try any of the adb fixes because i have no knowledge about what those do and I'm a bit afraid to change stuff into my phone that myabe i wont like and could not turn back without a factory reset. May I ask what those 2 fixes do? I mean the preffered network and the google core control.

By the way, when you say the preffered network improved your speeds a lot, what do you mean? mobile data download speed? or signal strength? Thank you again for your work!
[General Topics] Hamid Chikh:
Here are the biggest crocodiles i have, I'll do a Google apps fix from OP to try and fix GMS again, beta is definitely still BETA

Also, i see here they're using a older build of Android 13, which explains the same mobile connection drain i had with my Pixel 6 back when i was in BETA
[General Topics] Hamid Chikh:
You can always (SHOULD AS STATED IN OP) backup your adb config before editing and going back to original values if anything is out of place
[General Topics] sapanag:
Ohh man your gms drain is serious issue. Our probs are nothing compared to this😥. Whereas while on voicecall on sundays.I also see huge part of battery consumed. I thought it was normal

Btw try removing nearby scan permission from play services. I did tht and didn't find any issues yet
[General Topics] Hamid Chikh:
NEW "ALL SERVICE" ITEM IN GMS GOOGLE PLAY SERVICES APP INFO​

Can anyone confirm if it's only for Android 13 ?
[General Topics] Reicoler:
Hamid my sim card is randomly disconnecting, any idea what the problem is?
[General Topics] Hamid Chikh:
Euicc shouldn't be uninstalled, as it's not in the preset. If you did remove it, restore all euicc apps
[General Topics] Hamid Chikh:
Revoking nearby devices permission does help but it breaks nearby share
[General Topics] Reicoler:
Searching euicc in adbappcontrol didnt find amything. If u can send the apk or tell me where to find the app itll help
[General Topics] Reicoler:
Also i still cant cast my screen from google photos to my tv if it helps
[General Topics] Hamid Chikh:
And yes, i only have 74 system apps left, i wasn't joking when i said that the preset in OP is my daily driver
[General Topics] sapanag:
Ohh i never use nearby share so didn't notice anything abnormal. Let me check 🤦
[General Topics] Reicoler:
I tried installing the apk from the internet and trough install esisting or something like that it didnt work
[General Topics] caingatcarl:
I have 95 hehe plus the euicc so its 96. I unistalled it before but i have no problems when it comes to sim card or mobile data
[General Topics] Hamid Chikh:
Now try restoring all "IMS" and "carrier" apps
[General Topics] Hamid Chikh:
I would recommend adb AC instead
[General Topics] caingatcarl:
Yes adb AC is good but i prefer UAD for the description of each packages. As of now i also have extreme debloat list based on my usage. Thankyou again for your work sir. Much appreciated of what youre doing ❤️
[General Topics] Reicoler:
Ummm, my phone updated and now i cant open settings app if i open it it says: Error occurred while loading licenses . keeps stopping.
[General Topics] Hamid Chikh:
You're welcome, consider donating if you wish to👌
[General Topics] Hamid Chikh:
Not you, You're not new here, you should be aware that you have to restore everything before updating.
[General Topics] Reicoler:
Ah **** i forgot. Thx for the heads up you r doing an amazing job here
[General Topics] Reicoler:
Also there is no way to fix this right?
[General Topics] Hamid Chikh:
You should be able to regain your settings by restoring everything and rebooting, you can then reapply your preset and debloat.

You're welcome, it's a pleasure
[General Topics] Reicoler:
I cant enable usb debugging from settigs lol cuz i dont have access to settings
[General Topics] George Musat:
I saw this this thing on twitter and it is only for one ui 4.1.1 and one ui 5 beta at the moment.

We need to turn this thing on!

Iceuniverse said it works flawlessly with the battery life and heat

@Hamid Chikh

If this thing works as it should on s21 ultra for exemple it will be a huge boost
[General Topics] George Musat:
I m talking about sem_low_heat_mode
[General Topics] Hamid Chikh:
For me, S22 OneUI 5, it doesn't work.
[General Topics] George Musat:
Hopefully samsung will add it,I tried it and it doesn t works
[General Topics] mike2246:
How do I get dialer back? I tried to reinstall after realizing it's missing but it won't install.
[General Topics] Hamid Chikh:
Restore everything
[General Topics] Hamid Chikh:
Set default
[General Topics] Reicoler:
I cant enable usb debugging cuz i cant access the settings app any other way???
[General Topics] rodken:
Display all of your apps on your device.

-- Look for "search in apps" type in Digital Wellbeing and tap on uninstall and the Settings app should comply.
[General Topics] Hamid Chikh:
So you're saying the whole problem relies on digital wellbeing?
[General Topics] rodken:
The theory is one cannot uninstall Digital Wellbeing or disable in settings, but one can uninstall the update and disable the "Usage data access" special permission from Digital Wellbeing that might allow access to system settings.
[General Topics] mike2246:
on OP how do we run all the ADB command list without having to copy and paste each one?
[General Topics] livystewy01:
You have to copy and paste each one?
[General Topics] Hamid Chikh:
You make a .bat file
[General Topics] rodken:
If you are attempting to run multiple commands from your device and not Windows [PC] within the same CMD window:

In order to execute several commands in one line, you may use adb shell "cmd1;cmd2;cmd3" or cmd1 && cmd2 &&, etc.

Some would argue to utilize & not &&, && runs next command only if the previous was successful.​

& runs next command after the previous completed no matter successful or not.

adb shell "netstat && ip && setprop"
[General Topics] Reicoler:
Thx for the answear but i cant uninstall digit wellbeing cuz i cant turn usb debugging which is in settings
[General Topics] Hamid Chikh:
Anyone with the HDR toggle can extract the ADB setting for it ?​
[General Topics] Hamid Chikh:
NO DON'T

There's a simpler way i just posted
[General Topics] Hamid Chikh:
In that case, Factory reset it is. Positive thing is that you can backup your stuff to PC
[General Topics] Hamid Chikh:
@rodken
[General Topics] rodken:
Tip You can try to access system settings via one of the QS tiles.
[General Topics] Reicoler:
it didnt work
[General Topics] Reicoler:
hamid im resseting my phone now and i wanted to know, say i want to update my phone without rebloating again, is there a way to do this without rebloating and "bricking" my device? thx
[General Topics] rodken:
Noted: My response regarding the use of && and & was strictly for the usage of utilizing multiple commands via the device and not using a .bat file through Windows with the help of a few 3rd party apps, e.g., LADB.

Especially, when I am applying some of these commands to Wear OS and Google Chromecast w/ Google TV.

N.B.: Just throwing out a few options
[General Topics] Hamid Chikh:
No, you have to restore everything before updating, especially MAJOR UPDATES. It usually goes well with monthly updates but just in case, i make it mandatory. Until i find the responsible app that needs to be restored.
[General Topics] Reicoler:
That sucks lol, @rodken has some good knowladge (about what he said earlier with digital wellbeing )
[General Topics] Hamid Chikh:
I'm pretty sure it's a policy agreement thing that you have to accept for settings to work.
[General Topics] forjest63:
Can you share your bat files with us? thank you
[General Topics] Reicoler:
I reccomend you to research some of the adb commands some of them might not do things you would like them to do
[General Topics] Hamid Chikh:
Just save commands from OP to a .bat file, i can't send you mine since it's MY preferred settings i'm setting
[General Topics] mike2246:
could the debloating cause the phone not to activate? I ran through everything installed my apps over wifi then tried to move my SIM card over and it won't activate.
[General Topics] Michael root:
HDR
[General Topics] Hamid Chikh:
I'll need the parameter for that, can your search for it ?
[General Topics] caingatcarl:
Hello sir. I don't know if this is what you're looking for. Maybe this link will help you. I really dont know just doing my best 🤷‍♂️

https://developer.android.com/reference/android/view/Display.HdrCapabilities
[General Topics] Hamid Chikh:
You extract your settings like instructed in OP, you'll get 3 files (system, secure, global) then ctrl+F and find any "HDR" line in there.

Copy here the parameter line you find in each document.

For exemple: system hdr_enable 1
[General Topics] caingatcarl:
System

hdr_effect=1

hdr_effect_intensity=1

Global

user_disabled_hdr_formats=
[General Topics] Hamid Chikh:
Thank you, but those aren't the ones I'm interested in. Can you try searching "dynamic" ou "photo" or even "picture" please ?
[General Topics] Emre67511:
Google "silicon lottery" that explains your questions.

In short: two identical cpus are never the same and one can be way weaker than the other
[General Topics] sudhanshugrover:
On my S20 FE 5g (android 12, Sept update)

When I try to run "adb shell pm bg-dexopt-job", adb gives me a message saying 'Failure'

Any idea why that might be happening?
[General Topics] Hamid Chikh:
Search the thread before commenting
[General Topics] sudhanshugrover:
I searched but no one has really answered this question.
[General Topics] rodken:
Two possible options:

Unplugging it from the power source and waiting a few seconds might work.

Utilizing LADB and connect wirelessly.
[General Topics] almora9:
only samsung applications are enough..
[General Topics] m@r3k:
@Hamid Chikh

now I do not understand, how does this relate to this?​

after entering the above commands, what is the minimum and maximum refresh rate after all?
[General Topics] Michael root:
I have no idea how to find it
[General Topics] caingatcarl:
Secure

"number": 10000,

"package_name": "com.samsung.android.dynamiclock:1",

"recover_data": {

"clock": -1,

"clock_state": -1,

"notification_visibility": -1,

"notification_origin": -1,

"notification": -1,

"shortcut": -1,

"shortcut_state": -1,

"wallpaper_dynamic": -2,

"wallpaper_dynamic_sub": -2,

"wallpaper_source": -1,

"wallpaper_source_sub": -1,

"wallpaper_type": -1,

"wallpaper_type_sub": -1

},

"time_stamp": 0,

"time_stamp_list": [

0,

0

],

"which": 0

},

{

"number": 10010,

"package_name": "com.samsung.android.dynamiclock:2",

"recover_data": {

"clock": -1,

"clock_state": -1,

"notification_visibility": -1,

"notification_origin": -1,

"notification": -1,

"shortcut": -1,

"shortcut_state": -1,

"wallpaper_dynamic": -2,

"wallpaper_dynamic_sub": -2,

"wallpaper_source": -1,

"wallpaper_source_sub": -1,

"wallpaper_type": -1,

"wallpaper_type_sub": -1

},

"time_stamp": 0,

"time_stamp_list": [

0,

0

],

"which": 0

},

{

"number": 10020,

"package_name": "com.samsung.android.mateagent",

"recover_data": {

"clock": -1,

"clock_state": -1,

"notification_visibility": -1,

"notification_origin": -1,

"notification": -1,

"shortcut": -1,

"shortcut_state": -1,

"wallpaper_dynamic": -2,

"wallpaper_dynamic_sub": -2,

"wallpaper_source": -1,

"wallpaper_source_sub": -1,

"wallpaper_type": -1,

"wallpaper_type_sub": -1

},

"time_stamp": 0,

"time_stamp_list": [

0,

0

],

"which": 0

}

],

"version": 3

pref_dynamic_plugin_connected=0

pref_dynamic_plugin_version=3100

@Hamid Chikh that's all i found from all the keyword you suggest sir. Only the "dynamic" word matched the result from searching thru Secure
[General Topics] sapanag:
In oneui 5 beta 4. optimizing battery command is again showing failure😢
[General Topics] rodken:
Some would argue that the command is no longer needed in Android 12. If you are rooted, you can use Advanced Charging Controller and change the charging switch with the ACCA App.

Of course, YMMV.

"battery/op_disable_charge 0 1 battery/input_suspend 0 0"

disable "auto loop charging switch"
[General Topics] sapanag:
Nope nope. M not rooted. This command worked like a charm until beta 3. Will try to find what changed in beta4
[General Topics] Hamid Chikh:
OP UPDATED​

Latest stable list of ADB commands, New ones coming up soon ...
[General Topics] Hamid Chikh:
Works fine for me
[General Topics] sapanag:
i tried 3times. Btw m using after update bat file. Which bat file is this one??? and it worked on beta 4 right??
[General Topics] Hamid Chikh:
I'm on beta 3, and i have separate bat files for each operation as already pictured in previous posts
[General Topics] sapanag:
Tired again shows failure. I think i did something wrong while debloating after beta4
[General Topics] Kris_b1104:
This might be a little off-topic but...

I'm using Powershell to run these commands, due to being on a work PC. I have to use "./" before every single command before I can run it, is there a workaround for this?

For example: ./adb shell settings put global ram_expand_size 0

If I convert .txt file to .bat will it still be able to execute from adb folder? Is there a simpler way of doing this instead of editing each indidual command to insert ./ ?

I wasn't able to edit PATH variable in Settings due to not having access on work PC, therefore I am stuck using PowerShell.

P. S. : Great optimizations Hamid, you keep breaking the barrier for us Samsung Android users.
[General Topics] forjest63:
Dude, in notepad Adb devices then copy and paste all the Adb commands into bat and run
[General Topics] sapanag:
btw @Hamid Chikh once optimising battery command fails. how to reset it??? i mean if i ran tht command again within mini sec. it shows failure. already did on off , clear cache partition , repair apps also.
[General Topics] m@r3k:
battery/op_disable_charge 0 1 battery/input_suspend 0 0

do we also write this in adb AppControl? or only root? ?
[General Topics] Hamid Chikh:
It doesn't always work, and j honestly don't know exactly why. Try resetting the drivers in your PC
[General Topics] Hamid Chikh:
I don't know this command and it's not listed in OP, i wouldn't advise trying it unless you want to test and report back
[General Topics] m@r3k:
it's about this thread
[General Topics] rodken:
You might want to re-read the thread, because it is strictly engineered from a root standpoint utilizing the Advanced Charging Controller - not Android Debugging Bridge.
[General Topics] m@r3k:
I did that too and that's why I was surprised by this entry
[General Topics] Hamid Chikh:
It's about what someone commented, i never posted that command
[General Topics] nokia_16:
Latest command updated bro @Hamid Chikh ?
[General Topics] wenna.speedy:
Why is com.android.nfc on the Uninstall12 list? Will it break up the NFC functionality or not?
[General Topics] sapanag:
@Hamid Chikh u able to enter into settings on call??? Its crashing after beta 4
[General Topics] livystewy01:
Blessings everyone, how can I activate the caller id and spam protection?
[General Topics] sapanag:
Install all hiya services
[General Topics] Long ngo:
bro i cant use my mobile data after debloating, which app cause this problem ? or which one is necessary to use mobile data
[General Topics] rodken:
Follow this guide twice and power-off your device for 2 minutes not restart. After which, reset APN and reset network connection > restart again.

-- Worst case scenario - factory reset
[General Topics] Long ngo:
thanks let me try