Pre 3 Impersonation

From WebOS Internals
Revision as of 03:01, 28 September 2011 by RodWhitby (talk | contribs)
Jump to navigation Jump to search

THIS PAGE IS OBSOLETE. THE AT&T PRE3 DOCTOR NOW EXISTS AND AN OTA IS AVAILABLE

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 Pre 3 became available. Now it is not so important and is no longer recommended unless you have good reason to do so.

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

You need to use the meta-doctor to change the tokens on the device:

  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 or ever want to revert the device to a 16GB AT&T Pre 3 again.
  2. Download and setup webOS Metadoctor.
  3. Back already? You're a sharp one! With Terminal still open, type
    cd downloads
    • This changes our directory to the downloads folder inside the meta-doctor
  4. In terminal, type
    wget http://palm.cdnetworks.net/rom/manta/p220r0d08222011/wdmantarow/webosdoctorp220mantawr.jar
    • This will download the webOS doctor into the downloads folder
  5. 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 an error you might get later on. For those unfamiliar with linux commands, you should use the "mv" command:
    mv webosdoctorp220mantawr.jar webosdoctorp220manta-wr-2.2.0.jar
  6. Change the directory back to meta-doctor
    cd
    cd meta-doctor
  7. In the terminal, type
    make DEVICE=pre3 CARRIER=wr clobber unpack
  8. Type
    cp build/pre3-p220manta-wr-2.2.0/webOS/mantaray.xml .
    • The ending dot counts!
  9. 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
<Section name="tokens" type="token" size="5KB">
				<Val name="installer" value="trenchcoat"/>
     </Section>
    • and Paste the Tokens so it looks like
<Section name="tokens" type="token" size="5KB">
				<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>

Save the file and close the text editor. Back to the terminal!

  1. Hey, we're doing very well. Now back in the termial, type
    make DEVICE=pre3 CARRIER=wr CUSTOM_XML=mantaray.xml REMOVE_MODEL_CHECK=1 REMOVE_CARRIER_CHECK=1 clobber all 
    • You have created a modified webOS doctor!
  2. 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.
 cd build/pre3-p220manta-wr-2.2.0
java -jar webosdoctorp220manta-wr-2.2.0.jar 
  1. From this point on, you have an EU Pre 3 device, so you never need the CUSTOM_XML or REMOVE_*_CHECK flags ever again.
  2. 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:

                               <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"/>

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"/>

These are the tokens to restore the device back again:

                               <Val name="DMCARRIER" value="ATT" action="overwrite"/>
                               <Val name="DMMODEL" value="HSTNH-F30CN" action="overwrite"/>
                               <Val name="MfgCode" value="" action="overwrite"/>
                               <Val name="PN" value="180-10867-01" action="overwrite"/>
                               <Val name="PRODoID" value="HSTNH-F30CN" action="overwrite"/>
                               <Val name="ProductSKU" value="FB389AA#ABA" action="overwrite"/>