Reply
Thread Tools
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#1
(UPDATE: I think that if you follow qwerty12's instructions for rotating screen AFTER you follow this guide, this will undo bootmenu personalization. So if you want rotation--and why wouldn't you!--do that first. Then follow the directions included herein. But if you do install rotation after you follow this guide, you can fix everything by reinstalling Penguinbait's bootmenu, and then picking up from this guide at step 10 as root and from within directory /home/user/MyDocs/.documents/initfs_flasher)

Follow this guide and you will have a personalized startup boot menu that can increase your chances that a lost tablet makes its way back to you. Add to this an activated device lock, and your chances improve further still.

I am a linux noob and probably always will be. Because of my linux limitations, I reflashed my device and followed my instructions from scratch, to make sure they work. They do. Still, ONE WRONG MOVE--ESPECIALLY AT STEPS 6-8, AND YOU COULD DO SERIOUS DAMAGE. AS ALWAYS, ANYTHING YOU DO WITH THE INFORMATION FROM THIS FORUM IS YOUR RESPONSIBILITY. BE CAREFUL. That said, these instructions should work like a charm.

Many thanks go to Penguinbait for his bootmenu installer, Fanoush for the initfs flasher, and bunanson for his good cheer and helpful tips via private messages. When it comes to anything interesting or useful found in what follows, they deserve the thanks. I'm just the messanger.

OK, let's get started.

1. Install easyroot (if you don't already have a way to . Get it here (scroll down).

2. Install Penguinbait's bootmenu (if you don't already have one).

3. Reboot. (I'm not sure if this is necessary. If someone more knowledgable says it's not, I'll amend the guide.) Upon reboot you'll hear Penguinbait's favorite confirmation sound. If you don't like this, later you can remove it by:

Code:
root
rm -rf /root/.linus/linus.wav
4. Save fanoush's initfs_flasher to the documents folder on your tablet's flash memory (*not* a memory card).

5. Open xterm. Enter the following (hitting return after each line).

Code:
root
cd /home/user/MyDocs/.documents/
tar zxvf initfs_flasher.tgz
cd initfs_flasher
mv bootmenu.conf.n8x0.example bootmenu.conf
6. Now you will edit the file you just named "bootmenu.conf." You will do this using a built-in text editor called vi. DO NOT EDIT with MSWORD, Notepad, wordpad, etc. Enter the following in Xterm.

Code:
vi bootmenu.conf
You will now be looking at the content of the bootmenu.conf file. To edit this file, you type the letter "i" WITHOUT HITTING RETURN AFTER TYPING IT.

You are now in insert mode, and must be super careful not to make a wrong move.

7. Now you choose what personal information you wish to have presented on the bootmenu. If you are already dual booting, then you'll know what line(s) you want/can edit. If you are not dual booting, then you will probably be okay editing any of the following lines.

Using the dpad or the arrows on your BT/USB keyboard, scroll down. You will eventually see three chunks of code, beginning, respectively, with

Code:
"MENU_2_NAME="..."

MENU_3_NAME="..."

MENU_4_NAME="..."
You can replace the text you see between the quotation marks with your desired text. DO NOT--I repeat--DO NOT mess with the text on the lines beginning with

Code:
MENU_1_NAME="..."
or

Code:
MENU_5_NAME="..."
I am not sure of the maximum number of characters, but I can tell you that "If found, please return to lm22@lm2lm2lm2lm2lm2l.net" was too long, and jumbled things up on the bootmenu. So I have gone with "RETURN TO: [my email address]" between the quotation marks on the MENU_2 line, and "RETURN TO: [my phone number]" on the MENU_3 line. I recommend keeping the text to a minimum, as you probably don't want to go through this process a second time.

8. Once you have CAREFULLY edited (ONLY!) the text between the quotation marks on (any of) the three allowable lines, hit the Esc(ape) button. Then enter

Code:
:wq
hitting return after the "q". This will write your changes to the bootmenu.conf file. DO NOT DO THIS UNLESS YOU ARE SURE YOU DID NOT MAKE A MISTAKE. IF YOU THINK YOU MIGHT HAVE MADE A MISTAKE, HIT ESC, THEN ENTER ":q!" and hit return. This exits without saving the changes you made.

You are now ready to flash the initfs with the flasher you already downloaded.

9. Close all applications (except Xterm), and disconnect from internet.

10. Now enter

Code:
./initfs_flash
You will now be asked a series of questions. Answer thusly:

Code:
Are you sure to continue? -- y
Create backup of current intifs? -- y
[you may be asked now to press enter to continue; so press enter.]
Remove unneeded extra stuff? -- y
install telnet? -- y
install ssh server? -- y
bootmenu.conf found, do you want to add? -- y
ready for flashing this image? -- y
And then press enter to reboot the device when prompted.


11. Upon reboot, you should see your personalized bootmenu. If the text you entered is too long and jumbles the screen, choose option 1 (Boot from internal flash), and repeat the steps above for editing the bootmenu and then flashing the initfs, but this time enter fewer characters.

12. Now the only thing left to do--and this is optional--is go to Control Panels and set a device lock code. Yes, it is sometimes annoying to have to enter the code after leaving the tablet alone for an hour, but it provides extra protection in case of loss. Then, if you lose your tablet, anyone who finds it and tries to boot it up (either by hitting cancel at the lock screen, shutting down, and booting up again; or else removing the battery and then booting up), will be presented with your personalized screen, and then if they choose to boot from flash (or sd card, if you've cloned), they'll just run into the device lock screen. This may induce them to just call the frickin' number or email the frickin' email address they get at bootmenu. At least then they might get a reward...

Of course, nothing would stop a finder from just flashing the tablet and erasing all your hard work. But the chances of their knowing how to do this are slim. Anyway, you will have at least increased your chances of recovery (and learned a little about linux to boot(menu)!).

Last edited by lm2; 2008-07-01 at 01:10.
 

The Following 7 Users Say Thank You to lm2 For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#2
Nice post and the easy instructions. Keep up the good work, Im2.


bun

Last edited by bunanson; 2008-06-30 at 18:42.
 

The Following User Says Thank You to bunanson For This Useful Post:
superstar's Avatar
Posts: 202 | Thanked: 28 times | Joined on Jan 2008
#3
Just wanted to add that if you lock the device, even if they flash it they will still get the lock code.

I went on a different path, I substituted the start up screen with my contact info in case if found and decided to be a good Samaritan.
 

The Following User Says Thank You to superstar For This Useful Post:
Posts: 5 | Thanked: 2 times | Joined on Sep 2007
#4
Thanks, everything went well.
 

The Following User Says Thank You to popat007 For This Useful Post:
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#5
Is there a way to use colour with the titles? ie having "Internal flash" written in red...
just to make everything a little more colourful
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#6
Originally Posted by lm2 View Post
(UPDATE: I think that if you follow qwerty12's instructions for rotating screen AFTER you follow this guide, this will undo bootmenu personalization. So if you want rotation--and why wouldn't you!--do that first. Then follow the directions included herein.
Just thought Id point out that I edited my bootmenu thanks to your guide THEN installed Screen rotation and still had my bootmenu options, so the order in which you install doesn't matter
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 

The Following User Says Thank You to El Amir For This Useful Post:
Posts: 425 | Thanked: 132 times | Joined on Mar 2008 @ California
#7
I'd also be interested in the color options now that we've got a bigger initfs...

Also, is there a way to change the "default" item that's selected in the boot menu?

Not really a big deal, more of a lazy-convenience thing
__________________
Promises are like babies. Fun to make, but hard to deliver.

Warning: dates on calendar are closer than they appear.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#8
Originally Posted by josiahg777 View Post
I'd also be interested in the color options now that we've got a bigger initfs...
Someone (KotCzarny?) already did quick hack for this. I plan to add it to bootmenu. Also some user configrable string for name etc. is good idea too.

Originally Posted by josiahg777 View Post
Also, is there a way to change the "default" item that's selected in the boot menu?
Yes, there is README.txt you migh want to read :-)

BTW with bigger initfs one can directly modify /mnt/initfs/bootmenu.* without reflashing initfs. It is a bit dangerous but you can hold escape key at boot time to skip including bootmenu.sh into linuxrc if you screw it up badly.

Also you can somehow test it without really booting the device, as root do

# chroot /mnt/initfs
# default_root=ask
# . /bootmenu.sh

Just beware that keypresses go to active app too.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#9
Why stop with color when you could have graphics?

(I'm coming out with something, but I have very low artistic abilities, so making the graphics is being troublesome, to say the least...)
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#10
Originally Posted by Benson View Post
Why stop with color when you could have graphics?
Indeed. With bigger initfs there are more possibilities. With some lightweight toolkit running directly over framebuffer we can have full GUI :-) Or maybe not. But anyway, feel free to vote for http://bugs.maemo.org/show_bug.cgi?id=3373 :-)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:04.