webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes
1 2 3
4 5 6 7 8 13 53
...
Last
Originally Posted by emkman:
How come you get to sleep and we don't? Hehe. Thanks ShinAli. I was just looking at the user accounts on the system in the passwd file. Interesting that there is an irc user and daemon.
In fact i was surprised to realize there are sooo many irrelevant programs in the os image... does that mean Palm will one day make a netbook with WebOS? I really thing so
Originally Posted by emkman:
Not trying to steal traffic from here but a wiki keeps the info much more organized. .
I'd say it's borderline -- vBulletin can be a decent way to organize rom hacking -- works fine for xda. If this goes somewhere, I'm happy to create a special section for it.
Originally Posted by Dieter Bohn:
I'd say it's borderline -- vBulletin can be a decent way to organize rom hacking -- works fine for xda. If this goes somewhere, I'm happy to create a special section for it.
That will be great. Pre has a complete and open linux system. There is a lot room for imagination
I thought hack should not appear in this forum..I'm glad I'm wrong
Member:
xbmodder
at: 06:49 PM 06/09/2009
Interesting things in the firmware. The device IP:
#8. MView Host address, you should change to your own machine IP address
MViewHost=192.168.118.27
Native apps are implemented as browser plugins.
The list of apps on the device:
com.palm.app.backup
com.palm.app.bluetooth
com.palm.app.browser
com.palm.app.calculator
com.palm.app.calendar
com.palm.app.camera
com.palm.app.certificate
com.palm.app.clock
com.palm.app.contacts
com.palm.app.dataimport
com.palm.app.dateandtime
com.palm.app.deviceinfo
com.palm.app.devmodeswitcher
com.palm.app.docviewer
com.palm.app.email
com.palm.app.findapps
com.palm.app.firstuse
com.palm.app.help
com.palm.app.languagepicker
com.palm.app.location
com.palm.app.maps
com.palm.app.messaging
com.palm.app.musicplayer
com.palm.app.notes
com.palm.app.pdfviewer
com.palm.app.phone
com.palm.app.phoneprefs
com.palm.app.photos
com.palm.app.screenlock
com.palm.app.soundsandalerts
com.palm.app.streamingmusicplayer
com.palm.app.tasks
com.palm.app.updates
com.palm.app.videoplayer
com.palm.app.videoplayer.launcher
com.palm.app.wifi
com.palm.app.youtube
In the file:
usr/palm/applications/com.palm.app.bluetooth/app/controllers/bluetooth-assistant.
js:
// *********************
// For Adil and Mindy
var Adil = 0; // 1 = prepoplulate lists and allow non-tethered mode
// *********************
$ grep -ri tether usr/
Binary file usr/bin/TelephonyInterfaceLayerCdma matches
Binary file usr/bin/PmConnectionManager matches
Binary file usr/bin/passthrud matches
Binary file usr/bin/TilIpcTest matches
Binary file usr/bin/TelephonyInterfaceLayerGsm matches
Binary file usr/bin/PmWanDaemon matches
Binary file usr/lib/luna/java/telephony.jar matches
usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.
js: if(payload.connectedservices[i].service.indexOf("tethered") != -1)
Binary file usr/lib/palmos/rom0/ROM.bin matches
Member:
Edge767
at: 06:51 PM 06/09/2009
Thanks! Got it "just in case."
Member:
rposa
at: 06:54 PM 06/09/2009
Hmm.. The kernel is 2.6.24 (or derived from it)..
..
There's a flash for the CDMA Modem included in there,
with the following files: 02.pri amss.mbn (7mb) amsshd.mbn cust.pri fwversion.txt (in it just says CC1.1(90)) NPRG6800B.hex oemsbl.mbn oemsblhd.mbn partition.mbn qcsbl.mbn qcsblhd_cfgdata.mbn Sprint_60652.prl
There's a ringtone.mp3 in there (along with the shipping/release ringtone) that sounds similar but NOT the same to the release one, but not nearly quite the quality of the shipping one ..
I feel old....
Member:
emkman
at: 07:14 PM 06/09/2009
Originally Posted by Dieter Bohn:
I'd say it's borderline -- vBulletin can be a decent way to organize rom hacking -- works fine for xda. If this goes somewhere, I'm happy to create a special section for it.
If you want to host a wiki that would be cool. The wiki style was so effective for iPhone hacking. Forum threads tend to get so cluttered. For instance, the false alarm thread "I can confirm blue tooth tethering..." had 1 paragraph of useful information spread across 8+ pages. Wiki keeps this much cleaner. The information we are dealing with here is a lot more advanced than wondering how to change what icons are in your launcher, so it is nice to keep it in a separate area. Maybe a sub forum at least. We can discuss things as we discover them, and once they are verified we can add them to the Wiki. Thanks for the support, in whatever it form takes, Dieter.
Looking through Palm's apps, they're definitely MVC style webapps that all require Mojo. It looks like they all have an index.html that calls various
JS files. This Mojo must be one powerful framework.
For anyone looking through the filesystem the default Palm apps are located in /usr/palm/applications.
I don't mind hosting a wiki, who would like to manage it?
Member:
ShinAli
at: 07:33 PM 06/09/2009
I'm heading home. I'm hoping I will quickly write a java program that will mount the root file system and something to run commands on the Pre.
Originally Posted by ShinAli:
I'll write into it while I discover lots more little things.
EDIT: That double post was weird, but anyway...
I think it'd be useful if we had a forum specially made for hacking. That way we don't have one thread to clutter up.
Though people that aren't really working on hacking this thing could make a million posts there asking how to get root and run android on the Pre...
Moved to the webOS development forum. Let's keep the talk here.
Any thoughts on what the JVM means?
Member:
Jay1234
at: 07:47 PM 06/09/2009
Ok, the source code for all in-built applications is here:
Resources/webos.tar/nova-cust-image-castle.rootfs.tar.gz/usr/palm/applications
Shows htmls, javascript files, stylesheets and the whole app structure. Anyone wanted additional features to the built-in apps? I don't think it'd be too difficult to do
nova-cust-image-castle.rootfs shows the whole filesystem of webOS.
There's a file called iPod_Control

hehe
DocsToGo fonts...
AOL and MSN icons...
Basically lots of interesting stuff!
Looks like Pre will be very hackable!
Member:
Jay1234
at: 07:51 PM 06/09/2009
Originally Posted by Dieter Bohn:
Moved to the webOS development forum. Let's keep the talk here.
Any thoughts on what the JVM means?
Yep, means Java Virtual Machine
Member:
jeffgus
at: 07:54 PM 06/09/2009
Originally Posted by Jay1234:
Ok, the source code for all in-built applications is here:
Resources/webos.tar/nova-cust-image-castle.rootfs.tar.gz/usr/palm/applications
Shows htmls, javascript files, stylesheets and the whole app structure. Anyone wanted additional features to the built-in apps? I don't think it'd be too difficult to do 
nova-cust-image-castle.rootfs shows the whole filesystem of webOS.
There's a file called iPod_Control
hehe
DocsToGo fonts... 
AOL and MSN icons... 
Basically lots of interesting stuff!
Looks like Pre will be very hackable!
I like that a lot of it is plain text without a lot in native or .jar files. I like to learn from example and what better example than the people that created the environment?
Also notice they're using libpurple for their IM library. So it should be easy to add more IM protocols.
The javascript portions of the programs make calls to both native .so files and Java .jar files. It looks like they're trying to keep as much as they can in Java.
Member:
emkman
at: 08:02 PM 06/09/2009
Originally Posted by jeffgus:
I like that a lot of it is plain text without a lot in native or .jar files. I like to learn from example and what better example than the people that created the environment?
Also notice they're using libpurple for their IM library. So it should be easy to add more IM protocols.
The javascript portions of the programs make calls to both native .so files and Java .jar files. It looks like they're trying to keep as much as they can in Java.
There is also gloox in there, which is a C++ Jabber/XMPP implementation. I would definitely like a nicer IM client, along with the libpurple Facebook Chat plugin.
On a seperate note, anyone find any password hashes? I dont see any in /etc . Maybe the accounts are passwordless, relying on firewall only?
Member:
crawform
at: 08:05 PM 06/09/2009
Remember Rik Sagar? The source of the the first Palm Pre photos discussed here -->
http://discussion.treocentral.com/sh...25#post1661125
Well, I think we can safely assume why Rik Sagar loves his Palm Pre photos...he wrote the camera app!
the file app-assistant.
js located in the ROM Image --> resources\webOS\nova-cust-image-castle.rootfs.tar\usr\palm\applications\com.palm.app.camera\app\controllers
reveals the following header information:
"/**
* @author rik sagar
*/AppAssistant"
Originally Posted by crawform:
Remember Rik Sagar? The source of the the first Palm Pre photos discussed here --> http://discussion.treocentral.com/sh...25#post1661125
Well, I think we can safely assume why Rik Sagar loves his Palm Pre photos...he wrote the camera app!
the file app-assistant.js located in the ROM Image --> resources\webOS\nova-cust-image-castle.rootfs.tar\usr\palm\applications\com.palm.app.camera\app\controllers
reveals the following header information:
"/**
* @author rik sagar
*/AppAssistant"
WOW such an interesting find
p.s. I never remember names... how did you do that...?
Member:
crawform
at: 08:21 PM 06/09/2009
Originally Posted by LemonadeRDX:
WOW such an interesting find
p.s. I never remember names... how did you do that...?
Not sure exactly...I guess his name just stuck with me.
Member:
nebj00la
at: 08:27 PM 06/09/2009
I've been looking through the various contents of /etc, and have found the system manager name to be "Luna". Here's the conf file (I already posted it in a different thread):
[CODE]
#
# Luna System Manager settings
#
[General]
ApplicationPath=/usr/lib/luna/applications:/var/luna/applications:/var/usr/lib/luna/applications:/usr/palm/applications:/var/usr/palm/applications
SystemPath=/usr/lib/luna/system/luna-systemui
SystemResourcesPath=/usr/palm/sysmgr/images
SystemLocalePath=/usr/palm/sysmgr/localization
AppLauncherPath=/usr/lib/luna/system/luna-applauncher
PinPath=/usr/lib/luna/system/luna-pin
LaunchPointsPath=/var/luna/launchpoints
PreferencesPath=/var/luna/preferences
DisplayWidth=320
DisplayHeight=480
DisplayNumBuffers=3
MaxPenMoveFreq=30
MinPenMoveFreq=10
MoveMinX=16
MoveMinY=12
MaxPaintLoad=6
MaxGestureChangeFreq=30
MinGestureChangeFreq=20
ShowReticle=true
[Memory]
MaxApplicationMemory=10MB
# In MB. -1 to disable
LowMemoryThreshold=-1
# In MB. -1 to disable
CriticalMemoryThreshold=-1
FreeMemoryThreshold=16
FreeSwapThreshold=64
SwapRateThreshold=200
EnableMemoryTracking=true
UseMemchute=true
AppsToAllowInLowMemory=com.palm.app.phone;com.palm.app.contacts;com.palm.app.messaging
[TouchEvents]
TapRadiusSquared=576
DoubleClickDuration=300
[VTrackBall]
PixelsPerMoveH=14
PixelsPerMoveV=26
AccelRateH1=350
AccelRateV1=200
AccelConstH1=1
AccelConstV1=2
AccelRateH2=700
AccelRateV2=375
AccelConstH2=2
AccelConstV2=3
[Debug]
WatchPenEvents=false
EnableDebugModeByDefault=false
PiranhaDrawColoredOutlines=false
PiranhaDisplayFps=false
ShowGestures=false
[LaunchAtBoot]
Applications=com.palm.app.phone;com.palm.app.email;com.palm.app.calendar;com.palm.app.messaging;com. palm.app.contacts;com.palm.app.camera
[KeepAlive]
Applications=com.palm.app.phone
[KeepAliveUntilMemPressure]
Applications=com.palm.app.browser
[Fonts]
Banner=/usr/share/fonts/Coconut-BoldD.ttf
LockWindow=/usr/share/fonts/Coconut-BoldD.ttf
Quicklaunch=/usr/share/fonts/Coconut-BoldD.ttf
[UI]
PositiveSpaceTopPadding=28
PositiveSpaceBottomPadding=28
[DownloadManager]
MaxQueueLength=128
MaxConcurrent=2
MaxRecvSpeed=65536
[Demo]
# The default will be true for Nova-Demo, false for all others.
# EnableGestureRepeater=true
GestureRepeaterIp=192.168.1.106
GestureRepeaterPort=5001[/CODE]
There's a lot of references to Luna, and judging by the "UI System Manager" slide in the SDK video, that's what it seems to be.
1 2 3
4 5 6 7 8 13 53
...
Last
webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes