yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] Smallsmx3:
That seems like you have the wrong gapps. Shamu has a dedicated core for this function. Just like the nexus 5 did. Shamus core is designed to work with the screen off and use hardly any battery. That's the main difference. So the correct gapps has the option to use it with the screen off
[Nexus 6  General] Guitarfreak26:
Im using the 5.0 Slim full apps as recommended on the liquid rom thread. Shame its so awkward to get it working on aosp
[Nexus 6  General] kingston73:
So what gapps works and what don't?
[Nexus 6  General] Smallsmx3:
It seems whatever is most recent. (Compiled in December) I'm using slim. The option is there for me but everyone I try to set it up it says it's to loud or some other error. I think banks gapps works to
[Nexus 6  General] Guitarfreak26:
I had that problem too until i wiped app data again then it recorded no problem. Works anywhere now just not when screen is off
[Nexus 6  General] Smallsmx3:
Which apps did you wipe
[Nexus 6  General] MichaelMcEntire:
I'm a little confused about where you get the LNX07M build?
[Nexus 6  General] Guitarfreak26:
Google search and then the cache of google play services. it then let me record straight away
[Nexus 6  General] brizey:
My google-fu skills are lacking. Is there a link anywhere for the LNX07M build anywhere? I went ahead and OTA'ed before I did my first nandroid since there did not seem to be any complications with the first OTA. I searched high and low and could not find a flashable image.

Edit: Ya know, if dirty flashing does it, it has to be something in data, which is likely a setting or data file for one of the pertinent apps. Anyone know of a good table export app for SQLite db's? Thinking it may be adding a record to one of the settings files for gsf, or velvet. The motorola trigger apps could also be the location I suppose, but I am thinking not. I am thinking velvet. Somehow something tells velvet that this is a Motorola device with always listening enabled. OR...it may be something even in the general settings DB since screen security is involved, or maybe systemui (doesn't the screen on/off live there?). I have pure installed right now, which as an image based ROM, has everything working easily. Going to do some hunting...even if someone comes up with a link, it would be better to find the direct mod needed, since it obviously kind of has to exist. Time to try to turn your blunt (but apparently effective!) club into a razor sharp sword.
[Nexus 6  General] splashd1:
Thanks all, this worked great
[Nexus 6  General] Jfree3000:
This worked for me.
[Nexus 6  General] james.kuai:
I haven't try but will.
[Nexus 6  General] the7thson:
Hey guys, any further progress on this? I've tried everything listed on this thread but Ok Google from any screen or from screen off does not persist through reboots. I'm on an AOSP-based ROM called Euphoria from the Nexus 6 Development sub-forum.

Thanks.
[Nexus 6  General] flyinj54:
The okay Google zip posted in this thread link is not working. Does anyone have a copy of this they could share? Thanks
[Nexus 6  General] sledge3n8:
[MENTION=4258727]flyinj54[/MENTION] I just PM'd u a link. I downloaded a week ago and it works for me. Not from lock screen off though.

Also, make sure you clear cache and data for google search and clear cache for play services.
[Nexus 6  General] simms22:
try doing it manually, using a root file explorer.
[Nexus 6  General] zetsumeikuro:
Flashable zip worked perfectly on Euphoria rom. Just make sure clear data from Google Search and you're good to go.
[Nexus 6  General] Jerol7190:
Does it persist through reboots?
[Nexus 6  General] sledge3n8:
I just noticed that it doesn't persist thru reboots on the Validus ROM for Nexus 6. Lol, I didn't notice. I guess because I rarely reboot.
[Nexus 6  General] zetsumeikuro:
No. I just cleared search and set it up again without having to reflash so it's not too bad I suppose.
[Nexus 6  General] the7thson:
Ok so we can all confirm that no one has gotten it to persist through a reboot right?

Also - does this actually let you use it with the screen off and not on charger like a Moto X?
[Nexus 6  General] kingston73:
On slim rom and validus I was only ever able to get it to work while charging. Neither persisted through a reboot. I've tried it manually and the zip
[Nexus 6  General] simms22:
works for mw, after a reboot, not plugged in, screen off. it onky works for mw niw bwcause i dirty flashed from tbe original 5.0 build the n6 came with to aosp.
[Nexus 6  General] kingston73:
I I've never been able to dirty flash over stock, it always gives me a failed message?
[Nexus 6  General] simms22:
it does. except that very first build. it had the same build number as the L preview. apparently it was different then the other lollipop builds.
[Nexus 6  General] Zer0_Cool:
I haven't had any issues on stock 5.0.1 sticking through multiple reboots. Works no matter what app I'm in, and with the screen off. You just have to enable all the settings.

Is this only an issue with custom roms?
[Nexus 6  General] simms22:
the issue is with aosp, what the majority of roms are based on. but it all works for me normally, after applying this fix.
[Nexus 6  General] Jerol7190:
Is there anyway you can share a link to download that build or a nanodroid backup?
[Nexus 6  General] simms22:
ill look for it, then ill share it. i dont have a nandroid of it.
[Nexus 6  General] MontAlbert:
Just wondering if the first post has been updated with all the fixes/workarounds found in this thread?

Have rom developers started implementing the fixes in roms yet?

Thanks for the troubleshooting on this...
[Nexus 6  General] simms22:
well, the flashable zup ive never tried, so i didnt includw it in the op. but the files for doing manually are correct. if its in any roms i dont know, to be honest.
[Nexus 6  General] flyinj54:
I don't know about using the zip file but manually editing the files my ok Google works from every screen including with the screen off while charging. When I reboot I must reset everything again. As long as I don't reboot I'm in great shape and everything works as stock would.

I am using slim ROM
[Nexus 6  General] varinder jaswal:
Hi [MENTION=1811927]simms22[/MENTION], is this for N6 only or it will work on any device? If it work on any device then pl guide how to set the permissions for the folder and apks... "triggerenroll.apk and triggertrainingservice.apk" thanx

vj n7000
[Nexus 6  General] simms22:
as tar as i know, thats only for the nexus 6. sorry..
[Nexus 6  General] simms22:
as for many. but for me, after a reboot it sticks. and it works with the screen off and not olugged in.
[Nexus 6  General] flyinj54:
What ROM are you running currently? Thanks
[Nexus 6  General] simms22:
rastapop :)
[Nexus 6  General] mba1973:
Hi

when i flash this zip http://xdaforums.com/show...&postcount=295

i can activate google everywhere, but after that i get the message in Google Launcher that GNow isn´t available in my country. (Germnay)

clear data and cache services and searchbox.

change language to english but nothing helped

any idea.

Update:

now it works

falsh rom + kernel gapps etc.

boot and set up gnow.

reboot into recovery and falsh the zip and after that clear cache and data from google search.
[Nexus 6  General] Jerol7190:
The link you gave isn't working.
[Nexus 6  General] mba1973:
here the direct link to the zip file.

http://click.xda-developers.com/api...=Download - OkayGoogleEverywhere_shamu.Zipfel

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] Jerol7190:
Thanks man. Btw which gapps did you flash?
[Nexus 6  General] mba1973:
pa gapps..

but notice, that you must clear data after every reboot from google search app and it seems, that ok google only works when the screen is on.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] humzat:
I'm on liquid rom.

i can get it to work in the following way

ok google works anywhere, and when its plugged in and screen off.

BUT - when its not plugged in and the screen is off it does not work.

anyone found a way to get that working? (Thats the main reason i want this feature)

---------- Post added at 10:30 PM ---------- Previous post was at 10:17 PM ----------

when i try and train my voice i get through it then it crashes and restarts i get the following error after the 3rd time i train my voice "unfortunately, com.motorola.triggerenroll has stopped
[Nexus 6  General] the7thson:
That's the problem. No one has gotten this to work reliably on AOSP based ROMs (except for OP's franken-build :)) to make it work with screen off and unplugged and have it persist through reboots.
[Nexus 6  General] simms22:
wrong. theres one person besides me that has gotten it to work with screen off unplugged, and persist through a reboot. he went out and found the original n6 rom(same build number as L), and dirty flashed from it(like me). then used the files to get it back(like me). that's the only other person that i know of that has it working properly.
[Nexus 6  General] bpdev:
Did you ever find that rom, I've tried, but haven't been successful.
[Nexus 6  General] MichaelMcEntire:
I've been flexing my Google muscles to no avail as well.
[Nexus 6  General] simms22:
i havent either, its just not anywhere :eek:
[Nexus 6  General] humzat:
so just to clarify this works on stock but not on AOSP for most people
[Nexus 6  General] bpdev:
It's enabled by default on stock so its not needed at all... And yes it doesn't work on aosp roms right now (atleast not through a reboot).
[Nexus 6  General] humzat:
So no real way to fix the crashing moto triggerroll file
[Nexus 6  General] Smallsmx3:
It works on Frank rom... It's aosp.

Let me clarify.... You don't need this zip.... It comes enabled by default assuming you flash the correct gapps
[Nexus 6  General] Odin2347:
frank rom????wut?

---------- Post added at 11:25 PM ---------- Previous post was at 11:16 PM ----------

it works with the screen off?(not charging)
[Nexus 6  General] Smallsmx3:
http://xdaforums.com/showthread.php?p=57848527
[Nexus 6  General] Odin2347:
It still force closes during voice training
[Nexus 6  General] mba1973:
flashed "pure shamu" with banks gapps and it works without the zip.. clear data from google search after the first reboot and thats all

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] MontAlbert:
Does it persist after a reboot? Most people are finding that they have to set it up after each reboot.

Good to see sycopompous has found a fix for it though. Hopefully he can pass that on to other developers.
[Nexus 6  General] mba1973:
jupp. no probs after reboot.. it seems gapps related not rom.. with pa gapps i have no luck

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] bpdev:
Did you dirty flash from stock?
[Nexus 6  General] mba1973:
no.. also testet with rastapop and banks gapps and it works without any issues..

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] bpdev:
Even after a reboot, then we need to compare bank gapps to the others
[Nexus 6  General] mba1973:
UPDATE

after another reboot it doesn't work anymore.

i have no idea why it works so often after a reboot and not now.

jupp, also after reboot

Gesendet von meinem Nexus 6 mit Tapatalk

---------- Post added at 07:37 PM ---------- Previous post was at 07:35 PM ----------

i will test other roms with banks and give a feedback

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  General] bpdev:
ok, I've got an idea, I'll let you know
[Nexus 6  General] bpdev:
You're sure you didn't have it plugged in when it was working?
[Nexus 6  General] Aztriltus:
Hey simms, it's me! Zachery here.

I did post what I did in this thread in steps but maybe I should try uploading the LNX07M nandroid here? Give me a moment.

EDIT:

Steps from my previous post:

1) Restore my LNX07M* build (Pre-lollipop) and setup your Google accounts together with Ok Google Everywhere

2) Optional: Flash Papi's/scrosler** stock AOSP rom + gapps + modified boot.img (if not you'll be encrypted!) + OkGoogleEverywhere.zip

2.5) Boot up and you'll find that Ok Google Everywhere is still working

3) Optional: Nandroid this ROM as this will be your starting point for all your custom ROM needs

3) Dirty flash your custom ROM over + gapps + supersu + kernel (optional) + OkGoogleEverywhere.zip (as found in this thread)

4) Boot into your ROM and you'll probably find Ok Google Everywhere would be enabled on boot-up and screen-off Ok Google works w/o charging

*Download as zip and place the files in your TWRP BACKUP folder

** Install the appropriate stock AOSP rom for correct custom ROM version. For e.g. If I want to use Validus/Pure Shamu's ROM, I need to flash scrosler stock AOSP 5.0.2 version instead of Papi's one.

Why LNX07M build? I couldn't dirty flash custom ROM over the factory images provided by Google. It gave me black screen with only a back button and battery icon on the status bar.

Why step 2? Sometimes flashing custom ROM over LNX07M would kill the home button, causing some weird bugs. Using Papi's/scrolser stock ROM made everything more stable I suppose.

So every time you wish to try a new ROM, just restore to your Papi's/scrosler nandroid and dirty flash from there.

Credit to simms22 for helping me out!
[Nexus 6  General] bpdev:
Thanks, I'm going to try to compare an aosp rom using this method to normal and figure out why this works.
[Nexus 6  General] Aztriltus:
Has been using it throughout. Yes still works. Currently flashing Pure Shamu's 3.7 ROM ;) Of course with Gnow working fully

It's quite easy once things are prepared. What I had to do now was just to restore scrosler ROM, flash the ROM and stuffs, and just boot up. No wiping and pretty fast process.
[Nexus 6  General] bpdev:
nvm I got it to work.
[Nexus 6  General] simms22:
so, dirty flashing worked for you? good :highfive:
[Nexus 6  General] bpdev:
Well, I was actually talking about the download... I can confirm that this works, but I'm getting bugs like the home button not working atm so I'm going to try a different stock build.
[Nexus 6  General] simms22:
if you want to, you can try Terminus. it supposedly got ok google working today(works in my phone at least). can grab todays build here https://www.androidfilehost.com/?w=files&flid=23114 and youll need a gapps and latest supersu as well :)
[Nexus 6  General] bpdev:
Cool, did you clean flash from your working build or dirty flash?
[Nexus 6  General] simms22:
dirty flashed, of course :angel:

thats why i said supposed working ok google, because i did dirty flash. but, all the right files are there, so should work.
[Nexus 6  General] bpdev:
I have my doubts lol, but I'll try a clean flash of terminus and report back. I was able to make the dirty flash method work, but you have to use the 12-15-14 scrosler's build. You will get tons of bugs if you don't.

Edit: the only reason dirty flashing works is that it allows you to keep the motovoice enrollment data. As soon as you try to retrain it you still get fcs.

Edit2: I have a feeling we can back said data up once we are on an aosp based rom and restore it after a clean flash. That way we don't have to deal with dirty flashing.
[Nexus 6  General] Aztriltus:
Hahaha that home button thing is quite an issue. What custom ROM are you intending to flash? I restored my LNX07M, flashed scrosler, and it works on Liquidsmooth, Validus and Pure Shamu so far. Initially Papi's stock ROM doesn't work so you'd have to play around with that.

Anyway I think you got the hang of it. Although it's not an elegant solution, it works nevertheless!
[Nexus 6  General] bpdev:
Thanks again, atleast we have a way to get it to work now. I flashed your nandroid, scrosler latest build, and had the home button bug. I switched to scrosler's second build and didn't get the home button bug anymore even after dirty flashing to pure shamu. I intend to use titanium backup to back the voice training up so I can restore it even on a clean flash. I'll let you guys know if that works.
[Nexus 6  General] Aztriltus:
Well. I did that. Backed up Google Now, triggerenroll and trainingservice. Restored them on the new ROM and nope doesn't work. Funny, it has been so long and yet we don't know what is the missing puzzle piece.
[Nexus 6  General] joackie27:
Can you please direct me to this 12-15-14 scrosler's build that you are referring to? Thanks in advance!
[Nexus 6  General] :
I just wanted to offer my situation, hoping it may help. I was originally using mini gapps, but switched to full. Dirty flashed over my mini install. The only thing I'm currently not able to use is unplugged screen off, and NOW persists after reboots.

Sensei kernel R32

Liquid Rom build 1.2 (latest)

Slim full gapps Beta 5, x_439
[Nexus 6  General] bpdev:
I would wait a bit. sykopompos figured out how to fix it. Whenever he gets a chance I'm sure he'll either pass it along to the other rom devs or put a fix together.
[Nexus 6  General] brizey:
I tried this last week, too.

Has anyone tried the new deodexed sinless? Thinking it may work better as a base to flash over, but I don't know if screen off works on it. I'm sitting in a car repair shop, or I'd try it myself.
[Nexus 6  General] dtroup64:
For what it's worth, google everywhere works on Clean Rom 1.0. Just flashed it to test. Works with screen off and not charging as well.
[Nexus 6  General] bpdev:
Without dirty flashing?
[Nexus 6  General] dtroup64:
Yep. Wiped lean.
[Nexus 6  General] mcdsmaster8824:
CleanROM is based on Google's Image though, not pure AOSP.
[Nexus 6  General] brizey:
So...OK Google screen off works on the new deodexed sinless. But I got the home button thing when I dirtied terminus. OK Google screen off did work, though.
[Nexus 6  General] sykopompos:
the question while some are getting this to work is because some gapps packages don't have all the files

attached below that go into system/lib

there is also the missing selinux permission

#============= untrusted_app ==============

allow untrusted_app adspd_data_file:dir search;

which can be patched in with chainsfire's supolicy tool that comes with SuperSU and a small script,

rom devs should put this in device/moto/shamu/sepolicy like so https://github.com/The-Ancile-Proje...mmit/a0a247093e7df6dfdd437d30a8130b5e2778fd40
[Nexus 6  General] sykopompos:
also the reason that dirty flashing over the nandroid of a stock based rom works is because it backs up those files with backuptool.sh when you flash
[Nexus 6  General] phishfi:
If we wanted to make this change ourselves, before the devs push it into their builds, where do we put that line of script? Is there an selinux script to change?
[Nexus 6  General] simms22:
so with those 3 lib files, it should work?

you know im like 1 of like 5 people that has it working on aosp right? lol! and its because of you :p
[G 2014 Q&A, Help & Troubleshooting] SnickterP:
Any luck?

Hey, looks like I'm having the same trouble that you are. Fails on all the same commands. I purchased an XT1063 online running 4.4.4 and its boot loader was unlocked and I'm guessing thats why I cannot do OTA updates to Lollipop. Trying to set it back to stock but I'm not sure why it fails like this. Did you find a resolution?

Thanks!
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
You don't need locked bootloader for OTA.

And just to make it perfectly clear: You don't need to lock your bootlader to receive OTA.

Redundancy is very important: you will receive OTA with unlocked bootloader.

Who came up with the idea that the bootloader has to be locked? It is not true! Period.
[G 2014 Q&A, Help & Troubleshooting] SnickterP:
Thanks, I appreciate your reply. I just got this new phone which is running 4.4.4 KXB21.85-17 (21.11.17.titan.retuglb.retuglb.en.us) and noticed under SYSTEM in Settings that it doesn't have a software update option like my old 1st gen Moto G did. It said the bootloader was unlocked at startup so my thought was that could be having an effect. I verified that it is not rooted, so I'm not sure what could be hiding this option unless it has some sort of custom software installed. It was sold as unlocked but I don't know if that makes a difference. Sorry, this is only my second android device. Any thoughts are appreciated!
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
You will find it in Settings>About phone.
[G 2014 Q&A, Help & Troubleshooting] SnickterP:
Wow! I feel like a fool now. Thank you so much! I really appreciate your advice, it sure is there. Unfortunately, it says I don't have a lollipop update just yet, but at least I'm not crazy! Thanks again!
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
Don't! [emoji4]

And please don't take my rant about the locked bootloader personal. But this assumption is everywhere in this forum. I'm just a little annoyed about that.
[G 2014 Q&A, Help & Troubleshooting] SnickterP:
No personal offense taken! I appreciate the time you took to answer me. I understand how youd feel there. Circulating good information is pretty important. I'm definitely eager to learn more.
[G 2014 Q&A, Help & Troubleshooting] StevenTheDoge:
I found this out a few weeks ago when i started flashing some custom lollipop roms, thanks for letting me know though. Im still pretty new to android rooting, rom flashing, etc.
[Sony Xperia M] metalftw7:
Hi, Is There Anyway To Hide The Navigation Bar While Playing Games On Xperia M C1905(4.3 Jellybean,Rooted,LB ) So I Can Get Fullscreen and To Avoid Accidentally Touching The Home Button While Playing?
[Sony Xperia M] RedLedLight:
If you have root download an app fullscreen from the play store.

It only takes 2 taps to thank somebody here.
[Sony Xperia M] Anmol0022:
If you have xposed installed try Xperia Xposed module which allows you to add fullscreen in power menu or try gravity box
[Sony Xperia M] KoenGo:
I'm using GravityBox with it's expanded desktop and pie control features. Works like a charm ;) (Offcourse root and xposed required...)
[Moto G Q&A, Help & Troubleshooting] ghzmdr:
As the title says.

I have an unlocked Moto G non GPE running Paranoid Android, id'like to flash a GPE 4.4.4 and then root it with super su zip. Can i just flash the zip or should I convert userdata partition to ext4? Doesn't PA already convert user partition to ext4? Are further steps required?
[Moto G Q&A, Help & Troubleshooting] mrplowdan:
Not sure if PA converts data to ext4, just to be safe flash everything from fastboot. Backup your internal sdcard to your computer first.

http://xdaforums.com/showthread.php?t=2726041
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Olipro:
ok, so I've coded NBHDump; this tool basically parses the raw NBH file without creating an intermediate file; meaning that each section (the OS etc) is dumped from the ROM image immediately with no time wasted while your hard-drive has a spazz.

Secondly, I intend to integrate this into my new upcoming ROM Kitchen, so testers would be appreciated!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] mousey_:
It Works Really Well, Very Fast As Well, It Took A Minute And Ten Seconds To Complete On This Old Laptop.

Cheers
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] richy240:
Wow! There are new tools being released right and left!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Olipro:
the code behind this beast is bloody mind numbing; I started coding it last night and just finished it today and now I look at the code and ponder why my head hasn't exploded in the process of working out how to do this
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] walshieau:
Olipro you are a machine... ill be doing some testing tonight with your tools... :)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] richy240:
That was extremely fast! It did it's magic in about 6 seconds. WOW!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] joej:
wow! this is amazing! good for u olipro!
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] dutty:
good job oli!