Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

n900 recovery mode?

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


vfragoso at cs

Nov 14, 2009, 1:50 PM

Post #1 of 9 (986 views)
Permalink
n900 recovery mode?

Hello,

I recently was testing some libraries on the n900, and in order to point
the libraries I made a script that exports LD_LIBRARY_PATH pointing to
the path where my libraries were. I added this line to /etc/profile

source /home/user/script.sh

I forgot to add the execute permission, and after rebooting the phone,
the UI didn't start anymore. I think it crashes when it tries to start
the script, and unfortunately the tablet can't connect to the network.

I tried also to pass some flags to the kernel, I passed the
init=/bin/ash and see if I could get a terminal on the screen, but I had
no success.

Do you know if there exist any flag telling the kernel to boot in a
recovery mode?

Victor.

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tero.kojo at nokia

Nov 16, 2009, 12:30 AM

Post #2 of 9 (952 views)
Permalink
RE: n900 recovery mode? [In reply to]

> -----Original Message-----
> From: maemo-developers-bounces [at] maemo
> [mailto:maemo-developers-bounces [at] maemo] On Behalf Of ext
> Victor Fragoso
> Sent: 14 November, 2009 23:50
> To: maemo-developers [at] maemo
> Subject: n900 recovery mode?
>
> Hello,
>
> I recently was testing some libraries on the n900, and in
> order to point the libraries I made a script that exports
> LD_LIBRARY_PATH pointing to the path where my libraries were.
> I added this line to /etc/profile
>
> source /home/user/script.sh
>
> I forgot to add the execute permission, and after rebooting
> the phone, the UI didn't start anymore. I think it crashes
> when it tries to start the script, and unfortunately the
> tablet can't connect to the network.
>
> I tried also to pass some flags to the kernel, I passed the
> init=/bin/ash and see if I could get a terminal on the
> screen, but I had no success.

So you can't connect with ssh to undo your changes?

Also I'm confused, how did you do that after you lost screen and network? Usbnet and ssh or what? Or did you do it all in one go?

> Do you know if there exist any flag telling the kernel to
> boot in a recovery mode?

Not that I know of. (But I'm not a low level guy)

If you hang on a while, we'll provide the images and tools to flash your device clean. I assume this is one of the 300 from Amsterdam.

Tero

> Victor.
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


aklapper at openismus

Nov 16, 2009, 2:50 AM

Post #3 of 9 (923 views)
Permalink
Re: n900 recovery mode? [In reply to]

Am Samstag, den 14.11.2009, 13:50 -0800 schrieb Victor Fragoso:
> Do you know if there exist any flag telling the kernel to boot in a
> recovery mode?

I don't think there is something like "a recovery mode".
Reflashing will help, once the final image is out (really soon(TM)):
http://wiki.maemo.org/Updating_the_tablet_firmware

andre
--
Andre Klapper (maemo.org bugmaster)

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tero.kojo at nokia

Nov 16, 2009, 3:14 AM

Post #4 of 9 (926 views)
Permalink
RE: n900 recovery mode? [In reply to]

> -----Original Message-----
> Andre Klapper
> Sent: 16 November, 2009 12:51
> To: maemo-developers [at] maemo
> Subject: Re: n900 recovery mode?
>
> I don't think there is something like "a recovery mode".
> Reflashing will help, once the final image is out (really soon(TM)):
> http://wiki.maemo.org/Updating_the_tablet_firmware

Andre you were so late, when your post arrived, the images had been available for like two whole minutes :-)

Tero
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vfragoso at cs

Nov 16, 2009, 9:15 AM

Post #5 of 9 (939 views)
Permalink
RE: n900 recovery mode? [In reply to]

Great!! The fastest solution was to flash the phone, but the image
wasn't available by the time I screwed my phone.

I'll flash it right away!
Thanks guys!

On Mon, 2009-11-16 at 12:14 +0100, tero.kojo [at] nokia wrote:
>
> > -----Original Message-----
> > Andre Klapper
> > Sent: 16 November, 2009 12:51
> > To: maemo-developers [at] maemo
> > Subject: Re: n900 recovery mode?
> >
> > I don't think there is something like "a recovery mode".
> > Reflashing will help, once the final image is out (really soon(TM)):
> > http://wiki.maemo.org/Updating_the_tablet_firmware
>
> Andre you were so late, when your post arrived, the images had been available for like two whole minutes :-)
>
> Tero
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


nicola.mfb at gmail

Nov 16, 2009, 9:52 AM

Post #6 of 9 (913 views)
Permalink
Re: n900 recovery mode? [In reply to]

On Mon, Nov 16, 2009 at 11:50 AM, Andre Klapper <aklapper [at] openismus> wrote:
> Am Samstag, den 14.11.2009, 13:50 -0800 schrieb Victor Fragoso:
>> Do you know if there exist any flag telling the kernel to boot in a
>> recovery mode?
>
> I don't think there is something like "a recovery mode".

May be possible to have a dual boot or boot from sd?

Niko
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vfragoso at cs

Nov 16, 2009, 9:58 AM

Post #7 of 9 (928 views)
Permalink
RE: n900 recovery mode? [In reply to]

On Mon, 2009-11-16 at 09:30 +0100, tero.kojo [at] nokia wrote:
> > -----Original Message-----
> > From: maemo-developers-bounces [at] maemo
> > [mailto:maemo-developers-bounces [at] maemo] On Behalf Of ext
> > Victor Fragoso
> > Sent: 14 November, 2009 23:50
> > To: maemo-developers [at] maemo
> > Subject: n900 recovery mode?
> >
> > Hello,
> >
> > I recently was testing some libraries on the n900, and in
> > order to point the libraries I made a script that exports
> > LD_LIBRARY_PATH pointing to the path where my libraries were.
> > I added this line to /etc/profile
> >
> > source /home/user/script.sh
> >
> > I forgot to add the execute permission, and after rebooting
> > the phone, the UI didn't start anymore. I think it crashes
> > when it tries to start the script, and unfortunately the
> > tablet can't connect to the network.
> >
> > I tried also to pass some flags to the kernel, I passed the
> > init=/bin/ash and see if I could get a terminal on the
> > screen, but I had no success.
>
> So you can't connect with ssh to undo your changes?
I couldn't :(
> Also I'm confused, how did you do that after you lost screen and network? Usbnet and ssh or what? Or did you do it all in one go?
I wasn't able to connect via ssh to the phone because my bad script was
intended to be executed at booting up and set up the LD_LIBRARY_PATH
variable, but I forgot to add "execute" permission to that script and I
rebooted the phone, and I think that caused maemo not to load any
service.
>
> > Do you know if there exist any flag telling the kernel to
> > boot in a recovery mode?
>
> Not that I know of. (But I'm not a low level guy)
I think there should be a recovery mode, most of the linux kernels
accept flags to start just a simple terminal in vga mode.
>
> If you hang on a while, we'll provide the images and tools to flash your device clean. I assume this is one of the 300 from Amsterdam.
>
I am a graduate student at UC Santa Barbara, USA, we received some
devices for research purposes.

By the way, I flashed my device and I have it back! =)
Thank you very much Tero

> Tero
>
> > Victor.
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers [at] maemo
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> >

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


vfragoso at cs

Nov 16, 2009, 10:07 AM

Post #8 of 9 (927 views)
Permalink
Re: n900 recovery mode? [In reply to]

On Mon, 2009-11-16 at 18:52 +0100, Nicola Mfb wrote:
> On Mon, Nov 16, 2009 at 11:50 AM, Andre Klapper <aklapper [at] openismus> wrote:
> > Am Samstag, den 14.11.2009, 13:50 -0800 schrieb Victor Fragoso:
> >> Do you know if there exist any flag telling the kernel to boot in a
> >> recovery mode?
> >
> > I don't think there is something like "a recovery mode".
>
> May be possible to have a dual boot or boot from sd?
That could be also great, but as far as I know you can pass some
parameters to the linux kernel that will boot, load modules and finally
just open a terminal in vga mode, nothing else.
With a terminal I could have fixed my bad script.

Victor.
>
> Niko
> _______________________________________________
> maemo-developers mailing list
> maemo-developers [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


tero.kojo at nokia

Nov 16, 2009, 11:01 PM

Post #9 of 9 (905 views)
Permalink
RE: n900 recovery mode? [In reply to]

> -----Original Message-----
> From: ext Victor Fragoso [mailto:vfragoso [at] cs]
> Sent: 16 November, 2009 19:59
> To: Kojo Tero (Nokia-D/Helsinki)
> Cc: maemo-developers [at] maemo
> Subject: RE: n900 recovery mode?
>
> I wasn't able to connect via ssh to the phone because my bad
> script was intended to be executed at booting up and set up
> the LD_LIBRARY_PATH variable, but I forgot to add "execute"
> permission to that script and I rebooted the phone, and I
> think that caused maemo not to load any service.

Ah, yes. That does cripple pretty much everything.

> I am a graduate student at UC Santa Barbara, USA, we received
> some devices for research purposes.

Ok, in the future feel free to bug me in case of problems. Now that you can flash the device you shouldn't have too many, but in case something comes up. And naturally this forum is an excellent place to ask for advice in case you run into something strange.

> By the way, I flashed my device and I have it back! =) Thank
> you very much Tero

I'm not to thank really, it's the people over here at Maemo in general that can be thanked.

Tero
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.