If you have a device running Android 7.0 or better and really, really want Google Assistant integrated into your operating system as it is on the new Pixel phones, but don’t have a Pixel and aren’t willing to get one, you’re in luck if you know your way around the file directories of your phone.
XDA-Developers member brianelv claims that if your phone’s rooted — tough to do these days — and you have the Google app with version 220.127.116.11 or newer, you can edit the build.prop file and add these two lines.
ro.product.model=Pixel XL ro.opa.eligible_device=true
There’s also a flashable image you can get at the source link, too. Just remember to wipe your Google app data from your phone before doing either of these methods, just to be safe.
Users on the thread have been reporting that some software features on their device have been screwing up like the camera or the microphone — key for detecting your yelling out “Ok Google.” Errors have also been appearing as well. You’re also out of the running for any over-the-air software updates from your official source(s).
As always, you assume full responsibility for getting into this stuff.