SanDisk SDMX1-1024R – Disassembly Instructions

After fixing three different mp3-players with the same problem I’m starting to see a pattern of bad soldering on the connections for the ear phones plug. Fortunately the fix is easy if you have a basic knowledge about soldering.

I’ll go into detail for how I solved the problem with a SanDisk 1GB, MP3-Player (model number: SanDisk SDMX1-1024R).

Before you begin, remember that if you have warranty for your product try to get it replaced before. This fix will void your warranty!

Start by removing the three screws as in image 1 and 2.

Unscrew 1
Image 1

Unscrew 2
Image 2

Then you remove the plastic shields on both sides as in image 3. This was a bit tricky, but if you are careful and try to lift it up in one side you should be fine.

Remove the plastict shields.
Image 3

Image 4 and 5 shows how it should look once the shields are removed.

Plastic shield removed 1
Image 4

Plastic shield removed 2
Image 5

Then you lift up the plastic body on one side, this was also a bit tricky, so be careful! Image 6 shows what it should look like.

Remove the plastic body
Image 6

Remove the ”main board” as in Image 7.

Mainboard
Image 7

Then you remove the card that holds the ear phones plug by lifting it. Image 8 shows the ear phones card removed.
Ear phones card
Image 8

I could then see the bad soldering on the connector for the ear phones plug and I replaced that. Once I was confident that my new soldering was good I put the mp3-player together again and it worked.

CSS Image rollover menu lists

Today I needed to build a menu consisting of images for a new website we are launching in a couple of days. I wanted to use a simple list with the links and use the background property for each li element to show the images. The text in the link-images were rotated and that caused a problem, I had to hide the default link text when the style sheet was loaded and display the text when the style sheet was unavailable (if you for example are having visual problems or use a PDA).

The next problem was to have a nice way to change the background image if a link is active or if a link is hovered. This can be done using JavaScripts, but I wanted to use CSS instead. This can be achieved using the a:hover pseudo class and output a class=”active” for the active element.

If this sounds like something you need, read the following:

  • Stuart Langridge describes how a background image can ”override” the default text in an element
  • Pixy describes how rollovers without JavaScripts can be accomplished
  • SimpleBits describes how these two techniques can be combined

Update (060731): I have found one problem with this solution. If you surf the site with CSS enabled, but images disabled you are not going to see the menu. I have not yet any solution to this, but I’ll update this post once I have found a solution.

Using WordPress as news column

When building my latest web site (Slipstream Longboards) I figured that I should use some existing tools for the news column. Since I had some knowledge about WordPress I decided to go with that. What I wanted was to use the nice WYSIWG editor WordPress and also to have a nice way to generate the RSS Feeds.

I started reading on the WordPress web site and found that there is a nice API for this type of sites (See the Codex pages).

Basically, this is what I did:

  1. Installed WordPress
  2. Moved and transformed the old data
  3. Outputed the data from WordPress to a non WordPress page
  4. Outputed the data from WordPress to a RSS Feed

I will describe how I did step two, tree and four below. For more information about installing WordPress see the WordPress web site.

Move and transform the old data

Since the old data was a limited amount of data (about 10 news posts) I figured that I should just output the data and then do some text manipulation which made it compliant to the MovableType format and then import it into WordPress. This turned out to work well and I had the data inserted into WordPress in less than an hour.

Output the data to a page outside of WordPress

To get the data from WordPress I used the WordPress loop which is a way to query the database and output the data. It is realy easy to use.

First you include a file from WordPress using:

define('WP_USE_THEMES', false);
require('./news/wp-blog-header.php');

Then you can use the WordPress Loop.

if ( have_posts() ) : while ( have_posts() ) : the_post();
// Output your data here
endwhile;

To output for example the title and the body for your posts you use:

if ( have_posts() ) : while ( have_posts() ) : the_post();
the_title();
the_content();
endwhile;

It is possible to restrict the data to only output for example posts with a different author or to only output posts in a specific category. See the Codex page for more information about this.

Output the data from WordPress to a RSS Feed

To customize the RSS Feed for this web site I simply copied the wp-rss2.php from WordPress and changed;

  1. the URL to the web site to point to the first page for the web site instead of the first page for the blog
  2. the URLs to each item to be displayed on the web site instead of the blog
  3. I also had to include the wp-blog-header.php file (all as done above) and remove the include for the wp-config.php and delete the the call to the wp(feed=rss2)

And that produced a nice feed.

Windows rescue disk

When I did a re-installation of my Windows box recently I figured that I should create a rescue disk containing all service packs, drivers and some tools. I searched around a bit to see what was available and found that most people recommended Nortot Ghost, but I didn’t want to pay $70 so I kept on looking and found out that Device Image could create a disk image of a partition (or complete disk) which was what I needed.

Basically what you do is that you boot up a Live CD (available from their web site) or if you happens to dual boot you machine with Linux you can use that. Then you mount your Windows partition and a partition where you have enough free space to hold the backups. Linux is not able to write to a NTFS partition so you should use any other partition for the backup images (for example Fat32, EXT3 or ReiserFS). Device Image can read NTFS so the Windows partition can use NTFS.

If you choose to backup a partition rather than the complete disk you should know that the MBR (Master Boot Record) on the disk is not stored on the partition and you must therefore use a tool (for example Ultimate Boot CD) to recreate the MBR when you restore the data.

Also note that when you create the images it copies the complete partition which means that the size of the images will probably be quite big. You also must have a partition that are at least equal in size as the partition you created the images on to restore the images later.

The documentation on the Device Image web site (as well as a Mini-HowTo) explains how you do to create the images and later restore the partition.

I have not yet tried to recover my system and I hope that I don’t need to in a year or two but I’ll update this post once it’s verified that it works. If anyone tries the recovery please post a comment in this post!

Update 070518: I have now recovered the partition from the images I created using Device Image and it worked like a charm. I highly recommend this tool!

Update 080627: I recently had to generate another image for another computer. I decided to try to use PartImage that is a tool like Device Image. It also worked fine so try any of them!

Cellphone stuck in headset mode!

Today my cellphone got stuck in headset-mode. I mean really got stuck. Nothing seemed to work (reboots, hard reboots, all the ”standard” trix) .

I found out that there are some switch inside the hole for the headset plug that every now and then gets jammed and keep the phone from understanding that there are no plug in the hole.

So I ended up pouring olive oil on the plug to the headset, then inserting it into the hole, jamming it around a while and removing it. Voila! It worked! You could probably use some other oil, but olive oil was the best I had ^_^

Pouring olive oil on the head set plug
Olive oil on the headset plug.