yashsingh1/xdaforums huggingface dataset:
[General Topics] AndroidWars:
Try to uninstall updates Google apps and update again. Maybe u get it back.
[General Topics] Moe2003:
https://9to5google.com/2022/08/20/check-google-play-system-updates-pixel/

news on it
[General Topics] Hamid Chikh:
1 Yes, there is an adb to disable battery optimization in OP.

2 It has nothing to do with battery boost.

3 I have battery optimization disabled and boost works fine for me.
[General Topics] Hamid Chikh:
Sorry to hear that, never experienced that. There's no adb command to make the phone slower, especially not s h i t t y.
[General Topics] Hamid Chikh:
+1

I just lost mine
[General Topics] Roei.e:
Amm, is there anything in debloat related to Samsung weather and location check? Because it doesn't find my location in weather app, or it takes too long
[General Topics] Reicoler:
Google's getting f l i m s y
[General Topics] AndroidWars:
Set Manuel location dont use GPS on weather widget. Gps/location draining battery
[General Topics] Roei.e:
Yes but I travel a lot so I need it
[General Topics] Roei.e:
Anyway it seems like it doesn't check location.. what to restore
[General Topics] AndroidWars:
I dont know. Restore contain location words apps. If didnt work try to search on Google one by one 'what is "package name" ... Restore location relevant apps.
[General Topics] Hamid Chikh:
It works fine for me till now, it might be an app bug ? Try resetting the app
[General Topics] Roei.e:
I tried resetting, but it doesn't even show the gps icon. I checked gps with members app and it does work there
[General Topics] Hamid Chikh:
Are you sure the app has permission?
[General Topics] Roei.e:
Yes it does, I reapplied the permission also
[General Topics] Roei.e:
Fixed it, restored com.samsung.android.location
[General Topics] Hamid Chikh:
Updated OP and Presets now
[General Topics] Hamid Chikh:
Weird that weather app is the only app requiring that app.
[General Topics] Daniel Gringo:
Hi guys, S21 FE here, does anyone of you have some kind of a safe debloat list by any chance? I mean, I used the Uninstalled13 list, but after that, I didnt get internet via hotspot (fixed), retouch in gallery not working (fixed), calendar was not syncing (fixed) and now in the morning, the phone seems to be stuck in battery save mode, even though I have not activated or pushed any and I have to turn the mode off manually. This issue Im still investigating..
[General Topics] AndroidWars:
These not working unistalled my preset. its safe I'm using daily. Everythings working great. Improved my battery. S10+ Exynos

Bixby Routines, all Bixby apps not working

Knox & secure folder not working

Volte not working

Nfc not working

Samsung pay not working

Soundalive dolby atmos always working

Samsung dex not working

Other things working
[General Topics] Roei.e:
I had same problems, then I used @AndroidWars preset it was better but still some calls problem and gps problems, I guess the S21 fe is sensitive lol.

I have my prest for my s21 fe with 199 uninstalled apps if you interested.
[General Topics] Reicoler:
199 uninstalled apps and u have problems i have like 249 uninstalled lol
[General Topics] Hamid Chikh:
There's no "safe" preset, to each their level of debloating. You have to create your own depending on your needs. See the preset in OP, uninstalled12, that's my safe and daily preset.
[General Topics] Hamid Chikh:
I'm at 342 apps uninstalled, as preset in OP
[General Topics] Roei.e:
199 apps uninstalled is after I fixed all the problems. Before it was 279
[General Topics] Roei.e:
Also not all the apps did problems, I also didn't uninstall some because I use them
[General Topics] Reicoler:
And phone is runin smooth af

Damn thats amazing
[General Topics] Roei.e:
How is your experience with the s22? @Hamid Chikh
[General Topics] Reicoler:
@Hamid Chikh can you not do the samsung adb recommended settings tab in a .txt file i liked when it was on the first page without any hassle thank you!
[General Topics] wilsonbstian:
After some heavy debloating and uninstalling, my mobile data are not working anymore, i ald rebooted my phone, do the airplane mode tricks.., but still not turning on, please help
[General Topics] blackhawk:
More accurately you fixed all the problems you found... not the end of the story.

Some functionality you may never realized you lost.
[General Topics] Roei.e:
Man if you are not happy with the debloating you can leave
[General Topics] rodken:
Please refer to the 'disclaimer' from the OP.

-- Worst case scenario

Prepare for a factory reset.​
[General Topics] blackhawk:
Bum advise. Disabling that many items will cause issues for many users. Doubt you even know what half of what you disabled do or their dependencies are if any.

You can list what each one does specifically.

List all known dependencies.
[General Topics] skiku:
Hi guys,

One question, with zram disabled, which is the best amount of RAM plus?
[General Topics] Hamid Chikh:
It seems that my guide is getting famous 😂

How to Change Android Device Settings via ADB Commands

In this comprehensive tutorial, we will show you the detailed steps to change your Android device settings via ADB Commands.

www.droidwin.com
[General Topics] rodken:
More than you know.

These commands are clearly not limited to Samsung.

-- I took the liberty of throwing whatever will stick on 3 different devices e.g., Samsung Galaxy Nexus, LG G2, OnePlus 8 and 2016 Pixel XL.
[General Topics] Hamid Chikh:
I never thought of that actually, i only do this to help people. I'm updating ADB settings now actually
[General Topics] Moe2003:
Hey @Hamid Chikh the new ADB settings text is pretty confusing with so many changes and many of them are duplicates within the same text. would it be possible to allow collaboration from the users to explain what each one does and clean it up? you could upload it on github
[General Topics] Hamid Chikh:
Already discussed that, chack RAM Plus post in this thread
[General Topics] DrRazee95:
Spoiler content hidden.

Mod. Translation: if i run these commands independently when do i recover?
[General Topics] Hamid Chikh:
You rename it to .bat file and just execute with a click, which is less of a hassle actually
[General Topics] Moe2003:
just like there are collaborative debloat lists on GitHub you can do the same thing with adb settings
[General Topics] Hamid Chikh:
There you go, all adb commands are back in OP
[General Topics] Hamid Chikh:
You surely did something wrong, try reinstalling everything then going back at it again. Keep in mind, what you see in OP is my personal daily setup, you think i'd just disable mobile data for my self ?
[General Topics] Hamid Chikh:
It's the preset in OP
[General Topics] Hamid Chikh:
Battery is bad, camera is very bad. I miss my Pixel 6.
[General Topics] Roei.e:
Camera is bad?? how is that possible
[General Topics] Hamid Chikh:
Pixel is far superior in camera department, in every imagineable situation
[General Topics] TheWinner2810:
Hello everyone! How's possible that disabling "battery optimisation" actually improves battery life? Can someone confirm?
[General Topics] Reicoler:
Install gcam camera mod lol its far better then the stock processing DO IT!!!.
[General Topics] Moe2003:
@Hamid Chikh

1. All adb setting changes are found in the settings app?

2. We used to keep 2 apps for software update, the one with the purple icon and one with green, why are we getting rid of the green one now?
[General Topics] Hamid Chikh:
The fix for Google play update not showing up coming soon

https://twitter.com/i/web/status/1562180090024366080
[General Topics] Hamid Chikh:
Tried it, it was worse! What version are you using ? I'm on exynos
[General Topics] Hamid Chikh:
We already discussed that, please refer to the search option in the thread
[General Topics] Reicoler:
Im using urnxys 7.3 mod also im not sure about how i wrote the devs name lol im on qualcom and currently using a mid range phone(:
[General Topics] Reicoler:
Its on gcam hub btw
[General Topics] Hamid Chikh:
Well, GCam ports on Samsung phones just suck.
[General Topics] Hamid Chikh:
As stated in last updated OP, setting online manual to 0 makes it disappear from settings menu
[General Topics] Reicoler:
Yes they do especially on exynos chips they really suck for them
[General Topics] Hamid Chikh:
Stock cam is the only choice, and it's BAD compared to Pixel
[General Topics] Axiomkid:
This isn't working on the S21 Ultra Snapdragon T-Mobile variant. After setting to 0 even after a restart it still shows manual
[General Topics] Reicoler:
have a look at the stable versions of Gcam mods here: https://www.celsoazevedo.com/files/android/google-camera/dev-suggested/ (its in gcam hub btw)
[General Topics] KAngelo:
Great to have you back Hamid Chikh.

After applying the ADB commands in op, i experience a popup when I copy/pase text like "Message selected". I have tried finding the culprint but whitout luck. Any1 experience the same? And know how to disable it?
[General Topics] ** A - R **:
السلام عليكم ورحمة الله وبركاته

أخي العزيز، لعلكم بخير

How is the Sim Network signal reception compared to Pixel 6 ?
[General Topics] Alaunus:
Hello Hamid,

In the latest commands, you've added: adb shell settings put global zram_enabled 0

Does this disable zram? If so, why disable it? Isn't it much faster than anything else since it's the built in RAM compared to other type of storage?
[General Topics] rodken:
Keep in mind the theory behind ZRAM

-- If said device has 3GB+ of RAM, definitely not.

ZRAM compresses part of the RAM. Of course, this costs CPU time while increasing your effective RAM. If you have a very low amount of RAM with a powerful processor, then it may be worth it. Otherwise, it might or will slow your device down under heavy usage.​

​

Some would argue that ZRAM is only useful if one has very little RAM and a decently powerful CPU and that the downside of ZRAM is that it uses some CPU for compression unless the device is equipped with a halfway decent CPU [to each his own].​

​

N.B. If You have loads of RAM and a midrange CPU. You can choose to leave it off.​
[General Topics] Hamid Chikh:
Pixel 6 is bad in that field, that's for sure, even Google admitted that since it's a hardware problem, i think Google just cheaps out on components. Samsung doesn't do that in my opinion, at least it never did in my experience. For S22 it's still too early to judge
[General Topics] Hamid Chikh:
I don't understand the problem, try restoring "clipboard" apps
[General Topics] Axiomkid:
I would keep it at 2GB system default when setting the Ram+, disabling Zram is totally useless in my opinion. I'm using a T-Mobile Samsung S21 Ultra Snapdragon variant so disabling Zram on this phone regardless of it having 12GB of ram is totally useless in my opinion. Setting the Ram+ to 1GB I notice causes small lags. Opening apps and scrolling causes small hangs. Setting the Ram+ back to 2GB being the systems lowest safest setting made the small hangs and lags go away. Disabling Zram may not be good especially if you are a multitasker. This is an old Myth now i see more and more in this forum.....Keep that Zram talk at PC level not on a Samsung android phone level.
[General Topics] Alaunus:
Thank you for the answer. I disabled it but after a restart, DevCheck still says the device is using around 1.3GB of Zram. Is this a bug?

On another note, with the previous adb optimizations in OP, my A75 was able to go down to 0.3% of off screen battery usage according to batteryguru but now that I have applied most of the current adb optimizations, including the 3rd "After Update" point, the battery started draining much faster while offscreen and is consistently sitting at 3.7-3.9%. There is a stark difference between both configurations. What might be the reason for that?
[General Topics] rodken:
If you disable ZRAM then might want to disable SWAP along with it.

Since RAM plus is a rehash of the memory paging that already exists in most operating systems including Android, you're attempt to utilizing any ADB optimization(s) might or might not be interfering with the way that your device handles your request(s).

If you are rooted, you can try Set Edit app and grant permission of global table then scroll down and you will see zram_enabled=1, change it to zram_enabled=0
[General Topics] rodken:
Off-Topic

When you mention PC, that term can be bit ambiguous. I remembered back in the days when Apple itself has used the term 'PC' to refer to Windows-based machines, as opposed to its own computers, which are called "Macs".

N.B.: Again - to each his own.
[General Topics] Alaunus:
After a few years of rooting, I've slowly switched to using adb and tried to not root my devices. The "adb shell settings get global zram_enabled returns" a "0", so zram should be disabled. By disabling SWAP, do you mean setting RAM Plus to 0?

As a side note, BatteryGuru reports the device is in deep sleep only 50% of the off screen time, while it used to be 90% from before the latest optimizations.
[General Topics] rodken:
I don't know if you read this post for further indulgence, but regarding SWAP, if you are not rooted leave well enough alone.
[General Topics] Axiomkid:
Hamid should mention some ADB tweaks may not work with unrooted devices and therefore if your device is rooted you should use care when understanding and knowing what your disabling. The SetEdit app can only edit so much regardless on unrooted devices. Not everything will work. I tried to disable the online manual in settings through setedit.... turns out you have to be rooted for it to dissappear.
[General Topics] Alaunus:
I've read that post. Please further explain what you mean by "leave well enough alone". I'm not a native english speaker so sometimes things get lost in translation.
[General Topics] rodken:
In your case since you're not rooted

Spoiler content hidden.
[General Topics] Hamid Chikh:
All adb commands in OP work with my device, I'm not rooted.
[General Topics] Hamid Chikh:
Don't worry about it, OneUI 5 beta 2 just dropped, and it allows to disable RP natively
[General Topics] Hamid Chikh:
If anyone wants to try/join OneUI 5 beta, here's the link.

Just download the zip, place it in ADB folder, and run "adb sideload xxx.zip"

https://xdaforums.com/t/oneui-5-beta-exynos-galaxy-s22-s22-s22-ultra-beta-thread.4476641/
[General Topics] Axiomkid:
I don't get it then why the S21 Ultra Snapdragon doesn't have a lot of those commands working. I even tried completely deleting the online manual to see it made no difference. I don't know if it's me or T-Mobile. Something is stuck built into the framework.
[General Topics] rodken:
Have you tried the pm uninstall -k --user 0 <package-name> command?

N.B.: Usually, [but not limited to all devices] any error message if ADB was unsuccessful might indicate that root is required or there is no such application?
[General Topics] blackhawk:
Interesting.

2gb sounds reasonable, maybe 3. Zram is set to 2.5gb on my stock N10+ Snap/PIE; it runs snappy fast, boots fast and gets excellent battery life. Never run out of ram.

Although it appears to have a lot of headroom I'm inclined to let it be... you should be able to exploit it more on the newer chipsets.
[General Topics] Hamid Chikh:
Never had that, all adb commands work fine for me. If it doesn't for you, the setting is just not supported/compatible.
[General Topics] Hamid Chikh:
You're rooted, you can disable swap at the system level, you don't need adb optimisations.
[General Topics] Klaudas:
Multicore Packet Scheduler: DISABLED

Sorry maybe I've missed something but why this option is disabled in suggestions now? I think it was an opposite
[General Topics] Axiomkid:
Had something to do about Snapdragon devices not having this option, no such feature exists on Snapdragon devices. You can probably change this setting on the Exynos variant as it was an extra feature.
[General Topics] Reicoler:
Hamid can you help me with not being able to cast to tv's from google photos and apps that use casting? If it works on your device can you send me the list of system apps installed on ur device for comparision? Thx @Hamid Chikh
[General Topics] Iaminmohamadi:
This script does everything and more with a bit of error handling that makes things easier for people new to adb and usb debugging

- It can save your stock settings

- It can Apply recommend settings (the previous adb recommendations in this thread) or your preferred settings which you can copy from here and paste in a text file as explained in the script

- It can clear cache, do the adb command for battery optimization, apply speed profile to all the apps, disable Samsung GOS

- It can handle errors like cable problems or unauthorized usb debugging (and some other errors) to some extent

- There's also an option for booting into recovery mode

Just paste it in the same folder as adb.exe and run it (no run as administrator needed)

It's better if you run it as .cmd but .bat also works
[General Topics] rodken:
Are you at liberty of converting this into a shell script?
[General Topics] Iaminmohamadi:
Unfortunately I'm not that familiar with shell script

Even if I somehow manage to translate the syntax I've got no way to properly test it

But the script is simple enough to use wineconsole to run it

I'm not sure though
[General Topics] InfamousMykol:
Didn't find this command, can u send it pls?
[General Topics] Moe2003:
@Hamid Chikh new changes? What's new
[General Topics] Emre67511:
Did you find the solution ? Because I have the same problem
[General Topics] Huyqwerty:
Sir, just asking why did you update the post ?

The one I saw few months ago was better(my opinion, please don't hate me)
[General Topics] Hamid Chikh:
I'm on beta 2 and it seems that feature isn't available anymore. Might be why they just disabled it ? In the meantime, you can try restoring any "SCPM" and "SDHMS" apps
[General Topics] Hamid Chikh:
Check latest post
[General Topics] Hamid Chikh:
It's in OP
[General Topics] Hamid Chikh:
I did new tests in S22, feel free to try yourself and report back results to everyone
[General Topics] Hamid Chikh:
I presume your already tried to restore screenshare, smart view and cast apps before posting ?
[General Topics] TheWinner2810:
Okay, applied all settings through the script that @laminmohamadi posted above, phone feels snappier, probably because of the animaton scales reduced, willing to test the battery life, cheers!
[General Topics] Reicoler:
Yes and by saying cast apps wdym?
[General Topics] Hamid Chikh:
Apps that have "cast" in them, including smartview
[General Topics] Reicoler:
Sure yes i did
[General Topics] Reicoler:
Also um im sure that i might not have all of the apps backed up (thats a long story) so can you send me the package names of the cast apps so ill be able to test it? Or if youve got another solution that would be good
[General Topics] Axiomkid:
Not sure what happened. I might be to high to realize my Reserved ram changed from 1.9 to 2. How could of this have happened and why the sudden change 😕 let me add that it keeps flipping between 1.9 and 2....🤔 seems to change back to 2 reserved when I clean the ram and then respectively drops to 1.9. No bloat disabled, this has never happened before.
[General Topics] rodken:
The general idea behind Reserved Mem/RAM means that the storage space is set aside by a technology for its use. The idea is that memory reserved for a specific process sometimes background apps cannot be used by other processes.

Observe which app(s) is/are running in the background and watch how the number(s) might fluctuate when you test the theory.

There is also the case of how the RAM used falls into the "Reserved-used by OS" conundrum.

N.B.: RAM info > Settings > Developer mode > Running services
[General Topics] Axiomkid:
I spend day and night tweaking my phone non stop keep trying to find new tweaks..... I'm an old timer XDA member. Been here since the days of my Samsung Infuse 4G. Samsung has come long ways, but all this newer stuff they keep adding is frustrating and not as easy as it was back then.
[General Topics] rodken:
I would agree that most of the skins that the majority of manufacturers slap on top of pure Android leave a lot to be desired considering the fact that most if not all skins are arguably more of a novelty with performance issues.

Hence, the reason why some folks prefer a Custom ROM over so-called Stock ROM.

Factory resetting every time something catastrophic occurs is not an option and not everyone has the patience or need to root his/her device just to clear the data cobwebs left behind by some of these additional designs and functionality tweaks.
[General Topics] Axiomkid:
Most understandable as I was once a rooted user preferring a custom rom as it was most desirable to edit the Build.Prop to maximize Extreme performance, couldn't tell you how many times I've bricked a phone but was lucky enough to revive it. And I agree when it comes down to an issue occurring factory resetting is not always an option as it may not always fix the issue you wanted fixed before the reset so reapplying everything becomes time consuming. I always urge others if you don't know what something is, research it and make sure it's not going to affect what is you do on your phone whether it be for Multitasking, Gaming, Best Battery Life. I've been gone since Ice Cream Sandwich was released. I was a tester and a editor. I got so much to catch up on.
[General Topics] Hamid Chikh:
Guys, i don't know how and i'm just as confused as you are, but right after a factory reset, you can just uninstall GOS and it works.
[General Topics] Hamid Chikh:
Updated Presets ...​
[General Topics] Hamid Chikh:
You're right, i restored it
[General Topics] Hamid Chikh:
OneUI 4.1 closing in ...
[General Topics] Hamid Chikh:
##### LAST EDITED: 03-02-2021 ##### MAX PRESET V1.3

- Restored System update (for OneUI 4.1 deployement)

- Restored Webview after testing.

- Managed other apps

We're now at:

- 312 Deleted apps

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

- 95 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] Hamid Chikh:
2.6 - Completely remove ads system-wide without any app​

Go to settings, connections, more connections settings, look for Private DNS.

- Set: dns.adguard.com as custom dns

- Reboot.
[General Topics] Hamid Chikh:
6h+ of Screen on time, all of it with adaptive refresh rate and 4G+ most of the time. I had games, YouTube @1440p, video calling, screen sharing, browsing, Instagram, a good mix. I could have gone with it as it had 14% left.

I'm satisfied, really.
[General Topics] nocio:
That's nice score you have there.

I usually have for about 5h SOT with 85-25% on mixed usage while I'm at work and at home.
[General Topics] Plyhakyr:
need something remotely, Discord doesn't enable, throws an error, Lathe PCR app doesn't enable (

after a full reset applied presets, everything worked
[General Topics] NozGojira:
We have same sot! 👌 Anyway howd you capture ur remaining battery on screenshot, took mine but doesnt capture
[General Topics] Hamid Chikh:
The excitement ... It's coming soon i see
[General Topics] Hamid Chikh:
Power and volume down doesn't work for you ?
[General Topics] Hamid Chikh:
Great to know things work for you
[General Topics] NozGojira:
I mean look ur screenshot you have whole screenshot i saw your remaining battery but when i took my screenshot its like cropped i cant see the battery on notification area
[General Topics] Furious Froyo:
Settings > Advanced Features > Screenshots and screen recorder > Hide status and navigation bars
[General Topics] Hamid Chikh:
Show me a screenshot for comparison
[General Topics] Hamid Chikh:
You guys should turn off "Spotify connect in the background" as it drains battery.