yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] Salamender:
Thanks !!

Can you create a tutorial for use Miracast ?
[Nexus 7 Android Development] ZenInsight:
Can anyone else confirm Miracast working on his 4.4 ROM mod?
[Nexus 7 Android Development] Salamender:
I try to flash tonight at 5~6h PM

×•× Nexus 4 ×•× Tapatalk ×•×
[Nexus 7 Android Development] bjcoenen:
I got miracast on the 4.4 rom to connect to my all share cast dongle nexus 7 2012 Wi-Fi (grouper) but i had to enable the checkbox to show wireless display info under settings-development. Everything was great until trying to stream a 720p hd video then it was skipping and lagging. And the camera doesn't work but that is a 4.4 issue. Other than that great work buddy and thank you!
[Nexus 7 Android Development] ZenInsight:
I have a Netgear PTV3000 and the Nexus 2012 ready to order. I will try this mod out on it when the tablet arrives.
[Nexus 7 Android Development] FunkyELF:
keyboard fix?

Does this have the issue where the keyboard pops up whenever you press the home button to go back into the launcher?
[Nexus 7 Android Development] bjcoenen:
Yes it does
[Nexus 7 Android Development] Salamender:
I don't understand how to use "Miracast for You" or my LG Tv is not compatible ... It's weird, screen mirroring work with my Nexus 4 or my GNote II :( My Tv said that my N7 is connected but i don't have the screen mirroring :(
[Nexus 7 Android Development] ssmr2t:
Screen display works for my N7 with allshare dongle.... I just cant get a gapps package working because goo.im is down. Does anyone have any external links to the file? Thank you.
[Nexus 7 Android Development] Salamender:
You have just activate the screen mirroring and select your dongle ?
[Nexus 7 Android Development] KidRock1986:
Confirm: Good for Nexus 7 (2012) 4.4.3. Tested by me :D. Thank you very much.
[Nexus 7 Android Development] Reiven89:
Hi, can someone provide me the exact link for to have miracast working on a grouper aosp 4.4.3 rom? Actually miracast work on 4.4.2 but after updating 4.4.3 and reflashing the file for 4.4.2 im stuck on starting apps, wiping doesnt work and i had to revert to 4.4.2. Thank you

EDIT JUST FINDED thanks
[Nexus 7 Android Development] gsmyth:
what did you use?
[Nexus 7 Android Development] Mr Groch:
I used tilapia zip for my grouper and miracast works fine! But I have other problem - I have restored system partition from my nandroid backup (backup before flashing miracast zip on 4.4.2) to get OTA, and then flashed 4.4.3 rooting package and 4.4.3 for tilapia miracast zip. Now I dont have mira4you app - I have tried removing it from system/app, reflashed again, mauall install also failed. I think that junks left after restoring 4.4.2 system backup, and now it can't be installed - please help, what must I do do cleanup system from old mira4you junks and get it working again
[Nexus 7 Android Development] lovesky37:
Can I try the CM11 pack on my phone, Sony Xperia P running CM11 4.4.3 ?
[Nexus 7 Android Development] gsmyth:
I think this is all for Nexus 7 (2012), so would definitely not recommend flashing it on your Sony Xperia.
[Nexus 7 Android Development] ChungHung.Chen:
Hi s107ken,

I have same question of Mira4U app using aosp-tilapia zip for Nexus 7 2012 WiFi (grouper).

Miracast is work but Mira4U didn't show in app drawer.

So I can't adjust Miracast settings for performance tunning.

Please help to solve this problem or tell us an alternative.

Thanks for your great job to bring Miracast back.
[Nexus 7 Android Development] Reiven89:
Miracast should be stock feature for our nexus 7 2012 and all custom roms should include it too...nexus 10 , nexus 4, nexus 5 and nexus 7 2013 have miracast on stock rom why google doesnt add this feature on nexus 7 2012 like other nexus devices? Thanks to the author of the topic
[Nexus 7 Android Development] s107ken:
Miracast uses Wifi Direct, Xperia P has Wifi Direct issue.

Xperia P didn't use Miracast.. :(

http://xdaforums.com/xperia-u/p-development/rom-cyanogenmod-11-0-t2626639
[Nexus 7 Android Development] judhin:
Miracast works on grouper cm11 kitkang builds! Thank you for your patches!

I had successfully connected to dlink dhd 131. There are some problems with lagging and freezing video, but audio streaming is pretty OK.
[Nexus 7 Android Development] remmyhi:
Have the same problem. Unfortunately.

Tried many ways of installing the Mira4U apk and failed every time.

Is there an alternative to set the output settings?

Its seems very choppy and have a huge delay on Grouper Wifi 16gb 2012
[Nexus 7 Android Development] s107ken:
this may help you...

(uninstall app file by manually)

$ adb root
$ adb remount
$ adb shell rm /system/app/Mira4U.apk
[Nexus 7 Android Development] Mr Groch:
Sorry, doesn't help... After manually removing this from /system/app - still can't be manually installed, and after reflash - still mira4you didn't appear in app launcher...
[Nexus 7 Android Development] s107ken:
okay, next, plz show(attach) logcat on device booting.
[Nexus 7 Android Development] Mr Groch:
There you have (i see that there are problems with user signatures, but don't know how to fix that...)

Thanks for help :)
[Nexus 7 Android Development] s107ken:
chromecast gets mirroring?

http://phandroid.com/2014/06/25/new-chromecast-features/
[Nexus 7 Android Development] ZenInsight:
There may be a good chance with Android L (5.0) and Chromecast for mirroring as mentioned in Google I/O conference.
[Nexus 7 Android Development] remmyhi:
Just to let you know that my n7 2012 with 4.4.4 starter to swe my TV (panasonic dt60) out od the box.

But it worka very choppy...
[Nexus 7 Android Development] s107ken:
0. /data/system/packages.* permission and owner info (reference)

# ls -l /data/system/packages.*
-rw-rw---- system package_info 12829 2014-06-28 06:59 packages.list
-rw-rw---- system system 268247 2014-06-28 06:59 packages.xml

1. delete Mira4U section in /data/system/packages.xml by manually

edit packages.xml on root editor or PC

http://xdaforums.com/attachment.php?attachmentid=2821354&stc=1&d=1403914897

restore permission and owner settings if changed

# chown system:system packages.xml
# chmod 660 packages.xml

2. reboot recovery, flash update.zip, ...

what happen?

(3. option - delete Mira4U section in /data/system/packages.list by manually)

if didn't solved problem, additional operation may required.

"packages.list" file also contains installed app info, so delete this.

before

...
jp.ad.iij.couponswitch 10073 0 /data/data/jp.ad.iij.couponswitch default 3003
com.example.mira4u 1000 0 /data/data/com.example.mira4u platform 3003,1028,1015,3002,3001
com.magicwach.rdefense_free 10093 0 /data/data/com.magicwach.rdefense_free default 1028,1015
...

after

...
jp.ad.iij.couponswitch 10073 0 /data/data/jp.ad.iij.couponswitch default 3003
com.magicwach.rdefense_free 10093 0 /data/data/com.magicwach.rdefense_free default 1028,1015
...

restore permission and owner settings if changed

# chown system:package_info packages.list
# chmod 660 packages.list
[Nexus 7 Android Development] ChungHung.Chen:
Hi,

Can I use 4.4.3 zip in newest 4.4.4?

( Stock grouper 4.4.4 )
[Nexus 7 Android Development] costinilie:
4.4.3 patch DON`T work on 4.4.4 stock or cyanogen. After patch, tablet freez at "Starting apps":(

Now I wait for a fix.
[Nexus 7 Android Development] s107ken:
for 4.4.4

tested this zip with tilapia stock 444, working :)

EDIT1:

20140630_mira03_aosp444r1_generic-update-signed.zip

reported worked devices: tilapia, grouper

20140703_mira03_CM11_tilapia-update-signed.zip

reported worked devices: tilapia(cm-11-20140702-NIGHTLY-tilapia.zip)
[Nexus 7 Android Development] gsmyth:
Would that work with grouper stock 444 also?
[Nexus 7 Android Development] RavinShubh:
It would me much appreciated if there is a flashable zip for cm 11 m7 and all future stable versions.thank you.
[Nexus 7 Android Development] jimbobtexas:
It's sorta working on my Grouper 444. I've gotten it to display, but it's disconnecting. I'm still fiddling with settings, so I'll update later.
[Nexus 7 Android Development] ChungHung.Chen:
Does Mira4U app show in app drawer? Mime is grouper 4.4.4 too.

If not, which app you use for change Miracast settings?

Thanks.
[Nexus 7 Android Development] jimbobtexas:
Yes, there's an Android icon titled "Miracast for You." I assume that's the same app, yes?
[Nexus 7 Android Development] ChungHung.Chen:
Yes, I got it. Thanks for your information!
[Nexus 7 Android Development] costinilie:
Thank you for this update. Maybe its working on stock fw, but on CM fw...same problem, freez at starting apps..:confused:
[Nexus 7 Android Development] s107ken:
what's your CM version(file name)?
[Nexus 7 Android Development] RavinShubh:
I'm having the same issues with cm grouper. I suggest making them for the stable versions. Btw is there any noon friendly guide where we can insert your patch instead of troubling you. Thank you
[Nexus 7 Android Development] ChungHung.Chen:
This zip is for AOSP (Google stock), not for CM.

Please don't use this zip in CM-base ROM.
[Nexus 7 Android Development] s107ken:
for latest CM...

http://xdaforums.com/showpost.php?p=53782717&postcount=202
[Nexus 7 Android Development] s107ken:
this problem is a binary mismatch.

solution on this:

1. every day repo sync, rebuild, make flashable (replace binary files)

2. proceed with CM commit http://review.cyanogenmod.org/#/c/61247/

3. try another custom rom supported this code

4. develop Mira app for independent specific binary
[Nexus 7 Android Development] costinilie:
Man...you save my day! Thank you so mutch
[Nexus 7 Android Development] ThinkAlot:
Will this work with Samsung allshare cast dongle?
[Nexus 7 Android Development] biondi53:
It didnt work on grouper with unofficial liquidsmooth (AOSP 4.4.4 based) and F2FS file system, perhaps F2FS isnt compatible.

Freezes at "Starting Applications" after flash, wipe cache/dalvik and reboot.

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 7 Android Development] gk1984:
Not tested that I'm aware of but don't assume it will. This does enable miracast, which is a standard, but Samsung also likes to be proprietary just like Apple - even though allshare is miracast or at least based on it.

Basically, not sure but remember Sammy's business practices
[Nexus 7 Android Development] ahmedsalah83:
Now screen mirroring on grouper works with chromecast ... check the thread

http://xdaforums.com/hardware-hacking/chromecast/experimental-enable-mirroring-device-t2812193
[Nexus 7 Android Development] gk1984:
I tried it out last night and it works pretty well. Some noticeable lag but not too bad. Too much for gaming.
[Nexus 7 Android Development] s107ken:
factory ktu84p already supported mirroring?

flash factory, connect AP same as Chromecast, Cast screen under Display, Chromecast is hear, connect and mirroring worked..

no root, no Chromecast app... :confused:
[Nexus 7 Android Development] costinilie:
What type of device do you use? I am mostly shure its not working on Nexus 7 v1
[Nexus 7 Android Development] s107ken:
but working on my device..

Chromecast: 17250

Nexus 7 2012 3G(tilapia): factory KTU84P, nothing modify

WWW - Wireless AP - Cromecast
- N7

Android

http://xdaforums.com/attachment.php?attachmentid=2865794&stc=1&d=1406069630

Chromecast

http://xdaforums.com/attachment.php?attachmentid=2865796&stc=1&d=1406069630

Cast screen

http://xdaforums.com/attachment.php?attachmentid=2865795&stc=1&d=1406069630

game

http://xdaforums.com/attachment.php?attachmentid=2865793&stc=1&d=1406069630
[Nexus 7 Android Development] gk1984:
FYI for anyone wanting to mirror to Chromecast and can't enable it - http://xdaforums.com/showthread.php?t=2812193
[Nexus 7 Android Development] -Zeta-:
worked like a charm on my 4.4.4 stock N7(2012) Wi-Fi:laugh::laugh::laugh::laugh:
[Nexus 7 Android Development] riulian83:
Screen mirroring and internet connection in the same time

Hi,

For me the screen mirroring doesn't work if my tablet is connected to the internet. If I have the screen mirroring working and I connect the tablet to my router, then the screen mirroring stops and doesn't want to connect again. When I'm not connected to the internet the screen mirroring works perfect. I had the same problem some months ago when I had installed the stock rom and I tried this patch. Now I have CM11 M9 and it's the same. In both situations I had the correct patch installed. Is this a limitation of the patch or I need to do additional settings in order to have both in the same time (miracast and internet connection)? I'm using Samsung All Share cast dongle for screen mirroring.

Thanks!
[Nexus 7 Android Development] gk1984:
Just a shot in the dark but are you using this at home or office/work? I saw this behavior at the University I work for with a phone that supports miracast already - no patch. There can be network settings that can conflict apparently but not sure what it is.

It can also be the WiFi channel you're using.
[Nexus 7 Android Development] riulian83:
I'm using it at home (sometimes), but I've managed to solve the problem meanwhile. You were right, the cause was the WiFi channel. :beer: In developer options I've enabled the Wireless display certification and then in the cast screen menu I saw that only 3 channels can be selected (1, 6 and 11 - I didn't know this), but my router used channel 13. I've changed my router channel to 6 and bang, screen mirroring works while I'm connected to the internet. :)

Thank you!

Sent from my Nexus 7
[Nexus 7 Android Development] melp57:
I have wifi display option on my Droid Maxx, can I get that on my N7?
[Nexus 7 Android Development] s107ken:
lollipoppp

permission denied happen when reading /data/data/com.example.mira4u/shared_prefs/ file from native layer(wifi-display main source code in stagefright) on lollipop :confused:

how to solve this?

/data/local/tmp ?

build.prop ?

okay, googling...
[Nexus 7 Android Development] s107ken:
miracast patches update for lollipop.

build target: generic arm devices

tested: Nexus 10(LRX21P, LRX22C), Nexus4(LRX21T), Nexus 7 2012 Wi-Fi(LRX21P)

function: source(sender) only. because sink(receiver) required custom ROM package.

maybe working... need your test! ;)

EDIT1(11/16): remove first attachment, because Mira4U app launch error happened...
[Nexus 7 Android Development] gorko122:
Is this package for Nexus 7 (2012, WiFi) "grouper" too or do I need a separate package for this device and Stock ROM?
[Nexus 7 Android Development] Vioner:
[MENTION=5202125]s107ken[/MENTION]

You said it's tested with Nexus 4. I can't connect to my TV as no PIN KEYPAD appears - TV gives me a PIN-pairing code to enter in the phone.

Details about my issue are HERE - please look at them.
[Nexus 7 Android Development] petenatas:
You have to use the Chromecast app to enter the pin
[Nexus 7 Android Development] saveoil1982:
I can use your patch with grouper android 5.02, link with asus miracast. The intra microblock must be checked. Thank You!
[Nexus 7 Android Development] frgo:
I have no luck with my philips tv. I can se the tv on my nexus but then nothing happens, just time out after a minute. Tv works fine with samsung s4. Any ideas?
[Nexus 7 Android Development] saveoil1982:
http://youtu.be/FPkDIppXLHo

[YOUTUBE]http://youtu.be/FPkDIppXLHo[/YOUTUBE]
[Nexus 7 Android Development] gorko122:
which file did you flash on your grouper on 5.0.2?
[Nexus 7 Android Development] saveoil1982:
http://xdaforums.com/showpost.php?p=56702305&postcount=232

flash it on NRT, wipe cache only :)
[Nexus 7 Android Development] Vioner:
No Sir, Chromecast app is not Cast screen - it's absolutely different thing. I don't have a Chromecast dongle. The TV itself comes with WiDi (fully Miracast compatible).
[Nexus 7 Android Development] estape11:
Don't work for me in N7 2012 5.0.2, never connect with miracast (tronsmart t1000)

Enviado desde mi XT1063
[Nexus 7 Android Development] s107ken:
I found Miracast receiver app.

It's amazing.. :D

https://play.google.com/store/apps/details?id=com.playwfd.miracastplayer
[Nexus 7 Android Development] phoenix0_4:
Thank you very much for the Nexus 7 (2012)-update!

Now I can use it with the Microsoft Wireless Display Adapter (on Android 5.0.2). :) (I had to "Disable intra macroblock refresh".)
[Nexus 7 Android Development] Bert98:
Don't mind me, I'm just a random post
[Nexus 7 Android Development] phoenix0_4:
I tried using the miracast patch for N7 5.0.0 with the new 5.1-stock-rom.

Connecting to miracast receiver works normally, but disconnecting results in freezing my Nexus7 (2012 wifi).

I'm hoping for some workaround of a new patch...

BTW, I would say, that with the new Android5.1, the miracast-function seems more fluid than before.
[Nexus 7 Android Development] riulian83:
Same issue for me, it freezes on disconnect.
[Nexus 7 Android Development] Bert98:
Hi guys

Other than the above mentioned freezing on disconnect issue on my Nexus 7, I can't seem to be able to output the sound from my Moto G to my TV, only the video

Android 5.1 on both, any fix?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Nexus 7 Android Development] s107ken:
short report of marshmallow Miracast implementation

Hi, looong time no see ;)

devices definition

(default) config_enableWifiDisplay = false

https://android.googlesource.com/pl...-6.0.0_r1/core/res/res/values/config.xml#1726

N6 not defined config_enableWifiDisplay

https://android.googlesource.com/de...rameworks/base/core/res/res/values/config.xml

N9 not defined config_enableWifiDisplay

https://android.googlesource.com/de...rameworks/base/core/res/res/values/config.xml

cf) N5 defined config_enableWifiDisplay = true

https://android.googlesource.com/de...works/base/core/res/res/values/config.xml#218

cf2) N7 2012 not defined config_enableWifiDisplay (not yet merged)

https://android.googlesource.com/device/asus/grouper/

build.prop hack

"persist.debug.wfd.enable=1" still alive!

https://android.googlesource.com/pl...server/display/DisplayManagerService.java#120

https://android.googlesource.com/pl...server/display/DisplayManagerService.java#633

implementation

a few changes from l to m, it's not related to stability.

https://android.googlesource.com/pl...id-6.0.0_r1/media/libstagefright/wifi-display

flashable zip

N9 6.0.0 couldn't compatible 20141113_mira03_AOSP500r2_generic-arm-signed.zip, boot-loop happened.

---

2015/11/4 - add N5X and N6P

N5X not defined config_enableWifiDisplay

https://android.googlesource.com/de...rameworks/base/core/res/res/values/config.xml

N6P not defined config_enableWifiDisplay

https://android.googlesource.com/de...rameworks/base/core/res/res/values/config.xml

in latest Nexus smartphones, only N5 defined config_enableWifiDisplay = true

other devices N5X, N6 and N6P didn't supported Miracast in stock ROM :crying:

alphabet "a" is evil?
[Nexus 7 Android Development] m.morcielago:
I want it for nexus 5 with lollipop or marshmallow

Please help me.

I wanna sell my n5 because this problem

---------- Post added at 10:24 AM ---------- Previous post was at 10:10 AM ----------

What can I do with this codes?

I really want to fix this problem
[Nexus 7 Android Development] m.morcielago:
Please help meeeee

Please give me a flash able zip for lollipop for nexus 5

I bought a Mibox exclusive for miracast,but my nexus 5 cannot connect to it.
[Nexus 7 Android Development] motorazrv3:
Blame on nexus 5 thread.

Nexus 5 is getting official support from Google for Android 6. So what do you want?
[Nexus 7 Android Development] m.morcielago:
I want flash able patch for fixing miracast problem on my nexus 5
[Nexus 7 Android Development] luke76bg:
just to understand correctly, this can solve wifi direct not working on cm11 s3 ? With a ported patch of course. I'm using resurrection remix rom and wifi direct is not working in a lot of cm11 roms...
[Nexus 7 Android Development] miko12312:
20140110_mira02_CM11_tilapia-update-signed.zip

Flashed this over cm11 on grouper and get bootloop can you lead me in the direction to make this work for 4.4.4 or 5.0.2 on nexus 7 WiFi 2012 grouper
[Nexus 7 Android Development] miko12312:
Confirmed working on Asus nexus 7 grouper using 4.4.2 ROM and using WiFi direct
[Nexus 7 Android Development] sci05:
I know this is an old thread, but any chance to update for android 5.1? i see you patched for 5.0. Currently using CM12, but their miracast implemenation is broken. Hoping that a patch from you could fix it.
[Nexus 7 Android Development] s107ken:
20141115_mira03_AOSP500r2_generic-arm-signed.zip

http://xdaforums.com/showpost.php?p=56702305&postcount=232

this file works for N7 2012(3G tilapia) LMY47V(5.1.1)
[Nexus 7 Android Development] sci05:
Thanks. I was thinking of using it but wanted to confirm first. Your mod is amazing thanks!
[Nexus 7 Android Development] s107ken:
Android NORI still has build.prop persist.debug.wfd.enable hack.

https://android.googlesource.com/pl...server/display/DisplayManagerService.java#647

NORI　海苔

https://www.google.co.jp/search?q=海...IKYKHecZAecQ_AUIBygB&biw=1083&bih=732&dpr=0.9
[Nexus 7 Android Development] midi_1996:
Wow! this thing looks promising, do you intend to make it avail for all devices with Miracast support? I have an S5 and im on MM (and stock 5.0, dualbooting), is there any way to make it work on MM? I found some apps on the Play Store doing the same work but they are too limited.

Thanks :)
[Nexus 7 Android Development] myduos:
I couldnt comprehend. I have a nexus 7 2012 wifi, and i want to mirror my s5 marshmallow to it. Does the nexus need to be rooted? Dont we have an apk app just for the mirroring to work?
[Nexus 7 Android Development] s107ken:
"Miracast for You" app is an additional option app, so don't need this app for standard way.

in a standard miracast way, android setting app -> display -> Wireless Display, search display(sink adapter or TV) and connect(select), then P2P connection, start display mirroring.

could you take adb logcat?

---

BTW, i'm building to target maguro(Galaxy Nexus GSM), build, flash and boot was success, but wifi disabled.

/data/misc/wifi/ipconfig.txt not found??

hmm :what:
[Nexus 7 Android Development] Salamender:
Thanks for precision.

I give you my logcat tomorow :)

Keyboard pop when the back button is pressed and the auto rotate does not work

Can you resolve this two bug ?
[Nexus 7 Android Development] s107ken:
i'll fix these bugs if possible...

rotation: occurred.

keyboard popup: didn't happen my 3G model when back or home key pressed.

camera: not yet tried. what's happen? how to operate?

---

maguro, couldn't swim..
[Nexus 7 Android Development] Salamender:
My logcat.
[Nexus 7 Android Development] s107ken:
confirmed log,

your N7 and TV p2p connection succeed,

in next, RTSP connection starting usually but not started this log, timed out happen.

android standard timed out time = 15 seconds.

so my patch provide additional option for this problem.

open "Miracast for You"

check off "Disable Log Output" for more debug log info

check on "Extent Timeout Time" timeout extends 15 -> 30 seconds.

other options are no related this.

could you try this option change?
[Nexus 7 Android Development] Salamender:
I have tested and it's the same, i give you my new logcat and some pictures.
[Nexus 7 Android Development] s107ken:
umm, timeout happen again...

the last way,

settings app -> about phone -> build number, tap, tap, and tap, show developer options

settings app -> developer options -> wireless display certification checked

try wireless display...

in wireless display certification checked state, connection timeout extends 15 secs -> 120 secs.
[Nexus 7 Android Development] ssmr2t:
yes, i also have to press the reset/ connect button on the back of my allshare- The Led turns blue, then it syncs.
[Nexus 7 Android Development] musicazx:
Tested with a Chinese dongle called "Wifi Display Link X" (I think it looks pretty similar to the Q-WH-D1)

Connection succeeded but then freeze after like 5 seconds.

It's quite laggy during that 5 secs ? I think it's because of the cheap Chinese dongle or my device (Grouper) ? I've also tried it on your 4.2.2 version and it laggy.

Anyways, great work, keep it up :good: Thanks
[Nexus 7 Android Development] Salamender:
I don't have 15 secs to 120 secs just 15 to 30 ...

Envoyé de mon Nexus 4 en utilisant Tapatalk