Skip to content

Instantly share code, notes, and snippets.

@tnn4
Last active February 9, 2026 04:15
Show Gist options
  • Select an option

  • Save tnn4/343efcd0d356eaf4525201826dbe90c3 to your computer and use it in GitHub Desktop.

Select an option

Save tnn4/343efcd0d356eaf4525201826dbe90c3 to your computer and use it in GitHub Desktop.
samsung a70 debloater

Samsung Android

Clear the System Caches

Turn the phone off

Hold Volume Up + Power

Release when the Samsung logo appears

In Recovery Mode, select Wipe cache partition

Confirm

Select Reboot system now

This clears out a huge pile of stale, fragmented, half‑broken system files that were choking the phone’s indexing and storage engine.

iPhone

  1. How to optimize performance on an iPhone (the real levers) Here’s the high‑impact list — the things that actually matter:

A. Keep 10–20% free storage This gives the controller room to breathe and keeps iOS from entering “storage pressure mode.”

B. Restart occasionally iOS is stable, but long uptimes accumulate background processes.

C. Offload or reinstall heavy apps Instagram, TikTok, Facebook, Reddit, and Safari can accumulate gigabytes of cache.

Settings → General → iPhone Storage → Offload App

D. Avoid massive iMessage histories iMessage threads with years of attachments slow down the Messages app specifically.

E. Disable background refresh for apps you don’t need Settings → General → Background App Refresh

F. Keep iOS updated Apple optimizes older devices in later patches.

G. Reduce Motion Settings → Accessibility → Motion → Reduce Motion

This helps older devices noticeably.

# Powershell as admin: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
# Conservative Samsung debloat based on your package list
# Uses ./adb.exe in the current directory
$packages = @(
"com.sec.android.app.samsungapps",
"com.samsung.android.app.galaxyfinder",
"com.samsung.android.themestore",
"com.samsung.android.app.aodservice",
"com.samsung.android.app.cocktailbarservice",
"com.samsung.android.aremoji",
"com.samsung.android.smartmirroring",
"com.samsung.android.mapsagent",
"com.samsung.android.kidsinstaller",
"com.samsung.android.aware.service",
"com.samsung.android.rubin.app",
"com.samsung.android.mdx.quickboard",
"com.samsung.android.visualars",
"com.samsung.gpuwatchapp",
"com.samsung.android.game.gamehome",
"com.samsung.systemui.bixby2",
"com.samsung.android.app.settings.bixby",
"com.samsung.android.app.tips",
"com.samsung.android.smartfitting",
"com.samsung.android.storyservice",
"com.samsung.android.game.gametools",
"com.samsung.android.app.simplesharing",
"com.samsung.android.service.peoplestripe",
"com.samsung.android.da.daagent",
"com.samsung.android.app.reminder",
"com.samsung.android.smartcallprovider",
"com.samsung.android.app.smartcapture",
"com.samsung.android.app.taskedge",
"com.samsung.android.dynamiclock",
"com.samsung.android.ardrawing",
"com.samsung.android.themecenter",
"com.samsung.android.app.routines",
"com.samsung.android.setting.multisound",
"com.samsung.android.arzone",
"com.samsung.android.bixbyvision.framework",
"com.samsung.app.highlightplayer",
"com.samsung.android.game.gos",
"com.samsung.android.forest",
"com.samsung.android.hdmapp",
"com.samsung.android.app.camera.sticker.facearavatar.preload",
"com.samsung.android.stickercenter",
"com.samsung.android.mdx",
"com.samsung.android.app.updatecenter",
"com.samsung.android.samsungpass",
"com.samsung.android.scloud",
"com.samsung.android.app.sharelive",
"com.samsung.android.spayfw",
"com.samsung.app.newtrim",
"com.samsung.android.app.spage",
"com.samsung.android.knox.analytics.uploader",
"com.samsung.android.bbc.bbcagent",
"com.samsung.android.visionintelligence",
"com.samsung.android.livestickers",
"com.samsung.android.app.watchmanagerstub",
"com.samsung.android.svoiceime",
"com.samsung.android.mateagent",
"com.samsung.android.app.appsedge",
"com.samsung.android.samsungpassautofill",
"com.samsung.android.app.clipboardedge",
"com.samsung.android.app.dressroom",
"com.samsung.android.app.dofviewer",
"com.samsung.android.allshare.service.fileshare",
"com.samsung.android.allshare.service.mediashare",
"com.samsung.android.smartsuggestions",
"com.samsung.android.video",
"com.samsung.android.bixby.agent",
"com.samsung.android.bixby.wakeup",
"com.samsung.android.bixby.service",
"com.samsung.android.bixby.agent.dummy"
)
Write-Host "Checking for ./adb.exe..." -ForegroundColor Cyan
if (-not (Test-Path "./adb.exe")) {
Write-Host "adb.exe not found in this folder. Place adb.exe here and try again." -ForegroundColor Red
exit
}
Write-Host "Waiting for device..." -ForegroundColor Cyan
./adb.exe wait-for-device
Write-Host "Starting debloat (conservative safe set)..." -ForegroundColor Green
# Run: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
foreach ($pkg in $packages) {
Write-Host "Disabling $pkg ..." -NoNewline
$result = ./adb.exe shell pm disable-user --user 0 $pkg 2>&1
if ($result -match "new state: disabled-user") {
Write-Host " OK" -ForegroundColor Green
} elseif ($result -match "Unknown package" -or $result -match "not installed") {
Write-Host " Not found" -ForegroundColor Yellow
} else {
Write-Host " Error" -ForegroundColor Red
Write-Host " $result"
}
}
Write-Host "Done. Rebooting device..." -ForegroundColor Cyan
./adb.exe reboot
# Powershell as admin: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
# Re-enable Samsung services required for Ultra Power Saving Mode
# Uses ./adb.exe from the current directory
$packages = @(
"com.samsung.android.app.sbrowser",
"com.samsung.android.app.galaxyfinder",
"com.samsung.android.app.spage",
"com.samsung.android.app.settings.bixby",
"com.samsung.systemui.bixby2",
"com.samsung.android.rubin.app",
"com.samsung.android.service.peoplestripe"
)
Write-Host "Checking for ./adb.exe..." -ForegroundColor Cyan
if (-not (Test-Path "./adb.exe")) {
Write-Host "adb.exe not found in this folder. Place adb.exe here and try again." -ForegroundColor Red
exit
}
Write-Host "Waiting for device..." -ForegroundColor Cyan
./adb.exe wait-for-device
Write-Host "Re-enabling Samsung services..." -ForegroundColor Green
foreach ($pkg in $packages) {
Write-Host "Enabling $pkg ..." -NoNewline
$result = ./adb.exe shell pm enable --user 0 $pkg 2>&1
if ($result -match "enabled") {
Write-Host " OK" -ForegroundColor Green
} elseif ($result -match "Unknown package" -or $result -match "not installed") {
Write-Host " Not found" -ForegroundColor Yellow
} else {
Write-Host " Error" -ForegroundColor Red
Write-Host " $result"
}
}
Write-Host "Done. Rebooting device..." -ForegroundColor Cyan
./adb.exe reboot
# Powershell as admin: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
# Samsung A70 Debloat Script (Safe, No Root)
# List of Samsung packages to disable
$packages = @(
"com.samsung.android.bixby.agent",
"com.samsung.android.bixby.wakeup",
"com.samsung.android.app.spage",
"com.samsung.android.mdx",
"com.samsung.android.mdx.kit",
"com.samsung.android.rubin.app",
"com.samsung.android.visionintelligence",
"com.samsung.android.aremoji",
"com.samsung.android.arzone",
"com.samsung.android.app.camera.sticker.facear.preload",
"com.samsung.android.app.settings.bixby",
"com.samsung.android.app.sbrowseredge",
"com.samsung.android.app.watchmanager",
"com.samsung.android.da.daagent",
"com.samsung.android.service.peoplestripe",
"com.samsung.android.service.livedrawing",
"com.samsung.android.service.aircommand",
"com.samsung.android.app.galaxyfinder",
"com.samsung.android.app.reminder",
"com.samsung.android.app.notes",
"com.samsung.android.app.smartcapture",
"com.samsung.android.app.clipboardedge",
"com.samsung.android.app.sharelive",
"com.samsung.android.app.simplesharing",
"com.samsung.android.app.tips",
"com.samsung.android.game.gamehome",
"com.samsung.android.game.gametools",
"com.samsung.android.game.gos",
"com.samsung.android.game.gametuner",
"com.samsung.android.samsungpass",
"com.samsung.android.samsungpassautofill",
"com.samsung.android.scloud",
"com.samsung.android.beaconmanager",
"com.samsung.android.fmm",
"com.samsung.android.mobileservice",
"com.samsung.android.samsungaccount",
"com.samsung.android.keyguardwallpaperupdator",
"com.samsung.android.app.dressroom",
"com.samsung.android.app.social",
"com.samsung.android.app.kidsinstaller",
"com.samsung.android.app.parentalcare",
"com.samsung.android.app.sbrowser"
)
Write-Host "Checking ADB..." -ForegroundColor Cyan
if (-not (Get-Command adb -ErrorAction SilentlyContinue)) {
Write-Host "ADB not found. Install platform-tools and add to PATH." -ForegroundColor Red
exit
}
Write-Host "Waiting for device..." -ForegroundColor Cyan
adb wait-for-device
Write-Host "Starting debloat..." -ForegroundColor Green
foreach ($pkg in $packages) {
Write-Host "Disabling $pkg ..." -NoNewline
$result = adb shell pm disable-user --user 0 $pkg 2>&1
if ($result -match "new state: disabled-user") {
Write-Host " OK" -ForegroundColor Green
} elseif ($result -match "Unknown package" -or $result -match "not installed") {
Write-Host " Not found" -ForegroundColor Yellow
} else {
Write-Host " Error" -ForegroundColor Red
Write-Host " $result"
}
}
Write-Host "Done. Rebooting device..." -ForegroundColor Cyan
adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment