[Samsung Galaxy S10 Guides, News, & Discussion] doggydog2:
S10 stock cleanup actions

yet another phone this year V30->Note9->6T->Mi9->S10, time to update guides. Goal is to have a clean phone after each update, and since reboot doesn't happen often, but defly happens during upgrade, i'm putting cleanup commands into a [boot] script.

Boot script

What it does:

* choose 8 categories of app removal, in the beginning of the file

* use more switch to disable some questionable/helpful stuff

* disable up to 100 apps (preferred method, ppl can reenable)

* remove usage access for google (this is the part not tested and disabling device/trust admins can not be scripted)

Tested ok on recent stock. Not much to put in script unlike on MIUI which used shady practices. Samsung not hiding processes, not persisting apps (except Payment triggers some soft brick - interesting), and not sending tcpdumps to china. Also not having privacy policy in every basic app. It's on you to accept Fourthsquare, Google and then Bixby 3rd party stuff. Well I initially sniffed network and saw some 3rd party sleezy connection to social networking IPs (nonstop monitoring by facebook etc), but that is obvious and well known, and is swiftly disabled by the script. Will see later if there's something that could be tweaked further.

Download: file attached

Installation:

- run in su terminal or add to any startup script

Which plugins to use for S10

Similarly to Mi9, collecting what i think is useful to keep on stock rooted firmware.

Magisk plugins:

* Riru - Core, Riru - Ed Exposed -- brings XPosed to Pie. Need also installer. Now i use old version 0.3 as i feel new SandHook/Yahfa bipolar releases make phone sluggish. This case is to be monitored.

* Bixby button remapper -- so in Samsung case, extra key is not released after Bixby debloat, so we first slap this plugin into phone and then customize via Xposed Edge

* libsecure_storage companion -- helps us keep the bluetooth pairings

* (optional) Universal GMS Doze (disappeared from repository?) or Sysconfig patches -- cools down GMS services. Questionable impact but i use it.

* (optional) YouTube Vanced black themed -- brings usable YouTube experience

* (impossible) QuickSwitch -- we can't have Quickstep+Hyperion (the most capable Quickstep launcher) as there's no pill but Samsong custom recents

* (untested) - FDE, LKT - in a short time, i wasn't optimizing battery. It's good out of the box(!).

XPosed plugins:

* Xposed Edge Pro - a must have and best plugin. Here, by the way, we will modify Bixby button once again, including double press and long press. Because why not:)

* XPrivacy - Screw the big brother. Must have. Disabling analytics, tracking, telephony, network, identification for all visible apps and all Google and Samsung apps with some exceptions.

* Firefds kit - so this is our main customization app, and enables the very important call recording, which is beutifully integrated into call history. Bye bye external apps. Also we will remove Restart action and replace with Recovery action and rename it to Restart:)

* afWall - Problems with this firewall and some VPN clients. Should by disabled in Xposed but we want to have this tool

* (optional) Exi for Swiftkey - you can make Swiftkey great again, GBoard is still the best, Samsung keyboard is very good, but too tall and leaves gap in fullscreen mode

Other stuff

- booting to non-root ok, impact could be lost pairings. So let's have it as a useful safe mode.

- after setup, never used Power+Bixby+VolUp. After shutdown, not needed. Rebooting with modified Restart command. Easy

- using TWRP to flash blank Samsung boot logos, to see files etc

- not using multidisabler as i'm on stock and i do want encryption, ROMs/MODs push it thou

- next monthly upgrade will be interesting, as it'll be time to verify what unwanted stuff is being reenabled

Battery saving:

- unknown effect of {LSpeed, Naptime, Servicely, FDE, LKT, Universal GMS Doze, Sysconfig patcher} in such a short time.

- not big impact by dozes (AOD, fp icon, dt2wake, raise2wake) - that's cool.

- having 1.0-1.2%/hr in home wifi standby, VPN, locationtracking, perma BT watch, and tons of widgets and apps

- not liking memory filling up by thrashware even after debloat. From 4GB free to 2GB free quickly.