* Your warranty is now void. * * We're not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at us for messing up your device, we will laugh at you. *
adb shell su start logd exit adb logcat > mylog.txt
Just wanted to say that I got Google Assistant working on this ROM and it seems fast to work really well!
BTW the bug above happens to all devices that aren't pixel or nexus.
THE BUG WITH OK GOOGLE IS WORKING NOW..... SEE BELOW IN STEP 9:
GUIDE ---- I had to find lots of articles and looked through many guides because CM14.1 was slightly different to CM14 and android nougat. Because of how we flashed different Gapps it made the installation quite difficult. However after a bit of problem solving and determination I succeeded in getting Google Assistant on this great ROM.
1 Go to build.prop (I just used BuildProp Editor from the Play store, once in the app I pressed the edit button on the top right)
2 I changed "ro.product.name=cm_jflte" to "ro.product.name=Pixel XL" (I am not convinced this is neccassary but I did it anyway and it works)
3 Add "ro.product.model=Pixel XL" at the bottom (the ROM didn't have the ro.product.model bit that most phones seem to have...)
4 Add ro.opa.eligible_device=true after the above (Add this underneath the 3rd step)
5 Save the build prop then Reboot phone (Almost there)
6 Clear Google app data (This is to help ensure the process works)
7 Launch Google assistant as if you would launch now on tap so go to settings>functions> select home button >long press >select search assistant (OR SET IT TO ANY OTHER BUTTON YOU WANT)
8 Go to Google app settings and check you have enabled Google assistant
9Install the application and setup (credit to @masterchop for making this app ) ChopAssistant https://play.google.com/store/apps/details?id=choplabalagun.blogspot.com.chopassistant&hl=en
10 FINISHED! :laugh: (Please read the rest below)
IF IT STILL DOESN'T WORK DO NOT WORRY ---- IF YOU FLASHED A SMALL GAPPS SUCH AS PICO GAPPS THEN THERE IS STILL 1 MORE STEP!!!
11 Now if you had to install the google app when you first setup the phone, then you need to move the file "com.google.android.googlequicksearchbox-1" from data/app to system/priv-app
Google Assistant for CM14.1, this guide covers most errors and problems you will face for installing it on any device including CM14 and Android 7.x
Reboot and NOW GOOGLE ASSISTANT should work with "OK Google" working too!
PLEASE LEAVE A LIKE IF THIS HELPED! :laugh: