Old 06/10/2009, 04:37 AM   #301 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Likes: 0
Thanks: 0
Thanked 69 Times in 15 Posts

Default

oh damn... this comment is too good not to post:

// On the offchance that the user hits the 'minimize'
// before we finished capture ... slimy ******* users.

Mr. Rik Sagar has a potty mouth...
scm6079 is offline  
Thanked by -wireless-, fourply
Old 06/10/2009, 04:39 AM   #302 (permalink)
Member
 
Join Date: Mar 2009
Posts: 266
Likes: 0
Thanks: 15
Thanked 25 Times in 18 Posts

Default

Glarg!!! I so wanna get into this thing, but do not have a Mac (or a Hackintosh!)...
rposa is offline  
Old 06/10/2009, 04:49 AM   #303 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1
Likes: 0
Thanks: 0
Thanked 0 Times in 0 Posts

Default

Quote:
Originally Posted by SippieCup View Post
it seems that this is based off debian code too... just an fyi.. people probably already know this.
Actually not because of /etc/busybox =)
fajm is offline  
Old 06/10/2009, 04:49 AM   #304 (permalink)
Member
 
Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts

Default

Is anyone familiar with ipkg? I wonder where it pulls the locations from. If it was like apt on debian and we could just edit a sources file and add a custom sources that would be awesome for installing custom software and additional user-made packages without using the app catalog.

People who have done Zaurus hacking would probably be pretty familiar with a lot of this.

Oh and check out the contents of /var/usr/palm/applications/net.likeme/doc/command-history-likeme-mobile-match-staging.txt

Good thing they password protected their svn repository cause the URL and username are in that file. Probably should have deleted that before making the package.
joshewah is offline  
Old 06/10/2009, 04:50 AM   #305 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Likes: 0
Thanks: 0
Thanked 4 Times in 3 Posts

Default

Quote:
Originally Posted by rposa View Post
Glarg!!! I so wanna get into this thing, but do not have a Mac (or a Hackintosh!)...
Why don't you extract the jar/tar and look around?
ydaraishy is offline  
Old 06/10/2009, 04:57 AM   #306 (permalink)
Member
 
Join Date: Mar 2009
Posts: 266
Likes: 0
Thanks: 15
Thanked 25 Times in 18 Posts

Default

Quote:
Originally Posted by ydaraishy View Post
Why don't you extract the jar/tar and look around?
I have and am looking around at it .. I wanna make some CHANGES, work on an idea I have for an app

Can't do that in the static image...
rposa is offline  
Old 06/10/2009, 04:57 AM   #307 (permalink)
Member
 
Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts

Default

shortcovers is using some kind of obfuscation script:
ObfuscateJS Javascript Obfuscator 0.3.6
Latest updates on: ObfuscateJS - A Free Javascript Obfuscator

I bet more devs will start doing that, or use online services that require a login to access data so they have more control.
joshewah is offline  
Old 06/10/2009, 04:59 AM   #308 (permalink)
Member
 
Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post

Default

Here is a bit of lol worthy reading.
Also if you want more less vulgar reading, do a search on the FIXME's instead of the TODO's. Lots of the FIXME's end up being HACK's haha.
[CODE]
/**
* @private
* Describe Graphwalker
*
* Treats an object as a 'graph' and breaks down its properties into nodes.
*
* Implemented using a *******ized Euler-tour-style tree traversal. Every node is 'entered'
* and 'exited' once with the left value corresponding to entering, and right value to exiting.
* A node is entered before and exited after its children have entered/exited. This allows
* the graph structure to be stored in a flattened form.
*
* Supports self-loops/backpointers, and cycles by replacing them with a dud reference node
* using the original's left reference number.
*
* Yay for seemingly useless academic algorithms.
*
*/
[/code]

[code]
// Deduce the correct document from the element's owner. this is needed for
// lightweight stage bull**** in Mojo
[/code]

[code]\// Extra functions for renderMode = x... Can't put these in the obecjt to extend, it ****s up when one clals "Obejct.extned"
[/code]
Cheers

Last edited by -wireless-; 06/10/2009 at 05:13 AM. Reason: more lols
-wireless- is offline  
Old 06/10/2009, 05:00 AM   #309 (permalink)
Member
 
Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts

Default

I wonder if modifying any of these would change the volume of the speaker:
[code]
root@castle:/var/gadget# cat /etc/audio/phone_back_speaker.txt
# Modified: 090225 by Ron Horowitz
# Revised volume steps
# modified: 090206 by Ron Horowitz
# comments: Tx gain changes for QC EEC
begin phone_back_speaker
# enable RXR2, VRX, TXL2
# Changeed VRXPGA, RXR1
setreg 0x02 0x94
setreg 0x04 0x01
setreg 0x05 0x11
setreg 0x06 0x00
setreg 0x07 0x08
setreg 0x08 0x00
# mix VRX with RXR2
setreg 0x09 0x20
# TXL2=0dB
setreg 0x0c 0x00
setreg 0x0e 0x01
setreg 0x0f 0x61
# RXR1=0dB
setreg 0x12 0x3F
# VRXPGA=+6dB
setreg 0x14 0x2b
setreg 0x15 0x00
# VRX2ARXPGA=0dB
setreg 0x16 0x19
setreg 0x17 0x04
# RXR1=+12dB
setreg 0x1c 0x03
setreg 0x1e 0x00
setreg 0x21 0x00
setreg 0x25 0x00
setreg 0x26 0x00
setreg 0x2a 0x20
setreg 0x2a 0x30
# h-bridge input = RXR2
setreg 0x2a 0x3e
setreg 0x3f 0x00
# mix SDRR2 and SDRL2 into R2
setreg 0x43 0x10
# ANAMIC_GAIN=+6dB
setreg 0x48 0x01
end
begin phone_back_speaker_mute
setreg 0x05 0x00
end
begin phone_back_speaker_unmute
setreg 0x05 0x11
end
begin phone_back_speaker_volume_0
# FS-22dB
setreg 0x14 0x15
end
begin phone_back_speaker_volume_1
# FS-20dB
setreg 0x14 0x17
end
begin phone_back_speaker_volume_2
# FS-18dB
setreg 0x14 0x19
end
begin phone_back_speaker_volume_3
# FS-16dB
setreg 0x14 0x1b
end
begin phone_back_speaker_volume_4
# FS-14dB
setreg 0x14 0x1d
end
begin phone_back_speaker_volume_5
# FS-12dB
setreg 0x14 0x1f
end
begin phone_back_speaker_volume_6
# FS-9dB
setreg 0x14 0x22
end
begin phone_back_speaker_volume_7
# FS -6dB
setreg 0x14 0x25
end
begin phone_back_speaker_volume_8
# FS -3dB
setreg 0x14 0x28
end
begin phone_back_speaker_volume_9
# 0dB (full scale, or "FS")
setreg 0x14 0x2b
end
[/code]
joshewah is offline  
Old 06/10/2009, 05:02 AM   #310 (permalink)
Member
 
Join Date: Jan 2008
Location: Los Angeles
Posts: 64
Likes: 0
Thanks: 2
Thanked 18 Times in 7 Posts

Default

not to trump the previous wiki created, but I ended up creating a dedicated wiki site for WebOS if anyone is interested. I'll do my best to keep it updated. If anyone is interested in helping admin, and moderate I'd be happy to get the help. site is at http://www.WebOSwiki.com but .net, .org and .info all work.
exstatica is offline  
Old 06/10/2009, 05:06 AM   #311 (permalink)
Member
 
Join Date: Jun 2009
Location: London, UK
Posts: 456
Likes: 94
Thanks: 152
Thanked 149 Times in 109 Posts

Default

Quote:
Originally Posted by joshewah View Post
shortcovers is using some kind of obfuscation script:
ObfuscateJS Javascript Obfuscator 0.3.6
Latest updates on: ObfuscateJS - A Free Javascript Obfuscator

I bet more devs will start doing that, or use online services that require a login to access data so they have more control.
I can certainly see app developers for the Catalog doing that.
dignitary is offline  
Old 06/10/2009, 05:20 AM   #312 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Likes: 0
Thanks: 0
Thanked 69 Times in 15 Posts

Default

Well - I need to get to sleep so I can wake up and code at my real job in the morning. Wait ... it is morning. Oh, well. I did find some more on the camera flash for those interested. There is a daemon for the camera named camd that runs when the camera application is started. It is linked to the hardware via the linux i2c subsystems. The device can be queried for the current status as so:

root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# cat torch_current
0mA* 50mA 75mA 100mA 150mA 200mA 250/400mA 250/500mA

root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# cat flash_current
150mA 200mA 300mA 400mA 500mA* 700mA 900mA 1200mA

There is a "file" called mode that recognizes the command "shutdown" - and power is terminated by echoing a 0 into the avin file.

root@castle:/sys/class/i2c-adapter/i2c-2/2-0033# echo -n shutdown > mode

Anyways... always fun... I can't wait to see what else gets done by a programmer defined "morning."

_Scott
scm6079 is offline  
Thanked By: fourply
Old 06/10/2009, 05:47 AM   #313 (permalink)
Member
 
Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts

Default

Some info on the Java Virtual Machine that is being used on the Pre.

It's Apache Harmony they are using. See harmony.apache.org. It supports version 1.5 of Java SE.

The virtual machine is being called OasisVM by Palm: "usage: OasisVM [options] [classfile [args]]"

Can anyone run the foolowing command to get some more version info:

[CODE]java -version[/CODE]

or

[CODE]/usr/lib/jvm/java-1.5-palm/bin/java -version[/CODE]
schraal is offline  
Old 06/10/2009, 05:53 AM   #314 (permalink)
Member
 
Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts

Default

So a third WebOS device is coming? Saw the name zepfloyd coming by already, but found it in a different file (diskmode.sh), together with the castle (pre) and pixie (eos):

[CODE]#!/bin/sh

# castle
SYSDIR=/sys/devices/platform/musb_hdrc.0/gadget/gadget-lun0
if [ ! -d $SYSDIR ]; then
SYSDIR=/sys/devices/platform/msm_hsusb/gadget/gadget-lun0
# pixie
if [ ! -d $SYSDIR ]; then
# zepfloyd
SYSDIR=/sys/devices/platform/omap_udc/gadget/gadget-lun0
if [ ! -d $SYSDIR ]; then
echo "Error: gadget-lun0 directory not found"
exit 1
fi
fi
fi

...snipped...[/CODE]
schraal is offline  
Old 06/10/2009, 06:15 AM   #315 (permalink)
Member
 
Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post

Default

Quote:
Originally Posted by schraal View Post
So a third WebOS device is coming? Saw the name zepfloyd coming by already, but found it in a different file (diskmode.sh), together with the castle (pre) and pixie (eos):
Aha, so that is what jeffgus found earlier in the novacomd, a new device

Quote:
Originally Posted by jeffgus View Post
Found this in the novacomd:

[CODE]
zepfloyd-bootie
zepfloyd-linux
[/CODE]
Cheers
-wireless- is offline  
Thanked By: mer1
Old 06/10/2009, 06:25 AM   #316 (permalink)
Member
 
Join Date: Oct 2008
Posts: 42
Likes: 4
Thanks: 5
Thanked 10 Times in 8 Posts

Default

Quote:
Originally Posted by -wireless- View Post
Aha, so that is what jeffgus found earlier in the novacomd, a new device
Yep and it's going to have WIFI. A grep for zepfloyd gave me 3 hits:

[CODE]passthrud
diskmode.sh
wifidriver[/CODE]

When opening wifidriver, you'll see the castle and the zepfloyd named in the first couple of lines. The pixie is not there, but we already knew it would not have WIFI... It all fits perfectly. :-)
schraal is offline  
Thanked By: mer1
Old 06/10/2009, 06:32 AM   #317 (permalink)
Member
 
Join Date: Oct 2006
Posts: 29
Likes: 0
Thanks: 1
Thanked 11 Times in 4 Posts

Default

Just read all 16 pages of this thread in one sitting and I want to congratulate everyone on all their hard work. You all deserve a huge round of applause.

-Stefan
DevilsRejection is offline  
Thanked By: mer1
Old 06/10/2009, 06:39 AM   #318 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,110
Likes: 464
Thanks: 90
Thanked 8,437 Times in 2,768 Posts

Default

Quote:
Originally Posted by joshewah View Post
Is anyone familiar with ipkg? I wonder where it pulls the locations from. If it was like apt on debian and we could just edit a sources file and add a custom sources that would be awesome for installing custom software and additional user-made packages without using the app catalog.
Have a read of the #webos-internals logs in http://logs.nslu2-linux.org/livelogs...-internals.txt and you will see from Jun 10 05:34:11 to Jun 10 05:42:56 where I talk bpadalino through installation of the Optware ipkg feed, so he can now ipkg install over 1400 different packages from http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/ ...

We're working on doing a loopback mount from the big vfat partition before writing up a procedure for this - we don't want people filling up / by running ipkg install emacs22 ...

Anyone with a rooted Pre who wants to help, just join #webos-internals on Freenode and let yourself be known :-)

-- Rod

Last edited by rwhitby; 06/10/2009 at 06:48 AM.
rwhitby is offline  
Thanked by hertzi, joshewah, mer1
Old 06/10/2009, 06:43 AM   #319 (permalink)
Member
 
Join Date: Jun 2009
Posts: 6
Likes: 0
Thanks: 2
Thanked 1 Time in 1 Post

Default

Found some info about the itunes:
[code]
nova-cust-image-castle.rootfs\usr\share\storaged
[/code]
SysInfoExtended couldn't possibly be all the code to sync to itunes could it?

Cheers
-wireless- is offline  
Old 06/10/2009, 06:51 AM   #320 (permalink)
Member
 
Join Date: Jun 2009
Posts: 361
Likes: 0
Thanks: 10
Thanked 66 Times in 35 Posts

Default

Quote:
Originally Posted by rwhitby View Post
Have a read of the #webos-internals logs in http://logs.nslu2-linux.org/livelogs...-internals.txt and you will see from Jun 10 05:34:11 to Jun 10 05:42:56 where I talk bpadalino through installation of the Optware ipkg feed, so he can now ipkg install over 1400 different packages from Index of /feeds/optware/cs08q1armel/cross/stable ...

We're working on doing a loopback mount from the big vfat partition before writing up a procedure for this - we don't want people filling up / by running ipkg install emacs22 ...

-- Rod
Oh man, once we get a terminal application this is going to be sweet. Might even be cool to have a single package which installs a terminal app and sets up the extra stuff needed to install packages. Or maybe even a GUI package manager. So many cool things on the horizon for this phone. I was excited about it when I got it, but now that we have full OS access its even more awesome.
joshewah is offline  
Closed Thread
webOS Nation Forums  > webOS apps and software > webOS development   OK ROM comes

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-development/184378-ok-rom-comes.html
Posted By For Type Date
webos - Gizmodo This thread Refback 05/15/2010 09:41 PM
Noticias Palm Pre en español Post #0 Refback 06/22/2009 07:05 AM
Palm Pre Hacked - Enable Developer Mode and Gain Root Access! This thread Refback 06/22/2009 02:47 AM
Palm Pre -- Engadget Japanese This thread Refback 06/21/2009 11:39 PM
Who's getting a Palm Pre - Page 5 - Rage3D Discussion Area This thread Refback 06/20/2009 11:35 AM
WebOS File System Contents - Colin Charles - FriendFeed This thread Refback 06/19/2009 12:02 AM
Recent palmpre Bookmarks on Delicious This thread Refback 06/18/2009 10:56 PM
'Hello World!' to Palm Pre - M for Mature Forums This thread Refback 06/18/2009 09:56 PM
Palm Pre Gets Its First Homebrew App, WebOS "Easy to Modify" [Palm Pre] - Download Monkey - VOD Discussion This thread Refback 06/18/2009 09:08 PM
jwz - Palm Pre This thread Refback 06/18/2009 05:52 AM
VIDEO: OMG! Original Doom game running near perfectly on Palm Pre | PalmTwit Best source of Palm Pre news This thread Refback 06/17/2009 02:22 PM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 07:47 AM
Slashdot | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 12:28 AM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 12:21 AM
Please, Please...Develop for the Pre! This thread Refback 06/16/2009 11:06 PM
Palm Pre coming June 6 - Page 7 - AppleNova Forums This thread Refback 06/16/2009 09:14 PM
Slashdot Comments | Palm Pre Does Not Get US Tethering Either This thread Refback 06/16/2009 09:13 PM
The Pre/preDevCamp thread - StartupKC | Google Groups This thread Refback 06/16/2009 04:51 PM
Captains Log: 11 Juni 2009 This thread Refback 06/16/2009 03:19 PM
WebOs -- Engadget Mobile This thread Refback 06/16/2009 02:46 PM
Palm Pre Gets Its First Homebrew App, WebOS "Easy to Modify" | Gamingaisle This thread Refback 06/16/2009 02:34 PM
OK ROM comes - Page 15 - PreCentral Forums - Mobile This thread Refback 06/16/2009 12:02 PM
Palmista Blog: Konami Code: způsob jak "hacknout" Palm Pre This thread Refback 06/16/2009 09:05 AM
Pre Hacking - Palm Pre Development Talk | Google Groups This thread Refback 06/14/2009 09:42 AM
Palm's WebOS-ROM - xda-developers This thread Refback 06/14/2009 06:34 AM
ミニーの独り言 (´○`)はぁ~ This thread Refback 06/14/2009 06:03 AM
Palm Pre Apps - Gizmodo This thread Refback 06/14/2009 01:29 AM
Engadget 中文版 This thread Refback 06/14/2009 12:20 AM
Groundspeak Forums > Palm Pre Phone This thread Refback 06/13/2009 10:58 PM
honer123's Bookmarks on Delicious This thread Refback 06/13/2009 09:37 PM
programming This thread Refback 06/13/2009 05:39 PM
Portátiles, móviles y otros gadgets. Gizig - Pgina 2 This thread Refback 06/13/2009 03:27 PM
Palm Pre Really Needs TAKEphONE and 2Day! This thread Refback 06/13/2009 10:08 AM
ijվ ǵվ - Palm Pre,webOS - [Ѱɡ]Palm Pre̳ Palm Pre,QWERTY,ȫֻ,ֻ,Palm Treo,Centro,iPhone,blackberry - Powered by Discuz! This thread Refback 06/13/2009 08:02 AM
ミニーの独り言 (´○`)はぁ~ This thread Refback 06/13/2009 05:56 AM
胖梨Palm Pre 的秘密 - Konami code This thread Refback 06/13/2009 03:46 AM
Engadget 中国版 This thread Refback 06/13/2009 03:22 AM
Palm Twit Best source of Palm Pre news This thread Refback 06/13/2009 01:02 AM
pre dev wiki: Global Search Addons Collection This thread Refback 06/13/2009 12:03 AM
Engadget en español This thread Refback 06/12/2009 10:49 PM
Let the hacking commence This thread Refback 06/12/2009 09:23 PM
Rodfather - FriendFeed This thread Refback 06/12/2009 07:15 PM
Engadget This thread Refback 06/12/2009 05:10 PM
Engadget 中文版 This thread Refback 06/12/2009 04:37 PM
WebOSMania! El futuro Palm Pre GSM será 3.5G: 7.2Mbps This thread Refback 06/12/2009 04:32 PM
Please, Please...Develop for the Pre! This thread Refback 06/12/2009 02:57 PM
AnandTech This thread Refback 06/12/2009 02:38 PM
Alltop - Top Macintosh News This thread Refback 06/12/2009 01:35 PM
pre dev wiki: Change the default notification.wav Sound This thread Refback 06/12/2009 01:27 PM
Mobile Phones on I4U News This thread Refback 06/12/2009 12:59 PM


 

Content Relevant URLs by vBSEO 3.6.0