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

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06/11/2009, 02:41 AM   #581 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Figured out the other half of the sftp thing. I needed to run sftp server as sudo as described here. That gives my user the privileges it needs to modify files after mounting it as read-write.
jhoff80 is offline  
Old 06/11/2009, 02:42 AM   #582 (permalink)
Member
 
Join Date: Dec 2003
Posts: 122
Likes Received: 0
Thanks: 31
Thanked 3 Times in 3 Posts
Default

Another feature I have been looking for and love with Treo is ability to sync with my desktop Outlook.. I am still not buying to the whole contacts/email over the web storage yet.

Any possibility for that to happen with the discovery here? I'm going to look for myself, but if anyone interested, please share.
__________________
"Who really needs to multitask on their phone." - PRE-rock
huytrang90 is offline  
Old 06/11/2009, 02:45 AM   #583 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Quote:
Originally Posted by huytrang90 View Post
Another feature I have been looking for and love with Treo is ability to sync with my desktop Outlook.. I am still not buying to the whole contacts/email over the web storage yet.

Any possibility for that to happen with the discovery here? I'm going to look for myself, but if anyone interested, please share.
Have you checked the "6/10 new apps" thread? PocketMirror and The Missing Sync were released in the App Catalog, so as soon as the desktop components are out you're all set.
jhoff80 is offline  
Thanked By: huytrang90
Old 06/11/2009, 02:59 AM   #584 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by atlanta View Post
Did this and the phone works perfectly.... me and a friend working on getting it to work over ADHOC then it will be lovely
So you needed to add a "MASQUERADE" rule with iptables ?
ldrolez is offline  
Old 06/11/2009, 03:10 AM   #585 (permalink)
Member
 
Join Date: Jun 2009
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Read through all 30 pages and am trying to figure something out here but I don't know enough about Linux...

So if we root our Pre, remount the drive as r/w, then SCP in as root, shouldn't we be able to drop files (HTML & JS, as laid out in numerous tutorials around the web) into /usr/palm/applications/, reboot the phone and try out our application?
LegacySHO is offline  
Old 06/11/2009, 03:24 AM   #586 (permalink)
iDG
Member
 
Join Date: Jan 2008
Posts: 15
Likes Received: 0
Thanks: 3
Thanked 9 Times in 3 Posts
Default

Quote:
Originally Posted by bclancy View Post
Assuming this is busybox linux, the read only image is loaded into a ram filesystem. On my actiontec modem (which is busybox linux), I could write changes to the image loaded into the ram filesystem (which is the linux image that is actually running).
Please, don't write about stuff you don't know.

Busybox is not a linux distribution. It's a monolithic tool used to replace the usual linux userland (shell+command line tools) and it has nothing to do with the way the device boots.

see http : // busybox . net / for the details...
iDG is offline  
Old 06/11/2009, 03:28 AM   #587 (permalink)
Member
 
Join Date: May 2009
Posts: 170
Likes Received: 0
Thanks: 26
Thanked 8 Times in 6 Posts
Default

Well, I've now logged into my own Pre. It is still in Developer Mode. My question is this: Without installing ssh or telnet, is my Pre still open to the world? I don't want to leave it wide open for an attack. Do I need to exit out of Developer Mode if I don't want to install a back door?
Gilligan3816 is offline  
Old 06/11/2009, 04:04 AM   #588 (permalink)
Member
 
Join Date: Dec 2008
Posts: 18
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default Installing sudo instead

I didn't much care for the solution of copying busybox to /bin or /usr/local/bin as su in the wiki for enabling ssh so I installed sudo instead.

# As root
# Follow the instructions in the wiki excluding the following steps:
cp /bin/busybox /usr/local/bin/su
chmod u+s /usr/local/bin/su

# instead (prior to resetting):
cd /tmp
wget http: //ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/sudo_1.7.0-1_arm.ipk
ipkg install sudo_1.7.0-1_arm.ipk
rm sudo_1.7.0-1_arm.ipk
ln -s /opt/bin/sudo /usr/local/bin/sudo
ln -s /opt/bin/visudo /usr/local/bin/visudo

# For those of you familiar with vi use visudo (/usr/local/bin/visudo) to edit the sudoers file
# Otherwise:
chmod 640 /opt/etc/sudoers
echo "$MYUSER ALL=(ALL) ALL" >> /opt/etc/sudoers
chmod 440 /opt/etc/sudoers

Reset the device when finished.
Once the device reboots you can runn commands as root by executing:
sudo <command>
or to login as root:
sudo -i
you will be prompted for your user password in both instances.
greg963 is offline  
Old 06/11/2009, 04:09 AM   #589 (permalink)
Member
 
Join Date: Dec 2008
Posts: 18
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

please note their is an extra space after the 'wget http' above (I apparently don't have enough posts to publish links)
greg963 is offline  
Old 06/11/2009, 04:16 AM   #590 (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,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by greg963 View Post
ipkg install sudo_1.7.0-1_arm.ipk
Note that we're moving to installing ipkg-opt from the feed first, and then using ipkg-opt instead of ipkg to install stuff, cause then your ipkg installs don't use the same ipkg database files as Palm's installs, and there is less chance of having problems with OTA updates as a result.

-- Rod
rwhitby is offline  
Old 06/11/2009, 04:26 AM   #591 (permalink)
Member
 
Join Date: May 2009
Posts: 170
Likes Received: 0
Thanks: 26
Thanked 8 Times in 6 Posts
Default

Well I just want to say that I am shocked and amazed... I've now got my Pre w/ ssh installed, and I can't believe I'm walking around w/ essentially a linux box on my hip that I can log in to from virtually any computer w/ internet access. And it just occurred to me that w/ wget I could probably download any file from the net straight onto the 8GB storage portion of the phone... All I can say is WOW! Thanks so much for all the help guys! You're so awesome!
Gilligan3816 is offline  
Old 06/11/2009, 04:43 AM   #592 (permalink)
Member
 
Join Date: May 2009
Posts: 11
Likes Received: 0
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks for everything so far dudes.
Request for one of you geniuses;
Find a way to end a phone call by sliding the phone closed.
(Opening it already answers the call so if that is any indication it should be possible). Also,
Lock the phone by sliding it closed.
(Again, it unlocks by sliding it open so it seems possible.) I start playing music and then always touch the screen by accident and it pauses or skips track.

Last edited by brentlpgus; 06/11/2009 at 05:06 AM.
brentlpgus is offline  
Old 06/11/2009, 04:48 AM   #593 (permalink)
Member
 
Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
Default Qemu ?

No news for qemu ? Since qemu supports the Nokia N800/N810, it may be easy to boot the Pre on it ?
__________________
Ludo

www.palmopensource.com - The PalmOS/WebOS open source portal
Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
ldrolez is offline  
Old 06/11/2009, 05:12 AM   #594 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm actually trying qemu, but because I don't own a Pre I'd like someone to print output of mount command please and maybe cat /etc/fstab would be nice too. Both are not available with tar.gz
hater is offline  
Old 06/11/2009, 06:10 AM   #595 (permalink)
Member
 
Join Date: May 2009
Posts: 170
Likes Received: 0
Thanks: 26
Thanked 8 Times in 6 Posts
Default

Well, I've now modded my Pre as well. I like the other guy's idea so much I had to have it.
Attached Images
File Type: jpg phone_2009-11-06_060633.jpg (44.2 KB, 207 views) Email Attachment
Gilligan3816 is offline  
Old 06/11/2009, 06:53 AM   #596 (permalink)
Member
 
Join Date: Jun 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# <filesystem> <mount point> <type> <options> <dump> <pass>
rootfs / ext3 ro,suid,dev,exec,auto,nouser,async,noatime 1 1
/dev/mapper/store-var /var ext3 noatime 0 0
/dev/mapper/store-log /var/log ext3 noatime 0 0
/dev/mapper/store-update /var/lib/update ext3 noauto,noatime 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
tmpfs /tmp tmpfs size=64M,mode=1777 0 0
tmpfs /media/ram tmpfs defaults 0 0
/dev/mapper/store-media /media/internal vfat utf8,shortname=mixed 0 0
IllOreilly is offline  
Old 06/11/2009, 07:41 AM   #597 (permalink)
Member
 
Johncase3's Avatar
 
Join Date: Feb 2007
Posts: 83
Likes Received: 15
Thanks: 5
Thanked 7 Times in 5 Posts
Default

Quote:
Originally Posted by bclancy View Post
Cool! This means that people can probably call Sprint up and add "Phone as a Modem" to their plan. ;-)
Hi guys, nice work. Just following along.

Getting PAM added to the SE and ED plans is difficult (regardless of the handset), but not impossible. Don't know if there are additional issues because it's a pre, but it's not strictly a pre issue. Getting PAM added first and then doing an ESN change to the pre might be something to consider.
Johncase3 is offline  
Old 06/11/2009, 07:44 AM   #598 (permalink)
Member
 
Join Date: Jun 2009
Posts: 14
Likes Received: 0
Thanks: 8
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by jhoff80 View Post
Definitely add it to the Wiki, I tried doing the same thing for IMDB and ended up with a broken launcher.

I'm sure it's more complicated than what I did, I just added a line in the .js file underneath Twitter, and added an image resized to 200x44 (the size of the search-google.png file) to the folder where all the other search-.png icons were. Thinking about it, there's probably some html somewhere where I'd have to put the link to the .png or something, but I don't know.

Also, if anyone figures out how to turn off the notification sound only when putting the phone on the Touchstone, that'd be awesome too.

You're pretty close. That's exactly what I did at first and also ended up freezing the OS. You just need to do a few other things:

1. In the same .js file, do a search for 'wikipedia' --you'll see a line that says something like 'remove selected'. add an identical one but change 'wikipedia' to 'imdb'.
2. Search all .html files for the term 'wikipedia'. Add IMDB section.
3. Search all .css files for the term 'wikipedia'. Add IMDB section and point background-image:url to the correct image.

That's it!

Sorry for the lack of details.. I'm at work -- but the searches arent too complicated and the html and css is really easy to read so I think you'll be able to figure it out I'll add the details to the wiki tonight!

Last edited by arjuan; 06/11/2009 at 07:53 AM. Reason: edited for grammar
arjuan is offline  
Old 06/11/2009, 07:56 AM   #599 (permalink)
Member
 
Join Date: Jun 2009
Posts: 22
Likes Received: 0
Thanks: 1
Thanked 4 Times in 1 Post
Default

Quote:
Originally Posted by brentlpgus View Post
I start playing music and then always touch the screen by accident and it pauses or skips track.
Press the power button. It'll turn off the screen and it won't respond to any touching of the screen you do then. Your music will continue to play just fine. Problem solved?
KBLOM is offline  
Old 06/11/2009, 08:23 AM   #600 (permalink)
Member
 
Join Date: Jun 2009
Posts: 55
Likes Received: 1
Thanks: 3
Thanked 30 Times in 5 Posts
Default

Quote:
Originally Posted by KBLOM View Post
Press the power button. It'll turn off the screen and it won't respond to any touching of the screen you do then. Your music will continue to play just fine. Problem solved?
Otherwise you could just minimize that card.
LarrySteeze is offline  
Closed Thread

 

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 08:41 PM
Noticias Palm Pre en español Post #0 Refback 06/22/2009 06:05 AM
Palm Pre Hacked - Enable Developer Mode and Gain Root Access! This thread Refback 06/22/2009 01:47 AM
Palm Pre -- Engadget Japanese This thread Refback 06/21/2009 10:39 PM
Who's getting a Palm Pre - Page 5 - Rage3D Discussion Area This thread Refback 06/20/2009 10:35 AM
WebOS File System Contents - Colin Charles - FriendFeed This thread Refback 06/18/2009 11:02 PM
Recent palmpre Bookmarks on Delicious This thread Refback 06/18/2009 09:56 PM
'Hello World!' to Palm Pre - M for Mature Forums This thread Refback 06/18/2009 08: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 08:08 PM
jwz - Palm Pre This thread Refback 06/18/2009 04: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 01:22 PM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/17/2009 06:47 AM
Slashdot | Palm Pre Does Not Get US Tethering Either This thread Refback 06/16/2009 11:28 PM
Slashdot Mobile Story | Palm Pre Does Not Get US Tethering Either This thread Refback 06/16/2009 11:21 PM
Please, Please...Develop for the Pre! This thread Refback 06/16/2009 10:06 PM
Palm Pre coming June 6 - Page 7 - AppleNova Forums This thread Refback 06/16/2009 08:14 PM
Slashdot Comments | Palm Pre Does Not Get US Tethering Either This thread Refback 06/16/2009 08:13 PM
The Pre/preDevCamp thread - StartupKC | Google Groups This thread Refback 06/16/2009 03:51 PM
Captains Log: 11 Juni 2009 This thread Refback 06/16/2009 02:19 PM
WebOs -- Engadget Mobile This thread Refback 06/16/2009 01:46 PM
Palm Pre Gets Its First Homebrew App, WebOS "Easy to Modify" | Gamingaisle This thread Refback 06/16/2009 01:34 PM
OK ROM comes - Page 15 - PreCentral Forums - Mobile This thread Refback 06/16/2009 11:02 AM
Palmista Blog: Konami Code: způsob jak "hacknout" Palm Pre This thread Refback 06/16/2009 08:05 AM
Pre Hacking - Palm Pre Development Talk | Google Groups This thread Refback 06/14/2009 08:42 AM
Palm's WebOS-ROM - xda-developers This thread Refback 06/14/2009 05:34 AM
ミニーの独り言 (´○`)はぁ~ This thread Refback 06/14/2009 05:03 AM
Palm Pre Apps - Gizmodo This thread Refback 06/14/2009 12:29 AM
Engadget &#20013;&#25991;&#29256; This thread Refback 06/13/2009 11:20 PM
Groundspeak Forums > Palm Pre Phone This thread Refback 06/13/2009 09:58 PM
honer123's Bookmarks on Delicious This thread Refback 06/13/2009 08:37 PM
programming This thread Refback 06/13/2009 04:39 PM
Portátiles, móviles y otros gadgets. Gizig - Pgina 2 This thread Refback 06/13/2009 02:27 PM
Palm Pre Really Needs TAKEphONE and 2Day! This thread Refback 06/13/2009 09: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 07:02 AM
ミニーの独り言 (´○`)はぁ~ This thread Refback 06/13/2009 04:56 AM
胖梨Palm Pre 的秘密 - Konami code This thread Refback 06/13/2009 02:46 AM
Engadget &#20013;&#22269;&#29256; This thread Refback 06/13/2009 02:22 AM
Palm Twit Best source of Palm Pre news This thread Refback 06/13/2009 12:02 AM
pre dev wiki: Global Search Addons Collection This thread Refback 06/12/2009 11:03 PM
Engadget en español This thread Refback 06/12/2009 09:49 PM
Let the hacking commence This thread Refback 06/12/2009 08:23 PM
Rodfather - FriendFeed This thread Refback 06/12/2009 06:15 PM
Engadget This thread Refback 06/12/2009 04:10 PM
Engadget &#20013;&#25991;&#29256; This thread Refback 06/12/2009 03:37 PM
WebOSMania! El futuro Palm Pre GSM será 3.5G: 7.2Mbps This thread Refback 06/12/2009 03:32 PM
Please, Please...Develop for the Pre! This thread Refback 06/12/2009 01:57 PM
AnandTech This thread Refback 06/12/2009 01:38 PM
Alltop - Top Macintosh News This thread Refback 06/12/2009 12:35 PM
pre dev wiki: Change the default notification.wav Sound This thread Refback 06/12/2009 12:27 PM
Mobile Phones on I4U News This thread Refback 06/12/2009 11:59 AM


 


Content Relevant URLs by vBSEO 3.6.0