maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   I'm a jerk and I need your help fixing my phone (https://talk.maemo.org/showthread.php?t=64830)

extendedping 2010-11-01 02:08

I'm a jerk and I need your help fixing my phone
 
Yes I know bricked means it can never be saved so I will not use that word. Anyway here is what dumbass (me) did.

I was attempting to fix my prompt (get it back to how it used to look) after installing bash as my shell for the default user (user). well I changed back to /bin/sh, ran echo $PS1 wrote down that result and changed user back to /bin/bash. I then (yes without running it on the command line which is why I call myself a dumbass *****) opened up .bashrc and put export $PS1="the output of my previous echo $PS1 command".

duh apart from not having tested it from the command line first... there should be no $. well anyway the result is the reboot process brings me to the dots flashing across my screen forever.

so is there any "backdoor" to get in and fix my .bashrc? or am I looking at a complete reflash of the device?

F2thaK 2010-11-01 02:14

Re: I'm a ***** and I need help
 
Im guessing the latter..

windows7 2010-11-01 02:18

Re: I'm a ***** and I need help
 
not sure, but is probably just quicker to flash the kernel alone.

I recommend a windows xp 32bit to do such task


here is how to do it :)
http://talk.maemo.org/showpost.php?p=849458&postcount=9

v2px 2010-11-01 03:04

Re: I'm a jerk and I need your help fixing my phone
 
@windows [sic] 7
the kernel has nothing to do with this :(

WereCatf 2010-11-01 03:15

Re: I'm a jerk and I need your help fixing my phone
 
Quote:

Originally Posted by extendedping (Post 859161)
so is there any "backdoor" to get in and fix my .bashrc? or am I looking at a complete reflash of the device?

No, sorry. You will need to reflash the whole thing, meaning you'll lose all your installed applications and modifications in your home directory. And no, it's not a kernel issue, it's a configuration file issue. Nothing you can do about it anymore.. :/

v2px 2010-11-01 03:44

Re: I'm a jerk and I need your help fixing my phone
 
you could try booting from mmc if you havemthings set up and mount the maemo rootfs on meego or something :)

Mentalist Traceur 2010-11-01 04:08

Re: I'm a jerk and I need your help fixing my phone
 
I know there's a rescue kernel somewhere... With which you can boot into that first minimal shell and see if you can fix things from there... I don't know if would help in this case, but it sounds like it should.

I'd go prod Mohammad about it - he's the one who I saw mentioning it somewhere.

libro 2010-11-01 04:37

Re: I'm a jerk and I need your help fixing my phone
 
Do you know whether the network device has initialised ? Perhaps you could try to ssh into the N900 ... (and then fix the faulty file).

extendedping 2010-11-01 12:50

Re: I'm a jerk and I need your help fixing my phone
 
thanks everyone, looks like a fresh reflash too bad I had heavily customized the thing. btw no network access, again thanks for the suggestions.


All times are GMT. The time now is 09:28.

vBulletin® Version 3.8.8