[Windows Phone 8 Development and Hacking] rgxHost:
Greetings Everyone;

Like many of you: my Lumia was not working properly; therefore I tried to recover / downgrade my Lumia 535 with "Windows Phone Recovery Tool" back to Windows 8.

After Clicking "Start"... The Phone simply said: "Goodbye" and never came On again... (While going like: "WT*!?" and mad at this; I have to say it was funny).

From that point on: It simply would just show a Black Screen to me.

Requirements

- Have Windows Device Recovery Tool ("WDRT") (Get it here)

- Make sure you have a USB Cable in proper condition to ensure that the Procedure Won't Fail due to Disconnection.

Method #1 : Before Anything Else

1 ) With your USB Cable & Device Connected to PC; Go to the "Device Manager" and unninstal the QHSUSB__BULD Driver (Don't Close the Device Manager Yet).

2) Disconnect your USB Cable and Plug it again. Update the "Device Manager" in order to get your QHSUSB__BULK Driver Installed again.

3) Go to "Windows Phone Recovery Tool" and try Again. "Windows Phone Recovery Tool" should be able to complete the procedure.

Method #2 : Under "Emergency Mode"

1 ) Connect your device via USB cable.

2) Open the following folder (Considering your System drive is " C: ")

C:\Program Data\Microsoft\Packages\Products\RM-<Number>

* Where <Number> will be your device release model number.

Note: You can check Code & Release Model Number on the back of your phone by removing your battery.

Inside that folder you can see that you have some required files to recover your device from Bricked states.

i.e: the *.ffu file.

If you don't find the *.ffu file there you can try: http://www.lumiafirmware.com/

3) Now open CMD (Command Prompt) as administrator

4) And go to WDRT folder by typing:

cd C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\

for 32 bit pc, type:

cd C:\Program Files\Microsoft Care Suite\Windows Device Recovery Tool\

5) Connect your USB Cable & Device to PC

6) (Attempt to Perform a Factory Reset): In CMD (Command Prompt) Type :

thor2 -mode uefiflash -ffufile "C:\the location of the ffu\file name.ffu" -do_full_nvi_update -do_factory_reset"

7) Wait now until your phone gives a green screen

8) Back on CMD; Type:

thor2 -mode rnd -bootnormalmode

Note: Shall Step 6 fail; but you managed to flash the *.ffu file into the device (or even if that failed); try Method #1 again.

That worked perfectly for me.

Initial Steps for Manual Recovery (Incomplete; but gets you Started)

1) "dump": "gpt0.bin" & "gpt1.bin" files

2) Create a Folder on the root of your System Drive.

i.e: C:\LumiaService\

3) Create another Folder Called "Dump" inside "LumiaService" folder

4) Copy the *.ffu File found at: C:\Program Data\Microsoft\Packages\Products\RM-<Number>

to the Newly created folder [C:\LumiaService\ ]

Tip: You may want to rename the file to a shorter file name. In this tutorial I'm going to name it "rm1089.ffu" (Wich stands for my Lumia Model)

5) Open Command Prompt in Administrator Mode and Open the "Windows Phone Recovery Tool" folder.

i.e: C:\ThisComputer\User\Programs (x86)\Microsoft Care Suite\Windows Device Recovery Tool\

Note: There you should find: Thor2.exe

6) Once in that folder type the following Command to "Dump" (Extract from & Create) the following files: gpt0.bin & gpt1.bin

Note: Don't Close your Command Prompt Window After Dumping the Files (See point 6).

thor2 -mode ffureader -ffufile "C:\LumiaService\rn1089.ffu" -dump_gpt -filedir C:\LumiaService\Dump\

7) Copy the RKH Hex Number and Save it into a text document (Pref. also inside "LumiaService" folder)

i.e:

RKH: 0E9427DF118D9E27D098D13BECB6C6C89CE59F4

RKH: 0E9427DF118D9E27D098D13BECB6C6C89CE59F4

Note: You will require to create a *.hex File using the RKH; in order to Perform the manual Unbrick.

Hope this helped everyone guys without warranty.

If you still have problems; and want to dig further into Manually Unbrick I'm leaving some of my own notes on the post bellow (For Reference Only).

I think that would be a good starting point; and that it will save you some time.

Please feel free to send me information regarding how to do it "Manually" (Step-by-Step); I'll be glad to write about it.

Best Regards;