Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1
Here is a video of N9 graphical tripleboot menu using evtap and modified init script:
http://youtu.be/bz-tRdC0IX4

Apologies for the really loysy quality of the video, it was shot on a friends Xperia phone under low-light conditions, but anyway the content here is more important than artistic execution

The example shows three icons;
  • terminal (for sshd shell)
  • nitdroid
  • meego

but there is really no restricition on what type and how many elements are desired on the screen.

--- edit ---

BTW, the following article is generally related to booting N9 to different modes: http://talk.maemo.org/showthread.php?t=86617

Last edited by juiceme; 2012-09-11 at 11:25. Reason: Added link to my other posting
 

The Following 13 Users Say Thank You to juiceme For This Useful Post:
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#2
Any plans for sharing the scripts?
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.
 

The Following User Says Thank You to rainisto For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#3
Thanks for the video!

I think it would be better if you could link the how-to thread that you had created earlier in your first post too...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#4
The scripts & evtap executable are all the way open source, see my svn repo at https://toosa.swagman.org/svn/sillykbd/

There are the sources and some example scripts.
When I have time I will make a detailed tutorial on how to use these, but now I am a bit busy so it may take a couple of days time

The evtap thingy anyways is just a side project I tingled with, the main thing I am doing now is the sillykbd, a virtual input mechanism for pre-init environment. This just kind of came up by itself in the process
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#5
That's incredibly neat, and a clever solution to the N9 not having a good input device at pre-init stage.

I think this would go really well with a recovery initrd-type system, probably also using evtap for input.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
Posts: 47 | Thanked: 28 times | Joined on May 2010
#6
so how do i install this? or any step by step?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#7
Originally Posted by super-hero View Post
so how do i install this? or any step by step?
Okay, the installation depends a bit on the exact setup you have on your device and that's the reason I have not made it into a package with installation scripts.

Basically you have couple of prerequisites; You need to be running open mode and you need to have nitdroid installed.
(well, if you do not have nitdroid or some other alternative OS in your device you would hardly require a dual boot anyways )
It's of course possible also to have Mer/Nemo as the alternative OS, or even as third OS in your device but I have not tested that yet.

So, imagine you have the nitdroid installation with sillyboot setup.
Then, additionally to that you need four other things:
  • evtap executable as user interface
  • images to show at boot time, that is PNG images of 480x854 size
  • map file for evtap
  • integration to the sillyboot script

Unless you want to design your own boot layout, you can use the image files provided with sillyboot or use the trible-boot images I have in the youtube video.

Of course the neatest thing to do is to design your own layout It is quite easy, I made the tripleboot image layout in GIMP in about 20 minutes...
You need to create the main bitmap, which shows all the icons, and then copy this to other bitmaps where in each you edit the selected icon as highlighted and others as grayed out. Then you need to create a map file for this bitmap, where you tell the corner coordinates of the icons. The sample map file contains info about the format.
Finally what is needed, is to upload these to your device and tweak your /sbin/preinit script so that this boot selector is called before children of init inherit the world.

You can find the needed stuff from my svn server, at https://toosa.swagman.org/svn/sillykbd/
Just "svn co" that and run make in scratchbox. The example images and map file are in the "simplemenu" folder. There is a working preinit file also in the main folder.

If it happens you do not have scratchbox installed, here is a pre-built evtap image: http://www.swagman.org/juice/evtap

As you can see from the preinit script, the PNG images and the associated map file go to "/root/juicemenu" on the device, and evtap goes to "/bin" folder.
 

The Following User Says Thank You to juiceme For This Useful Post:
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#8
seems like we will have to reverse showpng.
anyone have ideas about it? how to directly access to display driver...?
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 

The Following User Says Thank You to wook_sf For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#9
Just the other day I think I read a posting that somebody had rewritten text2screen as open source on N900. (or maybe it was on some of the previous generation tablets?)
Would that be of any help, do these devices share any properties of the display driver?
 
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#10
well, even pixel per pixel would be wonderful.
cairo is opensource so it can be used too
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 

The Following User Says Thank You to wook_sf For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 11:35.