PDA

View Full Version : Change Program on the HTC Home


Dom007
7th August 2007, 11:30 AM
Hello everyboy,

First of all I'm happy that I found this forum on the HTC touch.

I just bought the HTC Touch P3450 2days ago....


and already have a question :)

I would like to use another "mail application software (flexmail)" instead of the defaut WM6 one "mail"

But I wondering the following, on the "HTC Home" screen the "mail icon" (first one from the Left just below the 'TIME') is still linked to the "standard mail software".

So when I type on this "icone" I launched the standard "Mail" application instead of the new one that I want to use !

The question is how can I change/replace this "mail icon" to point to my new mail application "Flexmail" ??

Or just change the link to point on the new mail software ?

Any idea ?

Is it possible ?

carlosp_uk
7th August 2007, 11:50 AM
Hello everyboy,
I would like to use another "mail application software (flexmail)" instead of the defaut WM6 one "mail".

But I wondering the following, on the "HTC Home" screen the "mail icon" (first one from the Left just below the 'TIME') is still linked to the "standard mail software".


Hmmmm, options....

1. CHANGE THE APP PATH THAT THE BUTTON CALLS
Sadly, there doesn't seem to be a registry entry for the apps launched from these buttons on the HTC Home plug-in (HKLM/Software/HTC/HomePlug) which means they're almost certainly hard-coded into the .dll file on the device. You could try using a program like ResHacker to change them, but in my experience HTC doesn't seem to store path names as resources within files, so you could potentially hex edit the .dll file to change it instead?

2. REPLACE TMAIL.EXE
The button actually calls \Windows\tmail.exe so if you REALLY NEVER EVER want to use the default inbox, you could rename \Windows\tmail.exe to \Windows\tmail_old.exe and then copy flexmail.exe to \Windows\tmail.exe instead. I don't recommend this though, too many potential issues, and lots of other programs tend to calll tmail.exe as well.

There IS a registry key at HKLM/Software/Microsoft/Shell/Rai/:MSINBOX too but this won't come into play here.


3. ACCEPT DEFEAT AND LAUNCH FLEXMAIL ANOTHER WAY!
My recommended option! I know it's not perfect, but why not just assign flexmail to a button on the cube or something using this app:
http://forum.xda-developers.com/showthread.php?t=320571

It'll save you a load of hassle in the long run!

C

DaPozt
7th August 2007, 01:50 PM
This post contains all the information you want:

http://forum.xda-developers.com/showthread.php?t=321743

carlosp_uk
7th August 2007, 02:13 PM
This post contains all the information you want:
http://forum.xda-developers.com/showthread.php?t=321743

No, it doesn't. If you read the OP, Dom007 is trying to change the app that is launched from the HOME PLUGIN, not the biotouch cube.

Dom, I have patched the home plugin for you so that the two button under the clock launch a file called \Windows\fmail.exe. At the moment, this file won't exist on your device - so, to point it to flexmail:

EDIT: better solution in post #8 below

1. Copy \Program Files\WebIS\Mail\flexmail.exe to the windows directory as \Windows\fmail.exe (assuming you installed to device, not to storage card)

2. Disable home plugin. (settings > today > items > un-tick 'HTC Home')

3. Copy the attached HTCHome.dll file into your \Windows directory (make a backup of the original first) - you might need to remove the Home plugin from your today screen first.

4. Re-enable the home plugin. (settings > today > items > tick 'HTC Home')


Good luck! If it doesn't work, just reverse these steps and replace your original HTChome.dll file from the backup in step 3.


C

llaehn
9th August 2007, 10:21 AM
hello,

how you patched the htchome.dll?
i have the htchome.dll from juvs with 265kB.
i change tmail to fmail with a hexeditor but it doesnt works.

thanks
lars

carlosp_uk
9th August 2007, 10:31 AM
hello,
how you patched the htchome.dll?
i have the htchome.dll from juvs with 265kB.
i change tmail to fmail with a hexeditor but it doesnt works.
thanks
lars

There are two instances of tmail.exe in the file you need to change the first. You also need to re-sign the dll afterwards.

Send me your one from juvs and I'll do it for you.

C

llaehn
9th August 2007, 10:47 AM
i changed the first t to f in a hexeditor but now the htc home would not show in settings->today.

i attach the dll.
thanks
lars

carlosp_uk
9th August 2007, 10:58 AM
i changed the first t to f in a hexeditor but now the htc home would not show in settings->today.

There's two instances of tmail and you need to re-sign the CAB afterwards. Try this one.

And, as a new solution, instead of copying flexmail, why not use VJBRISK instead. Here's how:


1. Disable home plugin. (settings > today > items > un-tick 'HTC Home')
2. Copy the attached HTCHome.dll file into your \Windows directory
3. Re-enable the home plugin. (settings > today > items > tick 'HTC Home')
4. Copy and rename VJBrisk.exe to \Windows\fmail.exe
5. Make a shortcut \Windows\VJTarget.lnk that points to \Program Files\WebIS\Mail\flexmail.exe

This should save on Storage space and is a neater solution - if you want to change the app, just change the shortcut.

Find the VJBrisk program here:
http://www.vijay555.com/?Releases:VJBrisk

Not tested on WM6 as far as I know, so let me know if it works!

C

llaehn
9th August 2007, 11:56 AM
it works perfect.
i have open the cab file, replace the dll und install it. it works perfect.

thanks for your help
lars

Tatchan
11th August 2007, 11:14 PM
Could you help me on patching the file from HTC.Kaizer.Home.Plugin.with.Tabsetting.schen.cab?
The one you posted don't work on the above cab...

Thanks

carlosp_uk
16th August 2007, 11:40 PM
Could you help me on patching the file from HTC.Kaizer.Home.Plugin.with.Tabsetting.schen.cab?
The one you posted don't work on the above cab...

Thanks


Sure, sorry for the delay. I've patched it to load fmail.exe, try the attached.

Carlos

Tatchan
17th August 2007, 06:13 PM
Sure, sorry for the delay. I've patched it to load fmail.exe, try the attached.

Carlos

Thanks so much :)
Wonder why HTC Home can't make it programmable... :confused:

dew.man
21st November 2007, 05:26 PM
Does the patched version show the correct number of emails, or does it just change the launched app?

I'd like to try to use FlexMail as a complete replacement for email and SMS to see if it's any more stable than it was a few months ago...

outphase
1st December 2007, 07:03 PM
Carlos,

Can you patch this dll for me? It came from one of dutty's Tilt ROMs. The one you previously posted doesn't seem to work. The screen allots the space, but nothing shows up.

Thanks

meatlocker
3rd December 2007, 04:02 PM
There's two instances of tmail and you need to re-sign the CAB afterwards. Try this one.

And, as a new solution, instead of copying flexmail, why not use VJBRISK instead. Here's how:


1. Disable home plugin. (settings > today > items > un-tick 'HTC Home')
2. Copy the attached HTCHome.dll file into your \Windows directory
3. Re-enable the home plugin. (settings > today > items > tick 'HTC Home')
4. Copy and rename VJBrisk.exe to \Windows\fmail.exe
5. Make a shortcut \Windows\VJTarget.lnk that points to \Program Files\WebIS\Mail\flexmail.exe

This should save on Storage space and is a neater solution - if you want to change the app, just change the shortcut.

Find the VJBrisk program here:
http://www.vijay555.com/?Releases:VJBrisk

Not tested on WM6 as far as I know, so let me know if it works!

C

Carlos - first of all, thanks for all of your hard work lately! You are really helping a lot of people out with all of your different projects.

I was really excited to see this hack, and spent about 3 hours with it yesterday. Everything works, but Flexmail becomes unresponsive at times, and the whole system just seems to grind to a crawl. I have tried with and without keeping poulook as one of the startup apps, but it doesn't seem to make a difference. Also, the HTCHome plugin constantly shows "1" unread email, even when I don't have one. I guess I am wondering if anyone else has had these issues. BTW, I am using a Sprint Touch (Vogue). Thanks for the assist.

carblanco
3rd December 2007, 04:10 PM
There's two instances of tmail and you need to re-sign the CAB afterwards. Try this one.

And, as a new solution, instead of copying flexmail, why not use VJBRISK instead. Here's how:


1. Disable home plugin. (settings > today > items > un-tick 'HTC Home')
2. Copy the attached HTCHome.dll file into your \Windows directory
3. Re-enable the home plugin. (settings > today > items > tick 'HTC Home')
4. Copy and rename VJBrisk.exe to \Windows\fmail.exe
5. Make a shortcut \Windows\VJTarget.lnk that points to \Program Files\WebIS\Mail\flexmail.exe

This should save on Storage space and is a neater solution - if you want to change the app, just change the shortcut.

Find the VJBrisk program here:
http://www.vijay555.com/?Releases:VJBrisk

Not tested on WM6 as far as I know, so let me know if it works!

C

Tried and working.
One question: is it possible that the counters of mail and sms at HTCHome can read the unread mail and sms?
Mine are always as "0".

And... I forgot to do a backup of my stardard htchome.dll, could anybody attach it here?, I'm using a Trinity...

Thanks.

veeru27
3rd December 2007, 07:02 PM
Is there anyway to make the plugin to open the Mail folder by clicking the mail icon and the SMS folder by clicking the SMS icon. Like in the picture.

http://img151.imagevenue.com/loc1092/th_04731_htc-home-plugin_122_1092lo.jpg (http://img151.imagevenue.com/img.php?image=04731_htc-home-plugin_122_1092lo.jpg)

veeru27
4th December 2007, 05:16 PM
bump!:D:D.
Sorry, am really desperate!

carlosp_uk
10th December 2007, 03:29 PM
Carlos,

Can you patch this dll for me? It came from one of dutty's Tilt ROMs. The one you previously posted doesn't seem to work. The screen allots the space, but nothing shows up.

Thanks

Hi I'll try to patch this tonight if I get time.
C

carlosp_uk
15th December 2007, 02:36 PM
@outphase

Hi I've patched this to load fmail.exe instead of tmail.exe and re-signed it for you. Hope it works.

Carlos

denis.french
10th January 2008, 12:01 AM
Sure, sorry for the delay. I've patched it to load fmail.exe, try the attached.

Carlos

Carlos, thanks for your efforts.

Using your suggested VJBrisk trick and patched HTChome.dll I have set up HTC Home to open the GMail Java app rather than Fmail, and as a result have a near perfect implementaion of GMail IMAP despite Google's lack of progress on WM6 :-)

The only patched file that works for me is the HTC.Kaizer.Home.Plugin.with.Tabsetting.schen.cab one you did for Tatchan; it seems to play nicely with HTC Home Customiser (on my Hermes anyway).

Advantages:
HTC Home reports accurate unread email count via IMAP :)
The email icon opens a better app for Gmail than Pocket Outlook :D

Disadvantages:
Unread email count may lag behind actual count, depending on your IMAP connection settings.
Unread MMS are included in unread email count, but obviously can't be read when the GMail Java app is opened.
SMS icon currently also opens the GMail Java app.

My question; is it possible for _only_ the left hand (email) icon to be redirected to Fmail, and have the centre (SMS) icon remain linked to Pocket Outlook?

I'm guessing if this works it will have a side effect of the SMS icon opening the SMS account only (as veeru27 inquired about above), assuming that POutlook is only ever used for SMS.

Ideally the unread MMS count should be added to the SMS count rather than the email count, but I suppose this is beyond the current scope of your tweaking.

Your thoughts?

Denis.

lazik
9th February 2008, 10:28 AM
Can you patch for me this dll. Thank you in advance.
On my device only Keizer Version works but I do not see any contacts.

Edw
17th February 2008, 08:56 PM
carlosp_uk: could you help me to patch this dll too?
would be perfect if only the SMS to be change as fmail.exe

meeprom
18th March 2008, 09:52 PM
Hello,
I want change sms and call program with pocketcm.
I understand I can change with a Hex Editor the file HTCHome.dll and there's two instances of tmail but I don't understand how I have to make re-sign the CAB afterwards.

And is possible change tmail with pocketcm?

Thank you for your answer.