LunaCE on Pre3

From WebOS-Ports
Jump to navigation Jump to search


This page is dedicated to running the WOCE version of LunaSysMgr on a Pre3.

What Works

Touch Input

Power Button (Lock/Unlock, hold to power off doesn't work)

Volume Keys

Ringer Switch

Sound (plays notification noise instead of boot sound because it's missing, can't test further currently)


Status Bar

System Menu

What Doesn't Work

Quicklaunch Apps (icons glow when tapped, do nothing)

App Launching (cards will appear, but solid white with no contents)

Voice Dial (no apps)

UI Layout isn't optimized for the resolution

Keyboard Input (Crash)

Screenshot with Opt+Sym+P (Crash, luna-send method works fine)

Just Type (Nothing Shows)

Gesture Area

Virtual Keyboard (Pops up looking all garbled, then crashes)


Before continuing, be sure to understand that this version of LunaSysMgr is NOT usable in it's current state. It is here for the purpose of further development.


Transfer the required libraries to the Pre3

Open a Terminal and cd into woce-build/rootfs/armv7/usr/lib/

Compress the libraries into a .tar file for easy transfer (-h to follow symbolic links, otherwise breaks)

tar -chvf lunaLibs.tar libQt*

Copy the files to the device

novacom put file:///usr/lib/lunaLibs.tar < lunaLibs.tar

Extract them

cd /usr/lib
tar -xvf lunaLibs.tar
rm lunaLibs.tar

Link the new libraries

ldconfig -v

Close novaterm


Transfer the required resources to the Pre3

cd into woce-build/rootfs/armv7/usr/palm/sysmgr

Compress the resources into a .tar file for easy transfer

tar -cvf lunaRes.tar ./*

Copy the files to the device

novacom put file:///usr/palm/sysmgr/lunaRes.tar < lunaRes.tar

Extract them

cd /usr/palm/sysmgr
tar -xvf lunaRes.tar
rm lunaRes.tar

Close novaterm


Prevent LunaSysMgr from crashing on startup

Option A: Clone a git repository

git clone git://
git checkout lsm-pre3

And to pull down the latest changes

git pull origin lsm-pre3

Option B: Download a patch

Download and apply the following patch to your own LSM sources:

cd /path/to/LunaSysMgr
curl > lsm-pre3.diff
patch -p1 < lsm-pre3.diff

Build and Run

Modify woce-build/support/, changing MACHINE=topaz to MACHINE=mantaray

Build LunaSysMgr, noting that the output will now be in the release-mantaray folder instead of release-topaz

Backup your old LunaSysMgr

stop LunaSysMgr
mv /usr/bin/LunaSysMgr /usr/bin/LunaSysMgr.old

Upload the new LunaSysMgr

novacom put file:///usr/bin/LunaSysMgr < /path/to/compiled/LunaSysMgr

Run the new LunaSysMgr