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
4th March 2014, 04:30 PM |#41  
CNexus's Avatar
Senior Member
Flag ~/android
Thanks Meter: 14,053
 
Donate to Me
More
Quote:
Originally Posted by Venable

Could you please clarify what you mean by "unpack" in the OP? Do you mean just copy the .zip to the specified location? Copy the .zip there and then [do X]? Or something else, e.g. extract-all-files from the .zip on my PC and then copy those files to the specified location?

Sorry for what is probably a dumb question but I want to be careful.

Thanks.

Extract and move to the indicated location, overwriting existing files

Root required of course, as well as a root-capable file browser
 
 
14th March 2014, 05:20 AM |#42  
Senior Member
Thanks Meter: 16
 
More
Any fix available for i9500 on 4.4.2 ?

Sent from my GT-I9500 using XDA Premium 4 mobile app
14th March 2014, 02:44 PM |#43  
cjcelo's Avatar
Senior Member
Thanks Meter: 67
 
More
Hey
Please create for Xperia Z series rom
we give HDCP Not supported error on custom roms..
15th March 2014, 01:24 PM |#44  
Senior Member
Flag London, UK
Thanks Meter: 301
 
More
Quote:
Originally Posted by sorg

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.

Hi,
I tried to do the above for 4.4.2... I found and changed two of the three parts you changed in 4.3, but the third one is different. There are no separate references to HDCP2.0 and 2.1, but a general "HDCP2."
I'm not at all sure what needs changing here... I tried altering 14F0A from #6 to #0, the change that most closely matches what you did for the 4.3 cases, but no luck. Here is the bit in question:

Code:
.text:000140A8 ; ---------------------------------------------------------------------------
.text:000140A8
.text:000140A8 loc_140A8                               ; CODE XREF: MMCapability::setKeyValue(char *,char *)+F4j
.text:000140A8                 LDR.W           R1, =(aWfd_3d_video_f - 0x140B2)
.text:000140AC                 MOV             R0, R5  ; s1
.text:000140AE                 ADD             R1, PC  ; "wfd_3d_video_formats"
.text:000140B0                 BLX             strcmp
.text:000140B4                 CMP             R0, #0
.text:000140B6                 BEQ.W           loc_14526
.text:000140BA                 LDR.W           R1, =(aWfd_content_pr - 0x140C4)
.text:000140BE                 MOV             R0, R5  ; s1
.text:000140C0                 ADD             R1, PC  ; "wfd_content_protection"
.text:000140C2                 BLX             strcmp
.text:000140C6                 CMP             R0, #0
.text:000140C8                 BNE             loc_14154
.text:000140CA                 LDR.W           R1, =(aHdcp2_ - 0x140D4)
.text:000140CE                 MOV             R0, R6  ; haystack
.text:000140D0                 ADD             R1, PC  ; "HDCP2."
.text:000140D2                 BLX             strstr
.text:000140D6                 MOV             R5, R0
.text:000140D8                 CBZ             R0, loc_14114
.text:000140DA                 ADDS            R0, R6, #6 ; nptr
.text:000140DC                 LDR.W           R5, [R4,#0x200]
.text:000140E0                 BLX             atoi
.text:000140E4                 ADDS            R3, R0, #1
.text:000140E6                 MOVW            R0, #0x177D
.text:000140EA                 STRB.W          R3, [R5,#0x2A]
.text:000140EE                 BLX             GetLogMask
.text:000140F2                 LSLS            R0, R0, #0x1C
.text:000140F4                 BPL             loc_1412A
.text:000140F6                 LDR.W           R2, [R4,#0x200]
.text:000140FA                 MOVS            R0, #6
.text:000140FC                 LDR.W           R1, =(aMmcapability_c - 0x14108)
.text:00014100                 LDRB.W          R3, [R2,#0x2A]
.text:00014104                 ADD             R1, PC  ; "MMCapability_CPP"
.text:00014106                 LDR.W           R2, =(aWfd_cfg_parser - 0x14110)
.text:0001410A                 SUBS            R3, #1
.text:0001410C                 ADD             R2, PC  ; "wfd_cfg_parser->getSupportedHDCPVersion"...
.text:0001410E                 BLX             __android_log_print
.text:00014112                 B               loc_1412A
.text:00014114 ; ---------------------------------------------------------------------------
.text:00014114
Do you have any suggestions/advice?

Thanks a lot!
The Following User Says Thank You to Tyxerakias For This Useful Post: [ View ] Gift Tyxerakias Ad-Free
16th March 2014, 01:04 AM |#45  
OP Senior Member
Flag 台灣
Thanks Meter: 1,135
 
More
Quote:
Originally Posted by Tyxerakias

Do you have any suggestions/advice?

try to replace
Code:
.text:000140E4                 ADDS            R3, R0, #1
by
Code:
.text:000140E4                 MOVS            R3, #0
i'm still on 4.3 (and currently see no reason to upgrade. 4.4 brings only problem and nothing new) and not sure if it will help.
The Following 5 Users Say Thank You to sorg For This Useful Post: [ View ] Gift sorg Ad-Free
16th March 2014, 02:01 AM |#46  
Senior Member
Flag London, UK
Thanks Meter: 301
 
More
It worked Thank you!

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.
Attached Files
File Type: zip hdcpoff4.4.2_sd600.zip - [Click for QR Code] (63.1 KB, 939 views)
File Type: zip Screen_mirroring_I9505_KitKat_CWM.zip - [Click for QR Code] (303.9 KB, 1183 views)
The Following 32 Users Say Thank You to Tyxerakias For This Useful Post: [ View ] Gift Tyxerakias Ad-Free
16th March 2014, 04:16 AM |#47  
Senior Member
Thanks Meter: 1,881
 
More
Quote:
Originally Posted by Tyxerakias

It worked Thank you!

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

confirmed working on echoe V17, with a generic cheapo miracast adaptor.
16th March 2014, 06:14 AM |#48  
Senior Member
Thanks Meter: 3,104
 
More
Quote:
Originally Posted by Tyxerakias

It worked Thank you!

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.

Thanks

i will include this in my ROM for sure with credits
16th March 2014, 12:08 PM |#49  
Senior Member
Thanks Meter: 28
 
More
Do you think the same method could work (with slight modifications if needed) for galaxy note 3 4.4.2 octa?

Sent from my SM-N900 using Tapatalk
16th March 2014, 12:42 PM |#50  
gabrielgagz's Avatar
Senior Member
Thanks Meter: 57
 
Donate to Me
More
Quote:
Originally Posted by Razor29

Do you think the same method could work (with slight modifications if needed) for galaxy note 3 4.4.2 octa?

Sent from my SM-N900 using Tapatalk

Same question for i9500, thanks

Has sido Tapatalkeado
16th March 2014, 12:52 PM |#51  
Senior Member
Thanks Meter: 25
 
More
It is much more than that.

Amusing! Now I can control the mobile screen with the Tv remote as a mouse !!.

This is new for me. I guess it's new on kit Kat.

I own a LG LA860V series. The button is not working is back button.

Many thanks!

Enviado desde mi GT-I9505 mediante Tapatalk
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