Go Back   PreCentral Forums > webOS Software and Chat > web OS Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06/19/2009, 04:08 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Location: kansas city, mo
Posts: 566
Thanks: 79
Thanked 275 Times in 128 Posts
Default Installing homebrew apps w/out rooting

Update: We have succeeded.

Here is a proof of concept example...

http://www.precentral.net/right-now-...l-homebrew-app

Here are instructions for developers to create installation packages..

pre dev wiki: Installing Homebrew Apps on Stock Pre without Rooting - SUCCESS!

Post questions in this Pre Central thread if you need help creating your own packages.



Here is the original post....
Quote:
I've been trying to figure out a way to install a homegrown app on a Pre that has not been rooted (while we wait for the SDK to be released). I've been searching the the app installer code to see if there is another way to load other than through the App Catalog.

Ideas…
- I was hoping to find something that checks a folder on /media/internal but haven't found anything.

- If we can figure out how the app is packaged (tarballed or whatever) from the App Catalog, maybe there is a resource tag to autolaunch the installer when opening. This might allow sending the packaged app to yourself in email and opening from there.

Would like to brainstorm with others. There are no bad ideas. Throw out ideas on where to look and what to look for.

Places To Investigate

grep for 'install'…
/usr/palm/applications/com.palm.app.findapps

Launch apps based on extension..
/usr/palm/command-resource-handlers.json


I've started a devwiki on this...
pre dev wiki: Installing Apps without Rooting

Last edited by xorg; 06/25/2009 at 12:52 PM.
xorg is online now   Reply With Quote
Old 06/19/2009, 07:10 PM   #2 (permalink)
Member
 
Join Date: Oct 2006
Posts: 60
Thanks: 6
Thanked 10 Times in 8 Posts
Default

that would be great for those of us that are unable or don't know how. such as with "jailbreak" ease
darmood is offline   Reply With Quote
Old 06/19/2009, 08:55 PM   #3 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by xorg View Post
I've been trying to figure out a way to install a homegrown app on a Pre that has not been rooted (while we wait for the SDK is released). I've been searching the the app installer code to see if there is another way to load other than through the App Catalog.

Ideas…
- I was hoping to find something that checks a folder on /media/internal but haven't found anything.

- If we can figure out how the app is packaged (tarballed or whatever) from the App Catalog, maybe there is a resource tag to autolaunch the installer when opening. This might allow sending the packaged app to yourself in email and opening from there.

Would like to brainstorm with others. There are no bad ideas. Throw out ideas on where to look and what to look for.

Places To Investigate

grep for 'install'…
/usr/palm/applications/com.palm.app.findapps

Launch apps based on extension..
/usr/palm/command-resource-handlers.json


I've started a devwiki on this...
pre dev wiki: Installing Apps without Rooting
Xorg:

Saw your wiki post about installing applications and I can't send you a Private message until my post count is above 15. Lame. Hit me up and I'll give you my brain dump.
simplyflipflops is offline   Reply With Quote
Old 06/20/2009, 01:15 AM   #4 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

I have it working! More details to follow when I have facts to share.
simplyflipflops is offline   Reply With Quote
Thanked By 2:
Old 06/20/2009, 01:55 AM   #5 (permalink)
Member
 
Join Date: Aug 2005
Posts: 292
Thanks: 12
Thanked 23 Times in 14 Posts
Default

Quote:
Originally Posted by simplyflipflops View Post
I have it working! More details to follow when I have facts to share.

nice post your Brain poop here too if you don't update wiki!
antonio3 is offline   Reply With Quote
Old 06/20/2009, 02:52 AM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by antonio3 View Post
nice post your Brain poop here too if you don't update wiki!
Still testing... what I can say is that all palm applications are now being signed with an SHA1 key (which they were not before) and a public key that was not happening before. And they are Debian (IPK) packages. I'm testing whether or not my local mods allow the install or whether it's native with an off the shelf pre.

Assuming you don't have speed brain installed already, do me a favor and try and goto this URL in your pre's browser to help test.

http://cdn.downloads.palm.com/apps/3...all_signed.ipk

If speed brain shows up in your launcher apps (wait a minute) I will know whether or not it's the other modifications I have done to my pre.

If the signature is unimportant anyone who can make a debian (IPK) package should be able to share it via browser to anyone with a pre.

More details as I find them.
simplyflipflops is offline   Reply With Quote
Thanked By 3:
Old 06/20/2009, 03:06 AM   #7 (permalink)
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 14
Thanked 2 Times in 2 Posts
Default

I tried clicking on the link from my pre and it just kept opening empty cards.
I tried typing in the entire url and it had the same effect. The second time I caught up to it and stopped it with a couple quick gestures after the 12th card was opened.
jf1081 is offline   Reply With Quote
Old 06/20/2009, 03:08 AM   #8 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by jf1081 View Post
I tried clicking on the link from my pre and it just kept opening empty cards.
I tried typing in the entire url and it had the same effect. The second time I caught up to it and stopped it with a couple quick gestures after the 12th card was opened.
Did you check your launcher's first page afterwards for "speed brain"? Good insight if you tell me whether it exists. Let's me know if my other mods worked.
simplyflipflops is offline   Reply With Quote
Old 06/20/2009, 03:11 AM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 14
Thanked 2 Times in 2 Posts
Default

It is neither in my launcher pages nor does it appear when I list apps from the launcher menu.
But keep working at it. People like me do not know how to root a pre and I've heard I can't even try with Win7
jf1081 is offline   Reply With Quote
Old 06/20/2009, 03:12 AM   #10 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by jf1081 View Post
It is neither in my launcher pages nor does it appear when I list apps from the launcher menu.
But keep working at it. People like me do not know how to root a pre and I've heard I can't even try with Win7
I need feedback from a rooted pre right now.. I got the same feedback from a buddy with a non rooted pre about 10 minutes ago.
simplyflipflops is offline   Reply With Quote
Old 06/20/2009, 03:12 AM   #11 (permalink)
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 11
Thanked 3 Times in 2 Posts
Default

Same result as jf - and no speedbrain afterwords. I'll be amaized/thrilled if you can figure this out.
atourgates is offline   Reply With Quote
Old 06/20/2009, 03:13 AM   #12 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Quote:
Originally Posted by atourgates View Post
Same result as jf - and no speedbrain afterwords. I'll be amaized/thrilled if you can figure this out.
Apparently it's the mods I've done in my email application...

Will share the code if someone will test.
simplyflipflops is offline   Reply With Quote
Old 06/20/2009, 03:16 AM   #13 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

EDIT: THIS IS NOT NEEDED.

Quote:
Originally Posted by simplyflipflops View Post
Apparently it's the mods I've done in my email application...

Will share the code if someone will test.
Modify the /usr/palm/command-resource-handlers.json

and add the following line somewhere in the mix...

{ "extn":"ipk", "mime":"application/x-debian-package", "appId":"com.palm.findapps", "streamable":false , },


reboot and retry...

http://cdn.downloads.palm.com/apps/3...all_signed.ipk

Last edited by simplyflipflops; 06/20/2009 at 03:24 PM.
simplyflipflops is offline   Reply With Quote
Old 06/20/2009, 09:48 AM   #14 (permalink)
Member
 
Join Date: Jun 2009
Location: kansas city, mo
Posts: 566
Thanks: 79
Thanked 275 Times in 128 Posts
Default

Great start. I was on the ipkg track as well. The challenge though is to install the ipkg without making root mods to an unrooted Pre. We won't be able to touch the resource handler file, unless you've figured something else out?
xorg is online now   Reply With Quote
Old 06/20/2009, 10:15 AM   #15 (permalink)
Member
 
Join Date: Jun 2009
Location: kansas city, mo
Posts: 566
Thanks: 79
Thanked 275 Times in 128 Posts
Default

Your resource handler entry isn't quite right. Shouldn't it be...

{ "extn":"ipk", "mime":"application/x-debian-package", "appId":"com.palm.app.findapps", "streamable":false },

Though we need to find a way to do this without editing internals.

Last edited by xorg; 06/22/2009 at 10:38 AM.
xorg is online now   Reply With Quote
Old 06/20/2009, 01:05 PM   #16 (permalink)
Member
 
Join Date: Jun 2009
Posts: 82
Thanks: 0
Thanked 32 Times in 17 Posts
Default

Mine is working from email not the browser. Try emailing yourself that link and opening it in an email (it shouldn't go anywhere or open a new card). I have to click it a few times until it turns grey and highlighted and wait about 20 seconds and then the app shows up in my launcher.

Be sure you copy the entire link because the forum truncates this link:

http://cdn.downloads.palm.com/apps/3...all_signed.ipk

That will tell me if it's the mods in the email app I've made or if this is possible with unmodified code. If it's the mods I've done to my email app, I will share those but it's better to test unmodified first.

Last edited by simplyflipflops; 06/20/2009 at 01:12 PM.
simplyflipflops is offline   Reply With Quote
Thanked By 2:
Old 06/20/2009, 03:02 PM   #17 (permalink)
Member
 
jp22382's Avatar
 
Join Date: May 2009
Location: Seattle
Posts: 221
Thanks: 107
Thanked 158 Times in 26 Posts
Default

Quote:
Originally Posted by simplyflipflops View Post
Mine is working from email not the browser. Try emailing yourself that link and opening it in an email (it shouldn't go anywhere or open a new card). I have to click it a few times until it turns grey and highlighted and wait about 20 seconds and then the app shows up in my launcher.

Be sure you copy the entire link because the forum truncates this link:

http://cdn.downloads.palm.com/apps/3...all_signed.ipk

That will tell me if it's the mods in the email app I've made or if this is possible with unmodified code. If it's the mods I've done to my email app, I will share those but it's better to test unmodified first.
EDIT: working on a non-rooted pre! Great job!
jp22382 is offline   Reply With Quote
Old 06/20/2009, 03:02 PM   #18 (permalink)
Member
 
Join Date: Jan 2009
Location: Philadelphia
Posts: 67
Thanks: 5
Thanked 6 Times in 6 Posts
Default

tried it with a rooted pre, no mods - it works great ... just click the link in the email, wait a few seconds, and I have the app!
Khidr is offline   Reply With Quote
Old 06/20/2009, 03:03 PM   #19 (permalink)
Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 8
Thanked 1 Time in 1 Post
Default

Holy crap...it just worked for me. I emailed myself the link and clicked on it. It didn't appear to do anything at first, but it then showed up in the launcher. My pre is NOT rooted.
Bales is offline   Reply With Quote
Thanked By:
Old 06/20/2009, 03:12 PM   #20 (permalink)
Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 14
Thanked 2 Times in 2 Posts
Default It worked

I have done nothing to my phone except install the 1.0.3 update yesterday and it works.
The first time I tried to do this with email I overcomplicated it by downloading the file to my computer and sending to my phone as an attachment in the email. That will not work.

Then, I copied the full link and emailed it to myself and when I clicked on it the phone did nothing for about a minute. Then I looked at my launcher again and Speed Brain was there.

Does this mean I can write an app, share it on my network through IIS on a Windows Pro machine and then email myself a link to it?
jf1081 is offline   Reply With Quote
Thanked By:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:17 PM.

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 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0