View Single Post
  #1 (permalink)  
Old 08-18-2009, 04:42 PM
adactuslatem's Avatar
adactuslatem
Lurker
Offline
 
Join Date: Apr 2009
Posts: 9
Reputation: 60
adactuslatem is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Palm Pre Comprehensive Guide for switching carriers, Please Sticky

Palm prē guide

NOTE: DO NOT UPDATE TO THE LATEST VERSION OF WEBOS UNTIL AFTER EVERYTHING IS WORKING CORRECTLY.
Memory addresses can change with updates and Palm may add other provisioning checks as they develop this mobile OS. Be cautious when updating.

First off I have to thank Tonycortes, GaKAsterman, Cleanser, xxRake, and Nickpl for all the wonderful information that has been contributed to this community. Please do not hesitate to look this guide over and suggest any edits or additions to this information, this is solely for the community and will not be distributed by sales, no one person put out all this information, so no one man shall profit from the work of others, therefore it is protected under creative commons licenses.

From enabling linux to getting evdo working
A start to almost finish guide to the palm prē

Okay so you just got your first palm pre, you opened the box and decided it’s just not the time for Sprint. You pop in the battery and power on your palm pre and see a screen that prompts you that you must activate this phone before actually being able to use it, this is crazy! You think to yourself, why can I not use a phone that I paid for!?

There are going to be a few things you need for this project:
• Qinray’s 1.03 WebOS image:
http://www.megaupload.com/?d=Z4R3Q7QX
• Diagnostic drivers for the palm pre:
http://mobile-files.com/forum/showthread.php?t=111201
• CDMA workshop and/or QXDM with QPST:
Unfortunately I cannot tell you were to find these, as it would be illegal to upload these. Just google it and you will find it.
There is CDMA workshop 2.7 out there, but I like QXDM and QPST more.
The versions I used were: QPST_2.15_build_231 and QXDM31136.
• Prl’s for the carrier you will want to use the pre on. They can be found here:
http://corolada.com/prl/
• For Alltel use 40051, found here:
http://www.the-answerman.com/sidlist/prl/index.asp

Step 1: So you actually want to use the phone you purchased? (Activation Bypass)

Flash your palm prē with the custom xxRake.treo8 WebOSDoctor rom, after clicking the link below click the green button to get your WebOS rom.
http://www.megaupload.com/?d=Z4R3Q7QX --> This one may be a faster location.
After it is downloaded connect your palm pre to your computer and choose charge only mode, if you haven’t done this before a driver installation will ensue, as soon as this is finished you should be ready to go. Run the jar file and once it’s done you should be good to go. Here are the instructions right off of Palm’s site:

Code:
1.     Run the tool on your computer.
2.    When prompted, connect your phone to your computer. Be sure to use the USB cable that came with your phone. webOS Doctor restores your phone's functionality and updates it to the latest software version.
3.    After your phone is reset, log into your Palm profile. Any information that you've backed up to your Palm profile is restored, including applications, contacts, and calendar events. Information from online accounts you synchronize with, such as Google or Microsoft Exchange ActiveSync, is also restored.
4.    If you have media files (picture, videos, music), docs, or other files backed up to your computer, you need to manually restore these files. You can copy the files back from your computer to your phone.
Step 2: So you want linux you say? (“Rooting” the Pre)

Now since we have bypassed activation it is time to open up the wonderful world of linux on our phone. This was known as “rooting” but has been amended to “accessing linux.”
There is a newer way on the predevwiki, but I prefer the older method of accessing linux on the pre. Here is the way I did it:

Code:
 This comes directly from the predevwiki here: http://www.webos-internals.org/wiki/...x_From_Windows
This procedure works as is with Windows XP or Vista, and can be made to work with Windows 7 by manually installing Novacom as described on the Novacom and Windows 7 page. Using an XP virtual machine (VMware or Windows 7's "XP mode") has been reported to work if you do not have a supported platform. 
Estimated time: 30 minutes depending on experience - including Next Steps after obtaining access. 
Preparation 
•    Download the webOS image. 
•    Change the file extension from .jar to .zip and then extract the archive. 
•    Run the driver installer from the extracted file by browsing to the folder webosdoctorp100ewwsprint/resources/ and running NovacomInstaller_x86.msi (for 32-bit Windows) or NovacomInstaller_x64.msi (for 64-bit Windows). 
•    Download Putty.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. Note that there is no installation, you're simply downloading an exe you will run. Note where you downloaded it. 
•    Download and install Python 2.6 from http://www.python.org/download. Make sure it's not a more recent or an older version - it must be 2.6.x! 
o    Install using all the default choices. 
•    Get a copy of the novaproxy.py script from http://github.com/asedeno/novaproxy/...r/novaproxy.py (Right click and Save the file where you are going to remember you put it). 
The actual process 
•    Type in the Konami code on your Pre (upupdowndownleftrightleftrightbastart) to access the Developer Mode application. A blue developer icon will pop up on the Pre 

•    Open the Developer Mode application on your Pre and enable the Developer Mode switch, resetting the device when prompted. 
•    Connect the Pre to your PC using a USB cable. Choose the option to "Just Charge". Windows should see a new device called Palm Novacom and automatically install the drivers for it. If you are asked to locate the drivers yourself, they are in C:\Program Files\Palm, Inc\novacom\x86 (for 32-bit Windows) or C:\Program Files\Palm, Inc\novacom\amd64 (for 64-bit Windows). 
•    If you installed Python with all the default choices, you can simply double-click the novaproxy.py file to start Novaproxy. Otherwise, bring up a command prompt window, cd to the location in which you extracted the zip file, then type python novaproxy.py to run the script. 
•    The script will execute and provide further instructions. If it tells you it's listening on a localhost port (usually 8023), everything is working. Be sure not to close this window. 
•    If the script does not work, or tells you there is a problem and the provided instructions don't help, join our IRC channel (irc.freenode.net #webos-internals) and feel free to ask for help. 
•    Run putty.exe 
•    In PuTTY's Host Name box, type localhost and select a connection type of RAW. In the Port box, type the port that Novaproxy says it's listening on (usually 8023). 
•    Click on Terminal in the treeview on the left, and under Line discipline options, set both Local echo and Local line editing to Force off. 
•    If you want to save these settings so you don't have to set them again later, click on Session in the left treeview, enter a name for your saved connection (such as "MyPre") in the Saved Sessions box, and click the Save button. The next time you want to connect, start Novaproxy, then launch PuTTY and double-click the saved connection. 
•    Click the big Open button. Novaproxy should indicate it is connecting, and PuTTY should show a root prompt that looks like this: 
root@castle:/# 
Congrats, you are now in as root. Tread lightly.
The new way requires registration, if you want to do it this way it can be found here: http://www.webos-internals.org/wiki/...ccessing_Linux
On a sidenote you can continue with the “Next Steps” section in the wiki to install the optware packages for the pre, but they are not the main point of this guide. (However it may be in your best interest to install the optware packages if you are going to use PmModemFactory and TilIpcTest later). You will also want to look at the section about logging in via ssh, it’s very important for pretty much anything else you want to do on the pre.

Step 3: So you want to get the pre on a different carrier? (Change the SPC)

Well the first thing you are going to want to do is find the Palm pre’s SPC/MSL code, this stands for the Service Provider Code or Master Subsidiary Lock. This allows the provider to lock out certain features or makes it so the user cannot change certain items in the phone; say your mobile directory number or mobile station number, but more on that later.

Here is the mini how to GakAsterman wrote up: http://mobile-files.com/forum/showthread.php?t=111201


Quote:
Originally Posted by GakAsterman
This assumes you are using windows XP, have rooted your Pre (webOS version 1.0.3 or older only), and installed the Qualcomm COM port drivers (attached below). If you have already upgraded to 1.1 this procedure will not work, we will have to find the new location first. Palm has substantially altered the AMSS firmware, which now reads CC1.2(334).

You must also have the Qualcomm QXDM (Diagnostic Monitor) software. It's available, google is your friend.

Put your phone in passthrough mode by logging into your Pre AS ROOT:
Code:

root@castle:/# mpt d userial
** Message: serviceResponse Handling: 2, {"returnValue":true}
Pass-through enabled for Diag

Open QXDM, choose OPTIONS, then COMMUNICATIONS, and select the proper com port under "Target Port". If you can't choose the port, then go into your windows device manager and move the com port to a lower number under the advanced settings.

Look at the COMMAND line at the bottom of QXDM, it should show "Mode: Streaming" if everything is working.

Hit F4 and the memory viewer will pop up. Choose 2 rows using the dropdown, then click on the Address box and paste this address in:


Code:
0x00A5C2AA
You should see a 6 digit number on the right column followed by dots. That's your SPC/MSL!

Note, you can change it here as well by typing in a new number and clicking the Write button.

Please thank me if this works for you!
Note: if you are going to use this phone with Alltel or Verizon, change the 6 digit code to all zeros, so it looks like this --> 000000.

Last edited by adactuslatem; 08-18-2009 at 10:00 PM.
This post has been thanked 6 times.