yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] Humpie:
2.3

Fixed shortcuts from homescreen

Fixed some reported crashes!

before

You can now select more hotwords for one event

It's now possible to enable/disable hotwords as a Tasker action

Added donation option
[Tasker Tips & Tricks] a5538544:
Thank you, the author and [MENTION=6802105]trohn_javolta[/MENTION]. It's working good even on Android TV.

I know it's not intended usage, but I have few problems I need some help.

1. Parameters(sensitivity/gain) can not be saved.

2. System sound become low while this plugin is active.
[Tasker Tips & Tricks] Humpie:
Nice to hear you got it working on Android TV!

I have no clue how those values cannot be saved. I assume you press okay for the sensitivity? XD Plus the audio gain saves itself whenever you move the bar. I agree that normally you use touch to move it, so that might have something to do with it, but I'm not sure. Can you try it with a mouse?

The app doesn't touch the volume so it might be something else causing the volume to drop when the microphone is active.
[Tasker Tips & Tricks] a5538544:
Thanks for the response and your long-term support of the app.

You're totally right. I tried with mouse and now it's fine. Forgive my nooby question.
[Tasker Tips & Tricks] Humpie:
Don't worry about it!

Now I know it doesn't work well with a dpad ;).
[Tasker Tips & Tricks] Jimbobleics1972:
Andriod tv hotword

Can you tell me how you got this working on android tv? It crashes on mine.
[Tasker Tips & Tricks] a5538544:
Sorry for my late reply.

My English is not good so, please read previews conversation between the author and [MENTION=6802105]trohn_javolta[/MENTION]. It'll make better sense.

Anyway, on Android TV ( -Android 9), multi apps can't access single microphone at the same time.

So you need to stop Hotword Plugin before Google.app access a microphone by using Tasker.

I still don't know what is the best approach to restart Plugin because Google.app does not tell when it release a mic.
[Tasker Tips & Tricks] Humpie:
Hotword plugin does this itself using the setting that stops the microphone from listening in apps with microphone permission. But that doesn't work on Android TV?

If it indeed doesn't work, you'll need to use tasker to disable hotword plugin when apps like google assistant are opened and enable it again when it closes.

Or you disable hotword plugin and enable it again after 30 seconds or so if you use it to tell Google Assistant to do something for instance.
[Tasker Tips & Tricks] a5538544:
I think Plugin's Implemented function itself is working well also on Android TV!

But not only for Google.app on Android TV (com.google.android.katniss) because katniss is not shown up as Activity(?)

few lines from dumpsys while Assistant responding (#1 is from my android tab #2 is from my android tv)

Anyway, I think set timeout is best for now because sometimes Assistant stays for long to show the information.
[Tasker Tips & Tricks] deechte:
Hi [MENTION=3372705]Humpie[/MENTION] on my Oneplus 7T Pro I always get a system warning that HotwordPlugin has a very high battery usage. Is that something you could look into?

Thanks!
[Tasker Tips & Tricks] Humpie:
Don't worry, Oneplus always complains that everything uses much battery. Yes, Hotwordplugin uses more battery than the average app, however it's using as little as possible. Although, having an app listen to your microphone at all time and process to check whether a hotword is said comes at a slight battery cost. That's just unavoidable. Google overcomes this by putting an extra physical chip in the phone to process "Okay Google" commands.
[Tasker Tips & Tricks] deechte:
Thanks! That's reassuring. I'll choose to ignore it from now on.
[Tasker Tips & Tricks] deechte:
In case you take ideas for further development, I'd love to see some customization options for the hotword-detected sound. Right now, that ping is shrill and very loud compared to other sounds on my device. It even scares passengers in my car.

It would be great if you could make the volume of that ping as a user setting. And related: maybe that notification sound could be chosen by the user as well.

Just my 2ct, thanks for your already great product!
[Tasker Tips & Tricks] Humpie:
Well, you've got Tasker, don't you? ;)

I just left the ping sound in for debugging purposes really, to see whether a hotword works at all. However you can just turn it off and play any sound any way you like it using a task in tasker.

As for notification sounds, you can change that using the notification settings on your phone! Long press the notification to make it silent, minimized, change the sound etc.
[Tasker Tips & Tricks] deechte:
Hi, thanks.

I was looking in the app settings, for controlling the ping, and didn't find it. I now found it is a setting in each hotword separately. Disabling it can only be done there.

My Android 10 notification settings for this app were set to silent already, that obviously gets overruled. Should it?

Thanks for the tip of doing another sound with Tasker. I could indeed play a different sound in the first action of the tasks that get called by the hotword plugin.
[Tasker Tips & Tricks] Humpie:
Yup you're right. It's on a per-hotword basis.

It shouldn't get overruled, however you need to change the settings for the proper notification channel instead of the entire app. Maybe that's something you could try?
[Tasker Tips & Tricks] deechte:
Hi, there's just one channel called "Hotword Plugin Listening"?
[Tasker Tips & Tricks] Humpie:
Yup that's the one. That's the only notification the app uses or can create. Anything you change there will thus affect notification sounds of the app.
[Tasker Tips & Tricks] deechte:
OK, thanks.
[Tasker Tips & Tricks] Humpie:
3.0-beta1:

Android 11 compatible!

NOTE: Due to scoped storage, you may need to reassign some of your hotwords. The app will guide you through it and all should remain working.

New icon

New theme including dark mode

Updated dependencies
[Tasker Tips & Tricks] deechte:
I'm not on Android 11 yet, but I thank you in advance for when I will be.
[Tasker Tips & Tricks] Humpie:
Released 3.0 fully, as I didn't find any apparent issues in the beta. Enjoy!
[Tasker Tips & Tricks] Preformerr:
Can you please add a Tasker plugin to change settings like hotword sensitivity, audio gain, etc? Thanks.
[Tasker Tips & Tricks] Humpie:
Thanks for the idea, but I'm curious:

Where would you use this for?

Usually these settings only need to be set the first time and there is a sweet spot for them (if the hotword you use from Snowboy has had enough training samples).

The sensitivity of "Hey Google" on you phone, for instance, also doesn't have to be changed throughout the day.
[Tasker Tips & Tricks] Preformerr:
True, I usually use a bluetooth earbud to trigger hotwords, but I was experimenting with phone mic too. I noticed that my phone mic probably isn't that good and I may need different settings (gain, sensitivity) for different mics.
[Tasker Tips & Tricks] Humpie:
A fair, different mics is actually a good scenario. I'll consider it!

But it will definitely take some time as it is actually a bit complex to build this in (especially from a UI and usability perspective).
[Tasker Tips & Tricks] Humpie:
BTW, now that I think of it. If you are using a different mic, you should also record a new sample from the Snowboy website! Then you can have for instance "Hey Google - Phone" and "Hey Google - Earbud which you can enable or disable already using Tasker.

Audio gain etc could still be adjustable from Tasker in the future, but sensitivity is not needed and might even yield worse results than just recording two different samples on the Snowboy website using different mics.
[Tasker Tips & Tricks] Humpie:
accidental double post
[Tasker Tips & Tricks] Humpie:
3.1:

New Tasker action to change app settings! (thanks [MENTION=8688390]Preformerr[/MENTION])

Hotwords are now listed alphabetically and state and settings now update live (thanks Christian)

Figured out on Android 11 the service can only be started from the app or notification :(

before:

Android 11 compatible!

NOTE: Due to scoped storage, you may need to reassign some of your hotwords. The app will guide you through it and all should remain working.

New icon

New theme including dark mode
[Tasker Tips & Tricks] Humpie:
3.1.1 fixed a bug when creating a new event!
[Tasker Tips & Tricks] deechte:
What does this mean exactly? I'm not on Android 11 yet on my OP 7T Pro.
[Tasker Tips & Tricks] Humpie:
As described by Google. Android 11 comes with while-in-use restrictions. This means that microphone/camera/location access in the background is fine as long as it is in use and explicitly started by the user.

This means that if the Hotword Plugin service is stopped (either manually, by Tasker or by a reboot) it can ONLY start by the user itself, so by pressing "start" on the notification or turning on the service in the Hotword Plugin app. The quick toggle and Tasker (unless the app is visible) cannot enable the service again.

The only way around it, as described by the exemptions on the website, is to make the plugin a system app or make it start from another system app.
[Tasker Tips & Tricks] Humpie:
3.1.2 has better stability and some more bugfixes
[Tasker Tips & Tricks] deechte:
Thanks. So each time I start the service, I have to do something manually? That's awful.
[Tasker Tips & Tricks] Humpie:
Exactly. Plus, the notification method doesn't always work either, so you'd basically have to open the app, start it and close the app after a reboot and just keep it running all the time. If you're rooted you can make it a system app which probably should fix it but yeah...
[Tasker Tips & Tricks] Humpie:
So, Snowboy shut down their website unfortunately...

The community is taking over the system https://github.com/seasalt-ai/snowboy and you can already find a couple of hotwords here https://github.com/seasalt-ai/snowboy/tree/master/resources/models

I'll make a tutorial or build in the training into the app when some progress has been made by them. (I wasn't allowed to build in the training before, but since Snowboy doesn't exist anymore, I'm free to do so)
[Tasker Tips & Tricks] oem42:
So now that snowboy is gone is there a way to train a new wakeword?
[Tasker Tips & Tricks] Humpie:
Yes, you can follow the tutorial at https://github.com/seasalt-ai/snowboy if you're handy enough. Otherwise I'll probably build in the training into hotword plugin myself in a while, but I currently have a lot of exams and deadlines for university, so that will take some weeks.
[Tasker Tips & Tricks] oem42:
Sadly im on windows and pretty new to coding.. so guess ill have to wait.. good luck with your exams
[Tasker Tips & Tricks] Humpie:
I've been looking into ways to train new hotwords yourself and published a simple website (created by rhasspy) to do so: snowboy.jolanrensen.nl (if the url doesn't work yet, hotwordplugin-image-kmpzomnrva-uc.a.run.app should. The DNS is still updating or whatever).

From my experience the results are not very good however... Even with like 10 samples, which makes sense, since the original Snowboy website had thousands of samples. So, hopefully someone has the time (and money) to host something similar to what Snowboy had before. If all works well for a couple of days,

I'll add a link to my new website in the Hotword Plugin app as well, but I hoped the results would be better...

(Remember there are still some fully trained samples at Github)
[Tasker Tips & Tricks] QuiXilver777:
The website worked perfectly for me, thanks a ton! I was worried I'd have to make a Linux computer and learn how to code better😂😉, I'll probably do that eventually anyway, but now I can spend my time on other more fun things.

The reason I wanted to make my own model was because I have a Galaxy Note 20 and I hated how the wake phrase for Bixby was "Hi Bixby", that is so not natural to say. So I just made a model with "Hey Bixby" instead. So now I'm going to have the plug-in listen for that and trigger Bixby to listen when I say it using Tasker. Oh how beautiful Tasker is.

My next bigg'ish project is to make an app for the Galaxy Watchs like TaskS2 but have it actually work, and be cooler in the process, but that's probably going to take me a few weeks, especially since I need to learn how to make an app like that first. I like Tasker.

I love the app Humpie, great job, I might have some questions for you later if you'll indulge me.
[Tasker Tips & Tricks] QuiXilver777:
OK, so I can't figure out how to make Bixby start listening. If I simulate the Bixby key press it doesn't continue to listen and I don't know how the phone would know when to stop pressing the button if I have it continuously press the button. I was thinking that I could open the Bixby Voice app with one of its sub-activities, but it says Tasker doesn't have permission. Any help would be greatly appreciated.
[Tasker Tips & Tricks] Humpie:
I don't have experience with bixby (since I don't use samsung devices) but maybe the "voice search" action in Tasker can do the trick?
[Tasker Tips & Tricks] QuiXilver777:
Worked great, thanks. There are so many features and options in Tasker that I'll probably never get through them all, especially with constant updates, not that I'm complaining 😉👌.
[Tasker Tips & Tricks] QuiXilver777:
Is it possible to add a headset mic, Bluetooth or wired, as an audio source to have the app listen to?
[Tasker Tips & Tricks] Humpie:
I think so! The audio source option lists all the possible audio sources given by the android system, so if your device detects the microphone, of the sources should be the mic you're looking for.
[Tasker Tips & Tricks] QuiXilver777:
What would it be called? I get the same options whether my headphones are connected or not.
[Tasker Tips & Tricks] Humpie:
I don't know, I think maybe one of the voice ones. Like I said, I just took all of them from the android sdk and listed them in the settings.

Maybe there's an app on the Play store to test all mic types on your device :)
[Tasker Tips & Tricks] QuiXilver777:
Interesting idea, I'll check, thanks for the effort(that's not sarcasm, I'm sincere) 👍
[Tasker Tips & Tricks] QuiXilver777:
I tried every mic and none were the headphones. I went into another room and said the hotword, making sure it worked first by saying it next to my phone. Some mics didn't work at all, it said it couldn't get microphone access from the background, while the app was in the foreground. The same kinda thing happened with an app I used to test the microphones like you suggested. Are certain mics off limits to regular apps?
[Tasker Tips & Tricks] Humpie:
I think if the microphone type selected is unavailable it will respond with that message (usually this is when the app is in the background and it tries to access the mic, hence the message). These are all the types available to me: https://developer.android.com/reference/android/media/MediaRecorder.AudioSource
[Tasker Tips & Tricks] QuiXilver777:
So I read this,

"VOICE_CALL

Voice call uplink + downlink audio source

Capturing from VOICE_CALL source requires the Manifest.permission.CAPTURE_AUDIO_OUTPUT permissio n."

Does that mean I can give that permission to the Hotword Detection app with an ADB command and it will have access to that audio source?
[Tasker Tips & Tricks] Humpie:
Oh I think this mic is actually for voice call recording... And that permission apparently is not for 3rd party apps according to Android Developers. So, I don't think that one would so the trick (and I might actually remove it since it requires a permission my app cannot ask for lol)
[Tasker Tips & Tricks] QuiXilver777:
So I can't just give it permission with an ADB command?
[Tasker Tips & Tricks] Humpie:
No, the app needs to specify which permissions it wants. But apparently the voice mic sources are for call recording anyways, so they're not useful. So "Default", "Mic", "Unprocessed", and "Camcorder" are the ones to try. If none of those work I'm afraid you're out of luck. I did get it to work once with a usb microphone however, but I never tried it via bluetooth. I think bluetooth requires hooking into a call-service or something, so make sure it connects to it like a headset. Not something that's currently present in the app or that I have the time for at the moment to figure out if it's even possible with the Snowboy hotword recognition etc.

Might look at it in the future though :)
[Tasker Tips & Tricks] QuiXilver777:
You might be able to access it apart from the hotword recognition and just relay it to the hotword recognizer, kinda like the app Buttons for Alexa. I haven't gotten too far into learning coding or making apps, although I'll get to it soon, so if this is irrelevant information then just ignore me. Either way I hope you can find time to figure that out, I wanted to trigger Tasker tasks while away from my phone, and maybe mess with some external microphones attached to one of my spare phones so I can trigger tasks from anywhere. Anyway, I have a lot of ideas that will probably never happen, but it's fun to imagine them anyway😉.
[Xiaomi Redmi Note 4 Questions & Answers] mrocking:
I am presently used miui 9 developer version. Today I am installed ota but twrp automatically uninstall. So how can I again install TWRP in Note 4?

Please reply if you're know this issue.......
[Xiaomi Redmi Note 4 Questions & Answers] akil777:
Easy, reinstall twrp by flashing via fastboot...
[Xiaomi Redmi Note 4 Questions & Answers] LiQuiD_FeAR:
Red wolf recovery works fine, switch to that.
[Xiaomi Redmi Note 4 Questions & Answers] Sachin:
Post #2,

Reflash TWRP.
[Nokia 6 Questions & Answers] Yash_rajora:
Observed there is no notification Screen light up when getting notifications and the phone is locked. TA 1021 any workaround is possible?
[LG G5 Questions & Answers] bgagan4:
A few months back I upgraded my phone from op2 to LG g5 H860.

So, I've been playing around with my phone and I noticed that my camera pictures are grainy. Seems like pictures taken on a 5mp (or lesser) camera.

I took pictures with my camera (all default settings and auto mode) without any zoom and after capturing I tried to zoom in into the picture, like 20% zoom to notice that they are very noisy. I'm not so good at photography, so I never bothered to check this kind of stuff with my other phones before.

I have taken pictures with both rear and front cameras and they both look very noisy. Like water color painted pictures. I'm not sure if I'm putting the right words here but I think you get what I am talking about. I am adding a sample attachment.

Can someone tell me if this is normal or am I missing something here or if there's some problem with my phone itself?

I am already frustrated that I can't unlock my bootloader and I hope this wouldn't add more to it.
[LG G5 Questions & Answers] olmott:
Do you tried clear the lenses?
[LG G5 Questions & Answers] bgagan4:
Yes I did. But that doesn't seem to be like a problem with dirty lenses?
[LG G5 Questions & Answers] Sparksys:
Man, I had the same exact problem.. buy new lens.
[LG G5 Questions & Answers] TheMadScientist:
Try manual mode and turn down the iso speed. Sometimes higher iso speeds produce heavy grain. See if that helps any.
[LG G5 Questions & Answers] bgagan4:
I guess it's the only solution. Thanks.
[LG G5 Questions & Answers] emotim:
I had this problem as well. I turned off HDR under settings and that fixed it.
[Xiaomi Redmi Note 4 Questions & Answers] djibril13:
In latest beta release of MIUI9 VPN after a while stops working. Adguard has a notification of firmware problem. Is there any way to reset VPN service somehow ?
[Google Pixel 2 XL Guides, News, & Discussion] Salval:
For some reason the notification LED doesn't function on my XL2. I installed LED Blinker Pro and it works like a charm. Just thought I would share incase anyone else is having this issue.
[Google Pixel 2 XL Guides, News, & Discussion] scottjal:
Settings, apps and notifications, notifications, blink light. It's off by default.

Now go get lightflow and go nuts.
[Google Pixel 2 XL Guides, News, & Discussion] Salval:
I did that and it still didn't work. That app solved the problem though.
[Google Pixel 2 XL Guides, News, & Discussion] krolla03:
Have you used light manager? And if so which do you like better. Im using Light Manager but that app you showed looks more polished.

Also have you noticed this time around the phone has trouble making some colors. Like yellow looks kinda yellow/green and white is kinda blue/white
[Google Pixel 2 XL Guides, News, & Discussion] ckarrow2:
Light Flow works. But it seems that the built-in notification light triggers first overriding Light Flow. For example, if I get a text message (fast blue blinking light set in Light Flow), I get the slow, white stock notification. If I unlock and then immediately re-lock the phone Light Flow kicks in with the set blink/color settings. I've tried to disable the stock light notification, but if I do Light Flow won't work at all.
[Google Pixel 2 XL Guides, News, & Discussion] Salval:
Light Flow didn't work well for me.
[Google Pixel 2 XL Guides, News, & Discussion] Andebad:
So is this just a software issue that could be addressed by Google in the future?
[Google Pixel 2 XL Guides, News, & Discussion] bsg411:
My 6p was the same way when I first got it.... But once they built in led notification into the settings of the roms I then got more cookies and very crisp distinct colors too..... Im sure the custom roms and kernel will fix this and the OLED panel color issues
[Google Pixel 2 XL Guides, News, & Discussion] dmarden:
Light Flow works perfectly for me.

Enable the light in system settings.

Disable it when there is an option in specific apps.

Make sure it has the right permissions.
[Google Pixel 2 XL Guides, News, & Discussion] thacounty:
I installed the New Pixel 2 XL Launcher on my OG Pixel XL. My light stopped after installing, so I had to go to the launcher settings (long press blank area on home screen, Home settings, Notification Dots, Blink Light) and turn on the light in there to get it going again.
[Google Pixel 2 XL Guides, News, & Discussion] corywf:
Yep, that's how you get the LED to work. It's really wonky and idk why they buried the setting in that spot.
[Google Pixel 2 XL Guides, News, & Discussion] thacounty:
Right? I found it by accident, and wondered how many people will never find this setting.
[Google Pixel 2 XL Guides, News, & Discussion] bradhoschar:
If we ever meet in person, beer and a shot are on me!

I've been looking for that for about 2 days now....
[G2 Q&A, Help & Troubleshooting] arshad.tagm:
Dear brothers,

I wanted to discuss my problem. I flashed lineage 14.1 on my lg g2 D801 30c lollipop. I rooted my phone with kingroot and flashed twrp by autorec app. During installation i wiped everything except the internal storage where zip files of rom and gapps were kept. after installation i rebooted the device and lg logo appeared and then black screen and nothing else. Luckily i had backed up my previous lollipop rom but restoring that did not help either. It says lg security error. Now I am stuck and don't know what to do. Please help me anyone.

Regards,

Arshad Khan
[ONE Q&A, Help & Troubleshooting] Horus107:
Hello,

connecting my OnePlus One to my Linux machine without running adb works just fine. But as soon as I launch adb, the phone keeps connecting and disconnecting. adb does not find any devices.

Okt 21 20:15:52 asaru kernel: usb 2-3: new high-speed USB device number 8 using xhci_hcd
Okt 21 20:15:52 asaru kernel: usb 2-3: USB disconnect, device number 8

and so it goes on every second.

# adb --version
Android Debug Bridge version 1.0.39
Revision 8.0.0_r17

Linux is 4.13.7-1-ARCH. The mobile device is at the OEM firmware, most recent version *lol*.

I tried it on different USB ports and two different machines, the behavior is identical.

Any idea?

Thanks a lot!
[Windows Mobile Development and Hacking General] timace:
Can someone point me in the direction of some emulators for my Tmobile Wing...ie SNES, NES, GBA...and the roms for them as well...thanks
[Windows Mobile Development and Hacking General] invd:
Pocket SNES is quiet good, I use it very often to play some old games...

http://paqpark.nuclearfallout.net/projects/pocketsnes.php

Hope you like it