Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
vijay555
Old
(Last edited by vijay555; 10th March 2009 at 01:06 PM.)
#1  
vijay555's Avatar
Retired Moderator - OP
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
Default [App] VJPoOf - Wired Headset Remapper et al (unfinished)

Guys, responding to this query:

http://forum.xda-developers.com/show...02#post3233602

I'm releasing a solution to allow you to remap the double tap and press and hold functions of the wired headset on the Blackstone. This may well work for other recent HTC devices, but given that I dropped out about the time of the dinosaurs, I'm not up to date with their peculiarities. Try it, it can't do much harm...

Moving on:

Ok, I haven't publicly released anything for a long, long time, so herewith, an unfinished portion of VJPoOf (which stands for VJPowerOff).

<the science bit>
VJPoOf is basically a selection of my VJBrisk tools, updated to pass command lines, and searching for only specified target .exe and .lnk files.
</the science bit>

HTC have made it quite easy to override the redial and voice dial functions from the hard wired headphones. Basically, change the following applications in the\windows folder
\windows\redial.exe for the redial command
\windows\SDDialer.exe for the Cyberon voice dialer

An easier way to do this is to extract the zip enclosed (on your pc); then:

Step 1: Drop the files Redial.exe and SDDialer.exe into your \windows\ folder.
They will overwrite the original HTC apps, but don't worry, just delete those two files to get the originals back. I also enclose the originals in the .zip.

Ok, so extract the two files into \windows\.

Step 2: Next, somewhere on your PDA, find the app you want to launch instead of the double tap or long hold on the headset.
Make a shortcut to that app (use gsfinder or similar on your PDA). Then, you must rename the shortcut VJRedial.lnk or VJSDDialer.lnk as appropriate.

Step 3: Copy these two shortcuts into your \windows\ folder, and hey presto, customisable headset commands.

I have one configured to toggle the device lock state, and the other to launch a music player.

As I said, this is a pre-release of a portion of VJPoOf, which will allow you to customise most of the other buttons on the Blackstone as well, short and long power button presses, red button etc. Might do some other stuff too, later

Let me know if your device poofs into smoke.



V

Download link:
http://www.vijay555.com/vj/releases/vjpoof/vjpoof.zip

UPDATE:
Just for fun, I've released another tiny app from this suite I made to shut the Blackstone down instantly. It might work on other HTC phones, untested.
There will be no warnings, shutdown animations or anything, just instant power off (not standby), so please ensure you've finished working on whatever is open on your phone.

VJF-Off (VJFastOff)
http://www.vijay555.com/vj/releases/.../vjfastoff.exe
releases: www.vijay555.comtwitterdonatefrappr
 
Cheeze[iT]
Old
#2  
Senior Member
Thanks Meter 43
Posts: 1,375
Join Date: Dec 2008
Location: Dallas, Tx
Does this mean that whatever I set the "hold call" button to do, it has to be the same? For instance I want that call button to be set to rotate screen and the press and hold on the headset to be MSVC and on the bluetooth to be MSVC. Is that possible?
 
vijay555
Old
(Last edited by vijay555; 28th January 2009 at 01:54 AM.)
#3  
vijay555's Avatar
Retired Moderator - OP
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
What is the "hold call" button? How do you achieve that? Wired headset single click etc?
There are two distinct actions created by the wired headset - double click (redial), and press and hold (voice dial).
Both of these functions can be remapped to separate replacement functions.

V
releases: www.vijay555.comtwitterdonatefrappr
 
egzthunder1
Old
(Last edited by egzthunder1; 28th January 2009 at 02:38 AM.)
#4  
egzthunder1's Avatar
Member Advocate Admin - Spirit of XDA
Thanks Meter 2977
Posts: 16,456
Join Date: Jul 2005
Location: At The Good End Of My Hammer, Likes: My Family & XDA, Dislikes: Incompetence
Quote:
Originally Posted by vijay555 View Post
What is the "hold call" button? How do you achieve that? Wired headset single click etc?
There are two distinct actions created by the wired headset - double click (redial), and press and hold (voice dial).
Both of these functions can be remapped to separate replacement functions.

V
Hey V!

Don't feel bad about us being dinosaurs. Even dinosaurs can be cool (and dangerously useful)



Anyways, good to see you back
Attached Thumbnails
Click image for larger version

Name:	Velociraptor1.JPG
Views:	3432
Size:	42.8 KB
ID:	151056  

"As I walk through the Valley of the Shadow of Death, I fear no evil for I am the God of Death... and this is my valley"



I have ORD

Want to see my devices? Click Below

 
HTC Blue Angel
ROM: WM 6.5.3 Build 23698 by d-two
Radio: 1.15

HTC Vogue (Verizon Touch)
ROM: Froyo Android (NAND) by incubus26j
Radio: 3.42.50

HTC EVO 3D
ROM: Eternity 3D by Virus (GB 2.3.4)
PRI: 1.43_003
Radio: 1.09.00.0706
HBOOT: Eng HBOOT (S-OFF)

Sony Xperia T LT30p
ROM: Stock, Rooted 91.A.0.489 (Jelly Bean 4.1.2)
Bootloader: Unlocked





Learn how to flash: CDMA Rapahel, Vogue
 
vijay555
Old
#5  
vijay555's Avatar
Retired Moderator - OP
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
@egzthunder1 - great picture! Covers every eventuality...

It's nice to be back. I've been lurking for a few days - I got a Blackstone last week, got it unlocked, and rapidly un-installed all of the Touch-Slo stuff.

It's nice to be hacking again, 4 IDA windows disassembling, a hex-editor and rom dumps scattered across my desktop - feels just like the old days!

V
releases: www.vijay555.comtwitterdonatefrappr
 
egzthunder1
Old
#6  
egzthunder1's Avatar
Member Advocate Admin - Spirit of XDA
Thanks Meter 2977
Posts: 16,456
Join Date: Jul 2005
Location: At The Good End Of My Hammer, Likes: My Family & XDA, Dislikes: Incompetence
Quote:
Originally Posted by vijay555 View Post
@egzthunder1 - great picture! Covers every eventuality...

It's nice to be back. I've been lurking for a few days - I got a Blackstone last week, got it unlocked, and rapidly un-installed all of the Touch-Slo stuff.

It's nice to be hacking again, 4 IDA windows disassembling, a hex-editor and rom dumps scattered across my desktop - feels just like the old days!

V
If you want to have some fun, check out in the BA section (yes my BA is still alive and kickin!). One of the devs (sun_dream) has ported WM6.5 (or so it seems) although it is only an early beta (fast and very stable though). You could try to port it to the Blackstone and maybe even help these guys with the cHome app (codename Titanium). Good Luck!

"As I walk through the Valley of the Shadow of Death, I fear no evil for I am the God of Death... and this is my valley"



I have ORD

Want to see my devices? Click Below

 
HTC Blue Angel
ROM: WM 6.5.3 Build 23698 by d-two
Radio: 1.15

HTC Vogue (Verizon Touch)
ROM: Froyo Android (NAND) by incubus26j
Radio: 3.42.50

HTC EVO 3D
ROM: Eternity 3D by Virus (GB 2.3.4)
PRI: 1.43_003
Radio: 1.09.00.0706
HBOOT: Eng HBOOT (S-OFF)

Sony Xperia T LT30p
ROM: Stock, Rooted 91.A.0.489 (Jelly Bean 4.1.2)
Bootloader: Unlocked





Learn how to flash: CDMA Rapahel, Vogue
 
DeepShark
Old
#7  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Jan 2009
Hi,
Sorry if my question is a newbie question (because I am one !), but when I try this one my HTC Touch HD (Blackstone), I can't copy the files in windows folder.
It tells me "Access denied" (in fact "Accès refusé" in French) when I want to copy your Redial.exe.
Is there "something" to unlock "somewhere" ? :)
Thank you
 
vijay555
Old
#8  
vijay555's Avatar
Retired Moderator - OP
Thanks Meter 20
Posts: 5,772
Join Date: Jun 2005
Location: Witch Space
What are you using to copy the files?

If you use your PC, activesync, explore the PDA, and then find the \windows folder. Just drag the redial.exe file into \windows\.

If that doesn't work, please let us know what phone you're using, and if you've used anything to remove the security settings.

V
releases: www.vijay555.comtwitterdonatefrappr
 
ryomahino
Old
#9  
Senior Member
Thanks Meter 2
Posts: 515
Join Date: Sep 2007
Location: Lima

 
DONATE TO ME
Hi Vijay, maybe you can help us; I have a wired remote control W100 for answer calls and control music player, but only works with WMP or AudioManager, can you make one app to intercept the signals of wired remote control w100 and use this signals to control another music player?
Thanks for your reply
 
DeepShark
Old
#10  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Jan 2009
Quote:
Originally Posted by vijay555 View Post
What are you using to copy the files?

If you use your PC, activesync, explore the PDA, and then find the \windows folder. Just drag the redial.exe file into \windows\.
Hi,

Thanks for your answer.
The first time, I was using the explorer on my mobile. But I just try with the explorer of my Vista (through ActiveSync) and it makes the same error.

Quote:
Originally Posted by vijay555 View Post
If that doesn't work, please let us know what phone you're using, and if you've used anything to remove the security settings.
My Phone is HTC Touch HD (Blackstone).
I haven't used anything to remove the security settings.

Maybe that's the problem ? Maybe by default there's no authorization to modifiy Windows folder ? What should I use to change this ?

Thanks

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Xposed Framework Module for the AT&T Galaxy S 4

Got yourself a brand new Galaxy S 4? Are you looking for some fun mods to make it truly your … more

Job Interview Prep: Phone Screen Part 1 – XDA Developer TV

XDA Developer TV Producer Jayce has been very busy creating videos to help … more

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you … more

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more