Originally Posted by rsteelion
Did not work even with clean instal and format data. Still can not remove google search bar and date from main screen.
There is no option to remove search bar and date from home screen on pixel launcher.
The launcher you are referring to which comes with most ROMs is AOSP quickstep launcher and probably comes included in your havoc build.
These gapps have a script which will remove similar apps (pixel launcher will remove quickstep launcher, Google messages replaces AOSP messages, Google phone replaces AOSP phone app etc)
This is more than likely what happened here.
You can always just install a launcher like lawn chair, nova, hyperion etc which all are fully customizable and will remove the date and search bar.
If you are worried about losing the new recents overview from stock launcher you can use quickswitch magisk module to set a new launcher as your recents screen provider, only launchers with new android9/10 recents support will work which include lawnchair v2(works on both android 9/10), hyperion (Android 9 only), Zen ui port (Android 9), OnePlus launcher port (Android 9), shade launcher (Android 9), quickstep port (Android 10)