yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] alsheron:
Ok so today I did a clean flash (I wipe everything including data) of the latest 06/27 build with opengapps and flashed Truesight 2.6 on top before booting. Once booted I went through initial setup and then straight to Ok google settings in the Google Now launcher pane. I set up the voice model and then did an "OK google" command, followed by a voice search. It still doesn't recognise input and either gave nothing or completely garbled interpretation. When I go here: https://history.google.com/history/audio?hl=en-GB&ent=r&utm_source=udc I can hear that there seems to be repeated "interference" noise in the audio recordings (sounds like if you've heard a sudden gust of strong wind blowing in the mic when you're talking to someone in a windy place - very loud but quite brief) or if the volume is turned up *way* too high in spikes (not all the audio) which then obviously messes up the interpretation.

I've linked to 2 logcat outputs from this first attempt. I've had these issues with audio so far:

DARK ROM: http://pastebin.com/C4mwXBHR

DARK ROM: http://pastebin.com/44Tj4adv

On the last few builds of Dark ROM.

With the Truesight Kernel flashed on top of ROM.

With Dark ROM and Open Gapps

With Dark ROM and Banks Gapps

So then I tried installing BLISS ROM with Open Gapps. Went through initial setup etc and went straight to OK Google settings to set that up then did a few test voice commands. At first, it didn't seem to work but then it seemed to be "hearing" the commands ok. When I listen back to these voice commands I've noticed that there still seems to be a *little* bit of what seems like the previously mentioned interference "spikes" but they are very minor compared to the Dark ROM setup I had and I think Google still manages ok. The audio quality in general doesn't seem great - although it's good enough and works. Interestingly, there's also this "interference" on the sound from the myfluxi build I was using - but again, not enough to interfere with the transcription so I've never noticed a problem.

I also saved a logcat from Bliss which I've linked to. I'm no developer but there's some interesting errors in there that might point to what's happening:

BLISS: http://pastebin.com/vMH9bYav

Is "ACDB-LOADER: Error: ACDB AudProc vol returned = -19" anything to do with it?

Now one thing I didn't do is boot up Dark ROM without flashing the V4AtoAudioFX_06-16.zip file. I've just flashed a backup myfluxi build for now so really hope that can't be the culprit as I'd hate to have to wipe and flash again. But could it be something to do with Viper? Or perhaps the Kernel? Hopefully you can see something from the logs.

Thanks!
[Nexus 5 Android Development] Dark_Eyes_:
Thanks for taking the time to try all that ! Just to make things clear, you are using the V4AtoAudioFX package right? Maybe there is a problem there, but before you try anything I'll look into some other things. If you get a chance to try again my latest build, try editing the build.prop and adding that line (or editing it if it's already there) :

persist.audio.fluence.voicerec=true

Hard reboot after you add it. Not sure it will help anything, but it's worth a try. I'll try removing optimizations to all the audio related packages that I can think of.
[Nexus 5 Android Development] alsheron:
I don't think I'll be able to test that build.prop edit for a while so if anyone else has issues with voice command input then please can you test.

Yep I'm using the zip you provide for changing to AudioFX to Viper. I didn't try booting up and testing the audio input *without* flashing this since I always use AudioFx. Sadly I won't be able to re-wipe and flash again as I'll need my phone up and running for the next few days but I did wonder whether it could be related to that zip or removing Viper in some way? Does it completely remove the Viper audio driver? Does Viper affect audio *input* I wonder?

I suppose another test would be to see what the audio sounds like (played back) when I flash Google's stock package.

Such a shame really as everything else seems fine.

I know it's not necessarily related to your ROM but is there a way to get the Volume step mod you've made on the myfluxi ROM I'm using in the meantime. I saw somewhere that a file needs editing but not sure which one or how to apply the changes.

Many thanks
[Nexus 5 Android Development] Dark_Eyes_:
No problem, I can test a few things myself. Speech seems messed up even in the V4A version too, so it probably isn't related to that. It would have been surprising if it did anyway, but I need to rule that out too. I'm pretty sure it's an optimization flag somewhere that breaks it. Same thing happened with Bluetooth and O3 optimization...

That's the price to pay when you want the most optimized ROM ;) But it can be fixed, it's just a matter of finding what package is causing that.
[Nexus 5 Android Development] alsheron:
Thanks for looking into this, really appreciate it. Looking forward to getting back to your ROM as it was otherwise ideal, nice fast, clean and... optimised! Maybe a little too optimised! :-p
[Nexus 5 Android Development] dalepothen:
Any only with nexus 32 GB having issue while doing a clean install ??
[Nexus 5 Android Development] Dark_Eyes_:
You'll be happy to know that I fixed it!!! Just disabled optimizations and dragontc on all the device specific audio packages, and it works every time now. I also noticed a small music note on the bottom right corner that wasn't there before, maybe it has something to do with that.

Anyway, next build will have OK Google fixed. It will probably be this weekend, I'll wait to see if we get a July security update to do both at the same time!

Thanks for the feedback and for using my ROM!
[Nexus 5 Android Development] Stevica Smederevac:
New guy and already trouble :D:laugh:.

Can't exit do not disturb mode. Not with volume rocker buttons or with tile. Didn't reboot so i could get a log. Maybe there's something inside

https://www.dropbox.com/s/s4ufdrcdxomhroj/2016-06-30_14.14.zip?dl=0
[Nexus 5 Android Development] Dark_Eyes_:
Did you clean flashed? I use that feature all the time and never had any problem with it. I'll take a look at your logcat but that's the first time i hear about that one lol!
[Nexus 5 Android Development] Dark_Eyes_:
Never heard of that one as well. You mean you only get 16gb when flashing? I think there are other threads that discuss that matter, or maybe someone else can help here? I have a 16gb version so obviously I never have that problem!
[Nexus 5 Android Development] Stevica Smederevac:
Yes. I'm using it for few days, never had issues. Strange thing is that reboot didn't help :confused:. Will try to troubleshoot.

EDIT : little bit of pressing several buttons frantically and voila, solved :laugh:
[Nexus 5 Android Development] alsheron:
That's great news!! Thanks so much for fixing that :) In the meantime I'm wondering if you can let me know how you added the volume steps mod to your ROM? I've seen the post elsewhere on XDA about modifying the framework.jar file but not sure if that's something I could do successfully. Any help or a pointer in the right direction would be really appreciated.
[Nexus 5 Android Development] Dark_Eyes_:
Well, there are other ways to do that, but since I build the ROM from scratch, it is possible to edit the ''raw'' code and implement features without having to mess with pre-compiled files. So, to answer your question, I have no idea on how to do that on an already built ROM. I can give you the commits to cherry-pick if you want to build it yourself, but other than I wouldn't know.

I would suggest using an Xposed module, but I figure you tried that already... The way I see it, you're stuck with me lol (or any other ROM that has the feature) ;)
[Nexus 5 Android Development] alsheron:
Ok thanks for explaining. :) I did try and edit the framework.jar from the ROM i'm using to get the volume steps up to 30 (also copied the one from your ROM which didn't work) but I can't find the Audioservice.smali file the guides say I need to edit. The media folder simply doesn't have it in there from the extracted framework.jar. I guess that's why the VolumeSteps+ mod no longer works. :(

I was *very* happy with your ROM until (we all) had issues with data disconnection, wifi bugs etc (kernel issues I think) and for me the Google Now voice stuff which you've now fixed. Now that's all sorted (all part of the development process!) I'll be very happy to wait for your new build. As mentioned, your ROM is great for me because it's nice and clean, fast and great battery. Really appreciate your time and effort. Thanks again!
[Nexus 5 Android Development] dalepothen:
Its a small problem with twrp i flash twrp again its fine now

---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------

@ Dark_Eyes_ is it possible for you to make a zip of your modified kernel so we can try on different roms
[Nexus 5 Android Development] Dark_Eyes_:
Just to give you some news on what is going on. I thought I had the OK Google hotword fixed, but it turns out I was just lucky getting 3 commands working in a row. So I've been trying different things to get to the bottom of this, but didn't find the cause yet. I'll then build a stock cm13 ROM and work my way up adding just a few things at a time to find what is the problem. That's gonna take time obviously, but I'm not giving up on it.

Stay tuned for more, and sorry for the waiting. If there is a new kernel or a security patch, I'll update the ROM. Otherwise I don't feel it's needed.
[Nexus 5 Android Development] eternal70:
Anyone having FC on stock Gallery every time try to watch video ? Clean flash here with opengapps. Logcat soon
[Nexus 5 Android Development] Stevica Smederevac:
No, just checked. I use Banks gapps always (since Slim died)
[Nexus 5 Android Development] alsheron:
I keep trying opengapps because to me it seems more complete but it's quite often been buggy and banks gapps never seems to give any trouble. Banks isn't as configurable but I'd definitely recommend banks
[Nexus 5 Android Development] eternal70:
Hmm strange, older builds usually works fine. Maybe i'll do another clean flash later

Btw here's the log. Hope it helps
[Nexus 5 Android Development] Dark_Eyes_:
Are you using V4A or AudioFX? Weirdly it seems to be related to that.
[Nexus 5 Android Development] Dark_Eyes_:
New build is up!

Guys,

I just pushed a new build. It has updated SuperSU and AdAway, plus I added a feature to resize the navbar (in buttons settings). I also removed all optimizations, so for now it is the exact same has stock CM. OK Google commands now work (at least most of the time for me). Please report how you like it... to be honest I can't say I see much of a difference. Also report on the OK Google recognition.

Thanks and enjoy !!!

P.S. I just saw that the July security patch got out today, so it's gonna be for the next release ;)
[Nexus 5 Android Development] dlsygaco:
Does c-apps(specifically per app theme chooser) work on this rom like the cm13 snapshot?
[Nexus 5 Android Development] Dark_Eyes_:
I never used it. Feel free to try it out and report back! Thanks!
[Nexus 5 Android Development] MarhyCZ:
Do you think, you could add a blurred lockscreen cherrypick when creating the next build? :) BTW, thanks for great rom. Very responsive and with awesome kernel already pre-installed :D
[Nexus 5 Android Development] Dark_Eyes_:
I can add it of course, the only problem is that there is no on/off switch for it. So it's either enabled for everybody or disabled for everybody. I'm not sure I want to force it on anyone, so please report of you like that or not. Thanks!
[Nexus 5 Android Development] joshuas_79:
It actually has a option to enable or disable it (using myfluxi build)
[Nexus 5 Android Development] Dark_Eyes_:
Oh you're right. That means it's already built in the CM13 source. In that case, it'll be in next update ;)
[Nexus 5 Android Development] joshuas_79:
Nope, I think Myfluxi added by himself to his rom. It's not added to cm source. I think he, or someone else, post the code at the thread, in case someone wants to add it too.
[Nexus 5 Android Development] MarhyCZ:
If it would be forced to everybody, then don´t do it and rather keep the ROM lean and close to stock CM13 :) I can do without it :D
[Nexus 5 Android Development] ungefere:
Hello there, I came from AOSP rom and because I wanted to try CAF based rom - this one was ideal for me by the description.

So many thanks for great experience and I decide to stay with you for a while :cowboy:

There are few little things, what missing to me or I can not find them.

1. Quick pin unlock

2. 4 tiles per row in QS

Are they here? Possibility of integration? :fingers-crossed:

Last question, are there any option for weather service other than Yahoo? e.g. openweathermap?

Thanks for reply and advice :highfive:
[Nexus 5 Android Development] Dark_Eyes_:
I can look into adding some features, but I don't promise anything. As for weather providers, you can add a bunch of them, just look into the weather settings, you can download services there (through play store, but you have the link).
[Nexus 5 Android Development] Dark_Eyes_:
New build is up!

Guys,

I just pushed a big update. It has all the latest things (July security patch, TrueSight v2.7, latest SuperSU, latest AdAway, etc.). I also added the blurred lockscreen (option in settings - lock screen). I updated the GCC toolchain to 5.4, but I reverted the DragonTC for now, so the ROM is built with the stock Clang 3.6. It fixes the OK Google recognition, so until I figure out what is the problem, I'll build without DragonTC. More info in the second post !

Let me know how it goes and enjoy !!!

Edit: you'll need the latest bootloader to flash this one.
[Nexus 5 Android Development] MarhyCZ:
Awesome, I am flashing it right now! It looks like a great build.
[Nexus 5 Android Development] star_throne:
Flashed it, and when it boots its laggy and reboots after few secs. Could be some of my apps or something, ill try clean flash
[Nexus 5 Android Development] Dark_Eyes_:
Yeah, clean flash will certainly help. For me I feel it's the smoother of all my builds lately. It's been rock stable too, so it's gotta be some leftover setting or app not playing nice. Let me know if it's good with clean flash!
[Nexus 5 Android Development] star_throne:
Dont have any problems now, it was throttling. Took the phone out from its case and left it on window with fan blowing cold air from outside right next to it, and kept it there for awhile. Then tried booting again and it worked normal. Hope my n5 didnt get any heat damage, battery possibly but going to replace that soon anyways. I'll report back after using this for few days
[Nexus 5 Android Development] Dark_Eyes_:
[MENTION=321148]alsheron[/MENTION] can you confirm that OK Google recognition is working on your side with latest build? It gets everything I throw at it, but I just want to make sure it's good for you too before investigating further.
[Nexus 5 Android Development] joshuas_79:
Flashed new build. Clean install...everything seems fine and smooth. Thank you.
[Nexus 5 Android Development] wispp:
Download link is broken ?

Odesláno z mého Nexus 5 pomocí Tapatalk
[Nexus 5 Android Development] Dark_Eyes_:
Nope, the download link is just at the right of the filename. Look in the OP.
[Nexus 5 Android Development] wispp:
Ou my fault, sorry. Thanks ;)

Odesláno z mého Nexus 5 pomocí Tapatalk
[Nexus 5 Android Development] alsheron:
Just a quick one to say I've been running the latest build and it's fast and smooth and Ok Google voice commands work beautifully. Thanks for a great ROM and looking forward to updates. Will you be adding in the optimisations again slowly or will that break ok Google? One thing I noticed is that battery life doesn't seem as good with this build but with everything else being so stable its hardly an issue but maybe some of those missing optimisations helped with that?
[Nexus 5 Android Development] hamimi:
how to update xposed installer? it say cant installed .lolzz
[Nexus 5 Android Development] Dark_Eyes_:
You wait for my next release :) It should be soon...

By the way guys, I've been having Google play services draining my battery lately. Anyone else having that? I don't know if it's on me or it's the recent update to Google play services... If anyone can confirm wether or not it exists on stock cm13 caf would help as I don't have much time right now to fiddle with that...

Thanks and stay tuned!
[Nexus 5 Android Development] dalepothen:
can anyone check if gps is working latest build
[Nexus 5 Android Development] cheeze.keyk:
Im on Temasek CAF and I noticed also that Google Play Services drains also my battery.
[Nexus 5 Android Development] star_throne:
It does work
[Nexus 5 Android Development] Dark_Eyes_:
New build !

Guys,

I just pushed a new build with TrueSight v2.8 (small update) and latest CM upstream. I reverted the controversial audio commits, so the sound should still be loud enough. Also, I switched back to using Google Webview prebuilt to try and fix the weird Google Play Services battery drain I've been having for some time now. I tought it was related to the new version of Google Play Services, but it also happened at about the same time I switched to CM Webview. Anyway, it's worth a try.

I still built the ROM with the stock clang toolchain, but I'll try using DragonTC 3.8 instead of 3.9 to see if it breaks OK Google recognition.

Stay tuned and I hope you enjoy this build !!!
[Nexus 5 Android Development] cheeze.keyk:
Sorry to ask you sir. Coz you mentioned about CM Webview. is this the CM webview that you mentioned? Thanks..
[Nexus 5 Android Development] Dark_Eyes_:
Yes, that one is gone and I used the other one, which comes directly from Google. In your case, you probably used the Google one anyway cause having both defaults to the google one.
[Nexus 5 Android Development] cheeze.keyk:
Thanks. So its safe to freeze or uninstall it?
[Nexus 5 Android Development] Dark_Eyes_:
Yes, you can uninstall it no problem. As long as you have at least one, the system will use it!
[Nexus 5 Android Development] Dark_Eyes_:
Some news!

Just to keep you guys posted, I had a successful build using DragonTC 3.7 and OK Google seems to work fine! It didn't work with 3.8 and I don't have time to look into it much, so I'll stick with 3.7 for now. Next release will have all optimizations back in! I also added back the ARM mode, it should increase the performance a bit too.

Stay tuned, and I hope everything is fine with the latest build!
[Nexus 5 Android Development] solfly7:
When I try to update, flash idepensently or even clean flash i get an error that my bootloader is wrong. why is the bootloader reverting and I have to reinstall every time. If the phone dies bcause battery ran out, when I turn it on, I get bootloop and have to reinstall bootloader and Rom to fix. This has happened on 3 CAF ROMs . Am I missing something here? Im using MOB30H, when this happens the error reports my bootloader as HHZ20g. Is this other bootloader stored somewhere and what could cause this
[Nexus 5 Android Development] Stevica Smederevac:
I didn't quite understand you but I'll try to answer. With every, monthly, security patch and new factory img there is a chance that bootloader is also changed.

You need to pay attention what changed by reading the forum. That way you'll know if you need to update your bootloader or not. Someone usually make a flasheable zip so it's easy to update. Bootloader was changed in April, May and the latest is, i think 20f so you need to update it accordingly.
[Nexus 5 Android Development] solfly7:
OK, Ive found a .img for hhz20g. Is that newer than the mob30h? and does it matter with caf, do we need a caf version or is the bootloader the bootloader. and I apologize, the info at the end of my first post about the error for the bootloader being hhz20g, its actually whatever the version was before I had to update it to use the 6.0.4 caf ROM. All I remember now is it has a 12 at the end and I know its older. It almost seems like any time cache and delvik are wiped it reverts the bootloader back to the older version
[Nexus 5 Android Development] star_throne:
Mob30h isnt bootloader version. Bootloaders begin with hh on nexus 5. To be sure its latest, you could just download official factory image and extract the bootloader from there

---------- Post added at 08:55 AM ---------- Previous post was at 08:46 AM ----------

Btw i have been testing the latest build for awhile, this time i didnt restore backups using TiBu, because last time i redownloaded all my apps was like a year ago. And i didnt install xposed, feels like it was causing some lagginess too. Or my xposed modules. Who knows. But now it feels much faster. It boots much faster too, counting from the start of the bootanimation my N5 boots in about 30-40 seconds compared to previous, what, 2 mins.
[Nexus 5 Android Development] Stevica Smederevac:
This is the zip file for latest bootloader https://www.androidfilehost.com/?fid=24591023225177811

It doesn't matter caf or not,it's the same.

Flash that zip in twrp,choose reboot bootloader from twrp and use caf twrp if you want to flash caf rom.
[Nexus 5 Android Development] solfly7:
Thank you very much. Ill give that a shot and report back this afternoon.
[Nexus 5 Android Development] solfly7:
flashed image in caf twrp. reboot bootloder still says hhz20f? do i need to flash this from regular twrp and then reflash caf twrp?

---------- Post added at 08:17 PM ---------- Previous post was at 07:47 PM ----------

It seems I need a .zip of this bootloader, the .img flash is not sticking. I have 2 hhz20f files, both .zips and they seem to flash fine. sorry ive never had this much trouble with a bootloader. if anyone has a zip file that would be great. Ive searched the hell out of google and cant seem to round it up.... ill keep searching
[Nexus 5 Android Development] Stevica Smederevac:
Is it possible to fastboot this img instead of doing it through twrp?
[Nexus 5 Android Development] solfly7:
I did try that but I can't seem to get my device recognized in windows 10.. I could possibly be doing it wrong... It'd been a while since I've had to use fastboot, and the drivers are current for device. Fastboot just waits for device forever.
[Nexus 5 Android Development] Stevica Smederevac:
Press the power button on the phone and you'll see that you need to confirm aka allowed connection to your pc;)

Sorry, authorize is the correct word.
[Nexus 5 Android Development] solfly7:
I never get the message to authorize it just says start at top
[Nexus 5 Android Development] Stevica Smederevac:
Then it's just usb debugging enabled and this is not the first time you are connected. I always have to authorize for the first time connection to the pc
[Nexus 5 Android Development] Stevica Smederevac:
Flash this in twrp but make a backup. I made this for the first time so backup just to be safe;)

It's bootloader ,of course just in a form of zip
[Nexus 5 Android Development] solfly7:
debugging is enabled. what about usb connected state? mine is always set to charging, so when I plug into PC, I have to change it to MTP everytime if I want to view the phone. if i set it to MTP as as i exit dev options its set to charging. could this be why phone isnt recognized?

I can use the 20f bootloader up to 6/17 nightly but after that it wants 20g
[Nexus 5 Android Development] Stevica Smederevac:
Change it to mtp , then try adb reboot bootloader. If it reboots, type fastboot devices and se if you get some numbers ,if not turn on screen and see if authorization is required. If yes, then it's all as i should be

---------- Post added at 02:17 PM ---------- Previous post was at 02:11 PM ----------

That bootloader zip didn't work?:confused:
[Nexus 5 Android Development] solfly7:
fasboot devices returns nothing.

I dont have a zip, your link provided the .img which for whatever reason doesnt stick when flashing from recovery or flashify. i would love a flashable zip but I cant seem to find it for this bootloader
[Nexus 5 Android Development] Stevica Smederevac:
Look at my post,i made you a flashable zip

It's called update zip