[Guide] Mate 9 Flash Nougat Update Package and Rebrand

Search This thread

mankindtw

Senior Member
Jul 22, 2008
236
399
Steps:
  • Prepare and Notice
    A. Backup data, it might be restore factory default setting especially using downgrade ROM version.
    B. Unlock bootloader before apply manual update, the manual update package bypass auth through modified stock recovery.
    C. After update successfully, device might be locked again.
    D. Only tested China mate9 with MHA-AL00C00 and MHA-L29C636 ROM.
    E. The manual update script use TWRP (Thanks to @Tkkg1994, @OldDroid)

  • Download Update ZIP
    A. Get ROM update link through hwmt.ru. Click "filelist.xml".
    B. Observe "update.zip" size, choose more than 1GB file size FULL OTA from previous step. Example MHA-L29C636B158 filelist Link, all three update files and path are in the filelist.xml content.
    • update.zip: Change URL last "filelist.xml" to "update.zip" download file.
    • update_data_public.zip: Change URL last "filelist.xml" to "public/update_data_full_public.zip" download file, and rename it to "update_data_public.zip"
    • update_all_hw.zip: Change URL last "filelist.xml" to "hw/spcseas/update_full_hw_spcseas.zip" download file, and rename it to "update_all_hw.zip"
    C. Observe "update.zip" size, choose more than 1GB file size FULL OTA from previous step. Example MHA-AL00C00B167 filelist Link, , all three update files and path are in the filelist.xml content.
    • update.zip: Change URL last "filelist.xml" to "update.zip" download file.
    • update_data_public.zip: Change URL last "filelist.xml" to "public/update_data_full_public.zip" download file, and rename it to "update_data_public.zip"
    • update_all_hw.zip: Change URL last "filelist.xml" to "all/cn/update_full_all_cn.zip" download file, and rename it to "update_all_hw.zip"

 
Last edited:

5[Strogino]

Senior Member
Sep 23, 2009
1,567
404
Moscow
Hmm. Sound's good.
Are you hacking stock recovery to install everything what you want?
Did you test by self?
Main problem is to manually force update via stock recovery. But if you're using TWRP, so problem is to install full update. TWRP does not have support of special update commands.
 

backb0ne5p1d0r

Senior Member
Feb 8, 2013
303
253
25
Amman
EPIC!
Just used this to update into L29C636B180. It worked perfectly fine. THANK YOU!

---------- Post added at 10:49 AM ---------- Previous post was at 10:36 AM ----------

Impressive!
This method can be used to rebrand too (in theory)
I will check soon.

I believe so too. (That in theory this should work for rebranding.)
Looking at the batch file, I'd say you're supposed to restore oeminfo while the batch file is showing "D. Connect usb cable before next step.". if you want to rebrand.
Would love to try it. But I've just used this method to update into L29C636B180. Wouldn't want to reset all settings again. So please try it and let us know what happens if you rebrand!

and to the OP, Thank you again! I'm honestly so happy that we finally do not have to use "proprietary" services as someone puts it to update our phones hahah.
 
  • Like
Reactions: NIPSEN

Peppus

Senior Member
Dec 18, 2008
241
49
By the Ebro Mouth
Hi, I'm glad to find this new update method, I tried whith L09 rebranded to C636 but I always get the same error "update does'nt found"or something similar.

Cheers!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 84
    Steps:
    • Prepare and Notice
      A. Backup data, it might be restore factory default setting especially using downgrade ROM version.
      B. Unlock bootloader before apply manual update, the manual update package bypass auth through modified stock recovery.
      C. After update successfully, device might be locked again.
      D. Only tested China mate9 with MHA-AL00C00 and MHA-L29C636 ROM.
      E. The manual update script use TWRP (Thanks to @Tkkg1994, @OldDroid)

    • Download Update ZIP
      A. Get ROM update link through hwmt.ru. Click "filelist.xml".
      B. Observe "update.zip" size, choose more than 1GB file size FULL OTA from previous step. Example MHA-L29C636B158 filelist Link, all three update files and path are in the filelist.xml content.
      • update.zip: Change URL last "filelist.xml" to "update.zip" download file.
      • update_data_public.zip: Change URL last "filelist.xml" to "public/update_data_full_public.zip" download file, and rename it to "update_data_public.zip"
      • update_all_hw.zip: Change URL last "filelist.xml" to "hw/spcseas/update_full_hw_spcseas.zip" download file, and rename it to "update_all_hw.zip"
      C. Observe "update.zip" size, choose more than 1GB file size FULL OTA from previous step. Example MHA-AL00C00B167 filelist Link, , all three update files and path are in the filelist.xml content.
      • update.zip: Change URL last "filelist.xml" to "update.zip" download file.
      • update_data_public.zip: Change URL last "filelist.xml" to "public/update_data_full_public.zip" download file, and rename it to "update_data_public.zip"
      • update_all_hw.zip: Change URL last "filelist.xml" to "all/cn/update_full_all_cn.zip" download file, and rename it to "update_all_hw.zip"

    17
    Add branch when phone has unlocked bootloader already.

    My instructions are for when bootloader is unlocked in the first place
    It asks for the bootloader unlock code because when you restore OEMINFO, the bootloader automatically gets locked. The only way to unlock is to use the unlock command again, let it reboot into TWRP, and then let TWRP reboot back into Bootloader.

    ---------- Post added at 06:10 PM ---------- Previous post was at 05:53 PM ----------

    Hi, what a great new!! All day messing around but tempted to try. Ye was right, I forget to rename, with your bat you have to do the same rename? Could you write a few lines with the OP, please? :eek: Thank you very much!!!

    Yes. You'd have to rename.

    EDIT: THE INSTRUCTIONS BELOW ARE FOR THE INITIAL OLD SCRIPT. THE NEW BATCH FILES ARE MORE USER-FRIENDLY SO YOU DO NOT HAVE TO FOLLOW THESE STEPS. JUST DOWNLOAD FROM OP AND FOLLOW STEPS FROM THERE.
    Here are details instructions on how to do the rebranding process. It doesn't take long but I wrote all the details so it looks long :p

    Requirements
    - Unlocked Bootloader
    - zip files for update, hw info, public data
    - oeminfo placed correctly in the TWRP Backups folder

    1) Create a directory in your EXTERNAL SDCard and name it "HWOTA"
    2) Copy update.zip, update_data_public.zip, and update_all_hw.zip files to the newly created "HWOTA" directory.
    *Note that you must rename the files to match the names mentioned.
    3) Open the batch file.
    4) It will ask you if you copied the files. Press any key to continue.
    5) Reboot into BOOTLOADER using "Vol-" + "Power" or just use "adb reboot bootloader" then press any key.
    6) TWRP will now be flashed into your device. DON'T use a different version of TWRP. So follow this step even if you already have TWRP installed.
    7) DISCONNECT USB Cable and use "Vol+" and "Power" to enter TWRP.
    8) Restore oeminfo using TWRP then press any key.
    9) Connect USB Cable then press any key.
    10) Restoring oeminfo causes the bootloader to get LOCKED again. Your device will now automatically reboot into bootloader to unlock it using the code you provided earlier.
    11) Your phone will ask you if you want to unlock. Navigate to YES using Vol+ and then press power.
    12) Your device will automatically reboot into TWRP. Press any key on the batch file and your device will be rebooted to bootloader again. (This is all part of the unlocking process.)
    13) Now you will see that your bootloader is unlocked. DISCONNECT USB CABLE
    14) Turn off your device and reboot into recovery using Vol+ and Power. Press any key.
    15) Connect the USB cable and then press any key to continue.
    16) Your device will now do some magic behind the scenes and reboot itself into bootloader :p
    17) When the batch tells you to do so, DISCONNECT USB, and turn off the device to boot into recovery using Vol+ and Power.
    18) You will see your device updating now :D THIS IS IT.

    Note that AFTER it finishes flashing, it might try to do a "Factory Reset" on its own. It might fail on the "Factory Reset" screen. Do not worry about this as it will boot just fine. But just to be on the safe side, reboot into recovery and wipe data and cache.
    15
    GOOD NEWS EVERYONE!
    Managed to go from L29C636 to L09C185 with a slight modification to this method.
    It should work for any other region though. So now you can rebrand for free :D FINALLY FREE REBRAND TO ANY REGION

    I edited the update.bat to work for rebranding. Download it, and replace the old update.bat and TADA now you can rebrand. (or just rename my file into rebrand.bat and place it in the same directory as the update.bat)

    Note that you need to have your OEMINFO ready in the TWRP backups folder before you start the bat. :D
    I tried to make the instructions as clear as possible. If you have any questions, feel free to ask!
    6
    Q: Are you hacking stock recovery to install everything what you want?
    A: Only bypass auth and some checks. See Prepare and Notice B.
    Q: Did you test by self?
    A: Yes, see Prepare and Notice E.
    6
    Or Better say: What exactly should happen when, after I held power and vol+ to reboot my device? Should it show up TWRP or erecovery? Should I plug in the USB Cable while the phone showing the huawei logo or when it is allready showing the recovery (TWRP or Erecovery?).
    Please be a bit more precise for some noobs lol

    It's supposed to boot into TWRP when you reboot. Rebooting into eRecovery is only the last step.
    When you hold VolumeUp and Power it should boot into TWRP. Then after it boots on TWRP, connect the USB cable.

    ---------- Post added at 12:30 AM ---------- Previous post was at 12:27 AM ----------

    Thanks a lot @backb0ne5p1d0r, I'll try again later, totally exhausted right now but really happy with the result of your and @mankindtw work, it is what all of us were waiting for a long time and arrived at last!! :good::good::good:

    Cheers!

    Honestly the work i did is nothing compared to what mindkindtw did :p
    But oh well, tell us how it goes.
    I might make a video later in my free time as it appears many people are getting confused with the instructions.