How to Replace Broken Screen on HTC S740

Illustration

Due to “careful” behavior toward my HTC S740, screen was broken and I needed to replace it. First step was ordering new screen from eBay.

There is quite a few replacement screens available so that should not be a problem. If you do not have tools be sure to get one with free tools included (case opener, T4 and small Phillips-head screwdriver). Although there are quite a few sets with triangle shaped case opener, I personally went for thin and flat opening tool. It makes job much easier.

Take off battery cover, battery, unscrew four T4 screws behind keyboard and then use case opener tool. Jam it on top ridge of keyboard and circle around it gently. This is probably most difficult part since keyboard will keep sliding back inside.

Disconnect two ZIF cables (top-left and bottom-right) and one antenna cable (bottom-left) from board and gently pull up board. It is held by four pieces of plastic and there is another flat cable behind so be very gentle. Pull backside flat cable out of it’s socket and put whole module on side.

There are four Phillips screws holding keyboard and screen part together. Unscrew them and you will be able to put them apart. This will give you access to screen’s part of assembly.

It is held together by five little T4 screws and one Phillips screw (behind keyboard slider mechanism). Once you unscrew them and open case with case opener, you should arrive to same situation as depicted on picture above.

Illustration

What you see is metal shield behind yet another four Phillips screws. Once you unscrew it, just pull out metal shield (take care of flat cable and button connector above). Camera and volume buttons will fall out itself - just do not lose them. Little bit of stronger tap on the back of screen should be enough to kick it on phone’s front side (notice yet another flat cable). Throughly clean points where screen was held by tape (all of it should be gone).

I could have used double-side adhesive tape to glue new screen in same place, but I opted for cyanoacrylate instead. Put a drop of it at four red-dotted locations and quickly put screen on it. Hold it together for minute or so in order to allow enough time for glue to activate.

After you are sure that everything is as it should be (watch keyboard alignment and tryout all keys), just put everything back in same order.

[2010-03-04: General clean-up of text.]

[2010-03-14: You can now download all pictures I took. Unfortunately they are not step-by-step instructions but they might prove to be useful.]

DNS Problems With FreeNAS

Illustration

It may come as a surprise to quite a few guys that know me, but I use FreeNAS as my main file server. I used version 0.6 for quite a while but I switched to 0.7 few weeks ago.

At one point in time I noticed that one of my scripts is not working anymore. That script checked my external IP address and displayed it on character LCD. I could not say when exactly it stopped working since I didn’t checked it for a while.

Little bit of digging discovered that I had problems with host name resolving:

host ^^example.dyndns.org^^
0.0.0.0 connect: Address family not supported by protocol family
0.0.0.0 connect: Address family not supported by protocol family
example.dyndns.org A record not found, try again

Then I remembered. Few days after upgrading server to new FreeNAS edition, I also changed configuration from DHCP to static IP. That meant that DNS servers were not set anymore. All I needed to do is to manually set DNS addresses and script would be working once more.

Only problem - no manual setting of DNS is available. Since I know a thing-or-two about command line interface, I went to add missing entries to /etc/resolv.conf from there. Unfortunately, that file gets overwritten after every reboot.

Since I didn’t want to depend on power grid to keep my server alive, I devised a cunning plan. If you go into System -> Advanced menu, there is option to set commands to be executed after every reboot. I just added new postinit command:

echo "nameserver 8.8.8.8" >> /etc/resolv.conf

That line just appended DNS server definition to file. Once that line is there, all DNS resolving works once more.

Problem solved.

P.S. After all this effort, I found place where DNS can be setup in more user friendly manner. To my surprise it is under System -> General menu.

Best of 2009

New year is always good time to make some statistics. :)

I wrote total of 209 posts bringing over 20,000 page views in last year. While this is not much in Internet context of things, I do not recall having that kind of attention before. Also worth noting is fact that January had about 300 visits and in December number was above 3,000. Trend seems to be quite positive.

More than 70% of traffic was coming from Google and rest was divided among quite a few referrers. Most of content was read by US citizens (30%) with other countries having less than 10% each. For about of 30% of visitors country could not be determined.

As browsers go, most often these pages were viewed with FireFox (43%). Internet Explorer was quite close (39%) and Chrome came in third (10%). It should not be surprise that 95% of those visits were from browser running on Windows (10% from Windows 7).

What follows next is five most read posts from last year:

1. Starcraft color problem

This is biggest surprise to me. My love for both Starcraft and Windows 7 gave offspring that has as much comments as all other posts together.

2. Windows Media Center without IR extender

Decision of Microsoft to add artificial restrictions to their Windows Media Center setup resulted in this post. Although I haven’t written program that solves problem, I do take pleasure at propagating word about it.

3. Logitech V470 bluetooth mouse review

Since I wrote such positive review, I personally had no choice but to buy one more. :)

4. HTC S740 hard reset

It was lack of documentation on HTC S740 that drove quite a few page views to this post. Although HTC added this to documentation, there is quite few visits still.

5. VHD install

This is something I personally think of most useful post I have ever written. It is something that I still use almost on weekly base and (in my personal opinion) single feature that makes Windows 7 most flexible OS to install.

S740 and Operator Does Not Exist in the Database

Every time I power on my HTC S740, I get same greeting: “The operator does not exist in the database. Please contact your operator for the connections settings. Connection Setup will redirect you to the Connection screen”. Once you select Hide as menu option, redirection to Settings\Connections does happen and you have your chance to define connections. Once you define connections, this screen will not appear again. That is how things should look like.

Probably I am problem here.

When I am traveling somewhere I like to delete all data connections. That is sure way to avoid roaming cost. However, when you delete all connections, Connection Setup screen reappears after every power-on. If I am traveling via plane, with few boardings in between, power-off and power-on cycle happens quite a few times and “The operator does not exist in the database.” gets boring pretty quickly.

Solution is quite simple but not obvious one. Turning that setting off is not done in Settings/Connections which, in my personal opinion, should be place for this. On HTC S740 you need to go into Accessories menu and there you will find Connection Setup. Once you run it, under Menu there is option “Enable Auto Configuration”. Uncheck it and you will not be bugged any more.

Hint to HTC - once user selects Hide, do not bother him again unless he changes his SIM card.