![]() |
Edited a File--Device Won't Boot! Urgent Help Needed!
Hey, please help me... I wanted to enable Smart Reflex, so I edited /etc/pmconfig.
Now the device doesn't boot, and I'm sure it's because of that file... Is there a way to edit the file now? Or any other thing? Please help! |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
I'm begging you guys!!! Someone help!!!!!!!!!!!!!!!!!!!!!!!!!! PLZZZZZZZZ
|
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
You tried flashing it ?
if it doesnt boots then i guess flashing it.. or if you have a dual boot with android or something.. Try just flashing the kernel only first... |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
I'll lose all my data... Is there a way to for example start the device using another thing, like a live OS maybe... I dunno... Is there any other thing I can do? If I can just change those 1s to 0s, everything will be fine!
|
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
no when you will flash the kernel only..you wont loose anything.. :)
|
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Well, you'll loose your already installed apps if you reflash just the kernel. But you won't lose the majority of your configuration files or saved data for those apps, so when you reinstall them it'll be almost like it was.
Rather, I'm not sure if you can reflash just kernel files. As I understand it you either reflash rootfs (which has kernel, and some other system stuff), or rootfs and EMMC. I'm guessing the "reflash just kernel" mean the former. |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
yea i meant rootfs :) typed ina hurry..just flash the rootfs first..if that doesnt helps..(but it should ! ) then you have no choice but to flash the emmc as well :( !
|
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Can I somehow mount the device on my computer, and edit /etc/pmconfig??
|
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Acctually.. it is possible to just flash the kernel. That would save you the hazzle of reinstalling the apps and conf-files.
sudo flasher-3.5 -F <firmware-image> --flash-only=kernel -f -R edit: Although i would not bet on that it will change your /etc/pmconfig. You probably need to flash your root system e.g. the Combined image. |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Quote:
Is there any kernel which supports SmartReflex, and won't reboot... So that I can boot and change the file? Is there something like a live OS? |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Quote:
Quote:
Quote:
|
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? |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Quote:
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 |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
The problem is the damn stupid poor connection I have!
|
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 ! |
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" Code:
mkdir -p /mnt You might need to modprobe ubi, the module's compiled in the kernel though. |
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.
|
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?
|
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. |
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! :) |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Thought I have to let others know some things...
First of all, the default kernel supports SmartReflex Second, reflashing the kernel, will solve the problem, as SmartReflex works |
Re: Edited a File--Device Won't Boot! Urgent Help Needed!
Quote:
|
All times are GMT. The time now is 13:32. |
vBulletin® Version 3.8.8