Google released the Pixel and Pixel XL, and there were amazing features that differentiated Pixel from other phones. One of the major features of the Google Pixel was the integration of Google Assistant; a personal assistant that can get a lot of things done for you efficiently. It was earlier supposed to be exclusive to the Pixel phone, but now Google has started pushing the Google Assistant for other phones running Android Marshmallow and Nougat. If you've still not got the update (it will take some time), don't worry, because here's a really simple trick to get Google Assistant on almost any Android device; as long as your device is rooted.
1. Download BuildProp Editor from the Google Play Store.
2. Open the application and click on the edit icon at the top right (watch the above video to find out how).
3. Now, locate ro.product.model and rub out everthing that's after the "=" sign.
Eg: ro.product.model=Moto G(4) - rub out Moto G(4).
4. Rename it to "Pixel XL". It's important to note that there should be no space between the "=" sign and "Pixel XL"
Eg: ro.product.model=Pixel XL and not ro.product.model = Pixel XL.
5. Now, scroll down all the way to the bottom and add a new line (watch the video to find out how). Here, type ro.opa.eligible_device=true. Again, remember that there shouldn't be a space between the "=" sign and "true".
6. Once your done with that, click on "Save & Exit" (watch the above video to find out how). Once that's done, reboot your device.
7. Now long press on your home button, and you should see the Google Assistant. But, if that still doesn't show up, go to your settings>storage>internal shared storage>apps> locate Google/Launcher3>click on manage space> click on clear all data. Now try pressing and holding the home button again, and you are ready to enjoy Google Assistant on your smartphone.