webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes
First
...
2 3 4 5 6 7
8 9 10 11 12 17
...
Last
Pre Developer:
PreGame
at: 11:00 PM 06/09/2009
Originally Posted by eddieroger:
I assumed pixie was a reference to obeing booted via special means, a play on PXE. I only assumed that because I've "pixie booted" other machines before. But it may be the other phone...
No pixie was code name for their new device that looks like the blackberry. There was a link on the forums here somewhere.
Originally Posted by PreGame:
where was this binary created? What install did you run?
Not sure when (ls -al tell me Mar 28), but I do know it's not on my other Mac. This was prompted to install when running the ROM Jar that I downloaded. It was a proper Mac installer.
Pre Developer:
PreGame
at: 11:01 PM 06/09/2009
Originally Posted by eddieroger:
Not sure when (ls -al tell me Mar 28), but I do know it's not on my other Mac. This was prompted to install when running the ROM Jar that I downloaded. It was a proper Mac installer.
Do you have steps to follow? I will try something similar on windows.
Originally Posted by :
// voicemailNotificationSession: null,
GSM_RSSI: [113,107,94,82,70,0],
// TODO: remove for CDMA
CDMA_RSSI: [105,95,85,75,65,0],
rssi_orginalPayload: null,
onActiveCall: false,
looks like they forgot to remove this for CMDA lol
\usr\lib\luna\system\luna-systemui\app\controllers\bar-assistant.
js
looking around for anything w/ CDMA to find an unlock for verizon if possible.
p.s. hi everyone! just joined. if anyone is working on an unlock please pm me!
I just double clicked the jar file and clicked next a few times. I was mostly reading the forums, so I don't know exactly when, but it launched an installer. There were MSIs in the resources folder - try installing one of those.
Anyone think IRC may be a good forum to continue? Seems like a lot of people on right now...
Member:
LinuxGuy
at: 11:05 PM 06/09/2009
The DNS hostname is "castle" (from /etc/hostname)
The custom Linux distribution is called "Rockhopper" (from /etc/issue.net)
Default CPU Frequency 500Mhz (from /etc/init.d/bootmisc.sh)
#
# Set default cpufreq (BUG: need to set twice!)
#
echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
-------
Default firewall rules (from /etc/init.d/bootmisc.sh -> /etc/pmnetconfig/iptablectrl -> /etc/pmnetconfig/funcs)
[CODE]
NetCfgClearIpTable
#Accept all Forwarding and Outbound connections
${IPTABLES} -P OUTPUT ACCEPT
${IPTABLES} -P FORWARD ACCEPT
${IPTABLES} -N ALLOWED_PACKETS
${IPTABLES} -A ALLOWED_PACKETS -j ACCEPT
#creating an INVALID_PACKETS rule that will limit logging and drop invalid packets
${IPTABLES} -N INVALID_PACKETS
${IPTABLES} -A INVALID_PACKETS -m limit --limit 1/second --limit-burst 100 -j LOG --log-prefix "IPT_INVALID_PACKETS_DROPPED: "
${IPTABLES} -A INVALID_PACKETS -j DROP
NetCfgSetIpTableBaseInputRules
if [[ -e /var/gadget/usbnet_enabled ]]; then
#Open Up SSH
NetCfgSetIpTablesOpenSSH
#Open Up DBus
NetCfgSetIpTablesOpenDBus
#Open NovaCom
#NetCfgSetIpTablesOpenNovaCom
#Open up Java Debugging Port
NetCfgSetIpTablesOpenJavaDebugger
#Open gdb debugging port
NetCfgSetIpTablesOpenGdbServer
fi
${IPTABLES} -A INPUT -m limit --limit 1/second --limit-burst 10 -j LOG --log-level DEBUG --log-prefix "IPT_PACKET_DROPPED_NO_MATCH: "
}
[/CODE]
This command starts the "Palm" throbber during bootup:
[CODE]/usr/bin/luna-send -n 1 "palm://com.palm.systemmanager/runProgressAnimation" \
'{"state": "start"}' &[/CODE]
-----------
If the file /.updating exists during boot then the "Software Update tool" /usr/bin/pmUpdater runs
----------
Most likely the very first boot script to run (need to see kernel boot arguments to verify) is /etc/miniboot.sh. Mostly likely the Palm software "novacomd" takes over from there. It must take care of launching the scripts in /etc/init.d/.
[CODE]
#!/bin/sh
# Mount proc
mount -t proc proc /proc -o rw,noexec,nosuid,nodev
# Mount sys
mount -t sysfs sys /sys -o rw,noexec,nosuid,nodev
# Mount root rw
mount / -o remount,rw
# Prep modules
depmod -A
# Populate /dev
/etc/init.d/udev start
# Mount filesystems
if [ `which lvm.static` ]; then
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
fi
mount -a
# Setup a proper /tmp using tmpfs
cat /proc/mounts | grep -q "\s/tmp\s"
[ "x$?" != "x0" ] && mount -t tmpfs tmpfs /tmp
cat /proc/mounts | grep -q "\s/dev/pts\s"
[ "x$?" != "x0" ] && mount -t devpts devpts /dev/pts
# Set the hostname
hostname -F /etc/hostname
export hostName=`uname -n`
# Start novacomd service
if [[ "$hostName" == "castle" ]];then
modprobe g_composite product=0x8002
elif [[ "$hostName" == "pixie" ]];then
modprobe g_composite product=0x8012
else
modprobe -q g_composite
fi
mkdir -p /dev/gadget
mount -t gadgetfs gadget /dev/gadget
novacomd &
# Spin relaunching login
while true; do getty 115200 console; done
[/CODE]
Pre Developer:
PreGame
at: 11:06 PM 06/09/2009
Originally Posted by eddieroger:
I installed the novacom stuff on my MacBook. I have a binary now called novacom that takes an IP, port, and command. I don't know what port to throw at it (the one listed earlier won't work over my WiFi when hitting that IP), so I'm nmapping now.
I saw an IP and port in one of the .conf files.
Pre Developer:
PreGame
at: 11:07 PM 06/09/2009
Originally Posted by eddieroger:
I just double clicked the jar file and clicked next a few times. I was mostly reading the forums, so I don't know exactly when, but it launched an installer. There were MSIs in the resources folder - try installing one of those.
Anyone think IRC may be a good forum to continue? Seems like a lot of people on right now...
I have yet to see a jar file. Where is this located?
Member:
KBLOM
at: 11:08 PM 06/09/2009
Originally Posted by jlapointe:
i dont know a whole lot about what you are all talking about, but i feel i know enough to keep up with the implications of all this, and im really excited! my question, for now, is whether or not that means one could possibly take another phone's autocorrect list and add it there? i know, i know not one of the most important things as you all sift through the code, but im still curious...
You'd have to make sure the syntax of the new autocorrect list was the same as the old one. Then you'd then have to re-package the image with the new autocorrect list, and re-flash your Pre with the newly created image.
Keep in mind this is just the current state of what you'd have to do. Things are moving pretty quickly, so it may be possible in the near future to be able to overwrite the old one without re-flashing the device. This is if we're able to determine how to gain access to the filesystem running on the Pre.
Originally Posted by PreGame:
I have yet to see a jar file. Where is this located?
Sorry! The one you actually downloaded. It launches an application.
webosdoctorp100ewwwspeint.jar.
Member:
nebj00la
at: 11:10 PM 06/09/2009
I've made #precentral on irc.freenode.net, it's a temporary channel...
Anything important should be thrown in the forums, too.
did the MAC installer have any other Programs except navacomm in it? can you POST a list of files included in it?
Member:
jeffgus
at: 11:11 PM 06/09/2009
Originally Posted by LinuxGuy:
Default firewall rules (from /etc/init.d/bootmisc.sh -> /etc/pmnetconfig/iptablectrl -> /etc/pmnetconfig/funcs)
[CODE]
NetCfgClearIpTable
#Accept all Forwarding and Outbound connections
${IPTABLES} -P OUTPUT ACCEPT
${IPTABLES} -P FORWARD ACCEPT
${IPTABLES} -N ALLOWED_PACKETS
${IPTABLES} -A ALLOWED_PACKETS -j ACCEPT
#creating an INVALID_PACKETS rule that will limit logging and drop invalid packets
${IPTABLES} -N INVALID_PACKETS
${IPTABLES} -A INVALID_PACKETS -m limit --limit 1/second --limit-burst 100 -j LOG --log-prefix "IPT_INVALID_PACKETS_DROPPED: "
${IPTABLES} -A INVALID_PACKETS -j DROP
NetCfgSetIpTableBaseInputRules
if [[ -e /var/gadget/usbnet_enabled ]]; then
#Open Up SSH
NetCfgSetIpTablesOpenSSH
#Open Up DBus
NetCfgSetIpTablesOpenDBus
#Open NovaCom
#NetCfgSetIpTablesOpenNovaCom
#Open up Java Debugging Port
NetCfgSetIpTablesOpenJavaDebugger
#Open gdb debugging port
NetCfgSetIpTablesOpenGdbServer
fi
${IPTABLES} -A INPUT -m limit --limit 1/second --limit-burst 10 -j LOG --log-level DEBUG --log-prefix "IPT_PACKET_DROPPED_NO_MATCH: "
}
[/CODE]
usbnet! That would be a great way of talking to the device. This is what the Slacker music devices use to grab their station updates without using WiFi.
Only one small problem (from config-2.6.24-palm-joplin-3430):
# CONFIG_USB_USBNET is not set
doh!
Member:
LinuxGuy
at: 11:12 PM 06/09/2009
From ./luna/data/Apps/br/config/spds/syncml.properties
[CODE]
#
# Configuration file for the SyncML client agent
#
# PLEASE NOTE THIS FILE SHOULD NOT BE MODIFIED AND
# CHECK-IN WITHOUT TALKING TO GURMEET KALRA
#
#
# The initial URL for the SyncML request
#
#syncml-url=https://ps5.sb.palm.com/BR/ds
#syncml-url=http://wss.qa.palm.com/BR/ds
#
# The target URI of the server being contacted
#
target-local-uri=http://localhost
...
[/CODE]
Member:
gbp
at: 11:13 PM 06/09/2009
Core WEB OS is under
webosdoctorp100ewwsprint.jar
==> resources
==> webOS.tar ==> nova-cust-image-castle.rootfs.tar.gz
==> nova-cust-image-castle.rootfs.tar
Member:
niteice
at: 11:13 PM 06/09/2009
/usr/lib/modem/castleumtsfw_dvt.tar -> palm_nv_items.txt looks like a sequence of commands sent to the GSM modem.
[code]
1926,NV_AAGPS_DEFAULT_IP_ADDRESS_I,207,114,133,116,0,0,0,0,0,0,0,0,0,0,0,0
[/code]
That IP is new, and it doesn't seem to be connected to anything...
looks like there is a mount point for a "card" (presumably an SD card?) at /mnt/card
too bad the pre doesn't have the hardware for this
it seems that this is based off debian code too... just an fyi.. people probably already know this.
Pre Developer:
PreGame
at: 11:14 PM 06/09/2009
Originally Posted by eddieroger:
Sorry! The one you actually downloaded. It launches an application.
webosdoctorp100ewwwspeint.jar.
ROFL I'm so stupid. I didn't have java installed because I re-formatted my pc over the weekend. So when I clicked the jar it opened it in winrar and I extracted everything lol.
Member:
gbp
at: 11:15 PM 06/09/2009
APPS are under
nova-cust-image-castle.rootfs.tar\.\usr\palm\applications\
First
...
2 3 4 5 6 7
8 9 10 11 12 17
...
Last
webOS Nation Forums
> webOS apps and software
> webOS development
>
OK ROM comes