|
|
06/29/2009, 04:59 PM
|
#1 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
Update: We have a method working thanks to greg roll. This method is much easier than all of the initial installation steps for the SDK method.
Here are detailed instructions... http://www.webos-internals.org/wiki/...talling_An_Ipk See post for other methods that could still be pursued. Original initiative posted... Quote:
Last edited by xorg; 07/23/2009 at 09:43 AM. |
|
06/29/2009, 05:13 PM
|
#2 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 28
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
As i posted in the old homebrew thread, with a rooted pre you can...
Simply, use ar to extract the ipk - then extract the data.tar.gz, cd into the usr/palm/applications dir, then using your rooted pre with ssh and sftp, copy recursively the (in the case of the translator app) de.umass.translate directory to your pre's /usr/palm/applications directory.
|
06/29/2009, 05:18 PM
|
#3 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Everett, WA
Posts: 441
Likes Received: 0
Thanks: 63
Thanked 48 Times in 41 Posts
|
Quote:
|
|
06/29/2009, 05:18 PM
|
#4 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
Yes, the goal is do this on non-rooted Pre and without the SDK. The purpose is to allow homebrewers distribute apps for a stock Pre with no mods.
|
06/29/2009, 05:25 PM
|
#7 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Silicon Valley, California
Posts: 1,025
Likes Received: 0
Thanks: 37
Thanked 444 Times in 161 Posts
|
Regardless of how easy you think it is, the vast majority of users won't root their Pres. I have heard that it will void your warranty although I am not sure that it's true.
Heck, I am a software developer and I haven't rooted mine and don't plan to do so. I am happy to use the palm-install from the SDK. |
06/29/2009, 05:35 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Everett, WA
Posts: 441
Likes Received: 0
Thanks: 63
Thanked 48 Times in 41 Posts
|
Another reason for not rooting would be a developer who wants to sell an application that for what ever reason Palm will not put in the app store. They should have a easy way of distributing the application.
I feel that the most secure way of offering the loading of software would be USB. Another thought would be possibly a USB one time load of an application that in itself would be Homebrew Catalog that would allow you to download from a catalog via wireless. The downside to that method would be having to maintain a public software repository. It wouldn't have to host the software but rather it would be a link essentially that would transfer it from the developers hosting. Maybe the application could be configurable for 'Sources' Either way, you have to find a way to get any application on to the device. |
06/29/2009, 05:37 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 534
Likes Received: 0
Thanks: 18
Thanked 16 Times in 11 Posts
|
i was just grep'ing around and found ApplicationPath=* in /etc/palm/
has anyone tried changing that to something within /media/internal/ ? I'm working right now or i'd give it a shot |
06/29/2009, 05:44 PM
|
#10 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
^Yes, I've done that (dsevil posted about it) but obviously the Pre must be rooted to add the additional path. The goal is to find something in the existing OS that we can utilize.
|
06/29/2009, 05:49 PM
|
#12 (permalink) |
|
Member
![]() Join Date: Oct 2007
Posts: 534
Likes Received: 0
Thanks: 18
Thanked 16 Times in 11 Posts
|
has anyone who's done this browser download hack tried downloading a signed ipk? what are the results of that? i wonder if once palm implements browser downloads we might be able to "side load" them like that..
|
06/29/2009, 05:54 PM
|
#13 (permalink) |
|
Member
![]() ![]() Join Date: Apr 2009
Posts: 119
Likes Received: 0
Thanks: 10
Thanked 19 Times in 12 Posts
|
Why not just make a user friendly front end to browse a folder for packages, then envoke the 'palm-install -d usb [DIR]' command, to push an unsigned app to the phone that is in dev mode?
Of course the end user would have to be responsible for getting the palm SDK/palm-install. Just an idea... It's easier than rooting the phone, and can't really be shut off by Palm as it's how developers use the phone to test applications. Hell, I might write an application like that, because it's easier than using the CL to package/install. It's also slightly a pain that Eclipse will generate a project and the structure, but not a new scene. typing 'palm-generate -f new_scene -d "name=HELL" ./again' over and Over and OVER. I'm just ranting now. EDIT: Ahh, you said with out the SDK, so you're gonna need to find out what exactly palm-install does, and how to mimic it. |
06/29/2009, 06:50 PM
|
#15 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
|
The install method from the SDK uses Java programs to handle the process. Unless code was written to perform the same function, or Palm gave their blessing for distributing a palm_install SDK-lite, this would not be a possible route. This also has the problems of average users getting into Dev mode and then remembering to get back out.
I guess capturing the USB exchange might give some details as to the low level actions of a NovaCom install process. |
06/29/2009, 07:00 PM
|
#16 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Germany
Posts: 122
Likes Received: 0
Thanks: 13
Thanked 395 Times in 32 Posts
|
how do you put a phone in dev mode?
edit: found it: "upupdowndownleftrightleftrightbastar" so you can't do that remotely (say from an app on your pc) and the palm-install routine won't work unless the phone is in dev mode, as far as I understood. So it would be no problem to write an app that does the same what palm-install does, but it's useless for anyone who isn't eager to switch to this dev mode and back again... Last edited by roar; 06/29/2009 at 07:12 PM. |
06/29/2009, 07:31 PM
|
#17 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
|
Correct. Plus you have the added problem of Dev mode opening up a bunch of ports which can cause issues. This could open up security risks if the users don't disable dev mode, which doesn't automagically happen with a reboot.
|
06/29/2009, 08:17 PM
|
#18 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 14
Likes Received: 0
Thanks: 1
Thanked 2 Times in 2 Posts
|
Anyone looked at the DocView app? any possible methods of making a call? how about PDF View? any Java support from within there? I'm going to start digging myself, after I finish checking everything out after the 1.0.4 upgrade.
|
06/30/2009, 07:31 AM
|
#19 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
^Good idea, something to check into.
I'm looking more into spoofing a download. Simplifying the SDK method might be the shortest path if someone could look more into that. Sounds like it would require the nova drivers as well though for Dev mode. Could grep system for konami code and trace path from there to get some ideas. How to search entire system for a string... find / -type f -exec grep -l "upupdowndown" {} \; |
06/30/2009, 08:18 AM
|
#20 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: kansas city, mo
Posts: 633
Likes Received: 0
Thanks: 85
Thanked 303 Times in 146 Posts
|
Am hoping to have a method more consumer friendly than the SDK method but let's talk about minimum requirements to go down that path (as noremorse suggested) and simplify it...
- need to punch in konami code, enable Dev mode and reboot - need novacom drivers - need similar install.bat method Any other minimum requirements? If we create a gui-based install program for windows/mac that includes the drivers and performs same function of the palm_install bat, this could simplify app installation for users instead of having to load and setup the SDK. Bypassing the nova drivers would be even better if possible. This could be a path of least resistance for a consumer friendly method until coming up with a better method that needs no mods on a stock Pre. Last edited by xorg; 06/30/2009 at 01:03 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



