FORUMS
Remove All Ads from XDA

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

1,046 posts
Thanks Meter: 1,135
 
By sorg, Senior Member on 23rd January 2014, 12:57 PM
Post Reply Email Thread
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.
Attached Files
File Type: zip hdcpoff_5410.zip - [Click for QR Code] (106.9 KB, 1696 views)
File Type: zip hdcpoff_sd600.zip - [Click for QR Code] (61.8 KB, 1787 views)
File Type: zip hdcpoff_sd800.zip - [Click for QR Code] (61.6 KB, 1029 views)
File Type: zip hdcpoff_5410_4.4.2.zip - [Click for QR Code] (92.2 KB, 1579 views)
File Type: zip hdcpoff_sd800_4.4.2.zip - [Click for QR Code] (92.0 KB, 1091 views)
File Type: zip hdcpoff_sd600_4.4.2.zip - [Click for QR Code] (62.8 KB, 2291 views)
File Type: zip hdcpoff_N9005_4.4.2.zip - [Click for QR Code] (92.2 KB, 1785 views)
The Following 92 Users Say Thank You to sorg For This Useful Post: [ View ] Gift sorg Ad-Free
 
 
24th January 2014, 12:02 AM |#2  
anderson79's Avatar
Senior Member
Thanks Meter: 326
 
More
Thank you

Enviado desde mi GT-I9500 mediante Tapatalk
24th January 2014, 03:37 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Thannks......

Sent from my GT-I9505 using Tapatalk
24th January 2014, 10:53 AM |#4  
Ryanrioz's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 50
 
More
Yahoo... is works on MY 9505..

THANKS MY MAN..

send my signature phone to XDA w bad grammars
24th January 2014, 11:29 AM |#5  
lahceneamine's Avatar
Senior Member
Flag Algiers
Thanks Meter: 255
 
More
Quote:
Originally Posted by sorg

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 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
3) reboot your device.

That's all!

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

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.

Thank you so much, I can confirm, it works on i9505 with ML6
The Following User Says Thank You to lahceneamine For This Useful Post: [ View ] Gift lahceneamine Ad-Free
24th January 2014, 12:50 PM |#6  
gyxter's Avatar
Senior Member
Flag Cebu
Thanks Meter: 123
 
Donate to Me
More
Has anybody tried this with NA5 kitkat?

Sent from my GT-I9505 using XDA Premium 4 mobile app
The Following User Says Thank You to gyxter For This Useful Post: [ View ] Gift gyxter Ad-Free
27th January 2014, 08:44 PM |#7  
mrniceguy1849's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 77
 
More
Finally search is over!!
Thanks a lot, it works on M919 with MK2
28th January 2014, 04:03 AM |#8  
CNexus's Avatar
Senior Member
Flag ~/android
Thanks Meter: 14,053
 
Donate to Me
More
@sorg could you provide the original libs for each version, or at least for both snapdragon patches? Would be appreciated so I can diff your changes and apply to my lib
28th January 2014, 04:24 AM |#9  
JoshBeach's Avatar
Inactive Recognized Developer
Flag Albany, NY
Thanks Meter: 31,789
 
Donate to Me
More
Thanks
Quote:
Originally Posted by CNexus

@sorg could you provide the original libs for each version, or at least for both snapdragon patches? Would be appreciated so I can diff your changes and apply to my lib

Agreed, Great Work OP. and Thanks!
The Following User Says Thank You to JoshBeach For This Useful Post: [ View ] Gift JoshBeach Ad-Free
28th January 2014, 10:40 AM |#10  
Junior Member
Flag opole
Thanks Meter: 0
 
More
finally! I9505 Omega rom confirmed. Works perfect! Thanku you so much
28th January 2014, 12:38 PM |#11  
studentjunk's Avatar
Senior Member
Thanks Meter: 201
 
More
Quote:
Originally Posted by CNexus

@sorg could you provide the original libs for each version, or at least for both snapdragon patches? Would be appreciated so I can diff your changes and apply to my lib

I don't think sorg likes to do that kind of stuff. Maybe he think's it's too easy. In any case, I got it started before going to work...

https://www.dropbox.com/s/dvgpy0c21r...lsharework.zip
The Following User Says Thank You to studentjunk For This Useful Post: [ View ] Gift studentjunk Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes