yashsingh1/xdaforums huggingface dataset:
[Nokia Lumia 520 Guides, News, & Discussion] k@irav:
first time i install one by one file {TZ to EFIESP} in cmd therfore didn't start with a blue screen with a sad smiley and error (THORE2_ERROR_CONNECTION_NOT_FOUND)

after i try to together all these file install in cmd using this code {fastboot flash TZ parts\TZ.img

fastboot flash SSD parts\SSD.img

fastboot flash RPM parts\RPM.img

fastboot flash WINSECAPP parts\WINSECAPP.img

fastboot flash MODEM_FSG parts\MODEM_FSG.img

fastboot flash MODEM_FS1 parts\MODEM_FS1.img

fastboot flash MODEM_FS2 parts\MODEM_FS2.img

fastboot flash UEFI_BS_NV parts\UEFI_BS_NV.img

fastboot flash UEFI_NV parts\UEFI_NV.img

fastboot flash UEFI_RT_NV parts\UEFI_RT_NV.img

fastboot flash UEFI_RT_NV_RPMB parts\UEFI_RT_NV_RPMB.img

fastboot flash PLAT parts\PLAT.img

fastboot flash MMOS parts\MMOS.img

fastboot flash EFIESP parts\EFIESP.img

fastboot flash UEFI parts\UEFI.img

(reduce .lnk b'coz my pc does not support .lnk (shortcut file name) ) }

so this time start mobile with a blue screen with the sad smiley.... after i try code (thor2 -mode rnd -bootflashapp) and it's work..

finally windows 8.1 is back in my phone? thank u very much for help

---------- Post added at 08:30 AM ---------- Previous post was at 08:15 AM ----------

Thank u very much

windows8.1 is back in my phone.... sim card and all process are normal

i am using both tutorial to do this....

1- https://xdaforums.com/nokia-lumia-520/development/restore-windows-phone-8-installed-t3608223

2-https://xdaforums.com/nokia-lumia-520/development/restore-windows-phone-8-installed-t3608223/page5

:fingers-crossed::good:
[Nokia Lumia 520 Guides, News, & Discussion] amalsnair535:
My lumia 520 stuck on flight mode and after that i installed android.When i roll back to windows i s this problem solve ????
[Nokia Lumia 520 Guides, News, & Discussion] sjrmac:
Just maybe reflash the phone in TWRP for Android, or when restoring phone to windows phone, reset phone and erase everything. That could work
[Nokia Lumia 520 Guides, News, & Discussion] wallix:
hi guys. i have installed twrp on lumnia 520. after install, in twrp, the touchscreen does not work. i did not instaled a custom room or something else. the phone does not boot any more. any advices?
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
To charge your phone a bit before rolling back, boot into recovery: Power + Volume Up

Then remove the battery.

Hold Power and Volume Down pressed and follow the step at the 1st page.
[Nokia Lumia 520 Guides, News, & Discussion] wallix:
Thanks for answering. i tried, but i get back in twrp. the problem is that i dont have a back up, because i only got to instaling the twrp with lkbootloader, of course after unloking the bootloader.
[Nokia Lumia 520 Guides, News, & Discussion] vahidtoghyani:
Hi, I installed Android on Lumia 520 How can I go back to Windows Phone? Please give it a video tutorial
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
Let me think a second... Nope.
[Nokia Lumia 520 Guides, News, & Discussion] wallix:
So i have no chance to make the phone work again. the windows should still be there, but the twrp ruined all for me. I thought that i could flash only the stock recovery, so i could boot back to windows. thanks all for your answers.
[Nokia Lumia 520 Guides, News, & Discussion] Wellfare11:
I do not see anything in the folder '' parts '' So I do not understand how to flash the .img that are mentioned someone could explain.

I regret my lack of experience
[Nokia Lumia 520 Guides, News, & Discussion] sjrmac:
I recommend keep reading it over and over, you might catch something you missed. Helps me :)
[Nokia Lumia 520 Guides, News, & Discussion] Zhaturos:
i run the command imgman64.exe <backup.img> parts but appear access denied
[Nokia Lumia 520 Guides, News, & Discussion] Zhaturos:
all fine until run this command

thor2 -mode uefiflash -partitionname MainOS -partitionimagefile parts\MainOS.img

many success but appear errors in the console. finish the process 100%, then thor2 no have connection now when connect my device appear Qualcomm msm Device or Nokia Bootmgr

pdt: my phone turn on appear charge battery then black screen
[Nokia Lumia 520 Guides, News, & Discussion] vitalkoooo:
Hello! I'm from Ukraine, sorry for the translation. Make a video instruction on restoring the Lumia phone after the installed android. It is very difficult for me to understand the letter of instruction.
[Nokia Lumia 520 Guides, News, & Discussion] sjrmac:
The instructions are good, you would not probably understand English based video for this anyway
[Nokia Lumia 520 Guides, News, & Discussion] vitalkoooo:
Thank you so much! I will be very grateful to you.

I'm not so familiar with the language as what and where to prescribe.
[Nokia Lumia 520 Guides, News, & Discussion] 60puc:
Hi ) I launched android 14.1 on my lumia 520, and i want say thank you for the last userful link. Now my phone booting up, and before it just only vibrated and could started at mass storage mode. So the situation was, I flashed boot and everything was ok, then i reboot and after that phone's display disabled. fastboot-yes, massstorage mode - ok, but no recovery, no os...

adb boot recovery.img - helps me to see twrp, but no further, no partitions could be flashed as it said (no such partition found), i tried Berkly utility and successful installed at first twrp and then Linage OS,

The question is, if i saw all windows files (in mass storage mode) and made a backup while display wasn't work, can i now restore windows. May be i need to use some stock flies from the utiliy folder (restore)?
[Nokia Lumia 520 Guides, News, & Discussion] 60puc:
Thank you for reply, i just want to see a bsod (:(), after that, i think, everything will be clear.
[Nokia Lumia 520 Guides, News, & Discussion] singhnsk:
Hello guys, I hope somebody can help me. I have a 525 and installed Android ROM in Feb. Now I wish to go back. I can track a backup folder which has the following 3 files:

data.bin

EFIESP.bin

mainos.bin

Can I restore Windows back using these files? Any help will be appreciated.
[Nokia Lumia 520 Guides, News, & Discussion] 60puc:
so, i managed to restore that state, like 3 post earlier. my fw was clean, no settings were set, only a clean os before flashing bootloader. what can i do? i can now restore only android OS, but stock utilites didn't see it.

may be i can flash win10.zip from fastboot now?

i've got it, the system backup it automatically, i just put backup_uefi partition like a uefi.img

I've got bsod, i'm happy
[Nokia Lumia 520 Guides, News, & Discussion] singhnsk:
I always do. Unfortunately, in this case, the instructions were provided by a friend over TeamViewer and I didn't directly interact with this or any other thread. Yep, I can curse him for everything. But nevermind. Is there a workaround that I can "try" to get back to WP8? Making the phone permanently unusable is fine for me.

I also have a 520. Can I transfer the files somehow? What are my risks in this case? BTW thank you for the reply :)
[Nokia Lumia 520 Guides, News, & Discussion] singhnsk:
I have really tried searching and reading through this and various other threads. But out of luck, I did not find a tutorial for those who do not have a backup. I'll be very thankful if you could take some time out of your busy schedule to point me to that post :) I'm sorry if I'm being too demanding.
[Nokia Lumia 520 Guides, News, & Discussion] marcio-msa:
C:\Users\marcio\Desktop\Lumia_restore>adb.lnk push fame_wp_unlocked.gpt /cache/

error: device '(null)' not found

C:\Users\marcio\Desktop\Lumia_restore>adb push fame_wp_unlocked.gpt /cache/

error: device '(null)' not found
[Nokia Lumia 520 Guides, News, & Discussion] marcio-msa:
I want to help

I thought it would be a good idea to help

I do not know if I did it correctly but it would already be a start ne

I created a .bat file

@ECHO off
echo Restore Windows Phone 8 if you have Android installed Windows instructions
pause
echo If you don't have a full backup of your phone yet, stop right here
pause
echo Are you REALLY sure you backed it up?
pause
echo Okay, don't blame me if something goes wrong
pause
imgman64.exe <backup.img> parts
echo Okay
pause
fastboot boot recovery_unsecure.img
echo wait for the cell phone to reboot
pause
adb push fame_wp_unlocked.gpt /cache/
adb shell
sgdisk --load-backup /cache/fame_wp_unlocked.gpt /dev/block/mmcblk0
sync
sync
reboot
echo wait for the cell phone to reboot
pause
fastboot flash TZ parts\TZ.img
fastboot flash SSD parts\SSD.img
fastboot flash RPM parts\RPM.img
fastboot flash WINSECAPP parts\WINSECAPP.img
fastboot flash MODEM_FSG parts\MODEM_FSG.img
fastboot flash MODEM_FS1 parts\MODEM_FS1.img
fastboot flash MODEM_FS2 parts\MODEM_FS2.img
fastboot flash UEFI_BS_NV parts\UEFI_BS_NV.img
fastboot flash UEFI_NV parts\UEFI_NV.img
fastboot flash UEFI_RT_NV parts\UEFI_RT_NV.img
fastboot flash UEFI_RT_NV_RPMB parts\UEFI_RT_NV_RPMB.img
fastboot flash PLAT parts\PLAT.img
fastboot flash MMOS parts\MMOS.img
fastboot flash EFIESP parts\EFIESP.img
fastboot flash UEFI parts\UEFI.img
fastboot reboot
Phone will show smiley of death, that's normal, From this point, you can use WDRT to flash a clean WP
pause
echo click to close
pause
[Nokia Lumia 520 Guides, News, & Discussion] asn535:
Please any one provide a way to install windows phone back without backup i lost my backup please
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
Please read the note in the OP!
[Nokia Lumia 520 Guides, News, & Discussion] ThatHesus:
Error 8400 (0x14820)

Hi Everyone.

I have one problem. My PC see my lumia 520 as Android Bootloader Interface and Thor2 shows me this:

"THOR2 1.8.2.18

Built for Windows @ 13:36:46 Jun 16 2015

Thor2 is running on Windows of Version 6.2

thor2 -mode uefiflash -partitionname MainOS -partitionimagefile parts\MainOS.img

Process started Sun Oct 22 22:26:17 2017

Logging to file C:\Users\Kamil\AppData\Local\Temp\thor2_win_20171022222617_ThreadId-3588.log

Debugging enabled for partitionimageflash

Initiating flash of partition image operations

WinUSB in use.

Operation took about 30.00 seconds.

THOR2_ERROR_CONNECTION_NOT_FOUND

THOR2 1.8.2.18 exited with error code 84000 (0x14820)"

How can I solve it?
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
Reboot your phone with Fastboot and then run thor2
[Nokia Lumia 520 Guides, News, & Discussion] ThatHesus:
Phone is already in fastboot mode, that's the problem. When I trying to boot with:

adb reboot fastboot (using adb mode by command: fastboot boot recovery_unsecure.img)

phone is booted in this mode. I can't do anything more
[Nokia Lumia 520 Guides, News, & Discussion] VladimirDev:
Stuck after first command

The cmd has printed

< waiting for device >

after the

fastboot boot recovery_unsecure.img

and the phone isn't doing anything. I've tried switching to mass storage, still nothing. Any tips?

I do have a backup of my phone.

---------- Post added at 07:33 PM ---------- Previous post was at 07:05 PM ----------

Nevermind, I was browsing through this thread and came up that I need to hold down the volume down key in order to contrinue. You should point that out. :)
[Nokia Lumia 520 Guides, News, & Discussion] lukam01:
Hi, all was good untill I got stuck in uefi2lk, no TWRP installed. The phone is now recognized by computer as unknown android device. Everything I do in command window ends by "waiting for device", the screen of the phone is black, it only vibrates when connected to computer. I'm stuck, please help
[Nokia Lumia 520 Guides, News, & Discussion] sjrmac:
Have you heard of reconnecting the battery? Helps
[Nokia Lumia 520 Guides, News, & Discussion] lukam01:
I have reconnected the battery and changed usb ports and cables at least 10 times.. Any other advice, please? I'll try on a different laptop now

---------- Post added at 07:22 AM ---------- Previous post was at 06:23 AM ----------

worked on a different computer running windows 7! Thanks for the tutorial OP and Sam thanks for replying
[Nokia Lumia 520 Guides, News, & Discussion] lukam01:
I followed the youtube tutorial for installing android. I think it might've been a dead battery. I charged it a bit before trying on a different computer.
[Nokia Lumia 520 Guides, News, & Discussion] Paleskin:
I flashed all parts succesfully, then I had no idea what u mean by "flash uefi too" ?
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
[MENTION=4857012]feherneoh[/MENTION] means that you have to flash UEFI partition at the end before rebooting.
[Nokia Lumia 520 Guides, News, & Discussion] Paleskin:
I skipped it before booting, since I have no clue to do that, could u help ?
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
really need a video on this one.

----------------------------------------------------------------------------------------------------------------------------------------------------------------

the instructions aren't as good as the ones that helped the android on our Lumia devices. Since my phone is active only for an hour at most then it won't power up but charging would show 100% battery so I've decided to rollback to windows to at least utilize as a portable hotspot device but the instructions here

{

Create a folder somewhere that we can use

Copy the backup to that folder

extract the zip I attached to this folder

}

I cant extract the zip as it is empty, these instructions are confusing please make a video like Sam's it was really good!
[Nokia Lumia 520 Guides, News, & Discussion] trashmaster76:
1. Don't quote the whole OP

2. I've just copied this from [MENTION=4857012]feherneoh[/MENTION]

3. I don't have time
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
file cannot be opened message from imgman64.exe

Sorry, I just noticed that I was trying to look for '.zip' file 'Working Folder' attached to 'Android For Lumia' folder and it was empty so I got confused. In the post, it was mentioned that a zip file was attached and the names below had '.exe' '.img' and '.gtp' file so I didn't recognize while reading that post, the zip file was mentioned in the older post for the same and I tried to run the commands but it shows this message. Is that safe or a problem? should I proceed? [MENTION=7887107]trashmaster76[/MENTION] [MENTION=4857012]feherneoh[/MENTION]
[Nokia Lumia 520 Guides, News, & Discussion] Stiward2702:
HELP!

you could share the tutorial the truth the tried but in the scepter I pass the sale access denied I do not know what to do
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
[MENTION=4857012]feherneoh[/MENTION] I tried that and still, it's the same. I have made a copy without whitespaces (just in case) and i tried running that too, the output is the same, I want to know what should be the output and what is wrong with what I am doing. I have attached the screenshots and thank you for helping.
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
FAILED (remote: size too large)

[MENTION=4857012]feherneoh[/MENTION] I get this error at MMOS 'FAILED (remote: size too large)' and rest all of the other stuff went well.

screenshot:
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
it only shows smiley of death now and the nokia logo

[MENTION=4857012]feherneoh[/MENTION] So I have this Nokia logo after which a blue screen with a smile of death even after that error cuz I didn't know how to revert back... so what to do now? Can I flash a windows phone OS or is it possible to repeat the Android method and try again? when attached to a power source its stuck in a loop of Nokia logo and smiley of death.
[Nokia Lumia 520 Guides, News, & Discussion] Abhishek Prem:
At this stage please try to install new software from Windows device recovery tool
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
[MENTION=7994761]Abhishek Prem[/MENTION], I cant use WDRT directly as the device won't get detected I repeated the procedure to get TWRP on Lumia so I could start again and I encountered this message ( [MENTION=4857012]feherneoh[/MENTION] )(screenshot):

and I don't know what should I do after this... I am sure proceeding will cause the same situation.

EDIT: so I proceed anyway and now I am stuck using thor2 flashing where if I try to flash FFU file from any drive it shows 'access denied'

screenshot:
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
I am back to Windows Phone :)

Now that I am back to windows phone, it seems like a matter of 20-30 minutes to go back and forth from windows to android and I am very grateful for this interesting project and all the help you provided. I would like to know if you guys are still on this project and Thank you again :)
[Nokia Lumia 520 Guides, News, & Discussion] ZekromInfinity:
Hello,

In my opinion, there are 4 major issues that are most important:

1. Cellular Support

2. Battery Fix (the battery is always 100% and after an hour it would shut down and needs charging when I start charging after that it still shows 100%)

3. Gapps

4. Performance (like at least run 2 apps and switch between them smoothly)

If these are fixed I don't think anyone will go back to Windows Phone (Like Bill Gates lol)
[Nokia Lumia 520 Guides, News, & Discussion] VARUNKANNADIGA:
Can anyone tell me what to extract zip attached

extract the zip I attached to this folder

Download these into the folder:

imgman.exe

Original partition table

recovery_unsecure.img
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
help my lumia 520 is stuck in boot loop

is currently in android
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
update will no longer turn on
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
well I actually left it plugged in and turned it off to charge and it did not turn on the day after, and it would loop after approximately 16 seconds of the Nokia logo, before the boot loop I tried to install facebook messenger through apk form and it loaded until the phone shutdown
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
I tried the stuff you said and well it went back to its bootloop
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
yea probably...

I think the only way to fix it is to flash the default firmware or something but I don't know how to...
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
i guess charging it using my pc was a bad idea :)

i moved it to a wall outlet and it booted to android

thank you for your help :)
[Nokia Lumia 520 Guides, News, & Discussion] Riezo:
i have a problem if u can help me

lumia 520

"Recovery

your pc needs to be repaired"

0xc00014c
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
please run windows device recovery tool(WDRT)

then proceed with the recovery
[Nokia Lumia 520 Guides, News, & Discussion] Riezo:
"operation ended with failure

the software is not correctly signed or not signed for this phone"
[Nokia Lumia 520 Guides, News, & Discussion] yamataximoto:
switch it to flashing mode and proceed from there
[Nokia Lumia 520 Guides, News, & Discussion] Riezo:
If i press to any button ....appears the same error
[Nokia Lumia 520 Guides, News, & Discussion] Riezo:
i wanted to return my winph but i couldn't so i tried to flash by Windows Device Recovery Tool

it downloaded a file but he can't install firmware so i tried another program and i put R-914

when the flash ended the phone has been reboted and the problem appeared i think the recover and the the os were deleted

0xc00014c
[Nokia Lumia 520 Guides, News, & Discussion] GAmerMIxer1617:
can you help mee plz plz

i havent understand plz can you tell me step by step becuse iam not a pro in thes parts i need your help tell me what to do the phone booted to twrp but the touch not working then i flashed cwm but it cant flash any thing

with adb sideload i try 4 roms but nothing and i wasnt now that my digitazer is not the original so i have to return to windows thanks for you hard worck and i need your help thanks
[Nokia Lumia 520 Guides, News, & Discussion] loadlassan:
please make a video

please make a video i am unable to follow these instructions
[Nokia Lumia 520 Guides, News, & Discussion] Deepak00720601714:
If I have the Windows Phone Backup as a ZIP file, will I be able to restore?
[Nokia Lumia 520 Guides, News, & Discussion] dung11112003:
??? what tool did you use to backup your devices?
[Nokia Lumia 520 Guides, News, & Discussion] dung11112003:
yeah....
[Nokia Lumia 520 Guides, News, & Discussion] Deepak00720601714:
Ok Man!! Thanks;)
[Nokia Lumia 520 Guides, News, & Discussion] dung11112003:
The true command is sgdisk --load-backup /cache/fame_wp_unlocked.gpt /dev/block/mmcblk0

(you wrote a wrong file name "mmcb1k0" instead of "mmcblk0"
[Nokia Lumia 520 Guides, News, & Discussion] Xphones:
;) too tired i guess lol , will try again now , thanks :D

---------- Post added at 06:54 PM ---------- Previous post was at 06:20 PM ----------

everything worked fine , my Nokia 520 RM-14 now is back on Windows Phone , many thanks
[Nokia Lumia 520 Guides, News, & Discussion] oicrew:
fame_wp_unlocked.gpt is for Lumia 520.

can it be used to restore my 720 lumia?

if not, how can i get it back. because I do not have zeal_wp_unlocked.gpt
[Nokia Lumia 520 Guides, News, & Discussion] oicrew:
I do not use Linux OS, I use Windows OS 8.1.

is there a solution other than using linux?

so do you mean flash with FFU 520 or Lumia 720?

thank you