De-Brand [ATT] Lumia 640 LTE

Search This thread

Udonitron

Senior Member
Apr 15, 2010
638
28
Victoria
I managed to install the CAB files:

[1] Transferring files complete: 191 files
[1] Update started
[1] Unlock the device
[1] Device unlocked

The phone rebooted and ran the cogs for ages and then finally rebooted back up to a freshly wiped phone.

Good news is the phone is no longer asking for the long gone Recovery Key to restore it (locked to my Hotmail account but the phone is no longer in my devices) however it is back to a stock ATT phone again and thus shows P6199 ATT 1.1 in Flashtool.
Any ideas what could have gone wrong?
 
Last edited:

soni656

Member
Jun 29, 2010
31
5
bangalore
OnePlus 8 Pro
I managed to install the CAB files:

[1] Transferring files complete: 191 files
[1] Update started
[1] Unlock the device
[1] Device unlocked

The phone rebooted and ran the cogs for ages and then finally rebooted back up to a freshly wiped phone.

Good news is the phone is no longer asking for the long gone Recovery Key to restore it (locked to my Hotmail account but the phone is no longer in my devices) however it is back to a stock ATT phone again and thus shows P6199 ATT 1.1 in Flashtool.
Any ideas what could have gone wrong?
Bro pls send me the link for debranding files
 

tonyjoe99

New member
Jan 19, 2023
1
0
Hello everyone, anubis23 here. It's has been a long time since I've posted anything on xda-dev. So here is my contribution to the community that has been good to me since Windows Mobile 5.

Disclaimer: This method may brick your phone! Back up all data. I am not responsible if you break your phone. Use the steps below at your own discretion! Please be careful.

I've finally had success in de-branding my AT&T Lumia 640 LTE, so that i was able to de-brand it and flash the T-Mobile US ROM on it so i could benefit from having band 12. During the past couple of weeks I've tried numerous methods as to de-branding my phone but kept running into bad luck due to signature errors and other miss fortune. At the end of the process to find a way to de-brand my AT&T Lumia 640 LTE i unfortunately half bricked my phone, where it had the red screen. My initial attempt to repair the boot loader using the WDRT was where it ended for me, as the WDRT restarted my phone and as a result full bricked it :(. It currently suffers from the QHSUSB_BULK error which is due to the partition tables being erase and i currently do not have JTAG hard to recover it, so i had to buy a MetroPcs board and swapped it into my phone.

Simple Process, won't bore anyone with the research, trails and errors i encountered.

Below I attached an archive that has 3 cabs in it that needs to be deployed to the AT&T Lumia 640 (which has the dreaded DeviePlatformId; MSM8926.P6204_ATT.1.1 lock on it) that you need to deploy to your phone using the iutool posted by WojtasXda.

Information about my Set-UP:
1. My Phone and girlfriend's phone was SIM UNLOCK (shouldn't have anything to do with the unlocking process, but meh)
2. I had the stock and freshly installed AT&T ROM (Windows Phone 8.1 Update 2) loaded onto it, using WDRT. The ROM that was: RM1073_02177.00000.15184.36016_RETAIL_prod_signed_1004_022B79_ATT-US.ffu from the WDRT software.
3. The device was not developer unlocked.
4. WDRT installed, with necessary drivers.
5. Windows 10 PC, with standard build, and insider fast build 11099. (Both build worked)


Step By Step:
1. Download the attached archive and extract them to anywhere you want.​
2. Place the 3 extracted cabs in a folder on the root of your PC. (ex: C:\Lumia\)​
3. Download and install the tools that contain the iutool. Found HERE.​
4. Open a command prompt window, with administrative privilege.​
5. Change the command prompt working directory to the location of the iutool;​
Code:
cd C:\Program Files (x86)\Windows Phone Kits\8.1\Tools\bin\i386

6. Connect your phone to your PC, (this goes without saying, you should have the WDRT [Found here] installed that way the necessary drivers are already in stalled.)​
7. With you phone connected, executed the code below, in the already opened command prompt window;​
Code:
iutool.exe -p C:\Lumia -V

8. The phone cabs will be downloaded to your phone and then install. Your phone will then restart to apply the cabs, and then start up with the "migration" loading screen to complete the process.​
9. Congrats you have now over written the DevicePlatformID in your phone so that you can now de-brand your phone to any other Lumia 640 LTE ROM.​
a. To make sure that you have successfully applied the cabs and the DeicePlatformId has changed, follow these addition steps.​

b. Download Kaptaiin LumiaFlashTools, found here.​

c. Extract the archive to a folder and navigate to the WPID folder and run the "Start.bat" to initial the tool.​

d. Once the program has launched, click on the "Flash a Windows Phone image onto your phone" option.​

e. With your phone disconnected from the PC. Turn off your phone.​

f. Press the POWER BUTTON and hold down the VOLUME UP button till you see the lighting gear screen, and then connect your phone to the PC.​

g. Connect your phone to your PC, and go back to the Windows Phone Image Designer application. You should now see that the device is recognized as "Flash-able Devices: Nokia.MSM8926.P6204.1.1", which indicates that the process above has finished successfully.​

h. You can now proceed to de-brand your phone with another Lumia 640 LTE image using this same method, by selecting the ROM to flash in the Image Designer window and hitting flash button or by following the method below.​

10. You can follow Kaptaiin wonderful guide that he and others has put together.​
Note: If you ever decide to use the WDRT to re-flash your phone. You need to run the code below to change the product code of the phone. You have to change the product code of the phone to make sure that WDRT does not re-download and install the old ATT ROM, which would then undo what we just did.
Code:
thor2  -mode uefiflash -ffufile  "Location of your downloaded ROM"  -productcodeupdate "new product code" -skip_flash
This will change the product code of your phone from the AT&T product code, to the T-Mobile US Product Code.

Flashing the T-Mobile US ROM.
You do not have to do this if you do not want to de-brand with the T-Mobile ROM, you are free to use whatever ROM you choose. Be careful to do research on other roms, to check to see if it alters the DevicePlatformId parameter in a bad way, like ATT did.
10. Download the T-Mobile ROM [US Product Code: 059X0P7] using means you have chosen to use, NaviFirmor Nokia Data Package Manager.
Seems like the NaviFirm and Nokia Data Package servers are still down and it seems like it might not return, however Petulinek found an alternative to downloading the firmware. Please be cautious when downloading firmware from non original sources.
If you guys decide to use the TMO rom that i used, here are the checksum information from the file that i have, which was downloaded with the Nokia Data Package Manager a while back.​
Code:
RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu[/INDENT]
[INDENT]MD5 Checksum: E0140458F031A610A7E06A5E5134D838[/INDENT]
[INDENT]SHA-1 Checksum: 3EC8ABB689F435232A1280164B5B8242F88E3139[/INDENT]
[INDENT]SHA-256 Checksum: 1B2CD97BD0CABFEAED13E6EED99902D7CD419B8DEA48CA7F1FBCC50758273CEF[/INDENT]
[INDENT]
11. Installing the downloaded ROM using WDRT.​
a. Open a command prompt window with administrative privileges.​

b. Run the following command:
Code:
cd C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool
c. Connect your phone to your PC.​

d. Run the command to start flashing your phone:​
Code:
thor2 -mode uefiflash -ffufile "Location of downloaded ROM"

e. Wait for the ROM to flash and you will have a green screen, this means that flashing process was successful.​

f. Now restart your phone by holding down the VOLUME DOWN button and POWER BUTTON or just the POWER BUTTON, till it vibrates.​

g. Let your phone go through the install process.​

h. Once your phone has finish booting up and setup process completed, it is RECOMMENDED that you run the follow code to prevent your phone from re-downloading the AT&T ROM, either by phone update or by using WDRT. If you do not run this command after flashing your phone with the new ROM, your phone will redownload and procceed to load the AT&T ROM again if you ever decide to use the WDRT to re-flash your phone.​
The Command below will change the product code of your phone from the AT&T product code, to the T-Mobile US Product Code.​
Code:
thor2 -mode uefiflash -ffufile "C:\Lumia\RM-1073\RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu" -productcodeupdate 059X0P7 -skip_flash



Notable Credits:

Kaptaiin
WojtasXda
XDA-Community
e-Pig


Donations are always appreciated but are NEVER required.
Thank you boysie37, pile0g00, ombreman for your donations.

Note: If i have violated any of the posting rules for xda, mods please PM me with the violation and i will gladly fix it.
The links are not active to download uitools and cab files
 

vinokirk

Senior Member
Mar 30, 2008
2,249
247
England
I currently have a UK RM-1072 which is locked to O2, and also has O2 branding over it.
It's there a way to remove all the O2 branding? I've got the lumiafirmware.com link but they all look like carrier firmware files with carrier branding.
It's there a generic firmware with out carrier branding?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 66
    Hello everyone, anubis23 here. It's has been a long time since I've posted anything on xda-dev. So here is my contribution to the community that has been good to me since Windows Mobile 5.

    Disclaimer: This method may brick your phone! Back up all data. I am not responsible if you break your phone. Use the steps below at your own discretion! Please be careful.

    I've finally had success in de-branding my AT&T Lumia 640 LTE, so that i was able to de-brand it and flash the T-Mobile US ROM on it so i could benefit from having band 12. During the past couple of weeks I've tried numerous methods as to de-branding my phone but kept running into bad luck due to signature errors and other miss fortune. At the end of the process to find a way to de-brand my AT&T Lumia 640 LTE i unfortunately half bricked my phone, where it had the red screen. My initial attempt to repair the boot loader using the WDRT was where it ended for me, as the WDRT restarted my phone and as a result full bricked it :(. It currently suffers from the QHSUSB_BULK error which is due to the partition tables being erase and i currently do not have JTAG hard to recover it, so i had to buy a MetroPcs board and swapped it into my phone.

    Simple Process, won't bore anyone with the research, trails and errors i encountered.

    Below I attached an archive that has 3 cabs in it that needs to be deployed to the AT&T Lumia 640 (which has the dreaded DeviePlatformId; MSM8926.P6204_ATT.1.1 lock on it) that you need to deploy to your phone using the iutool posted by WojtasXda.

    Information about my Set-UP:

    1. My Phone and girlfriend's phone was SIM UNLOCK (shouldn't have anything to do with the unlocking process, but meh)
    2. I had the stock and freshly installed AT&T ROM (Windows Phone 8.1 Update 2) loaded onto it, using WDRT. The ROM that was: RM1073_02177.00000.15184.36016_RETAIL_prod_signed_1004_022B79_ATT-US.ffu from the WDRT software.
    3. The device was not developer unlocked.
    4. WDRT installed, with necessary drivers.
    5. Windows 10 PC, with standard build, and insider fast build 11099. (Both build worked)


    Step By Step:
    1. Download the attached archive and extract them to anywhere you want.
    2. Place the 3 extracted cabs in a folder on the root of your PC. (ex: C:\Lumia\)
    3. Download and install the tools that contain the iutool. Found HERE.
    4. Open a command prompt window, with administrative privilege.
    5. Change the command prompt working directory to the location of the iutool;
    Code:
    cd C:\Program Files (x86)\Windows Phone Kits\8.1\Tools\bin\i386
    6. Connect your phone to your PC, (this goes without saying, you should have the WDRT [Found here] installed that way the necessary drivers are already in stalled.)
    7. With you phone connected, executed the code below, in the already opened command prompt window;
    Code:
    iutool.exe -p C:\Lumia -V
    8. The phone cabs will be downloaded to your phone and then install. Your phone will then restart to apply the cabs, and then start up with the "migration" loading screen to complete the process.
    9. Congrats you have now over written the DevicePlatformID in your phone so that you can now de-brand your phone to any other Lumia 640 LTE ROM.
    a. To make sure that you have successfully applied the cabs and the DeicePlatformId has changed, follow these addition steps.
    b. Download Kaptaiin LumiaFlashTools, found here.
    c. Extract the archive to a folder and navigate to the WPID folder and run the "Start.bat" to initial the tool.
    d. Once the program has launched, click on the "Flash a Windows Phone image onto your phone" option.
    e. With your phone disconnected from the PC. Turn off your phone.
    f. Press the POWER BUTTON and hold down the VOLUME UP button till you see the lighting gear screen, and then connect your phone to the PC.
    g. Connect your phone to your PC, and go back to the Windows Phone Image Designer application. You should now see that the device is recognized as "Flash-able Devices: Nokia.MSM8926.P6204.1.1", which indicates that the process above has finished successfully.
    h. You can now proceed to de-brand your phone with another Lumia 640 LTE image using this same method, by selecting the ROM to flash in the Image Designer window and hitting flash button or by following the method below.
    10. You can follow Kaptaiin wonderful guide that he and others has put together.
    Note: If you ever decide to use the WDRT to re-flash your phone. You need to run the code below to change the product code of the phone. You have to change the product code of the phone to make sure that WDRT does not re-download and install the old ATT ROM, which would then undo what we just did.
    Code:
    thor2  -mode uefiflash -ffufile  "Location of your downloaded ROM"  -productcodeupdate "new product code" -skip_flash
    This will change the product code of your phone from the AT&T product code, to the T-Mobile US Product Code.

    Flashing the T-Mobile US ROM.
    You do not have to do this if you do not want to de-brand with the T-Mobile ROM, you are free to use whatever ROM you choose. Be careful to do research on other roms, to check to see if it alters the DevicePlatformId parameter in a bad way, like ATT did.
    10. Download the T-Mobile ROM [US Product Code: 059X0P7] using means you have chosen to use, NaviFirm or Nokia Data Package Manager.

    Seems like the NaviFirm and Nokia Data Package servers are still down and it seems like it might not return, however Petulinek found an alternative to downloading the firmware. Please be cautious when downloading firmware from non original sources.
    U can download needed files on this website: http://www.mrcrab.net/nokia.html

    If you guys decide to use the TMO rom that i used, here are the checksum information from the file that i have, which was downloaded with the Nokia Data Package Manager a while back.
    Code:
    RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu
    MD5 Checksum: E0140458F031A610A7E06A5E5134D838
    SHA-1 Checksum: 3EC8ABB689F435232A1280164B5B8242F88E3139
    SHA-256 Checksum: 1B2CD97BD0CABFEAED13E6EED99902D7CD419B8DEA48CA7F1FBCC50758273CEF
    11. Installing the downloaded ROM using WDRT.
    a. Open a command prompt window with administrative privileges.
    b. Run the following command:
    Code:
    cd C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool
    c. Connect your phone to your PC.
    d. Run the command to start flashing your phone:
    Code:
    thor2 -mode uefiflash -ffufile "Location of downloaded ROM"
    An example would be, at least for what i did was:
    Code:
    thor2 -mode uefiflash -ffufile "C:\Lumia\RM-1073\RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu"
    This was the ROM i used to de-brand the AT&T Lumia 640 which had the DevicePlatforId change, using the steps above.
    e. Wait for the ROM to flash and you will have a green screen, this means that flashing process was successful.
    f. Now restart your phone by holding down the VOLUME DOWN button and POWER BUTTON or just the POWER BUTTON, till it vibrates.
    g. Let your phone go through the install process.
    h. Once your phone has finish booting up and setup process completed, it is RECOMMENDED that you run the follow code to prevent your phone from re-downloading the AT&T ROM, either by phone update or by using WDRT. If you do not run this command after flashing your phone with the new ROM, your phone will redownload and procceed to load the AT&T ROM again if you ever decide to use the WDRT to re-flash your phone.

    The Command below will change the product code of your phone from the AT&T product code, to the T-Mobile US Product Code.
    Code:
    thor2 -mode uefiflash -ffufile "C:\Lumia\RM-1073\RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu" -productcodeupdate 059X0P7 -skip_flash

    Notable Credits:
    Kaptaiin
    WojtasXda
    XDA-Community
    e-Pig


    Donations are always appreciated but are NEVER required.
    Thank you boysie37, pile0g00, ombreman for your donations.

    Note: If i have violated any of the posting rules for xda, mods please PM me with the violation and i will gladly fix it.
    12
    I was having band 12 problem on Tmobile until I used the command below to update the NVI. Now I'm able to connect to band 12 in field test mode.

    thor2 -mode uefiflash -ffufile "C:\Lumia\RM-1073\RM1073_02177.00000.15203.26115_RETAIL_prod_signed_1001_023F70_TMO-US.ffu" -do_full_nvi_update -do_factory_reset
    3
    Thanks for the insight! I couldn't find what was using the USB connection even after closing down every process, but I ended up flashing with WPID successfully. After flashing the rom, I ran the command for the product code update. Based on the output in the command window, it looked as though it was successful, however the phone became unresponsive. I had to pull the battery out and I powered it on after reassembling it. It booted into a black screen with an exclamation mark. I didn't know what to make of it, so I just reflashed the TMO rom. Now I am back up and running, but I have another question. Do I need to run the product update command again? How do I check that it was completed properly the first time I did it?
    If WDRT shows firmware version 02177.00000.15203.26115 as a software available on server, you have the T-Mobile firmware. Your phone has the T-Mobile product code. Otherwise WDRT would show the AT&T's version, e.g., 02177.00000.15184.36016.

    WDRT.png
    3
    I earlier used to download many flashes with Nokia DataPackage manager. But since last week it always says login error.
    U can download needed files on this website: http://www.mrcrab.net/nokia.html
    2
    Thanks for your excellent post. I have already upgraded my att&t Lumia 640 to windows 10 build 10586.63. Will I have to restore 8.1 before implementing your steps?
    I Think Yes

    ---------- Post added at 05:57 AM ---------- Previous post was at 05:53 AM ----------

    I am almost sure, still confirming, I can flash any Lumia 640 LTE version ROM, right ? even India ROM ?
    I think you can flash only single SIM variant.
    I was not able to flash RM-1024 Global swap rom on ATT Lumia. Other RM-1024 ROM worked for me even then I was not able to get LTE Band # 3.

    I do not think there is Single SIM LTE variant of Lumia 640 in India.
    Only DUAL SIM 3G,
    DUAL SIM XL 3G
    DUAL SIM XL LTE were launched in India.