![]() |
Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
Hello,
Is it possible to build a chroot (i.e. meego.img) image of meego 1.2? Qole made one earlier using .ext format, but I need a .img. I built a Meego 1.2 image (Qoles guide!) which is running on N900 and Galaxy s2! https://dl-web.dropbox.com/get/Publi...png?w=9489e840 |
Re: Meego 1.2 CE - chroot: Is it possible?
are you sure they aren't the same thing?
Typically, an .img file is just an ext(2-4) filesystem-on-a-file; thus a .ext image would probably be the same thing with a different extension. |
Re: Meego 1.2 CE - chroot: Is it possible?
Can't you just convert image types? You can with VM virtual harddisk's an optical media images, so...
|
Re: Meego 1.2 CE - chroot: Is it possible?
Sorry!
I screw up. I made one :D Also, yes, you can just rename qoles one. I made a chroot using meego 1.2 Does any one want a copy? It's just a basic/core Meego (no gui). I'm using a bunch of hacked up (to an extent) scripts to boot on Android, but it's running. Need to try and get a GUI running. The image I build is a 1.2CE core. |
Re: Meego 1.2 CE - chroot: Is it possible?
Quote:
/me wants a copy. And the scripts, too! ;) |
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
I will upload it now.
I need help building scripts :( If you are willing to help, we can get a GUI/VNC running!!!! I built it using a core package (170MB), but I am trying to build another now using full package (500MB). Also, I will upload to dropbox now (DL size: 170mb - no gui) - says 27 minutes (slow upload). |
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
Quote:
|
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
You're going to run into immense trouble as the GLESv2 drivers in the chroot does not work with the kernel we have on Maemo5. And you can't copy in the Maemo5 ones as MeeGo is hardfp.
|
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
I didn't think I would even get a prompt.
I'm happy enough just getting the prompt. It's a big achievement for me :D We'll see how we go, if we get no where. No loss. |
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
download Link
http://dl.dropbox.com/u/17845161/chroot/meegochroot.tar This link is for the basic version (core). The way I booted it on Android was to rename to file to bt.img and use backtrack scripts (works using ubuntu scripts). |
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
Quote:
|
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
Here is a link to BT5 scripts: http://doomlord.sylvester20007.com/b...scripts_v2.zip
From: http://forum.xda-developers.com/show....php?t=1162662 If you want to do a shonky boot on Android: Locate meego image to sdcard/bt/ and call it bt.img Just boot using guide on XDA (start bt, then bt) I have build another meego chroot using the full meego n900 image but it's no better than smaller. What I will try and do is build a chroot from a different hardware. Beagleboard, Pandabord or any other arm7(?) device. I will post up qoles scritps and maybe someone can piece together a script that could boot a VNC to get a GUI? Edit: I didn't build from source. I downloaded the raw.bz2 from meego webby :( I am not any good at this developing or building stuff :( To check OS version: "cat /etc/*-release |
Re: Meego 1.2 CE - chroot: Is it possible? Edit: Yes! It is!
This is qoles script for xypher:
export DISPLAY=:0 export GTK_MODULES=libgtkstylus.so Xephyr :1 -fullscreen -br +extension Composite -title 'Meego Handset' & while [ "x$PARWIN" = "x" ] ; do # wait for Xephyr window to appear export PARWIN=`wmctrl -l | grep -i "N/A $WMNAME" | awk '{print $1}'` echo "($PARWIN)" done #Try to give keyboard focus to the Xephyr window /usr/bin/set-focus $PARWIN /sbin/qobi-wmhint-fix $PARWIN export DISPLAY=:1 export M_USE_SOFTWARE_RENDERING=1 /usr/bin/mthemedaemon 1>/dev/null 2>&1 & /usr/bin/sysuid -software -remote-theme 1>/dev/null 2>&1 & /usr/bin/meego-im-uiserver -software -remote-theme 2>/dev/null & /usr/bin/mdecorator -software -remote-theme 2>/dev/null & echo "sleeping..." sleep 10 echo "...ok now" /usr/bin/duihome --desktop -software -remote-theme 2>/dev/null & #/usr/bin/meegofeedbackd #setxkbmap -rules evdev -model nokiarx51 -option grp:ctrl_shift_toggle -layout us -variant ",qwerty" #start-pulseaudio-x11 #/usr/libexec/tracker-miner-fs Next Script (for Graphics): #!/bin/sh MEEGO_ROOT=$1 GRAPHICS_LIBS="\ /usr/lib/libIMGegl.so \ /usr/lib/libglslcompiler.so \ /usr/lib/libpvrPVR2D_DRI2WSEGL.so \ /usr/lib/libsrv_um.so \ /usr/lib/libOpenVGU.so \ /usr/lib/libpvrPVR2D_BLITWSEGL.so \ /usr/lib/libpvrPVR2D_FRONTWSEGL.so \ /usr/lib/libpvrPVR2D_FLIPWSEGL.so \ /usr/lib/libpvrPVR2D_X11WSEGL.so \ /usr/lib/libOpenVG.so \ /usr/lib/libEGL.so \ /usr/lib/libPVRScopeServices.so \ /usr/lib/libpvr2d.so \ /usr/lib/libGLESv2.so" rm -f ${MEEGO_ROOT}/etc/resolv.conf cp /etc/resolv.conf ${MEEGO_ROOT}/etc/resolv.conf rm -f ${MEEGO_ROOT}/etc/mtab ln -s /proc/mounts ${MEEGO_ROOT}/etc/mtab # Copy graphics libraries from host for lib in ${GRAPHICS_LIBS}; do cp ${lib} ${MEEGO_ROOT}/usr/lib/ done # Copy pulseaudio files from host cp /usr/lib/libpulse* ${MEEGO_ROOT}/usr/lib/ echo "# MeeGo" >> ${MEEGO_ROOT}/root/.bashrc echo "source /tmp/session_bus_address.user" >> ${MEEGO_ROOT}/root/.bashrc echo "# MeeGo" >> ${MEEGO_ROOT}/home/user/.bashrc echo "source /tmp/session_bus_address.user" >> ${MEEGO_ROOT}/home/user/.bashrc Android Script for VNC: You need to type "UI" in the back track image before you boot VNC: echo " [ STEP 2 ]" export kit=/sdcard/bt export bin=/system/bin export mnt=/data/local/bt export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH export TERM=linux export HOME=/root # Mounting Image to the farthest loop point # FIXME : check if mount sucessfull otherwise abort whole process. mknod /dev/block/loop254 b 7 254 busybox losetup /dev/block/loop254 $kit/bt.img busybox mount -t ext2 /dev/block/loop254 $mnt mount -t devpts devpts $mnt/dev/pts mount -t proc proc $mnt/proc mount -t sysfs sysfs $mnt/sys #fix for SGS2 #mkdir -p $mnt/data/local/tmp #seting environment sysctl -w net.ipv4.ip_forward=1 echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4" echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf echo "127.0.0.1 localhost" > $mnt/etc/hosts echo "BackTrack Loader by Anant based on ubuntu loader" echo " [ STEP 2 COMPLETE ]" echo " " echo "BackTrack is ready just type 'bt' (without the quotes)" I think I'm barking up the wrong tree with the GUI :( Possibly using a MeeGo build from different hardware will yield better results. I just don't understand the whole VNC thing rather than Xypher. I love the easy of Maemo! |
All times are GMT. The time now is 01:17. |
vBulletin® Version 3.8.8