yashsingh1/xdaforums huggingface dataset:
[G 2014 General] Darksl1der:
Am enthusiast of device-modding, IT-engineer and a big fan of Motorola phones since 2005.

Of course I understand.

I mean this tool could help somehow by taking part of restoring, but supposed to fix issues over WRITABLE memory.

In case of RAW partitions - should delete partition table and recreate then, since plain format refused.

Anyway, my point was about this tool - it's not classic HardBrick state, Bootloader is working thou. We will use flasher if we'll replace eMMC-chip, for example ;)
[Moto G Q&A, Help & Troubleshooting] c0mmando:
Hi all. I own a Moto G xt1032 UK version. (GSM right?)

I was on 4.4.4 Epsilon ROM but I wanted to flash stock 4.4.4, so I used a tutorial I found on youtube that set me up to stock 4.4.2, then I upgraded to 4.4.4 and THEN there was another update to 5.0.1. So as you can guess, I upgraded to lollipop and that was it - bootloop. I have tried flashing other roms through fastboot and nothing worked, I get an error when I flash ''system'' that says ''image is too large'' once all is done, phone restarts and its stuck on bootloop once again. The bootlogo changes when I flash different rom etc. But I don't know what to do, any ideas? :/ I have also tried to flash a custom recovery and sideload the Epsilon ROM but I only get an error in my command line that says no device connected after I hit the command. Any suggestions guys? I appreciate any sort of help, thanks guys.

I'll also add that I think I have the 41.18 bootloader if it helps (it says so in the bootloader settings)
[Moto G Q&A, Help & Troubleshooting] audit13:
When flashing a ROM in fastboot, are you also flashing the gpt file?
[Moto G Q&A, Help & Troubleshooting] c0mmando:
Yeah. I flash everything there's to flash as all tutorials instruct.
[Moto G Q&A, Help & Troubleshooting] audit13:
To try and get your phone up and running, flash a custom recovery from fastboot. Once the recovery image has been flashed, use the phone's volume buttons to boot into recovery. If you can get into recovery, try and flash a custom ROM.
[Moto G Q&A, Help & Troubleshooting] c0mmando:
Ah, I forgot to add. When I attempt to flash anything from my storage it says some sort of error coun't mount /sdcard and others when the recovery opens up. I tried flashing other recoveries, TWRP, CWM both show the exact same errors..Can't mount SDcard etc. :/ That is why I tried the sideload method which didn't work for me either.
[Moto G Q&A, Help & Troubleshooting] audit13:
You're flashing recovery for the falcon?
[Moto G Q&A, Help & Troubleshooting] c0mmando:
Yes..for falcon. I've done it a bunch of times before, however I never had the unable to mount error in the recovery..
[Moto G Q&A, Help & Troubleshooting] audit13:
I don't have my moto g on me but I found Philz Touch (based on CWM) worked besr for me after i switched back from GPE to CM12. I was getting weird error messages in TWRP.
[Android Q&A, Help & Troubleshooting] :
Q&A for [WINDOWS][UTILITY][TOOL] Ocasie - Extract System.img in seconds

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [WINDOWS][UTILITY][TOOL] Ocasie - Extract System.img in seconds. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Windows Phone 8 Development and Hacking] Nokser:
Flash *.ffu image on Windows Phone 8.x Device

All try when Bootloader is unlock in my device.

It works for WP Devices:

-- Huawei Ascend W1

-- Huawei Ascend W2

-- Nokia Lumia 920 (@pdaimatejam)

Exam. MS

Use the flashing tools provided by Microsoft

FFU Flash Mode - WP8 UEFI USB Simple I/O (Vol+)

-- exam. [TUT]How to install drivers for update Huawei Windows Phone[WIN 8/8.1/10TP]

Split Huawei APP image file

<-- Use if u have *app file [Huawei Device]

-- copy your file *.app in this same dir.

-- split image with split.bat

-- ...and copy file from output dir to general.

Example flash FFU Image in Huawei Ascend W1-U00.

-- All the necessary files in the attachment.

-- Extract, and copy your file *.ffu in this same dir.

-- If the file has a different name, change to flash.ffu

-- ...and run flash.bat

Cmd expected result:

Logging to ETL file: C:\Users\MCodingSet\AppData\Local\Temp\ffutool102
Found device:
Name: Qualcomm.MSM8230.FLUID.1.2
ID: 00000045-3169-7272-0000-000000000000
Flashing: flash.ffu
[==================================================] 100,00% (6,99
Transferred 1215,50 MB in 310,29 seconds, overall rate 3,92 MB/s.

Useful - disable check ID Platform Image FFU

Example OEMInput:

...
<Features>
<Microsoft>
<Feature>DISABLE_FFU_PLAT_ID_CHECK</Feature>
</Microsoft>
...
</Features>

Cmd expected result (when DISABLE_FFU_PLAT_ID_CHECK, etc. ):

Devices Found: 1
--------------------------------------------------
Name : Huawei.MSM8230.U8835.1.0
ID : 00000045-f15b-8211-0000-000000000000

Screenshot - Update Huawei FFU with ImageDesigner

View attachment 3187176

View attachment 3187177

Useful info for developers - Basic Security Catalog FFU [HashTable.blob]

View attachment 3189473

Windows Imaging and Configuration Designer (Windows ICD) - Support FFU Image

Windows Assessment and Deployment Kit (Windows ADK) for Windows 10 Technical Preview

Deployment Imaging Servicing Management (DISM) Cmdlets

Everything you do at your own risk.!!!

Have Fun!
[Windows Phone 8 Development and Hacking] reker:
So bro, you got OEM access on MSDN?
[Windows Phone 8 Development and Hacking] beka909:
works on nokia ? I need to flash att version to different one (debrand)

---------- Post added at 03:53 PM ---------- Previous post was at 03:51 PM ----------

please add that program and I will try
[Windows Phone 8 Development and Hacking] Nokser:
It does not matter in this case. :)

Not tested on these devices.

Please, send a PM to my friend @pdaimatejam
[Windows Phone 8 Development and Hacking] beka909:
where to download FFUTOOL ?

---------- Post added at 05:46 PM ---------- Previous post was at 05:25 PM ----------

tool says no device is connected
[Windows Phone 8 Development and Hacking] pdaimatejam:
Nokser I was able, thanks

Nokia Lumia 920

Thank you my brother too mate :good:
[Windows Phone 8 Development and Hacking] pdaimatejam:
*.ffu dum and Build?
[Windows Phone 8 Development and Hacking] pdaimatejam:
command:

1-command: D:\Downloads\059Q9G8>ffutool -serial

2-command: D:\Downloads\059Q9G8>ffutool -uefiflash flash
[Windows Phone 8 Development and Hacking] beka909:
Please tell me how to understood flasher that the phone is connected and how to flash ffu on lumia 925
[Windows Phone 8 Development and Hacking] beka909:
this is error flashing non-att ffu on att mobile lumia 925 any suggestions ?
[Windows Phone 8 Development and Hacking] Nokser:
Bootloader is locked, or more info and errors code table in MS

Example:

"The first hexadecimal number is an event code that indicates the type of flashing failure.

The following table provides a description of the FFU tool flashing errors."
[Windows Phone 8 Development and Hacking] beka909:
0x16

The platform ID specified in the image does not match the ID of the device to be flashed.

the error is the same as flashing with Nokia Care Suite

so how to bypass that check about ID ?

or how to modify the ffu file in such situation that ID be the same

don't you have ATT phone to try flashing it ?
[Windows Phone 8 Development and Hacking] Nokser:
no, I have no.
[Windows Phone 8 Development and Hacking] reksden:
Huawei w2 supported?

huawei w2-u00 have update.app? hwdiag can unlock bootloader.
[Windows Phone 8 Development and Hacking] beka909:
what a pity. I need to flash a ffu which is not ATT branded...
[Windows Phone 8 Development and Hacking] Nokser:
what kind of Nokia model?
[Windows Phone 8 Development and Hacking] beka909:
nokia lumia 925 rm-893

NCS doent work for me.
[Windows Phone 8 Development and Hacking] snickler:
[MENTION=5371326]hawkeye29[/MENTION], this may be the tool that would possibly allow you to install an AT&T ROM back on your 920. Give it a shot.
[Windows Phone 8 Development and Hacking] HATA28:
[MENTION=890692]Nokser[/MENTION]

Great work. And thanks for providing ffutool!

Is there anyway MassStorage could be enabled on Lumia phones?

And by that I mean real MassStorage; access to the phones C: drive
[Windows Phone 8 Development and Hacking] ngame:
I try it but didn't work . maybe I did something wrong I don't know .

but in my tries it didn't work

if Mass Storage works surely it will be very easy to enable *every* registry hacks
[Windows Phone 8 Development and Hacking] hutchinsane_:
but you won't be able to just flash an edited rom to retail lumias, right?
[Windows Phone 8 Development and Hacking] TheIronMaiden:
I will, thanks for looking out
[Windows Phone 8 Development and Hacking] ngame:
If you got able to flash an edited Rom phone will prevent to boot up because of secure boot sign checks .

It *MAY* brick your phone.
[Windows Phone 8 Development and Hacking] beka909:
is not it possible to Debrand att phone ? :(
[Windows Phone 8 Development and Hacking] ngame:
Sorry , I'm from Iran and here we have no operator locked phone and all phones are sim unlock

So I don't know about how AT&T locked their phones rom and how to unbrand them .
[Windows Phone 8 Development and Hacking] beka909:
I don't mean sim lock I mean that I need European Firmware for 4G LTE support and ATT locks ffu and it is getting error when flashing
[Windows Phone 8 Development and Hacking] reksden:
huawei w2-u00

i can update rom on huawei w2-u00 ? huawei have ffu and app. but i havn't bootloader((

Run "HWDiagnosticApp (##2846579#) ", turn on "Diag settings" and reset phone.

huawei w1 -u00 have update firmware, without qpst.

I had ffu for huawei w1 year ago
[Windows Phone 8 Development and Hacking] Nokser:
I have method unlock flash FFU Mode without hack bldr.

If I understand correctly, your statement ;)
[Windows Phone 8 Development and Hacking] Nokser:
may be useful ;)
[Windows Phone 8 Development and Hacking] snickler:
Guys,

I removed all references to that attachment that was just posted. As the attachment linked to copyrighted material that WILL get XDA in trouble, it's for the best that it goes bye bye. I understand that we want to do things that could open up the phone to greater possibilities, but when it involves public posting of copyrighted tools that aren't available to the regular user then it's a route that shouldn't be referenced.

I hope you all understand this decision and decide to refrain from re-posting the tool here.

Regards,

snickler
[Windows Phone 8 Development and Hacking] ck32:
I am also looking for a way to flash a non ATT firmware on an ATT Lumia 635. I read your message too late for me ! Attachment was removed ! :crying:
[Windows Phone 8 Development and Hacking] reksden:
[IMG="thank you for programs)"]https://pp.vk.me/c623725/v623725228/1f5d2/RUF-vQOBeEQ.jpg[/IMG]

thank you program, but have error:((

0x8003081a
[Windows Phone 8 Development and Hacking] pdaimatejam:
change ffu.ffu select
[Windows Phone 8 Development and Hacking] WojtasXda:
In the archive are packages for DISABLE_FFU_PLAT_ID :)
[Windows Phone 8 Development and Hacking] ck32:
Thank you WojtasXda for this help. Can you explain us how to use those files to disable FFU ?
[Windows Phone 8 Development and Hacking] Nokser:
Exam.

...
<Features>
<Microsoft>
<Feature>DISABLE_FFU_PLAT_ID_CHECK</Feature>
</Microsoft>
...
</Features>
...

Useful info for developers

;)

Basic Security Catalog FFU - HashTable.blob
[Windows Phone 8 Development and Hacking] tonbonz:
Found in Flash_mmos.FFU.

Sample...

[HKEY_LOCAL_MACHINE\BCD\Objects\{0d1b5e40-42f1-41e7-a690-8dd3ce23cc11}\Elements\12000002]
"Element"="\\windows\\system32\\boot\\developermenu.efi"

EFIESP.zip 3.2 MB

https://mega.co.nz/#!7lUWHI6Q!rQi6GyMDd_0FSHnJE2w3YbsIH5fsickjlQJYJ0h8qSs
[Windows Phone 8 Development and Hacking] Nokser:
Windows Imaging and Configuration Designer (Windows ICD)/Etc - Support FFU Image

Windows Assessment and Deployment Kit (Windows ADK) for Windows 10 Technical Preview
[Windows Phone 8 Development and Hacking] Nokser:
General Information:

Each file modification FFU normally work.

Unless you are doing something against the rules of the device.

If you change the registry entries, and you upload the modified file FFU to the device, then is booting up properly.

Give your results! :)

Works on:

--> Huawei Ascend W1-U00

--> Huawei Ascend W2-U00

Have Fun!
[Windows Phone 8 Development and Hacking] reksden:
Are you flashing w2-u00 in 9008?

i have not bootloader for huawei w2-u00. have you bootloader for w2?
[Windows Phone 8 Development and Hacking] Nokser:
My earlier post
[Windows Phone 8 Development and Hacking] beka909:
how to save modified image ?
[Windows Phone 8 Development and Hacking] beka909:
:confused:

please someone tell me step by step how to edit and save modified image
[Windows Phone 8 Development and Hacking] DilanChd:
Hi,

I tried two things:

1- Flash a stock FFU (059R8T5) on my NL620 (RM-846) ;

2- Mod. this FFU file.

None of the two things worked.

For 1:

I have downloaded and installed all the necessary softwares (Windows ADK, Disable Driver Signature Enforcement, etc). I tried to flash my two Lumia 620, on two different PCs (W10 and W8.1, both in x64) with different USB cable (just in case). As I power my L620, volume up, both my PCs detect my L620 as QUALCOMM MSM DEVICE, except that there is an error because apparently this driver is not installed. So, either the command line or FFU Designer, my device is not detected.

Screenshot: http://img11.hostingpics.net/pics/193203anaheiim1.png

For 2:

While I would like to modify my file FFU, FFU Designer shows me an error.

Screenshot: http://img11.hostingpics.net/pics/396938anaheiim2.png

- - - - - - -

Any idea?

Thanks,

Dylan
[Windows Phone 8 Development and Hacking] Dryingfish:
It`s strange , my win8.1&win10 can install the driver online automatically. I`m in East Asia. Have you checked "install driver online" option ?

I don`t know programming, but I really wana know how to modify .ffu image before WP10 comes out. Just hate the previsioned xaps .
[Windows Phone 8 Development and Hacking] DilanChd:
Yes, I tried, but he said "Windows found no driver for your device".
[Windows Phone 8 Development and Hacking] Dryingfish:
You may try it. Just click the button nearby the bigger blue one to download the driver :http://pan.baidu.com/s/1bnm3TYR

The driver comes from a Chinese Webpage talking about ffutool , I don`t know if it can help you . I didn`t try it before because I don`t need it.
[Windows Phone 8 Development and Hacking] Nokser:
Example for drivers:

[TUT]How to install drivers for update Huawei Windows Phone[WIN 8/8.1/10TP]
[Windows Phone 8 Development and Hacking] DilanChd:
Ok, works. Flash success. Thanks all and thanks to [MENTION=1622319]pdaimatejam[/MENTION] (I'll send you a PM) :D :good:
[Windows Phone 8 Development and Hacking] beka909:
error modifying

please tell me how to mod ffu image and bypass ffu id check :confused:
[Windows Phone 8 Development and Hacking] beka909:
where to place that files ?
[Windows Phone 8 Development and Hacking] ngame:
Maybe this document could be helpful

https://dev.windowsphone.com/en-US/OEM/docs/Phone_Bring-Up/Optional_features_for_building_images
[Windows Phone 8 Development and Hacking] ngame:
For 2:

While I would like to modify my file FFU, FFU Designer shows me an error.

Screenshot: http://img11.hostingpics.net/pics/396938anaheiim2.png

I have the same problem .

how to solve it ?

I tried to put my phone in mass storage mode once again .

turn phone off -> hold volume up and power keys while you see a gear and a thunder on your screen .

use FFUTool -massstorage command . cmd works for a little while then return you unable to reset in mass storage mode .

maybe there's a trick like DISABLE_PLAT_ID_CHECK to enable MassStorage mode on Retail ?
[Windows Phone 8 Development and Hacking] beka909:
my goal is to flash ATT device with non-ATT firmware, the problem is ID CHECK and I need to disable it and ..

so do I have to mod ffu which I want to flash on Device or do something different ?

how to change files in ffu please tell me the process step by step in PM :confused:
[Windows Phone 8 Development and Hacking] ngame:
you don't need to modify ffu file .

as I found some month ago there's a zip compressed file in the ROM files witch include some packages with reg keys and some IDs .

I think you need to modify them but I'm looking for a Lumia 520 to try modifying these packages and flash L520 and see the results .

I can't RISK on my lumia 920 in this time because it's my only phone and I have not enough money to buy another one if it got broken .
[Windows Phone 8 Development and Hacking] beka909:
sounds interesting :)

I also have L520 but not good at changing ROM files...

if you have ideas I can try It and please tell me In PM
[Windows Phone 8 Development and Hacking] djamol:
Bad news, Microsoft has a pull down the resources which you mentioned in first post.

Can you pm me .ISO file you have downloaded ?

at least "Windows ICD" 3 GB of stuff ?

1. Deployment Tools.

2. Windows PE

3. Designer ICD.

4. USMT

Edit: It is moved to dev center.
[Windows Phone 8 Development and Hacking] Dryingfish:
Windows ADK for Win10 TP

HERE?:

page:

http://dev.windows.com/en-us/featured/hardware/windows-10-hardware-preview-tools

Dload Link:

http://go.microsoft.com/fwlink/p/?LinkId=526740
[Windows Phone 8 Development and Hacking] Nokser:
In the last update W10, we have support FFU Image in DISM:

Example:

Deployment Image Servicing and Management tool
Version: 10.0.10049.0

DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
{servicing_command} [<servicing_arguments>]

DESCRIPTION:

DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.

GENERIC IMAGING COMMANDS:

/Split-Image - Splits an existing .wim or .ffu file into multiple
read-only split WIM/FFU files.
/Apply-Image - Applies an image.
/Get-MountedImageInfo - Displays information about mounted WIM and VHD
images.
/Get-ImageInfo - Displays information about images in a WIM or VHD
file.
/Commit-Image - Saves changes to a mounted WIM or VHD image.
/Unmount-Image - Unmounts a mounted WIM or VHD image.
/Mount-Image - Mounts an image from a WIM or VHD file.
/Remount-Image - Recovers an orphaned image mount directory.
/Cleanup-Mountpoints - Deletes resources associated with corrupted

FFU Security header, byte count: cbSize

#define SECURITY_SIGNATURE "SignedImage "

typedef struct _SECURITY_HEADER
{
UINT32 cbSize; // size of struct, overall
BYTE signature[12]; // "SignedImage "
UINT32 dwChunkSizeInKb; // size of a hashed chunk within the image
UINT32 dwAlgId; // algorithm used to hash
UINT32 dwCatalogSize; // size of catalog to validate
UINT32 dwHashTableSize; // size of hash table
} SECURITY_HEADER;

FFU Image header, byte count: cbSize

#define FFU_SIGNATURE "ImageFlash "

typedef struct _IMAGE_HEADER
{
DWORD cbSize; // sizeof(ImageHeader)
BYTE Signature[12]; // "ImageFlash "
DWORD ManifestLength; // in bytes
DWORD dwChunkSize; // Used only during image generation.
} ImageHeader;

More:
[Windows Phone 8 Development and Hacking] tonbonz:
In response to the error in WPID when trying to change the path to modify an existing project. Didn't want to waste space by quoting the image from said post...

Set LastSavedProject value to desired path...Still need to create a Windows Phone Image Designer Project File (wpid.xml)...

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Phone Image Designer\8.1]
"ShowConfirmStartOverDialog"="True"
"LastSavedProject"="C:\\"
"ShowSaveSuccessDialog"="True"
"LastUsedBspConfig"=""
"Locale"=""
[Windows Phone 8 Development and Hacking] reksden:
I do not understand how Huawei B2 (8.0).Can you write inst. forme?

[IMG="this pin switch phone in download mode(9008)"]http://cs619820.vk.me/v619820481/1c4d0/wLuElgVQO8E.jpg[/IMG]

this pin switch phone in down. mode(9008).
[Windows Phone 8 Development and Hacking] Nokser:
Nothing new. I know this for a long time ;)

We re-write bldr, rebuild APP/FFU and flash mod. image, etc...
[Windows Phone 8 Development and Hacking] yuripace:
rewrite bldr..can this post be used to fix the QHUSB-DLOAD brick error?
[Windows Phone 8 Development and Hacking] Nokser:
This as well.
[Windows Phone 8 Development and Hacking] Tiago117:
Hi, is anyone in this thread still active?

I have a problem that might be solved by the knowledge here.

I have a Lumia 1020 with a corrupted boot. A few years back I installed Windows 10 Mobile on it by changing a few registry keys that make it seem like my Lumia 1020 is actually a 950XL. Something like this, using interop tools: https://www.windowsphonearea.com/install-redstone-3-builds-unsupported-windows-phones/

But now my phone bricked itself and is in a constant loop of "Can't find bootable option. Press any key to shut down.". I can't access it, it doesn't start and is always stuck here.

Every time I try to flash anything with WDRT (Windows Device Recovery Tool), WPInternals or thor2 I always get the same error message: signature error and authentication problems. Meaning, the registry values that I once changed are now stopping me from flashing the phone because it is half Lumia 1020 and half Lumia 950XL.

The processes used here seem to be able to help me. I have already downloaded the OEM tools and installed them: https://xdaforums.com/windows-phone-8/development/tools-wdk-wpak-wpdk-cabs-building-wp8-t3183972

Do you know how to use these steps to maybe help me fix my problem? I really like my phone and want it back from the mistake I made.

My guess is to change a value on the FFU so that it matches the phone, flash it and then when the phone is up and running, change the registry files again to it's originals and then flash it again so that it becomes factory default again.

Thanks in advance.
[Windows Phone 8 Development and Hacking] augustinionut:
Flash EFIESP.bin partition from another phone using WPinternals.

For example i unbricked lumia 530 with lumia 830 mainos.bin.
[Windows Phone 8 Development and Hacking] Tiago117:
I don't understand how that's possible. As I am, I can't flash anything on there, not with thor2 or Windows Internals. I always get a missmatch in the beginning saying the FFU doesn't match the hardware (I assume because of the changed registry values). How would I then flash it with an ffu from another phone? What software would I use and how?

Maybe I'm missing something huge but I always get the same error when trying to flash. I love my Lumia 1020 and would love to have it back. :crying:
[Windows Phone 8 Development and Hacking] augustinionut:
Go to flash separate partition section.

Go get efiesp.bin file from another phone.
[Windows Phone 8 Development and Hacking] Tiago117:
I've tried that but it doesn't work. I got the EFIESP partition from the original factory WP8 image but it doesn't work. Could it be because the last OS on the phone was Windows Mobile 10?

Also, on Windows Phone Internals, everything is shown as Blown or in red color and very little can be done there. I always get "header missmatch" errors. And everytime the phone boots it displays the error message: "Unable to find a bootable option". This always interrupts the boot and stops what Windows Phone Internals or thor2 are doing.

How do I get around this? How can I access the phone when the info page in WPI shows all red?

I still think my best option is to find a way to edit the FFU and flash it with thor2 but I don't know how to edit registry files.

Thanks for the replies.
[Windows Phone 8 Development and Hacking] augustinionut:
Efiesp.bin need to be from updated to windows mobile 10 device.

Connect the phone and click interupt the boot process.