View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#119
Originally Posted by jsbigs View Post
Any chance you can write a step-by-step on how to do this for non-coders? I'm confident I could get this working too but not without the proper guidance. Thank you in advance!
Sure. I'm assuming you've already got multiboot 0.2.10 installed here - if not, you'll need to look up the instructions for that elsewhere (the multiboot/NITDroid/power kernel threads).

Unfortunately the only implementations of patch appear to be in the SDK repository, so rather than using the diff, just grab the patched files and save them to the MyDocs directory.

Now overwrite the existing multiboot files with the new versions:
Code:
root
cd /sbin
tar -xzf /home/user/MyDocs/multiboot_patched.tar.gz
chmod 755 multiboot multiboot_read_item
That's the patched multiboot all done, so you now just need to create a new boot item. You'll need to create a file (either on the N900, or on a desktop/laptop then copied to the N900) containing:
ITEM_NAME="BackupMenu"
ITEM_SCRIPT="/usr/share/backupmenu/BackupMenuLauncher.item"
Move this file to /etc/multiboot.d/99-BackupMenu.item (you'll need to be root to do this).

Now when you reboot with the keyboard open, you'll get an option for BackupMenu. I think this'll work irrespective of which OS/kernel you've been booting with, but I've only tested it from the standard Maemo kernel so far.

EDIT: Missed a bit - you also need to symlink evkey (which handles key detection) to where backupmenu is expecting it:

Code:
root
ln -s /bin/evkey /usr/sbin/evkey

Last edited by Rob1n; 2010-11-05 at 19:09.
 

The Following 4 Users Say Thank You to Rob1n For This Useful Post: