[Samsung Galaxy S8 ROMs, Kernels, Recoveries, & Oth] foobar66:
I would like to share my work. This is the first time that I post a ROM on XDA, please keep that in mind.

*** Wiz ***

This is an extremely debloated Samsung rom with absolutely minimal Samsung functionality. The basic ROM apps (dialer, messaging, contacts) are from Google. Only for Galaxy S8 international equinox (SM-950F). Personally I very much like the Samsung phones/hardware but I am not so fond of the software and bloatware. I also prefer to use a ROM which just has what I use. If you want Samsung stuff ... use another ROM !!!

Name

Originally I called this ROM "minirom" until pvillasuso used the term "wizgoogle" in this (https://xdaforums.com/galaxy-s8/dev...me-debloat-t3730681/post75271202#post75271202) post. So I decided to call it "GoogleWiz" :)

Features

The ROM contains (only) the following Samsung applications:

- Base: NRD90M.G950FXXU1AQL5

- Settings (you can't get rid of this unfortunately)

- Gallery (because of its integration with Camera)

- Camera (because it uses all hardware capabilities)

- minimal lockscreen

- Always On Display (Samsung - personally I like this feature a lot)

- Fingerprint & iris scanning for security

- Blue light filter

Others:

- Nova as launcher (https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher); IMHO still the BEST launcher out there

- Swiftkey as (only) keyboard (https://play.google.com/store/apps/details?id=com.touchtype.swiftkey)

- Rooted with Magisk (see https://xdaforums.com/apps/magisk)

- Magisk manager (see https://xdaforums.com/apps/magisk)

- Latest Google Play services/store

- Bixby key is mapped to Nova "home"

- Google dialer (as of v2)

- Google contacts (as of v2)

- Google messaging (as of v2)

- Google clock

- Google calendar

- Google calculator

- optimized build.prop

- based on December 2017 security update from Samsung (AQL5)

- huge CscFeature list (in system/csc/feature.xml)

- huge SEC_FLOATING_FEATURE list (see system/etc/floating_feature.xml)

- Google pixel boot animation (I don't like the Samsung one)

ROM does not contain country specific CSCs. All settings are generic. To be clear again: there is no other Samsung stuff: no Samsung account, no Samsung appstore, no Samsung Themestore, no Samsung device manager, no Samsung calendar, no KNOX, no Samsung XYZ ... Technically it is possible to even remove the Gallery from the ROM but I left it in due to its integration with Samsung's camera (removed in v3). Everything else (file manager, browser, maps, ...) you can download from the Google Play store. Your choice.

Before installing this ROM, please make sure that "OEM unlock" is enabled in your developer settings (if you don't understand what this means then probably this ROM is not for you). ROM is reasonably small (less than 1 GB). Install from TWRP (wipe system, data, cache, dalvik). 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. If you download the standard Google stuff from the play store (Gmail, Google+, Drive, ...) then you should have a phone very close to a Google Pixel. Choice is up to you. I will try to support questions / feedback but I have a busy job and cannot spend all my free time on this. If people do like it though, I will update using Samsung's monthly security updates (that is something which I do for myself anyway). I use this as my own personal daily driver (all the rest coming from the Google Play store). I will not answer questions such as "Can you please add Samsung feature X,Y,Z" ... I have deliberately removed them. If you want Samsung, go and use a Samsung ROM. There are instructions further down on how to create your own variant of the ROM so you can do this yourself if you want to add stuff. I will not answer PMs (don't have time to look at them). I have attached also a bash script (as .txt file). This is the script which I personally use to generate the ROM starting from a standard Samsung system.img. If you are a DEV, you can study this to see how I create this ROM. Again, feel free to (re)use.

Disclaimer

The usual disclaimers apply: no warranty, installing this will trip KNOX, install at your own risk, ... I am not responsible for soft or hard bricks. Your phone must have TWRP to install this ROM.

Performance

If you want slightly faster performance, enable the developer settings and then set the animation speeds to 0 (zero). Also enable GPU 2D hardware rendering. The first boot will take time (a few minutes) as all apk files will be run through the dex2oat compiler.

Download (multiple versions): https://www.androidfilehost.com/?w=files&flid=239365

v0 (2018-01-05):

- initial release

v1 (2018-01-06):

- fix lag starting up settings

- fix lag in settings for lockscreen/security

- included SimSettingsMgr

- included MTP

v2 (2018-01-20):

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

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

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

- AOSP gallery

- removed Samsung contacts

- removed Samsung dialer

- removed Samsung messaging

- removed Samsung gallery

- updated to latest Magisk

- updated to latest PlayStore & Play Services

- updated to latest SwiftKey

v3 (2018-01-27):

- fix annoying message when Google dialer starts

- fix problem with NFC payment

- updated Google play store and services

- updated to latest Samsung AOD

- updated to latest Swiftkey

- Samsung gallery is back (better integration with Camera)

- updated Google dialer, messaging, contacts to latest versions

- Magisk 15.3 and Magisk manager 5.5.5

v4 (2018-01-31):

- fix crash in cameraserver

- integrated Google clock (alarm tone can be selected from Google clock) (https://play.google.com/store/apps/details?id=com.google.android.deskclock)

- left a bit more notifications and ringtones

- integrated SmartFittingService (but it does not seem to do much)

- integrated old (but very good) calculator (goes way back from Cyanogen)

- integrated Iris Scanner (please test as I do not use this myself)

- Arabic language support

v5 (2018-02-02):

- fix icons in statusbar not being displayed properly

- removed SmartFittingService (no use)

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

- updated keyboard to latest SwiftKey version

- updated Google dialer to latest version

- integrated Google calendar in ROM

- updated Play store to latest version

v6 (2018-02-03):

- latest Samsung S8 kernel (Jan 6)

- remove Samsung inCallUI (/system/priv-app/SamsungInCallUI)

- adapted the padding in the statusbar

- ROM installation now creates /data/system/users/0/settings_secure.xml to use Google dialer InCallUI as default (not a very nice solution but I do not see a better one)

v7 (2018-02-04):

- fix problem with missing call notifications in Google dialer

v8 (2018-02-05):

- fix problem of not being able to add an account (Settings > Accounts > Add Account)

- fix problem of mobile hotspot / tethering not present in settings

v9 (2018-02-06):

- added ~50 alarm tones for Google clock

v10 (2018-02-09):

- fixes for Gallery albums

v11 (2018-02-10):

- fix emoji in SwiftKey keyboard

- updated to latest Google Play Store and Google Play Services

Display resolution

Please set display resolution in settings to largest size !!! Settings > Display > Screen resolution > WQHD+. After a fresh install the screen resolution may be RESET on the second boot. If that happens, just set it back to WQHD+ and it will work fine as of that time.

Theming

- install Substratum (https://play.google.com/store/apps/details?id=projekt.substratum)

- install sungstratum (https://play.google.com/store/apps/details?id=projekt.sungstratum)

- install a samsung compatible substratum theme (e.g. https://play.google.com/store/apps/details?id=com.brit.swiftblack.layers)

Other stuff

If you want heart rate monitor / stress monitor: install SHealth (https://play.google.com/store/apps/details?id=com.sec.android.app.shealth) from the play store.

Known bugs / issues

- Magisk's Safenet check fails (but Magisk hiding is working)

- Max battery saving mode is not working (due to emergency stuff removed from ROM)

- Device encryption will not work (as it relies on Samsung KNOX which has been fully removed)

- Samsung Pay will not work (as it relies on Samsung KNOX which has been fully removed)

- Android for work will not function

Adblocking

If you would like to have adblocking (everywhere: browser, apps) do the following:

> adb shell

# su

# hl

The "hl" command will replace the hosts file with a huge (> 200000) hosts which refer to IP address 0.0.0.0; this will make ads go away in your browser and applications. No ad-blocking app is required.

Building a variant of this ROM

Instructions (for linux) on how to build your own variant of this rom are in:

https://xdaforums.com/showpost.php?p=75185320&postcount=57

(sorry, no script for Windows ... I don't use Windows ... but the linux script should be easy to adapt into a windows script)

Screenshots

Screenshots in attach. Note: the black screenshots are taken after Subtratum theming and with my personal home screen configuration (so this is not the default if you install the ROM). The default has white applications.

Credits

topjohnwu for Magisk (https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445)

ASSAYYED for the updater-script (https://xdaforums.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545)

osm0sis for his script which allowed me to set the Google dialer as default (https://github.com/opengapps/opengapps/issues/301)

BSDgeek_Jake for the fantastic adblock hosts file MoaAB (https://xdaforums.com/showthread.php?t=1916098)

jayantraj for the pixel boot animation (https://xdaforums.com/galaxy-s5/themes-apps/6-0-google-pixel-boot-animation-samsung-t3528179)