yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] maforget:
I get that, it's why I posted my files to give people an idea of what is needed and maybe instead of just copying a generic file, parse the existing conf file and add the needed sections to make it work.

I was able to edit the conf file and have casting working by adding a single line and I don't need the FC fix option anymore and my music can now play. (Playing them when casting the screen will disconnect the chromecast though and crash DSP manager, so don't try that)

I just added the following line at the end of attached_input_devices in global_configuration (at the Top) and changed the submix version to 48000 HZ only.

|AUDIO_DEVICE_IN_REMOTE_SUBMIX

Attached is my modified conf file to work on the SGH-I747 CM11
[Google Chromecast] cachimori:
2603

I have no idea how to do it. Do I have to look for the file with a file explorer? Do I have to install sqlite database editor? Sorry but I'm lost
[Google Chromecast] busterdan:
Yep working here on the One Plus too..... although Spotify seem to have managed to disable the audio casting :( (luckily Bubbleupnp can work around that)

Only had the OP for a few days... what an awesome phone it is!!! :highfive:
[Google Chromecast] gluni:
Finally working on Note 2 7105 using cm11 latest nightly and v4.

Thx alot.
[Google Chromecast] hwong96:
SQlite editor

---------- Post added at 04:39 PM ---------- Previous post was at 04:37 PM ----------

Then SELinux policy is not installed. No need to change it.
[Google Chromecast] bjarnehe:
It was actually already on. I switched it of and it still works. Should I be noticing a difference?
[Google Chromecast] hwong96:
I'm just checking if it makes a difference.
[Google Chromecast] badticket:
Dear all,

[ROM][I9300][4.4.4] CyanogenMod 11 does now official includes "audio.r_submix.default.so" for S3 GT-I9300 ROM. Nightly from 02.08.2014 includes the desired module "audio.r_submix.default.so"...

I've tested it... just a little bit laggy... but it works with V5...

Thanks Dudes !

Greetz
[Google Chromecast] bhiga:
In some cases it can make a difference, in others no difference at all, so it's good to try if having problems.
[Google Chromecast] cachimori:
Thanks, done
[Google Chromecast] cristiano.elias:
I don't know if this has been answered before but in which status does SELinux need to be?
[Google Chromecast] ghagiel:
FYI, this also works on the Nook HD with the same fix that got it working on the HD+ by [MENTION=4482904]extrem0[/MENTION]

Kinda laggy, but otherwise no problems. Thanks for working on this!
[Google Chromecast] hrishikeshgramani:
Yes Buddy it's working on my mi3w....
[Google Chromecast] wwsiralexd:
The app does not work on the LG G Pad 10.1, but using the sqlite editor to add the overrides entry works.
[Google Chromecast] cnotes2019:
For the Verizon m8 I have to use v1?? I try to install but it keeps saying app not installed.

Nvm. I used v5
[Google Chromecast] tiagoggama:
Working on S4 Omega 35,with a small leg

Sent By Gama
[Google Chromecast] ibwt:
Don't Work with Asus Memopad Hd 7 ME173x :(
[Google Chromecast] laureano97:
I think it needs kitkat
[Google Chromecast] bigcrunch:
Doesn't work in Asus Tf201

Doesn't work in Asus Transformer Prime (tf201) with CROMBI kk 4.4.2 ROM.
[Google Chromecast] hwong96:
Read the hi lighted item in red of post #1.
[Google Chromecast] cnotes2019:
Not working on my m8 :/. It freezes up on the chrome cast screen. Am I doing something wrong? I try to connect it. And it says it's connected but I'm not able to get it to show anything other than the chrome cast screen and if I try, it freezes up. I'm rooted but stock.

---------- Post added at 07:58 AM ---------- Previous post was at 07:50 AM ----------

How?

---------- Post added at 08:21 AM ---------- Previous post was at 07:58 AM ----------

Making small progress. Can mirror the screen but dear I open up and anything or try to play a game and it's useless. Can anyone charge their phone and mirror the screen? Or do anything else while mirroring (ie. download an app/game?)
[Google Chromecast] swest6602:
Mine M8 is working fine. I just tested it again when I saw your post. I choose 'cast screen' in the left menu of the Chromecast app and it just works. Audio and video. Did you try rebooting your Chromecast? I think I recall seeing that was required.
[Google Chromecast] hwong96:
Go to settings-apps-chromecast, clear data, clear cache and reboot chromecast.
[Google Chromecast] dnana_28:
Just rooted my nexus 7 2012 for this sole purpose and it's working thank you very much [MENTION=4732871]r3pwn[/MENTION]
[Google Chromecast] tomlang:
Nook hd+

Nook hd+ (ovation) casting near perfection now. Very slight lag. Everything works

Running extrem0 patch on cm11 08/02 build
[Google Chromecast] lovekeiiy:
It's already know, but works on Galaxy Note 2 (Sprint variant SPH-L900) running Android 4.4.2, not other mods needed. Phone is rooted.

Here's a video screencasting NFL Sunday Night Hall of Game, compared to live local cable TV. A little lag, and some video degration, but overall not too bad considering application is experimental and phone age.

[YOUTUBE]UTzac2VaN7o[/YOUTUBE]

Thank you for your time and sharing of the app.
[Google Chromecast] cnotes2019:
That worked for the most part! Thanks! I can play a game but casting a movie is bad. Audio is good. Video is stuck.
[Google Chromecast] hwong96:
Casting screen is making the device's wifi work twice as hard since it is receiving and transmitting on the same antennae. Try another wifi channel with less interference.
[Google Chromecast] bhiga:
For those posting it "doesn't work" it would be extremely helpful if you could describe exactly what doesn't work...

Do you get the Cast Screen option in the Chromecast app?

Screen casting works, but has poor framerate/quality

Screen casting works, but there is no audio

Screen casting appears to start, but there is no image shown

etc
[Google Chromecast] supergogeta:
tf700

Im using tf700t with crombikk and screen casting appears to start, but there is no image shown i only have a black screen on my tv I check with maintainer of the rom they told me that the rom had the fix of the audio.
[Google Chromecast] MrDSL:
Screencaster works great on latest cm11 nightly but I have no sound.
[Google Chromecast] hwong96:
Use mirrorenabler v4. Download from post #1. Enable first and second options. Go to setting-apps-chromecast, clear cache, clear data, reboot chrome cast. Restart chrome cast app.

---------- Post added at 08:22 AM ---------- Previous post was at 08:19 AM ----------

Did you recompile the rom with the audio.r_sub mix.default lib in product_packages in the .mk file and add the r_submix section to audio_policy.conf file?
[Google Chromecast] MrDSL:
no i have no box to compile on so ill have to wait for cm11 to bake it
[Google Chromecast] slebit:
This is a great mod! Works great on both my LG g2 and LG g pad!
[Google Chromecast] josito801:
V5 works perfect with Xiaomi Mi3 and de last oficial upgrade (kk 4.4.4 - from xiaomi.ue 4.8.1). Thanks!!!!
[Google Chromecast] Bajanman:
Using the same Rom DN5v2 as above with zero problems. But I'm using V5 enabler with my set-up, cuz I have the I317 build info!

Works actually pretty good to be honest, and quality isn't that bad to me... [emoji106][emoji14]

Almost the same as mirroring thru near by devices from the phone...

Just my 2¢®™

Sent from my T889 using Forum Runner
[Google Chromecast] Kolma:
HTC Desire 601 on instertcoin fw 4.4.2 HTC sense 6

Streams video fine.:victory:

No audio.:(
[Google Chromecast] hwong96:
Does your audio_policy.conf in /system/etc/ have the r_submix section added? How about the file audio.r_submix.default.so in /system/lib/hw/?

---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------

Read the red highlighted text in post #1.
[Google Chromecast] marcars:
On Moto G with android 4.4.4 it works but the frame rate is poor and the sound not work properly.
[Google Chromecast] Gudders:
How did you manage this? I can't get it to work. TF700 crombi-kk latest build.

Thanks.
[Google Chromecast] lartomar2002:
I would like to know also.
[Google Chromecast] cristiano.elias:
I have an I9300 with latest CM11 nightly. Sound is OK but it's extremely laggy. Does anyone have any ideas on how to fix it?
[Google Chromecast] hwong96:
Try using phone charger while casting screen. Or if on battery, go to settings-wifi-3 dot menu-advanced and turn off battery optimization while on wifi. Minimizing battery may have an impact on wifi throughput.
[Google Chromecast] jentous:
Just installed it and had a problem on the new Nvidia Shield Tablet. Got the error message about the lack of the audio file which is missing. Once passed that I was able to enable the screen casting but I got nothing but a black screen.

Thanks for any help you can provide.
[Google Chromecast] KostasR:
Doesn't show the option in chromecast app. Optimus G, 4.4.2 stock.
[Google Chromecast] hwong96:
Try this http://xdaforums.com/showpost.php?p=54371469&postcount=1115

---------- Post added at 02:06 PM ---------- Previous post was at 02:02 PM ----------

Does your audio_policy.conf in /system/etc/ have the r_submix section added? How about the file audio.r_submix.default.so in /system/lib/hw/?

If not, read red hilighted text in post #1. Make sure Google play services is v5.0.89.
[Google Chromecast] cristiano.elias:
Thanks for the reply! Just tried this now but it didn't work. It's still laggy. Even the phone becomes laggy when casting.
[Google Chromecast] hwong96:
Go to phone settings-display--cast screen-disable (or enable, if it was off) and see if any improvement. How far away is wifi router?
[Google Chromecast] cristiano.elias:
Didn't work either... The router is in the same room as the chormecast (aprox. 3 meters)...
[Google Chromecast] hwong96:
Could be hardware limitations? Maybe other users who have i9300 working properly can chime in.

Set your CPU to performance mode at maximum speed.
[Google Chromecast] r3pwn:
To add a small update:

At this point, I think I have done all I can to get this working on as many devices as possible. If it still doesn't work, I am sorry to hear that and I hope that you figure it out soon.

On another note, I just got a PayPal account. If this worked for you and you want to send some money my way (Keep in mind that I didn't make the mirroring, only the hack to enable it), feel free to visit my PayPal donation link in my signature. :)
[Google Chromecast] rhcreed:
OK, Verizon galaxy s3, Running the latest cm11 nightly (8/4). This only works when I enable option 2, but that kills all system audio.. I'm reaching out to my community, but is there anything else I can do to make this work? Thx!
[Google Chromecast] r3pwn:
If you feel comfortable editing the file manually, send me a PM or a Hangout at (wickett06 at gmail dot com). I'll try to help you out. :)
[Google Chromecast] samsgun357:
The OP lists the ROMs that have the fix included. It says ROMs for i9300 then galaxy s3 international, isn't that the same device? I'm looking to add the fix to my device, i535 verizon galaxy S3 d2lte build of slimkat.

Watch, as I combine all the juice from my mind...
[Google Chromecast] BillGoss:
Thank you! This is just what I needed on my Note 3 running CM11 nightly.

Sent from my SM-N9005
[Google Chromecast] lartomar2002:
Thanks for all your work. There was a person that posted earlier that he had it working on a Asus TF700. Myself and another person asked he he would post how he did it but have not heard anything from him. Would you have any knowledge on how to get it working on the TF700?
[Google Chromecast] tharmor:
Folks anyone lucky enough to get it working on Galaxy Tab 3 7.0 running kitkat 4.4.2 ? I have tried but dont get anything in the log.......just google play services has stopped.

Will post the log soon.
[Google Chromecast] AserLaser:
understanding issue

Hello,

I am sorry to write you but i have a simple issue. If I Start Mirror Enabler I get the message: Your ROM is incompatible. It seems like your ROM is lacking the audio_aubmix file. You must contact your device maintainer and ask them nicely...

Your answer was the same in the discussion. Now my Problem I really dont know what to do must I download somethin or conntact a Person vor what? I have a rooted Samsung galaxy s3 mini with cgmod 11 KitKat 4.4.4

It would be really nice if you could give me a step by step instruction. I am really sorry for this stupid Question I read the discussion up to page 50 but didnt find a better def. In the Moment when I try to cast Google pla service chrashs. Will it work with this file?
[Google Chromecast] r3pwn:
Just replied to your PM. :)
[Google Chromecast] gijs46:
Hi!

I've installed this mod, but unfortunately it doesn't work. When I start casting, my Chromecast switches to a black screen, and nothing else happens. I'm on a Huawei Ascend P7 running 4.4.2 with root access.

Thanks,

Gijs
[Google Chromecast] KostasR:
Thanks for the heads up. Since I don't have the SQLite Editor I uploaded the db in my laptop and edited it there. When I pushed it back to my phone with the correct permissions and rebooted, my phone was extremely slow and laggy, and couldn't load certain widgets etc. Fortunately when I edited it again to remove the values and pushed it back it instantly worked. Don't know why this happened ...
[Google Chromecast] Threesixty360:
Kindle Fire HD 7 Mirror CM11

Hey this tweak is fantastic! But sadly im having issues on my KF HD 7 running CM11-20140804 SNAPSHOT M9 TATE on teamwin recovery. So far I'm having the same issues as others have described including black screen and google play services crashing. If there was some type of fool proof guide to attempt all methods I would greatly appreciate it! I've also tried all versions of mirrorenabler and disabled any antivirus firewall programs that may prevent it from working smoothly.
[Google Chromecast] r3pwn:
I have the same issue on mine. Same version of CM and everything. In a few days, I am going to try to apply the fix to our device, since Hashcode just got picked up by Linaro to work on Project Ara.
[Google Chromecast] Threesixty360:
Hey, sounds like plan! Good luck man, I'm hoping you find this gremlin, I'll even donate to the cause once you've sussed it out pal :) Cheers

P.s: I know its not very relevant but Ive been using Allcast available on the playstore and I have to say, works a treat for streaming. Try it out!
[Google Chromecast] r3pwn:
I already have it and bought the premium version, too. I like it because I can use it with my Chromecast at my Mom's house and use it with the Samsung Smart TV at my Dad's house.
[Google Chromecast] KostasR:
Edit: As it turns out my gservices.db file is not working properly after the edit and I don't have the original to put it back. Now my phone completely crashes and now I m without a phone until I fix it. :( Can someone send me his gservices.db? How else can I fix it? What should I wipe to restore the original file? Thanks a lot in advance.:confused:
[Google Chromecast] runandhide05:
No body send your gservice.db contains private personal and device info!

Clear cache in recovery attempt to, 're install Google play services (Google how to install apks via adb. Preform a restore from a backup you hopefully made.

sent from space
[Google Chromecast] KostasR:
Luckily I remembered that dropbox keeps older versions of files and I managed to resurrect it :good::laugh: Can you please tell me the permissions of gservices.db and gservices.db-journal? Thanks for your help
[Google Chromecast] runandhide05:
See attached

sent from space
[Google Chromecast] r3pwn:
You have to chown and chgrp them as well, because they are 'private app files'. This is different for everyone, though.

To do that, run 'ls -na /data/data/com.google.android.gsf/databases' and you will see a number that is like 5 characters long and it will appear twice for all of the files. You will need to 'chgrp thatnumber *' and 'chown thatnumber *'. That's why I made the app, because manually doing it is a bit of a pain. ;)
[Google Chromecast] KostasR:
Thanks a lot. The mod didn't work for me but at least my phone is useable again... Unfortunately I 'll have to wait for google to make it widely available or a newer version of the mod that works better with my device :)
[Google Chromecast] hwong96:
Chromecast on Sale for $30 at Tiger Direct

Removed. See Chromecast PSA thread.
[Google Chromecast] shoeprano27:
T-Mobile Note 2, Dirty Unicorn 4.4.4, Agnes Kernel, PA mini gapps. This is the message I got. :(
[Google Chromecast] r3pwn:
You can try to use it anyways (Hit the okay button then hit the top enable button), but based on some research, it may not for you. If you try it and it doesn't work, ask your device maintainer (likely the person that made the thread for your ROM) and ask them nicely to implement the remote audio_submix file and link them to the first post. It has all the info a developer would need to implement this patch. :)
[Google Chromecast] brittoking:
I see the lg flex listed as being supported but nothing shows in the Chromecast app for me? There's still no "cast to TV" option. I'm rooted on kit Kat. Stock ROM (there's no Roms for the device on kk anyway haha). I enabled the app v5 clicked all the options but nothing shows up. Any help would be greatly appreciated! Thanks

Edit: I'm on ATT btw
[Google Chromecast] r3pwn:
This won't help your issue, but just a precaution, don't check the second option unless you need it.

Are you sure you have the latest Chromecast companion app?

EDIT: Wait, try v1. Then send me a PM or Hangout at (wickett06 at gmail dot com).
[Google Chromecast] brittoking:
Pm'd you! Thanks so much
[Google Chromecast] hwong96:
Check out this post

http://xdaforums.com/showpost.php?p=54367457&postcount=1106

---------- Post added at 09:45 AM ---------- Previous post was at 09:41 AM ----------

Check out this post

http://xdaforums.com/showpost.php?p=54367457&postcount=1106
[Google Chromecast] Gudders:
Hi,

Thanks for the link but that poster is referring to the TF701, which is a different tablet using Tegra 4 and has official kitkat update.

Leaving my TF700 on blank screen for a long time doesn't work. I have AppOps issues in my logcat and am working on a solution without much luck. Audio files are present in the Rom and relevant submix is there as far as I can see. I have tried different kernels and settings, removed ViperFX but still nothing. I need more time with it. Hoping it's not a driver problem!!

Gudders.
[Google Chromecast] tpuserhp:
Cast failed after ROM Upgrade

I am running Touchpad using Pacman rom of 4.4.4. The screen mirroring was ok until my ROM upgrade.Now I am getting Gogle Services stopped. I uninstalled and reinstalled mirrorenabler app but the probelm persists. I am including the logcat output and let me know if you find clues to the issue. Thanks. (Note: I removed last few lines from the output as it iwas too big for upload)
[Google Chromecast] hwong96:
For those who don't get force close errors but get a black screen, try switching to AC power using the included adapter. Your TV may not output enough mA through usb to satisfy the power requirements of the chromecast.

Here is another possibility for black screen when casting with chromecast

http://www.reddit.com/r/Chromecast/comments/21nz9h/changing_the_resolution_on_the_chromecast/ci1z3ul
[Google Chromecast] r3pwn:
It I noticed an AudioRecording error that said "Permission denied: Recording not allowed". Recently, CM pushed some changes regarding that in App Ops and assuming you are on the nightlies, you got those changes. Do you use App Ops?
[Google Chromecast] CounterC:
GPS force close

black screen on Chromecast. Im on Galaxy S2 running Markox89 latest CM11 (20140803).

Then disconnects.

GPS 5.0.89

Chromecast 1.7.4
[Google Chromecast] tpuserhp:
Thanks for the quick reply. I am not aware of APP OPS. So I don't use it. Could it be indirectly used by other apps like adaway?
[Google Chromecast] hwong96:
Reboot chromecast. Clear data and cache from Google play services and Google services framework. Reboot Touchpad. Start chromecast app.
[Google Chromecast] r3pwn:
No, not that I know of, at least... Have you tried reverting to the previous working nightly?
[Google Chromecast] tpuserhp:
I have not yet as I might to collect some doc for investigation. I'll check with the pacman ROM's support and see. Thanks for helping.
[Google Chromecast] shoeprano27:
darn it. it didnt work. i thought it did tho! thanks and i have put in that request yesterday. back to allcast i go for now!
[Google Chromecast] bhiga:
Direct casting of content via Allcast/Avia/whatever is generally better than screen casting anyway. Screen casting should only be used when the content appears on-screen only and can't be casted or Shared to a cast-enabled app.
[Google Chromecast] tomlang:
Exactly. When SlingPlayer becomes chromecastable, I won't be casting the screen very often.
[Google Chromecast] Gudders:
How do I do this?
[Google Chromecast] tpuserhp:
Chromecast Screen Mirroring failed

My Nexus 7 with CM11 latest nightly also gets the same recording permission error as touchpad. I went to back 0804 snapshot and my Nexus 7 is OK now. I will do the same for touchpad.
[Google Chromecast] r3pwn:
That's odd. I wonder if it's a permissions thing. There is nothing I can do on my end to fix it, but that's just weird.
[Google Chromecast] tpuserhp:
My touchpad went back to 0802 build and chromecast works. It's odd. I'm working with the pacman ROM support on my touchpad issue. Thanks.

---------- Post added at 04:54 PM ---------- Previous post was at 04:00 PM ----------

I found the following to be included in the next cm11 nightly which might fix the recording permission error:

Revert "appop: reimplement OP_RECORD_AUDIO op check in mediaserver"
[Google Chromecast] nicolahaye:
V5 works like a charm on my one xl (Evita) on PA 4.44 with the two first options enabled, I haven't had time to try a video yet but I'll edit tomorrow about that. I only noticed a slight lag but nothing big :) but anyway i just thought I'd let you know it works and thank you for your work I love my Chromecast even more now :)
[Google Chromecast] hwong96:
If you compile your own ROM, check the BoardConfig.mk file in /android/system/device and the config.xml file in /frameworks/base/core/res/res/values directory in the Linux computer you used to compile. Also check hardware_composer.h to determine the HAL version. HAL v1.2 and greater don't require gralloc buffers, but HAL v1.1 requires gralloc buffers. Most likely chromecast is using video buffering. Generally, low ram devices do not use dedicated video buffering since that will reduce available for system/programs.
[Google Chromecast] xyebo:
Not working on d950 lg g flex

Unfortunately after install and enabling, nothing appears in the chromecast app v.1.7.4 Please, advise if could help
[Google Chromecast] hwong96:
LGs are prone to not work with the mirrorenabler to enable cast screen. The workaround involves using sqlite editor to manually add the values to the Google framework services database. See this post

http://xdaforums.com/showpost.php?p=54371469&postcount=1115

If you are not comfortable manually making modifications, don't do it. You may mess up and end up with a nonfunctioning device.

Requirements: KitKat, Google play service 5.0.89, chromecast app 1.7.4, chromecast fw 17250 or higher. Also need the audio.r_submix.default lib installed in the ROM and r_submix section in audio_policy.conf file. See red hilighted text in post #1.
[Google Chromecast] CounterC:
[MENTION=4732871]r3pwn[/MENTION] Can you add Neatrom to the working ROMs for Galaxy S2 i9100 please? I just tested your mirrorenable hack with the latest Neatrom update http://xdaforums.com/galaxy-s2/development-derivatives/rom-i9100-aosp-neatrom-v5-8-t2603169 and it works like a charm!

Thanks a lot!
[Google Chromecast] tpuserhp:
Chromecast screen mirroring works for my touchpad and nexus 7 after I installed 0808 nightly for my nexus 7 and a test build for my touchpad. The recording permission error issue are now corrected. Thanks.
[Google Chromecast] tharmor:
Once basic question. If i am casting screen do i need to keep the screen on ? Or even if i close the screen casting will continue ?