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

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06/13/2009, 10:12 PM   #921 (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

Out of curiosity, why is "Backdoor" depreciated in favor of "Enable Optware Feed"? Don't get me wrong, I understand that all of the packages that make this possible come from Optware, but if one really wants to just be able to look at their file system and make edits to it and doesn't want to bother with installing other packages than the bare minimum, that doesn't make sense to me.

Both the most recent revision of "Backdoor" and "Enable Optware Feed" use the same exact script for getting dropbear running, so why is the latter sort of being forced upon people in the newest instructions? Wouldn't it make more sense to give people two separate options at the end of "Enable Root Access" so that they can choose if they want to use ipkg-opt and the Optware feed?

And yes, I realize that it mentions that using ipkg built into the Pre might possibly break future WebOS updates, but the "Backdoor" instructions could just as easily be modified to manually untar dropbear, couldn't they?
jhoff80 is offline  
Old 06/13/2009, 10:20 PM   #922 (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 jhoff80 View Post
Out of curiosity, why is "Backdoor" depreciated in favor of "Enable Optware Feed"? Don't get me wrong, I understand that all of the packages that make this possible come from Optware, but if one really wants to just be able to look at their file system and make edits to it and doesn't want to bother with installing other packages than the bare minimum, that doesn't make sense to me.

Both the most recent revision of "Backdoor" and "Enable Optware Feed" use the same exact script for getting dropbear running, so why is the latter sort of being forced upon people in the newest instructions? Wouldn't it make more sense to give people two separate options at the end of "Enable Root Access" so that they can choose if they want to use ipkg-opt and the Optware feed?

And yes, I realize that it mentions that using ipkg built into the Pre might possibly break future WebOS updates, but the "Backdoor" instructions could just as easily be modified to manually untar dropbear, couldn't they?
People are likely to want to install more packages than just dropbear (e.g. ez-ipupdate for example), so it's best to get them started with the correct package management system in place from the start without colliding with the built-in Palm ipkg database. It allows them to "ipkg-opt upgrade dropbear" for example when a new version is released for a security patch.

-- Rod
rwhitby is offline  
Old 06/13/2009, 10:22 PM   #923 (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 rwhitby View Post
People are likely to want to install more packages than just dropbear (e.g. ez-ipupdate for example), so it's best to get them started with the correct package management system in place from the start without colliding with the built-in Palm ipkg database. It allows them to "ipkg-opt upgrade dropbear" for example when a new version is released for a security patch.
Okay, I guess that makes sense, thanks.

Edit: Though that means that a bunch of pages are outdated too. I believe the sftp-access page needs a slightly updated method to get it to work, and it also appears anything that uses the su command instead of sudo does too.

Last edited by jhoff80; 06/13/2009 at 10:32 PM.
jhoff80 is offline  
Old 06/13/2009, 10:31 PM   #924 (permalink)
Member
 
Join Date: Dec 2003
Posts: 122
Likes Received: 0
Thanks: 31
Thanked 3 Times in 3 Posts
Default

now for those already use the old instruction, will the new instruction help them to change to the new ipk-opt?

I jumped on the bandwagon since the 2nday. love every moment of it, but wanna to make sure I do not break it or lose the ability.
__________________
"Who really needs to multitask on their phone." - PRE-rock
huytrang90 is offline  
Old 06/13/2009, 11:03 PM   #925 (permalink)
Member
 
Join Date: Jun 2009
Posts: 4
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Johncase3 View Post
Destination carrier would be Page Plus (Verizon MVNO) $30/year+PPU cost of data. They will activate ANY ESN.
Have you used them before for data services with a Sprint ESN phone?
While reading over their FAQ, it indicated that to leverage data services, the phone would have to come through their system.

From pagepluscellular.com/Support/FAQs.aspx

Q: Do I have to buy a Page Plus phone to use Page Plus service?
A: No, unlike other carriers Page Plus does not force you to use only our equipment. However, to take advantage of advanced data features you will have to purchase authorized Page Plus products.

BTW, their 1500 min/1500 text for $40/mo is a great deal. Their FAQ page doesn't list anything about MIN ports between carriers or porting from them (some prepaids do only ONE WAY PORTS - TO THEM !) I'll have to see what their financials look like so they customers don't suffer the same fate as AMP'd.
mstinson is offline  
Old 06/13/2009, 11:26 PM   #926 (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 mstinson View Post
Have you used them before for data services with a Sprint ESN phone?
I know there are Sprint phones without data on Page Plus. Data, not so much, due to a lack of knowledge about getting Sprint data settings changed. I believe there are a lot of Sprint phones on Cricket. I don't see Page Plus being any more challenging.
Quote:
Originally Posted by mstinson View Post
While reading over their FAQ, it indicated that to leverage data services, the phone would have to come through their system.
That's only because they don't want to provide tech support to DIY'ers. The settings are known and work on various Verizon handsets. I currently use an old Verizon Samsung SCH-i600 because it does QNC data with no mods. QNC data (slow) is free.
Quote:
Originally Posted by mstinson View Post
BTW, their 1500 min/1500 text for $40/mo is a great deal. Their FAQ page doesn't list anything about MIN ports between carriers or porting from them (some prepaids do only ONE WAY PORTS - TO THEM !) I'll have to see what their financials look like so they customers don't suffer the same fate as AMP'd.
No issues porting in or out. They are a small privately owned company that's been around for a very long time. No Peter Adderton flying around in helicopters and throwing lavish parties there.

Last edited by Johncase3; 06/13/2009 at 11:34 PM.
Johncase3 is offline  
Old 06/13/2009, 11:27 PM   #927 (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 huytrang90 View Post
now for those already use the old instruction, will the new instruction help them to change to the new ipk-opt?

I jumped on the bandwagon since the 2nday. love every moment of it, but wanna to make sure I do not break it or lose the ability.
Jump in the #webos-internals IRC channel and ask for help converting. We'll be happy to help early adopters.

Or just use the webOS Doctor to start from scratch ... you know you're gonna want to do that sooner or later anyway

-- Rod
rwhitby is offline  
Old 06/13/2009, 11:28 PM   #928 (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 jhoff80 View Post
Okay, I guess that makes sense, thanks.

Edit: Though that means that a bunch of pages are outdated too. I believe the sftp-access page needs a slightly updated method to get it to work, and it also appears anything that uses the su command instead of sudo does too.
Agreed - any assistance in updating those pages would be very much appreciated.

-- Rod
rwhitby is offline  
Old 06/13/2009, 11:35 PM   #929 (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 rwhitby View Post
Or just use the webOS Doctor to start from scratch ... you know you're gonna want to do that sooner or later anyway
I'd suggest sooner, so that you don't have to worry about installing all of your apps again as that number increases.

Edit: Never mind. The backup includes them.

Last edited by jhoff80; 06/13/2009 at 11:51 PM.
jhoff80 is offline  
Old 06/13/2009, 11:57 PM   #930 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Likes Received: 0
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by pyrognome View Post
ya in putty just type reboot.
Guys, the even faster way to reboot the pre is to find the process id for : LunaSysMgr

By typing:

ps auwx

You will get a big laundry lists of the system processes. Find your /usr/bin/LunaSysMgr ID (In the case below it is 3368)

root 3368 6.8 28.7 193124 70396 ? S<Lsl 21:36 1:07 /usr/bin/LunaSysMgr

And type in...

kill -9 3368

Vioala! Booting in less than half the time and you don't even need to relogin to the phone you can continue to work. There's an even shorter cut I've seen people do but I am not familiar with it off the top of my head for killing a specific app's process id. My linux guru friends would know.

The system automatically restarts the LunaSysMgr on it's own.

Enjoy.

Last edited by simplyflipflops; 06/14/2009 at 12:14 AM.
simplyflipflops is offline  
Old 06/14/2009, 12:12 AM   #931 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Likes Received: 0
Thanks: 0
Thanked 32 Times in 17 Posts
Default

This may sound basic but I couldn't get the novacom command line to work right..

How do I view the Luna/Mojo logs from the shell? I need some debugging insight. I feel like I am inches away from a breakthrough.

Also, has anyone figured out how to call a shell script from within the javascript framework (controllers)? This could be a great way for me to go...
simplyflipflops is offline  
Old 06/14/2009, 12:42 AM   #932 (permalink)
Member
 
Join Date: Jun 2009
Posts: 258
Likes Received: 0
Thanks: 7
Thanked 34 Times in 24 Posts
Default

Quote:
Originally Posted by jhoff80 View Post
I believe the sftp-access page needs a slightly updated method to get it to work, and it also appears anything that uses the su command instead of sudo does too.
Id be glad to update the wiki page for SFTP access if I could get access to it.. I have an account on the Wiki, but it tells me I dont have permission to change anything. And when I tried requesting access, it tells me I already have an account.
RickNY is offline  
Old 06/14/2009, 12:47 AM   #933 (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 RickNY View Post
Id be glad to update the wiki page for SFTP access if I could get access to it.. I have an account on the Wiki, but it tells me I dont have permission to change anything. And when I tried requesting access, it tells me I already have an account.
One thing I noticed that should be updated if you get access to it, is that sed is preinstalled on the Pre.

Edit: Actually, wow, it's much easier now.

sudo /opt/bin/ipkg-opt install openssh-sftp-server

Then in trying to login:

Hostname: [my pre's ip]
port: [my pre's port]
username and password you set

Check 'Advanced Options' and select Environment>SFTP
In the SFTP server box enter: sudo /opt/libexec/sftp-server

Be sure to set "mount -o remount,rw /" to write and "mount -o remount,ro /" when done.

No more modifying dropbear or anything like that appears to be necessary.

Edit2: Hmm, after a reboot, it doesn't appear to be working again. Maybe I do need to still do the sed command.

Last edited by jhoff80; 06/14/2009 at 02:51 AM.
jhoff80 is offline  
Old 06/14/2009, 01:25 AM   #934 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Likes Received: 0
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by simplyflipflops View Post
I would assume to turn on the front screen light would be a similar call except to the temt6200 device.
Ah ha! I see from the wiki that this is the ambient light sensor. Makes perfect sense why I saw it get triggered when the front panel light comes on. It's the same sensor that senses that you have the phone up to your ear to turn the screen off!
simplyflipflops is offline  
Old 06/14/2009, 01:45 AM   #935 (permalink)
Member
 
Join Date: May 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by simplyflipflops View Post
Guys, the even faster way to reboot the pre is to find the process id for : LunaSysMgr

By typing:

ps auwx
...
Pipe the result through grep to find only the entries with LunaSysMgr in them:

ps -aux | grep LunaSysMgr

Then issue the kill command on the PID.

I don't have a pre (contract up next month...), but do use linux, some shells and 'kill's accept the process _name_, not just the process number. (i.e. they'll do the name-to-ID for you)

so...
kill -9 /usr/bin/LunaSysMgr
or
kill -9 LunaSysMgr

Let the forum/wiki know if that works.
TymonFlak is offline  
Old 06/14/2009, 01:53 AM   #936 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Likes Received: 0
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by TymonFlak View Post
Pipe the result through grep to find only the entries with LunaSysMgr in them:

ps -aux | grep LunaSysMgr

Then issue the kill command on the PID.

I don't have a pre (contract up next month...), but do use linux, some shells and 'kill's accept the process _name_, not just the process number. (i.e. they'll do the name-to-ID for you)

so...
kill -9 /usr/bin/LunaSysMgr
or
kill -9 LunaSysMgr

Let the forum/wiki know if that works.
I found it. This works in one line for swift reboot of the Luna Application (Pre Framework) and keeps the OS running underneath....

pkill LunaSysMgr

Now if someone would tell me how to map shell commands to a choice button or function call in the javascript, I would be happy to write a reboot (among other) programs.

Last edited by simplyflipflops; 06/14/2009 at 02:10 AM.
simplyflipflops is offline  
Old 06/14/2009, 02:04 AM   #937 (permalink)
Member
 
Join Date: Oct 2007
Posts: 168
Likes Received: 3
Thanks: 12
Thanked 15 Times in 11 Posts
Default

Quote:
Originally Posted by rwhitby View Post
What's missing is a group of people who can take the raw info from the IRC channel, and turn it into wiki pages that everyone can understand.

You wanna help out?

-- Rod
Dude, I have helped out. I wrote a wiki on how to add and delete pages in the app launcher. It really isn't that hard. All you have to do is figure something out and test it. If it works post it on the wiki. Why is that so hard?
pyrognome is offline  
Old 06/14/2009, 02:19 AM   #938 (permalink)
Member
 
SDash's Avatar
 
Join Date: Jun 2009
Location: US
Posts: 260
Likes Received: 1
Thanks: 21
Thanked 23 Times in 16 Posts
Default

Hey quick question...hopefully.

How is everyone putting files onto the system?
Haven't gotten WinSCP working yet. So I thought I'd try other methods too.

I'm trying to load an image for the global search.
SDash is offline  
Old 06/14/2009, 02:38 AM   #939 (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 SDash View Post
Hey quick question...hopefully.

How is everyone putting files onto the system?
Haven't gotten WinSCP working yet. So I thought I'd try other methods too.

I'm trying to load an image for the global search.
If you used the most recent method to install dropbear (aka set up ipkg-opt and the Optware feeds), you can get sftp working easily now. I'd add it to the Wiki but I'm not approved.

http://forums.precentral.net/web-os-...ml#post1677602

The other option is putting it on via usb mode, and then it'll be in the /media/internal/ folder.
jhoff80 is offline  
Old 06/14/2009, 02:49 AM   #940 (permalink)
Member
 
SDash's Avatar
 
Join Date: Jun 2009
Location: US
Posts: 260
Likes Received: 1
Thanks: 21
Thanked 23 Times in 16 Posts
Default

O_O I didn't notice the list of pages on the wiki page.

Originally I was using an old post's urls for the sftp-server files.

Now I'm on track

EDIT: Got stuck trying the to create dropbearmod from this command

It shows up as -sh: cannot create dropbearmod: Permission denied


Code:
sed 's/\/usr\/libexe/\/opt\/libexe/g' dropbearmulti > dropbearmod

Last edited by SDash; 06/14/2009 at 03:39 AM.
SDash 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