View Single Post
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#207
Bingo! I found the problem!
Last night, the power went out for several hours(scheduled outage). Planning for it, I made sure my N900 was charged, and I had some TV episodes to watch. After the power went out, I got ready, clicked the "KMPlayer" icon... to no avail! It won't start!
Not wanting to have to pull up my laptop or go without, I decided to track down -where- kmplayer was and why it wasn't starting. I found my way to /opt/kmplayer... which didn't exist. Checked my optfs imagefile and it -did- exist there.
After that, it was a simple matter to cd to /home, extract my OptFS image there... Most of the missing icons immediately came back and all my programs worked!
After a reboot, everything worked properly again!

Tonight, I just took a look at my code... Several stupid errors. Fixed now:
http://robbiethe1st.afraid.org/Backu...0100925.tar.gz
Anyway, instructions for install are as follows:
1. copy the above file to your MyDocs directory
2. Open up a terminal, sudo gainroot, then type: tar xvzf /home/user/MyDocs/backupmenu-20100925.tar.gz -C /
3. After it extracts, type:
cp /opt/maemo/usr/bin/gnu/tar /usr/share/backupmenu/
4. If you have the regular version of backupmenu installed, disable it:
mv /etc/bootmenu.d/BackupMenu.item /etc/bootmenu.d/BackupMenu.item.bak



Now, assuming you have a "bricked" N900(that still boots BackupMenu), you can fix it one of two ways:
1. Easier way, but requires a Linux computer, and your rootfs.tar file on that computer/your SD card
a. Download the above patched archive.
b. Extract the ./usr/share/backupmenu/BackupMenu.item from it, and keep that file handy
c. insert(you should just be able to use tar's a/append method) that file into your RootFS tarfile at the same location. You may have to extract the entire contents somewhere(needs ext# system so permissions get kept), replace that file with the new version, and re-tar it all up.
d. Start up BackupMenu, load that rootfs off the SD card, reboot. It should come up with the new version(0.42), from which you can then restore the OptFS.

2. No Linux computer needed, potentially more work.
a. Do a PR1.2 wipe with the Maemo flasher.
b. Boot up into Maemo, add extras-devel. Install rootsh the bootmenu-n900, and gnu-tar packages.
3. Download that file, install it as said earlier, and copy over the gtar application.
4. Reboot into BackupMenu, restore your RootFS and OptFS images.
5. Reboot, and Maemo -should- work. At this point you will need to manually reinstall the Power kernel(if you had it installed earlier), and upgrade your version of BackupMenu(as you loaded the older one).


Hope that helps!

-Rob
 

The Following 3 Users Say Thank You to RobbieThe1st For This Useful Post: