PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2009, 12:11 AM
bradyonly's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro
Carrier: Bell Mobility
Location: Lethbridge AB
 
Join Date: Nov 2008
Posts: 35
Reputation: 390
bradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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, 582 views) Click for barcode!
File Type: zip compose_sms.zip (743 Bytes, 294 views) Click for barcode!
File Type: cab SMS Lag Fix.cab (1.3 KB, 1098 views) Click for barcode!

Last edited by bradyonly; 07-20-2009 at 10:06 AM.
Reply With Quote
This post has been thanked 65 times.
  #2 (permalink)  
Old 06-27-2009, 12:32 AM
ShadowDrake's Avatar
ShadowDrake
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
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 (permalink)  
Old 06-27-2009, 12:36 AM
Rourke Swift's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Hero
Carrier: Alltel
Location: Whitefish, MT
 
Join Date: May 2009
Posts: 459
Reputation: 1130
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
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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 (permalink)  
Old 06-27-2009, 12:42 AM
bradyonly's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro
Carrier: Bell Mobility
Threadstarter
Location: Lethbridge AB
 
Join Date: Nov 2008
Posts: 35
Reputation: 390
bradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regularbradyonly is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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 (permalink)  
Old 06-27-2009, 12:49 AM
ShadowDrake's Avatar
ShadowDrake
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
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 (permalink)  
Old 06-27-2009, 12:50 AM
shaggylive's Avatar
WP Heavy Rot Sloth
Offline
Pocket PC: Mogul, Touch Pro 1&2, Evo, PhotonQ
Carrier: Sprint
Location: Iowa
 
Join Date: Mar 2007
Posts: 3,466
Reputation: 3362
shaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIP
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
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.
Navizon CM&ResProxyKiller nueRom SuspendResume777
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 06-27-2009, 01:27 AM
rawdikrik's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint EVO 4G
Carrier: Sprint
Location: Fairfax
 
Join Date: Jun 2008
Posts: 477
Reputation: 665
rawdikrik knows their stuffrawdikrik knows their stuffrawdikrik knows their stuffrawdikrik knows their stuffrawdikrik knows their stuffrawdikrik knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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).
__________________
Good Luck and Happy Modding.

I love: Swype, Pandora, AmonRa Recovery and Touiteur.
I hate: Swype (haha), 4G dropping constantly, screen protectors and losing signal in the DC subways
Reply With Quote
  #8 (permalink)  
Old 06-27-2009, 02:14 AM
hansdg1's Avatar
N00b
Offline
Pocket PC: HTC Evo Shift
Carrier: Sprint
 
Join Date: Aug 2007
Posts: 34
Reputation: 20
hansdg1 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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 (permalink)  
Old 06-27-2009, 02:36 AM
psycho_maniac's Avatar
Super Senior VIP Member
Offline
Pocket PC: Nexus 6p
Carrier: Att StraightTalk
Location: Wi,USA
 
Join Date: May 2009
Posts: 4,029
Reputation: 3882
psycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIPpsycho_maniac is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to psycho_maniac Send a message via Skype™ to psycho_maniac
Re: SMS Lag Fix!

anybody tried this? seems really cool...if it actually worked
__________________
Phone: Nexus 6p | Carrier: StraightTalk Att
Kernel: Stock | ROM: Stock Oreo
Reply With Quote
  #10 (permalink)  
Old 06-27-2009, 10:49 AM
coreyoli's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon Wireless
Location: Arcade, NY
 
Join Date: Mar 2007
Posts: 358
Reputation: 115
coreyoli is keeping up the good workcoreyoli is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:43 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com