AllShareCast/ScreenMirror fix for custom ROMs (I9500, I9505, I9506, E330, N9005)

Search This thread

Dr.Love

Senior Member
Sep 13, 2006
152
150
Worked like a charm on I9500 4.4.2 rom with newest Omega v23 kernel. Connected successfully to Sony Bravia KDL-50W704A. Many thanks to @sorg.
d016e27bf89033db734178be74c2e760.jpg

8c33c1528462dbdd68313165a40c76b4.jpg
 

sorg

Senior Member
Sep 5, 2006
1,059
1,136
台灣

Attachments

  • hdcpoff_N9005_4.4.2.zip
    92.2 KB · Views: 823

tr72

Senior Member
Jul 8, 2007
545
419

Thanks a lot. I'm on N9005, It's working on custom rom with custom kernel. A big thanks. I was continuously switching between custom kernel for battery and stock one when I needed screen mirroring.
Didn't need to switch now. A big thanks

Sent from Tapatalk
 
  • Like
Reactions: Kal-El7

btemtd

Senior Member
Aug 8, 2012
2,052
1,002
anyone have this solution for S5?

Very interesting,

So I grabbed the S800 Version as it was the closest to the S5 S801 I replaced the the file, First it reboot when I started Screen mirroring, then I tried it again and guess what? This time it actually worked and it mirrored my device onto the TV and then I see FC >> Allshare cast S/W Update
This is the update that is in the playstore, which gets updated automatically., Funny enough it was still mirroring even though it FC the allshare cast dongle update.

Anyway I can tell it doesnt work 100% so I removed it again. It is obviously for the S800 I9506 Not The S5 SM-G900

I think we are very close to solving this problem for the S5 If we can somehow port this file to a S801 Version then I bet you Screen mirror will work.

Here is the File which was created for the S4 - I9506 S800 ---- http://xdaforums.com/atta...7&d=1409380066 In this Thread OP

If someone with some skills can help me make it for the S5 I dont think it should be that hard with the right tools and for someone who knows what his doing..

Here is the S5 S805 Version https://www.dropbox.com/s/bpqtkskqcc...ht_wfd.so?dl=0

It will be greatly appreciated if someone was able to do it.
 
Last edited:

sonic9

Senior Member
Oct 21, 2009
123
12
WOW ! works perfect... with PrismBareboneROM...

Thanks a lot for update 4.4.2

(just had a reboot at first try)

Sent from my GT-I9500 using XDA Free mobile app
 

ThinkAlot

Senior Member
Jun 24, 2013
69
20
I can confirm this works perfectly on note 3 n9005. With most 4.4.2 roms. Also works on s5 ported roms as well.
 

btemtd

Senior Member
Aug 8, 2012
2,052
1,002

sonic9

Senior Member
Oct 21, 2009
123
12
I don't use allcast dongle.
in PrismBareboneROM for S4 there is no allshare apks at all, i use only Screen Mirroring from Settings with a LG TV compatible miracast.

Sent from my GT-I9500 using XDA Free mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 92
    This fix is for those who like to use AllShareCast/ScreenMirrorwhile on custom ROM (i.e. custom flag is set).

    Disclamer: You apply the fix at your own risk. I'm not responsible for any software or hardware damage it can lead. The only thing i can assure is that i've tested fix on my I9500 and I9506 devices and they work fine.

    Disclamer 2: I don't provide any technical support for my fixes through PM. So, please don't write PM about porting it to other ROM versions or other devices. I share what i'm doing for myself and have no intention to port it to devices i don't have.

    This fix is not really fixes the problem, but turns off HDCP protection. So, the video signal will go to HDMI in clear(unprotected) form. As a side effect, this fix also will be useful for those, who has non-HDCP TV and thus cannot use Screen Mirror function.

    I've made versions for 3 different SoCs, thus it should be compatible with almost full range of Samsung top devices:

    • Exynos 5410 for GT-I9500 Android 4.3 ROM MJ8
    • Snapdragon 600 for GT-I9505 Android 4.3 ROM MK8
    • Snapdragon 800 for GT-I9506(SHV-E330S/K/T) Android 4.3 ML5, SM-N9005 (and other SD800 versions of Note 3)

    To install the fix, your device should be rooted!
    You need to use file explorer which is able to write to /system partition. I recommend to use Root Explorer.
    1) Open /system partition with write access ("mount R/W" button in Root Explorer)
    2) Unpack following archive to specified folder:

    for Android v4.3:

    • for Exynos 5410: unpack hdcpoff_5410.zip to /system/lib
    • for Snapdragon 600: unpack hdcpoff_sd600.zip to /system/lib
    • for Snapdragon 800: unpack hdcpoff_sd800.zip to /system/vendor/lib

    for Android v4.4.2:


    • for Exynos 5410: unpack hdcpoff_5410_4.4.2.zip to /system/lib
    • for Snapdragon 600: unpack hdcpoff_sd600_4.4.2.zip to /system/lib
    • for Snapdragon 800: unpack hdcpoff_sd800_4.4.2.zip to /system/lib (not really required. HDCP should work fine on custom ROMS 4.4.2)
    3) reboot your device.

    That's all!

    I didn't test my fix neither on I9505 nor N9005, but in theory it should work.

    Update (30/Aug/2014):
    I've added Android 4.4.2 HDCP OFF version for I9500 (I9500XXUGNG3), for I9505 (I9505XXUGNG8). It should work on any 4.4.2 ROM.

    About Snapdragon 800 version (i9506, E330S, Note 3 Qualcomm version): it's funny, but my E330S (with old 4.2.2 bootloader and I9506 4.4.2 system) works without any fix. It uses HDCP although my kernel and system are custom with a lot of bloatware (including KNOX) removed. It works with both Samsung AllShareCast and Netgear PTV3000.
    I've uploaded patched lib for SD800 (I9506XXUCNG3) for any case (unpack to /system/lib).

    Update 2:
    added N9005 4.4.2 version. You can try it on other N900x models as well (SD800 only!).

    For Galaxy S5 (SM-G900 not sure Exynos or Qualcomm) look here (not tested by me)
    For generic Exynos solution look here (not tested by me)


    P.S.: If you are skilled enough, then you can port this fix to other version of ROM. Quick hint: Disassemble my fix and original file in IDA Pro, then compare listing to find the difference. And then, using some keywords near modified part, you can locate required places in the new version.
    Generally, the versions I provide should work in any ROM within the same Android version.
    32
    It worked :) Thank you! :highfive:

    I attach it for everyone interested.
    This works for the I9505 on 4.4.2 KitKat, just copy in /system/lib and set the permissions to 644 (rw-r--r--).

    Alternatively, for convenience, I also attach a .zip to flash with custom recovery.
    10
    I plan to update the mod to KK (if it will be possible) approximately in the mid of March (when i will move to KK).

    Others are welcome to port it to KK and post here if they will do this before me.
    8
    EXYNOS 4.4.2 fix...works on qulacolm also

    no solution for sm-n900 note 3 exynos ?

    Attn all exynos users...simply add the line wlan.wfd.hdcp=disable to the bottom of your build prop & reboot then u should have working screen mirror with custom kernel and/or recovery. This is not my finding but I have personally tested on my tab S...not sure of the original source of this info so please thk @esgie
    7
    I replaced the lib in my N9005 SD800 with android 4.4.2 but screen mirroring is not working. When i try to connect to my tv, the phone reboot itself. I attached the original lib here https://www.dropbox.com/s/ekfrblciynr4ncb/N9005_libstagefright_wfd.so.zip?dl=0

    Try attached one.