Originally Posted by devlogic
I think you mean Mac OS X, not iOS (the latter being the one for phones, pods, and pads). Mac OS X is built on top of a Unix derivative that's definitely not Linux. Specifically, it's based on (or rather, is/was originally) OPENSTEP, which was made by NeXt and based on FreeBSD/NetBSD, which are in turn based on BSD Unix. See the "Unix" and "OS X" articles on Wikipedia for the full story.
In terms of needing to make modifications to the OS in order to successfully talk to a Nexus S 4G over USB, I haven't needed to on my MacBook. Connecting the USB results in device detection, no matter what mode my handset has been in (note: I haven't tried "firmware restore" mode, but fastboot/bootloader, CWM recovery, and plain old "on" all work fine). In the past, I HAVE had to add my nookColor to the Android SDK's ~/.android/adb_usb.ini, but I've definitely never had to add my Nexus S to any configuration files at all. I think touchfan is right in trying to flash something else, then flashing back to CM9. Alternately, I might flash the stock image ( https://developers.google.com/android/nexus/images ) to reset EVERYTHING, then start over with a fresh fastboot erase recovery and fastboot flash recovery recovery-clockwork-touch-18.104.22.168-crespo4g.img (or other recovery of choice).
ios, Mac os x.. Same crap, different name.. But yeah, that was what I meant.. As a Linux user of 19 years.. (and originally didn't use it for good
(Lord Nikon, and the original g3 ring a bell from the late 90s?), but the reason I'm EXTREMELY familiar with the inner workings of android).. Basically, since it first hit the net.. I can assure you the wiki is bad info.. It's built on Debian, which, is built on bsd Unix (that part is right), because I've hacked a Mac os x system to recover a user for a client one time when they forgot their password (NOT an easy task, mind you), and it takes Debian (or bsd Unix) ONLY commands, to do it.. Please bare in mind, wiki is user-submitted, so the information presented is not always accurate..
However, back ot, I think you've basically answered your own question at this point.. lol all Linux, especially back in the early days, is ALL trial and error, with some luck and programming knowledge, soooo yeah, it sounds like you've pretty much got it figured out..
Sent from my phone
using my finger... ;)