Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,562 Members 37,571 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
GalaxyUser
Old
#1  
GalaxyUser's Avatar
Recognized Contributor - OP
Thanks Meter 3251
Posts: 681
Join Date: Jun 2010
Location: Aix-en-Provence

 
DONATE TO ME
Default [GUIDE] How to extract Huawei firmware (update.app)

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
The Following 56 Users Say Thank You to GalaxyUser For This Useful Post: [ Click to Expand ]
 
Zittoro
Old
(Last edited by Zittoro; 20th June 2013 at 04:08 AM.)
#2  
Senior Member
Thanks Meter 142
Posts: 311
Join Date: Feb 2013
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.
Device:
-Galaxy Nexus (Toro)
 
misha84
Old
#3  
Junior Member
Thanks Meter 7
Posts: 26
Join Date: Mar 2011
great tread!
but for ascend y300 don't work very well..
it dont' recognize boot.img and recovery.img
 
Aung Thiha
Old
#4  
Aung Thiha's Avatar
Senior Member
Thanks Meter 44
Posts: 129
Join Date: Feb 2013
Location: Mandalay
Quote:
Originally Posted by misha84 View Post
great tread!
but for ascend y300 don't work very well..
it dont' recognize boot.img and recovery.img
as far as I know this method support any huawei device after Ascend P1...
 
GalaxyUser
Old
#5  
GalaxyUser's Avatar
Recognized Contributor - OP
Thanks Meter 3251
Posts: 681
Join Date: Jun 2010
Location: Aix-en-Provence

 
DONATE TO ME
Hi,

Quote:
Originally Posted by Zittoro View Post
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 ?

Quote:
Originally Posted by misha84 View Post
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
The Following User Says Thank You to GalaxyUser For This Useful Post: [ Click to Expand ]
 
Zittoro
Old
(Last edited by Zittoro; 22nd June 2013 at 08:25 PM.)
#6  
Senior Member
Thanks Meter 142
Posts: 311
Join Date: Feb 2013
Quote:
Originally Posted by GalaxyUser View Post
Hi,
It's stange... Which is the size of the file ?
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
Device:
-Galaxy Nexus (Toro)
 
misha84
Old
(Last edited by misha84; 22nd June 2013 at 06:59 PM.)
#7  
Junior Member
Thanks Meter 7
Posts: 26
Join Date: Mar 2011
Quote:
Originally Posted by GalaxyUser View Post
Send me boot.img and recovery.img, or give me the rom link. I will try to fix that
try this, is not the same that i try, but is for the same terminal
http://download-c.huawei.com/tcpsdow...oadID=NDcxNDI=
 
GalaxyUser
Old
#8  
GalaxyUser's Avatar
Recognized Contributor - OP
Thanks Meter 3251
Posts: 681
Join Date: Jun 2010
Location: Aix-en-Provence

 
DONATE TO ME
Quote:
Originally Posted by Zittoro View Post
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

Quote:
Originally Posted by misha84 View Post
try this, is not the same that i try, but is for the same terminal
http://download-c.huawei.com/tcpsdow...oadID=NDcxNDI=
Will look at
The Following 3 Users Say Thank You to GalaxyUser For This Useful Post: [ Click to Expand ]
 
zardaman
Old
#9  
zardaman's Avatar
Member
Thanks Meter 2
Posts: 31
Join Date: May 2013
Location: 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
Old
#10  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Jul 2013
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?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Navigate to Your Favorite Places with LocationDetector

If you’re enjoying an active way of life, you probablytravel a lot, go fishing, … more

LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more