Changes between Version 4 and Version 5 of PalmPreInstall


Ignore:
Timestamp:
01/13/11 01:27:36 (4 years ago)
Author:
GarthPS
Comment:

First time off a first real guide

Legend:

Unmodified
Added
Removed
Modified
  • PalmPreInstall

    v4 v5  
    1 = Installation and Usage of SHR on the Palm Pre = 
     1= Disclaimer (WebOSInternals' credit) = 
    22 
    3 == What to expect == 
     3Enacting any set of instructions from this site has the (remote, but greater than zero) potential to void your warranty. Our intention and the specific design of all instructions is such that you should be able to recover using the webOS Doctor should anything go wrong, and put your device back to a state which is indistinguishable from a factory-new device, but we give no guarantee. Use any information from this site at your own risk. At the very least, you should be prepared to lose all data on your phone at any time. We cannot tell you what you should do - we provide the information, but it's up to your own sense of personal responsibility to determine what you do with that information. We require you to use the webOS Doctor to put your device back to factory condition before contacting Palm or your cellular carrier for service or support.  
    44 
    5 This howto will help you how to install a recent SHR image on the Palm Pre device. This don't take care about the webOS which can be installed in parallel! So don't expect a usable phone after you installed SHR! Even there is currently no working multi-boot solution. 
     5== Installation and Usage of SHR on the Palm Pre == 
     6 
     7=== What to expect === 
     8 
     9This howto will help you how to install a recent SHR image on the Palm Pre/Pre2 device. 
     10We try to not lose your data from WebOS which can be installed in parallel, but don't be surprised if not! Don't expect a usable phone after you installed SHR too! 
     11Even there is currently no working multi-boot solution.(That will change quickly!) 
     12You have been warned. 
     13That said, currently the installation is quite safe. Your device is backed up before doing anything, so you should be able to restore your data later. 
     14 
    615 
    716== Installation == 
     
    918=== Needed things === 
    1019 
    11  * fso-installer ( a Makefile :http://git.freesmartphone.org/?p=utilities.git;a=blob_plain;f=palmpre/fso-installer/Makefile;hb=HEAD ) 
    12  * novacom (developer.palm.com) 
    13  * webos doctor (see webos-internals wiki) 
    14  * kernel and image (here: to come) 
     20 * a computer under a linux distro 
     21 * an internet connection 
     22 * your device and its usb cable 
     23 * a new directory to do all our stuf :) 
     24 * the webos doctor corresponding to your device (see [http://www.webos-internals.org/wiki/Webos_Doctor_Versions WebOS Internals' wiki]) 
     25 * novacom, [http://developer.palm.com/index.php?option=com_content&view=article&layout=page&id=1585&Itemid=55 and just novacom!]  Install it of course! (<= This for the pre only. For the pre2 they have not yet published  an updated version of novacom. But there ares solution. Come to our irc channel and we will see what we can so) 
     26 
    1527 
    1628=== Step one === 
    17 Put all needed things in a dedicated directory, create a "downloads" directory and put in it the kernel, the image,and the webos jar. 
    18 Modify the fso-installer Makefile .. 
     29  
     30 Create a "downloads" directory and put in there the webos version you have downloaded, something like webosxxxxx.jar . 
     31 
     32=== Step two === 
     33 
     34 In our working directory (not in "downloads/" !), downloads the fso-installer ( a Makefile http://git.freesmartphone.org/?p=utilities.git;a=blob_plain;f=palmpre/fso-installer/Makefile;hb=HEAD ) 
     35 
     36=== Step three === 
     37 
     38 You have then to modify only two things in the Makefile : TARGET and CONFIG_WEBOS_MEDIA_TARGET_SIZE  as explained at the top of the Makefile 
     39 
     40 So for now you have something like this :  
     41 
     42{{{ 
     43 
     44 workingdir/ 
     45    =>Makefile 
     46    =>downloads/ 
     47      =>webosdoctorp103ueuuna-wr-2.0.0.jar 
     48}}} 
     49 
     50 
     51 
     52=== Step four === 
     53( You have not forgoten to save the Makefile I hope!) 
     54 Plug your device to your computer with the usb cable. 
     55 
     56=== Step five === 
     57(wouhw step four was very hard... :) ) 
     58 
     59 Put your device in dev mode.(see [http://www.webos-internals.org/wiki/Getting_started#Enabling_Developer_Mode WebOS Internals' wiki]) 
     60 
     61=== Step six === 
     62 
     63 Open a terminal in your working directory an launch the installation with  
     64{{{ 
     65make install-all 
     66}}} 
     67 
     68 
     69=== Step seven === 
     70 
     71 It is time to go grab something/someone to eat/drink or kiss because from now your computer will follow the Makefile and making through all the needed things to install FSO/SHR on your precious! 
     72 
     73=== Step eight === 
     74 
     75 You are still there wondering exactly what it is really doing? Good! well I mean no! un-good! I told you to take care of yourself or someone else! 
     76 
     77... 
     78 
     79Ok still here: then you can read the Makefile yourself, your old enough!! 
     80 
     81... 
     82 
     83Ok I will definitely order your some plastic... Here is your stuff 
     84 
     85{{{ 
     86wget-stuff (kernel and image) 
     87memboot (reboot your device to be able to install all those wonderful things) 
     88backup (backup all your device into our working dir) 
     89lvm-resize (split the partition used to store your extra stuff into two partition => a new one for FSO/SHR) 
     90restore-media (restore back your data to media/internal like nothing happened) 
     91flash-image (you want an explanation? RTFM ! :) ) 
     92flash-kernel (...) 
     93setup-init (setup simlinks to boot our stuff) 
     94reboot (yeah that's right! it does it for you!!) 
     95}}} 
     96 
     97=== Step nine === 
     98 
     99 You come back from somewhere and your device is shining from ten miles away!! 
     100 
     101 Yes you don't dream :)  You have now FSO/SHR running on your precious! 
     102 
     103== How to switch OS == 
     104 
     105 OK that is fun but FSO/SHR is not right the master piece you wanted (and you are right to do so! I mean expecting this master piece) for now so you want to swich from on OS to an other. 
     106 
     107 Even if we do not have a multi-boot solution, that is still simple. 
     108 
     109=== Step one === 
     110 
     111 Plug your device to your computer with the usb cable and put it in recover mode.(see [http://www.webos-internals.org/wiki/Recover_mode WebOS Internals' wiki]) 
     112 
     113=== Step two === 
     114 
     115{{{ 
     116make switch-boot 
     117}}} 
     118 
     119=== Step three === 
     120 
     121{{{ 
     122make reboot 
     123}}} 
     124 
     125== How to update all your FSO/SHR == 
     126 
     127 Now you want to update your FSO/SHR version, good! 
     128 
     129 There is two solutions!  
     130 
     131 The first one is just to update it directly from FSO/SHR 
     132 
     133{{{ 
     134opkg update 
     135opkg upgrade 
     136}}} 
     137 
     138 
     139 The second one is more heavy stuff 
     140  
     141 WARNING: it will remove everything of your FSO/SHR partition 
     142 
     143=== Step one === 
     144 
     145 Plug your device to your computer with the usb cable and put it in recover mode.(see [http://www.webos-internals.org/wiki/Recover_mode WebOS Internals' wiki]) 
     146 
     147=== Step two === 
     148 
     149{{{ 
     150make update-all 
     151}}} 
     152 
     153=== Step three === 
     154 
     155{{{ 
     156make reboot 
     157}}} 
     158 
     159 NOTE: If you want to update just your kernel or your rootfs  you have then an other step for example: 
     160 
     161{{{ 
     162make memload 
     163make update-kernel 
     164make reboot 
     165}}} 
     166 
     167That is all for tonight! 
     168 
     169== Status == 
    19170 
    20171[...]