Reply
Thread Tools
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#11
Originally Posted by kingoddball View Post
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

We'll see how we go, if we get no where. No loss.
You can rebuild MeeGo CE to softfp instead if you want.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.
 
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#12
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
__________________
The thanks button? Sure! You can press it! I would!

Last edited by kingoddball; 2011-08-27 at 12:50.
 
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#13
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!
__________________
The thanks button? Sure! You can press it! I would!

Last edited by kingoddball; 2011-08-27 at 12:51.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:47.