[APP] Patch your lockscreen to enable MEDIA CONTROL and GESTURES (gest. are on TODO)
another of my (working) hacks, this time it is, everybody's wanted, LOCKSCREEN MEDIA CONTROL! We know that it was enabled on LG Fathom device, but I just made it working even on my TP2. Video of proof:
(sorry for quality, I have older camera)
Gestures are on my todo to be allowed next, I will hopefully before end of the week release patcher, that will enable it.
Where lays the problem - lockscreen asks for device if there is _something_ supported, I don't know what, because this function in aygshell is internal and thus not documented. I simply changed condition, that now it won't run part which just shutted door before allowing the media control .
Are you excited as me?
PS: This is control for WMP of course, not HTC player!
PPS: I know that will be supported hopefully all recent builds that have graphics for the media control. I have tested it on 21680, but 23569 has the graphics too I think. I am not going to flash 10 different builds, that's up to you to test it when I release the patcher tool .
How to use:
1) Download latest version of LockScreenPatcher (currently: test)
2) Download lockscreen.dll from your phone (Resco Explorer, RAPI tools, this will be automated maybe in later versions)
3) Run the LockScreenPatcher against the lockscreen.dll you just copied over
4) If everything goes fine, there should be message "File patched blabla"
5) Now take newly generated file (lockscreen.dll_), rename to lockscreen.dll and put back to your phone
6) Insert into registry that value, as the application tells you
7) Reboot your phone
Donate to get access to new projects before they are released! (Since this project I'm making list of donators and I'll be launching "beta software" forum!)
HTC Touch Pro (Raphael), Radio 18.104.22.168, WM 6.5.3 Pro (Energy RAPHAEL 21681 Sense 2.5 Cookie classic GTX Oct. 9)
Qtek 2020 (O2 XDA II) @ 200-530 MHz, Radio 1.19, WM 6.5.5 Pro (Build 28563 WWE 16 MB RAMdisk by aeroflyluby)
Since 24 season 1 we know that all dramatic events take place around the full hour, so don't event bother watching the news at other times
The controls are appearing for me (need to slide sideways on the calendar), but they aren't working. I'm probably leaving out a dependency or two (build 21680). Here's a screen-cap.
Edit: Actually, the play button will launch WMP, but it won't play/pause music and I can't skip forwards or backwards.
Originally Posted by ilbert
Hei! That's wonderful! But i can't copy lockscreen.dll file. With "GS Finder" and "Total Commander" the phone says me: "Can't copy this file". Using resco explorer i don't find the file. Help!
You need to use rom extractor or dotfred's task manager (depends tool--->dump rom library) to dump the module. Total commander won't work. And it's probably a hidden file, so you may not see it with some file explorers. I've attached the patched 21680 dll.
Must be some package breaking it up, works for me on 21680, tried few lockscreen.dlls, from 23138, 23103 and 21680 and all OK, using it often (I have media playback buttons on headphones though). 23569 should work too I think...
Yeah, I normally don't cook in CHOME or the Bronze packages, so that may be the issue. I added the dll's I thought I might need to the \windows folder (cmwmpplugin; bronzeres; chhome and something else), but that didn't do anything for me. I tried registering the dll's, and it only worked for the wmp plugin one. I may just have to cook those packages in. Of course, I could've just totally effed something else up, lol.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?