[TUT][UTL]Flash and Mod. FFU Image WP 8.x with FFUTool and other[Unlock BL][10/03/15]

DilanChd

Inactive Recognized Contributor
Jun 12, 2012
2,373
1,632
0
Paris
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
 

Dryingfish

Member
Jan 25, 2015
28
5
0
1- Flash a stock FFU (059R8T5) on my NL620 (RM-846) ;
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 .
 
  • Like
Reactions: DilanChd

DilanChd

Inactive Recognized Contributor
Jun 12, 2012
2,373
1,632
0
Paris
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 .
Yes, I tried, but he said "Windows found no driver for your device".
 

ngame

Senior Member
Mar 13, 2012
1,126
545
0
Mashad
Hi,

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
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 ?
 

beka909

Senior Member
Jan 25, 2012
87
3
0
Last edited:

ngame

Senior Member
Mar 13, 2012
1,126
545
0
Mashad
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:
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 .
 

beka909

Senior Member
Jan 25, 2012
87
3
0
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 .
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
 

djamol

Senior Member
Jun 3, 2014
444
405
0
29
Pune
www.twitter.com
Last edited:

Nokser

Inactive Recognized Developer
Mar 18, 2008
3,259
603
0
33
Warsaw
mcodingset.com
In the last update W10, we have support FFU Image in DISM:

Example:

Code:
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

Code:
#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

Code:
#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:

ffutool.png
 
Last edited:

tonbonz

Senior Member
May 14, 2012
243
75
48
BFE
please tell me how to mod ffu image and bypass ffu id check :confused:
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)...

Code:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Phone Image Designer\8.1]
"ShowConfirmStartOverDialog"="True"
"LastSavedProject"="C:\\"
"ShowSaveSuccessDialog"="True"
"LastUsedBspConfig"=""
"Locale"=""
 

Attachments

Last edited:
  • Like
Reactions: pdaimatejam
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone