yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Developer Discussion [Developers-Only]] zexbig:
Since this is very hot topic for all of us I would like to ask one simple question:

Did anybody find way how to fix this issue on qualcomm based devices (GT-i9505)?

If answer is yes, please provide us with steps.

Most of us are currently runing 4.3 on our GT-I9505 and it's really annoying that we can't use this function.

Thank You.
[Galaxy S 4 Developer Discussion [Developers-Only]] SherlockHolmes2013:
I ordered the Tronsmart T-1000 Microcast stick, and I am running Omega V19 4.3

When I receive it I will try it, I have already hacked the lib file. so just waiting for the device.
[Galaxy S 4 Developer Discussion [Developers-Only]] studentjunk:
OK. I tried following the instruction on the mk2 note 3 file posted above. The file is too different from the source for me to figure out the changes. Sorry to disappoint, but it seems to be above my head too.
[Galaxy S 4 Developer Discussion [Developers-Only]] zexbig:
Can You send me modified libs, I'm able/willing to test it on my setup immediately!
[Galaxy S 4 Developer Discussion [Developers-Only]] SherlockHolmes2013:
The modified libs are on this thread to download.
[Galaxy S 4 Developer Discussion [Developers-Only]] zexbig:
Correct me if I'm wrong but all files in this thread are related to Exynos version (GT-I9500) of S4?

I have EU version (GT-I9505) which is based on Qualcom Snapdragon.
[Galaxy S 4 Developer Discussion [Developers-Only]] SherlockHolmes2013:
ohhh, I didn't know that. Okay I can't test anything until I get the device, I ordered it from Chinese factory, and sometimes it takes 3 weeks to get it but its only 22 Euros,\

I can't do anything until I receive it,

I am first going to try with this ROM and if it doesn't work , I am going to go back to Stock Rom and try it,

Cheers
[Galaxy S 4 Developer Discussion [Developers-Only]] kefallo:
Please help us,

Sincerely,

Exynos Note 3 Users :fingers-crossed:
[Galaxy S 4 Developer Discussion [Developers-Only]] SherlockHolmes2013:
This is the device I have ordered

http://www.youtube.com/watch?v=loDi34vbqeE
[Galaxy S 4 Developer Discussion [Developers-Only]] zexbig:
I have flashed pre-rooted stock rom from DjeMBeY http://xdaforums.com/showthread.php?t=2250824 and reseted flash counter with triangle away and now all share works on my GT-I9505 device.

Edit: Samsung Smart TV app https://play.google.com/store/apps/details?id=com.sec.smartview.tz now also works and I'm able to watch video from TV on my GT-I9505.
[Galaxy S 4 Developer Discussion [Developers-Only]] lokidokie:
I have a Galaxy Note 3 (SM-N9005) with ML2 firmware.

And a Galaxy Note 10.1 2014 LTE (SM-P605) with MJ6 firmware.

Both obviously rooted, and with broken screen mirroring.

When I try to screen mirror, it finds it, connects, but then immediately pops up saying "screen mirroring has been disabled" and disconnects.

Do I need a patched libWFD_ENGINE.so file that is specifically for my firmware?

Does anyone have one for either of my devices?

Or... can explain how to do it myself?
[Galaxy S 4 Developer Discussion [Developers-Only]] PIRATA!:
Is this only for GMJ9 roms??

Must do the trick for each new base rom??

EDIT: the original file in here is the same (same md5 code) from GMK6 (my last custom rom uses this version of Sammy base rom), so I assume that this modded one should be good so far for it.
[Galaxy S 4 Developer Discussion [Developers-Only]] jj92942000:
Worked on MJ9, ML2 and now ML4.
[Galaxy S 4 Developer Discussion [Developers-Only]] svfreddy:
anybody find a work-around for the sprint s3 4.3?

not sure if the s3 file in the OP would apply?
[Galaxy S 4 Developer Discussion [Developers-Only]] polobunny:
They don't apply. Different architectures. You'll need it to patch it yourself.
[Galaxy S 4 Developer Discussion [Developers-Only]] CNexus:
Unfortunately this file does not exist on the Sprint S3 or I would have attempted to patch it already
[Galaxy S 4 Developer Discussion [Developers-Only]] polobunny:
Is this a TW rom?
[Galaxy S 4 Developer Discussion [Developers-Only]] CNexus:
of course
[Galaxy S 4 Developer Discussion [Developers-Only]] kylewismith:
Is this working on the gti9505
[Galaxy S 4 Developer Discussion [Developers-Only]] saurik:
This is wrong: you can hook anything you can find, using MSHookFunction. Substrate itself uses MSHookFunction to hook "internal lib functions" of Dalvik in order to implement the Java-level hooks. I would really love to know how you got the impression that Substrate could only JNI functions. It is true that it can be quite difficult to hook things for which there isn't even a private symbol, but C++ projects tend to be littered with symbols, both private and public. If you really don't have a symbol, you can still do some static analysis to find the function. I have in fact in the past released Substrate extensions that hooked *into the middle of a switch statement*, hooking individual cases, using MSHookFunction as a building block. However, in the case of libWFD_ENGINE.so, I just found a copy and as expected virtually the entire contents are exported.
[Galaxy S 4 Developer Discussion [Developers-Only]] saurik:
Apparently, you should have read the docs, as that guy was wrong: Substrate, in fact, can hook C++ code quite easily. :(
[Galaxy S 4 Developer Discussion [Developers-Only]] sorg:
The time i wrote that, substrate was almost unknown except some small group of people. There was no good documentation.

Now you started to promote it on XDA and shed some light what is it. Although your comparison to xposed isn't always true (like inability to call original function directly from hook), but at least now we have some kind of picture what it is.

Would be good, if you would make universal libWFD_ENGINE.so patch at least for demonstration purpose of substrate usage.
[Galaxy S 4 Developer Discussion [Developers-Only]] CNexus:
Unfortunately those posts only give an indication of the files that *might* be the equivalent of libWFD_ENGINE.so in Qualcomm devices, not the name of the actual file

If [MENTION=334644]sorg[/MENTION] could provide a direct answer to how he narrowed it down to libWFD_ENGINE.so, instead of providing vague and aloof responses, it would be helpful seeing as how he is the only one who knows what to look for and has accomplished it already.
[Galaxy S 4 Developer Discussion [Developers-Only]] saurik:
Nope: I launched it with the massive website of documentation. In fact, one of the reasons I didn't launch it much much sooner is that I refused to do so without extensive documentation. I provided an SDK, tutorials, the massive website with documentation of all APIs... this took me forever, and it was done during a lot of 2012, as I wanted to make certain developers could use it upon release.

You can call all the way to the original, but not the previous implementation, which is what you want: the issue is that otherwise you can't stack modifications from numerous different implementers. You can modify a return state, but Xposed doesn't have the basic "call through" primitive: it has "before", "after", and "instead", not "around".

Look, I don't get the hostility you all seem to have towards me and Substrate: I built something, I spent years trying to get it right, and when I released most of what I got was flak from the Android community that "we have Xposed, go away". I then, and this is well after release, provide concrete "facts only" explanations about how Substrate differs from Xposed, and all I'm getting still is a ton of flak. If you don't want to use it, don't use it, but the statements that I'm spreading falsehoods or lying or otherwise being disingenuous about everything... it is pointless and nasty hyperbole.
[Galaxy S 4 Developer Discussion [Developers-Only]] sorg:
It's not a hostility. It's lack of info. The time i've looked into substrate there was vacuum of info. It's not enough just to make framework. You need to give enough info and most important - examples of usage. There are tons of info and open source examples for Xposed. So, it's easy to take some existing example close to your needs and start to modify it. Developers, who already use Xposed don't need just another variant of Xposed. But if you will show the power of substrate then people will see the difference.

About stacked calls - current way of Xposed usage don't really need this functionality. All apps written for Xposed are just hacks and usually have everything for specific hook without need another hook on top of it. Call original method is enough.

I've asked you about example (useful, btw. You can see how many users want AllShareCast hack) to see how it works. You prefer to see argues in posts, and don't see the offers.
[Galaxy S 4 Developer Discussion [Developers-Only]] mrmrmrmr:
there is a patch app here on Play store:

https://play.google.com/store/apps/details?id=com.sec.screenmirroringpatch

it might be a solution to this issue...
[Galaxy S 4 Developer Discussion [Developers-Only]] KennyG123:
Thread cleaned

Enough with the personal attacks

This is a development site please post appropriately

Thank you for your cooperation

Friendly Neighborhood Senior Moderator
[Galaxy S 4 Developer Discussion [Developers-Only]] CNexus:
That's a patch for the app by Samsung itself. It won't contain any solution for root users
[Galaxy S 4 Developer Discussion [Developers-Only]] mrmrmrmr:
Note 10.1 2014 edition Android 4.3

patched lib file for Note 10.1 2014 edition Android 4.3
[Galaxy S 4 Developer Discussion [Developers-Only]] mrniceguy1849:
M919 AllShare Cast

I know that this is not the thread for the M919 but I am wondering if anyone can help me out.

I have the M919 from T-mobile rooted with Wicked v10 4.3 and whenever I try to use the screeen mirroring with my samsung dongle it try to connect but then my screen mirroring just turns off.

Does anyone knows if there a patch for it to be able to use it? this is my logcat

D/WfdPickerActivity( 7277): AllShare Cast is turned on...

I/ASF_FTD ( 6618): [JNI] Java_com_sec_android_allshare_stack_fileshare_AllShareFrameworkCoreNativeAPI_initializeFTD: 447: initializeFTD::InitializeFtd Successfully!

D/AllShareSetting( 7277): MountReceiver.onReceive - ACTION: android.net.wifi.p2p.CONNECTION_STATE_CHANGE

I/AllShareSetting( 7277): MountReceiver.onReceive - STATE WIFI:CONNECTED, P2P:CONNECTED

I/AllShareSetting( 7277): MountReceiver.onReceive - Keep current state

D/AllShareSetting( 7277): MountReceiver.onReceive - ACTION: android.net.wifi.p2p.CONNECTION_STATE_CHANGE

I/AllShareSetting( 7277): MountReceiver.onReceive - STATE WIFI:CONNECTED, P2P:CONNECTED

I/AllShareSetting( 7277): MountReceiver.onReceive - Keep current state

E/MM_OSAL (14327): Server: AllShareCast/Galaxy/1.0

D/WfdService( 763): broadcastWfdSessionInfo << to AllShare!

D/TvoutService_Java( 763): AllShare Cast NOT Connected !!!!!

I/ASF_FTD ( 6618): [JNI] Java_com_sec_android_allshare_stack_fileshare_AllShareFrameworkCoreNativeAPI_stopFTD: 526: stopFTD::StopFtd Successfully!

D/AllShareSetting( 7277): MountReceiver.onReceive - ACTION: android.net.wifi.p2p.CONNECTION_STATE_CHANGE

I/AllShareSetting( 7277): MountReceiver.onReceive - STATE WIFI:CONNECTED, P2P:DISCONNECTED

I/AllShareSetting( 7277): MountReceiver.onReceive - Keep current state
[Galaxy S 4 Developer Discussion [Developers-Only]] kefallo:
Could you patch for Exynos Note 3 too?
[Galaxy S 4 Developer Discussion [Developers-Only]] mrmrmrmr:
normally I don't try this if I don't own the device because this is endless. I don't have time to patch for every device.

However, I just wonder if it has the same structure of code. If it has, I will try.

Please attach the original lib file from your device.

Btw, you can do it yourself following the instructions given by me in this thread. It is not too complex...
[Galaxy S 4 Developer Discussion [Developers-Only]] sorg:
try SD600 solution from this thread:

http://xdaforums.com/showthread.php?t=2621550
[Galaxy S 4 Developer Discussion [Developers-Only]] mrniceguy1849:
Thanks a lot ;) I works flawlessly
[Galaxy S 4 Developer Discussion [Developers-Only]] kefallo:
Interesting, but can't find that lib file after Note 3 4.4.2 update at system/lib/ :/
[Galaxy S 4 Developer Discussion [Developers-Only]] onewayout:
Any chance for galaxy note 10.1 with 4.1.2?:angel:

edit: after reading your post I'm going to give it a go myself..... Just need an UNMODIFIED VERSION of the libWFD_ENGINE.so for the galaxy note 10.1.... ANYONE? :o
[Galaxy S 4 Developer Discussion [Developers-Only]] blion:
Anyone know whether this works for n7105 (ie the LTE version)??
[Galaxy S 4 Developer Discussion [Developers-Only]] chafico21:
Note 3 SM-N900

Ok I did the same thing for my note 3... posting it to say thanks for the procedure!!
[Galaxy S 4 Developer Discussion [Developers-Only]] kefallo:
Is this for 4.3? Or 4.4?
[Galaxy S 4 Developer Discussion [Developers-Only]] chafico21:
its 4.3 stock firmware
[Galaxy S 4 Developer Discussion [Developers-Only]] onewayout:
Hi mrmrmrmr,

I have downloaded your instructions and have followed them and believe I found the three differences in my lib file. the only problem is when I try to save it in the Winhex it says its too big to be saved and I can't find a full version of Winhex anywhere... Is there Anything I'm missing?

Cheers, Jeff
[Galaxy S 4 Developer Discussion [Developers-Only]] chafico21:
I had the same problem with my rooted phone... just google hexedit and download any program that can modify and save your file. It Worked for me.
[Galaxy S 4 Developer Discussion [Developers-Only]] onewayout:
Thanks!

I found a hex editor app for my tablet and then saved the file on there after I edited it...Now is says that my ANDROID_25d is connected but nothing shows up and after a minute or so I get a SETTINGS crash on my tablet....Any tips?
[Galaxy S 4 Developer Discussion [Developers-Only]] chafico21:
mmm Reboot the tablet
[Galaxy S 4 Developer Discussion [Developers-Only]] onewayout:
Yep I changed the permissions (right?) and then rebooted....Also the size of the file is 5x bigger than the original...
[Galaxy S 4 Developer Discussion [Developers-Only]] chafico21:
mmm Size didn't change for me...
[Galaxy S 4 Developer Discussion [Developers-Only]] onewayout:
Hi Chafico,

Thanks for chiming in on this with me....I have re-read the posts a few more times and realized I was working with the BINARY code and not the TEXT.....sooo now what I have is the IDA (free) PRO and it doesn't let me download and save the text for analysis....(that is if I'm doing that correctly) I used the demo version and it seems to open the TEXT of what we are looking for...

Would you be willing to download and save the text I would need for my 2 lib files if you still have the software??

cheers, jeff

---------- Post added at 01:50 PM ---------- Previous post was at 01:38 PM ----------

Hi mrmrmr,

Is this the CORRECTED chart or did you CHANGE your note 8 text to the PATCHED text right above it? edit: (sorry I see you said you WILL use the patched text above)

What I understand from your notes on page 6 is that I am taking an ORIGINAL lib file from the device I am working with (galaxy note 10.1) Then finding the differences from my lib file that is from the rooted ROM that I am using....is that correct or do I need a patched lib file from somewhere else....sorry if that doesn't make sense...

cheers, jeff
[Galaxy S 4 Developer Discussion [Developers-Only]] kefallo:
I can confirm this patch working on 4.3 Note 3 Exynos. I hope somebody could find patch for 4.4 too.
[Galaxy S 4 Developer Discussion [Developers-Only]] itsme_4ucz:
+++++++++:fingers-crossed::good::cool:
[Galaxy S 4 Developer Discussion [Developers-Only]] hahansen3:
I hope I am not getting off topic with this thread, but I have a Galaxy S4 SPH-L720. I looked for the file libWFD_ENGINE.so on my device, and it does not exist. Does anyone know what file I should be looking at for the SPH-L720?
[Galaxy S 4 Developer Discussion [Developers-Only]] ht_ppc:
Sorry to bother you, i would like to know the patched file for Note 8 is good for Android 4.1.2 or Android 4.2.2 or both?
[Galaxy S 4 Developer Discussion [Developers-Only]] xxjomamaxx:
Here is my fix to get screen mirroring working!

http://xdaforums.com/showthread.php?p=50597640
[Galaxy S 4 Developer Discussion [Developers-Only]] harishdhandev:
Any simpler way to do this, like create a flashable zip ?

Note 3 KitKat 4.4
[Galaxy S 4 Developer Discussion [Developers-Only]] xxjomamaxx:
im sure it can be done but im not a dev. I was just mad about not being able to miracast. Its really nit that hard..... freeze some things then just copy and paste.
[Galaxy S 4 Developer Discussion [Developers-Only]] GUZGUN:
which one of the two files inside the zip file for S3 is the one i have to use?
[Galaxy S 4 Developer Discussion [Developers-Only]] Tyxerakias:
With sorg's help, I managed to make it work for my S4 I9505 running 4.4.2 kitkat. :good::victory:

http://xdaforums.com/showpost.php?p=51118444&postcount=46
[Galaxy S 4 Developer Discussion [Developers-Only]] lepa71:
Will this work on VZW S3(i535)? I'm running custom rom and kernel and I can't find the libWFD_ENGINE.so at all. btw I can connect to my LG Smart TV, but I would get disconnected after minute or so and phone would reboot.

Any ideas?
[Galaxy S 4 Developer Discussion [Developers-Only]] xwishmasterx:
[MENTION=2011359]MohammadAG[/MENTION]

Thank you very, very, very much bro !!!!

Believe me, I'm ran crazy. One question, is it possible to write a script for i9300 of 4.4 (kitkat) also?
[Galaxy S 4 Developer Discussion [Developers-Only]] Androidwarrior:
Anyway to get this working for the sprint note 3?
[Galaxy S 4 Developer Discussion [Developers-Only]] dingo502:
Does anyone happen to have the patched lib for the note 8 running the new 4.4.2 android? I tried to drop in what I assume is the previous version and it is stuck on boot screen. Thanks in advance!
[Galaxy S 4 Developer Discussion [Developers-Only]] freesky76:
Can I use these files on a rom with firmware NH4? Thanks:D
[Galaxy S 4 Developer Discussion [Developers-Only]] poker1234:
is someone able to do his for this port ? http://xdaforums.com/galaxy-s3/development/rom-qs-i9300-kk-t2755841

or can me tell how i can do that ? would be awesome cause without that patched lib i cant use samsung smart view app and also screen mirroring dont work
[Galaxy S 4 Developer Discussion [Developers-Only]] R3t0qX:
Help

please help to patch this file. This is the file from deodexed rom for n8000, which i use.
[Galaxy S 4 Developer Discussion [Developers-Only]] gooberdude:
OK, this is for someone following this thread that is having trouble with KItKat library modding.

I noticed that with Note 8.0 on 4.4.2 the 3rd change to perform may have been tweaked by programming changes.

Correct me if I am wrong, but I think R0 is substituted with R2 in the final stage of checking for Connected HDCP.

I put a # on the address line that I feel needs changed from R2, #0 to R2, #0x10 to complete the mod to allow no HDCP connection. It just so happens to be the second line down.

.text:0001F18C loc_1F18C ; CODE XREF: .text:0001EE34j

# text:0001F18C CMP R2, #0

.text:0001F18E BEQ.W loc_1F316

.text:0001F192 LDR R0, [R2]

.text:0001F196 BNE.W loc_1F316

.text:0001F19A LDR R2, =(dword_3B500 - 0x1F1A0)

.text:0001F19C ADD R2, PC ; dword_3B500

.text:0001F19E LDR R1, [R2]

.text:0001F1A0 CMP R1, #1

.text:0001F1A2 BNE.W loc_1F316

.text:0001F1A6 LDR R5, =(dword_3B3C8 - 0x1F1B2)

.text:0001F1A8 MOVS R0, #4

.text:0001F1AA LDR R1, =(aWfdnativecpp - 0x1F1B4)

.text:0001F1AC LDR R2, =(aThisCaseIsConn - 0x1F1B6)

.text:0001F1AE ADD R5, PC ; dword_3B3C8

.text:0001F1B0 ADD R1, PC ; "WFDNativeCPP"

.text:0001F1B2 ADD R2, PC ; "This case is connected with non-HDCP do"...

.text:0001F1B4 BLX __android_log_print

.text:0001F1B8 LDR R5, [R5]

.text:0001F1BA LDR R1, =(a0 - 0x1F1C4)

.text:0001F1BC ADD R0, SP, #0x24

.text:0001F1BE LDR R6, [R5]

.text:0001F1C0 ADD R1, PC ; "0"

.text:0001F1C2 LDR R6, [R6,#0x20]

.text:0001F1C4 B loc_1F276
[Galaxy S 4 Developer Discussion [Developers-Only]] micahcc:
My System

4.4.2 CivZ Rom

I did all of them and still no luck.

anyone can advise?

--Comparing other LibWFD_ENGINE.so---

Before Patch

CBNZ	R0, loc_ED40

LDR	R3, [R7]

CMP	R0, #0

After Patch

MOVS	R0, #0

MOVS	R3, #0

CMP	R0, #0x10

----My Note 8 N5110--

0000D3BC CBNZ RO, loc_D3CC

30 B9 -> 00 20

0001BBFC LDR R3, [R7]

3B 68 -> 00 23

0001F19C CMP R0, #0

3B 68 -> 10 28

0001F194 CMP R2, #0

Also changed to #0x10

--
[Galaxy S 4 Developer Discussion [Developers-Only]] hasek82:
Fix!

[MENTION=2011359]MohammadAG[/MENTION] Any fix for lollipop I9505?
[Galaxy S 4 Developer Discussion [Developers-Only]] MrKalach:
Guys, what about SGS4(i9506) with CM12? Is it possible to make port for it?
[Galaxy S 4 Developer Discussion [Developers-Only]] mschumiv:
ok

---------- Post added at 12:48 PM ---------- Previous post was at 12:46 PM ----------

Hey man. Can you do the same thing for me? ... since you know what to do.

I have a I9505.

If yes i will attach the files.
[Galaxy S 4 Developer Discussion [Developers-Only]] mschumiv:
i opened the files attached by you. i found 3 differences but not the the ones you show here.
[Galaxy S 4 Developer Discussion [Developers-Only]] kos25k:
guys did anyone manage this to work on 4.2.2 roms???
[Galaxy S 4 Developer Discussion [Developers-Only]] nilaydas:
For Note 2

Hi, Can anyone help with the file for this ROM "http://xdaforums.com/galaxy-note-2/development/thebestsize-rom-4-4-2-31-03-16-v1-0-t3348990"

Thanks.
[LG Optimus G Pro] webdave:
My camera bezel is pretty scratched and I was thinking of replacing it. They are on ebay for around 14 dollars (http://www.ebay.com/itm/Black-Main-...e_Replacement_Parts_Tools&hash=item4857a20029) Does anyone know if the old bezel just pops out?
[General Questions and Answers] crazyman143:
Hey guys, running into some trouble on this one. I'm running the 4.2.2 illusion ROM on my GS3 and was attempting to decompile the mms app to make some changes.

I'm using apktool, I've loaded the framework-res.apk, but when attempting to recompile, I get a bunch of errors like this:

"Public entry identifier enter index is larger than available symbols. Public symbol declared here is not defined." etc...

I've tried just doing a straight decompile/recompile without making any changes and I still get this result. decompiling seems to complete ok from what I can tell.

Any suggestions? thanks!

also, if this thread doesn't belong here please forgive me and move it. I wasn't sure where to ask.
[Moto X Q&A] Hardcore73:
When I am driving I cannot get it to tell me who is calling or read my texts. It is enabled.

Anyone else have this issue?
[Moto X Q&A] Hardcore73:
Does anyones work?
[Moto X Q&A] jason.912:
Yeah, mine works just fine. Ended up turning it off.
[Moto X Q&A] Dark9781:
No issues with mine. Did you try going to apps and clearing data? This may fix your problem.
[Moto X Q&A] flashallthetime:
Make sure gps is on also, touchless control requires a GPS signal, big brother is here

Sent on my Moto X
[Moto X Q&A] Hardcore73:
Yeah my gps is always on. Does it read incoming texts to you or tell you who's calling?
[Moto X Q&A] flashallthetime:
Reads my text, yet to receive a call while driving so I assume it will work for in coming calls
[Moto X Q&A] Hardcore73:
Wonder if there is a volume I am missing for it.
[Moto X Q&A] Ukwildcatsrule:
Mine working flawless even with a heavy southern Kentucky accent...really impressed so far.
[Moto X Q&A] flashallthetime:
Have you checked off receiving text in the assist app?
[Moto X Q&A] bsinc1962:
Do you have a bluetooth enabled radio in the car? For me unless you're listening to bluetooth audio you won't hear it because it treats the radio like it's a headset.
[Moto X Q&A] Hardcore73:
No its turned on. How weird.
[Moto X Q&A] Hardcore73:
I will try with the aux cable plugged in tomorrow.