Difference between revisions of "LunaCE on Pre3"

From WebOS-Ports
Jump to navigation Jump to search
(Created page with "===Introduction=== This page is dedicated to running the WOCE version of LunaSysMgr on a Pre3. ===What Works=== Touch Input Volume Keys (may not actually set the volume) Sound...")
 
Line 68: Line 68:
 
'''Prevent LunaSysMgr from crashing on startup'''  
 
'''Prevent LunaSysMgr from crashing on startup'''  
  
Option A: git clone a pre-patched LSM repo:
+
Download and apply the following patch to your own LSM sources:
git clone git://github.com/ShiftyAxel/LunaSysMgr/tree/lsm-pre3
 
Option B: download and apply the following patch to your own LSM sources:
 
 
  curl https://github.com/ShiftyAxel/LunaSysMgr/commit/87137d043beabc4e4c18f1c61ed2885b51e2a442.diff > lsm-pre3.diff
 
  curl https://github.com/ShiftyAxel/LunaSysMgr/commit/87137d043beabc4e4c18f1c61ed2885b51e2a442.diff > lsm-pre3.diff
  

Revision as of 04:05, 29 July 2012

Introduction

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

What Works

Touch Input

Volume Keys (may not actually set the volume)

Sound (may not work fully, cannot test properly in the current state)

Launcher

Status Bar

System Menu

What Doesn't Work

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

UI Layout isn't optimized for the resolution

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

Keyboard Input (Crash)

Just Type (Crash)

Gesture Area

Disclaimer

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.

Instructions

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

tar -chvf lunaLibs.tar libQt* libhal.so libaffinity.so libqpalm.so libpsc.so

Copy the files to the device

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

Extract them

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

Link the new libraries

ldconfig -v

Close novaterm

exit

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

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

Close novaterm

exit

Prevent LunaSysMgr from crashing on startup

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

curl https://github.com/ShiftyAxel/LunaSysMgr/commit/87137d043beabc4e4c18f1c61ed2885b51e2a442.diff > lsm-pre3.diff

Build and Run

Modify woce-build/support/cross-compile.mk, 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

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

Upload the new LunaSysMgr

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

Run the new LunaSysMgr

novaterm
LunaSysMgr