Showing posts with label apple. Show all posts
Showing posts with label apple. Show all posts

Monday, October 28, 2013

Making an OS X Mavericks USB Installer

I have put off updating my OS X install since Snow Leopard. All the applications I have wanted to use were supported on Snow Leopard, and even people I know who worked for Apple were unable to give a compelling reason to upgrade. Very recently (within the last two weeks) I have found just two applications that I was interested in, but unable to install on my vintage OS X. So I began looking to upgrade, and to my surprise the most recent version of OS X (10.9 Mavericks) was a free upgrade.

There were some things that I had done to my existing installation that I wanted purged, and it had collected clutter since Snow Leopard was first released - yeah it has been a very stable OS.  The solution was to make a bootable USB drive.  There are no shortage of tutorials on various pages for doing this, and a number of developers have even created applications to take care of the dirty work for you. The problem was that none of those methods were working for me.

It seems that they were all running into problems formatting the drive I was using, and I am still not sure what the problem was.  After running the following command

$ sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction

And entering the necessary credentials I got the following error (complete with an grammatical error).

Failed to start erase of disk due to error (-9999, 0).
A error occurred erasing the disk.

Several Google searches for an explanation or workaround yielded little help. Luckily I stumbled onto a macworld tutorial that offered a more manual way to create a Mavericks USB drive.  The section of interest is the one labeled "Option 2: Use Disk Utility."  I was able to use these instructions when nothing else would work.  Here is a simplified set of instructions:

  1. Mount InstallESD.dmg - once you have downloaded Mavericks to your main Applications folder, right-click the installer, and choose Show Package Contents from the resulting contextual menu.  In the folder that appears, open Contents, then open Shared Support; you'll see a disk image file called InstallESD.dmg.  Double-click InstallESD.dmg in the Finder to mount its volume.
  2. Mount BaseSystem.dmg - using Terminal with the command
    $ /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg
  3. Restore BaseSystem.dmg to the destination partition - launch Disk Utility and Select BaseSystem.dmg in Disk Utility’s sidebar, and then click the Restore button.  Drag the BaseSystem.dmg icon into the source field on the right, and the properly formatted destination partition into the destination field.  Click Restore, and wait for the restore procedure to finish.
  4. Replace the Packages alias with the real thing - open the destination drive, open the System folder and then open the Installation folder. Delete the alias called Packages.  Open the mounted OS X Install ESD volume, and drag the Packages folder into the Installation folder on your destination drive (you are replacing the deleted Packages alias with this Packages folder). 

I now have a clean installation of OS X, and so far it is OK.  I have had some issues with Google Chrome's Flash process keeping my MBP awake and draining the battery, but so far nothing earth shaking. That's how it should be; operating systems should be boring. To quote Linus Torvalds:

Guess what? Wheels have been round for a really long time, and anybody who "reinvents" the new wheel is generally considered a crackpot. It turns out that "round" is simply a good form for a wheel to have. It may be boring, but it just tends to roll better than a square, and "hipness" has nothing what-so-ever to do with it.

This isn't to say that performance and security updates are not necessary and welcome improvements, but who cares about the latest iOS/OS X blah feature that will change your life.  For me a good terminal and a decent browser have been almost all I have needed for the last three years...especially on a laptop. On a side note I did upgrade to an SSD at the same time, and that was an amazing performance upgrade.

Wednesday, August 22, 2012

Why you old phone is slow


I was recently asked by a great friend, "So do you know why Droid's go to shit when they are old?  Is the hardware breaking down?"  I did not work for Android, and this is my personal (if somewhat educated) view on the subject.

A desktop and a laptop to an extent can be over provisioned in terms of hardware with no adverse consequences.  Mobile devices don't have the same luxury - they have to balance performance with the available battery technology at the time of production.  So to give people the best battery life (something they complain about a lot) they have to build the phone with just enough horse power to run the OS at time of design with 1+ years of design time...  They try to anticipate needs when the device will actually be built, but that's hard.  you are trying to design a product that will use a CPU that may not even physically exist yet, with a battery you hope will exist, and an operating system that is being built by a separate team (maybe even a different company) that you can estimate will need more resources that the state of the art.

So with all that in mind it becomes more clear why it is easier for companies that control the hardware and software to build a device that works for a long time.  This is why I have come to appreciate the Nexus Android devices, because the software is designed with the hardware.  Think about the team that was building ICS, they were developing and testing it on Nexus S devices - hence even though it premiered on the Galaxy Nexus it runs very well on the Nexus S.  This is why even though these devices may not have the fastest processor or bells and whistles they will operate better for longer than other devices.

That said, the fact that Android is open source allows the community of developers to make up for the shortcomings of the companies that originality produced the Driod Something.  Custom ROMs can be tweaked and fit to run well on legacy devices, but locked boot-loaders (not the case on Nexus devices) and grumpy wireless carriers hinder this process.

So how about not installing any updates and keeping the exact same software that was on the phone when it was purchased?  First realize that the phone that was on the phone when it was purchased is not the software that was used to design the device (software updates for pre-production code come rapidly and they are generally non-trivial changes).  second you cannot get away with not installing software updates both for your own safety/privacy/happiness, but also as a responsible user of the network that we call the Internet (I don't want SMS spam from your phone).

So if you want to have a good long term relationship with your phone get a Nexus device, iPhone, or look for phones with unlocked boot-loaders and be prepared to tinker with it yourself.

Thursday, December 30, 2010

My First Android Tablet

I recently purchased an Android tablet, and I wanted to share some of my initial thoughts and reactions.  I did a good bit of research and finally decided on the Viewsonic gtablet.  The reason I decided on this tablet was that the hardware in the unit looked great on paper.  I was able to pick it up at the last minute from a Sears for cheap ($370 at the time I bought it).  But anything that I can list out here can be found at the above link.  There seem to be a lot of varying images for the tablet, but the one we ended up with looked like this


My motivation for this purchase was to entertain our twins (1 year old boys) on a long drive (28 hours in the car spread out over 4 days of driving).  We had borrowed a in car DVD player from one of my wife's co-workers, but the engineer in me spotted some immediate problems.  

  1. Keeping up with, changing, and dealing with fragile (prone to scratches) DVDs was not going to make our drive any easier.  
  2. They each get their own screen, but the screens are poor quality, only 7 inches, and only show the same image.
  3. There are a lot of wires running all over the place with these things, and if you have a toddler you know how irresistible a draping cable is!
  4. They don't have a battery (stopping for gas?) so turning off the car resets everything.
  5. While I could go on -- they are just pretty lame too...


What  you see on the screen above is the Tap-n-tap firmware that comes loaded on the tablet.  This is probably the source of most of the issues, but more about that in a bit.  For now here are some of the pros and cons for this tablet.

Pros:

  • Resolution - The screen looks great when viewing it close up or even at a modest distance at a narrow viewing angle.
  • Speed - Compared to my first generation Motorola Droid and even when compared to my wife's second generation Droid the hardware (at least on paper) is quite adept.
  • Size - This thing is stylish and svelte even compared to the iPad.  The screen ratio is even better for viewing widescreen movies.
  • Battery life - The battery on this thing lasted for about 6 hours of continuous use.  We were either playing mp3s on it or playing a movie for the kids, and we did not have to charge it in the car once.
  • Sound - My wife and I watched a movie on the tablet at the in-laws one evening and much to our surprise the tiny speakers on this made a reasonable sound.  We were impressed enough that we even used it to play some holiday tunes one morning.  
But for all the pros that this tablet has there are some problems that one has to contend with.

Problems:
  • The software on the tablet as it comes out of the box is not usable.  This is not and exaggeration, and keep in mind that I bought the first Android phone with the first version of the software.
  • The touch screen has issues with sensitivity.  Even once the available adjustments are set such that the screen is at its most sensitive, it is difficult to get it to register a touch.  This is especially true around the edges of the tablet.  Given the wide spread nature of this issue and the fact that it is consistent across different versions of software, I believe that there are obvious hardware limitations at play.
  • While the screen looks fantastic from strait on, the viewing angle is somewhat limited.  If you have never owned or used a slate style tablet before, then you probably aren't expecting that the tablet is a social instrument.  I was surprised by the fact that unlike a phone, the tablet provides a comfortable opportunity for collaboration.  The twins were far enough away from the tablet so that it wasn't too much of a problem, but when viewing a movie with my wife I found that the angle needed to be fine tuned frequently.

The update from Viewsonic was a vast improvement over the firmware that was on it out of the box, but the interface was still very poor.  I used a couple custom roms (Cyanogenmod and TNT-lite) and I am sure that more can be found with a quick Google search.  They made the tablet much better, but there were some lingering issues like the battery meter always reading 100% and force closes.  One piece of software that I did not get to test, but that sounded very cool was GPS tethering.  The idea is that you can take advantage of the large screen for navigation.

In preparation for our trip we needed to find a good mounting location that provided easy access from the passenger seat with a good view from the back seat.  I thought long and hard, and finally I decided that the front sunroof of our Discovery II was the solution.  I bought a cheap cell phone mount at a box retailer, and cut off the part that held the cell phone.  Then I cut a piece of plywood so that it was about 1/2 inch bigger on all four sides of the tablet.  I drilled holes at the four corners of the wood to thread elastic straps through.  The last step was to mount the stub of the phone mount to the back of the plywood.  This allowed for a lot of flexibility in placement, and held sturdily.  I will be making another one, but this time I will not be using a cheap phone mount.  The one I had used a stiff, but pliable adjustment.  The next one I build will have a hinged mechanism.

For a car charger you can't use a USB charger (not even with some custom wiring) because the output is too low.  SO I had to buy one at Radio Shack.  Not a big deal, but still an annoyance.


All in all I think the tablet fulfilled it purpose of entertaining our twins, but the thought of trying to use it for anything other than viewing media was going to be a nightmare.  The touchscreen issues killed it for me, and in the end it was returned.  Sears was great at returning it.

When I left Sears though I stopped by the Apple store to play with an iPad.  I still don't care for iOS, and the arrogant Apple clerk made me want to run screaming out of the store (full disclosure we have 4 macs at home and two more at our jobs).  That being said, there is no comparison between the responsiveness, and how smooth the iPad operates.  Maybe jailbreaking would make me feel better about the closed nature of the iPad, but that won't help me swallow the price.  Still this just reinfoces the idea that you get what you pay for, and after this experience I am going to have a hard time buying another Android tablet.  I just don't feel good about being an iPad owner.

Thursday, March 11, 2010

OS X Time Machine Lacking in Options

My time tested method for backing up my laptop was to run a Bash script that would rsync various directories to my Linux server at home.  The nice things about this were:
  • I was in complete control of what got backed up and how.
  • I could work on things just as easily on the Linux server as I could on my OS X based laptop.
  • Copying things back over to the laptop was a cinch.
  • I could schedule it to run as frequently or infrequently as I wanted by using a chron job.
This method of backup worked wonders for me, but my wife did was not onboard with using Linux.  I was intrigued by the osX86, so I hacked a mac.  It works great!  It is stable, fast, and easy to use.  I had not been able to use time-machine for backups before, but I thought I would give it a shot.  I set it up on my laptop to backup to the desktop and when I say I set it up, there was very little to configure.  I know that is the idea, to make it dead simple for everyone, but at least give me an advanced options pannel or something.  Here are some of the things that bother me that I would like to change:

  • It tires to backup my laptop when I am away from home, and this would not be a problem if it were not for the resources that it uses.  It seems to access the disk so heavily that it slows other applications.
  • You can exclude some directories from being backed up, but that is about the extent of the options.
I am not going to be one of the people that complain about a problem and don't suggest possible solutions, so here are some things that I would like to see.
  • Backup only when connected to my home network (can be recognized by subnet).
  • Allow choice of how a directory should be backed up.  Some I would like to be backed up more often than others, and some I would only like a working copy (shorter history).
  • Schedule backups to only happen durring certain times, or not to occur when the computer is very busy.
  • Allow for backing up to a local temporary directory when I am away from home and then commit that when I return.
  • Allow to chose a server based on location.  So it would back up to one server when I am at work and another when I am at home.
Again, this is just a list of ideas of features that would be nice to have.  I am sure that there are programs out there that do all of these things, and to that my original backup methods do just that.  I would like to see some of these options to be available for my wife's computer.  So Steve Jobs, I hope this helps.

Wednesday, September 09, 2009

Making my mac do what I want... NOW!

So I am going to have to come back to this later and add more to it, but the basic idea is this:

I used to use a program called Quicksilver to search for things on my mac and to launch programs that I don't want to keep lying around in the dock. I noticed that it made my machine slower to login and it could hog resources...

I decided to try out the native OS X solution, the spotlight, and much to my delight it was speedy and pretty well done. Since it is already running by default, it is not using any more system resources. Then I thought, what if I could search google and the web from it... So I found this:

Google Importer 1.0.1
http://www.apple.com/downloads/macosx/spotlight/googleimporter.html

I will try and followup on how well it works...

WELL, that was short... At least the website saved me the trouble of downloading it, becasue when I tried it informed me that it was not compatible with OS X Leopard (Tiger only). So now I have to find another way to search quickly. I have heard some negative reviews of the google desktop search... Oh well :-(

Thursday, September 03, 2009

"the U.S. and Canada are the third world of mobile phone networks"

I was just reading an interesting article on the NTY website about the overload that the iPhone is placing on the ATT&T network:

Customers Angered as iPhones Overload AT&T

I understand the need for a company to make money, really I do, but at a certain point companies need to invest in maintaining an advantage over their competition in the future. I would own an iPhone today if I had not had such a crappy experience with Cingular/ATT&T years ago (almost 10 years!), but with that in mind I will continue to use my palm with Verizon. My palm is fast and not without its flaws but it is a known, and I have heard that things have not improved much on the ATT&T network since my experience.

If you are not a frequent visitor to my blog then you may not know that I am a computer science graduate student, and that my area of research interest is in networking and distributed systems. I should be very clear in saying that there is no silver bullet and no perfect network. They all have their own advantages and faults. Take the home access to the Internet in the United States as an example. I have hear rumors that in parts of Europe and Asia one can get a network (Internet) connection that offers roughly 10 times faster download speed and an amazing 400 times faster on upload. This connection can be had for as little as $10 us and I pay almost 5 times that amount for a connection that is much MUCH slower. Am I angry because I want a faster connection? No, I am angry because I pay so much for a "slow" connection. For most of us, we don't utilize a substantial portion of the connection we have. Like my friend Mike J. says... As long as the tubes keep the [media] flowing ;-)

I don't want to get into a debate about why the US is a leader in innovation, but lags so far behind in implementing and deploying those innovations, but I would like to see us do a better job of doing things right. Maybe if we get our priorities strait...

So I guess its my own humble opinion that it is not the iPhone that is the adversary, but a network that is not up to global standards. Hell we invented the internet 40 years ago, you think we could get it right.

Wednesday, September 24, 2008

IChat google Talk troubles

So I all of a sudden started having intermittent trouble logging into talk.google.com with Apple's iChat. Just before conceding I remembered a bug that I discovered in Leopard where any password with a '?' in it would be rejected. So I decided to change my very easy password to something different, when I did this I noticed that the new passwords had a minimum requirement of 8 characters. Once I changed it I no longer got the log in error! So If you are having iChat problems try updating your Google password, because I worked instantly for me.