Entries in Hacking (4)

Saturday
Sep152007

Anything Shooby Can Do...

I was reluctant to brick my own iPhone, but thanks to David K. MacArthur of Fast Cash Pawnbrokers who FedExed me an unactivated iPhone from his large collection of pawned phones today, I decided to sit down with Shooby's excellent instructions and try iUnlock. It worked flawlessly the first time and I am sitting looking at an iPhone on T-Mobile. I just checked my voice mail: No Visual Voice Mail® - who cares - but it works swell! Just as I finished, of course, iPhone Dev Team announced an all-in-one GUI unlock, so now it's even easier. I wonder if Scott Bourne will believe me? ;-)
Thursday
Sep132007

I Was This Close

I came so close to unlocking my iPhone this morning, but I just couldn't pull the trigger. Shooby's unlocked iPhone screenShooby has unlocked his using iUnlock - the free unlocker from Harro Inc. the iPhone Dev Team. That's a picture from his phone showing T-Mobile as a carrier - he posted the news on Pownce. I got as far as running iFuntastic on the phone (Windows users should try the scarily named, iBrickr) but it didn't quite finish completely, and I just don't have the nerve to run iUnlock on it now. It would be great to cancel this AT&T account (instead of cancelling my dormant T-Mobile account), but it would be even better to show an unlocked phone to the perennially skeptical Scott Bourne. Maybe I'll get up the nerve later today.
Friday
Dec311999

Dial-A-Song, Day 3

Uh oh. Now I'm worried. CompUSA didn't have ANY voice modems. Could this be a dead category? I've got all the software theoretically working, but I can't tell if it's actually doing anything until I get a voice modem. I'll check Central Computers in the morning. Otherwise I'll have to show EBay.
Friday
Dec311999

TMBG Day 4

Back to work on the TMBG answering machine. The clock is ticking down. John and John are going to be on the show on Tuesday, so it's now or never. I'm going to post my work notes, in case there's some interest. I'll turn them into an article for The Screen Savers web site that might be a little more readable. I imagine most of you will want to skip along to the next post, however. I have borrowed a "voice modem" from Roger. It's a Zoom Model 3049 - PC V.92 56K external modem with voice capabilities. I have no idea if vgetty will work with this thing at all, but I'm willing to give it a try. I've modified /etc/inittab as indicated in the (sparse) vgetty documentation to start vgetty on boot. I'm kind of guessing here but this seems to work:
S1:S3:respawn:/usr/local/sbin/vgetty modem
Checking the vgetty log file (/var/log/vgetty.modem - which is very helpful and complete) I see that indeed something is happening. Vgetty seems to be starting (amazing) and can even communicate with the modem. But I also see that I've put voice.conf, the vgetty configuration file, in the wrong spot. I'm moving it to the correct locale: /usr/local/sbin/mgetty+vgetty/. ... Still not seeing voice.conf. I'm chmod'ing it to 666 to give world r+w privileges. That worked. ... Now a new error message. There's no group "modem". So I'll create one. I'll make the root a member of modem. I think the system will always run as root anyway since there's no net access and no way to hack it. Done. Error message is gone. ... The log also tells me that the modem is a "generic Rockwell" voice modem. That's very encouraging, since vgetty supports the Rockwell chipset. The log says it's seeing the modem on /dev/modem and the config strings are going through. I'm getting an error however when vgetty tries to initialize the voice modem functions. Uh oh. Sure enough, the modem will not answer the phone. It sees it ringing - the AA light comes on - but it doesn't pick up. I'm thinking it has a proprietary voice interface. Wish I had a ZyXel lying around. ... While I'm pondering that problem, I'll start working on the scripts to convert the MP3s on the CD into the answering machine message. First I have to convert a TMBG MP3 into a form the voice modem understands (rmd) using the following programs, SoX, wavtopvf, and pvftormd. The last two come with vgetty, but I have to guess which rmd format to convert to. Probably Rockwell 8-bit, right? # convert to 16-bit wav at 11,025 bps (that's all wavtopvf understands) sox happy.mp3 -w -r 11025 happy.wav # converts to pvf, an intermediate format wavtopvf happy.wav happy.pvf # final conversion to modem audio format pvftormd -Rockwell 8 happy.pvf standard.rmd This all seems to work, but there's no way to verify it until I can get a voice modem that works with vgetty. I'm so close, but... that's enough for today. Time to trick or treat.