On Sat, Sep 17, 2011 at 9:29 AM, ron minnich wrote:
>
> OK, more data this morning.
>
> Since the cyanogen upgrade, no linux vm I have on OSX/VMWare can
> enumerate the phone over USB. This is a very common problem as
> revealed by any search.
>
> On the one linux box I have, the phone is enumerated as a USB storage.
> There may be some setting I need to reset ... but that box, having
> been turned off since april, seems to have decided it can't do wifi
> more ... so, that's not an option at present!
>
> I did try downloading the android sdk on a clean vmware-based linux
> platform. No fastboot in there. So far the only fastboot I have is the
> one I built from source during android bootcamp.
>
> You can NOT install inferno from anything but Linux. There are a few
> linux tool dependencies in th scripts that can not be satisfied (yet)
> on a mac. I am going to see what is possible.
>
> I continue to be amused that all these Java "write once run
> everywhere" environments always come with a huge stack of "this CPU,
> this OS, this version" programs without which they can not function.
> Hmm. All I need with inferno is emu. Maybe inferno can teach them some
> things :-)
>
> Finally, it's a linux phone: I keep thinking I ought to be able to do
> the install scripts on the phone, not on some other box and download
> them. If I can figure out where to plug in an SD card -- it claims to
> have one! -- I might just give that a go.
If I'm understanding right, you have adb but not fastboot on Mac,
right? As long as your phone is unlocked, you can still install
inferno on the Nexus with just adb by manually flashing the boot
partition. Once you've pushed everything over to /data/inferno, run
the Reflash-Nexus-S.sh script. It should fail at the fastboot step,
but that's fine. Reboot the phone into Cyanogen. Then, from the same
folder as the Reflash-Nexus-S.sh script:
$ adb shell mount -o remount,rw /
$ adb push boot-inferno.img
$ adb shell
Now you'll be in an Android shell.
android$ cat /proc/mtd
This will hopefully give you a list of "mtd" devices and their names.
We only care about the one called "boot."
android$ cat /dev/zero > /dev/mtd/<"boot" device from above>
The zeroing step may not be necessary, but I've never tried flashing
the boot manually without it.
android$ flash_image boot /boot-inferno.img
Then reboot and it should work.
If it's broken, the good news is it's nearly impossible to screw up
the recovery partition. Boot into the bootloader by holding the power
and volume up buttons, then enter the recovery mode and reinstall
Cyanogen.