Difference between revisions of "Pre 3 Impersonation"

From WebOS Internals
Jump to navigation Jump to search
m
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page is for those very lucky people who have somehow managed to score themselves the mythical 16GB AT&T Pre 3 device, and want to be able to make it impersonate a normal 8GB EU Pre 3 for the purposes of OTA updates, using the webOS Doctor and installing patches and custom kernels.  Note that the device continues to have the same cellular frequency bands, and continues to have 16GB of flash.
+
This page is for anyone who wants to make a certain Pre 3 model impersonate some other Pre 3 model.
  
You need to use the meta-doctor to change the tokens on the device:
+
This was important before the doctor and OTA update of the AT&T Pre3 became available. Now it is not so important and is no longer recommended unless you have good reason to do so. Using an AT&T Pre3 (has 16 GB) in Europe (European Pre3 has 8 GB only) could be such a reason. Or you want your AT&T Pre3 speak German, Italian, or French.
  
#Install "Show Properties" on your device (found in Preware) and email yourself the complete token set before you start.
+
If your Pre3 ever ends up with a 9.9.9 webOS version in your palm profile, you can also use this procedure to switch it back to a real version (make it impersonate the other type of device, and then switch it back again using the other script).
#*This is your backup in case you make a mistake or ever want to revert the device to a 16GB AT&T Pre 3 again.
 
#Download and setup webOS Metadoctor.
 
#*This is a tool, created by Rod, that helps us modify the official doctor and then flash it onto our phones. Follow that page but DO NOT FOLLOW after where it says "STEP 2: Running the webOS Doctor" on that guide!!!! http://www.webos-internals.org/wiki/Application:MetaDoctor
 
#Back already? You're a sharp one! With Terminal still open, type <pre>cd downloads</pre>
 
#*This changes our directory to the downloads folder inside the meta-doctor
 
#In terminal, type <pre>wget http://palm.cdnetworks.net/rom/manta/p220r0d08222011/wdmantarow/webosdoctorp220mantawr.jar</pre>
 
#*This will download the webOS doctor into the downloads folder
 
#Rename "webosdoctorp220mantawr.jar" to "webosdoctorp220manta-wr-2.2.0.jar" inside the "downloads" folder which is inside "meta-doctor" This is very important as it avoids a error you might get later on.
 
#Change the directory back to meta-doctor <pre>cd</pre> <pre>cd meta-doctor</pre>
 
# In the terminal, type <pre>make DEVICE=pre3 CARRIER=wr clobber unpack</pre>
 
#Type <pre>cp build/pre3-p220manta-wr-2.2.0/webOS/mantaray.xml .</pre>
 
#* The ending dot counts!
 
#Edit mantaray.xml to set the desired tokens. See below for tokens. The .xml can be found inside the meta-doctor folder
 
#*In the XML, find
 
<pre><Section name="tokens" type="token" size="4KB">
 
<Val name="installer" value="trenchcoat"/>
 
    </Section></pre>
 
#*and Paste the Tokens so it looks like
 
<pre><Section name="tokens" type="token" size="4KB">
 
<Val name="installer" value="trenchcoat"/>
 
<Val name="DMCARRIER" value="ROW" action="overwrite"/>
 
                              <Val name="DMMODEL" value="HSTNH-F30CE" action="overwrite"/>
 
                              <Val name="MfgCode" value="" action="overwrite"/>
 
                              <Val name="PN" value="180-10918-01" action="overwrite"/>
 
                              <Val name="PRODoID" value="HSTNH-F30CE" action="overwrite"/>
 
                              <Val name="ProductSKU" value="FB437AA#ABU" action="overwrite"/>
 
  
      </Section></pre>
+
Note that the device continues to have the same cellular frequency bands, and continues to have the same amount of flash memory.
Save the file and close the text editor. Back to the terminal!
 
#Hey, we're doing very well. Now back in the termial, type <pre>make DEVICE=pre3 CARRIER=wr CUSTOM_XML=mantaray.xml REMOVE_MODEL_CHECK=1 REMOVE_CARRIER_CHECK=1 clobber all </pre>
 
#*You have created a modified webOS doctor!
 
# Flash the device using the resulting custom doctor - you can stop it as soon as it has finished writing the tokens, or allow it to complete if unsure.
 
<pre> cd build/pre3-p220manta-wr-2.2.0</pre>
 
<pre>
 
java -jar webosdoctorp220manta-wr-2.2.0.jar </pre>
 
# From this point on, you have an EU Pre 3 device, so you never need the CUSTOM_XML or REMOVE_*_CHECK flags ever again.
 
# Re-flash the device using the standard EU Pre 3 doctor (not your modified one). If you don't reflash it with the standard doctor, you will not be able to access the app catalog.
 
  
These were the tokens we pasted into the .XML file:
+
#Install "Show Properties" on your device (found in Preware) and email yourself the complete token set before you start.
 
+
#*This is your backup in case you make a mistake.
                                <Val name="DMCARRIER" value="ROW" action="overwrite"/>
+
#Download and setup the webOS Metadoctor.
                                <Val name="DMMODEL" value="HSTNH-F30CE" action="overwrite"/>
+
#*This is a tool that helps us modify the official doctor and then flash it onto our phones. Follow that page but DO NOT FOLLOW after where it says "STEP 2: Running the webOS Doctor" on that guide!!!! http://www.webos-internals.org/wiki/Application:MetaDoctor
                                <Val name="MfgCode" value="" action="overwrite"/>
+
#In the terminal, type  <pre>./scripts/meta-wr-pre3-impersonate-att-2.2.4</pre> (to create an EU Pre 3 doctor for an AT&T Pre 3) or <pre>./scripts/meta-att-pre3-impersonate-wr-2.2.4</pre> (to create an AT&T doctor for an EU Pre 3).
                                <Val name="PN" value="180-10918-01" action="overwrite"/>
 
                                <Val name="PRODoID" value="HSTNH-F30CE" action="overwrite"/>
 
                                <Val name="ProductSKU" value="FB437AA#ABU" action="overwrite"/>
 
 
 
If you've also somehow been able to unlock the device, you may also want to set this one:
 
  
                                <Val name="SimLockDef" value="UNLOCKED" action="overwrite"/>
+
This is a one time processs only. If there is a need for re-doctoring, you have to create a new doctor file corresponding to the existing one. E. g. if you impersonated an AT&T Pre3 mimicking being a European wr model, you have to build a wr doctor for the next time. Otherwise the impersonation doctor will refuse to load.

Latest revision as of 16:50, 17 April 2014

This page is for anyone who wants to make a certain Pre 3 model impersonate some other Pre 3 model.

This was important before the doctor and OTA update of the AT&T Pre3 became available. Now it is not so important and is no longer recommended unless you have good reason to do so. Using an AT&T Pre3 (has 16 GB) in Europe (European Pre3 has 8 GB only) could be such a reason. Or you want your AT&T Pre3 speak German, Italian, or French.

If your Pre3 ever ends up with a 9.9.9 webOS version in your palm profile, you can also use this procedure to switch it back to a real version (make it impersonate the other type of device, and then switch it back again using the other script).

Note that the device continues to have the same cellular frequency bands, and continues to have the same amount of flash memory.

  1. Install "Show Properties" on your device (found in Preware) and email yourself the complete token set before you start.
    • This is your backup in case you make a mistake.
  2. Download and setup the webOS Metadoctor.
  3. In the terminal, type
    ./scripts/meta-wr-pre3-impersonate-att-2.2.4
    (to create an EU Pre 3 doctor for an AT&T Pre 3) or
    ./scripts/meta-att-pre3-impersonate-wr-2.2.4
    (to create an AT&T doctor for an EU Pre 3).

This is a one time processs only. If there is a need for re-doctoring, you have to create a new doctor file corresponding to the existing one. E. g. if you impersonated an AT&T Pre3 mimicking being a European wr model, you have to build a wr doctor for the next time. Otherwise the impersonation doctor will refuse to load.