webOS Nation Forums > webOS apps and software > webOS development > OK ROM comes
First ... 2 7 8 9 10 11 12 13 14 15 16 17 22  ... Last
Member: danguy
at: 01:49 AM 06/10/2009
Can somebody with a shell on a real device post some basic system information on the wiki? Things such as lsmod, dmesg, ifconfig -a, iwconfig, the contents of /proc/cpuinfo, etc?

I see that lspci/lsusb are not installed, but that is also the kind of information that I would like.
Member: tuckmobile
at: 01:49 AM 06/10/2009
Originally Posted by rposa:
Anyone got root on XP yet? How about on Linux
+1!
Member: joshewah
at: 01:53 AM 06/10/2009
Originally Posted by bear24rw:
dropbear is installed so there is our ssh client/server
Thanks. I was wondering how to ssh.

Now we just need an ajax frontend bundled in an app.

I tried running a java ssh client, but not sure how you call java. Keep getting this:
/usr/lib/jvm/java-1.5-palm/bin/java: error while loading shared libraries: libhyprt.so: cannot open shared object file: No such file or directory

Even copied the exact flags started by the phone.

EDIT: Where did you see dropbear? Or did you install it yourself. I bet binaries for arm would work if they work on this CPU.
Member: eekfuh
at: 01:55 AM 06/10/2009
Apps are already localized in the following languages:
German
English
Spanish
Spanish (US)
French
Italian
Member: jbern8
at: 01:58 AM 06/10/2009
Can anyone read the cust.pri file in castlecdma_evt1_fw/tmp/castle_cdma ?

The file NPRG6800G in the same directory is a qualcomm qpst file.
Member: ydaraishy
at: 02:00 AM 06/10/2009
Originally Posted by SippieCup:
it seems that this is based off debian code too... just an fyi.. people probably already know this.
The sprint.tar in the jar package contains debian packages -- probably used internally too.

See Ipkg on Wikipedia
Member: eekfuh
at: 02:00 AM 06/10/2009
They do run a perl script in the browsers application but it points to /usr/bin/perl which does not have perl in it.
Deactivated?

Also found this:
./usr/palm/applications/com.palm.app.youtube/test/proxy.php
Member: bear24rw
at: 02:00 AM 06/10/2009
Originally Posted by joshewah:
Even copied the exact flags started by the phone.

EDIT: Where did you see dropbear? Or did you install it yourself. I bet binaries for arm would work if they work on this CPU.
Hm, looks like i spoke to soon i saw refrence to it in this file

webosdoctorp100ewwsprint\resources\webOS\nova-cust-image-castle.rootfs.tar\nova-cust-image-castle.rootfs\etc\event.d\dropbear

it points to /usr/sbin/dropbear

but it does not seem to be installed :/
Member: iphony
at: 02:00 AM 06/10/2009
you can change javascript, might reverse engineer some jar file
but no header, no native app

Can we get ask a copy of all open source file (headers) from palm? So we can actually do something.
Member: bear24rw
at: 02:04 AM 06/10/2009
Some people awhile back were talking about how the had read only priv?

check out this file:

webosdoctorp100ewwsprint\resources\webOS\nova-cust-image-castle.rootfs.tar\nova-cust-image-castle.rootfs\etc\init.d\checkroot.sh

# Shortcut to do nothing (workaround for NOV-10897)
# (but only if the rootfs is already rw, as per kernel cmdline)
# (qemu still needs checkroot.sh to remount root as rw)

maybe we need to boot kernel with rw option to allow writing?
Member: eekfuh
at: 02:04 AM 06/10/2009
YouTube stuff:

We can now access the YouTube developer stuff with their authtoken and secret:

develSecret: "IyBYcfo/d8cNaXAzQyBIeA==",

// Passed to functions in net.js to provide appropriate authorization headers
authToken: {
//key: auth_key,
develKey: "AI39si56HfB8BuiwH08WlVpB-HVLhNNcIfXn4Ku56kNB22qI4LDw4rNyxJ6qqe0iXCQenyr447NodNRKQ0Sh4EQCGyDRDBFNqA",
clientId: "ytapi-PalmInc-PalmPre", //"ytapi-PalmInc-YouTubeforPalm-na30lkrg-0",
deviceKey: 0,
deviceId: 0,
deviceSerialNum : "12345",
},
Member: jeffgus
at: 02:05 AM 06/10/2009
Originally Posted by bear24rw:
Hm, looks like i spoke to soon i saw refrence to it in this file

webosdoctorp100ewwsprint\resources\webOS\nova-cust-image-castle.rootfs.tar\nova-cust-image-castle.rootfs\etc\event.d\dropbear

it points to /usr/sbin/dropbear

but it does not seem to be installed :/
This comment explains the situation (in event.d/dropbear):

[CODE]
# Current plan is that the dropbear package includes these keys.
# This is not secure, but it speeds boots considerably, and
# current plan is also that we don't ship with dropbear. If we do
# ship, we'll want to move back to generating keys locally. So
# leave this in.
[/CODE]
Member: bear24rw
at: 02:08 AM 06/10/2009
Originally Posted by eekfuh:
YouTube stuff:

We can now access the YouTube developer stuff with their authtoken and secret:

develSecret: "IyBYcfo/d8cNaXAzQyBIeA==",

// Passed to functions in net.js to provide appropriate authorization headers
authToken: {
//key: auth_key,
develKey: "AI39si56HfB8BuiwH08WlVpB-HVLhNNcIfXn4Ku56kNB22qI4LDw4rNyxJ6qqe0iXCQenyr447NodNRKQ0Sh4EQCGyDRDBFNqA",
clientId: "ytapi-PalmInc-PalmPre", //"ytapi-PalmInc-YouTubeforPalm-na30lkrg-0",
deviceKey: 0,
deviceId: 0,
deviceSerialNum : "12345",
},
What does this allow you to do?
Member: joshewah
at: 02:10 AM 06/10/2009
Heres a file containing a list of every file on the phone incase anyone is interested:
http://icculus.org/~joshua/prefiles.txt
Member: eekfuh
at: 02:13 AM 06/10/2009
Originally Posted by bear24rw:
What does this allow you to do?
If you wanted to, you could make a YouTube api with javascript and json and not ever use the youtube flash player... get the files directly

also new news:
they use wlan-config for their wifi stuff.
Member: pyrognome
at: 02:15 AM 06/10/2009
webosdoctorp100ewwsprint\resources\webOS\nova-cust-image-castle.rootfs\var\lib\update

install-first.sh
# This script can be used to fix problems in the software update process.
# It is run by the UpdateDaemon before using PmUpdater to validate the
# downloaded update that contains the install-first package.

install-first-update.sh
# This script can be used to fix problems in the software update process.
# It is run by PmUpdater before installing the update. The script is run
# after the revalidation of the update, when rootfs has changed to
# read-write. Install new versions of PmUpdater, libipkg, PmModemupdater,
# or PmTpUpdater here, and then reboot so that the fixed-up versions are
# used during the installation. This script is run again if the install
# retries, so delete the script before exiting if appropriate.


Looks like these files explain about rebooting with rw access to update the pmupdater before it reboots again to actually perform the update.
Member: bear24rw
at: 02:17 AM 06/10/2009
anyone else notice bootchart is installed?

/sbin/bootchartd

I thought that was pretty funny, anyone with an actual pre: does it generate /var/log/bootchart images??
Member: eekfuh
at: 02:19 AM 06/10/2009
/usr/lib/palmos/rom0

That has the actual old school PalmOS rom. Interesting.
Member: scm6079
at: 02:19 AM 06/10/2009
Per an earlier request:

root@castle:/proc# cat cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 498.07
Features : swp half thumb fastmult vfp edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3
Control reg : 0xc5387f
Aux control reg : 0x42
L1 instruction cache:
features : read-alloc
size : 16 KB
assoc : 4
line length : 64
sets : 64
L1 data cache:
features : write-through write-back read-alloc
size : 16 KB
assoc : 4
line length : 64
sets : 64
L2 unified cache:
features : write-through write-back read-alloc write-alloc
size : 256 KB
assoc : 8
line length : 64
sets : 512
Cache LoC : 2
Cache LoU : 1

Hardware : Sirloin OMAP3430 board
Revision : 34304332
Serial : 0000000000000000
Member: abhiatwork
at: 02:19 AM 06/10/2009
not sure if anyone looked at resources\webOS\castleumtsfw.tar,

amss.mbn
amsshd.mbn
partition.mbn

and in webOS\castlecdma_evt1_fw.tar#tmp\castle_cdma
amss.mbn
amsshd.mbn
partition.mbn
plus
qcsbl*.mb
oemsbl*.mbn

files are are signed images for qualcomm and since pre is based off ti 3430 for the application processor, these seem to be for the baseband... two different ones though... umts seems to be based off 6260 and cdma off 6800... now only if we can locate the 2nd/xloader for the ti processor
First ... 2 7 8 9 10 11 12 13 14 15 16 17 22  ... Last
Closed Thread

webOS Nation Forums > webOS apps and software > webOS development > OK ROM comes