Go Back   PPCGeeks > Windows Phones > HTC Devices > HTC Touch Pro

Notices



Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2009, 01:11 AM
bradyonly
N00b
Offline
Pocket PC: HTC Touch Pro
Carrier: Bell Mobility
Location: Lethbridge AB
 
Join Date: Nov 2008
Posts: 35
Reputation: 380
bradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regular
SMS Lag Fix!

Unlike all of the other fixes that are aimed at the keyboard I did some playing around with "thread_sms.htm" in the windows folder. There's an arguement in there called "count" which calls some function that calculates the characters in the message after every letter. Removing this arguement stops tmail from calculating the character count thus eliminating the keyboard lag.
IF SOMETHING BREAKS JUST DELETE THREAD_SMS.HTM AND WINDOWS WILL RECREATE IT.

I have attached the HTM that I modified in case you don't want to do the editing yourself.

Summary:
Open Total Commander
Browse to the Windows folder
Look for "thread_sms.htm"
Hit file and go to edit
Scroll down (it's pretty short so it shouldn't be that far) and look for "count" then delete it. It's the only one in there so no need to worry about deleting the wrong one.
Save and restart the phone.

Enjoy!

Some of you wanted to see what I actually modified and where count was in the htm file.

Code:
<html XMLNS:Inbox>

 <head>
  <object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
  <?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
  <link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />
 </head>

 <body>
  <Inbox:ThreadIFrame>
   <Inbox:content id="THREADIFRAME" links threadviewminheight=45 />
  </Inbox:ThreadIFrame>

  <div id="threadbottom">
   <hr class="divider" size="1" />
   <Inbox:ComposeBodyCount>
    <Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />
   </Inbox:ComposeBodyCount>
   <Inbox:ComposeSubject class="sms">
    <Inbox:content id="COMPOSESUBJECT" width="98%" height=35 spell focus count links noclearonbackpresshold limit=0 autocap inserttab dynamicresize />
   </Inbox:ComposeSubject>
  </div>

 </body>

</html>
So just delete the part in green!

Update - 17/06/09
I made another change to compose_sms.htm that gets rid of the
_______
0/130

display. It's just a blank window now and doesn't look like a broken counter was just placed there.

Here's my compose_sms.htm
Code:
<html XMLNS:Inbox>

  <head>
    <object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90"/>
    <?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
    <link rel="stylesheet" href="file://\windows\compose_style.css" type="text/css" />
  </head>

  <body>
    <a name="inbox:top"></a>

    <table class="header">
      <tr>
        <td class="header">From:</td>
        <td class="content">
          <Inbox:ComposeFrom>
            <Inbox:content id="COMPOSEFROM" />
          </Inbox:ComposeFrom>
        </td>
      </tr>
      <tr>
        <td class="header"><a class="header" href="Inbox:COMPOSETO 0">To:</a></span>
        <td class="content">
          <Inbox:ComposeTo>
            <Inbox:content id="COMPOSETO" nocr focus phone count />
          </Inbox:ComposeTo>
        </td>
      </tr>
    </table>

    <div class="divider" />

    <Inbox:ComposeSubject class="sms">
      <Inbox:Content id="COMPOSESUBJECT" smartheight=50 limit=0 replyfocus links spell autocap inserttab />
    </Inbox:ComposeSubject>

<!--    <div class="SMSLine" />
        
    <Inbox:ComposeBodyCount>
      <Inbox:Content id="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" />
    </Inbox:ComposeBodyCount>
-->
    <Inbox:Padding>
      <a href="Inbox:ComposeSubject setfocus">
        <Inbox:content id="PADDING" UseComposeSubjectHeight />
      </a>
    </Inbox:Padding>

  </body>
</html>
Just add those two comment tags: <!-- and -->
They are highlighted in green for ease of finding. Alternatively you could just delete everything in between those comment tags for the same effect. I left it in there in case I wanted to add a little signature or logo or something.
Also added the attachment for compose_sms.htm

-Side note: I've done alot of flashing and I found that if you don't hard reset right after replacing or if you have SMS open it doesn't completely overwrite it and corrupts it a little. Make sure to reset right after replacing so windows doesn't have time to try to replace it (which is why I think it breaks).

fr0st was kind enough to make up a cab, I attached it to this post.
Attached Files
File Type: zip thread_sms.zip (635 Bytes, 445 views)
File Type: zip compose_sms.zip (743 Bytes, 175 views)
File Type: cab SMS Lag Fix.cab (1.3 KB, 781 views)

Last edited by bradyonly; 07-20-2009 at 11:06 AM.
Reply With Quote
This post has been thanked 64 times.
Sponsored Links
  #2  
Old 06-27-2009, 01:32 AM
ShadowDrake
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Muskegon, MI
 
Join Date: Nov 2008
Posts: 749
Reputation: 935
ShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuff
Send a message via AIM to ShadowDrake Send a message via MSN to ShadowDrake
Re: SMS Lag Fix!

Quote:
Originally Posted by bradyonly View Post
Unlike all of the other fixes that are aimed at the keyboard I did some playing around with "thread_sms.htm" in the windows folder. There's an arguement in there called "count" which calls some function that calculates the characters in the message after every letter. Removing this arguement stops tmail from calculating the character count thus eliminating the keyboard lag.
MAKE SURE YOU BACKUP THREAD_SMS.HTM BEFORE EDITING IN CASE YOU BREAK IT

Summary:
Open Total Commander
Browse to the Windows folder
Look for "thread_sms.htm"
Hit file and go to edit
Scroll down (it's pretty short so it shouldn't be that far) and look for "count" then delete it. It's the only one in there so no need to worry about deleting the wrong one.
Save and restart the phone.

Enjoy!
Nice, now I'll really applaud you if you can modify it so instead of just completely removing it, it counts every say, second, or maybe even 3-5 seconds instead?
__________________
Reply With Quote
  #3  
Old 06-27-2009, 01:36 AM
Rourke Swift's Avatar
Rourke Swift
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro
Carrier: Alltel
Location: Whitefish, MT
 
Join Date: May 2009
Posts: 458
Reputation: 1115
Rourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on repRourke Swift is halfway to VIP status based on rep
Re: SMS Lag Fix!

Oh sweet, so it just doesn't update the "X/160" figure while you type, and so doesn't slow you down as much?

Interesting find.
__________________
"One man's garbage is another man person's good ungarbage..."
Reply With Quote
  #4  
Old 06-27-2009, 01:42 AM
bradyonly
N00b
Offline
Pocket PC: HTC Touch Pro
Carrier: Bell Mobility
Threadstarter
Location: Lethbridge AB
 
Join Date: Nov 2008
Posts: 35
Reputation: 380
bradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regular
Re: SMS Lag Fix!

Yeah it's unfortunate that you lose the character count but my texts are usually short anyways. If I could figure out where count is I might be able to mess around in that function to maybe find some unecessary code. Kind of the same way MS Word publishes to HTML *Shutters*
Reply With Quote
  #5  
Old 06-27-2009, 01:49 AM
ShadowDrake
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Muskegon, MI
 
Join Date: Nov 2008
Posts: 749
Reputation: 935
ShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuffShadowDrake knows their stuff
Send a message via AIM to ShadowDrake Send a message via MSN to ShadowDrake
Re: SMS Lag Fix!

Quote:
Originally Posted by bradyonly View Post
Yeah it's unfortunate that you lose the character count but my texts are usually short anyways. If I could figure out where count is I might be able to mess around in that function to maybe find some unecessary code. Kind of the same way MS Word publishes to HTML *Shutters*
Unfortunately I have some friends with prepaid phones, and I try to be courteous and keep anything I have to say to one text. I have a bad habit of typing texts that end up in the 180 character range, which is just a few too many. Most of the time I can trim them down...

Regardless, I'd like to try this but I need the count!
__________________
Reply With Quote
  #6  
Old 06-27-2009, 01:50 AM
shaggylive's Avatar
shaggylive
Zoinks!
Offline
Pocket PC: Mogul, Touch Pro 1&2
Carrier: Sprint
Location: Iowa
 
Join Date: Mar 2007
Posts: 2,834
Reputation: 2632
shaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIPshaggylive is a VIP
Re: SMS Lag Fix!

good find.. really the only reason I see for caring about the count is twitter, but we got apps for that anyway.
if I get long winded, what do I care if it gets split into multiple txt's.
__________________
7 windows to rule them all, 7 windows to find them,
7 windows to bring them all and in the network bind them.
CM_Killer
Reply With Quote
This post has been thanked 1 times.
  #7  
Old 06-27-2009, 02:27 AM
rawdikrik's Avatar
rawdikrik
Regular 'Geeker
Offline
Pocket PC: HTC Touch PRO 2
Carrier: Sprint
Location: Miami
 
Join Date: Jun 2008
Posts: 384
Reputation: 380
rawdikrik is becoming a PPCGeeks regularrawdikrik is becoming a PPCGeeks regularrawdikrik is becoming a PPCGeeks regularrawdikrik is becoming a PPCGeeks regular
Send a message via AIM to rawdikrik
Re: SMS Lag Fix!

I am very interested in this development. I have noticed a few different things when in the SMS window.

Not only do we have character count, but on some roms you can actually see the box resize after every letter. The scroll bar will adjust and it seems to "scan" the area texted to see if it has to move down. I think if maybe this could be manipulated in a way to only happen after every 5 or ten characters, we might have faster texting.

I need the character count, as I tweet from sms and i hate to send 2 messages to friends that dont have unlimited texts when I could just send them one.

I am definitely interested in this thread. Maybe we should send an email to No2Chem? He's incredibly good at finding little things like this (eg: keyboard backlighting).
__________________
Take what I say with a lick of salt... Everyone has a different phone, files, programs, and settings. What may work for you might not work for me, and vice versa.

Good Luck and Happy Modding.

ME: 1ST Stock Sprint Touch Pro 2 (sweat it!)

I love: CMYLXGO, GAlarm 1.51, and my new Touch Pro 2
I hate: Having to get used to the new keyboard, the lack of CTRL key (Fkn Sprint) and non native WVGA games.
Reply With Quote
  #8  
Old 06-27-2009, 03:14 AM
hansdg1
Lurker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Aug 2007
Posts: 24
Reputation: 20
hansdg1 is just getting started
Re: SMS Lag Fix!

it would be really nice as some of you have said already to have the character count still there but update less frequantly
Reply With Quote
  #9  
Old 06-27-2009, 03:36 AM
psycho_maniac's Avatar
psycho_maniac
Editor in Chief
Offline
Pocket PC: HTC Touch Pro2
Carrier: Verizon
Location: Wisconsin
 
Join Date: May 2009
Posts: 3,114
Reputation: 2502
psycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIPpsycho_maniac is a VIP
Send a message via MSN to psycho_maniac Send a message via Yahoo to psycho_maniac
Re: SMS Lag Fix!

anybody tried this? seems really cool...if it actually worked
__________________

Carrier: Verizon | Rom: MightyROM RhodiumW 02.01.2010 | Radio: 2.23.00WV
Windows Mobile Htc Registry Tweaks | My Flash Dance
Reply With Quote
  #10  
Old 06-27-2009, 11:49 AM
coreyoli
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon Wireless
Location: Arcade, NY
 
Join Date: Mar 2007
Posts: 357
Reputation: 115
coreyoli is keeping up the good workcoreyoli is keeping up the good work
Re: SMS Lag Fix!

I'm on 6.5 and my thread_sms.html doesn't have just a "count" it has a lot, lol...

Could you possibly post an example? I don't want to delete the wrong thing, haha..

Thanks,

-Corey
Reply With Quote
Reply Back to Top

  PPCGeeks > Windows Phones > HTC Devices > HTC Touch Pro

Thread Tools
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

Forum Jump



All times are GMT -4. The time now is 08:00 AM.