<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Loudergood</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Loudergood"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Loudergood"/>
	<updated>2026-04-26T01:24:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Accessing_Linux_Debian&amp;diff=17065</id>
		<title>Accessing Linux Debian</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Accessing_Linux_Debian&amp;diff=17065"/>
		<updated>2011-07-01T18:24:15Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: typo fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Though the Ubuntu packages that Palm distributes will install on most linux systems, unless you have converted your Debian system to use the upstart daemon novacomd will not start automatically when your computer does.  This can be fixed quite easily by installing a sysv style init script and adding it to the boot process.&lt;br /&gt;
&lt;br /&gt;
These steps must be run as root&lt;br /&gt;
&lt;br /&gt;
1.  Download the palm-novacom package for your system (only tested with the 32bit package so far)&lt;br /&gt;
&lt;br /&gt;
2.  Switch to root and install the package&lt;br /&gt;
&lt;br /&gt;
3.  Save this script as /etc/init.d/novacomd and be very careful to not touch any other files in this directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides:          novacomd&lt;br /&gt;
# Required-Start:    $remote_fs dbus udev&lt;br /&gt;
# Required-Stop:     $remote_fs dbus udev&lt;br /&gt;
# Should-Start:	     $syslog&lt;br /&gt;
# Should-Stop:       $syslog&lt;br /&gt;
# Default-Start:     2 3 4 5&lt;br /&gt;
# Default-Stop:      0 1 6&lt;br /&gt;
# Short-Description: palm novacom daemon&lt;br /&gt;
# Description:       Daemon for connecting to palm devices&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
# Based on /etc/init.d/skeleton&lt;br /&gt;
# Edited by Members of the MTU LUG.  lug.mtu.edu&lt;br /&gt;
&lt;br /&gt;
# Do NOT &amp;quot;set -e&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# PATH should only include /usr/* if it runs after the mountnfs.sh script&lt;br /&gt;
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/opt/Palm/novacom&lt;br /&gt;
DESC=&amp;quot;Palm daemon to connect to webOS devices&amp;quot;&lt;br /&gt;
NAME=novacomd&lt;br /&gt;
DAEMON=/opt/Palm/novacom/$NAME&lt;br /&gt;
DAEMON_ARGS=&amp;quot;--daemonize&amp;quot;&lt;br /&gt;
SCRIPTNAME=/etc/init.d/$NAME&lt;br /&gt;
&lt;br /&gt;
# Exit if the package is not installed&lt;br /&gt;
[ -x &amp;quot;$DAEMON&amp;quot; ] || exit 0&lt;br /&gt;
&lt;br /&gt;
# Read configuration variable file if it is present&lt;br /&gt;
[ -r /etc/default/$NAME ] &amp;amp;&amp;amp; . /etc/default/$NAME&lt;br /&gt;
&lt;br /&gt;
# Load the VERBOSE setting and other rcS variables&lt;br /&gt;
. /lib/init/vars.sh&lt;br /&gt;
&lt;br /&gt;
# Define LSB log_* functions.&lt;br /&gt;
# Depend on lsb-base (&amp;gt;= 3.2-14) to ensure that this file is present&lt;br /&gt;
# and status_of_proc is working.&lt;br /&gt;
. /lib/lsb/init-functions&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Function that starts the daemon/service&lt;br /&gt;
#&lt;br /&gt;
do_start()&lt;br /&gt;
{&lt;br /&gt;
	# Return&lt;br /&gt;
	#   0 if daemon has been started&lt;br /&gt;
	#   1 if daemon was already running&lt;br /&gt;
	#   2 if daemon could not be started&lt;br /&gt;
	start-stop-daemon --start --quiet --exec $DAEMON --test &amp;gt; /dev/null \&lt;br /&gt;
		|| return 1&lt;br /&gt;
	start-stop-daemon --start --quiet --exec $DAEMON -- \&lt;br /&gt;
		$DAEMON_ARGS \&lt;br /&gt;
		|| return 2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Function that stops the daemon/service&lt;br /&gt;
#&lt;br /&gt;
do_stop()&lt;br /&gt;
{&lt;br /&gt;
	# Return&lt;br /&gt;
	#   0 if daemon has been stopped&lt;br /&gt;
	#   1 if daemon was already stopped&lt;br /&gt;
	#   2 if daemon could not be stopped&lt;br /&gt;
	#   other if a failure occurred&lt;br /&gt;
	start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME&lt;br /&gt;
	RETVAL=&amp;quot;$?&amp;quot;&lt;br /&gt;
	[ &amp;quot;$RETVAL&amp;quot; = 2 ] &amp;amp;&amp;amp; return 2&lt;br /&gt;
	# Wait for children to finish too if this is a daemon that forks&lt;br /&gt;
	# and if the daemon is only ever run from this initscript.&lt;br /&gt;
	# If the above conditions are not satisfied then add some other code&lt;br /&gt;
	# that waits for the process to drop all resources that could be&lt;br /&gt;
	# needed by services started subsequently.  A last resort is to&lt;br /&gt;
	# sleep for some time.&lt;br /&gt;
	start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON&lt;br /&gt;
	[ &amp;quot;$?&amp;quot; = 2 ] &amp;amp;&amp;amp; return 2&lt;br /&gt;
	# Many daemons don't delete their pidfiles when they exit.&lt;br /&gt;
	rm -f $PIDFILE&lt;br /&gt;
	return &amp;quot;$RETVAL&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# Function that sends a SIGHUP to the daemon/service&lt;br /&gt;
#&lt;br /&gt;
do_reload() {&lt;br /&gt;
	#&lt;br /&gt;
	# If the daemon can reload its configuration without&lt;br /&gt;
	# restarting (for example, when it is sent a SIGHUP),&lt;br /&gt;
	# then implement that here.&lt;br /&gt;
	#&lt;br /&gt;
	start-stop-daemon --stop --signal 1 --quiet --name $NAME&lt;br /&gt;
	return 0&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
  start)&lt;br /&gt;
	[ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_daemon_msg &amp;quot;Starting $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
	do_start&lt;br /&gt;
	case &amp;quot;$?&amp;quot; in&lt;br /&gt;
		0|1) [ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_end_msg 0 ;;&lt;br /&gt;
		2) [ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_end_msg 1 ;;&lt;br /&gt;
	esac&lt;br /&gt;
	;;&lt;br /&gt;
  stop)&lt;br /&gt;
	[ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_daemon_msg &amp;quot;Stopping $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
	do_stop&lt;br /&gt;
	case &amp;quot;$?&amp;quot; in&lt;br /&gt;
		0|1) [ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_end_msg 0 ;;&lt;br /&gt;
		2) [ &amp;quot;$VERBOSE&amp;quot; != no ] &amp;amp;&amp;amp; log_end_msg 1 ;;&lt;br /&gt;
	esac&lt;br /&gt;
	;;&lt;br /&gt;
  status)&lt;br /&gt;
       status_of_proc &amp;quot;$DAEMON&amp;quot; &amp;quot;$NAME&amp;quot; &amp;amp;&amp;amp; exit 0 || exit $?&lt;br /&gt;
       ;;&lt;br /&gt;
  #reload|force-reload)&lt;br /&gt;
	#&lt;br /&gt;
	# If do_reload() is not implemented then leave this commented out&lt;br /&gt;
	# and leave 'force-reload' as an alias for 'restart'.&lt;br /&gt;
	#&lt;br /&gt;
	#log_daemon_msg &amp;quot;Reloading $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
	#do_reload&lt;br /&gt;
	#log_end_msg $?&lt;br /&gt;
	#;;&lt;br /&gt;
  restart|force-reload)&lt;br /&gt;
	#&lt;br /&gt;
	# If the &amp;quot;reload&amp;quot; option is implemented then remove the&lt;br /&gt;
	# 'force-reload' alias&lt;br /&gt;
	#&lt;br /&gt;
	log_daemon_msg &amp;quot;Restarting $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
	do_stop&lt;br /&gt;
	case &amp;quot;$?&amp;quot; in&lt;br /&gt;
	  0|1)&lt;br /&gt;
		do_start&lt;br /&gt;
		case &amp;quot;$?&amp;quot; in&lt;br /&gt;
			0) log_end_msg 0 ;;&lt;br /&gt;
			1) log_end_msg 1 ;; # Old process is still running&lt;br /&gt;
			*) log_end_msg 1 ;; # Failed to start&lt;br /&gt;
		esac&lt;br /&gt;
		;;&lt;br /&gt;
	  *)&lt;br /&gt;
	  	# Failed to stop&lt;br /&gt;
		log_end_msg 1&lt;br /&gt;
		;;&lt;br /&gt;
	esac&lt;br /&gt;
	;;&lt;br /&gt;
  *)&lt;br /&gt;
	#echo &amp;quot;Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
	echo &amp;quot;Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
	exit 3&lt;br /&gt;
	;;&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4.  Run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
update-rc.d novacomd defaults&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Adding_flash_support&amp;diff=14815</id>
		<title>Adding flash support</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Adding_flash_support&amp;diff=14815"/>
		<updated>2011-03-29T20:50:44Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Step 5. Wrap Up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Adobe Flash ==&lt;br /&gt;
Adobe Flash is not included in this webOS 2.1 doctor, but can be added with files from a VZW Pre 2 2.0.1 doctor.&lt;br /&gt;
&lt;br /&gt;
=== Adding Flash Support ===&lt;br /&gt;
The easiest way to enable Adobe Flash on your webOS 2.1.0 legacy device is by creating a modular package and installing that, along with a patch to make the Adobe Flash preferences visible in the browser.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Step 1. Prerequisites ====&lt;br /&gt;
*Download the Verizon 2.0.1 Pre 2 Doctor ([http://palm.cdnetworks.net/rom/pre2/p201r0d02172011/ver1z0np201rod/webosdoctorp102verizonwireless.jar here])&lt;br /&gt;
*Download Jason Robitaille's IPK Packager ([http://code.google.com/p/ipk-packager/downloads/list here])&lt;br /&gt;
*Download webOS Quick Install ([http://forums.precentral.net/canuck-coding/274461-webos-quick-install-v4-04-a.html here])&lt;br /&gt;
*Download temporary directory ([http://forums.precentral.net/attachments/canuck-coding/56009d1298772359-how-get-flash-legacy-devices-2-1-0-flashplugincontainer.zip here]) and unzip the FlashPluginContainer folder to your desktop&lt;br /&gt;
*Download patch to enable Flash preferences in the browser ([http://forums.precentral.net/attachments/canuck-coding/55913d1298547118-how-get-flash-legacy-devices-2-1-0-show-flash-prefs-legacy-devices.patch here])&lt;br /&gt;
&lt;br /&gt;
==== Step 2. Unpack ====&lt;br /&gt;
*Open the 2.0.1 doctor with an archive manager, like 7zip. Navigate to &amp;quot;&amp;lt;code&amp;gt;resources/webOS.tar/./nova-cust-image-roadrunner.rootfs.tar.gz/./&amp;lt;/code&amp;gt;&amp;quot; This is where the Flash files are stored.&lt;br /&gt;
*Extract the following files from the webOS ROM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;/etc/adobe/mms.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/etc/adobe/oem.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/libflashplayer.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/libFlashGraphics.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniPlugin.so&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3. Drag 'N' Drop ====&lt;br /&gt;
*Simply place the files from the ROM into the FlashPluginContainer folder in their respective locations.&lt;br /&gt;
*Pay close attention to where each file/folder is stored inside the webOS ROM.&lt;br /&gt;
&lt;br /&gt;
==== Step 4. Packaging ====&lt;br /&gt;
*Open Jason's IPK Packager and point the program to the '''files''' folder. Do NOT point to FlashPluginContainer, as the install will fail.&lt;br /&gt;
*The rest of the fields will populate on their own.&lt;br /&gt;
*Save the IPK file somewhere using &amp;quot;Create IPK Package.&amp;quot; You may want to keep it handy.&lt;br /&gt;
&lt;br /&gt;
==== Step 5. Wrap Up ====&lt;br /&gt;
*Use webOS Quick Install to install both IPK and patch.&lt;br /&gt;
&lt;br /&gt;
Note: The patch to enable Flash preferences is also available in Preware.&lt;br /&gt;
&lt;br /&gt;
Note: People are reporting problems with installing the IPK with WOSQI v4.04, installing it via Preware seems to work well.&lt;br /&gt;
&lt;br /&gt;
==== Step 6. Edit system files ====&lt;br /&gt;
''Obsolete as of 21/03/2011.''&lt;br /&gt;
&lt;br /&gt;
Open /usr/palm/applications/com.palm.app.browser/app/controllers/preferences-assistant.js (either in your MetaDoctor or on your live device -if on a live device, remember to make a backup!)&lt;br /&gt;
:&amp;lt;br /&amp;gt;Find the following two lines (should be lines 46 &amp;amp; 47) and comment them out by adding // to the beginning of each line:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;this.controller.get(&amp;quot;flashPref&amp;quot;).hide();&lt;br /&gt;
&amp;lt;br /&amp;gt;this.controller.get(&amp;quot;autoLoadPref&amp;quot;).hide();&amp;lt;br /&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 7. Reboot ====&lt;br /&gt;
Reboot your devices for changes to take effect&lt;br /&gt;
&lt;br /&gt;
Support thread: http://forums.precentral.net/canuck-coding/276703-how-get-flash-legacy-devices-2-1-0-a.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Adding Flash Support Manually ===&lt;br /&gt;
# Extract WebOS.tar from the Resources folder in the VZW doctor to a location on your hard drive&amp;lt;br /&amp;gt;&lt;br /&gt;
# Copy the following files from the extracted WebOS.tar to their equivalent locations in your MetaDoctor (alternatively, you can copy them manually to a live device using Novaterm)&lt;br /&gt;
 &amp;lt;blockquote&amp;gt;/etc/adobe/mms.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/etc/adobe/oem.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/libflashplayer.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/libFlashGraphics.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniPlugin.so&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
:3. Open /usr/palm/applications/com.palm.app.browser/app/controllers/preferences-assistant.js (either in your MetaDoctor or on your live device -if on a live device, remember to make a backup!)&lt;br /&gt;
:&amp;lt;br /&amp;gt;Find the following two lines (should be lines 46 &amp;amp; 47) and comment them out by adding // to the beginning of each line:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;this.controller.get(&amp;quot;flashPref&amp;quot;).hide();&lt;br /&gt;
&amp;lt;br /&amp;gt;this.controller.get(&amp;quot;autoLoadPref&amp;quot;).hide();&amp;lt;br /&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
:4. Reboot your Pre if the editing was done on a live device&lt;br /&gt;
&lt;br /&gt;
Flash preferences should now be visible under browser preferences.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Flash Troubleshooting ===&lt;br /&gt;
After adding Flash support, you may find that visiting any page with the browser will never completely load, and then automatically refresh in a loop. Disabling and the enabling Flash content in the browser preferences will fix this issue.&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Adding_flash_support&amp;diff=14813</id>
		<title>Adding flash support</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Adding_flash_support&amp;diff=14813"/>
		<updated>2011-03-29T20:50:13Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Step 5. Wrap Up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Adobe Flash ==&lt;br /&gt;
Adobe Flash is not included in this webOS 2.1 doctor, but can be added with files from a VZW Pre 2 2.0.1 doctor.&lt;br /&gt;
&lt;br /&gt;
=== Adding Flash Support ===&lt;br /&gt;
The easiest way to enable Adobe Flash on your webOS 2.1.0 legacy device is by creating a modular package and installing that, along with a patch to make the Adobe Flash preferences visible in the browser.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==== Step 1. Prerequisites ====&lt;br /&gt;
*Download the Verizon 2.0.1 Pre 2 Doctor ([http://palm.cdnetworks.net/rom/pre2/p201r0d02172011/ver1z0np201rod/webosdoctorp102verizonwireless.jar here])&lt;br /&gt;
*Download Jason Robitaille's IPK Packager ([http://code.google.com/p/ipk-packager/downloads/list here])&lt;br /&gt;
*Download webOS Quick Install ([http://forums.precentral.net/canuck-coding/274461-webos-quick-install-v4-04-a.html here])&lt;br /&gt;
*Download temporary directory ([http://forums.precentral.net/attachments/canuck-coding/56009d1298772359-how-get-flash-legacy-devices-2-1-0-flashplugincontainer.zip here]) and unzip the FlashPluginContainer folder to your desktop&lt;br /&gt;
*Download patch to enable Flash preferences in the browser ([http://forums.precentral.net/attachments/canuck-coding/55913d1298547118-how-get-flash-legacy-devices-2-1-0-show-flash-prefs-legacy-devices.patch here])&lt;br /&gt;
&lt;br /&gt;
==== Step 2. Unpack ====&lt;br /&gt;
*Open the 2.0.1 doctor with an archive manager, like 7zip. Navigate to &amp;quot;&amp;lt;code&amp;gt;resources/webOS.tar/./nova-cust-image-roadrunner.rootfs.tar.gz/./&amp;lt;/code&amp;gt;&amp;quot; This is where the Flash files are stored.&lt;br /&gt;
*Extract the following files from the webOS ROM:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;/etc/adobe/mms.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/etc/adobe/oem.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/libflashplayer.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/libFlashGraphics.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniPlugin.so&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 3. Drag 'N' Drop ====&lt;br /&gt;
*Simply place the files from the ROM into the FlashPluginContainer folder in their respective locations.&lt;br /&gt;
*Pay close attention to where each file/folder is stored inside the webOS ROM.&lt;br /&gt;
&lt;br /&gt;
==== Step 4. Packaging ====&lt;br /&gt;
*Open Jason's IPK Packager and point the program to the '''files''' folder. Do NOT point to FlashPluginContainer, as the install will fail.&lt;br /&gt;
*The rest of the fields will populate on their own.&lt;br /&gt;
*Save the IPK file somewhere using &amp;quot;Create IPK Package.&amp;quot; You may want to keep it handy.&lt;br /&gt;
&lt;br /&gt;
==== Step 5. Wrap Up ====&lt;br /&gt;
*Use webOS Quick Install to install both IPK and patch.&lt;br /&gt;
&lt;br /&gt;
Note: The patch to enable Flash preferences is also available in Preware.&lt;br /&gt;
Note: People are reporting problems with installing the IPK with WOSQI v4.04, installing it via Preware seems to work well.&lt;br /&gt;
&lt;br /&gt;
==== Step 6. Edit system files ====&lt;br /&gt;
''Obsolete as of 21/03/2011.''&lt;br /&gt;
&lt;br /&gt;
Open /usr/palm/applications/com.palm.app.browser/app/controllers/preferences-assistant.js (either in your MetaDoctor or on your live device -if on a live device, remember to make a backup!)&lt;br /&gt;
:&amp;lt;br /&amp;gt;Find the following two lines (should be lines 46 &amp;amp; 47) and comment them out by adding // to the beginning of each line:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;this.controller.get(&amp;quot;flashPref&amp;quot;).hide();&lt;br /&gt;
&amp;lt;br /&amp;gt;this.controller.get(&amp;quot;autoLoadPref&amp;quot;).hide();&amp;lt;br /&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Step 7. Reboot ====&lt;br /&gt;
Reboot your devices for changes to take effect&lt;br /&gt;
&lt;br /&gt;
Support thread: http://forums.precentral.net/canuck-coding/276703-how-get-flash-legacy-devices-2-1-0-a.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Adding Flash Support Manually ===&lt;br /&gt;
# Extract WebOS.tar from the Resources folder in the VZW doctor to a location on your hard drive&amp;lt;br /&amp;gt;&lt;br /&gt;
# Copy the following files from the extracted WebOS.tar to their equivalent locations in your MetaDoctor (alternatively, you can copy them manually to a live device using Novaterm)&lt;br /&gt;
 &amp;lt;blockquote&amp;gt;/etc/adobe/mms.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/etc/adobe/oem.cfg&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/libflashplayer.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play-down.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/resource/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/libFlashGraphics.so&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-noplay.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-play.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-icon-unknown.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniAdapterData/plugin-scrim.png&lt;br /&gt;
 &amp;lt;br /&amp;gt;/usr/lib/BrowserServerPlugins/FlashMiniPlugin.so&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
:3. Open /usr/palm/applications/com.palm.app.browser/app/controllers/preferences-assistant.js (either in your MetaDoctor or on your live device -if on a live device, remember to make a backup!)&lt;br /&gt;
:&amp;lt;br /&amp;gt;Find the following two lines (should be lines 46 &amp;amp; 47) and comment them out by adding // to the beginning of each line:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;this.controller.get(&amp;quot;flashPref&amp;quot;).hide();&lt;br /&gt;
&amp;lt;br /&amp;gt;this.controller.get(&amp;quot;autoLoadPref&amp;quot;).hide();&amp;lt;br /&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
:4. Reboot your Pre if the editing was done on a live device&lt;br /&gt;
&lt;br /&gt;
Flash preferences should now be visible under browser preferences.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Flash Troubleshooting ===&lt;br /&gt;
After adding Flash support, you may find that visiting any page with the browser will never completely load, and then automatically refresh in a loop. Disabling and the enabling Flash content in the browser preferences will fix this issue.&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=13277</id>
		<title>Novacomd Init Script</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=13277"/>
		<updated>2011-03-01T22:56:57Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: Replaced content with 'See http://www.webos-internals.org/wiki/Accessing_Linux_Debian'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See http://www.webos-internals.org/wiki/Accessing_Linux_Debian&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=WebOS_Internals_PDK&amp;diff=12897</id>
		<title>WebOS Internals PDK</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=WebOS_Internals_PDK&amp;diff=12897"/>
		<updated>2011-02-23T01:37:30Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Setup Scratchbox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: SDL]]&lt;br /&gt;
Palm's binary sdk  the &amp;quot;Plugin Developer Kit&amp;quot; became available to all developers in March 2010.&lt;br /&gt;
&lt;br /&gt;
When the widk was developed, the Palm PDK didn't exist, and until Dec 2010, it was not possible to run the PDK in Linux.  If you would like to run the official Palm PDK, see [[PDK on Linux]] for directions.&lt;br /&gt;
&lt;br /&gt;
In addition to the PDK, webOS Internals has released a full &amp;quot;WIDK&amp;quot; (webOS Internals Development Kit) for you using Scratchbox2.  &lt;br /&gt;
&lt;br /&gt;
Less than 10% of developers in the webOS developer community use Linux variants. Among those 10% there are dozens of different linux distributions that people use. Palm, therefore has chosen to support only Mac and Windows platforms for their PDK.  Palm reccomends that Linux based developers use the webOS-internals WIDK instead.  &lt;br /&gt;
&lt;br /&gt;
We ''strongly'' urge the open-source homebrew community to standardize on this WIDK.   It uses the same underlying technologies, and is entirely open.  &lt;br /&gt;
&lt;br /&gt;
Scratchbox 2 is a cross-compilation engine, it can be used to create a highly flexible SDK.&lt;br /&gt;
&lt;br /&gt;
As installed below, the install process uses a script which extracts the required Palm provided files from a copy of webOS doctor, and  downloads from other sources, and builds a complete compilation environment automatically which can compile SDL and openGLES apps for webOS.  &lt;br /&gt;
&lt;br /&gt;
SB2 ''itself'' is totally distribution neutral but the webOS cross-compile environment is designed and tested on Ubuntu 9.10 32 bit. (At least one user in #webos-internals reports complete success running the cross compile environment in Ubuntu 9.10 64 bit after installing curl via apt-get.) See [[WebOS_Internals_PDK_on_Mandriva]] if you want to run it on Mandriva.  If you want to run the WIDK on other distributions and are willing to support that yourself and not ask webOS Internals any questions about it then please enjoy and if you succeed come back here and make a new article on how you did it.  Otherwise, use the recommended OS.&lt;br /&gt;
&lt;br /&gt;
The webOS Internals team ''strongly suggest'' apt-get install into the Ubuntu environment only for this purpose. The same installation of Sun Virtualbox which hosts the Palm SDK emulator can host an Ubuntu 9.10 server with very little effort on any operating system. &lt;br /&gt;
&lt;br /&gt;
Developers wanting to work in an open environment 'without' SB2 can consider using the [[PuffTheMagic NDK]].&lt;br /&gt;
&lt;br /&gt;
==SB2 Homepage==&lt;br /&gt;
[http://www.freedesktop.org/wiki/Software/sbox2 http://www.freedesktop.org/wiki/Software/sbox2]pdk&lt;br /&gt;
&lt;br /&gt;
==License==&lt;br /&gt;
Scratchbox 2 is distributed under LGPL version 2.1, portions are under GPL version 2. Some minor stuff is under MIT style license.&lt;br /&gt;
&lt;br /&gt;
== Installation on Ubuntu for webOS PDK cross compiling ==&lt;br /&gt;
&lt;br /&gt;
If setting up in a Virtual Box instance, it is recommended that you first complete the openSSH config as described in the VirtualBox tips for Windows users to the right.  This is helpful even with a Linux host, as SSH into the PDK Virtual Machine will allow copy and paste of the commands listed below and reduce errors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
There is an automated installer avaliable [http://forums.precentral.net/webos-internals/266139-webos-internals-automated-installers.html#post2718551 here]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right; clear:right; width:30%&amp;quot;&amp;gt;{{Ubuntu_VM_notes_for_Windows_users}}&amp;lt;/div&amp;gt;&lt;br /&gt;
===Toolchain===&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
Your Ubuntu installation will need the following installed.  If you do not have them, run the command after the package name. You can test if they are found by just typing the command name.  If it says command not found, you need to install it.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|'''git''' || sudo apt-get install git-core&lt;br /&gt;
|-&lt;br /&gt;
|'''gcc''' || sudo apt-get install build-essential&lt;br /&gt;
|-&lt;br /&gt;
|'''curl''' || sudo apt-get install curl&lt;br /&gt;
|-&lt;br /&gt;
|'''unzip'''|| sudo apt-get install unzip&lt;br /&gt;
|-&lt;br /&gt;
|'''autoconf'''|| sudo apt-get install autoconf&lt;br /&gt;
|-&lt;br /&gt;
|'''subversion'''|| sudo apt-get install subversion&lt;br /&gt;
|-&lt;br /&gt;
|'''libtool'''|| sudo apt-get install libtool&lt;br /&gt;
|-&lt;br /&gt;
|'''wget'''|| sudo apt-get install wget&lt;br /&gt;
|-&lt;br /&gt;
|'''pkg-config'''|| sudo apt-get install pkg-config&lt;br /&gt;
|-&lt;br /&gt;
|'''gettext'''|| sudo apt-get install gettext&lt;br /&gt;
|-&lt;br /&gt;
|'''fakeroot'''|| sudo apt-get install fakeroot&lt;br /&gt;
|-&lt;br /&gt;
|'''javac'''|| sudo apt-get install sun-java6-jdk&lt;br /&gt;
|-&lt;br /&gt;
|'''ant'''|| sudo apt-get install ant&lt;br /&gt;
|-&lt;br /&gt;
|'''xsltproc'''|| sudo apt-get install xsltproc&lt;br /&gt;
|-&lt;br /&gt;
|'''intltool'''|| sudo apt-get install intltool&lt;br /&gt;
|-&lt;br /&gt;
|'''mkimage'''|| sudo apt-get install uboot-mkimage&lt;br /&gt;
|-&lt;br /&gt;
|'''lsdiff'''|| sudo apt-get install patchutils&lt;br /&gt;
|-&lt;br /&gt;
|'''flex'''|| sudo apt-get install flex&lt;br /&gt;
|-&lt;br /&gt;
|'''bison'''|| sudo apt-get install bison&lt;br /&gt;
|-&lt;br /&gt;
|'''libssl-dev'''|| sudo apt-get install libssl-dev&lt;br /&gt;
|-&lt;br /&gt;
|'''libz-dev'''|| sudo apt-get install libz-dev&lt;br /&gt;
|-&lt;br /&gt;
|'''libbz2-dev'''|| sudo apt-get install libbz2-dev&lt;br /&gt;
|-&lt;br /&gt;
|'''xar'''|| sudo apt-get install xar&lt;br /&gt;
|-&lt;br /&gt;
|'''help2man'''|| sudo apt-get install help2man&lt;br /&gt;
|-&lt;br /&gt;
|'''texinfo'''|| sudo apt-get install texinfo&lt;br /&gt;
|-&lt;br /&gt;
|'''automake 1.10'''|| sudo apt-get install automake1.10&lt;br /&gt;
|-&lt;br /&gt;
|'''autopoint'''|| sudo apt-get install autopoint&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* it has been reported that sun-java6-jdk isn't necessary&lt;br /&gt;
&lt;br /&gt;
If you're uncertain at all, just cut and paste the following.  If they are already installed, they'll be skipped.  &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install git-core build-essential curl unzip autoconf subversion libtool wget pkg-config gettext fakeroot ant xsltproc intltool uboot-mkimage patchutils flex bison libssl-dev libz-dev libbz2-dev xar help2man texinfo automake1.10 autopoint&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you are a beginner with Ubuntu Linux Distribution, you should update all the packages on your system to avoid problems when you will compile.&lt;br /&gt;
&lt;br /&gt;
'''Note 2:''' If you're using Ubuntu and &amp;lt;code&amp;gt;xar&amp;lt;/code&amp;gt; cannot be installed with &amp;lt;code&amp;gt;sudo apt-get install xar&amp;lt;/code&amp;gt;, then you have to download two &amp;lt;code&amp;gt;.deb&amp;lt;/code&amp;gt;-files manually and install them (in the order they are listed):&lt;br /&gt;
# [http://packages.ubuntu.com/hardy/libxar1 libxar1]&lt;br /&gt;
# [http://packages.ubuntu.com/hardy/xar xar]&lt;br /&gt;
After that execute the above command again.&lt;br /&gt;
&lt;br /&gt;
Use these 2 command line :&amp;lt;BR&amp;gt;&lt;br /&gt;
Update repositories   :&lt;br /&gt;
 sudo aptitude update&lt;br /&gt;
And next, update the packages :&lt;br /&gt;
 sudo aptitude safe-upgrade&lt;br /&gt;
&lt;br /&gt;
If you're on a 64-bit system, you will also need to install the ia32-libs package.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''make toolchain'' command and later steps will download approximately a half-gig of tools and sources from various locations.  Do not start this if you do not have time for a large download.  Additionally, if you already have downloaded a copy of the correct version of the WebOS doctor, you can reduce the download time by copying the doctor file into cross-compile/doctors/ with the correct name.  This will cause the appropriate command to skip that download.  Note that codesourcery rate limts downloads and at a minimum this process will take 10 to 15 minutes irrespective of your connection speed. &lt;br /&gt;
&lt;br /&gt;
====Start setup====&lt;br /&gt;
Create a preware folder, copy the cross-compile tools into it (if you have not installed git, apt-get install git-core), and use a make script to begin the set up of the compilation toolchain. &lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /srv/preware&lt;br /&gt;
 cd /srv/preware&lt;br /&gt;
 sudo chmod 777 .&lt;br /&gt;
 git clone git://git.webos-internals.org/preware/cross-compile.git&lt;br /&gt;
 cd cross-compile&lt;br /&gt;
 make toolchain&lt;br /&gt;
&lt;br /&gt;
If errors occur, browse the [http://git.webos-internals.org/?p=preware/cross-compile.git;a=shortlog repository online] and checkout earlier commits until you get something that gets through &amp;quot;make toolchain&amp;quot; and the later &amp;quot;make stage&amp;quot; commands like so:&lt;br /&gt;
&lt;br /&gt;
 git checkout &amp;lt;commit-ish&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Fix mmap errors====&lt;br /&gt;
The following commands appear redundant.  They are not.  The install this fixes your mmap config to fix an mmap: permission denied error, but we don't need the package itself. (Do each command separately with cut and paste).&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install qemu-arm-static&lt;br /&gt;
 sudo apt-get remove qemu-arm-static&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;span style=&amp;quot;font-size:150%&amp;quot;&amp;gt;OR&amp;lt;/span&amp;gt; As a workaround, if this package is not available, &lt;br /&gt;
::: the following commands can be executed in a root shell (sudo -s) to fix the mmap configuration to enable qemu-arm to work.&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;vm.mmap_min_addr = 4096&amp;quot; &amp;gt; /etc/sysctl.d/mmap_min_addr.conf&lt;br /&gt;
 /etc/init.d/procps restart&lt;br /&gt;
&lt;br /&gt;
(note that the value should not be &amp;quot;0&amp;quot;. 4096 is chosen to avoid null pointer attacks.)&lt;br /&gt;
&lt;br /&gt;
====Verify sh shell====&lt;br /&gt;
On Ubuntu /bin/sh is a symbolic link to dash.  This will cause errors with the make stage command below, as some of the scripts assume bash.  Run the following command to see what shell sh is linked to.&lt;br /&gt;
&lt;br /&gt;
  ls -l /bin/sh&lt;br /&gt;
&lt;br /&gt;
If the result is a link to dash:&lt;br /&gt;
&lt;br /&gt;
  lrwxrwxrwx 1 root root 4 2010-07-06 23:55 /bin/sh -&amp;gt; dash&lt;br /&gt;
&lt;br /&gt;
You will want to correct it with the following:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg-reconfigure dash&lt;br /&gt;
&lt;br /&gt;
You will be asked if you want to &amp;quot;Install dash as /bin/sh?&amp;quot;.  Select &amp;quot;&amp;lt;No&amp;gt;&amp;quot; and bash will be used.  Rerun the command to verify:&lt;br /&gt;
&lt;br /&gt;
  ls -l /bin/sh&lt;br /&gt;
&lt;br /&gt;
You should now see:&lt;br /&gt;
&lt;br /&gt;
  lrwxrwxrwx 1 root root 4 2010-07-09 21:12 /bin/sh -&amp;gt; bash&lt;br /&gt;
&lt;br /&gt;
====Setup Scratchbox====&lt;br /&gt;
Now, use apt-get to setup scratchbox...&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install scratchbox2 qemu-kvm-extras (in Debian install qemu-user and qemu-system instead of qemu-kvm-extras)&lt;br /&gt;
&lt;br /&gt;
...and set it up for compiling for webOS. &lt;br /&gt;
&lt;br /&gt;
 cd /srv/preware/cross-compile/toolchain/arm-2007q3/arm-none-linux-gnueabi/libc&lt;br /&gt;
 PATH=/srv/preware/cross-compile/toolchain/arm-2007q3/bin:${PATH} sb2-init -c /usr/bin/qemu-arm armv7 arm-none-linux-gnueabi-gcc&lt;br /&gt;
 cd /srv/preware/cross-compile&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 make stage&lt;br /&gt;
&lt;br /&gt;
Once this setup is complete, compiling sdl apps for webOS is very simple.&lt;br /&gt;
&lt;br /&gt;
==Verified installed clean list==&lt;br /&gt;
&lt;br /&gt;
If you have successfully built the WIDK from scratch, with NO problems, feel free to add your information to this list.  This will help us assess what distributions and versions it is fully compatible with.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|'''IRC name'''&lt;br /&gt;
|'''Linux Distribution'''&lt;br /&gt;
|'''Version'''&lt;br /&gt;
|'''Date'''&lt;br /&gt;
|'''Comments'''&lt;br /&gt;
|-&lt;br /&gt;
|Scoutcamper&lt;br /&gt;
|Ubuntu&lt;br /&gt;
|9.04,9.10,10.04,10.10&lt;br /&gt;
|10-18-10&lt;br /&gt;
|Works Great!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It just doesn't work tried for over a week, with fresh Ubuntu 10.4 inside and outside of virtual box, fails on libtool for common/fuse/. Tried -j4 option with make stage, tried make staging-armv7. Also installed automake-1.9 after seeing complaints about that. -- please sign your comments&lt;br /&gt;
&lt;br /&gt;
==Errors during make stage ==&lt;br /&gt;
&lt;br /&gt;
===automake1.10===&lt;br /&gt;
&lt;br /&gt;
If you see the error below, you need the latest automake (1.10)&lt;br /&gt;
&lt;br /&gt;
 /usr/share/automake-1.9/am/depend2.am: am__fastdepOBJC does not appear in AM_CONDITIONAL&lt;br /&gt;
 configure.in:88: installing `./config.guess'&lt;br /&gt;
 configure.in:88: installing `./config.sub'&lt;br /&gt;
 Makefile.am: installing `./INSTALL'&lt;br /&gt;
 autoreconf2.50: automake failed with exit status: 1&lt;br /&gt;
&lt;br /&gt;
Install automake1.10 and it should work (according to [http://old.nabble.com/AC_PROG_OBJC-and-automake-1.9-td22434760.html this page])&lt;br /&gt;
&lt;br /&gt;
===Libtool===&lt;br /&gt;
&lt;br /&gt;
 make[5]: Entering directory `/srv/preware/cross-compile/packages/common/libdotconf/build/armv6/src'&lt;br /&gt;
 /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -MT libdotconf_la-dotconf.lo -MD -MP -MF .deps/libdotconf_la-dotconf.Tpo -c -o libdotconf_la-dotconf.lo `test -f 'dotconf.c' || echo './'`dotconf.c&lt;br /&gt;
 libtool: Version mismatch error.  This is libtool 2.2.6b, but the&lt;br /&gt;
 libtool: definition of this LT_INIT comes from libtool 2.2.6.&lt;br /&gt;
 libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b&lt;br /&gt;
 libtool: and run autoconf again.&lt;br /&gt;
 make[5]: *** [libdotconf_la-dotconf.lo] Error 63&lt;br /&gt;
 make[5]: Leaving directory `/srv/preware/cross-compile/packages/common/libdotconf/build/armv6/src'&lt;br /&gt;
 make[4]: *** [install-recursive] Error 1&lt;br /&gt;
 make[4]: Leaving directory `/srv/preware/cross-compile/packages/common/libdotconf/build/armv6'&lt;br /&gt;
 make[3]: *** [build/armv6.built] Error 2&lt;br /&gt;
 make[3]: Leaving directory `/srv/preware/cross-compile/packages/common/libdotconf'&lt;br /&gt;
 make[2]: *** [build_common/libdotconf] Error 2&lt;br /&gt;
 make[2]: Leaving directory `/srv/preware/cross-compile'&lt;br /&gt;
 make[1]: *** [staging-armv6] Error 2&lt;br /&gt;
 make[1]: Leaving directory `/srv/preware/cross-compile'&lt;br /&gt;
 make: *** [stage] Error 2&lt;br /&gt;
&lt;br /&gt;
Confirmed by 3 people. Fix this by either (your choice)&lt;br /&gt;
*upgrading to Ubuntu 10.04 or newer (the WIDK now relies on a slightly newer version of libtool that's not in 9.10 or earlier)&lt;br /&gt;
*updating libtool to 2.2.6b-2 (backported to 9.10, see available downloads on http://linuxappfinder.com/package/libtool#ubuntu_karmicpartner)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're getting an error where sb2-init gives you the following output:&lt;br /&gt;
&lt;br /&gt;
 checking for gcc... gcc&lt;br /&gt;
 checking for C compiler default output file name... a.out&lt;br /&gt;
 checking whether the C compiler works... configure: error: cannot run C compiled programs.&lt;br /&gt;
 If you meant to cross compile, use `--host'.&lt;br /&gt;
 See `config.log' for more details.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Running /usr/bin/sb2-build-libtool failed&lt;br /&gt;
 You can run this manually later, otherwise your&lt;br /&gt;
 sb2 environment is correctly setup and ready to use&lt;br /&gt;
&lt;br /&gt;
You need to upgrade qemu. Alternatively, if your sb2-init output fails with a different output, like this:&lt;br /&gt;
&lt;br /&gt;
 checking for gcc... gcc&lt;br /&gt;
 checking for C compiler default output file name... a.out&lt;br /&gt;
 checking whether the C compiler works... configure: error: cannot run C compiled programs.&lt;br /&gt;
 If you meant to cross compile, use `--host'.&lt;br /&gt;
 See `config.log' for more details.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 sb2-init completed successfully, have fun!&lt;br /&gt;
&lt;br /&gt;
Then you need to upgrade scratchbox, too (install 2.0 instead of 1.99).&lt;br /&gt;
&lt;br /&gt;
=== ecore ===&lt;br /&gt;
*TRUE and FALSE are not defined:&lt;br /&gt;
Manually add the definition:&lt;br /&gt;
&lt;br /&gt;
 #ifndef TRUE&lt;br /&gt;
 # define TRUE 1&lt;br /&gt;
 #endif&lt;br /&gt;
&lt;br /&gt;
 #ifndef FALSE&lt;br /&gt;
 # define FALSE 0&lt;br /&gt;
 #endif&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;$po_makefile_in&amp;lt;/code&amp;gt; could not be found:&lt;br /&gt;
**Open the file &amp;lt;code&amp;gt;/srv/preware/cross-compile/packages/dev-e/ecore/build/src/configure.ac&amp;lt;/code&amp;gt; and search for the line with: &amp;lt;code&amp;gt;$po_makefile_in&amp;lt;/code&amp;gt; (in my case line 1437) and replace it with &amp;lt;code&amp;gt;po/Makefile.in&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== /bin/sh errors ===&lt;br /&gt;
If you are getting a &amp;quot;bad fd number&amp;quot; or other /bin/sh error, make sure your /bin/sh points to bash, not another shell (such as dash.)&lt;br /&gt;
&lt;br /&gt;
Go back through the Verify sh shell section above to correct.&lt;br /&gt;
&lt;br /&gt;
=== fuse ===&lt;br /&gt;
If you get an error like this (happened to me on Ubuntu 10.10):&lt;br /&gt;
&lt;br /&gt;
 make[5]: Entering directory '/srv/preware/cross-compile/packages/common/fuse/build/armv7/lib'&lt;br /&gt;
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include  -I../include -DFUSERMOUNT_DIR=\&amp;quot;/usr/local/bin\&amp;quot; -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=26   -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT fuse.lo -MD -MP -MF &amp;quot;.deps/fuse.Tpo&amp;quot; -c -o fuse.lo fuse.c; \&lt;br /&gt;
 	then mv -f &amp;quot;.deps/fuse.Tpo&amp;quot; &amp;quot;.deps/fuse.Plo&amp;quot;; else rm -f &amp;quot;.deps/fuse.Tpo&amp;quot;; exit 1; fi&lt;br /&gt;
 libtool: Version mismatch error.  This is libtool 2.1a Debian 1.9+20051221-1, but the&lt;br /&gt;
 libtool: definition of this LT_INIT comes from libtool 2.2.6b.&lt;br /&gt;
 libtool: You should recreate aclocal.m4 with macros from libtool 2.1a Debian 1.9+20051221-1&lt;br /&gt;
 libtool: and run autoconf again.&lt;br /&gt;
 make[5]: *** [fuse.lo] Error 1&lt;br /&gt;
 make[5]: Leaving direcotry '/srv/preware/cross-compile/packages/common/fuse/build/armv7/lib'&lt;br /&gt;
&lt;br /&gt;
Then open the file &amp;lt;code&amp;gt;/srv/preware/cross-compile/packages/common/fuse/build/src/ltmain.sh&amp;lt;/code&amp;gt; and search for &amp;lt;code&amp;gt;exit $EXIT_MISMATCH&amp;lt;/code&amp;gt; (in my case line 1028) and comment it out by placing a &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; before this line. I know that's a dirty fix, but it worked for me. Note that you will see the same error messages as before, but it won't stop there.&lt;br /&gt;
&lt;br /&gt;
==Sample build of [[Application:Doom]]==&lt;br /&gt;
&lt;br /&gt;
Now, go to [[Building DOOM with scratchbox2]] and follow the simple directions.&lt;br /&gt;
&lt;br /&gt;
==In Process Enhancements==&lt;br /&gt;
[[Extracting the PDK on Linux]]&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=12855</id>
		<title>Novacomd Init Script</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=12855"/>
		<updated>2011-02-21T18:41:42Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/sbin/runscript&lt;br /&gt;
&lt;br /&gt;
start() {&lt;br /&gt;
        ebegin &amp;quot;Starting novacomd&amp;quot;&lt;br /&gt;
        start-stop-daemon --start --background --exec /opt/Palm/novacom/novacomd&lt;br /&gt;
        result=$?&lt;br /&gt;
        eend $result&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop() {&lt;br /&gt;
        ebegin &amp;quot;Stopping novacomd&amp;quot;&lt;br /&gt;
        start-stop-daemon --stop --quiet --exec /opt/Palm/novacom/novacomd&lt;br /&gt;
        result=$?&lt;br /&gt;
        eend $result&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== For Debian(tested on Sid 2/21/2011) ==&lt;br /&gt;
&lt;br /&gt;
1. Save this at /etc/init.d/novacomd&lt;br /&gt;
2. Make sure you make it executable. Use &amp;quot;chmod +x /etc/init.d/novacomd&amp;quot;&lt;br /&gt;
3. Run &amp;quot;update-rc.d novacomd defaults&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
    #! /bin/sh&lt;br /&gt;
    ### BEGIN INIT INFO&lt;br /&gt;
    # Provides:          novacomd&lt;br /&gt;
    # Required-Start:    $remote_fs dbus udev&lt;br /&gt;
    # Required-Stop:     $remote_fs dbus udev&lt;br /&gt;
    # Should-Start:      $syslog&lt;br /&gt;
    # Should-Stop:       $syslog&lt;br /&gt;
    # Default-Start:     2 3 4 5&lt;br /&gt;
    # Default-Stop:      0 1 6&lt;br /&gt;
    # Short-Description: palm novacom daemon&lt;br /&gt;
    # Description:       Daemon for connecting to palm devices&lt;br /&gt;
    #                    &lt;br /&gt;
    ### END INIT INFO&lt;br /&gt;
     &lt;br /&gt;
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/Palm/novacom&lt;br /&gt;
    DESC=&amp;quot;Palm Novacom daemon&amp;quot;&lt;br /&gt;
    NAME=&amp;quot;novacomd&amp;quot;&lt;br /&gt;
     &lt;br /&gt;
    DAEMON=/opt/Palm/novacom/$NAME&lt;br /&gt;
     &lt;br /&gt;
    PIDFILE=/var/run/$NAME.pid&lt;br /&gt;
     &lt;br /&gt;
    SCRIPTNAME=/etc/init.d/novacomd&lt;br /&gt;
     &lt;br /&gt;
    # Gracefully exit if the package has been removed.&lt;br /&gt;
    test -x $DAEMON || exit 0&lt;br /&gt;
     &lt;br /&gt;
    . /lib/lsb/init-functions&lt;br /&gt;
     &lt;br /&gt;
    #&lt;br /&gt;
    #       Function that starts the daemon/service.&lt;br /&gt;
    #&lt;br /&gt;
    d_start() {&lt;br /&gt;
            start-stop-daemon --start --quiet --pidfile $PIDFILE \&lt;br /&gt;
                    --exec $DAEMON -- $DAEMON_OPTS&lt;br /&gt;
    }&lt;br /&gt;
     &lt;br /&gt;
    #&lt;br /&gt;
    #       Function that stops the daemon/service.&lt;br /&gt;
    #&lt;br /&gt;
    d_stop() {&lt;br /&gt;
            start-stop-daemon --stop --retry 5 --quiet --pidfile $PIDFILE \&lt;br /&gt;
                    --exec $DAEMON&lt;br /&gt;
    }&lt;br /&gt;
     &lt;br /&gt;
     &lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
            log_daemon_msg &amp;quot;Starting $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
            d_start&lt;br /&gt;
            case &amp;quot;$?&amp;quot; in&lt;br /&gt;
                    0) log_end_msg 0 ;;&lt;br /&gt;
                    1) log_progress_msg &amp;quot;already started&amp;quot;&lt;br /&gt;
                       log_end_msg 0 ;;&lt;br /&gt;
                    *) log_end_msg 1 ;;&lt;br /&gt;
            esac&lt;br /&gt;
            ;;&lt;br /&gt;
      stop)&lt;br /&gt;
            log_daemon_msg &amp;quot;Stopping $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
            d_stop&lt;br /&gt;
            case &amp;quot;$?&amp;quot; in&lt;br /&gt;
                    0) log_end_msg 0 ;;&lt;br /&gt;
                    1) log_progress_msg &amp;quot;already stopped&amp;quot;&lt;br /&gt;
                       log_end_msg 0 ;;&lt;br /&gt;
                    *) log_end_msg 1 ;;&lt;br /&gt;
            esac&lt;br /&gt;
            ;;&lt;br /&gt;
      restart|force-reload)&lt;br /&gt;
            $0 stop&lt;br /&gt;
            $0 start&lt;br /&gt;
            ;;&lt;br /&gt;
      status)&lt;br /&gt;
            status_of_proc -p $PIDFILE $DAEMON $NAME &amp;amp;&amp;amp; exit 0 || exit $?&lt;br /&gt;
            ;;&lt;br /&gt;
      *)&lt;br /&gt;
            echo &amp;quot;Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
            exit 1&lt;br /&gt;
            ;;&lt;br /&gt;
    esac&lt;br /&gt;
     &lt;br /&gt;
    exit 0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=12853</id>
		<title>Novacomd Init Script</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Novacomd_Init_Script&amp;diff=12853"/>
		<updated>2011-02-21T18:40:21Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: adding debian init instructions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/sbin/runscript&lt;br /&gt;
&lt;br /&gt;
start() {&lt;br /&gt;
        ebegin &amp;quot;Starting novacomd&amp;quot;&lt;br /&gt;
        start-stop-daemon --start --background --exec /opt/Palm/novacom/novacomd&lt;br /&gt;
        result=$?&lt;br /&gt;
        eend $result&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop() {&lt;br /&gt;
        ebegin &amp;quot;Stopping novacomd&amp;quot;&lt;br /&gt;
        start-stop-daemon --stop --quiet --exec /opt/Palm/novacom/novacomd&lt;br /&gt;
        result=$?&lt;br /&gt;
        eend $result&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian(tested on Sid 2/21/2011)&lt;br /&gt;
1. Save this at /etc/init.d/novacomd&lt;br /&gt;
2. Make sure you make it executable. Use &amp;quot;chmod +x /etc/init.d/novacomd&amp;quot;&lt;br /&gt;
3. Run &amp;quot;update-rc.d novacomd defaults&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
    #! /bin/sh&lt;br /&gt;
    ### BEGIN INIT INFO&lt;br /&gt;
    # Provides:          novacomd&lt;br /&gt;
    # Required-Start:    $remote_fs dbus udev&lt;br /&gt;
    # Required-Stop:     $remote_fs dbus udev&lt;br /&gt;
    # Should-Start:      $syslog&lt;br /&gt;
    # Should-Stop:       $syslog&lt;br /&gt;
    # Default-Start:     2 3 4 5&lt;br /&gt;
    # Default-Stop:      0 1 6&lt;br /&gt;
    # Short-Description: palm novacom daemon&lt;br /&gt;
    # Description:       Daemon for connecting to palm devices&lt;br /&gt;
    #                    &lt;br /&gt;
    ### END INIT INFO&lt;br /&gt;
     &lt;br /&gt;
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/Palm/novacom&lt;br /&gt;
    DESC=&amp;quot;Palm Novacom daemon&amp;quot;&lt;br /&gt;
    NAME=&amp;quot;novacomd&amp;quot;&lt;br /&gt;
     &lt;br /&gt;
    DAEMON=/opt/Palm/novacom/$NAME&lt;br /&gt;
     &lt;br /&gt;
    PIDFILE=/var/run/$NAME.pid&lt;br /&gt;
     &lt;br /&gt;
    SCRIPTNAME=/etc/init.d/novacomd&lt;br /&gt;
     &lt;br /&gt;
    # Gracefully exit if the package has been removed.&lt;br /&gt;
    test -x $DAEMON || exit 0&lt;br /&gt;
     &lt;br /&gt;
    . /lib/lsb/init-functions&lt;br /&gt;
     &lt;br /&gt;
    #&lt;br /&gt;
    #       Function that starts the daemon/service.&lt;br /&gt;
    #&lt;br /&gt;
    d_start() {&lt;br /&gt;
            start-stop-daemon --start --quiet --pidfile $PIDFILE \&lt;br /&gt;
                    --exec $DAEMON -- $DAEMON_OPTS&lt;br /&gt;
    }&lt;br /&gt;
     &lt;br /&gt;
    #&lt;br /&gt;
    #       Function that stops the daemon/service.&lt;br /&gt;
    #&lt;br /&gt;
    d_stop() {&lt;br /&gt;
            start-stop-daemon --stop --retry 5 --quiet --pidfile $PIDFILE \&lt;br /&gt;
                    --exec $DAEMON&lt;br /&gt;
    }&lt;br /&gt;
     &lt;br /&gt;
     &lt;br /&gt;
    case &amp;quot;$1&amp;quot; in&lt;br /&gt;
      start)&lt;br /&gt;
            log_daemon_msg &amp;quot;Starting $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
            d_start&lt;br /&gt;
            case &amp;quot;$?&amp;quot; in&lt;br /&gt;
                    0) log_end_msg 0 ;;&lt;br /&gt;
                    1) log_progress_msg &amp;quot;already started&amp;quot;&lt;br /&gt;
                       log_end_msg 0 ;;&lt;br /&gt;
                    *) log_end_msg 1 ;;&lt;br /&gt;
            esac&lt;br /&gt;
            ;;&lt;br /&gt;
      stop)&lt;br /&gt;
            log_daemon_msg &amp;quot;Stopping $DESC&amp;quot; &amp;quot;$NAME&amp;quot;&lt;br /&gt;
            d_stop&lt;br /&gt;
            case &amp;quot;$?&amp;quot; in&lt;br /&gt;
                    0) log_end_msg 0 ;;&lt;br /&gt;
                    1) log_progress_msg &amp;quot;already stopped&amp;quot;&lt;br /&gt;
                       log_end_msg 0 ;;&lt;br /&gt;
                    *) log_end_msg 1 ;;&lt;br /&gt;
            esac&lt;br /&gt;
            ;;&lt;br /&gt;
      restart|force-reload)&lt;br /&gt;
            $0 stop&lt;br /&gt;
            $0 start&lt;br /&gt;
            ;;&lt;br /&gt;
      status)&lt;br /&gt;
            status_of_proc -p $PIDFILE $DAEMON $NAME &amp;amp;&amp;amp; exit 0 || exit $?&lt;br /&gt;
            ;;&lt;br /&gt;
      *)&lt;br /&gt;
            echo &amp;quot;Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
            exit 1&lt;br /&gt;
            ;;&lt;br /&gt;
    esac&lt;br /&gt;
     &lt;br /&gt;
    exit 0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12427</id>
		<title>PDK on Linux</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12427"/>
		<updated>2010-12-28T20:08:03Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The official Palm PDK development kit for writing native programs is not supported on Linux. &lt;br /&gt;
&lt;br /&gt;
The instructions on this page should allow you to get the official Palm webOS PDK for OSX working on Linux.  &lt;br /&gt;
&lt;br /&gt;
It's totally untested other than running a few scripts and confirming that things seem to be where they should be, so please confirm if it works for you.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
* Get the command line tool &amp;quot;xar&amp;quot;.  Some debian based systems have it, try apt-get install xar.  If not found, get it from http://code.google.com/p/xar/  (I needed package libxml2-dev to compile it) (I also needed openssl-dev to compile it on Ubuntu 10.10)&lt;br /&gt;
* You will need to have git installed to retrieve files from the WIDK repository. &lt;br /&gt;
* Building the pkg file requires Curl and libbz2-dev&lt;br /&gt;
* Since you're planning to write native software for webOS, this assumes you have things like gcc and make and normal developer stuff like that.  &lt;br /&gt;
&lt;br /&gt;
We will be using tools found in the WIDK cross-compile repository is really helpful as it already has functionality to download and extract the OSX PDK, most of which will &amp;quot;just work&amp;quot; on Linux.  Tools found in the WIDK repository can also download the CodeSourcery toolchain for Linux to replace the one included in the PDK, built for Darwin.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
===Get the Palm PDK using the Webos-Internals makefile===&lt;br /&gt;
&lt;br /&gt;
This downloads Palm's DMG file, downloads and patches a tool for converting DMG's, and runs it against the Palm DMG, ending up with a Xar format package file.  (filename ends in .pkg)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;	&lt;br /&gt;
git clone git://git.webos-internals.org/preware/cross-compile.git&lt;br /&gt;
cd cross-compile&lt;br /&gt;
make doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm_webOS_SDK-Mac-1.4.5.465.pkg in doctors/ .  &lt;br /&gt;
&lt;br /&gt;
===Extract that .pkg file===&lt;br /&gt;
&lt;br /&gt;
Now let's extract it into /  (this will create /opt/PalmPDK)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;&lt;br /&gt;
xar -xf doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg palmpdk.pkg&lt;br /&gt;
sudo sh -c 'gzip -cd palmpdk.pkg/Payload | (cd /; cpio -i)'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm PDK in /opt/PalmPDK, but you don't have a working cross-compile toolchain, because the one Palm supplied was for osX / Darwin  not Linux.  We need to fix that.&lt;br /&gt;
&lt;br /&gt;
===Get CodeSourcery Linux cross-compiler===&lt;br /&gt;
Install the CodeSourcery Linux cross-compiler toolchain where Palm's toolchain built for OSX was.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px&amp;quot;&amp;gt;&lt;br /&gt;
make toolchain&lt;br /&gt;
sudo cp -r toolchain/arm-2007q3 /opt/PalmPDK&lt;br /&gt;
cd /opt/PalmPDK&lt;br /&gt;
sudo mv arm-gcc arm-gcc-darwin&lt;br /&gt;
sudo ln -s arm-2007q3 arm-gcc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Someone who is familiar with the PDK should test this at this point to see if you can actually use it in the proper ways.&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12426</id>
		<title>PDK on Linux</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12426"/>
		<updated>2010-12-28T20:05:44Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The official Palm PDK development kit for writing native programs is not supported on Linux. &lt;br /&gt;
&lt;br /&gt;
The instructions on this page should allow you to get the official Palm webOS PDK for OSX working on Linux.  &lt;br /&gt;
&lt;br /&gt;
It's totally untested other than running a few scripts and confirming that things seem to be where they should be, so please confirm if it works for you.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
* Get the command line tool &amp;quot;xar&amp;quot;.  Some debian based systems have it, try apt-get install xar.  If not found, get it from http://code.google.com/p/xar/  (I needed package libxml2-dev to compile it) (I also needed openssl-dev to compile it on Ubuntu 10.10)&lt;br /&gt;
* You will need to have git installed to retrieve files from the WIDK repository. &lt;br /&gt;
* Since you're planning to write native software for webOS, this assumes you have things like gcc and make and normal developer stuff like that.  &lt;br /&gt;
&lt;br /&gt;
We will be using tools found in the WIDK cross-compile repository is really helpful as it already has functionality to download and extract the OSX PDK, most of which will &amp;quot;just work&amp;quot; on Linux.  Tools found in the WIDK repository can also download the CodeSourcery toolchain for Linux to replace the one included in the PDK, built for Darwin.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
===Get the Palm PDK using the Webos-Internals makefile===&lt;br /&gt;
&lt;br /&gt;
This downloads Palm's DMG file, downloads and patches a tool for converting DMG's, and runs it against the Palm DMG, ending up with a Xar format package file.  (filename ends in .pkg)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;	&lt;br /&gt;
git clone git://git.webos-internals.org/preware/cross-compile.git&lt;br /&gt;
cd cross-compile&lt;br /&gt;
make doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm_webOS_SDK-Mac-1.4.5.465.pkg in doctors/ .  &lt;br /&gt;
&lt;br /&gt;
===Extract that .pkg file===&lt;br /&gt;
&lt;br /&gt;
Now let's extract it into /  (this will create /opt/PalmPDK)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;&lt;br /&gt;
xar -xf doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg palmpdk.pkg&lt;br /&gt;
sudo sh -c 'gzip -cd palmpdk.pkg/Payload | (cd /; cpio -i)'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm PDK in /opt/PalmPDK, but you don't have a working cross-compile toolchain, because the one Palm supplied was for osX / Darwin  not Linux.  We need to fix that.&lt;br /&gt;
&lt;br /&gt;
===Get CodeSourcery Linux cross-compiler===&lt;br /&gt;
Install the CodeSourcery Linux cross-compiler toolchain where Palm's toolchain built for OSX was.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px&amp;quot;&amp;gt;&lt;br /&gt;
make toolchain&lt;br /&gt;
sudo cp -r toolchain/arm-2007q3 /opt/PalmPDK&lt;br /&gt;
cd /opt/PalmPDK&lt;br /&gt;
sudo mv arm-gcc arm-gcc-darwin&lt;br /&gt;
sudo ln -s arm-2007q3 arm-gcc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Someone who is familiar with the PDK should test this at this point to see if you can actually use it in the proper ways.&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12425</id>
		<title>PDK on Linux</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=PDK_on_Linux&amp;diff=12425"/>
		<updated>2010-12-28T19:49:58Z</updated>

		<summary type="html">&lt;p&gt;Loudergood: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The official Palm PDK development kit for writing native programs is not supported on Linux. &lt;br /&gt;
&lt;br /&gt;
The instructions on this page should allow you to get the official Palm webOS PDK for OSX working on Linux.  &lt;br /&gt;
&lt;br /&gt;
It's totally untested other than running a few scripts and confirming that things seem to be where they should be, so please confirm if it works for you.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
* Get the command line tool &amp;quot;xar&amp;quot;.  Some debian based systems have it, try apt-get install xar.  If not found, get it from http://code.google.com/p/xar/  (I needed package libxml2-dev to compile it) (I needed openssl-dev to compile it)&lt;br /&gt;
* You will need to have git installed to retrieve files from the WIDK repository. &lt;br /&gt;
* Since you're planning to write native software for webOS, this assumes you have things like gcc and make and normal developer stuff like that.  &lt;br /&gt;
&lt;br /&gt;
We will be using tools found in theWIDK cross-compile repository is really helpful as it already has functionality to download and extract the OSX PDK, most of which will &amp;quot;just work&amp;quot; on Linux.  Tools found in the WIDK repository can also download the CodeSourcery toolchain for Linux to replace the one included in the PDK, built for Darwin.&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
===Get the Palm PDK using the Webos-Internals makefile===&lt;br /&gt;
&lt;br /&gt;
This downloads Palm's DMG file, downloads and patches a tool for converting DMG's, and runs it against the Palm DMG, ending up with a Xar format package file.  (filename ends in .pkg)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;	&lt;br /&gt;
git clone git://git.webos-internals.org/preware/cross-compile.git&lt;br /&gt;
cd cross-compile&lt;br /&gt;
make doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm_webOS_SDK-Mac-1.4.5.465.pkg in doctors/ .  &lt;br /&gt;
&lt;br /&gt;
===Extract that .pkg file===&lt;br /&gt;
&lt;br /&gt;
Now let's extract it into /  (this will create /opt/PalmPDK)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px;&amp;quot;&amp;gt;&lt;br /&gt;
xar -xf doctors/Palm_webOS_SDK-Mac-1.4.5.465.pkg palmpdk.pkg&lt;br /&gt;
sudo sh -c 'gzip -cd palmpdk.pkg/Payload | (cd /; cpio -i)'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have a Palm PDK in /opt/PalmPDK, but you don't have a working cross-compile toolchain, because the one Palm supplied was for osX / Darwin  not Linux.  We need to fix that.&lt;br /&gt;
&lt;br /&gt;
===Get CodeSourcery Linux cross-compiler===&lt;br /&gt;
Install the CodeSourcery Linux cross-compiler toolchain where Palm's toolchain built for OSX was.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;margin-left:50px&amp;quot;&amp;gt;&lt;br /&gt;
make toolchain&lt;br /&gt;
sudo cp -r toolchain/arm-2007q3 /opt/PalmPDK&lt;br /&gt;
cd /opt/PalmPDK&lt;br /&gt;
sudo mv arm-gcc arm-gcc-darwin&lt;br /&gt;
sudo ln -s arm-2007q3 arm-gcc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Someone who is familiar with the PDK should test this at this point to see if you can actually use it in the proper ways.&lt;/div&gt;</summary>
		<author><name>Loudergood</name></author>
	</entry>
</feed>