maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Edited a File--Device Won't Boot! Urgent Help Needed! (https://talk.maemo.org/showthread.php?t=63672)

giannoug 2010-10-11 16:48

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Quote:

Originally Posted by AMLJ (Post 838530)
Isn't there any way to mount the device on my computer and edit the file?

Desolder the NAND, find a NAND reader and fix that file. In plain words, no.

Quote:

Originally Posted by AMLJ (Post 838530)
Is there any kernel which supports SmartReflex, and won't reboot... So that I can boot and change the file?

No.

Quote:

Originally Posted by AMLJ (Post 838530)
Is there something like a live OS?

Nope.

AMLJ 2010-10-11 17:02

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
OK... Do you think reflashing the kernel would change this file? If yes, what file should I download and what should I do? I searched a lot, didn't get what I needed...

Also, if not, will reflashing rootfs help? If I do that, I'll lose all the apps... Right?

Can I somehow back up some data before I do that?

oxpo 2010-10-11 17:07

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Quote:

Originally Posted by AMLJ (Post 838546)

Can I somehow back up some data before I do that?

No,you could have made a backup, before you changed a systemfile, and that backup would have automaticly reinstalled your installed programs, but that was only before you couldn't boot your device.

At this point you just have to reinstall manually. See it as a good thing. You probably will not install as many programs as you have on it now.

Sorry that I can't help you.

/oxpo

AMLJ 2010-10-11 17:11

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
The problem is the damn stupid poor connection I have!

arora.rohan 2010-10-11 17:24

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
:) hey..just chill..your phone isnt going anywhere..it'll be as good as new..and you just learned a lesson :)
dont mess around with system stuff just because they sound good :) !

take care :)
all the best with your phone !

MohammadAG 2010-10-11 17:33

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Before reflashing, you could try the rescue initrd image that the MeeGo kernel provides, then you could possibly mount ubi:rootfs somewhere and edit the file.

http://mohammadag.xceleo.org/public/maemo/rescueinitrd/
Download both files then...
Code:

flasher-3.5 -k vmlinuz-2.6.33.3-11.2-n900 -n initrd.img-rescue-2.6.33.3-11.2-n900 -l -b"rootdelay=1 root=/dev/ram0"
To mount the ubifs image, you could
Code:

mkdir -p /mnt
mount -t ubifs ubi0:rootfs /mnt

Not sure if the kernel has an ubifs module compiled in though, I'll check the source.
You might need to modprobe ubi, the module's compiled in the kernel though.

kureyon 2010-10-11 18:14

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Install BackupMenu, install SSH server, setup USB networking. Next time you run into a problem you could go into BackupMenu and startup ssh server then plug N900 into computer via usb and ssh into N900 to try and sort out any problems. This has saved me loads of hassle.

sjgadsby 2010-10-11 18:38

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Isn't SmartReflex, or at least the VDD2 portion of it, broken in PR1.2 in any case?

AMLJ 2010-10-11 18:54

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
Thanks for all the help guys... By the way... I don't know why I did this arora... I had learned this lesson long time ago, back when I was a GNU/Linux noob... And now, like a stupid guy, I repeated the same mistake again...

Anyway, Imma reflash it... Thanks guys.

AMLJ 2010-10-11 19:00

Re: Edited a File--Device Won't Boot! Urgent Help Needed!
 
OMG! OMFG! This is a f...in miracle! I didn't have to reflash rootfs! Just the kernel worked! WOOOOOOOOOOHOOOOOOOOOOOO! Thanks guys! Have a nice day!
I wish none of you run into such a problem in your life! :)


All times are GMT. The time now is 13:32.

vBulletin® Version 3.8.8