9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Joel Armstrong <joelcarmstrong@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Announcing Inferno for Android phones
Date: Sat, 17 Sep 2011 11:23:45 -0700	[thread overview]
Message-ID: <CACkDJLxUVrix45OxuhQRX-K+aEbjdZ_vu+CUXJVtq5rOydwuBw@mail.gmail.com> (raw)
In-Reply-To: <CAP6exYLu+eKCgMEo8M2SiQ=_JXsr5VuqS0VtzEcV+-04qn9ufg@mail.gmail.com>

On Sat, Sep 17, 2011 at 9:29 AM, ron minnich <rminnich@gmail.com> 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.



  parent reply	other threads:[~2011-09-17 18:23 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 22:23 John Floren
2011-09-16 22:30 ` Nemo
2011-09-16 22:32 ` andrey mirtchovski
2011-09-16 22:39   ` Mathieu Lonjaret
2011-09-16 22:43     ` John Floren
2011-09-17 10:58     ` Richard Miller
2011-09-17 12:24       ` Mathieu Lonjaret
2011-09-16 22:41   ` Paul Lalonde
2011-09-16 22:46     ` andrey mirtchovski
2011-09-16 22:49       ` Nemo
2011-09-16 22:49       ` John Floren
2011-09-17 18:02       ` John Floren
2011-09-17 18:26         ` Joel Armstrong
2011-09-21 22:06           ` Ethan Grammatikidis
2011-09-21 22:11             ` ron minnich
2011-09-21 22:14             ` John Floren
2011-09-22  7:38               ` Bruce Ellis
2011-09-22  9:59               ` Ethan Grammatikidis
2011-09-16 23:34 ` Bruce Ellis
2011-09-16 23:38   ` ron minnich
2011-09-16 23:59 ` Joseph Stewart
2011-09-17  2:01 ` John Floren
2011-09-17  4:24 ` ron minnich
2011-09-17  4:35   ` John Floren
2011-09-17  4:43 ` Skip Tavakkolian
2011-09-17  5:48   ` ron minnich
2011-09-17 15:36 ` Ethan Grammatikidis
2011-09-17 16:29   ` ron minnich
2011-09-17 17:46     ` Wes Kussmaul
2011-09-17 18:01       ` John Floren
2011-09-17 18:23     ` Joel Armstrong [this message]
2011-09-17 20:26       ` ron minnich
2011-09-17 21:14         ` Joel Armstrong
2011-09-17 21:15           ` Joel Armstrong
2011-09-17 21:25           ` ron minnich
2011-09-17 21:53       ` ron minnich
2011-09-17 22:05         ` ron minnich
2011-09-17 22:56           ` andrey mirtchovski
2011-09-19 17:25           ` John Floren
2011-09-19 17:29             ` ron minnich
2011-09-19 17:29               ` ron minnich
2011-09-19 21:49                 ` Bruce Ellis
2011-09-19 22:09                   ` Steve Simon
2011-09-19 22:13                   ` Joseph Stewart
2011-09-19 22:19                     ` hiro
2011-09-19 22:48                   ` John Floren
2011-09-22 10:11                   ` Ethan Grammatikidis
2011-09-22 12:30                     ` Bruce Ellis
2011-09-23 13:30                       ` Ethan Grammatikidis
2011-09-23 13:40                         ` Richard Miller
2011-09-23 13:48                           ` erik quanstrom
2011-09-23 13:51                           ` Mathieu Lonjaret
2011-09-23 23:14                             ` Bruce Ellis
2011-09-26  7:26                               ` Tharaneedharan Vilwanathan
2011-09-26 10:02                                 ` Ethan Grammatikidis
2011-09-26 14:52                                 ` John Floren
2011-09-23 13:55                           ` Brian L. Stuart
2011-09-23 14:05                             ` Gorka Guardiola
2011-09-23 14:54                               ` Jeff Sickel
2011-09-27 23:05 ` John Floren
2011-11-04 21:45 ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-11-04 21:55   ` John Floren
2011-11-04 22:43     ` Masen Marshall
2011-09-17  2:24 paul.a.lalonde
2011-09-17  2:35 ` Devon H. O'Dell
2011-09-17  2:40   ` John Floren
2011-09-17  2:46     ` John Floren
2011-09-17  2:48       ` Bruce Ellis
2011-09-17  3:37         ` ron minnich
2011-09-17  3:40           ` ron minnich
2011-09-17  3:55             ` Bruce Ellis
2011-09-17  2:46     ` Bruce Ellis
2011-09-28 14:43 252608386
2011-09-28 14:56 ` ron minnich
2011-09-28 15:11 ` John Floren
2011-09-28 15:31   ` JS enter
2011-09-28 19:53 ` John Floren
2011-09-28 19:57   ` John Floren
2011-09-29 23:02     ` Bruce Ellis
2011-09-30  0:15       ` Ethan Grammatikidis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACkDJLxUVrix45OxuhQRX-K+aEbjdZ_vu+CUXJVtq5rOydwuBw@mail.gmail.com \
    --to=joelcarmstrong@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).