yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tltan86:
hi [MENTION=4477466]cofface[/MENTION], sorry for late reply.

in your thread, scroll to the bottom of the page, and look for a link, 'EDIT TAGS'. click on that link and add in the tags.

see attachment.

View attachment 4092083

you can later do tag search like this:

- https://xdaforums.com/tags.php?tag=markw

- https://xdaforums.com/tags.php?tag=redmi+4+prime

but i am not sure how to register the thread itself under https://xdaforums.com/t/redmi-4-prime where you search through the 'Type To Find Your Device...' search box (see attachment). maybe [MENTION=6842057]The Flash[/MENTION] can help us? :D

View attachment 4092105
[ZTE Axon 7 Questions & Answers] whoohaaah:
my brother used my axon 7 temporarily and added his account.

but after he returning it to me he factory reset it.

now that I am trying to set it up again, it keeps asking to verify the last account logged in.

so we logged in with his account and it won't work

is there anyway we can bypass this, or maybe downgrade to factory image? I downloaded the stock 2017U firmware and put in an SD card, however using stock recovery I cannot upgrade/downgrade firmware.

please advise
[ZTE Axon 7 Questions & Answers] ultramag69:
Try a FAT32 formatted sd card - 32gb or less is natively that.

The file goes onto the sd card and is renamed "update.zip".

Go to recovery, wipe data and flash update from sd card. This should fix it...

Just as a reminder, EVERYTHING you want to keep, BACKUP first...
[ZTE Axon 7 Questions & Answers] tabletalker7:
My suggestion would be install TWRP, wipe EVERYTHING, then use the TWRP flashable zips for B29
[ZTE Axon 7 Questions & Answers] whoohaaah:
Ok I am preparing the sd card again and trying this.

how do I install TWRP if I didnt turn on oem unlock and usb debugging? Don't I need to access developer options in order to install twrp? I can't get past the initial setup process
[ZTE Axon 7 Questions & Answers] whoohaaah:
dang, I thought this would work.

i am getting Can't SDCARD Upgrade

tried on 2 different SD cards

any other ideas?
[ZTE Axon 7 Questions & Answers] tabletalker7:
http://xdaforums.com/axon-7/development/wip-axon-7-root-bootloader-unlokced-t3441204 use this and just install recovery - that is TWRP. Then boot straight to TWRP, wipe everything, http://xdaforums.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484 use this to install B29
[ZTE Axon 7 Questions & Answers] whoohaaah:
ok thanks.

quick clarification, do I have to go into bootloader mode or recovery mode in step 2 (press and hold volume UP + DOWN)?
[ZTE Axon 7 Questions & Answers] tabletalker7:
shut off phone.

hold both volume buttons (with the phone still off) and plug in usb cable (while still holding both buttons).

Go to your device manager and see the com port used for Qualcomm
[8125, K-JAM, P4300, MDA Vario ROM Development] Merlin_reloaded:
Ok, I admit defeat on this one. After pulling my hair out more than once, still no dice. Anyone able to enable Ekiga on WM6's native VOIP?
[Android Software/Hacking General [Developers Only]] cofface:
Recovery base on TWRP 6.0:

update 20161121:

Fixed flash too large error;

update 20161118:

1、Fix other touch screen bug;

2、Support decryption data partition,didn't format data;

Screenshot:

[IMG="http://en.miui.com/data/attachment/forum/201609/08/171839ysqcdnpdn33snz0n.png.thumb.jpg"]http://en.miui.com/data/attachment/forum/201609/08/171839ysqcdnpdn33snz0n.png.thumb.jpg[/IMG]

[IMG="http://en.miui.com/data/attachment/forum/201609/08/171852skzshpb11dllwbs3.png.thumb.jpg"]http://en.miui.com/data/attachment/forum/201609/08/171852skzshpb11dllwbs3.png.thumb.jpg[/IMG]

[IMG="http://en.miui.com/data/attachment/forum/201609/08/171848cz2x7wl1k22wl2lw.png.thumb.jpg"]http://en.miui.com/data/attachment/forum/201609/08/171848cz2x7wl1k22wl2lw.png.thumb.jpg[/IMG]

1、First must be unlock bootloader；

2、Flash command:

adb reboot bootloader
fastboot flash recovery cofface_twrp_recovery1118.img
fastboot boot cofface_twrp_recovery1118.img

3、Twrp recovery.img download Links:

https://www.androidfilehost.com/?fid=529152257862683392

4、Chinese links:

http://blog.cofface.com/archives/1845.html

email:cofface@cofface.com
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
As many of you probably know, the traditional way to flash firmware in a Huawei phone is to obtain the UPDATE.APP file, and place it in the /dload/ folder of the SD card.

With the Mate 9, this no longer works. The update fails, even if the update package is correct.

I'd like to bring everyone's brains together to figure out the new, correct way to flash an update. My guess is that it should be on the internal storage somewhere, since the Mate 9 Porsche will not have SD card slot. However, I've tried both the update.zip files and the update.app files in / and /dload/ and nothing seems to work.

If anyone can try and make a successful install, it will be a big breakthrough, so please, everyone, try!

Here are some firmware download links to try:

Chinese version

MHA-AL00C00B125 Full

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1356/g77/v66549/f2/full/update.zip

MHA-AL00C00B115 Full

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G990/g77/v65571/f3/full/update.zip

European Version

MHA-L29C900B115

MHA-L29C432B115

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1356/g77/v66711/f2/full/update.zip
[Huawei Mate 9 Guides, News, & Discussion] gnasher666:
The error I get when flashing makes me think it's down to the file version being used?

I can copy an update.app to the dload folder and using *#*#2846579#*#* and Software update it appears to validate the file, at least that an update.app file exists and then boots into the updater, where it fails at 5%. From memory, my Mate 8 would act the same if I tried to flash an older update.app file?

UPDATE: I can confirm that even with the same firmware version as the phone is on you cannot flash it by putting the update.app in the /dload folder, even though it does look like it finds the file. I'm wondering if we will see the same symptoms if we had a newer than B125 firmware to try.
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
I have found a way to load firmware. It's very tricky, but it works :) You need to spoof huawei's servers, so it's not something someone with low technical skills can do, unfortunately. Also, so far, loading older firmwares causes a forced reboot once the system boots up. I think it's to do with Huawei Account or Fingerprint, so hopefully I will resolve this within a few hours and report more.
[Huawei Mate 9 Guides, News, & Discussion] gee2012:
I think its best to wait for the Euro C432B122 rom, it should come very soon.
[Huawei Mate 9 Guides, News, & Discussion] HomerSp:
I don't have a Mate 9 (yet), but looking through the code it looks as if it should be able to load the UPDATE.APP from a usb device (via an OTG cable) - /usb/dload/UPDATE.APP. Did anyone try that?
[Huawei Mate 9 Guides, News, & Discussion] dancrow:
Found something here

http://www.carbontesla.com/2016/11/download-huawei-mate-9-b122-firmware-update-mha-l29-europe/

Maybe it helps.
[Huawei Mate 9 Guides, News, & Discussion] gee2012:
Seems like a scam site as many others

-Edit- It seems Huawei pulled this build as i read on another forum.
[Huawei Mate 9 Guides, News, & Discussion] intruda119:
Huawei pulls every build that is not linked to hisuite site. Most be legit links but Huawei is on top of it.
[Huawei Mate 9 Guides, News, & Discussion] gee2012:
Here is a working L29 B122 downloadlink i found on the android-hilfe forum https://www.hidrive.strato.com/lnk/0KFjlD4J but the update failed installation :(

Aah well, we`ll get he update soon i guess.
[Huawei Mate 9 Guides, News, & Discussion] Welfi_1988:
Would be awesome to be able to get the european rom to work without any limitations on the chinese phone. I would love to help you guys, but my skills are very limited and hope you guys find a way that's doable for most of us :)
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
Huawei didn't pull the build. It's a DNS problem. It's only on their server in China, and isn't on their amazon co-located servers.

Set in your hosts file:

14.215.9.39 update.hicloud.com

And magically, the link works!

Can't be installed, though. With the Mate 9, I've tried HiSuite USB flashing (fails), flashing from dload folder (fails) and flashing from eRecovery (only thing that's worked.)

I've even unpacked a full rom image to try and reverse engineer how the dload folder works, but all I get is:

/sdcard/dload/au_temp.cfg
/sdcard/dload/UPDATE.APP
/sdcard/dload/update_cust.app
/sdcard/dload/update_vendor.app
/data/media/0/dload/update_cust.app
/data/media/0/dload/update_vendor.app
/data/update/dload/UPDATE.APP
/data/update/dload/update_cust.app
/data/update/dload/update_vendor.app
/usb/dload/UPDATE.APP
/usb/dload/update_cust.app
/usb/dload/update_vendor.app

And I've tried most of those locations, and while the update.app is found, it doesn't want to flash. Even though it's willing to flash the exact same stuff in update.zip format via eRecovery.

The only other way is overriding the OTAs, but it actually has a pretty strict security check at the end for approval with some nifty encrypted text, so we're screwed there too.
[Huawei Mate 9 Guides, News, & Discussion] OnimushaPooh:
i would like to know the dload method still work with SD card OR not? anyone with mate 9 got SD card in slot already try this?
[Huawei Mate 9 Guides, News, & Discussion] OnimushaPooh:
New Firmware EU version

MHA-L29C432B126

changelog ::

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1366/g104/v68165/f1/full/changelog.xml

download link ::

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1366/g104/v68165/f1/full/update.zip
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
The dload method no longer works. The update.app file is recognized but install always fails. HiSuite USB flash also doesn't work. Only confirmed way in is hijacking erecovery.
[Huawei Mate 9 Guides, News, & Discussion] dehnhaide:
I have just dicovered that dload indeed fails. Could you be elaborate / give some clue on how this "hijacking erecovery" is working?

Thanks a lot for your support.
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
I wrote about it in this thread. You trick the phone into connecting to a fake query.hicloud.com and direct it to the firmware you want to download.
[Huawei Mate 9 Guides, News, & Discussion] dehnhaide:
OK. I got that. But I have the whole update.zip package already downloaded. Is there any way I can flash it?! Sorry if I sound noob but this is my first Huawei Mate and am new to their firmware flashing approach.

Thanks.
[Huawei Mate 9 Guides, News, & Discussion] dehnhaide:
Pleeez! ;)

C'mon [MENTION=4572798]duraaraa[/MENTION], please elaborate how the update.zip or its contents can be flashed from erecovery!!! Please... you've got me all tangled with this "Only confirmed way in is hijacking erecovery.".

Thanks for your help.
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
If you want a simple explanation, here is how eRecovery works.

1. The phone sends a request to query.hicloud.com on port 80, asking for what firmware it should download.

2. query.hicloud.com sends it information about what firmware it should download, including a URL

3. The phone sends a permission request to download the files to huawei's servers. Then, the phone downloads and parses the URL plus /full/filelist.xml and gets a list of files. If it sees files which match the region of the phone, it recognizes it as a valid update, and begins downloads the files.

4. Before the install starts, the phone contacts query.hisuite.com again to confirm that it's allowed to install. If it receives permission, the phone checks the MD5 of the files it downloaded, then unzips the three files (an update, a public, and a regional file. Three zip files) The phone then tries to install them. If there is an issue (mismatch, not signed, etc.) it spits out an error and fails. If everything passes the test, it installs.

So my method of entry is emulating query.hicloud.com and update.hicloud.com to provide the phone with whatever zip files I want.
[Huawei Mate 9 Guides, News, & Discussion] dehnhaide:
Thanks for the explanation [MENTION=4572798]duraaraa[/MENTION]! Shall I understand that both query.hisuite.com and update.hicloud.com share the same 14.215.9.39 IP?

I have only seen the IP (14.215.9.39) for update.hicloud.com? Is there a different one for query.hicloud.com? I need to know to be able to correctly modify the /etc/hosts on my router.

Thanks for your support.
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
You don't need to know the IP. The idea of a hosts file is to look up the IP for the name. So if you want it to point to 1.2.3.4 you'd just put

1.2.3.4 query.hicloud.com

and you're done.

Might I ask what you're trying to do? I've already reverse-engineered it so I can probably help.
[Huawei Mate 9 Guides, News, & Discussion] dehnhaide:
Pretty clueless

[MENTION=4572798]duraaraa[/MENTION]... As I've said: I am new to Huawei way's of working with firmware (except for the Nexus 6P which was more google like).

My problem is that I cannot update to MHA-L29C432B126! My "Updater" does not see the new update no matter how many times I check for updates.

I have already downloaded the update.zip file from the provided links but from now on I am stuck. I need to understand what I have to do to get to flash the update.zip.

I have put the phone in eRecovery mode but upon connecting to WiFi I only get "getting package info failed" message.

Pretty simple for other but I am stuck here! :) What should I do? What am I doing wrong?

Thanks for any help.
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
What exact model do you have? Do you know is it hw/eu or hw/normal?

PM me your hangouts for faster communication, and I'll try to set up a DNS server which will redirect you to the update you're looking for. I'm right now working on getting european firmware working well on the Chinese Mate 9, but I can take a little time to help you.
[Huawei Mate 9 Guides, News, & Discussion] dkionline:
QueryServerURL=http://query.hicloud.com:80/sp_ard_common/v2/Check.action?latest=true

#===========================================================

RetrieveAuthInfoURL=http://query.hicloud.com/sp_ard_common/v1/authorize.action

#===========================================================

ReportStatusURL=http://query.hicloud.com:80/sp_ard_common/v2/UpdateReport.action
[Huawei Mate 9 Guides, News, & Discussion] Amjad.AbdulGhani:
What and how?

---------- Post added at 01:51 PM ---------- Previous post was at 01:50 PM ----------

Did u sort this out? Are you able to help us getting the update?
[Huawei Mate 9 Guides, News, & Discussion] duraaraa:
No luck getting the update to install yet. Getting it downloaded is fine.
[Huawei Mate 9 Guides, News, & Discussion] Amjad.AbdulGhani:
I guess its new device and not much help from experts yet.. Hope someone finds a solution soon..
[Huawei Mate 9 Guides, News, & Discussion] dkionline:
there's a version.mbn file in the zip. I dont know if that file is needed beside update.app in dload folder to prevent the check. Ive found an img in update.app that can be involved in this, but only on M9, not in Nougat betas on other devices. Another thing is unpack full zip to dload and check if that does the trick.
[Huawei Mate 9 Guides, News, & Discussion] tllim73:
I have successfully flash the update file. The hardware file is missing also there is a vendor app file. So if you miss one of that it will not be able to flash. I download it from the other thread for mha_L29c636. But after flash all data is wiped.

So remember to backup using hisite.

---------- Post added at 01:16 PM ---------- Previous post was at 01:13 PM ----------

Here is it....

https://xdaforums.com/mate-9/help/help-wiped-products-vendo-bootloop-t3534594/page1
[Huawei Mate 9 Guides, News, & Discussion] sun2sunny:
i have downloaded the update.zip file but cant update it through dload method can anybody tell me how can i update or reflash the firmware bcoz my fone is not working properly its rooted BL unlocked twrp installed ... thanks.
[Huawei Mate 9 Guides, News, & Discussion] tenfar:
hijacking the dns is a clover way to force update official firmware. but there is a simpler method. you will need a type-c USB otg cable，and a usb flash drive. then you will need to put dlod folder with update.app inside it to the flash drive. connect the flash drive with phone using that otg cable. dial *#*#2846579#*#* in dialer select update firmware . it will reboot to recovery to flash that firmware.

maybe you can presss and hold three buttons (power vol+ vol-) to force to reboot to erecovery and flash firmware in usb otg drive.

hope this solve your problem. : )
[Huawei Mate 9 Guides, News, & Discussion] kipsyprince:
Hello am sorry to intrude but please are you saying that if i want to change my ROM completely thats is flashing the ROM from MHA-AL00 to MHA-L29... are you saying that i can unlock my bootloader and just install the MHA-L29 USING THIS *#*#2846579#*#* METHOD?? without any TWRP?
[Huawei Mate 9 Guides, News, & Discussion] 5[Strogino]:
Did you try it self on Mate 9? I tried same way (via ProjectMenu) with dload on microSD, not usb-otg. But without succes. I got error.

P.s. On Mate 9 there are two types of Roms.

Offline_update works with dload

Online_update does not.

All OTA and FullOA are online_update
[Huawei Mate 9 Guides, News, & Discussion] freitaz:
Hi guys, any of you can tell me how can I extract the contents of UPDATE.APP file? I know that 7-zip can open and show the contents, but it fails when extracting it. I think it may be possible to extract the contents and then use fastboot to flash firmware.

EDIT: just found a tool for extracting the files, thanks anyway
[Huawei Mate 9 Guides, News, & Discussion] Ing.King:
Hi Freitaz, did you flash fw via fastboot commands ?
[Huawei Mate 9 Guides, News, & Discussion] freitaz:
I tried, fastboot accepted it but I got a bootloop later related to audio, didn't spend much time to solving it though
[Huawei Mate 9 Guides, News, & Discussion] sun2sunny:
Boss i already tried it many times with sd card dload folder .... whats the diffrence between otg and sd card?
[Huawei Mate 9 Guides, News, & Discussion] panpjp:
OTG is a USB-C to USB-A "normal USB on a computer" adapter that you plug into the phone (and a flash drive to it)

SD Card is the small card you put into the phone.

Good luck :)
[Huawei Mate 9 Guides, News, & Discussion] sashimiyarou:
This has not arrived yet.

I can not try.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Anyone tried the following:

Download a stock firmware.

Unpack system, vendor, product using Huawei Update Extractor.

Convert imgs to raw using simg2img,

Mount raw as loop in linux.

Copy mounts to new folders.

Build a flashable zip with folders.

Flash using TWRP?

Feels like one could make those steps easier, but should work in theory?
[Huawei Mate 9 Guides, News, & Discussion] LunatikBunnie:
*#*#2846579#*#* only worked 2-3 times, then it just decided to not open the menu anymore. Now no matter how I reboot the device, the engineer mode menu refuses to pop out.
[Huawei Mate 9 Guides, News, & Discussion] sashimiyarou:
Is it correct in the content of this image?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
I'm currently in Windows, trying to figure out why my network connection is limited to 100mbps here and I get 1gbps in Linux...

Anyway, that looks like my extracted ones.
[Huawei Mate 9 Guides, News, & Discussion] Blue.Ember:
I already extrated all imgs and modified to be able to flash on MHA-L29C185

But I stopped cause I'm​busy on work.

And I still need to search how to repack the files to img again
[Huawei Mate 9 Guides, News, & Discussion] sashimiyarou:
Download a stock firmware. ← success

Unpack system, vendor, product using Huawei Update Extractor. ← success

Convert imgs to raw using simg2img, ← success

Mount raw as loop in linux. ← success

Copy mounts to new folders. ← success

Build a flashable zip with folders. ← don't understand

Flash using TWRP? ← :confused:

I don't understand how to make flashable zip.

Flashable Zip Template:https://www.maketecheasier.com/create-android-apps-recovery-zip/

Android Script Creator:https://sourceforge.net/projects/androidscript/

hmm, I’m at a loss.

But, I had a great time.

Thank you for your concern.
[Huawei Mate 9 Guides, News, & Discussion] Ghost_in_love:
sorry for annoying i get mate 9 model MHA-L29C185 i get OTA firmware update from B158 to be B172 i suffer from this new room B172 i download now Full OTA Firmware B158 how to install it on the mate 9
[Huawei Mate 9 Guides, News, & Discussion] Blue.Ember:
Unfortunately you can't unless you have 158 offline update, maybe you can find it in huawei service centers
[Huawei Mate 9 Guides, News, & Discussion] Ghost_in_love:
from where i could get the required offline Firmware
[Huawei Mate 9 Guides, News, & Discussion] Blue.Ember:
Also you can use funkyhuawei but you need to pay
[Huawei Mate 9 Guides, News, & Discussion] Ghost_in_love:
just need the way for downloading offline firmware
[Huawei Mate 9 Guides, News, & Discussion] Blue.Ember:
There is no way
[Huawei Mate 9 Guides, News, & Discussion] Ghost_in_love:
thanks for ur help

so for the Firmware i get B158 Full OTA is there any way to install it
[Huawei Mate 9 Guides, News, & Discussion] sashimiyarou:
doesn't work.
[Huawei Mate 9 Guides, News, & Discussion] freitaz:
Came back to say that I managed to flash official firmware by using fastboot. I extracted system.img and boot.img by using Huawei Update Extractor and succesfully flashed it.

Some info:

0. Always have a backup, just in case

1. Before trying this, remove lockscreen config (or you won't be able to unlock it after reboot)

2. Build info is stored outside of system.img, so although I updated it the build info remains the same

3. Still don't figured how to flash other .img files (dts, radio and so on)

Hope that helps.
[Huawei Mate 9 Guides, News, & Discussion] Tsharli:
So from what I understand after going through this whole thread that there is no straightforward way of doing this? Has anyone had success and how?
[Huawei Mate 9 Guides, News, & Discussion] ubuncent:
No. There is at least one working way, using Firmware finder, Firmware proxy and ereciovery.
[Nexus 6 Q&A, Help & Troubleshooting] robroth:
I have a rooted Nexus 6 and wanted to edit my build.prop file in order to enable Wifi sharing. I made a backup first, and then when I saved build.prop after editing it was 0 bytes. Then I saw the backup was 0 bytes. First I crapped myself, then I copied in a N6 specific build.prop I downloaded off the net to /system, but no matter what I did, that new file was 0 bytes even though the original was 5k. 'df' showed I was not out of space in /system (had about 1.5 meg free). I even tried mounting /system RW just in case it was RO.

I finally decided after 3 hours of this that perhaps the whole thing was RO and a reboot would clear everything (based on a couple of other posts I read).

I held my breath, rebooted..... and as I feared I just get the black screen that says Google with a lock.

I can't shut off the phone (to reboot into recovery mode), the Nexus doesn't have an off button. I hold power down and it reboots. I give it a short press and it does nothing. I hold them all down and it reboots.

Can I get a pointer please to a thread that might help bail me out?

As a side note, I'm having problems connecting to my phone in debug mode with adb (even before the reboot), so if I need to use those tools, that's another hurdle I'll have to figure out.
[Nexus 6 Q&A, Help & Troubleshooting] krGemini:
Hold the power button + volume down to get to the bootloader. Go to recovery and reflash whatever rom you were on . A dirty flash should suffice.

Hit thanks if this solve your problem.