yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] knives of ice:
yep, if that is the case you can't miracast cause it uses wifi direct connection. the only way to do it would be to stop connected to those wifi hotspots. if you don't need to connect to them then just go in wifi settings and forget every hotspot, turn off scanning and autoconnect then you'd be fine just use your phones data. if you do need those hotspots though you need to use choromecast

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

if you know a kernel that does this please post it i'm unaware of one that does. that being said, with the brightness tweak i posted i think its actually better than completely black. it is so low that unless it is dark you can't see the screen during daylight. it easily charges on a wireless charger still.

what i decided to do is since i use carhome ultra i just made a shortcut to dim my screen to the lowest brightness which i hit when everything is connected properly, since if it for some reason doesn't connect its quicker and easier this way

---------- Post added at 07:42 PM ---------- Previous post was at 07:40 PM ----------

some kinks to work out with this alpha now it is just too unreliable currently. hopefully it can be figured out. i've posted some problems i've had in your thread. for now going to go back to my tasker profile
[Nexus 6  General] tshrey:
Finally have chromecast set up reliably. It all comes down to timing I think. Some people just happen to pick the right order the first time I guess. What I specifically found was that when I turn on my hotspot my cell signal seems to stop working for a little bit. I was launching ARUR, then the hotspot then trying to cast. I now launch the hotspot once I see the HU booted enough to connect to my bluetooth. 7 seconds later I connect ARUR, then I do some things to change the default launcher and background and then cast the screen. Before, half the time the chromecast would connect to my network but it didn't see any data so it would ***** that it can't connect to the internet and that will prevent casting. I'm also powering the Chromecast from a separate USB port, not the one on the back of the HU.

Another thing I found is that I have been using Xposed for Lollipop with the Gravity Box module. The quick toggles really don't work all that great when gravity box is installed. Half the time the hotspot won't launch from the toggle. The cast screen button never worked from the toggle. This really sucks because I like a lot of its features, but my Tasker setup works soooo much better without it running.
[Nexus 6  General] tshrey:
Not sure how this helps? I still need to run a Tasker operation in order to launch my wifi hotspot, change Home launchers and the screen background. The problem is that if I use BT connect + charging as the trigger for my task the toggling of the BT in ARUR causes my exit task to run and then rerun the original task, resulting in a loop.

Why does the connection take so long to establish if you don't toggle the BT connection?
[Nexus 6  General] Area51©:
It will also switch on the wifi hotspot so it helps people who are not Tasker wizards.

That's because of the way Pioneer designed it to work. The app + phone behaves like a server and the head unit like a client. So the head unit decides when it wants to connect. One of the moments it decides to try to connect is when a new Bluetooth connection is detected. Without this it can take a long time before it's going to try to connect.
[Nexus 6  General] tshrey:
Gotcha. Didn't realize you were building that in as well. Interested to see if you are able to get it working; ever since Lollipop the built-in way of turning on the Hotspot with Tasker fails on android permissions CONNECTIVITY_ERROR. The only way people get it to launch seems to be by using screen commands to double swipe and click on the Quick Toggle buttons.

If that all works I can just trigger the rest of my task with an NFC tag.

Thanks.
[Nexus 6  General] Area51©:
Yeah I found that as well. First I could switch on the hotspot with an intent but that fails since Android 5.1 I think. Some more security crap added by Google. So that means it has to be done via the GUI. The same applies to screencasting. Because of security reason this is also only possible via the GUI. Of course this is a bit of a headache as each brand has it's own settings app. So making it work for every phone is quite a challenge.

I had it working with Lollipop pretty well by implementing an accessibility service. Unfortunately with Android M the accessibility service events behave quite differently so I had to rewrite the GUI interaction code quite a bit.
[Nexus 6  General] knives of ice:
download an app called WIFI DISPLAY basically it is just a direct shortcut to the casting screen under display settings. much easier to have tasker start this app and then use tasker to hit your chromecast than use screen commands and double swipe imo. less tasker steps as well.

thats what worked for me most consistently anyways.
[Nexus 6  General] tshrey:
I use AutoShortcut to get the casting part. The double down swipe is to launch the hotspot since you need to use the GUI under the latest Lollipop. The note about the casting quick toggle not working was just a note about using GravityBox.
[Nexus 6  General] tshrey:
I've been testing the latest alpha of ARUR and I can say once Area51 gets the kinks out this is going to be ridiculously fantastic. Turn the car on, when BT connects ARUR runs, a hotspot is launched and the screen is casted all in about five seconds. All without a single Tasker task.
[Nexus 6  General] Zer0t3ch:
I was using the Hydra kernel when I found this. It was in the Synapse app. (Which is a kernel tweaker that only some kernels support)

Basically, I was able to completely turn off the backlight, effectively giving me a screen similar to a cheap calculator. (Except because the hardware isn't designed for this kind of use, it's effectively impossible to see the screen at all) Even at minimal brightness, your backlight will still be on.

I've never investigated this as a source of battery saving, but I imagine it would be effective.

**EDIT - I've been able to find a potential way to control it via a script. There's some curious files in /sys/devices that might potentially be able to turn it on/off. (Mine has a directory that's likely relevant at /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.165/leds/lcd-backlight/)

***EDIT - I found what you want. try this:

# echo 0 > /sys/class/leds/lcd-backlight/brightness

WARNING - this kills the backlight, you WILL NOT be able to see anything. Do it from ADB so that you can bring it back. The max is 255.
[Nexus 6  General] bigtimejdub:
Anyone else have an issue where bluetooth connects to Appradio (3), I start playing music on my phone, but have to toggle the bluetooth after music starts playing for it to actually play on the head unit?
[Nexus 6  General] tshrey:
ARUR alpha .28 now works great. If the phone is fully awake (Pattern has been entered or phone swiped up) ARUR will launch your hotspot, connect to the head unit and then screencast via Chromecast or Miracast all on its own.

In general, I don't want the full ARUR connection to my stereo but I still want the bluetooth connection so I can answer phone calls. The problem is that even if the phone is off when you get in the car ARUR still connects it just doesn't cast. So if you need to grab your phone and use it you are stuck in landscape with the screen dimmed all the way (and I use GravityBox, so fully dim is unviewable). Also, when fully connected I want a different screen background and launcher.

I've gotten around all this by making ARUR disabled via SecureSettings by default. If I get in the car and want the full setup, I drop the phone onto my Qi charger. Wireless charging triggers a task that disables PatternLock, wakes up the phone, swipes up to turn off the keyguard and sets the display timeout to 1 minute. ARUR gets enabled. When the built-in variable %BRIGHT=1 ARUR is connected and the task that changes the background and launcher runs and sets a global variable %ARUR=1.

The exit task has an If statement in it that restores my normal launcher and screen background when %ARUR=1 and then sets it to 0. ARUR is then disabled and the pattern lock is reenabled.

This lets me do everything I need and only takes all the extra steps if ARUR is actually connected. When I'm home and drop the phone on a wireless charger nothing happens except it wakes up for a minute.﻿
[Nexus 6  General] knives of ice:
Ok I finally updated to marshmallow now that xposed supports it

Big problem though my netgear miracast will no longer connect. It goes to the connecting screen but never connects. Anyone else have a problem with miracast on marshmallow? Maybe the netgear doesn't support it? If anyone had any ideas let me know

EDIT - ok i figured it out. stupid SElinux mode must be set to permissive for it to work
[Nexus 6  General] naamang:
How do you "pull down chromecast and make it work"? I'm able to cast via Netflix, Youtube, etc. from within the apps themselves but I'm not able to find a way to mirror my entire phone's screen. And, the only thing I'm able to find in my notifications blue pull-down menu is Quick Connect, but it requires WiFi to be turned on, which would terminate my Hotspot. I tried downloading the Chromecast app but it requires WiFi also.
[Nexus 6  General] thacounty:
When there is a Chromecast on the same network as my phone I get a cast screen option in the notification pull down.
[Nexus 6  General] naamang:
Well I'm seeing my Chromecast under "Connected Devices" in hotspot settings but I don't have the Cast Screen button in my pull-down menu :-/ After doing some research on my Note 4, it appears that the only way to cast my full screen is to do so from the Chromecast app itself, which won't work inless I disconnect for hotspot and turn on WiFi. Appradio Unchained won't reply to my recent email requests for support so I guess I'm out of luck. At least I'm able to cast via YouTube and Netflix, but AppRadio is useless to me. Guess I'll have to open a dispute with Paypal and get my money refunded, seeing customer service is non-existent, other than sending me a canned message with a link to your thread about a phone I don't even have. Ugh!

Update: It took a couple days but ARUR support finally replied with a helpful tip: With version 1.11.11 of the Chromecast app it's possible to screencast, despite the app saying wifi needs to be enabled.

Note: After install, auto update for the Chromecast app need to be disabled via Play Store.

So, everything is now working as it should :)
[Nexus 6  General] thaimike:
touchscreen issues

Did you have to make any other adjustments to make the touchscreen on AppRadio work? I'm connected chromecast, hotspot, etc, but the touchscreen doesnt seem to register.

Thanks for your help

Nexus 5X
[Nexus 6  General] Orthok:
Chromecast issues, and connection options

In December of 2016 I began using a chromecast connected on the wifihotspot of my phone to cast to my appradio 3 with ARU reloaded. About 1 month ago my phone stopped being able to see the Chromecast when it was connected to the wifihotspot on the same phone. I've tried re setting up the chromecast but I can't get it to work. My phone is a rooted samsung S7 with the same ROM that had been installed when it stopped working.

Does anyone know of a way to fix this?

Thanks
[Nexus 6  General] Area51©:
It was caused by an update that Google made to Google Play services. There's now a beta version of Play services that fixes the issue.

See here: https://xdaforums.com/showpost.php?p=73261658&postcount=141
[Nexus 6  General] Soupskin:
Sure, for audio only. For the rest of us who want full control on our dash with a complete audio experience, it's AppRadio all the way. The only thing that comes close is Sony's XSP-N1BT.
[Nexus 6  General] trilogee:
That's pretty cool but I have the avin avant 2 which is essentially a 7 inch in-dash android tablet with wifi i just turn my hotspot and I have a web-connected android tablet as a radio replacement.
[Nexus 6  General] deviouskater:
Did you use seperate WiFi or nexus 6 hotspot. Mine doesn't detect Chromecast whennconnects to nexus 6 hotspot
[Nexus 6  General] almahix:
Wish I could teach Ford Sync to play nice with Android. I'm grateful to have working Bluetooth music don't get me wrong, but this shows that there is so much more possible. Nice work, all!
[Nexus 6  General] ker2gsr:
http://xdaforums.com/showthread.php?t=2865525

Have you looked into this model I have a '14 STI and just got this haven't installed yet
[Nexus 6  General] PaisanNYC:
I am confused also. The Chromecast and Nexus 6 have to be connected to the same AP to cast. Did you have to install a travel router somewhere as well?
[Nexus 6  General] samrich:
You don't need a router. I just set this up tonight after finding this thread.

Plug the chromecast into your appradio. It won't fit without the little extension cable that came with the chromecast. Don't forget to hook up the usb cable from the apradio to the chromecast.

Turn on the hotspot on your nexus 6.

From another phone or a computer setup the chromecast with the nexus 6 hotspot network.

Install appradio unchained reloaded or your phone. Appradio unchained should work too if you don't want to spend $35 on reloaded. Root is required on both. http://xdaforums.com/showthread.php?t=2451980

Start the car with the hotspot running on your nexus 6 and appradio unchained reloaded running.

Once everything connects press cast my screen on you nexus 6 and everything should be working.

I'm having a little trouble figuring out how to automate this on tasker. Can someone please post their tasker setup for this?
[Nexus 6  General] PaisanNYC:
Im sorry for all the questions, because I so want to do all this, and i spoke with my installer friend this evening. Hes down to help me with this. But the Chromecast doesn't support direct casting yet, right? So the Nexus 6 and the CCast need to be on the same SSID. So if you turn on the hotspot on the Nexus 6, how does it connect to its own hotspot? and if so, there is no way mobile data would be working if the N6 actually did connect to its own hotspot?
[Nexus 6  General] samrich:
You are over thinking it. I just did it a couple hours ago. When the Chromecast is connected to the mobile hotspot on your phone you can cast your screen to it. Your phone is the router. Mobile data works. All the chromecast is doing is mirroring your screen.

The only time you need to have the chromecast and the phone on the same ssid is during setup. That's why you need to use a different phone or a computer for the setup. Once you are done with that you are clear to mirror your screen.

No need to be sorrry for all the questions. I hope I helped.
[Nexus 6  General] mha1021:
Thank you very much for this..

I had Appradio 2 for a while and was tired of it not working the way i wanted to and since i bought Nexus 6 there wasn't any hope but thank to you my appradio 2 and Nexus 6 works pretty good... the only thing i need help with is how to make it connect automatically whenever i turn on my car.

I've never used tasker before so not familiar how to set it up so can you please help me so it would connect automatically instead of turning on hotspot, screencast and brightness down to zero and etc.

Again Thank you.
[Nexus 6  General] sn0warmy:
That looks promising. The OP mentioned full steering wheel controls right out of the box. If that's the case for our cars that's HUGE. This might be the solution I've been looking for.
[Nexus 6  General] PaisanNYC:
You definitely did help! Thank you for the answers and your patience. Just a heads up, I just read an article today that the new Chromecast update going out today allows direct casting for "Guests" without the need to be on the same SSID/router.
[Nexus 6  General] compuw22c:
So I was doing this with my Nexus 4 and 5 with a PTV3000 (Miracast reciever) and it does work, and it is awesome, but a couple of things to mention:

1. Overheating. I also had a wireless charging pad in the mix, but even taking it off the charging pad on a hot day the phone would overheat and reboot between the mirroring it had to do plus whatever else I was running. Granted it was a convertible (Miata) so maybe with my top down it tended to get a bit hotter but still, something to consider. On the days where it was cooler, charging would either simply maintain (barely) a level charge or worse it would again overheat and stop charging and discharge...

2. At least with Miracast, I was getting pretty bad stuttering that seemed to be worse than using the adapter at home on a TV. I chock this up to 2 factors. Number one, they share spectrum, as the head unit communicates to the phone via 2.4ghz bluetooth, and the miracast (or chromecast) also use 2.4GHz wifi (Say all you want about it supporting 5ghz, as far as I can tell neither the chromecast nor the miracast receivers actually use the 5ghz spectrum on a regular basis, as far as I've seen anyways). Number 2, driving around, especially near a major city seems to make the devices try and hop channels to find the best one available. Which sounds great, unless you're driving down the road and that perfect channel is a constantly moving target...

Again, I do love my setup, but it leaves a bit to be desired. I hope the chromecast works better, it'd be super simple for me to swap one for the other the way I have it wired, just waiting to see other people's reports on performance.
[Nexus 6  General] ker2gsr:
here's a pic installed ..with my Cobb mount next to it ..... Get a harness from ae64.com plug and play for subarus full steering wheel support I can map my buttons to keys I want no extra module needed

---------- Post added at 08:55 PM ---------- Previous post was at 08:50 PM ----------

They got full source code and Roms being worked on even a aokp rom
[Nexus 6  General] ripsphone:
Thank you so much for this. Just got my Nexus yesterday and did not do my research first. Did not realize it did not have HDMI output support. I have a Chromecast on the way and will be attempting this tomorrow.

Anyone have any luck figuring out the tasker portion of this?
[Nexus 6  General] compuw22c:
Wait, is there really NO way to do HDMI wired? Slimport, mhl, neither work? I find it hard to believe our phones lack the hardware support that I THOUGHT was integrated into the CPU itself (sd805)
[Nexus 6  General] pauljohnson75:
How did you get tasker to turn on your wifi tethering I haven't been able to get it to work with my nexus 6 even with secure settings.
[Nexus 6  General] schooled_ca:
I'd love to have the tasker export as I'm also having troubles getting this part of it done. Got my Chromecast set up and working great though!
[Nexus 6  General] drwolcot:
I wonder if there is better performance from the newer AppRadios like 3 and up. Just curious if i get one.
[Nexus 6  General] tsy87:
Just got this working last night with my appradio 2.

I paid for the app, the prior beta's worked pretty well for my other devices with only minor hiccups. This one seems to be quite solid.

I just wish there was a way to automate and turn the screen off while still casting to save battery life. Also if only chromecast had wifi direct, not that turning on the hotspot is that big of a deal.
[Nexus 6  General] _invader_:
There are a few apps that can turn the screen off...I modified Screen Standby for the N5 and will update it for the N6 (whenever I get motivated to get around to it).

I'm using a Netgear Push2TV (PTV3000) unit to screencast (Miracast) to the AppRadio...suppose that saves the single step of enabling a hotspot, but would like to know if there's any real difference in battery consumption (processor use, etc) or in A/V quality between the two (Miracast vs Chromecast)...
[Nexus 6  General] tsy87:
When I tried using my G3 with the netgear push2tv, it did not work well for me, it would cut in and out a lot... the chromecast seems to work really well, minus the fact that it requires you to turn on your hotspot.
[Nexus 6  General] brizey:
Wish I could do something like this. Too much compromise in my car though...too much is integrated into the car's navigation system. Just too much work to try to get video in and touch position out on the navigation screen, and I don't think it's multitouch.
[Nexus 6  General] dykast:
I have a Nex4000, Nexus 6 rooted, Chromecast and App Radio Unchained Reloaded. I can get it to cast and respond to touch inputs fine. My problem is that when I cast from my phone the resolution is wrong. It only shows the top left of my phone. I don't know how to get it to fit the screen correctly. Any help would be appreciated.
[Nexus 6  General] Riktar:
Nice setup. I have a wrx as well (2014) with pioneer avh 8500bhs. It has an hdmi port as well, will the same set up work?

I presently have physical hdmi > mhl adapter and using it with app radio app.

Thanks for the help.
[Nexus 6  General] wolfnumba1:
MHL adapter works on nexus 6?
[Nexus 6  General] Riktar:
That's a very good question. I just got my n6 4 days ago. My current setup was for my note 3, I'll give it a go tomorrow.
[Nexus 6  General] wolfnumba1:
Ooh OK you didn't specify the device and since this is a nexus 6 thread I just assumed I am pretty sure there is no HDMI out on this device seems Google wants to push wireless mirroring instead.
[Nexus 6  General] tonystarkd:
Did you use seperate WiFi or nexus 6 hotspot. Mine doesn't detect Chromecast whennconnects to nexus 6 hotspot
[Nexus 6  General] Area51©:
There are settings on the 4000NEX to adjust the video size. If that doesn't work you can try to clear the Bluetooth pairing from both devices and pair again. This clears the video settings.
[Nexus 6  General] dykast:
I tried the above and it did not work. The video adjustments are more of a trimming for over scan. I also tried casting from a laptop and the same thing happened. What is odd is that the actual beginning Chromecast screen is correct and you can see the whole thing. But when it switches to cast mode it just shows a zoomed image.

Is there a specific firmware the Chromecast needs to be on for this to work? I have a feeling I'm going to have to rip the dash apart again and disconnect the Chromecast manually.
[Nexus 6  General] coffeenflowers:
I have the same problem attempting to use Chromecast on my 4000NEX. Seems to be a Chromecast bug--there is a post on Google's Chromecast forum regarding this issue. I think it has to do with the Chromecast improperly detecting the display resolution of the HU. I have so far not found a fix. If you find one, please let me know. I think some people switched to using Miracast due to the bug.
[Nexus 6  General] alillowr:
I haven't gotten my nexus 6 setup yet but with previous phones that I have used with my appradio.. Some had a issue with displaying correctly and the solution was to use a different launcher like nova or something like that. I am not sure if this is the type of problem that you are having but it would be worth a shot before ripping your dash apart.
[Nexus 6  General] chadssteeltanker:
i don't seem to be able to get the unchained app to connect to my 4000nex from my nexus 6 i did get the screen cast to the hu with the chrome cast but resolution was not right and no touch control on hu .any help to get this working would be be nice thnaks
[Nexus 6  General] Area51©:
I think the resolution is a chromecast bug. For the touch, when you run diagnostics is 'Event injection' checked?
[Nexus 6  General] chadssteeltanker:
On the head unit or the unchained app sorry for a lot of questions guess I'm a rookie but really want to get this working just got the hu ..would be nice if there was a step by step guide for use the nexus and chrome cast with this hu thanks for the help
[Nexus 6  General] Area51©:
In Unchained. In the Plays store there's a link to the user's manual. It doesn't describe using Chromecast but basically that's just enable casting to the Chromecast instead of plugging in the MHL or Slimport adapter.