[maemo-developers] n900 recovery mode?

From: Victor Fragoso vfragoso at cs.ucsb.edu
Date: Mon Nov 16 19:58:39 EET 2009
On Mon, 2009-11-16 at 09:30 +0100, tero.kojo at nokia.com wrote:
> > -----Original Message-----
> > From: maemo-developers-bounces at maemo.org 
> > [mailto:maemo-developers-bounces at maemo.org] On Behalf Of ext 
> > Victor Fragoso
> > Sent: 14 November, 2009 23:50
> > To: maemo-developers at maemo.org
> > 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.org
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> > 

More information about the maemo-developers mailing list