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

GalaxyUser

Senior Member
Jun 2, 2010
718
3,716
0
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:

















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:


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


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:


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:


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


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


5. Clic on this icon:

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


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




8. You will see this:


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

GalaxyUser

Senior Member
Jun 2, 2010
718
3,716
0
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,716
0
Aix-en-Provence

zardaman

Member
May 6, 2013
36
24
0
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
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
0
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
 

Muhammad_Ali

Member
Jun 15, 2013
13
0
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...!