Search This thread
Apr 14, 2022
9
8
Before that, I wanna say thanks to u @Hamid Chikh

And here's my problem...
I've issue with the lock screen in the settings app. I used the adb yesterday and the phone was running smoothly and the battery life is great. But this day I debloated some apps. And I choose to restore them all again. After that I used the command adb again. But the lock screen in the settings app is crashing everytime I click it. Is the apk that I restore become corrupted or what? And also the battery life seems bad again like it used to.
Btw my device is S21 FE Exynos Version
Please help me :)
 

Attachments

  • Screenshot_20220930-194347_Settings.jpg
    Screenshot_20220930-194347_Settings.jpg
    296.9 KB · Views: 38
Last edited:

sapanag

Senior Member
May 11, 2022
160
167
Getting best SOT on my s22+ as of now on beta version. Did all adb commands and debloat. Thanks alot @Hamid Chikh .
 

Attachments

  • Screenshot_20221001_013045_Device care.jpg
    Screenshot_20221001_013045_Device care.jpg
    405 KB · Views: 59
  • Love
Reactions: Hamid Chikh

Hamid Chikh

Senior Member
Nov 15, 2016
2,691
1,818
Oran, Algeria
Samsung Galaxy S22
Before that, I wanna say thanks to u @Hamid Chikh

And here's my problem...
I've issue with the lock screen in the settings app. I used the adb yesterday and the phone was running smoothly and the battery life is great. But this day I debloated some apps. And I choose to restore them all again. After that I used the command adb again. But the lock screen in the settings app is crashing everytime I click it. Is the apk that I restore become corrupted or what? And also the battery life seems bad again like it used to.
Btw my device is S21 FE Exynos Version
Please help me :)
You're right, I'm looking into the problem now.

UPDATE
It's not a removed app in the preset.
 
Last edited:

Hamid Chikh

Senior Member
Nov 15, 2016
2,691
1,818
Oran, Algeria
Samsung Galaxy S22

UPDATED "UNINSTALL13" PRESET TO 345 APPS UNINSTALLED

This is the most extreme preset you'll find on the web right now, you can't uninstall any more system apps without it breaking the OS. Don't forget to disable GOS if you can't uninstall it
 
  • Like
Reactions: rodken

Hamid Chikh

Senior Member
Nov 15, 2016
2,691
1,818
Oran, Algeria
Samsung Galaxy S22
Hmm factory reset?
That problem happen after I restored them all (apps that I uninstalled using adbapptools). Maybe the apks relate to Lock Screen corrupted. When I using adb cmd only, I didn't notice any problems.
Same happened to me actually, i restored all apps and the problem still persisted. That's why i'm thinking it might be an ADB command but i can't know which one. I'll wait for Beta 4 to drop and see if it fixes anything
 

sapanag

Senior Member
May 11, 2022
160
167
Screenshot_20221001_181726_Settings.jpg

While enabling predictive back animations. This popup appears to enable something per app. But couldn't find anythind to anable in settings
 
Apr 14, 2022
9
8
Same happened to me actually, i restored all apps and the problem still persisted. That's why i'm thinking it might be an ADB command but i can't know which one. I'll wait for Beta 4 to drop and see if it fixes anything
Hope that Beta 4 release fix that so I can use One UI 5 stable release with bugfree 😅 (nothing is bugfree lol ikr). I'll wait for ur testing. But, are your case same to me? Like only Lock Screen settings has that problem (as long as I use).
And, do u feel the battery now become worse than before (in case after used adb cmd). The first I use adb cmd, the battery was great. I usually get 4 hrs SOT but after adb I get 5 to 6 hrs. But now the battery become worse again like back to normal (after I restore the apps and apply the cmd again).
 
Last edited:
  • Like
Reactions: Hamid Chikh

Hamid Chikh

Senior Member
Nov 15, 2016
2,691
1,818
Oran, Algeria
Samsung Galaxy S22
Hope that Beta 4 release fix that so I can use One UI 5 stable release with bugfree 😅 (nothing is bugfree lol ikr). I'll wait for ur testing. But, are your case same to me? Like only Lock Screen settings has that problem (as long as I use).
And, do u feel the battery now become worse than before (in case after used adb cmd). The first I use adb cmd, the battery was great. I usually get 4 hrs SOT but after adb I get 5 to 6 hrs. But now the battery become worse again like back to normal (after I restore the apps and apply the cmd again).
Track your battery usage. Adb commanda make the battery life better (unless specified for performance)
 
  • Like
Reactions: petermendirary

Top Liked Posts

  • 10

    PRESET UPDATE

    Updated all presets now & fixed Frame Drops and Stability Issues. Less aggressive overall, but ROCK STABLE now.
    How did i proceed, you'd ask ? I passed all the presets thru 3 devices, to only include common apps and avoid system specific apps. S20 SD, S10 Exynos, S22 Exynos.
    - S1 includes apps you can disable natively from system settings, i even included some disposable apps from my old Pixel 6 preset !
    - S2 adds overlays and addons apps.
    - Extreme, as usual, is the most apps removable without affecting system integrity
    1

    PRESET UPDATE

    Updated all presets now & fixed Frame Drops and Stability Issues. Less aggressive overall, but ROCK STABLE now.
    How did i proceed, you'd ask ? I passed all the presets thru 3 devices, to only include common apps and avoid system specific apps. S20 SD, S10 Exynos, S22 Exynos.
    - S1 includes apps you can disable natively from system settings.
    - S2 adds overlays and addons apps.
    - Extreme, as usual, is the most apps removable without affecting system integrity
    amazing.....
  • 19

    ADB OPTIMISATIONS

    Edit parameters/values to your liking, save the file, rename .txt file to .bat and launch to apply all.
    - ADB: Automatically saves your current parameters then applies new ones (Set your own before launching if you don't want your phone's name to be H-banGG 😂)
    - Clear Cache: Cleans all residual files for All Apps.
    - Boost Battery: Applies Dexopt Job - Remediation Process - Doesn't work all the time.
    *Please like this post so that it's easier to retrieve for everyone*

    I'M NOT RESPONSIBLE FOR ANY ISSUE THAT CAN HAPPEN TO YOUR PHONE
    AFTER USING THESE TWEAKS
    10

    PRESET UPDATE

    Updated all presets now & fixed Frame Drops and Stability Issues. Less aggressive overall, but ROCK STABLE now.
    How did i proceed, you'd ask ? I passed all the presets thru 3 devices, to only include common apps and avoid system specific apps. S20 SD, S10 Exynos, S22 Exynos.
    - S1 includes apps you can disable natively from system settings, i even included some disposable apps from my old Pixel 6 preset !
    - S2 adds overlays and addons apps.
    - Extreme, as usual, is the most apps removable without affecting system integrity
    10

    The Next Big Thing ... Is Right Around The Corner

    1669059164277.png

    It's like the introduction of the Next Galaxy S series 😂 Anyway, ADB commands coming soon, and A BIG SET of those
    9
    I might post them back if it's this important for you guys. I just wanted to avoid bad press and beginner's faults
    IMO, XDA is a forum for more advanced users. Although it has regular news posts I think the main idea is to share phone mods. Beginners need to expect bad results until they are no longer beginners. That is on them and not on you.
    7
    I still don't get how people get "worse" battery life with all the tweaks, and still complaining.
    I restate that this is base, Exynos, S22. We're talking 3600mAh, and it still performances (and holds) amazing!

    EDIT: It's even better than i thought

    Screenshot_20221103_211321_Device care.jpg
  • 142
    #I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR DEVICE
    Some of these tweaks are shared with my other thread:
    Google Pixel Experience - Optimization Guide

    RECOMMENDED SETTINGS

    To Start With

    - Factory Reset (RECOMMENDED)
    - Remove SIM before first boot
    - Follow setup OFFLINE (DON'T restore anything during setup)
    - DON'T use Smart Switch
    - Reboot, then insert SIM
    - Continue setup after reboot

    System Settings

    - Synchronization: DISABLED (turn it off again when not in use).
    - Location: DISABLED (turn it off again when not in use).
    - Advanced features/Gestures: DISABLED
    - Auto download System Update over Wi-Fi: DISABLED
    - Bluetooth Scanning (Location services): DISABLED
    - Usage & Diagnostics: DISABLED
    - Advertising ID: DELETE
    - System Sound/Vibration feedback: OFF
    - Network Mode: 2G/3G/4G
    - Always On Display (AoD): DISABLED
    - System-Wide Dark Mode: ENABLED

    Battery Settings

    - Sleeping Apps: All apps except apps you need instant notifications from.
    - Deep Sleeping Apps: APPS WON'T RECEIVE UPDATES
    - Put unused apps to sleep: DISABLED
    - RAM PLUS: DISABLED
    - Auto optimize daily: ENABLED
    - Auto restart at set times: ENABLED
    - Adaptive Battery: ENABLED.
    - Auto Optimization: ENABLED

    Google Settings

    - Nearby connections: DISABLED
    - Devices: DISABLED
    - Nearby Share: DISABLED (turn it off again when not in use).
    - Nearby Share Notification: DISABLED
    - Location Services: ALL DISABLED

    Accessibility Settings

    - Reduce transparency & Blur: ENABLED

    Developer Options:

    - Background Check: DISABLED
    - Suspend execution of Cached apps: ENABLED
    - Animation scale (3 entries) : x0.5
    - Bluetooth AVRCP Version: 1.6
    - Logger Buffer Sizes: OFF
    - Predictive Back Animations: ON

    Camera Settings

    - Turn off location tags, and location permission for the camera app.
    - Move all camera modes (portrait, food, etc ..) to the "More" section.
    - Face Beautification: DISABLED
    - Video Stabilization: DISABLED
    - Video Resolution: 4K30

    Google Play Store Settings

    - Google Play Protect: DISABLED
    - Autoplay: DISABLED
    - Auto Update Apps: DISABLED
    - App Installation Optimization: DISABLED

    Google Chrome Settings

    Settings
    - Page Preloading: DISABLED
    Chrome Flags
    - Smooth Scrolling: ENABLED
    - Parallel Downloading: ENABLED

    Social Media Apps Settings

    - Theme: AMOLED/DARK
    - Autoplay videos: DISABLED
    Under security
    - Log out of all Old sessions.
    - Delete all old logged in devices.

    Spotify Settings

    - Canvas: DISABLED
    - Gapless: ENABLED
    - Normalize volume: DISABLED
    - Device broadcast status: DISABLED
    - Spotify connect in the background: DISABLED

    GENERAL FIXES

    Diagnose Your Problem

    - Go to Device care, battery, check your battery usage. If nothing shows, it's battery leak.

    Fix Battery Leak (IMPORTANT)

    - Go to Permission Manager, enable "Show system apps" and check for any excess permissions, especially hardware like location, camera or nearby devices.

    Calibrate Your Battery

    - Use your phone normally till it dies off automatically.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on, calibrate the battery then unplug your phone and use it normally until it dies again.
    - Plug it into the charger and leave it charging for 2h while it's still off.
    - Turn it on, calibrate the battery again and unplug it, enjoy

    Fix Google Apps Battery drain

    Go to Settings, Apps. Enable "show system apps" then look for each of:
    "Google Play Store", "Google Services Framework", "Google Play Services", "Android System WebView"
    - Uninstall Updates
    - Clear data & cache
    - Force Stop
    - Reboot, let them update and follow setup.

    Fix Camera Experience

    - Wipe Data & Cache, reboot to Safe mode, do it again, then reboot normally.

    Fix OLED Burn-in/Ghosting

    - Download LCD Burn-in Wiper
    - Disable Auto-brightness & set Brightness to 100%
    - Leave on for at least 1 hour

    Fix Speaker crackling

    - Download Speaker cleaner
    - Set your volume to max
    - Put your phone face down & launch

    Remove Ads System-Wide

    Go to settings, connections, more connections settings, look for Private DNS.
    - Set: dns.adguard-dns.com
    - Close all apps then reboot.

    SAMSUNG FIXES

    Fix General Performance

    - Boot into recovery
    - Clear cache partition

    - Repair apps.

    Fix OneUI Lag

    In device care, set RAM PLUS to DISABLED

    Fix UI Frame Drop/Stutter

    Settings, Apps, "show system apps", check "Show System Apps"
    - For Android System & System UI Set battery to "UNRESTRICTED".
    - Always-on Display Clear App Data & Cache.

    Fix Refresh Rate Lag

    Settings, Display, Motion Smoothness.
    - Set it to Standard, reboot, Set it back to Adaptive

    Fix Delayed Apps Notifications

    - Add ALL APPS to the Sleeping apps list
    - Add ALL APPS to the Deep sleeping apps
    - Add ALL APPS to the Never sleep apps
    - Remove all the apps from all the lists.
    - You can go back to your old config after this.

    Fix Fingerprint Experience

    - Fingerprint always on: ENABLED
    - Show animation when unlocking: DISABLED
    - Show unlock transition effect: DISABLED
    - Set battery usage to "Unrestricted" for "com.samsung.android.biometrics.app.setting".

    Fix Samsung Camera (Camera Assistant)

    - Auto HDR: ENABLED
    - Auto lens switching: DISABLED
    - Soften pictures: DISABLED
    - Faster shutter speed: ENABLED

    Unlock More Gallery Features

    - Go to Gallery App, Settings, About.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    Unlock More Wifi Features (OneUI 5)

    - Go to Settings App, 3 dots, Intelligent Wifi.
    - Tap version number multiple times
    - You'll find more options under "Labs"

    DEBLOATING

    t.png
    You're gonna need:
    - ADB AppControl
    - Samsung USB Drivers
    - Latest presets attached at the bottom of this post
    - Enable USB debugging and "Always authorize" on your phone

    !!DISCLAIMER!!
    - Inspect all what's going to be removed then UNSELECT APPS & FEATURES YOU NEED.
    - You can always restore the apps you need under "Uninstall" section.
    - RESTORE ALL APPS BEFORE PERFORMING AN UPDATE.


    - Choose the level of debloating you want to achieve From 1 (Lowest) to Extreme and load preset to "System" tab.
    - Scroll through all the selected apps and uncheck the apps you want to keep.
    - Apply Uninstall (with wipe app data checked).
    - Restart your phone to recovery, clear cache and repair apps.
    - Save your preset for later

    19

    ADB OPTIMISATIONS

    Edit parameters/values to your liking, save the file, rename .txt file to .bat and launch to apply all.
    - ADB: Automatically saves your current parameters then applies new ones (Set your own before launching if you don't want your phone's name to be H-banGG 😂)
    - Clear Cache: Cleans all residual files for All Apps.
    - Boost Battery: Applies Dexopt Job - Remediation Process - Doesn't work all the time.
    *Please like this post so that it's easier to retrieve for everyone*

    I'M NOT RESPONSIBLE FOR ANY ISSUE THAT CAN HAPPEN TO YOUR PHONE
    AFTER USING THESE TWEAKS
    16

    THE GOAT IS BACK

    I just switched to S22, i'm back. Expect news shortly
    Exynos S22 here, base model, as always. Also, i'm running Android 13 beta.
    14
    Epic! Please describe all of the ADB commands you followed?
    I did however, follow all the ADB commands that are suggested in OP. I'm running on FHD+, Adaptive Motion Smoothness (via Galaxy Max Hz app), Processing speed set to Optimized. Enabled CPU Responsiveness, enabled performance limit. I know it sounds crazy, but I get the best of both worlds with the performance limit ON and CPU Responsiveness ON, the phone is insanely fast and battery is great. I tried different combinations and this has been my best result in terms of battery life and I'm still at 42%. My benchmarks are still 1200, 3400.

    No power saving. No adaptive power saving. Adaptive battery off. No adaptive brightness. I have a bunch of apps in sleep and deep sleep. Mostly WiFi since I work remotely and some light LTE usage. I turned off 5G. I manually set RAM Plus to 1GB. Dark Mode and my Location are on at all times.

    S22 Ultra US Unlocked Snapdragon 512gb.

    Here are all the commands I used:

    2 - Disable Background Scanning​

    - adb shell settings put global ble_scan_always_enabled 0
    - adb shell settings put system nearby_scanning_enabled 0

    3 - Unlock RAM Plus Configurations​

    - adb shell settings put global ram_expand_size_list 0,1,2,4,6,8,12,16
    Reboot then go to settings and set RAM Plus to 1GB.

    5 - Disable Motion Engines​

    - adb shell settings put system master_motion 0
    - adb shell settings put system motion_engine 0
    - adb shell settings put system air_motion_engine 0
    - adb shell settings put system air_motion_wake_up 0

    7 - Disable User Manual​

    - adb shell settings put global online_manual_url 0

    8 - Extra battery​

    - adb shell settings put global app_standby_enabled 1
    - adb shell settings put system mcf_continuity 0

    IV-B - EXTREME BATTERY OPTIMISATION

    3 - Enable Performance Limit​

    - adb shell settings put global restricted_device_performance 1,1

    IV-P - EXTREME PERFORMANCE OPTIMISATION

    2 - Enable Improved App Responsiveness​

    Changing processing speed in settings disables this
    - adb shell settings put global sem_enhanced_cpu_responsiveness 1
    13
    NO BLOATWARE REMOVED. I reinstalled all the bloatware I previously removed and then updated my phone to One UI 4.1 AVC8. This is with no bloatware removed, so imagine what it'll be when I disable over 100 system apps.

    I did however, follow all the ADB commands that are suggested in OP. I'm running on FHD+, Adaptive Motion Smoothness (via Galaxy Max Hz app), Processing speed set to Optimized. Enabled CPU Responsiveness, enabled performance limit. I know it sounds crazy, but I get the best of both worlds with the performance limit ON and CPU Responsiveness ON, the phone is insanely fast and battery is great. I tried different combinations and this has been my best result in terms of battery life and I'm still at 42%. My benchmarks are still 1200, 3400.

    No power saving. No adaptive power saving. Adaptive battery off. No adaptive brightness. I have a bunch of apps in sleep and deep sleep. Mostly WiFi since I work remotely and some light LTE usage. I turned off 5G. I manually set RAM Plus to 1GB. Dark Mode and my Location are on at all times.

    I think the adb commands help more than debloating the phone based on my results.

    S22 Ultra US Unlocked Snapdragon 512gb.