[OnePlus 7T Pro (Regular & McLaren) ROMs & Dev.] foobar66:
*** Wiz *** Pixelize your OnePlus 7T pro

"Extreme debloat: Go where OnePlus has never gone before"

You thought that OnePlus phones were pretty stock Android? Hmmm .... think again ... there's still lots of stuff on these phones that you actually don't need (or want).

For example, did you know they have an engineering mode? Did you know that they can connect to your phone remotely? Did you know that when the phone starts up it connects to a OnePlus server in the back? Well, I don't want all that ...

In addition, there are even standard things in Android that only 0.01% of the people ever use ... for example ... tracing, android dumps, ... these things are disabled in this ROM.

Then there's bits and pieces of Qualcomm stuff that you actually do not need/want (I don't even know what they do).

This is a ROM in the form of a Magisk (thanks: [MENTION=4470081]topjohnwu[/MENTION]) module. That's great (I think). You can install it on top of the normal OnePlus software. If you don't like it or want to revert back to the "standard" OnePlus software, just remove the Magisk module and ... done!

Upfront "warning"

There are a few features which I personally do not use. When you install this module then:

- you will no longer have face unlock

- you will not have VoLTE (I have disabled this because it does not work on my carrier)

Basic requirement

(1) Your OnePlus 7T pro must be ROOTED! Without root, do not read any further as you will not be able to use this ROM. There are other threads in the OnePlus 7T Pro pro forums which explain how to root (so please don't start asking how to do this).

(2) You must also be on the latest OnePlus software: 10.0.7.HD01BA (since I own a EU model of the OnePlus 7T pro, I have ONLY tested this ROM in this device/software). It "may" work on other variants of the device ... but I don't know. I can't answer questions to that either.

(3) You must have access to ADB over USB. If you don't know what this means, stop reading, then this is not for you.

Kernel requirement

This ROM will work with the standard out-of-the-box OnePlus 7T pro kernel. However, I would strongly advice you to flash the "arter97" kernel (see https://xdaforums.com/oneplus-7/one...development/arter97-kernel-oneplus-7-t3952578). It's a fantastic kernel and this ROM has some optimizations which go very well with this kernel (don't worry, they will work on the standard kernel as well).

Download?

Interested? Start downloading the magisk module from the link below (but please read further for installation instructions !!!).

https://drive.google.com/file/d/1XpiDKFQiuFuuTBvbKMAsxMH-B9Obi-Gz/view?usp=sharing

(click on the donwload icon upper right of screen)

The link contains always the LATEST version; check the changelog in post #2 below. You can find the file size and md5sum there as well.

Changelog

See post #2 below.

History

I once owned a Galaxy S8. ***GoogleWiz*** was one one the most popular ROMs on that phone. See https://xdaforums.com/galaxy-s8/sam...t/rom-googlewiz-oreo-extreme-debloat-t3750641. The difference is that I have now converted this to a Magisk module (reason: the "dynamic partitioning scheme" of Android Q makes it really hard to flash in the classical way; as you know even full TWRP functionality does currently not exist for the OnePlus 7T pro.

(Re)Using this work

Other devs, please feel free to (re)use this for your own work ... I am not asking anything from anybody, no donation, no thanks, no beer ;) ... you don't even have to mention that you (re)use this. We are here on XDA to share and learn from eachother. If you unzip the Magisk module, you can see exactly what is inside. But ... there has been quite some work into this. It was not created in 5 minutes. But I do this as a "hobby" ... I have always rooted and customized my Android phones. So hopefully you will enjoy. Source code in post #3 (https://xdaforums.com/showpost.php?p=81887167&postcount=3).

Telegram

No telegram group; I don't have time for that, so do not ask please.

Features

The ROM does NOT contain OnePlus applications! The only OnePlus applications are "Settings" and "Camera".

Nova launcher (https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher)

SwiftKey keyboard (https://play.google.com/store/apps/details?id=com.touchtype.swiftkey)

Google

play services (which can be put into doze mode)

play store (https://play.google.com/store)

photos (used as gallery; but NOT integrated with camera) (https://play.google.com/store/apps/details?id=com.google.android.apps.photos)

dialer (https://play.google.com/store/apps/details?id=com.google.android.dialer) with spam detect and nearby places

contacts (https://play.google.com/store/apps/details?id=com.google.android.contacts)

messaging (https://play.google.com/store/apps/details?id=com.google.android.apps.messaging)

text-to-speech (https://play.google.com/store/apps/details?id=com.google.android.tts)

gmail (https://play.google.com/store/apps/details?id=com.google.android.gm)

keep (https://play.google.com/store/apps/details?id=com.google.android.keep)

drive (https://play.google.com/store/apps/details?id=com.google.android.apps.docs)

maps (https://play.google.com/store/apps/details?id=com.google.android.apps.maps)

chrome (https://play.google.com/store/apps/details?id=com.android.chrome)

clock (with Spotify integration) (https://play.google.com/store/apps/details?id=com.google.android.deskclock)

calendar (https://play.google.com/store/apps/details?id=com.google.android.calendar)

calculator (https://play.google.com/store/apps/details?id=com.google.android.calculator)

search app integrated with Nova search bar (https://www.google.com/search/about/)

assistant (https://www.apkmirror.com/apk/google-inc/google-assistant/)

tasks (https://play.google.com/store/apps/details?id=com.google.android.apps.tasks)

translate (https://play.google.com/store/apps/details?id=com.google.android.apps.translate)

earth (https://play.google.com/store/apps/details?id=com.google.earth)

fit (https://play.google.com/store/apps/details?id=com.google.android.apps.fitness)

now cards integrated with Nova launcher (see https://xdaforums.com/showpost.php?p=75591011&postcount=4)

lens (https://play.google.com/store/apps/details?id=com.google.ar.lens)

news (https://play.google.com/store/apps/details?id=com.google.android.apps.magazines)

chromecast (aka Google home) (https://play.google.com/store/apps/details?id=com.google.android.apps.chromecast.app)

youtube (https://play.google.com/store/apps/details?id=com.google.android.youtube)

markup (https://9to5google.com/2018/03/07/android-p-dp1-markup-screenshot-editor/)

measure (https://play.google.com/store/apps/details?id=com.google.tango.measure)

weather (just type "weather" in the google search app; it will offer you to get an icon on the desktop)

android auto (Google's car mode) (https://www.android.com/auto/)

snapseed photo editor (https://play.google.com/store/apps/details?id=com.niksoftware.snapseed)

docs (https://play.google.com/store/apps/details?id=com.google.android.apps.docs.editors.docs)

slides (https://play.google.com/store/apps/details?id=com.google.android.apps.docs.editors.slides)

spreadsheets (https://play.google.com/store/apps/details?id=com.google.android.apps.docs.editors.sheets)

streetview (https://play.google.com/store/apps/details?id=com.google.android.street)

pixel icons in statusbar, quick settings tiles

pixel ringtones, notifications, UI sounds

camera2 API enabled (but I don't think this actuall does something useful)

- OnePlus bloatware removed (dialer, phone, messages, calculator, notes, gallery, zen, ...) + lots of background APKs

- OnePlus background processes (which send data to OnePlus) are disabled

- ad-free through large "hosts" file (works both for apps and web pages)

- lots of optimizations, really, *lots* of them (too many to list)

- support for init.d / services.d (see posts below if you want to use this)

- passes SafetyNet (I am using Google Pay and some Belgian NFC pay apps)

- "clean" and as close as possible to a Pixel phone

- optimized network/wifi config

- optimized touchboost (slightly faster application startup)

- optimized kernel scheduling settings

- disabled all kernel debugging/tracing

- frequency scaling throughout full CPU frequency ranges (saves battery and better performance when needed)

- disables swapping / zram (who needs this with 8GB of RAM)?

- bash shell in "su" mode (when using "adb shell")

- latest busybox (by [MENTION=4544860]osm0sis[/MENTION])

- 1x7 icon row for quick settings, 5 icons per row when you swipe down the full quick settings

- added .xml permission files to enable Pixel exclusive features (e.g. Google dialer)

- optimized .proto, .conf, .json, .ini, .sql files in the system

- improved thumbnail quality

- dalvik VM optimized settings (for "speed")

- auto clean junk files at boot time

- optimized audio settings

- optimized camera settings (e.g. supernight mode; but personally I don't see a difference in the night pictures)

- disabled "factory" and "engineering" mode

- reduced wifi scan interval

- auto sqlite optimization at boot time (only runs every 3 days)

- support for both 2.4GHz and 5GHz wifi bonding

- speaker and headset volume boost

Installation (really IMPORTANT to read)

You must start from the 10.0.7 "standard" OnePlus 7T pro software. I suggest you do a clean install from factory reset. Strictly speaking a full reset is not needed (so you could just go and install the Magisk module on your phone) but there may be certain side effects in that case. Anyway, assuming you will do a full reset, follow the instructions below:

Go to Settings > System > Reset options > Erase all data (factory reset)

Proceed through the normal setup sequence: accept the terms and conditions of OnePlus, skip the User Experience Program, skip the System Stability Program, skip the Push Notifications, skip the Built-in App Updates, connect to your wifi network, do NOT copy apps and data, enter your google account email of phone number, enter your google password, do 2 factor authentication (if you have enabled this on your google account), if a dialog pops up with "Add your current account", do that, disable Backup to Google Drive, disable Use Location, disable Send Usage and Diagnostic Data, type NEXT to use fingerprint, enter PIN code (twice), set up 1 or more fingerprints, you see a message about Google Assistant, press NEXT, you see a message about Google Pay, press Got It, skip the Anything Else screen, choose your screen calibration, choose font (slight preference for Roboto, better compatibility with Google apps), choose Navigation bar or Gestures, press START on the Setup Complete screen, you are now in the OnePlus launcher, allow carrier location service, swipe down the notification which says: Android Setup, click on Finish Setup, copy your data if you want that, press START, system will now check for updates, let it complete, copy your data from cloud or iphone, continue until you are back in the OnePlus launcher, go to Settings > About phone, tap build number 7 times to activate developer options (if you don't know what this is, search XDA)., enter your PIN, press back arrow, go to Settings > System > Developer options, enable "Advanced reboot", disable "Automatic system updates", enable "USB debugging mode", connect your phone to a PC, a dialog will pop up to Allow USB debugging (tick "Always allow from this computer") and press ALLOW, install the LATEST Magisk Manager APK (see https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445), push the Magisk Manager APK to your phone, e.g.

> adb push MagiskManager-v7.5.1.apk /sdcard/

open the app drawer, open the app called "Files", on the upper right, click the 3 dots, then "Show internal storage", on the upper left, click the 3 lines, select "OnePlus 7T Pro", scroll down and click on MagiskManager-v7.5.1.apk; install the app, open Magisk Manager, it will say your phone requires Additional Setup, click OK ... your phone will reboot 5 seconds later, open Play Store, select My Apps and Games, it will say that a number of updates are pending, press "Update all", exit Play Store, reopen it ... it might still say that there are pending updates, do them, activate NETFLIX ... do it NOW ... (if you first install the Magisk module, you will no longer be able to activate Netflix), push the downloaded magisk module to your phone

> adb push mm-googlewiz.zip /sdcard/

open the Magisk Manager app, press the 3 lines (top left of screen), press Modules, press + button (and allow Magisk Manager to access media), press the 3 lines top left in the file manager, select OnePlus 7T pro, scroll down and click on the mm-googlewiz.zip file, Magisk Manager will now install the module ... you will see some text output on the screen ... wait until installation is done (it will take a minute or so), press the yellow Reboot button which appears (your phone will reboot), unlock the lock screen by entering your PIN, let the ROM settle 30 secs ... it will say "Restarting" and reboot once more your phone, unlock the lock screen by entering your PIN, open the drawer, open the Settings app (will be in black mode [my personal liking] ... you can change later back to white), press Apps & Notifications, select Default Apps, press home app and select Nova Launcher, open Settings, press Apps & Notifications, select Default Apps => select "Phone app" and then select "Phone" (this is the Google phone app)

Now you will have NOVA launcher as default ... which you can customize to your liking (much better than OnePlus launcher).

Open Drawer, use the app Nova-settings to customize.

Open Drawer, click on "Nova Google Companion" => this will enable left swipe Google Now behavior in Nova launcher

Done! .... now you can further customize your phone in any way you want ...

Bootloop?

If - after installation - you should get into a bootloop then check the following thread (https://xdaforums.com/7t-pro/how-to/guide-remove-magisk-modules-twrp-t3995677) for how to remove the Magisk module.

Disclaimer

I will try to support questions / feedback. I will not answer questions such as "Can you please add OnePlus feature X,Y,Z" ... I have deliberately removed them. If you want OnePlus apps, use the standard OnePlus software.. The usual applies: no warranty, installing this void warranty, install at your own risk, ... I am not responsible for soft or hard bricks. Your phone must be rooted (again).

Help ... I really don't like it ... I want to remove it ...

Stay calm. Open Magisk Manager, press the 3 lines top left on screen, press Modules, then press the trash icon next to "googlewiz" module and reboot ... you will have the standard OnePlus software again.

Removing Google apps

You can remove Google apps from the ROM as follows. Go to the following URL: https://raw.githubusercontent.com/foobar66/googlewiz/master/googlewiz.config click right and then "Save as". Save the file using "googlewiz.config" as file name. Note that this file is a LINUX plan vanilla text file. The file will look as follows:

keep=1
lens=1
news=1
assistant=1
sheets=1
snapseed=1
street=1
home=1
measure=1
fit=1
tasks=1
earth=1
slides=1
clock=1
calculator=1
docs=1

Edit the file and put "xyz=0" for Google apps that you do NOT want to install. Above is respectively for Google {Keep, Lens, News, Assistant, Sheets, Snapseed, Streetview, Home, Measure, Fit, Tasks, Earth, Slides, Clock, Calculator, Docs}. Put the file onto your sdcard, e.g. via adb ("adb push googlewiz.config /sdcard/"). Download today's version ([version: 2020-03-30 18:28]) of the module (or later). Re-install the module via Magisk manager and reboot. You will see debug output on the screen during module installation which Google apps are getting removed.

Credits

[MENTION=4470081]topjohnwu[/MENTION], [MENTION=4544860]osm0sis[/MENTION], [MENTION=6037748]Zackptg5[/MENTION], [MENTION=3294577]DeadmanxXD[/MENTION], [MENTION=4898097]arter97[/MENTION]