Home | Stories | Reviews | Treo™ Store | Accessories | Software | Discussion | Mobile | About | Search

 
 
Innocell 3500mAh Extended Battery Seidio Innocell 3500mAh Extended Battery for Treo Pro
Just $69.95
 Leather Side Case Palm Side Case
Just $24.95
Treo Screen Protectors  (3-Pack) Screen Protectors for Treo
Just $12.95
H17 Bluetooth Headset Motorola H17 Bluetooth Headset
Just $89.95
 
Old 06/10/2009, 04:33 AM   15 links from elsewhere to this Post. Click to view. #281 (permalink)
Member
 
Join Date: Jun 2009
Posts: 215
Thanks: 8
Thanked 46 Times in 22 Posts
Default

Its rootfs though, I think its mounted from a ramdisk image. So the image from the first post in this thread that wasin the jar with all the files... that is in ROM and mounted into memory on boot.

I guess I should try and write a test file and then reboot and see what happens.
joshewah is offline   Reply With Quote
Old 06/10/2009, 04:37 AM   #282 (permalink)
Member
 
Join Date: Jun 2009
Posts: 215
Thanks: 8
Thanked 46 Times in 22 Posts
Default

Phone was rebooted:
root@castle:/boot# uptime
03:36:18 up 2 min, 0 users, load average: 2.26, 1.26, 0.49

And the file I put in /boot was still there. So no problem changing whats in /boot if you wanted to.

One cool thing, you can connect to the phone again before the GUI is even done loading. I was in while it still said PALM.
joshewah is offline   Reply With Quote
Old 06/10/2009, 04:46 AM   #283 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Thanks: 0
Thanked 69 Times in 15 Posts
Default

Yes! I have made my first successful application modification! I have modified the camera to no longer make the shutter noise even with all system sounds enabled, and everything on. Required re-mounting the root partition rw - and then making my modifications - and finally rebooting the phone to pick up the changes. But it worked!!! Yay!

_Scott
scm6079 is offline   Reply With Quote
Old 06/10/2009, 04:58 AM   #284 (permalink)
Member
 
Join Date: Jul 2006
Posts: 51
Thanks: 2
Thanked 11 Times in 5 Posts
Default

Quote:
Originally Posted by scm6079 View Post
Yes! I have made my first successful application modification! I have modified the camera to no longer make the shutter noise even with all system sounds enabled, and everything on. Required re-mounting the root partition rw - and then making my modifications - and finally rebooting the phone to pick up the changes. But it worked!!! Yay!

_Scott


Really excited to see what you guys can do with all of this
BlackFlag77 is offline   Reply With Quote
Old 06/10/2009, 04:58 AM   #285 (permalink)
Member
 
Join Date: Jun 2009
Location: Iasi, Romania
Posts: 15
Thanks: 15
Thanked 0 Times in 0 Posts
Default great work!

btw. did you see that
"Palm's webOS root image leaks out, code enthusiasts reschedule their normal nightly plans" on engadget (sorry can't post links yet)
hertzi is offline   Reply With Quote
Old 06/10/2009, 05:00 AM   #286 (permalink)
Member
 
Join Date: May 2009
Posts: 18
Thanks: 5
Thanked 0 Times in 0 Posts
Default

I would increase the vibrate on email/SMS for more than 1 sec. Up to like three sec.
tjolsonmcse is offline   Reply With Quote
Old 06/10/2009, 05:01 AM   #287 (permalink)
Member
 
Join Date: Jul 2006
Posts: 51
Thanks: 2
Thanked 11 Times in 5 Posts
Default

Yeah, the vibrate is terrible... I'd say it's more like 1/3 of a second. I can only feel it if I'm sitting down absolutely still.
BlackFlag77 is offline   Reply With Quote
Old 06/10/2009, 05:02 AM   #288 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Thanks: 0
Thanked 69 Times in 15 Posts
Default

Whoo hoo!!!

My first application works!! I'm so excited! It's just a pretty "hello world" application with a few simple command tests - but hey - it's a working application on the pre!

Here are the steps I took:
* Enable dev mode, log in as root
* Remount the / partition for read write with the command:
mount -n -o remount,rw /
* Started by picking an application I didn't care much about - i choose the nascar app.
* Found that application's directory: /usr/palm/applications/com.handson.app.nascar/
* remove the imports for stuff I didn't need/want
* created a new home view that displays my app
* Added controller / additional code as needed (for me just a couple functions, mostly copied from other apps)
* Saved all the changes. I edited the files on the device with vi.
* Rebooted my phone
* started the application by clicking on the existing application icon.
* Sat back and smiled as my simple application worked.

The api in the js really seems pretty nice. Palm did a good job. Honestly, this is much cleaner than when I was going through the earlier palm os stuff for my i500 / i330 apps.

_Scott
scm6079 is offline   Reply With Quote
Old 06/10/2009, 05:07 AM   #289 (permalink)
Member
 
Join Date: Jun 2009
Posts: 357
Thanks: 46
Thanked 55 Times in 28 Posts
Default

scm6079, that's awesome to hear. It looks like we have a temporary workaround while waiting for the SDK to be delivered. Granted, dev workflow will be a little rough without the tools they likely provide, but this is absolutely the beginning of independent, non-SDK-dependent Pre development in the meantime.

Earlier tonight, I was contemplating doing the exact same thing: Use a predeveloped app, study it for a bit, and refactor it (using information gleaned from said app and others) to do my bidding. It looks like I can finally begin work on a couple I already had in mind with this information revealed.
vanadium is offline   Reply With Quote
Old 06/10/2009, 05:09 AM   #290 (permalink)
Member
 
brum's Avatar
 
Join Date: Nov 2008
Location: Australia
Posts: 152
Thanks: 94
Thanked 13 Times in 9 Posts
Default

Enjoying sitting back watching people speek in a language I don't understand...
__________________
V > TX > NOW: Centro 16GB SD >> TX 16GB SD & dumb phone?
brum is offline   Reply With Quote
Thanked By 3:
Old 06/10/2009, 05:13 AM   #291 (permalink)
Member
 
Join Date: Jun 2009
Posts: 36
Thanks: 0
Thanked 3 Times in 2 Posts
Default

palm will obfuscate all javascript soon...
iphony is offline   Reply With Quote
Old 06/10/2009, 05:15 AM   1 links from elsewhere to this Post. Click to view. #292 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Thanks: 0
Thanked 69 Times in 15 Posts
Default

Quote:
Originally Posted by BlackFlag77 View Post
Yeah, the vibrate is terrible... I'd say it's more like 1/3 of a second. I can only feel it if I'm sitting down absolutely still.
Ask and you shall receive! My phone now vibrates 3 times... Here's the change,
Line 129, /usr/palm/applications/com.palm.app.messaging/app/controllers/notification-assistant.js --

find the line:
this.controller.playSoundNotification('alerts','');

This plays the alert. Now just add 2 setTimeout commands (takes the function to call, then the time in ms.)

So you have:

setTimeout( function(){ this.controller.playSoundNotification('alerts', ''); }, 1000 );
setTimeout( function(){ this.controller.playSoundNotification('alerts', ''); }, 2000 );

Adjust the 1000 and 2000 parameters to your liking. Follow my guide on modifying to put this in place, and you now have a long tone.

This phone really is going to fun - it is *sooo* easy to modify.

_Scott
scm6079 is offline   Reply With Quote
Old 06/10/2009, 05:16 AM   #293 (permalink)
Member
 
Join Date: Jun 2009
Posts: 357
Thanks: 46
Thanked 55 Times in 28 Posts
Default

Excellent work, scm. My main concern would be persistence after the next revision, but these tweaks seem easy enough to do assuming access remains available moving forward.

JS obfuscation would present a sort of performance hit, IIRC.

Last edited by vanadium; 06/10/2009 at 05:35 AM.
vanadium is offline   Reply With Quote
Old 06/10/2009, 05:17 AM   #294 (permalink)
Member
 
Join Date: Jun 2009
Posts: 36
Thanks: 0
Thanked 3 Times in 2 Posts
Default

no, obfuscation actually increases performance by using shorter symbol names
iphony is offline   Reply With Quote
Old 06/10/2009, 05:18 AM   #295 (permalink)
Member
 
Join Date: Jun 2009
Posts: 357
Thanks: 46
Thanked 55 Times in 28 Posts
Default

You actually have a point there based on my dealing with XSS attacks in the past. It's been a while.

Regardless, even if JS is obfuscated, wouldn't it (for the most part) be beside the point with the framework already out in the open and the SDK perhaps only a couple of months away? Part of me thinks that, with this knowledge out there and being actively investigated (to the delight of the developer community), Palm isn't going to run around closing the gates at this point.

Last edited by vanadium; 06/10/2009 at 05:29 AM.
vanadium is offline   Reply With Quote
Old 06/10/2009, 05:21 AM   #296 (permalink)
Member
 
Join Date: Jun 2009
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
Default

Hey guys, found the svn but I doubt we can access it.
Code:
Source: svn://subversion.palm.com/main/nova/palm/luna/framework/submissions;module=175.7;proto=http svn://subversion.palm.com/main/nova/palm/luna/framework;module=trunk;proto=http file://buildin-framework file://JavaScript/Minifier.pm
Cheers
-wireless- is offline   Reply With Quote
Old 06/10/2009, 05:23 AM   #297 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by -wireless- View Post
Hey guys, found the svn but I doubt we can access it.
Code:
Source: svn://subversion.palm.com/main/nova/palm/luna/framework/submissions;module=175.7;proto=http svn://subversion.palm.com/main/nova/palm/luna/framework;module=trunk;proto=http file://buildin-framework file://JavaScript/Minifier.pm
Cheers
The SVN address isn't in DNS, so it's not going to be easily accessible, if at all.

The Luna/Mojo framework sources are in the root image (it's JavaScript after all!)
ydaraishy is offline   Reply With Quote
Old 06/10/2009, 05:25 AM   #298 (permalink)
Member
 
Join Date: Jun 2009
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
Default

Yeah but it would be nice to see all the updates :P

Cheers
-wireless- is offline   Reply With Quote
Old 06/10/2009, 05:30 AM   #299 (permalink)
Member
 
Join Date: Jun 2009
Posts: 44
Thanks: 0
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by -wireless- View Post
Yeah but it would be nice to see all the updates :P

Cheers
Yeah... it'd be nice if we had the actual source code, but it'll be a cold day in hell...
ydaraishy is offline   Reply With Quote
Old 06/10/2009, 05:34 AM   #300 (permalink)
Member
 
Join Date: Jun 2009
Posts: 34
Thanks: 0
Thanked 69 Times in 15 Posts
Default

So I've been digging through the camera in detail to add a few functions I want - including letting me set an auto-timer - and there is some *hilarious* code in there.

//NOTE: The Captured event _could_ come in earlier if the SetSnapshotDelayDuration function ever get
//added and called and was used to reduce the capture freezeframe to less then 1second ... OMFG!

So I have the camera modified to add a "5 second timer" button - that let's me click it and then turn the phone around to face me before it takes the picture.

I'm also looking to modify it to be able to use the flash as a flashlight (like my old moto q) - but haven't found enough for that yet.

There are 998 "TODO: " references in the source base. If you want some really funny reading, you should run this command as root on your phone:

find . -name "*.js" | xargs egrep "TODO"

Read the comments - they are great.

_Scott
scm6079 is offline   Reply With Quote
Thanked By 3:
Reply


Thread Tools
Display Modes

~

LinkBacks (?)
LinkBack to this Thread: http://discussion.treocentral.com/web-os-development/184378-ok-rom-comes.html
Posted By For Type Date
Noticias « Palm Pre en español Post #0 Refback 06/22/2009 08:05 AM
Palm Pre Hacked - Enable Developer Mode and Gain Root Access! This thread Refback 06/22/2009 03:47 AM
Palm Pre -- Engadget Japanese This thread Refback 06/22/2009 12:39 AM
Who's getting a Palm Pre - Page 5 - Rage3D Discussion Area This thread Refback 06/20/2009 12:35 PM
WebOS File System Contents - Colin Charles - FriendFeed This thread Refback 06/19/2009 01:02 AM
Recent palmpre Bookmarks on Delicious This thread Refback 06/18/2009 11:56 PM
'Hello World!' to Palm Pre - M for Mature Forums This thread Refback 06/18/2009 10: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 10:08 PM
jwz - Palm Pre This thread Refback 06/18/2009 06: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 03:22 PM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 08:47 AM
Slashdot | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 01:28 AM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 01:21 AM
Please, Please...Develop for the Pre! This thread Refback 06/17/2009 12:06 AM
Palm Pre coming June 6 - Page 7 - AppleNova Forums This thread Refback 06/16/2009 10:14 PM
Slashdot Comments | Palm Pre Does Not Get US Tethering Either This thread Refback 06/16/2009 10:13 PM
The Pre/preDevCamp thread - StartupKC | Google Groups This thread Refback 06/16/2009 05:51 PM
Captains Log: 11 Juni 2009 This thread Refback 06/16/2009 04:19 PM
WebOs -- Engadget Mobile This thread Refback 06/16/2009 03:46 PM
Palm Pre Gets Its First Homebrew App, WebOS "Easy to Modify" | Gamingaisle This thread Refback 06/16/2009 03:34 PM
OK ROM comes - Page 15 - PreCentral Forums - Mobile This thread Refback 06/16/2009 01:02 PM
Palmista Blog: Konami Code: způsob jak "hacknout" Palm Pre This thread Refback 06/16/2009 10:05 AM
Pre Hacking - Palm Pre Development Talk | Google Groups This thread Refback 06/14/2009 10:42 AM
Palm's WebOS-ROM - xda-developers This thread Refback 06/14/2009 07:34 AM
ミニーã®ç‹¬ã‚Šè¨€ (´○`)ã¯ã~ This thread Refback 06/14/2009 07:03 AM
Palm Pre Apps - Gizmodo This thread Refback 06/14/2009 02:29 AM
Engadget 中文版 This thread Refback 06/14/2009 01:20 AM
Groundspeak Forums > Palm Pre Phone This thread Refback 06/13/2009 11:58 PM
honer123's Bookmarks on Delicious This thread Refback 06/13/2009 10:37 PM
programming This thread Refback 06/13/2009 06:39 PM
Portátiles, móviles y otros gadgets. Gizig - Página 2 This thread Refback 06/13/2009 04:27 PM
Palm Pre Really Needs TAKEphONE and 2Day! This thread Refback 06/13/2009 11:08 AM
ÔÚÄ³ÍøÕ¾¿´µ½ ÎÒÃǵÄÕ¾ÓÑ ¹þ¹þ ºÃÇ×ÇÐ - Palm Pre,webOS - [´µÓѰɡ¤·çÓï]Palm PreÂÛ̳ Palm Pre,QWERTY,È«¼üÅÌÊÖ»ú,ÖÇÄÜÊÖ»ú,Palm Treo,Centro,iPhone,blackberry - Powered by Discuz! This thread Refback 06/13/2009 09:02 AM
ミニーã®ç‹¬ã‚Šè¨€ (´○`)ã¯ã~ This thread Refback 06/13/2009 06:56 AM
胖梨Palm Pre 的秘密 - Konami code This thread Refback 06/13/2009 04:46 AM
Engadget 中国版 This thread Refback 06/13/2009 04:22 AM
Palm Twit Best source of Palm Pre news This thread Refback 06/13/2009 02:02 AM
pre dev wiki: Global Search Addons Collection This thread Refback 06/13/2009 01:03 AM
Engadget en español This thread Refback 06/12/2009 11:49 PM
Let the hacking commence This thread Refback 06/12/2009 10:23 PM
Rodfather - FriendFeed This thread Refback 06/12/2009 08:15 PM
Engadget This thread Refback 06/12/2009 06:10 PM
Engadget 中文版 This thread Refback 06/12/2009 05:37 PM
WebOSMania! » El futuro Palm Pre GSM será 3.5G: 7.2Mbps This thread Refback 06/12/2009 05:32 PM
Please, Please...Develop for the Pre! This thread Refback 06/12/2009 03:57 PM
AnandTech This thread Refback 06/12/2009 03:38 PM
Alltop - Top Macintosh News This thread Refback 06/12/2009 02:35 PM
pre dev wiki: Change the default notification.wav Sound This thread Refback 06/12/2009 02:27 PM
Mobile Phones on I4U News This thread Refback 06/12/2009 01:59 PM
Apple News | Addictomatic This thread Refback 06/12/2009 01:19 PM
Gizmodo, the Gadget Guide This thread Refback 06/12/2009 12:08 PM
siteokamoto This thread Refback 06/12/2009 11:45 AM
The Pre/preDevCamp thread - StartupKC | Google Groups This thread Refback 06/12/2009 11:39 AM
Engadget Mobile This thread Refback 06/12/2009 11:26 AM
programming This thread Refback 06/12/2009 11:21 AM
WebOS File System Contents - Niklas Morberg - FriendFeed This thread Refback 06/12/2009 10:00 AM
Desarrollo « Palm Pre en español Post #0 Refback 06/12/2009 09:40 AM
Page 11 | Gizmodo Australia This thread Refback 06/12/2009 09:32 AM
VIDEO: OMG! Original Doom game running near perfectly on Palm Pre | Palm webOS Blog This thread Refback 06/12/2009 09:25 AM
Engadget This thread Refback 06/12/2009 09:03 AM
Please, Please...Develop for the Pre! This thread Refback 06/12/2009 08:03 AM
not with a bang but a whimper This thread Refback 06/12/2009 07:53 AM
programming This thread Refback 06/12/2009 07:15 AM
* Officiell Tråd - Palm Pre * - Minhembio forum This thread Refback 06/12/2009 07:06 AM
Gizmodo, the Gadget Guide This thread Refback 06/12/2009 05:53 AM
Le Palm Eos sera bien équipé du système d’exploitation WebOS - CNETFrance.fr This thread Refback 06/12/2009 05:07 AM
Engadget en español This thread Refback 06/12/2009 03:48 AM
Engadget Japanese This thread Refback 06/12/2009 02:45 AM
Palm Webos -- Engadget This thread Refback 06/12/2009 01:43 AM
WebOS homebrewers say 'Hello World!' to Palm Pre This thread Refback 06/11/2009 05:15 PM
Pre Gets Its First Homebrew App, WebOS Said to Be "Easy to Modify" [Palm Pre] - DCEmu Forums:: The Homebrew & Gaming Network :: PSP Dreamcast Nintendo DS Wii GP2X Xbox 360 GBA Gamecube PS2 Apple iPhone PS3 Wiz Pandora Forums This thread Refback 06/11/2009 02:41 PM
Le Palm Eos sera bien équipé du système d’exploitation WebOS - CNETFrance.fr This thread Refback 06/11/2009 07:47 AM
Palm Pixie Poised To Run Palm's Web OS This thread Refback 06/11/2009 12:24 AM


All times are GMT -4. The time now is 09:48 AM.

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 
 

Copyright ©1999- TreoCentral. All rights reserved : Terms of Use : Privacy Policy

TREO and TreoCentral are trademarks or registered trademarks of palm, Inc. in the United States and other countries;
the TreoCentral mark and domain name are used under license from palm, Inc.
The views expressed on this website are solely those of the proprietor, or
contributors to the site, and do not necessarily reflect the views of palm, Inc.

Explore More: Crackberry | WMExperts | the iPhone Blog | Android Central | Smartphone Experts Combined Forums