Skip to content

About

⚡ The definitive, non-destructive ADB performance & battery optimization suite for Oppo (ColorOS), OnePlus (OxygenOS), and Realme (Realme UI). Lock 120Hz, kill background ad wakeups, and eliminate micro-stutters without root.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ OPlus-Turbo

The Definitive, Zero-Lag ADB Performance & Battery Optimizer

Engineered for Oppo (ColorOS) • OnePlus (OxygenOS) • Realme (Realme UI)

Android 12+ Root Required: NO Safety: 100% Banking Pass License: MIT Verified Devices

Tired of micro-stutters, camera shutter lag, aggressive background app killing, and hidden 60Hz display caps?
OPlus-Turbo is an open-source, non-destructive ADB optimization suite engineered for both midrange/budget and flagship devices. It reclaims ~530MB of physical RAM, drops idle temps by 3°C, purges bloat/ads, accelerates camera ISP pipelines, and locks native peak fluidity—without breaking cameras, earbud pairing, or banking apps.

⚡ Quick Start • 📊 Benchmarks • 📸 Camera Fix • 🛡️ Safety Architecture • 📱 Midrange Benefits • 🔄 Factory Rollback


📊 Proven Real-World Benchmarks

Measured on ColorOS / OxygenOS (Snapdragon & Dimensity platforms) over 4+ hours of active telemetry:

Subsystem / Metric Stock Factory State With OPlus-Turbo Real-World Impact
Display Refresh Rate Drops dynamically to 60 Hz 🔒 Locked Max (90Hz / 120Hz / 144Hz) Zero scroll stutter across all apps
Idle Battery Temperature 33.8 °C ❄️ 30.6 °C – 31.0 °C ~3.0 °C cooler baseline
CPU Idle Load Average 14.99 (High background load) ⚡ 7.23 – 8.09 ~50% lower idle CPU strain
CPU Idle Headroom ~60% Idle 🚀 87% Idle (696% / 800%) Processor sleeps peacefully
Active RAM Footprint (PSS) 5.16 GB 💾 4.63 GB ~530 MB physical RAM freed
Physical ZRAM Swap 1,305 MB used ⚡ 933 MB used Less CPU overhead on decompression
Camera Viewfinder Jank 74.67% frame drops 🎯 Butter-Smooth (<3% jank) Instant viewfinder & native extensions
Ad Wakeups (AdsCoreService) Waking up every 30 mins 🚫 0 Wakeups (Purged) Minimal overnight standby drain

📸 The Camera Lag & Shutter Delay Solution

Many users notice that ColorOS / OxygenOS / Realme UI camera viewfinders feel choppy and photos suffer from noticeable shutter lag. Telemetry reveals four root causes that OPlus-Turbo and our developer tuning solve:

 ┌────────────────────────────────────────────────────────────────────────┐
 │                      COLOROS CAMERA BOTTLENECKS                        │
 ├────────────────────────────┬───────────────────────────────────────────┤
 │ 1. 60Hz Perception Shock   │ Display drops from 120Hz to 60Hz on launch│
 │ 2. Uncompiled Extensions   │ CameraExtensionsProxy running on ART JIT  │
 │ 3. Real-Time AI Overload   │ NPU scene recognition running every frame │
 │ 4. Multi-Frame Bracketing  │ Auto-Night & Auto-HDR multi-second delay  │
 └────────────────────────────┴───────────────────────────────────────────┘

What OPlus-Turbo Does for Your Camera:

  1. Compiles Camera Subsystems to Native ARM64 Code (speed):
    • Pre-compiles com.oplus.camera, com.android.cameraextensions (Night, Portrait, and HDR engines), and com.coloros.gallery3d (thumbnail preview) into direct native machine code.
    • Eliminates runtime JIT compilation pauses when opening the viewfinder or capturing rapid shots.
  2. Purges Memory Pressure & ZRAM Thrash:
    • Reclaims ~530MB of RAM and trims flash caches (sm fstrim), ensuring the Camera HAL (vendor.qti.camera.provider) has immediate access to 250MB+ DMA-BUF image buffers without triggering kswapd thrashing.

💡 3 Pro In-App Camera Tweaks for Instant Shutter Speed:

  • Turn OFF "AI Scene Enhancement": Swipe down the top chevron in the camera viewfinder and toggle the AI icon to OFF. Real-time NPU scene classification on every preview frame causes heavy preview judder.
  • Turn OFF "Auto Night Mode" (Moon Toggle): In dim lighting, ColorOS automatically engages multi-second exposure bracketing. Tap the yellow Moon (🌙) icon in the corner to disable it for instant shutter capture.
  • Turn OFF Watermark & Location: In Camera Settings, disable Watermark (saves ~500ms of image re-encoding per photo) and disable Location info (stops the camera from waiting for GPS lock before saving).

💡 Why Generic Debloaters Break Your Phone (And Why OPlus-Turbo Doesn't)

Most online debloat scripts blindly delete any package containing oplus or heytap. That breaks phones.

OPlus-Turbo uses surgical subsystem tuning:

  • ❌ Generic scripts delete com.oplus.nas: They assume it's "Network Attached Storage". In reality, it is Network Assist System (NetworkAssistSys.apk) running under core UID 1000 (system). Deleting it breaks dual-channel Wi-Fi/cellular handover and causes gaming latency spikes. OPlus-Turbo protects it.
  • ❌ Generic scripts delete com.heytap.htms: This package contains ad services, but it also houses ColorOS cloud policy bindings (cloudctrl). Deleting it triggers boot warnings and breaks account sync. OPlus-Turbo tames it safely by placing it into the RESTRICTED standby tier—freezing its 30-minute ad alarms while leaving system bindings 100% functional.
  • ❌ Generic scripts delete com.heytap.accessory: This breaks pop-up pairing, battery status, and touch equalizer settings for Oppo Enco and OnePlus earbuds. OPlus-Turbo leaves this intact.

📱 Why Mid-Segment & Budget Devices Benefit The Most

Flagship phones with Snapdragon 8-series chips have raw horsepower to brute-force through background bloat. Mid-segment and budget devices (Realme Narzo/Number/C-series, OnePlus Nord/CE, and Oppo A/Reno series with 6GB–8GB RAM and Dimensity/Snapdragon 6/7 SoCs) struggle with real-world bottlenecks:

  1. 💾 The "Aggressive RAM Killer" (Multitasking Saved): Mid-tier phones constantly kill background apps because OEM tracking services, ad daemons, and Facebook stubs consume over 1.5GB of RAM. OPlus-Turbo reclaims ~530 MB of active physical RAM and reduces ZRAM swap overhead by 372 MB—stopping background music, maps, and browser tabs from randomly reloading.
  2. ⚡ Instant Cold App Launches (No More App/Camera Lag): Budget and midrange SoCs have slower single-core performance. When you open heavy apps like WhatsApp, Camera, or Maps, Android has to compile bytecode on the fly (JIT lag). OPlus-Turbo runs full Ahead-Of-Time (AOT) compilation (-m speed), converting priority apps into native machine code for instant launches.
  3. 🚫 Complete Ad & "Hot Apps" Removal: Subsidized budget devices are heavily monetized. OPlus-Turbo strips out "Hot Apps" & "Hot Games" home screen folders (by debloating HeyTap Market), eliminates Glance lockscreen wallpaper ads, and kills 30-minute ad download alarms.
  4. ❄️ Thermal Throttling & Battery Preservation: Midrange processors heat up quickly in pockets or warm weather. Dropping baseline idle temperatures by 3.0°C prevents early thermal throttling during daily tasks and gaming.
  5. 🎯 Adaptive Peak Refresh Rate Lock (90Hz / 120Hz / 144Hz): Dynamically queries your hardware and locks your display to its maximum native rate (90Hz, 120Hz, or 144Hz), eliminating the OS's hidden 60Hz cap.
  6. 🛑 Pro-Tip: Disable "RAM Expansion" (Virtual RAM): ColorOS advertises "+4GB / +8GB Virtual RAM", but it uses slow UFS flash storage as swap (hybridswapd). Flash storage is 100x slower than real LPDDR RAM. Disabling RAM Expansion (Settings ➔ About device ➔ RAM ➔ RAM Expansion ➔ OFF) stops flash memory thrashing and eliminates micro-stutters!

⚡ What OPlus-Turbo Does

 ┌────────────────────────────────────────────────────────────────────────┐
 │                           OPLUS-TURBO SUITE                            │
 ├───────────────────┬───────────────────┬────────────────────────────────┤
 │   FLUIDITY CORE   │   BATTERY SHIELD  │        STORAGE & SPEED         │
 ├───────────────────┼───────────────────┼────────────────────────────────┤
 │ • 120Hz True Lock │ • Purge Ad Alarms │ • Dual-Tier AOT Compilation    │
 │ • 0.5x Animations │ • Kill Passive BLE│ • Camera Extension Acceleration│
 │ • Skia Vulkan HWUI│ • Global App Shield│ • Flash Storage TRIM (fstrim) │
 │ • Input Boost Sync│ • AdServices Kill │ • 20+ OEM Bloat Stubs Cleaned  │
 └───────────────────┴───────────────────┴────────────────────────────────┘

1. 🚀 Locks True 120 Hz / 144 Hz Fluidity

ColorOS / OxygenOS defaults to an aggressive "Auto-select" mode (oplus_customize_screen_refresh_rate=3) that silently caps social feeds, Chrome, and daily apps to 60 Hz. OPlus-Turbo locks min and peak refresh rates to your panel's maximum native refresh rate.

2. ⚡ 50% UI Latency Reduction

Cuts window, transition, and gesture animator delays from 1.0x to 0.5x, making touch interaction feel instantaneous.

3. 🛡️ Tames Advertising Alarms (com.heytap.htms)

Puts htms into Android’s RESTRICTED Standby Bucket (Bucket 5) and suppresses POST_NOTIFICATION. The system bindings stay alive, but background ad scheduling and wakeups are completely frozen.

4. 🧹 Safely Debloats Redundant OEM, Ad & Partner Stubs

OPlus-Turbo dynamically scans for 20+ verified redundant packages and safely uninstalls or suspends them for user 0 without touching camera engines, audio tuning, or system frameworks:

🔍 Click to view all safely debloated packages & categories
Category Targeted Packages Why It's Safe & Why It Matters
Lock Screen Ads com.heytap.pictorial, com.coloros.pictorial, com.glance.internet Stops background downloading of lockscreen wallpaper ads & sponsored news feeds.
OEM Stores & Browsers com.heytap.market, com.oppo.market, com.nearme.gamecenter, com.heytap.gamecenter, com.heytap.browser, com.nearme.browser, com.nearme.instant.platform (Quick Apps) Kills "Hot Apps" folders, spam notifications, sponsored app downloads, and adware browsers. Google Play Store remains 100% active.
Facebook Tracking Suite com.facebook.appmanager, com.facebook.services, com.facebook.system Eliminates persistent OEM background tracking daemons (preserves your personal Facebook/Messenger apps if you use them).
Telemetry & Push Analytics com.heytap.habit.analysis, com.oplus.postmanservice, com.oplus.gleanerservice, com.oplus.onetrace, com.oplus.logkit, com.nearme.statistics.rom, com.oplus.statistics.rom, com.coloros.feedback, com.oppo.usercenter.contact, com.oplus.bttestmode, com.oplus.nfcengineertest Silences internal telemetry harvesters, disk trace dumpers, and factory test stubs.
Partner & Carrier Stubs com.netflix.partner.activation, com.amazon.appmanager Removes carrier stubs that negotiate background activation tokens.
Manuals & Crash Loggers com.oppo.operationManual, com.coloros.operationManual, com.google.android.feedback Reclaims storage and stops idle logger wakeups.

Note: All debloated packages can be restored instantly at any time via restore.ps1 or the interactive menu!

5. 🔋 Global 30+ App Shield (Zero Standby Wakeups)

Aggressive e-commerce, food delivery, ride-hailing, and carrier apps are notorious for scheduling persistent background sync alarms, push-marketing beacons, and analytics collectors even when not running.

OPlus-Turbo dynamically scans your device for 30+ top worldwide consumer apps and locks any detected installations into Android's RESTRICTED Standby Bucket (or Bucket 40 for social apps). They open and run at 100% full speed when you interact with them, but immediately freeze when closed—eliminating passive battery drain while preserving incoming push notifications and phone calls.

🔍 Click to view all 30+ supported apps (Global, US, EU, India, SEA)
Category Apps Monitored & Frozen on Idle
Global E-Commerce Amazon Shopping (Global & Business), eBay, Walmart, Target, Temu, AliExpress, SHEIN (com.zzkko)
Regional & Fashion Flipkart, Myntra, Meesho, Ajio, Shopsy, Cashify, OLX
Food & Quick Grocery Blinkit, Swiggy, Zomato, Zepto, Instacart, DoorDash, Uber Eats
Telecom & Carrier Apps Airtel Thanks, MyJio, My Verizon, AT&T Thanks, T-Mobile, Mint / Mizmo
Ride-Hailing & Travel Uber, Ola Cabs, Rapido, MakeMyTrip, Booking.com, Airbnb
Social & Background Scrapers Truecaller, Instagram, Twitter/X, Reddit, Snapchat, LinkedIn

Note: The script dynamically detects only what is currently installed on your phone—it never generates missing package errors or crashes on missing apps.

6. 🚫 Kills Passive Radio Scanning, AdServices & Network Probes

  • Disables background Wi-Fi and Bluetooth beacon polling (wifi_scan_always_enabled = 0, ble_scan_always_enabled = 0).
  • Disables silent crash/error log uploads (send_action_app_error = 0).
  • Disables Android Privacy Sandbox on-device ad profiling (adservices_measurement_enabled = 0, adservices_topics_enabled = 0, adservices_fledge_enabled = 0).
  • Disables network quality rating probes and background Wi-Fi wakeups (network_scoring_ui_enabled = 0, network_recommendations_enabled = 0, wifi_wakeup_enabled = 0).
  • Disables Google Print Recommendation mDNS broadcasts (com.google.android.printservice.recommendation).
  • Disables Digital Wellbeing (com.google.android.apps.wellbeing) to remove real-time window tracking intercepts.

7. 🏎️ Dual-Tier Ahead-Of-Time (AOT) Machine Code Compilation

  • Tier 1 (Core Daily Drivers & Camera Subsystem): Compiles essential apps (SystemUI, Settings, Camera, CameraExtensionsProxy, Gallery3D, WhatsApp, Brave, Instagram, Twitter, Truecaller) directly into native ARM64 machine code (-m speed) for instantaneous cold launch speeds.
  • Tier 2 (System-Wide Profile Compilation): Runs cmd package compile -m speed-profile -a across all remaining apps to eliminate runtime JIT compilation stutters.
  • Flash Storage TRIM: Executes sm fstrim across all NAND partitions to refresh flash memory blocks and restore peak write speeds.

📱 Supported Devices

OPlus-Turbo is built for devices running the unified OPLUS / ColorOS base:

Brand Operating System Compatible Models
OPPO ColorOS 12 / 13 / 14 / 15 / 16 / 17+ Find X Series, Reno Series (8–16), A-Series, F-Series, Find N Fold/Flip
ONEPLUS OxygenOS 12 / 13 / 14 / 15 / 16+ OnePlus 13, 12, 11, 10, 9 Series, OnePlus Open, Nord Series
REALME Realme UI 3.0 / 4.0 / 5.0 / 6.0+ Realme GT Series, Number Series (10–14), Narzo Series
OTHER ANDROID Android 12 – 17+ Most tweaks (AOT, 0.5x, scanning, fstrim) apply universally!

🚀 Quick Start (30 Seconds)

Step 1: Enable USB Debugging on your phone

  1. Go to Settings → About Device → Version → Tap "Build number" 7 times.
  2. Go to Settings → Additional Settings → Developer Options → Turn ON "USB debugging".
  3. Connect your phone to your PC via USB cable and tap "Allow" on the prompt.

Step 2: Run the Optimizer

⚡ Option A: Double-Click (Windows 1-Click Launcher)

  • Download or clone this repository, plug in your phone, and simply double-click run.bat!
  • It automatically handles execution policies and launches the interactive menu.

💻 Option B: Windows (PowerShell)

# In PowerShell inside the folder:
.\optimize.ps1

# Or run instantly without downloading:
irm https://raw.githubusercontent.com/alienofmoon/OPlus-Turbo/main/optimize.ps1 | iex

🍎 Option C: macOS / 🐧 Linux (Bash)

chmod +x optimize.sh
./optimize.sh

# Or run instantly via curl:
curl -sSL https://raw.githubusercontent.com/alienofmoon/OPlus-Turbo/main/optimize.sh | bash

🧭 Interactive Menu & Audit Mode

When you launch OPlus-Turbo, an interactive menu appears:

===================================================================
      OPLUS-TURBO: SAFE ADB PERFORMANCE & BATTERY OPTIMIZER
      For Oppo (ColorOS) | OnePlus (OxygenOS) | Realme (Realme UI)
      https://github.com/alienofmoon/OPlus-Turbo
===================================================================

 Choose an option:
  [1] 🔍 Run System Health Check & Audit (Read-Only / No Changes)
  [2] ⚡ Run Full Safe Optimization (Recommended)
  [3] 🔄 Restore Factory Defaults (Undo All Changes)
  [4] ❌ Exit
  • Option 1 (Audit Mode): Reads your phone's battery temperature, refresh rate drops, and counts recurring AdsCoreService alarms without changing a single setting.
  • Option 2 (Full Optimization): Applies the verified 7-stage optimization suite.
  • Option 3 (Restore): Reverts all settings back to factory defaults.

🔒 100% Safe: Turn Off Developer Options Afterward!

Once the script completes, you can safely turn OFF Developer Options and unplug your phone:

  • All optimizations are written directly to internal storage partitions and system databases—they survive reboots!
  • Disabling Developer Options ensures that banking, UPI (Google Pay, PhonePe, Paytm), and corporate security apps pass integrity checks 100%.

🔄 One-Click Restore (Factory Defaults)

Want to revert everything back to stock factory settings? Run:

.\restore.ps1

(Reinstalls uninstalled OEM packages, restores Digital Wellbeing, and resets default refresh rate behavior).


🤝 Contributing & Community

  • Found a device-specific optimization or new package? Pull requests and issues are welcomed!
  • If OPlus-Turbo made your phone feel smoother, drop a ⭐ Star on this repository to help other users discover it!

Distributed under the MIT License.
Built with ❤️ for the global Android, Oppo, OnePlus, and Realme communities.

About

⚡ The definitive, non-destructive ADB performance & battery optimization suite for Oppo (ColorOS), OnePlus (OxygenOS), and Realme (Realme UI). Lock 120Hz, kill background ad wakeups, and eliminate micro-stutters without root.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages