yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P6, Mate] StratOS_HTC:
[MENTION=981278]worstenbrood[/MENTION]

<Profile name="Huawei Honor 8 FRD-L09" author="StratOS_HTC">
<Files>
<File sequence="00000000" type="efi">efi.img</File>
<File sequence="00000003" type="3rdmodem" partition="/dev/block/mmcblk0p35">3rdmodem.img</File>
<File sequence="00000008" type="dts" partition="/dev/block/mmcblk0p30">dts.img</File>
<File sequence="0000000A" type="recovery" partition="/dev/block/mmcblk0p29">recovery.img</File>
<File sequence="0000000A" type="recovery2" partition="/dev/block/mmcblk0p22">recovery2.img</File>
<File sequence="0000000C" type="boot" partition="/dev/block/mmcblk0p28">boot.img</File>
<File sequence="0000000D" type="system" partition="/dev/block/mmcblk0p43">system.img</File>
<File sequence="0000000F" type="cust" partition="/dev/block/mmcblk0p44">cust.img</File>
<File sequence="00000010" type="modem_dtb" partition="/dev/block/mmcblk0p33">modem_dtb.img</File>
<File sequence="00000011" type="modem" partition="/dev/block/mmcblk0p31">modem.img</File>
<File sequence="00000012" type="trustfirmware" partition="/dev/block/mmcblk0p25">trustfirmware.img</File>
<File sequence="00000013" type="fastboot" partition="/dev/block/mmcblk0p5">fastboot.img</File>
<File sequence="00000014" type="fw_hifi" partition="/dev/block/mmcblk0p27">fw_hifi.img</File>
<File sequence="00000015" type="modem_dsp" partition="/dev/block/mmcblk0p32">modem_dsp.img</File>
<File sequence="00000016" type="modemnvm_update" partition="/dev/block/mmcblk0p21">modemnvm_update.img</File>
<File sequence="00000017" type="fw_lpm3" partition="/dev/block/mmcblk0p3">fw_lpm3.img</File>
<File sequence="00000018" type="xloader">xloader.img</File>
<File sequence="00000019" type="sensorhub" partition="/dev/block/mmcblk0p26">sensorhub.img</File>
<File sequence="0000001A" type="teeos" partition="/dev/block/mmcblk0p24">teeos.img</File>
<File type="crc" filetype="checksum">crc.img</File>
<File type="sha256rsa" filetype="signature">sha256rsa.img</File>
<File sequence="FFFFFFF0" type="curver">curver.img</File>
<File sequence="FFFFFFF1" type="verlist">verlist.img</File>
</Files>
</Profile>
[Huawei Ascend P6, Mate] pt_2001:
Can't extract the update.app for some reason... (always says invalid file)

Download: update.zip

--> unpack it --> Invalid File

--> rename it --> invalid File

--> Download again --> do everything again --> invalid File

I tried different Versions of it, but it always says Invalid File...

They are all Files that are meant for the Honor 6x, if that matters.
[Huawei Ascend P6, Mate] o0z0o:
Is any chance to get Huawei P10 (VTR-L09) profile.xml file? :)
[Huawei Ascend P6, Mate] shingers5:
the flashable zip option does it create a zip i can flash in recovery like TWRP?
[Huawei Ascend P6, Mate] worstenbrood:
Thanks, added for next release
[Huawei Ascend P6, Mate] worstenbrood:
Rename the update.app to update.zip and try extracting...
[Huawei Ascend P6, Mate] pt_2001:
Thank you for answering, I tried it and it didn't work.

But for some reason when I downloaded it again, the update.app worked finally. :good:

~Paul

EDIT:

How long is it supposed to take when extracting system.img (2.63 GB)?
[Huawei Ascend P6, Mate] Zorro12345654321:
Hello,

I hope somebody is able to help me. I guess I've hardbricked my mediapad M2, but hopefully I'm mistaking.

I've created an flashable zip out of the update.app. after flashing in TWRP I wanted to reboot the device but nothing happend. Right now I can press whatever buttons I want, the tablet doesn't react at all. I tried also to connect the device to my PC, but it wasn't visible in device manager nor is it available via adb.

Does anybody have an idea what else I could try?

Gesendet von meinem SM-G930F mit Tapatalk
[Huawei Ascend P6, Mate] clsA:
[MENTION=981278]worstenbrood[/MENTION]

<Profile name="Huawei Ascend XT (Texas_A1)" author="clsA">
<File type="md5rsa" filetype="signature">MD5RSA.img</File>
<File type="crc" filetype="checksum">CRC.img</File>
<File type="amss_ver">AMSS_VER.img</File>
<File type="amss_verlist">AMSS_VERLIST.img</File>
<File type="crc">CRC.img</File>
<File type="oemsbl_ver">OEMSBL_VER.img</File>
<File type="oemsbl_verlist">OEMSBL_VERLIST.img</File>
<File type="sbl1" partition="/dev/block/mmcblk0p1">SBL1.img</File>
<File type="hyp" partition="/dev/block/mmcblk0p2">HYP.img</File>
<File type="rpm" partition="/dev/block/mmcblk0p5">RPM.img</File>
<File type="tz" partition="/dev/block/mmcblk0p6">TZ.img</File>
<File type="aboot" partition="/dev/block/mmcblk0p7">ABOOT.img</File>
<File type="misc" partition="/dev/block/mmcblk0p16">MISC.img</File>
<File type="modemst1" partition="/dev/block/mmcblk0p26">MODEMST1.img</File>
<File type="modemst2" partition="/dev/block/mmcblk0p27">MODEMST2.img</File>
<File type="fsg" partition="/dev/block/mmcblk0p9">FSG.img</File>
<File type="modem" partition="/dev/block/mmcblk0p14">MODEM.img</File>
<File type="boot" partition="/dev/block/mmcblk0p10">BOOT.img</File>
<File type="recovery" partition="/dev/block/mmcblk0p11">RECOVERY.img</File>
<File type="erecovery" partition="/dev/block/mmcblk0p12">ERECOVERY.img</File>
<File type="cache" partition="/dev/block/mmcblk0p22">CACHE.img</File>
<File type="cust" partition="/dev/block/mmcblk0p23">CUST.img</File>
<File type="system" partition="/dev/block/mmcblk0p24">SYSTEM.img</File>
<File type="userdata" partition="/dev/block/mmcblk0p28">USERDATA.img</File>
</Profile>
[Huawei Ascend P6, Mate] worstenbrood:
Added for next release, thanks
[Huawei Ascend P6, Mate] fercus:
Hi Master! I need Y625-U51 profil for my friends softbricked phone. Can you help me? THX
[Huawei Ascend P6, Mate] iwbaum:
Hi !

I also need Y625-U21 profil for my phone that start only in recovery mode.

Thanks very much.
[Huawei Ascend P6, Mate] mwarner:
To answer my third question., TEEOS is the Trusted Execution Environment (TEE) module, responsible for Fingerprint reading etc.
[Huawei Ascend P6, Mate] basshead11:
y625 u51 support please
[Huawei Ascend P6, Mate] s_arrow:
I'm in the same situation, will be great if Y625-U21 can be added.

:)
[Huawei Ascend P6, Mate] SoulInferno:
Hi,

first i want to thank you for this great tool. It helps a lot. Second i want to kindly request full support for the new huawei/honor device DUK-L09 (Honor 8 Pro Honor V9). I urgently need the correct images to be able to extract some important system information like the partition sizes and mount points. I am new to the whole material but i want to start from scratch and try learning the hard way by doing with trial and error and practical self training. Also every help from xda members side is very welcome! My final goal is to be able to support the community with helpful things.

For this very new and good device there is no twrp and root access yet around as i know. That is what i want to reach with extracting the images and the content from the images, hoping i could do a new device tree for twrp. I would be very thankfully if you are able to get full support for your extractor for my new device DUK-L09.

If for any reason the stock firmware is needed you could get it from this thread:

Kindly awaiting your reply :)

Next thing is - you added Resources_EN for translation of your app. If it is not too much to ask then i would be pleased if you could do a short youtube video with a how to translate a c-source app and what is needed. As mentioned i am very thankful to be able to learn from others. I cannot learn from books as this is something i can't save in my mind. I tried that very often. I am more of the practical type to be able to keep things in mind and sorted. If you don't want to do it you could easily just say no and i will understood that. :)

Edit: Tried to extract system.img after extraction update.app with huawei update extractor and ext4_unpacker returns error message: "failed to create a secure stack".

I guess either this is maybe because the system.img is too large (3.36 gigs), the extraction is not correctly done from this new firmware or it is encrypted in some way huawei update extractor can't handle correctly? ...or maybe i am just missing something?

with best regards

Soul Inferno
[Huawei Ascend P6, Mate] worstenbrood:
Both added for next release !
[Huawei Ascend P6, Mate] LEENO:
it say invalid file for this Update.app

http://download-c1.huawei.com/download/downloadCenter?downloadId=86963&version=342390&siteCode=ie

[IMG="https://preview.ibb.co/kqEg0v/SHOT_990x565.jpg"]https://preview.ibb.co/kqEg0v/SHOT_990x565.jpg[/IMG]
[Huawei Ascend P6, Mate] Axims:
Can we replace/mod a file and then repack it ?

any signing or exact same size file is necessary?

tnx
[Huawei Ascend P6, Mate] worstenbrood:
Thats actually a flashable zip, just rename it to .zip and you cna flash it from recovery.
[Huawei Ascend P6, Mate] LEENO:
thanks bro, this phone not go in fastboot mode, it only go in qualcomm mode, can i flash it?
[Huawei Ascend P6, Mate] worstenbrood:
I doubt it since you need images for that
[Huawei Ascend P6, Mate] wendyxvy:
Regarding Rom failure flash

i had downloaded stock rom from huawei website (suitable for model) but unable flash it

first picture - i solve it (updated version list prntscr.com/fdgd6y

but then md5 verify failed (i know modified roms gives issue) but how fix it? prntscr.com/fdgdsk
[Huawei Ascend P6, Mate] worstenbrood:
signing with huawei's private key is necessary to let the default recovery believe its not modified
[Huawei Ascend P6, Mate] wendyxvy:
Rom

how can i get the huawei's private key? for sign
[Huawei Ascend P6, Mate] ralfbergs:
You can't. This is why it's called "private."
[Huawei Ascend P6, Mate] worstenbrood:
Huawei HQ's
[Huawei Ascend P6, Mate] German195:
hallo

Goedenavond, mijn huawei p10 lite is bricked, die wilt niet meer opstarten :( Ik heb er nog twrp op staan en ik heb ook een update.app file, hoe kan ik een flashable zip maken? kan je me aub helpen? ik zie dat p10lite niet ertussen staat..
[Huawei Ascend P6, Mate] German195:
I was looking for that all over the internet!!! I have the exact same build version! I needed those files to revive my p10 lite and so I got a hold of my friend who had the exact same phone. I took his phone and unlocked his bootloader and installed twrp on it and backed up his files which I then transfered to mine. So now my p10 lite isnt bricked anymore. if only you posted your back up earlier I wouldnt have to put my friends phone at risk :P what I wonder is, is your phone bricked? how is it bricked if you have full back up?
[Huawei Ascend P6, Mate] stefanwe92:
Hi, i uploaded it 2 weeks ago at another p10 lite thread on xda. :)

My device isn´t bricked - but I would love to build a custom rom for our P10 Lite.

And I like to help people - like you. :D

Übrigens bin ich auch deutscher. :D
[Huawei Ascend P6, Mate] German195:
ah damn I shouldve found it, I want the profiles.xml too so that I can update my p10lite, maybe you can make a profiles.xml file by looking at the other examples, I will try to do that

Ich bin keine Deutscher xd Ich bin von Belgien
[Huawei Ascend P6, Mate] stefanwe92:
Achso :p :D

ok i will try to setup a profile - I just need a little bit of time this evening, then I´ll upload it here.
[Huawei Ascend P6, Mate] German195:
I'm looking forward to it!! I hope you can do it
[Huawei Ascend P6, Mate] stefanwe92:
go down...
[Huawei Ascend P6, Mate] stefanwe92:
Success!

Success!

Download Profiles.xml from my new github-repo: stefanwe92/huawei_p10_lite_unbrick_tools_more

Important:

Make sure your downloaded firmware was FULLY downloaded from huawei´s update servers, to go sure you can download needed fw from TeamMT/hwmt site: lx1a-directory on hwmt.ru
[Huawei Ascend P6, Mate] mugy:
Thank you.Works perfect.
[Huawei Ascend P6, Mate] stefanwe92:
But pls dont use HUE-function: "create flashable zip".

I wiped all partitions in TWRP andflashed that .zip file after. Now my p10lite is hard bricked - no charging (yes, no led also..) no fastboot, no adb, no usb recognizing (tested 3 pc´s)...

So now - its fully dead.

even device-mgr didn´t show anything when i plugin my p10, using various cables... :(

I think there is no way to restore it.

I tried to restore it over many ways, like placing UPDATE.APP into SDCard-->dload folder, and many other ways here in XDA-forums.
[Huawei Ascend P6, Mate] worstenbrood:
Thats why it says use with caution and when you know what you're doing. If you dont want to brick, then only use system,data and boot for flashing. Worst case you have a softbrick
[Huawei Ascend P6, Mate] stefanwe92:
Yes you´re right sir!

I was too euphorized in this moment when I wiped all my partitions and tried flashing my .zip file, maybe I´ll find a way to recover that phone - when not, it was my own mistake (or better failure -.- )

Those moments show me that self-developing on secured partitions isn´t my talent - but every dev here in xda-forums made mistakes. So I don´t worry about it and now I know what I don´t have to do in future! :good: :highfive:

gn8
[Huawei Ascend P6, Mate] bovirus:
[MENTION=981278]worstenbrood[/MENTION]

Thanks for your application.

I want to help you translating the language file (Resource V2) in Italian.

Cold I do IT?

could you add in first post a section for translator what is possible to translate and which part of language file should be translated?

Is it enough to translate .resx file in the part of <value> text strings?

Thanks.
[Huawei Ascend P6, Mate] p8tgames:
Bricked my Phone Using the repack to zip function. Amy help?
[Huawei Ascend P6, Mate] the negrox:
Hello everybody who reads my message, I have read the first 20 something pages of this thread and then came to the last 2 pages and I don't know if someone has made this question before in between, but here I go: Could this program help me unbrick my y300-0151?? It doesn´t turn on/charge battery/go into recovery or anything, BUT when I connect it to my PC, it sounds like when you connect any device to it, and I see it as "qualcomm hs-usb qdload 9008" in the com port of the device administrator.... So I have been reading sooooo many post around to see if I can revive my device, and I have read I need some kind of image file to flash it to the emmc, because it has lost its format, and that´s why it isn´t definite dead (could that be true??)... So my question is that with any of the images I get from this program when I process the update.app file for my device, could I use the required image to flash to the device and "soft brick it" on purpose, so I can later flash the right file to make it back to life??? I don't know if I'm driving you crazy with my explanation, but I don't know how to explain my case in shorter words. THANKS IN ADVANCE!!!!
[Huawei Ascend P6, Mate] bovirus:
[MENTION=981278]worstenbrood[/MENTION]

Thanks for your application.

Could be possible put the sources on GitHub?

Thanks.
[Huawei Ascend P6, Mate] bovirus:
If anyone is interested I can help you to compile the resource file to translate the program in otehr language.

Language available

- English (by author)

- Italian (by myself)

The translation is job is very short (about 40 strings)
[Huawei Ascend P6, Mate] sighted:
Hello.

Sorry I don't have a solution for your hard brick.

Unfortunately I've made the same kind of brick in my honor 8, with ALL the signs that you describe.

I have seen that no one answered you, but what have you find so far?

Here's what I get so far:

SP Flash Tools can be used to flash Hauwei Phones

The Huawei Update extractor seem to get images from an Update.app, but misses to get the scatter map of the same.

If you found anything about this kind of brick, please let me know so we can find a solution togheter

Txs so much
[Huawei Ascend P6, Mate] Harlock1978:
Your Profiles.xml is not available anymore.

Is your a mono or dual SIM?
[Huawei Ascend P6, Mate] noljes2:
Error system img mate 8

Good night I have a problem when trying to extract the system.img when it reaches more or less 75% gives me the following error
[Huawei Ascend P6, Mate] ralfbergs:
Seems your update.app is broken?
[Huawei Ascend P6, Mate] ilovepoonxda:
Please add Picasso AL-00 and TL-00 (Huawei P10). I cannot find my profile.
[Huawei Ascend P6, Mate] worstenbrood:
Try with crc check off (in settings) for extracting
[Huawei Ascend P6, Mate] Ace~:
Hello everybody.

Isn't anybody there who found the profile.xml for P10?

Thanks in advance.
[Huawei Ascend P6, Mate] bovirus:
[MENTION=5577444]ngamyarthar[/MENTION] [MENTION=981278]worstenbrood[/MENTION]

How can help you finding the values for the profile file?

I'm looking for a profile for Huawei G750-U10.
[Huawei Ascend P6, Mate] Calanderia:
A profile for Huawei Mate 8 please? so i can flash zips from TWRP
[Huawei Ascend P6, Mate] virusdunil:
How do i extract SYSTEM.img...cant see it in update.app ... in the extractor.

but i see it in 7zip ...

please help ;)
[Huawei Ascend P6, Mate] bovirus:
[MENTION=981278]worstenbrood[/MENTION]

I propose to revise profile.xml, copy the single section multi-product, make several copies for each product model, to have in the list one single product for each entry.

Please check the profile.xml attached.

Profiles.xml revised

..
[Huawei Ascend P6, Mate] Harlock1978:
There is something I didn't understand do I need the profile from my phone just to extract the different partition from update.app?

TIA
[Huawei Ascend P6, Mate] bovirus:
[MENTION=5577444]ngamyarthar[/MENTION] [MENTION=1598144]beast.in.black[/MENTION] [MENTION=5532236]nexolight[/MENTION] [MENTION=3394521]philipp900[/MENTION] [MENTION=5994459]linus2014[/MENTION] [MENTION=4222965]deadman96385[/MENTION]

Can we help to make a detailed description how did you get the info to create a profile for new device?

Thanks.
[Huawei Ascend P6, Mate] finchounet:
Merci !!!! Thank you

You save my phone !!! 1000th of thanks !!!!
[Huawei Ascend P6, Mate] :
Add Huawei Y330 pls
[Huawei Ascend P6, Mate] cb5264:
Any chance to extract stuff from a P10 lite? Anything I can help with?
[Huawei Ascend P6, Mate] nexolight:
I noted all commands and outputs which gave me the required information:

https://github.com/CM-Huawei-P8-Dev...in/information/mountpoints_and_partitions.txt
[Huawei Ascend P6, Mate] continua.mente:
I can't understand why when I try to extract cust, system and recovery.img the bar becomes green but che close button doesn't light up..Can you help me?
[Huawei Ascend P6, Mate] worstenbrood:
You're using an old version, try the new version that has some fixes for big files.
[Huawei Ascend P6, Mate] continua.mente:
The 0.9.9.5? I have the same problems with that version

Inviato dal mio Redmi Note 4 utilizzando Tapatalk
[Huawei Ascend P6, Mate] worstenbrood:
Share me the app file pls so i can debug
[Huawei Ascend P6, Mate] kerdiaz:
when i try to unpack Y625-U43 file always says invalid file, and i download 3 different versions for different country, help me
[Huawei Ascend P6, Mate] worstenbrood:
If you tried looking in this thread, the solution would polly be: rename .app to .zip, extract REAL .app, unpack .app, profit.
[Huawei Ascend P6, Mate] kerdiaz:
i understand, but i tried all the steps. you say

1. download the firmware

2. extract the folder dload of the .zip downloaded

3. open the HUE, select the .app file

but always says the same error: "Invalid File"
[Huawei Ascend P6, Mate] blueIBI:
rename this extractor .app again into a zip and extract again..

then it should give you the right .app file..

good luck

Gesendet von meinem HUAWEI CRR-L09 mit Tapatalk
[Huawei Ascend P6, Mate] UltraM8:
Mate pro 10 seem to have new packing method)
[Huawei Ascend P6, Mate] zgfg:
Can anybody share Profile for P9 EVA-L09c432 - thx
[Huawei Ascend P6, Mate] bocyboy99:
Sorry for this probably being a dumb question but how do you download this tool?
[Huawei Ascend P6, Mate] zgfg:
Page 1, post #1, Download and Attachemets at the very end

https://xdaforums.com/showpost.php?p=45317807&postcount=1
[Huawei Ascend P6, Mate] malak147:
after extract how to install the files?
[Huawei Ascend P6, Mate] worstenbrood:
If you ask questions like that, please stay away from this tool, thank you
[Huawei Ascend P6, Mate] UltraM8:
Is there any way i can overcome this [MENTION=981278]worstenbrood[/MENTION]?
[Huawei Ascend P6, Mate] worstenbrood:
Some more info please, link ? What goes wrong?
[Huawei Ascend P6, Mate] UltraM8:
Trying to unpack this, the app gives this message:
[Huawei Ascend P6, Mate] worstenbrood:
Its's an error in the header checksum, just turn off Header checksum verification in the settings and it extracts just fine.
[Huawei Ascend P6, Mate] UltraM8:
Alright, thx)
[Huawei Ascend P6, Mate] DallasCZ:
Hello ,i am new to Huawei (used google phones and alcatel ..all based on snapdragon SoC).

When I unpack the update.app i get system.img file. How to extract this file? I tried to use Ext4 and ext2 with no luck.

Thanx for hlep.
[Huawei Ascend P6, Mate] wbrambley:
What are you trying to do? Edit system.img contents or just extract them?

Easiest mounting method is here under Linux: https://stackoverflow.com/questions/8663891/how-to-mount-the-android-img-file-under-linux

You MAY have to run a file browser(i.e. Dolphin) as root to copy the files you want from the mounted loop device.
[Huawei Ascend P6, Mate] DallasCZ:
is there a way to extract the system.img in windows?
[Huawei Ascend P6, Mate] wbrambley:
I've never tried. Its hard enough working with clumsy ext4 solutions in windows as it is.

If you haven't got Linux now and you want to change stuff/ build stuff either shrink windows partition and put Linux on the same drive

or better still install another HD and run linux from that. There's a lot of solutions/tools that are either native to one platform or the other.
[Huawei Ascend P6, Mate] revjamescarver:
Profile for the Mate 9? Needed profile for the mate 9, also the partitioning changed between nouget and Oreo so both will need to be added. Another question is can I get the partitioning information using adb from my Linux computer?
[Huawei Ascend P6, Mate] bovirus:
[MENTION=981278]worstenbrood[/MENTION]

Is there a profile that can I use with Huawei G750 (Honor 3x)?

If no one can be used If I can provide an Update.app file and partition get from the phone someone can help me to create a specific profile for G750?
[Huawei Ascend P6, Mate] revjamescarver:
Quick question

I noticed that your profile has a vendor partition, is your profile for Oreo or nouget as the partitions have changed between the two. Might need to profiles for those devices that will be getting Oreo because of the partition changes

---------- Post added at 01:17 PM ---------- Previous post was at 01:00 PM ----------

Quick question for anyone that actually uses this tool, are the extracted images flashable via fastboot? I was asked a question on the project treble thread about going back to stock Oreo from an aosp Oreo system.img we are compiling the AOSP sources in order to test the project treble stuff that is enabled in Oreo Anand the AOSP system.img boots and is functional for the most part but we need to be able to go back to the stock system.img if needed. In my mind we should be able to roll back to stock by just flashing the stock system.img back to the device. But with the extra header file I just need to know if the extracted files are flashable and WORK

thanks
[Huawei Ascend P6, Mate] giovanni_97:
For mate 10 pro?
[Huawei Ascend P6, Mate] Hai_Duong:
Mate 9 L29 (Dual Sim) oreo would be nice i need the boot.img and system to get my phone running again...
[Huawei Ascend P6, Mate] aureliomilitao:
no extract update.app oreo file (recovery _ramdis.img invalid reader crc
[Huawei Ascend P6, Mate] Hai_Duong:
u need the right profile to ectract the files. Thats why I cant do it because my phone dosent boot up i need to reflash ramdisk and kernel...
[Huawei Ascend P6, Mate] worstenbrood:
Just disable header checksum verification from the settings
[Huawei Ascend P6, Mate] worstenbrood:
Thats because the signing part is missing (you need Huawei's private rsa key for this). Since i don't own a Huawei device i cannot really test and noone seems to be interested to test anyway. I think most users use the extract features, so most updates are in that part.

btw, how do you charge your phone anyway without usb ? :)