[GUIDE] How to extract Huawei firmware (update.app)

Search This thread

GalaxyUser

Senior Member
Jun 2, 2010
718
3,717
Aix-en-Provence
How to extract Huawei firmware / update.app


I wondered how to extract the firmware files Huawei, since with the dsixda's Android Kitchen I could not do it. After some research I finally found and I share my method in this thread.
This method works for the newer firmware (i tested on JellyBean Emotion UI 1.5) but should also work on a lot of others version.
Please for all improvements, send me a MP. I’m french and it’s possible for me to misspellings

This thread is in constant progress thanks to your feedback..​



I. What you will need



II. Download and install ActivePerl

1. Download ActivePerl
2. Install it:


257120731.png


501646142.png


668285883.png


820209554.png


894470805.png


145202936.png


380670207.png



3. It's okay for ActivePerl


III. Install script to extract update.app

1. Create a new folder on your Desktop named "Huawei ROM extract"
2. Download this script (I modified it to work properly) in the folder "Huawei ROM extract"
3. Put your update.app in the same folder
NB: It have to be named update.app !!!
4. So you folder look like this:

119082448.png

5. Double click on split_updata.pl
6. This window will appear, just wait:

270591589.png

7. When it finish the window is closed automaticaly
8. In your folder this is a new folder named "output", open it
9. You will see some files like:

8294977310.png

10. It's okay for extraction


III. Find system, boot and recovery files

1. Download my script HuaweiFinder in the folder "Huawei ROM extract"
2. Execute my script with a double click, youwill see this windows:

1906043311.png

3. It's done, go into ouput folder and you will see some files:

2006861512.png

boot.img is the kernel files
recovery.img is the recovery
system.img is the rom
others files are some others system files


III. Open and extract img

1. Now download Android ICS JB EXT4 imagefile unpacker
2. Extract it in the folder "Huawei ROM extract"
3. Open ext4_unpacker
4. Double clic on ext4_unpacker.exe

5752007913.png

5. Clic on this icon:
5070577914.png

6. Go to the output folder and select system.img clic on "Open"

7216531315.png

7. Now select all files, right clic and clic on "Extract"

8156893016.png


6195477617.png

8. You will see this:

9518189918.png

9. It's okay the ROM is extracted where you have choosen !!



I hope this guide will be helpful!! And don't forget to thanks :)

GalaxyUser
 

Zittoro

Senior Member
Feb 26, 2013
311
144
Thanks for the great guide, but I have a problem executing split_updata.pl. when i double click it, a terminal just opens and closes itself in less than a second but there is no change. I installed the active perl in the link. Any idea?

Edit:
If i type
Code:
perl split_updata.pl update.app
on terminal, it gives me
Code:
Unrecognised file format. Wrong identifier.
And it makes a folder named "output" in the directory, but nothing is in there.
The update.app was in the update.zip from B522 to B601 for ascend d1.
 
Last edited:

misha84

Member
Mar 10, 2011
26
7
great tread!
but for ascend y300 don't work very well..
it dont' recognize boot.img and recovery.img
 

GalaxyUser

Senior Member
Jun 2, 2010
718
3,717
Aix-en-Provence
Hi,

Thanks for the great guide, but I have a problem executing split_updata.pl. when i double click it, a terminal just opens and closes itself in less than a second but there is no change. I installed the active perl in the link. Any idea?

Edit:
If i type
Code:
perl split_updata.pl update.app
on terminal, it gives me
Code:
Unrecognised file format. Wrong identifier.
And it makes a folder named "output" in the directory, but nothing is in there.
The update.app was in the update.zip from B522 to B601 for ascend d1.

It's stange... Which is the size of the file ?

great tread!
but for ascend y300 don't work very well..
it dont' recognize boot.img and recovery.img

Send me boot.img and recovery.img, or give me the rom link. I will try to fix that
 

GalaxyUser

Senior Member
Jun 2, 2010
718
3,717
Aix-en-Provence

zardaman

Member
May 6, 2013
36
24
Aizawl
Thanks so much for sharing this. But I got a bit of a problem where you execute huawei finder script to find the boot, recovery and system image. Mine got only the system image and not the boot and recovery image. The update.app I extracted from is 389mb. Can you please clarify me on this? Where did I do wrong? I believed I followed every steps as shown.

Sent from my T8620 using xda premium
 

kkd25

New member
Jul 13, 2013
3
0
I am having problem opening .img files as the ext4_unpacker.exe returns wrong file format everytime I tried to open it. I have redownload this exe application many times but still same result

Any solutions?
 

irex102

Member
Mar 23, 2013
34
5
Ottawa
What happens when updating?

I'd like to know what happens when updating because I have a stock update.app for my phone u8681 wind and it refuses to finish step 2/2 and always fails. I was thinking maybe I'd modify the update package so that it would work but first I need to know which checks it's failing at.

Also I want to know how to repack the modified update.app
 

Mr-Dutch

Senior Member
May 25, 2010
61
2
Brabant
I've got the same issue with boot.img and recovery.img.
Im using the full rom for Huawei Ascend Mate.
Btw, everything else worked!
Thanks!
 

Muhammad_Ali

Member
Jun 15, 2013
13
0
I also tried your method of extraction but got an error...!
I could not find the boot.img and the recovery.img files from the original firmware...!
could you please share the original firmware with me and any of the custom rom if supported...?

waiting for your reply...!
 

mvaculisteanu2

New member
Sep 22, 2013
1
0
u8510 Fail

I tried it with a u8510 rom and it fails at phase III.6. It says "Unknown file format" when openning the file
 

achik

New member
Dec 25, 2012
1
0
need to help

how to pack system.img to UPDATE.APP back..?help me plszz... thanks :good:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 126
    How to extract Huawei firmware / update.app


    I wondered how to extract the firmware files Huawei, since with the dsixda's Android Kitchen I could not do it. After some research I finally found and I share my method in this thread.
    This method works for the newer firmware (i tested on JellyBean Emotion UI 1.5) but should also work on a lot of others version.
    Please for all improvements, send me a MP. I’m french and it’s possible for me to misspellings

    This thread is in constant progress thanks to your feedback..​



    I. What you will need



    II. Download and install ActivePerl

    1. Download ActivePerl
    2. Install it:


    257120731.png


    501646142.png


    668285883.png


    820209554.png


    894470805.png


    145202936.png


    380670207.png



    3. It's okay for ActivePerl


    III. Install script to extract update.app

    1. Create a new folder on your Desktop named "Huawei ROM extract"
    2. Download this script (I modified it to work properly) in the folder "Huawei ROM extract"
    3. Put your update.app in the same folder
    NB: It have to be named update.app !!!
    4. So you folder look like this:

    119082448.png

    5. Double click on split_updata.pl
    6. This window will appear, just wait:

    270591589.png

    7. When it finish the window is closed automaticaly
    8. In your folder this is a new folder named "output", open it
    9. You will see some files like:

    8294977310.png

    10. It's okay for extraction


    III. Find system, boot and recovery files

    1. Download my script HuaweiFinder in the folder "Huawei ROM extract"
    2. Execute my script with a double click, youwill see this windows:

    1906043311.png

    3. It's done, go into ouput folder and you will see some files:

    2006861512.png

    boot.img is the kernel files
    recovery.img is the recovery
    system.img is the rom
    others files are some others system files


    III. Open and extract img

    1. Now download Android ICS JB EXT4 imagefile unpacker
    2. Extract it in the folder "Huawei ROM extract"
    3. Open ext4_unpacker
    4. Double clic on ext4_unpacker.exe

    5752007913.png

    5. Clic on this icon:
    5070577914.png

    6. Go to the output folder and select system.img clic on "Open"

    7216531315.png

    7. Now select all files, right clic and clic on "Extract"

    8156893016.png


    6195477617.png

    8. You will see this:

    9518189918.png

    9. It's okay the ROM is extracted where you have choosen !!



    I hope this guide will be helpful!! And don't forget to thanks :)

    GalaxyUser
    3
    if you mean the size of the update.app i used, it was about 10.26mb

    Edit

    here is the update.zip for the update.app file

    So this is an OTA update and not a full rom ;)


    Will look at
    2
    Hi,

    Thanks for the great guide, but I have a problem executing split_updata.pl. when i double click it, a terminal just opens and closes itself in less than a second but there is no change. I installed the active perl in the link. Any idea?

    Edit:
    If i type
    Code:
    perl split_updata.pl update.app
    on terminal, it gives me
    Code:
    Unrecognised file format. Wrong identifier.
    And it makes a folder named "output" in the directory, but nothing is in there.
    The update.app was in the update.zip from B522 to B601 for ascend d1.

    It's stange... Which is the size of the file ?

    great tread!
    but for ascend y300 don't work very well..
    it dont' recognize boot.img and recovery.img

    Send me boot.img and recovery.img, or give me the rom link. I will try to fix that
    2
    Hello to community.
    For the first - big thanx to developer of this tool and author of this thread-

    Im a newbie here with a poor knowledge of English, but I will try to do my bests to desribe my situation.
    I deleted everything from the phone Huawei G6 - L11 (also know as G6 4G) via TWRP (by mistake) and I would like to recover my phone back. I have downloaded the Perl Package Manager. The first thing I can not find is a mentioned script (split_updata.pl) mentioned on the first page of this theme.
    May I ask someone from the thread to assist me with finding the right script and to provide me a guidance to pass throug this work? Any help will be appreciated.
    Regards
    Jirka
    here is my How-to about extracting huawei update.app. with links added.:
    note that i use ubuntu not windows.

    extract huawei update.app:

    https://github.com/marcominetti/split_updata.pl

    # copy splitupdate, crc and UPDATE.APP files in same folder.
    cd in that folder.

    chmod +x splitupdate
    chmod +x crc
    ./splitupdate UPDATE.APP


    then copy system.img in another folder

    download simg2simg

    https://forum.xda-developers.com/ga...-simg2img-makeext4fs-binaries-mac-os-t2865515

    I was able to use simg2img like this:

    sudo apt install android-tools-fsutils


    simg2img SYSTEM.img SYSTEM.img_raw

    Then you can do
    sudo mkdir /media/<username>/temp

    and afterwards

    sudo mount SYSTEM.img_raw /media/<username>/temp


    open it via terminal such as

    nautilus /media/<username>/temp

    You should be able to copy out of the mounted directory.
    You cannot make dirs and files in the mounted dir
    But if there is a problem you can do

    chown <username>:<username> /media/<username>/temp
    2
    I found the files on my laptop, and decided to upload them to GitHub
    Link: https://github.com/Raphdeumax/Huawei-ROM-Extractor