webOS Nation Forums >  Homebrew >  webOS homebrew apps > A Simple How-to Guide for getting homebrew apps onto your Pre !!Outdated!!
A Simple How-to Guide for getting homebrew apps onto your Pre !!Outdated!!

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/06/2009, 09:30 AM   #1 (permalink)
Member
 
sir_mycroft's Avatar
 
Join Date: Dec 2001
Posts: 849
Likes Received: 0
Thanks: 65
Thanked 308 Times in 54 Posts
Default A Simple How-to Guide for getting homebrew apps onto your Pre !!Outdated!!

This post is old. Check this article out for the simplified version!

http://www.precentral.net/how-to-install-homebrew-apps

________________
Old Version Below!


I have put the following how-to guide together to let anyone who wishes to enjoy some of the fine homebrewed applications that are being produced by the members at Precentral. This guide should not be viewed as a way of derailing the efforts of other members to develop a packaged means of delivering applications to stock Pres. I certainly wish to encourage that development. This guide is instead meant to act as stop-gap measure for those who want the great apps being produced, but do not have the desire to root their Pres, and no longer have the option of exploiting the e-mail hole after the 1.0.4 WebOS update. The how-to guide is in plain English, and is extremely simple. You need not be a techie or hacker to get homebrewed applications onto your Pre. If you are able to download a program from the internet and drag and drop a file, you have what it takes to get these great programs up and running on your Pre. If you had the wherewithal to find this thread in Precentral and currently possess a desire to get the applications in the homebrew section, you can do this. You have my word on it.

EDIT: (7/15/09) This guide may have possibly been rendered obsolete by the wiki dev team (it was but a matter of time) which has constructed a tool for installing homebrew apps. It can be found here (thanks go to Xorg):

pre dev wiki: Installing Apps on a Stock Pre

I would try this option first as it is an even simpler solution to installing Homebrew Apps.


Caveat 1: The following how to is only for PC’s running Windows XP EDIT(7/8/09): Vista and Windows 7 (32 and 64-bit) users appear to be having difficulties with the how-to, possible as a result of the security measures within Vista and Windows 7. Forum member Nightburn has a work-around using an XP emulator which can be found in post #182 in this thread. For Mac (and possibly Linux) users TheInvsbleMan has a fix located at post #223. Many thanks to both members.

Caveat 2: I guess I should also say that you should try this at your own risk. I take no responsibility for damage done if it should occur, and read the instructions fully before attempting.


A Simple How-to Guide for getting homebrew apps onto your Pre (after 1.0.4)

STEP ONE: Preparing your computer

In order for you to transfer applications from Precentral to your Pre, you will need to download some software and install it onto your computer.

A. First, download and install Virtual Box, a program that will allow you to run a computerized version of your Pre within a window. You can download it here:

http://www.virtualbox.org

Follow the instructions for downloading via the wizard. Leave the downloaded files in the location where the wizard suggests for simplicity sake.

B. Next, download and install the Mojo SDK, which is Palm’s preliminary developer tool, onto your computer. The Mojo SDK has many things that allow programmers to make applications, but you don’t need know how to do any of that. What you do need to know is that the Mojo SDK will load files onto you Pre (See Step Two below). You can find the Mojo SDK here:

http://www.myunspace.com/?d=76CED4B01

Follow the instructions for downloading. Again, leave the files where the wizard puts them so you can find them easily (see Step Three below).

C. Then, pat yourself on the back, the hard part is now over. Seriously. Once you have the above two programs up and running, you will see a virtual Pre appear on your PC. You can now forget about the programs entirely. You will not need to fool with them again. Furthermore, if you wish to download more apps in the future, you can skip Step One completely.

EDIT(7/7/09): Some intrepid members on this thread have deduced that those who are having problems after following the guide may need to install an additional program, Java, on their computers as well, or need to install its latest updated version. If you too are having problems after completing all the steps, start fresh and as part of Step One install the latest version of Java which can be found here:

http://www.java.com

Download the latest version and follow the on screen instructions.


STEP TWO: Preparing the Pre

Now that your computer is ready, it is time for your Pre. Unlike Step One, this will have to be repeated every time you want to install future homebrew app on your Pre.

A. First, you have to put your Pre into “Developer Mode” which sounds impressive but is really, really simple. This will allow your pre to accept applications via the USB cable. To put your Pre into developer mode all you do is type a Universal Search on the Pre for the following:

upupdowndownleftrightleftrightbastart

If you type it correctly, as soon as you finish the last “t” a “Developer Mode Enabler” icon will float up to greet you. Tap it, turn on developer mode, and you will be prompted to restart your Pre. Do so.

B. Next, plug your USB cable into your computer and your Pre. Select the “Just Charge” mode. If this is your first time doing so, the file, “Novacom” will automatically install on your Pre. Your Pre will be recognized on your PC as a Novacom device.

C. Then, leaving your Pre hooked to you PC once again, restart your Pre. This need only be done the first time. After the initial installation, subsequent restarts after putting your Pre into developer mode and linking to you PC is unnecessary.

STEP THREE: Getting the homebrew apps onto your Pre

This is the fun part. Precentral already has many great new apps cooked up by members ready for you to install, and there are more and more everyday.

A. Find the app or apps you want by going to the following thread:

http://forums.precentral.net/homebrew-apps/

Click on the attached file which will end in .ipk and download it onto your PC somewhere you can find it, like the Desktop. Do not e-mail the link to yourself, you need the actual file. Some apps require you to go to another site to download the link, but it is still the same thing, simply download the app to your PC desktop.

B. Next, you have to find a file that has been installed onto your PC in Step One. The easiest way to do this on WindowsXP is to click through the following folders on your PC:

My Computer
- Program Files
- Palm
- SDK
- bin


Once in the “bin” subfolder you will see a list of files, including the following:

palm-install.bat

This file is key for the last thing you have to do, which is…

C. Drag the .ipk file and drop it into the palm-instll.bat file. That’s it. Really. Once you do that, a command prompt window will open, and a bunch of code will scroll past. The window will then disappear. Viola! The App is now installed onto you Pre. You’re done! It is just that easy.

Except for…

STEP FOUR: Disconnecting everything

EDIT (7/7/09): Once again thanks to the collective genius found on Precentral, my previously unresolved issue under this step is now completely resolved, and Step Four has been thoroughly updated.

Once you have your new homebrew apps working, you will want to safely disconnect your Pre and return it to its original state.

A. First, to disconnect your Pre, you cannot use the “Safely Remove Hardware” option on the task bar, at least not yet, because you will receive an error message that your “Novacom Device” is being accessed by another program. Not to worry, though, as all you need do is end the service by doing the following on your PC:

Click START
- Run
Type “Services.msc” and hit enter


At this point a large list of programs will appear. Scroll through until you find the following:

Palm Novacom

Now simply right-click on the above file and stop the process. You can now safely remove the “Novacom Device” by clicking on the “Safely Remove Hardware” button on your task bar, and disconnect your Pre from your computer. You will want to restart the Palm Novacom process by right-clicking it again, so that you can install new homebrew apps in the future.

B. Finally, return you Pre to its original state by taking it out of developer mode. To do that, once again do a universal search on your Pre for the following:

upupdowndownleftrightleftrightbastart

Then turn off developer mode on the enabler, and restart you Pre as necessary. Some members on this thread have said disabling developer mode is not needed, and have apparently left their Pres in a permanent state of development, so to speak. Frankly, the only down side to keeping it in developer mode that I see is you may leave your device open for files to be unintentionally loaded onto your Pre. While this is only a very slight risk, I still recommend turning off developer mode so you can rest easier with the entire process of loading apps.

So, NOW, that’s it! Enjoy your new homebrew applications!

Special thanks go to everyone’s work on the Homebrew thread where I gleaned all this information. And CONTINUE to receive voluminous feedback. I am sorry I can not name you all individually, but your collective work should definitely be rewarded sometime down the line.
__________________
VisorPhone Clone
(Please do not thank me - I find it scary)

Last edited by Darth Pooh; 08/09/2009 at 12:44 PM. Reason: Guide possibly rendered obsolete
sir_mycroft is offline   Reply With Quote
Thanked by -Drifter-, ABBlockhead, ac2b, AdidasNYR, Agent146, akarol, aks, algee650, andddlay, ap78k, areyes163, Arodmx, Aviator, azuelke, bdhu2001, bigredgpk, BillP3393, bkcrown, Blackdog10189, Blitzin, bluesforsalvador, brain26, BrewCity, brian304, brotato, bshachter, bspray, buckdw, Bujin, bull8042, byrde, Cactusone, Captain Awesome, catallah, ccs86, cderekg72, chaspalm, chevyg, ChevyGuy454, Chez83, chezbi, chuccck, CletusAZ, CODKill, Colonel Kernel, coveredwagonkid, dacsoft, dajlol77, davbaugh, dcigary, DD007, derrickonline, Disgustoid, DrNoah, dtokarz, DuStU, DUTO, Edge767, egreenwood1, ekesqueaky, Finally Pre, FLY_N_NE_WEATHR, foamcoretrash, froggersloth, gbp, geogray, giobatera, gjlowe, GreenHex, groovy, gtr_rider, gus7571, halmo20, HechoEnCalifas, Hellnation, Hoopster21, htowncls, Huncher, huricane_33, huskrfj, i700plus, ilikegoatcheese, IlyaK, ImNoPrince, imthatguy704, Intlstyle, j.wolfe77, JackG058, jamesonrw, jameswerk, janto50, jap00_34, javo0112, jdale, jedisrus, Jersey Girl, jhebert121, Jizz0, jkb2618, jon96321, jpostel, jrod1387, jschramm97, justjill3, jwdv22, kennstar, keoommen, keri2000, Kim_666, kjb, kkacatin, kmehr, Knee Dragger, kohn, kschroppe, laffen13, lbuddyokc, lcaro, le_seus, limoman, liv2surf, loko160, Lordxloki, lorencantore, m3grady2, maddball, Mahootzki, Mannyman, manuelsoto2007, marisdaman, mattybear, mauro1, Maximo_, MAX_POWERS, McCarthy, mcnutty, mcpreos2009, Mesha718holla, mhgraves, Milominderbinder, mimiholl, mkatb, moody, MrDeeds, mrloserpunk, ms2474, msumike, Navigata1, Nightburn, nmoreman, nyrath, oddlou, OpenBGP, osbornbr, OSU0034, P2Labs, PalmKing, palp1138, paulcycle, pdub4ever, Penal.discharge, Phantasmn, Phillykef, poopsie, postpre, pre.noob, Predator-1, preone, psm9, punisherdude06, raeb, ragazzopigro, RB26, Rhody, Rkolodz1, robbskittles, rogerlsturgiss, rotorrocket, RoyFripple, sanmanc, sensai28, Shadowhawk, shapeshiftsix, showson1, SideArm1911, slyder33, snrfn93, sorcia, starflyer3000, stillgale, suavesito, SuprHero, synplex, Syphon, Tavisjohn, tertsons, TFlo, thedlr, thepinksock, Thetaman, tim.gier, TMed_ATL, TWC_SouthPhilly, ucsbleo, urabcsr, Veritas06, Visualfx, Viva la Prevolution, Vjeszczi, Vyruz Reaper, Waerloga, wantafastz28, Wiesman2613, wrek416, xberserker, xTKxhom3r, Young HoV 718, zazzman, zeo2k, zeravla531, ZoogieZork
Old 07/06/2009, 09:38 AM   #2 (permalink)
Member
 
Join Date: Sep 2007
Posts: 337
Likes Received: 0
Thanks: 4
Thanked 53 Times in 31 Posts
Default

Or i have found that getting the source and putting it in /var/usr/palm/applications and restarting Luna works also
atlanta is offline   Reply With Quote
Thanked by jwdv22, Mazinger Z
Old 07/06/2009, 09:40 AM   #3 (permalink)
Member
 
TMed_ATL's Avatar
 
Join Date: May 2009
Location: ATL/ Athens, GA
Posts: 413
Likes Received: 0
Thanks: 61
Thanked 27 Times in 24 Posts
Default

Very nice could have used this the other day. I did figure out how to do it from your post on the 2nd page of pinging the collective thread, Im going to remove my thanks from there and put it here. Thanks for taking your time and posting this for the people that still need it!!
__________________
SCK Manager
TMed_ATL is offline   Reply With Quote
Old 07/06/2009, 09:42 AM   #4 (permalink)
Member
 
Join Date: Jun 2009
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 2 Times in 1 Post
Default

Thanks for this great guide ! This will come in handy for all the new-comers and noobs (me) alike.
T0mm4 is offline   Reply With Quote
Thanked by lbuddyokc, syang870
Old 07/06/2009, 09:46 AM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

Do you really need to take your phone out of Developer Mode after you install a program? Are there any adverse side effects to leaving it on Developer Mode?
abiezerf is offline   Reply With Quote
Old 07/06/2009, 09:56 AM   #6 (permalink)
Member
 
sir_mycroft's Avatar
 
Join Date: Dec 2001
Posts: 849
Likes Received: 0
Thanks: 65
Thanked 308 Times in 54 Posts
Default

Quote:
Originally Posted by abiezerf View Post
Do you really need to take your phone out of Developer Mode after you install a program? Are there any adverse side effects to leaving it on Developer Mode?
Good question, and I do not know the answer. I think, though, you may have issues charging your phone via USB if it still in developer mode. Hopefully someone with more knowlege on the subject can give you a better reply.
__________________
VisorPhone Clone
(Please do not thank me - I find it scary)
sir_mycroft is offline   Reply With Quote
Old 07/06/2009, 09:59 AM   #7 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

I'm charging my phone now through Dev Mode, no problems whatsoever.
abiezerf is offline   Reply With Quote
Old 07/06/2009, 10:16 AM   #8 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
Default

I think the only downsides to developer mode are theoretical and one practical.

Developer mode does a few things, including opening ports that are otherwise closed and running the Nova Com client on the Pre.

The first may or may not be exploitable for gaining access to your phone. The second doesn't matter if you only connect with your computer that has the driver loaded. However, if you try to connect to other computers to use the USB drive feature of the Pre, that OS will attempt to load drivers for the Linux NovaCom device it sees before you select USB mode. This is a minor annoyance.
sacherjj is offline   Reply With Quote
Old 07/06/2009, 10:21 AM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

Eh, not that bad, for now I will leave it on unless I see any side effects; makes the loading apps more efficient than having to restart each time.
abiezerf is offline   Reply With Quote
Old 07/06/2009, 10:45 AM   #10 (permalink)
Member
 
Join Date: Jun 2009
Posts: 157
Likes Received: 0
Thanks: 1
Thanked 27 Times in 12 Posts
Default

i have simply made visible the Dev mode icon.
it is located here; (for those that can root their Pre)

/usr/palm/applications/com.palm.app.devmodeswitcher/appinfo.json

Change the line that says "visible": false to "visible": true

then i can turn it off and on without the Konami code.
s4mb4 is offline   Reply With Quote
Old 07/06/2009, 10:49 AM   #11 (permalink)
Member
 
DNic's Avatar
 
Join Date: Jun 2009
Posts: 599
Likes Received: 0
Thanks: 174
Thanked 44 Times in 34 Posts
Default

I've had it in Dev Mode ever since I turned it on when it was discovered. Haven't noticed any issues. Also added the Dev icon.

Great guide btw!
DNic is offline   Reply With Quote
Old 07/06/2009, 10:49 AM   #12 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

Well the Konami code is not the problem, its the restarting... two minutes of pain.
abiezerf is offline   Reply With Quote
Old 07/06/2009, 11:10 AM   #13 (permalink)
Member
 
morningisbad's Avatar
 
Join Date: Nov 2007
Location: La Crosse, WI
Posts: 126
Likes Received: 0
Thanks: 40
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by atlanta View Post
Or i have found that getting the source and putting it in /var/usr/palm/applications and restarting Luna works also
has anyone confirmed this?
morningisbad is offline   Reply With Quote
Old 07/06/2009, 11:18 AM   #14 (permalink)
Member
 
Join Date: Sep 2007
Posts: 337
Likes Received: 0
Thanks: 4
Thanked 53 Times in 31 Posts
Default

Try it make sure you copy the whole folder with the com. name and everything
then do
Stop LunaSysMgr
then
Start LunaSysMgr

Installing the SDK etc is not needed. .

::EDIT:: Updated the command its LunaSysMgr not SysMgrLuna

Last edited by atlanta; 07/06/2009 at 05:17 PM.
atlanta is offline   Reply With Quote
Old 07/06/2009, 11:20 AM   #15 (permalink)
Member
 
Join Date: Jun 2009
Posts: 244
Likes Received: 0
Thanks: 11
Thanked 8 Times in 8 Posts
Default Mac version anyone?

kinda a noob here, need a mac version
chefjabril11 is offline   Reply With Quote
Old 07/06/2009, 11:21 AM   #16 (permalink)
Member
 
Veritas06's Avatar
 
Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
Default

Thanks for the great post =]. I've been looking for a good tutorial on how to use the SDK to install apps post 1.0.4

~Thanks again!
Veritas06 is offline   Reply With Quote
Old 07/06/2009, 11:33 AM   #17 (permalink)
Member
 
Join Date: Jun 2009
Posts: 157
Likes Received: 0
Thanks: 1
Thanked 27 Times in 12 Posts
Default

Quote:
Originally Posted by atlanta View Post
Or i have found that getting the source and putting it in /var/usr/palm/applications and restarting Luna works also
please porvide more details...
do you mean untarring a dev tarball into /var/usr/palm/applications OR just scp'ing the directory structure into /var/usr/palm/applications?

thanks
s4mb4 is offline   Reply With Quote
Old 07/06/2009, 11:33 AM   #18 (permalink)
Member
 
Join Date: Jun 2009
Posts: 157
Likes Received: 0
Thanks: 1
Thanked 27 Times in 12 Posts
Default

Quote:
Originally Posted by atlanta View Post
Try it make sure you copy the whole folder with the com. name and everything
then do
Stop SysMgrLuna
then
Start SysMgrLuna

Installing the SDK etc is not needed. .
are you using scp?
s4mb4 is offline   Reply With Quote
Old 07/06/2009, 11:34 AM   #19 (permalink)
Member
 
Join Date: Jun 2009
Posts: 41
Likes Received: 0
Thanks: 1
Thanked 8 Times in 7 Posts
Default

I'm running linux so I can't test this, but can you kill the process or stop a service on your pc to allow the safe removal?

Also, has anyone used wget on the pre? It allows you to download any file from the web straight to the phone, no additional ftp app needed. I was wondering if it could be in conjunction with the install.bat to install straight from the web...

Last edited by Guish; 07/06/2009 at 11:43 AM.
Guish is offline   Reply With Quote
Old 07/06/2009, 11:37 AM   #20 (permalink)
Member
 
Join Date: Jun 2009
Posts: 157
Likes Received: 0
Thanks: 1
Thanked 27 Times in 12 Posts
Default

Quote:
Originally Posted by Guish View Post
I'm running linux so I can't test this, but can you kill the process or stop a service on your pc to allow the safe removal?

Also, has anyone used wget on the pre? It allows you to download any file from the web straight to the phone, no additional ftp app needed. I was wondering if it could be in conjunction with the install.bat to install straight for the web...
yes, wget works great. i have tested it with the links on the forums where the ipk's are served from. the trouble is that the ipk's are not installable with the ipkg installer.
s4mb4 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-homebrew-apps/191008-simple-how-guide-getting-homebrew-apps-onto-your-pre-outdated.html
Posted By For Type Date
Forums webOS • View topic - ROM tools download This thread Refback 07/16/2009 06:20 PM
developer.palm.com • View topic - ROM tools download This thread Refback 07/16/2009 01:45 PM
How to install Homebrew apps on the Palm Pre after 1.0.4 update | Palm WebOS This thread Refback 07/16/2009 12:00 AM
Homebrew apps without hacking if you want to try this... - webOS Software - Palm Support Community This thread Refback 07/15/2009 01:18 AM
Pre | Palm Arena This thread Refback 07/14/2009 02:45 PM
baw - Re: Where are the apps.. - Palm Pre General Discussion - Buzz About Wireless Forum This thread Refback 07/14/2009 11:26 AM
Palm WebOS Blog's Notes | Facebook This thread Refback 07/14/2009 08:37 AM
Tutorials | Palm Arena This thread Refback 07/13/2009 07:28 PM
sixshooterz's Bookmarks on Delicious This thread Refback 07/13/2009 07:18 PM
Palm Pre Homebrew: 31 Apps. Official App Catalog: 30 | PalmPrePeople.com This thread Refback 07/13/2009 05:10 PM
Palm Pre Homebrew: 31 Apps. Official App Catalog: 30 This thread Refback 07/13/2009 03:34 PM
Active Home Screen for Palm Pre This thread Refback 07/12/2009 03:32 PM
Pre | Palm Arena This thread Refback 07/11/2009 08:19 PM
Homebrew Apps Grow in Number… More Than Official Apps | PalmTwit Best source of Palm Pre news This thread Refback 07/11/2009 08:08 PM
News | Premazing.com This thread Refback 07/11/2009 02:37 PM
Palm WebOS Blog's Notes | Facebook This thread Refback 07/10/2009 11:18 PM
Homebrew Apps Grow in Number… More Than Official Apps | Palm webOS Blog This thread Refback 07/10/2009 08:27 PM
Premazing.com - Palm Pre News. Your best source of Palm Pre News, Wallpapers, Reviews, and Apps This thread Refback 07/10/2009 05:44 PM
myPalm.pl This thread Refback 07/10/2009 04:27 PM
Hacks | Palm Arena This thread Refback 07/09/2009 06:21 PM
TUTORIAL: How to install Homebrew apps without rooting your Pre post 1.0.4 webOS update | Palm Arena This thread Refback 07/09/2009 12:09 PM
pre dev wiki: Installing Homebrew Apps Without Rooting A Pre This thread Refback 07/09/2009 12:31 AM
germboy's homebrew Bookmarks on Delicious This thread Refback 07/08/2009 07:31 PM
baw - Where are the apps.. - Palm Pre General Discussion - Buzz About Wireless Forum This thread Refback 07/07/2009 03:10 PM
How to install Homebrew apps on the Palm Pre after 1.0.4 update | Palm WebOS This thread Refback 07/07/2009 08:50 AM
pre dev wiki: Installing Homebrew Apps With A Rooted Pre This thread Refback 07/07/2009 01:18 AM
baw - Where are the apps.. - Palm Pre General Discussion - Buzz About Wireless Forum This thread Refback 07/06/2009 07:42 PM
pre dev wiki: Installing Homebrew Apps on Stock Pre without Rooting This thread Refback 07/06/2009 03:40 PM
baw - Dev Report: Why your Pre is better than every other phone - Palm Pre General Discussion - Buzz About Wireless Forum This thread Refback 07/06/2009 02:02 PM


 


Content Relevant URLs by vBSEO 3.6.0