I have been an Apple desktop user pretty much ever since they moved to the Intel architecture and I have been pretty pleased with my Apple computers. Unlike the bad experience I had with Windows and PC’s the iMac and OSX have been really great for the sorts of things that I do all the time. More recently though the quality of the OSX updates have been less than perfect and its starting to feel a bit like Microsoft all over again with regular OS updates that need a computer re-boot – anyway, I digress…!
One of the computers I use at work is an iMac 27″ and a few months ago the screen backlight failed, first it flickered and then half the screen went dark. So I call Apple and explain the problem and because my computer was a few months out of warranty they said my only option was to take the computer into an Apple store where they will fix it but I will have to pay for the repair – I decided not to do that because it would mean being without the computer and I need my computer at work so I decided to live with the half dark screen.
While looking around the apple support community forums I found out recently that although Apple are staying tight-lipped about this problem it would appear that *alot* of people are having this exact same problem and Apple is charging £400+ a pop to repair it – by replacing the entire screen panel it would seem….the problem has been dubbed “The Dark Side Screen Problem”…
Over on the Apple support communty “Kaos2K” found the actual root cause of the problem which is actually a manufacturing fault although Apple has been refusing to admit it so far. The problem is, heat from the backlight/screen seems to cause a surface mount 6-pin connector to break away from the board its soldered too, the only explanation for this is a poor solder joint at the time of manufacture. The thread that describes the problem can be seen here: –
I accept that the fault probably lays with LG who make the actual panel but still Apple should be fighting the corner on behalf of their customers. I anticipate Apple loosing the case and are likely going to be compensating everyone who has had this problem.
Using the information “Kaos2K” posted I decided to make a video on fixing my iMac.
Having undertaken this repair I have absolutely no doubt that this fault is down to a manufacturing defect relating to the quality and specification of the soldering of the 6-pin connecter too the LED strip used as part of the backlight, there is no way that connector should simply “fall off” as it seems to be doing. Given Apple is the biggest technology company in the world and are so very proud of their hardware (as they should be) its is an utter disgrace that they have not recognised this problem and stood by their customers. With so much in the news last about how much cash Apple have its a shame that in a position like that they have decided not to stand up and take responsibility – shame on you Apple, its stuff like this that will drive your loyal customers back to Microsoft….
My 2010 27″ 1TB iMac ran out of disk space because of the video content I was creating. Despite Apple’s best effort to limit my upgrade options I manage to upgrade it to include a 250GB Solid Sate Drive (SSD) plus a 2TB Hard Disk Drive (HDD) and get my system back to its last working state but with lots more disk space and much faster boot and application load times. Plenty of gotcha’s along the way – I had to work out and do a few ad-hoc adaptations. I cover new disk preparation, computer tear down, SATA adaptation, HDD temperature sensor hack and data moving, and data and account recovery.
This is the longest video and the longest blog article I have written to date, and thats reflective of how much there is to cover – is not a simple task.
I removed a Seagate Barracuda 7200 1TB drive which is still in working condition, despite being one of the drives on a recall by Apple. They offered to replace the drive some time back but I refused as it was inconvenient to be without my computer for a week, let alone the hassle of taking it to and collecting it from an apple store.
I installed the following components.
Samsung SSD 840 Series 250GB
Western Digital Green 2TB – 6 Gb/s 64Mb Cache
SATA 90 degree Cable
SATA Power Splitter
The 2TB drive was a perfect physical fit but did not have a compatible on board temperature sensor so I had to fashion one from a transistor, I used a TO-92 2N2907 and used the base-emiter junction as a silicone temperature sensor. The SSD drive had to be installed with double-sided tape but being so small and light this was the best solution. The whole modification to the computer is 100% reversible.
WARNING: This is an EPIC video at 1hr 20mins so only watch if you are really interested and have some time on your hands 🙂
The following outlines the various commands and steps I took to make this work. I am not saying this is either the only way or the right way, its the way I used and it worked for me. The most important thing I wanted to achieve was to preserve all of my data and never have a single point of failure for my data throughout the entire procedure.
Before we do anything we must ensure that…
The computer is in a working state.
Have a *FULL* backup of the system – in my case this was on an Apple Time Capsule
Ensure the current system has *all* software and OS updates applied.
Ensure that you are logged in and have administrative rights on the account you normally use
Using the drive copy station, connect the SSD drive to the computer via USB
Choose “Ignore” when you are prompted to initialise the disk you just connected.
Using the Applications/Utilities/Disk Utility create a single partition on the drive – use all default options, call the volume “OS Boot” or other name you will recognise or makes sense to you
Run the OSX Mountain Lion Installer application
When shown the drive to install on, press the Show All Disks button and select the drive you just created a partition on
During the install follow all instructions as if you are doing a new OS install, once complete it will want to re-boot, let it do what it wants. Eventually it will boot to your new drive
During the installation it will want you to create the administration account, call this “Admin” or something else you do not already have on your current system.
Don’t worry, your existing drive will still be intact. Once you have booted from the SSD drive and verified its OK, shut down the computer unplug the SSD and re-start, it will boot to the original drive once again.
Prepare New HDD Drive
Connect the new drive to the USB using the drive copy station
Choose “Ignore” when you are prompted to initialise the disk you just connected
Using the Applications/Utilities/Disk Utility create a single partition on the drive – use all default options, call the volume “Users”
You should now see your new 2TB disk in finder, the disk should be empty.
Now we need to create a temporary account to unlock your profile so we can copy your home folder to the new drive.
Create a temporary Admin Account
Open System Preferences/Users & Groups
Unlock the panel if required
Add a new user, in the New Account field select Administrator
Log out of the system, and log back in using this new account you have created
At this point you are ready to make a copy of your user profile(s) from your existing 1TB disk to your new 2TB disk. Open a new terminal window (Applications/Utilities/Terminal). You can list the accounts on your system by issuing the following command: –
ls -li /Users
For each account on your system that you want to re-locate to the new 2TB drive you should issue the following command: –
NOTE: You do NOT want to make a copy of the temporary admin account you created earlier that you are currently logged in as…
Do the hardware hacking
At this point you are ready to start the disk transplant process. You want to do the following things in order.
Shutdown the computer cleanly
Unplug all cables
Take the computer apart and remove the 1TB hard disk
Transfer the mounting braket and studs from the 1TB drive to the new 2TB drive
Put the old 1TB drive into an anti-static back and put in a safe place – this is your fast recovery/back-out plan
Remove the optical drive, screen backlight supply and main power supply boards, and then the main board – see video
Install the new SATA cable for the SSD drive – either use the third SATA port or remove optical drive SATA cable and use that port – depends on your iMac model
Replace the main board and PSU baords, take a lot of care routing the new and existing cables, there is very little room for error here
Install the SSD drive using double-sided sticky pads – make sure its well fixed, you do not want it coming loose as it will interfere withe air flow that cools the GPU – this will Kill your iMac!!
Re-install the optical drive (with or without being connected), the drive carrier acts as part of the air ducting…
Install the new 2TB drive
Fashion a suitable temperature sensor for the new HDD, I simply used a 2N2907 transistor which works a treat from what I can tell
Re-assemble the computer
Power up and make sure it boots to the new SSD drive
Log into the “admin” account you created – this should be the only account on the system
If all has gone well you should have a fresh new OS and you should be logged in as administrator. The next thing we need to do is re-create the accounts and then re-locate their home directory.
Follow these next steps carefully…
First of all you need to create a new account for each account you have re-located. In my case the account I relocated is “gerrysweeney”. So go into the System Preferences/Users & Groups tool, unlock it if needed, then create the new account. By default, this will create a new account home folder on the SSD, thats OK, we will need to deal with that next. If you have more than one account you have re-located, create a new corresponding account for each one. When you create the account, use the same password as your previous account, this way your keychain will remain accessible and valid once you re-instate your home folder.
Now you have a new account with a new home folder on the SSD drive, the next thing is to modify that account and point it to the home folder you previously re-located. In my case the account was “gerrysweeney”. In the Users and Groups tool, press the “Ctrl” key and click on the account name, you should get a menu option called “Advanced Options…”, select this. The “Home Directory” field will be set to “/Users/gerrysweeney”, you should change this to “/Volumes/Users/gerrysweeney”. Again, do this for each account you have re-located.
UPDATE: Having done this I realised that later on I still have to set up a symbolic link to the home folder which is a couple of steps below. In lights of that you can simply skip the above step of modifying the account properties to re-locate the home directory. Once the symbolic link is in place it will work without doing this.
Now we need to change the permissions of each account’s home folder data to the account – this is important to re-syncronise all permissions. Open a terminal window and for each account you have re-located you should issue the following command: –
This command will change the ownership of every file in this folder, including the folder its self and all sub-folders and files. Now I am not sure this is exactly right, it is feasible there are system files that should be protected from the user but I don’t know – what I done worked OK so its pretty safe. In any case you need to do this for every account you have moved – remember to replace “gerrysweeney” with the right account name.
Now you have given the right ownership to your files, we now have to deal with the fact that much of your existing configuration will be looking for profile and other content from /Users/gerrysweeney, and the way we deal with that is by creating a symbolic link. In the terminal window you should issue the following command to delete the newly created home folder on the SSD drive that we no longer need.
sudo rm -rf /Users/gerrysweeney
Now you should create a symbolic link to map the expected home folder location to the relocated folder on the new 2TB drive. To do this you should issue the following command:
You should do this for each account you have relocated. You can double check this operation worked by issuing the following command:
ls -li /Users
which should show you something like this...
135869 drwxrwxrwt 13 root wheel 442 13 Oct 20:22 Shared
329606 drwxr-xr-x+ 13 admin staff 442 14 Oct 10:18 admin
1056113 lrwxr-xr-x 1 root admin 27 14 Oct 10:17 gerrysweeney -> /Volumes/Users/gerrysweeney
You can see that gerrysweeney is pointing to /Volumes/Users/gerrysweeney
The next thing we need to do is recover your applications. You have the option of simply re-installing them all but thats a right royal pain, I found this worked really well and mostly re-instated everything for me.
Get your original 1TB disk and using the Disk Copy Station connect to the computer via USB, you should be able to see this drive in finder. Make a note of the volume name for the drive – in my case this was “Macintosh HD”. In order to recover the applications, you basically need to copy all of your Library and Application Files to the SSD. To do this issue the following commands: –
Now with all that done, you should eject the original 1TB HDD using Finder and you should shutdown and re-start the computer. While re-booting you can unplug the Disk Copy Station, you should not need it any more.
At this point you should be able to log in using your original account – in my case this was “gerrysweeney”. If everything worked out OK then you will now have a working system, your desktop, applications and settings should all be restored and in the same state as they were before you started.
Set aside a day to do this, its a pain, there is a lot of fiddling around and there is a lot of waiting for stuff to copy. In the end though its a worthwhile mod that Apple does not want you to do.
UPDATE: I had found this after I finished the article and Anton pointed out in the comments I should include this information because it is important. Thank you Anton.
In order to maintain the healthy state of your SSD and prolong its life you need to enable the S.M.A.R.T features and make the OS and the SSD Drive communicate using the TRIM commands. This basically allows the OS and the SSD drive to play nice and help prolong the life of the SSD by minimising erase cycles, the OS simply informs the drives that blocks are no longer in use. Doing this is easy, you can simply install a piece of software called Trim Enabler which takes care of this for you. If you want to know more about TRIM you can read this wikipedia article
DO THIS AT YOUR OWN RISK. I HAVE PROVIDED THIS ARTICLE IN THE HOPE THAT IT WILL BE USEFUL FOR OTHERS. HOWEVER, YOU SHOULD KNOW THAT OPENING YOUR COMPUTER INVALIDATES ANY WARRANTY YOU MAY HAVE AND WHILE THIS APPROACHED WORKED FOR ME, IT MIGHT NOT WORK FOR YOU AND IF IT ALL GOES WRONG FOR YOU I CAN NOT BE HELD RESPONSIBLE. THERE ARE LOTS OF DELICATE AND SENSITIVE ELECTRONICS THAT ARE EASILY DAMAGED IF YOU DO NOT HAVE EXPERIENCE HANDLING THEM – PLEASE ONLY DO THIS IF YOU ARE CONFIDENT IN YOUR OWN ABILITIES
Having played with a number of OCXO’s and a Rubidium standard I tried (after repairing it) to calibrate the standard timebase in my Racal-Dana 1999 counter which is actually a simple TCXO. I could get pretty close but it was touchy and not easy to be totally precise. In response to that vlog article a number of people suggested it would be nice to do an OCXO modification to the Racal counter so I decided to do exactly that, and I done it on a budget too…
One of the problems with this counter is the lack of any 12v supply that is able to provide enough current to drive the OCXO’s oven, so I had a look around and found an OCXO made by Isotemp model OCXO131-100 that runs on 5V which is perfect for this build because the counter has a good 5v supply that can easily drive the additional current required – I have provided a download link for the data sheet for the OCXO I used below below. I ordered one from a seller on e-bay and used that as the basis for the hack.
The other key component needed to implement a stable OCXO board for this counter is a “temperature stable” variable voltage between about 1 and 4 volts, this is used to fine tune the OCXO to allow the oscillator to be calibrated. To get me a suitable reference voltage I have used a MAX6198A, chosen simply because I had some to hand – but also because they have pretty darn good temperature stability too.
Here is the schematic I used to create the OCXO board.
The PSION II was the worlds first PDA (Personal Digital Assistant) and was revolutionary in its time. In reality it was next to useless for most things but if you persisted you could store your contacts in it at a push. In this video I take it apart to have a look inside at that 80’s 8-bit computing excellence, break it and repair it along the way.
The architecture is basically a simple 8-bit computer based on a Hitachi HD6301 CPU (now obsolete of course) which was a CMOS version of the now legendary 6800 microprocessor. The CPU running at just under 1MHz along with a couple of EPROMS and some SRAM make up the entire system, very simplistic by todays standards. The portability was made possible because of both the CMOS technology as well as surface mount components which were are relatively new innovation at the time.
The system used Data Packs which at the time were quite expensive. A Data Pack is essentially an EPROM while a RAM pack is a battery backed SRAM chip. These packs are in small cartridges and the PSION II could have two cartridges loaded at any one time. When the Data Pack got full you had to remove the small board from the cartridge and expose the internal EPROM’s window to UV light – not sure how PSION got away with marketing this but I suppose at the time thats all that could be achieved for permanent storage in such a small package.
This is a very hackable device but when all said and done – what would you use it for. The one thing it could be converted to is a portable EPROM programmer, that would not take much effort but EPROMS are not really much use now days. So with nostalgia set aside I cannot think of any sensible use for this (except donating to a computing museum perhaps) so its going into the garage on the “Of no earthly use but too nice to throw away/scrap”!
I found some useful links on the web which describe the technical and user details of these machines which I have provided below.
I have been using this Racal-Dana 1999 counter for a long time and in the last few months it started to suffer from an intermittent fault where it would appear to freeze and stop responding. Banging the unit on the side with the palm of my hand would get it going again, and when doing this it would often restart as if its been powered on. In addition to this fault, the counter suffers from an altogether common problem with the buttons on the front which loose any tactile feel to them and become difficult to actuate – this is a common problem on these counters and thats down to the poorly designed switches Racal used for its frequency counter range.
I identify the fault and fix the problem and I replace all the buttons with ones that work and end up with a fully restored frequency counter once again.
I have made the manual including schematics available here for your convenience
Racal-Dana 1998/1999 Frequency Counter Service Manual 2.84 MB
Having obtained a reasonably reliable 10MHz lab reference (see here) I decided to calibrate my Frequency Counter only to find that the stock oscillator provided in the HP 53151A is absolutely terrible – a joke even! I looked around for an “010 High Stability Timebase Option” but they are rare — and if you can find one not installed in a counter they are very expensive – in the few hundred dollars range at least — and buying one from HP is, well, expensive in the extreme. There are many second-hand 10MHz OCXO modules available, these are mostly stripped from old telecommunications, satellite or cellular equipment so they are plentiful and relatively cheap to buy too. I decided to make a clone 010 option board for my counter using a second-hand OCXO bought from e-bay. I designed a PCB to get a professional finish as well as a reliable upgrade for my counter. The main goal was to make an option board that just like the original could be automatically calibrated using the internal software and front panel controls so I had to use the same DAC chip (which is now obsolete) and basic topology of the original option board to make it work.
The result speaks for its self – with the OCXO running as the timebase, the counter is able to measure the 10MHz source it was calibrated with to a precision of 100th of one cycle with no error!
The schematic is pretty simple and self-explainatory. The counter seems to need a differential square wave clock drive, this is created using a high-speed differential output comparator part LM361. The DAC is an AD7243 part from Analog Devices, this part is now obsolete and not recommended for new designs but they are still available from various sources, albeit quite expensive parts. It would have been possible to design in a newer part but for the small number of units I wanted to make, it seemed a bit pointless to go to the effort as the recommended newer part actually requires different serial signalling, and this would have required some kind of serial protocol converter micro controller. The DAC is driven by the counters microprocessor to calibrate and tune the timebase. The ADR4550 provides a high stability 5V reference for the ADC. The rest of the circuitry is basically power supply and signal filtering.
The PCB layout was designed to accommodate different OCXO footprints making it flexible. As well as supporting OCXO’s there are footprints for SMA connectors and you can even use a low-cost TCXO which cannot be automatically calibrated but is still a considerably better option than the oscillator built into the counter.