[ROM] Emui 8.0.0 PRA-AL00XC00B310 / PRA-LX1C432B321 How to Fix E1001 Error - P8 Lite (2017) Development

Hi folks.
This is a solution for who get troubles when you flash my own ROMs, it is all about Emui 8 related firmware because they denies the permissions to flash custom roms / root in the latest firmware like AL00XB335, C432B360/B375 or newer, here is a small tutorial to solve this issue once for all by downgrade to the earlier firmware which xLoader.img still present.
Note: this tutorial is for Honor 8 Lite and P8 Lite 2017, for other devices make sure to downgrade to older versions.
Requirements:
Unlocked bootloader.
TWRP, use Honor 9 Lite 0.2 Test build, click here.
NoCheck Oreo Recovery, click here.
Your device should be updated to the latest Emui 8.x versions that generate E1001 Errors.
OEMInfo Dual Sim Devices Only (Since most of you are ds):
AL00X.
C432.
PRA-AL00XC00B310:
update.zip .
update_data_full_public.zip .
update_full_PRA-AL00X_all_cn.zip .
Installation Guide:
Reboot to the TWRP.
Flash the NoCheck Recovery.
Run in the terminal (from adb shell is better)
Note: please flash those package once per time I mean that once you flash update.zip and boot the rom (in case of bootloop just check bootloader status and run factory reset) then reboot to fastboot and flash TWRP again then re-install nocheck recovery via TWRP and do same steps for other 2 packages .
echo –update_package=/sdcard/update.zip > /cache/recovery/command
echo –update_package=/sdcard/update_data_full_public.zip > /cache/recovery/command
echo –update_package=/sdcard/update_full_PRA-AL00X_all_cn.zip > /cache/recovery/command
PRA-LX1C432B321:
update.zip .
update_data_full_public.zip
update_full_PRA-L11_hw_eu.zip .

reserved

Thank you mate.

Graveen said:
Thank you mate.
Click to expand...
Click to collapse
You welcome.

Not working for me. Same e1001 error

Wire1122 said:
Not working for me. Same e1001 error
Click to expand...
Click to collapse
I did same steps and it is work after I flash B310 AL00, as I said I use Kirin970 source and it's boot fine.

I flash the europen version that you posted

Wire1122 said:
I flash the europen version that you posted
Click to expand...
Click to collapse
want an advice? go for GSI by phhusson instead wasting time, they are boot from first time.

Related

Android 6.0/EMUI 4.0 for Mediapad X2 | B209 updated | out of beta now

**************
Currently it seems there is no way to update incremental files in emui 4.0, unless you get it from huawei directly. Updater has no option of local update now. Some people told me that unzipping zip file and placing update.app from zip in dload folder and then pressing power+volup+volminus during boot, they are able to install update. Can someone confirm this.
Btw i have successflly updated these files as i got it from huawei direclty(my imei is on beta list)
***********
Update : 24th March
EMUI 4.0 is out of beta now. B209 is out, exepct to receive direct update from huawei soon. Meanwhile you are welcome to update from file i am sharing. You need to be on B208 to apply this update.
link : http://bit.do/B209zip
Whats new : quite stable.
----------------------------------------------------------------------------------------------------------------------------------
Update : 12th Mar
B205 to B208 update has come. This is again beta build. You need to be on B205 to upgrade using this zip. Process to goto B205 is written below. Rooting and other processes are all same.
link : http://1drv.ms/24W4VU2
----------------------------------------------------------------------------------------------------------------------------------
Update :4th Feb
Here is beta build for GEM 703L only.
You need to be on B112 to apply this update zip.
Process :
- Be sure you are on B112 and unrooted.
- reame the downloaded file to update.zip and place it in dload folder in sd card.
- Goto Updater > Menu > Local Update > apply update.
- thats it.
Whats new :
- Android 6.0 beta.
- Will update anything else if i come to know.
How to Root :
- Get SuperSu 2.67 from here : http://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip
- Install twrp recovery. For process search this forum.
- Before installing supersu zip, in twrp go to Advanced and enter Terminal Command and type in "echo SYSTEMLESS=true>>/data/.supersu"
- This will force SuperSU to use systemless root which will patch the bootloader instead of the system and work root properly.( Thanks to ajsmsg78 for pointing out)
How to get back to 5.1 :
- After installing twrp, make sure you have any twrp installable rom on sd card.
- Goto twrp recovery and wipe system(must), data, cache.
- install twrp installable zip rom. reboot.
Note : This is beta build and may not be perfect. If you screw up your device, only you are responsible.
Download link : http://1drv.ms/1X52Vna
----------------------------------------------------------------------------------------------------------------------------------
Many of you would be aware 1 batch of beta(B202) is already released. I was not one of them to get the update. Hoping to be in the second list.
Meanwhile if anyone has got hold on the update file, please share it here.
Btw i am expecting to get in 1 week or so.
Reserved
OMG I love it already despite being a beta version. The display can be fully switched to a tablet experience without any bugs on icons. It is looking good already but I'm sure bugs on other elements (e.g. camera) will be fixed with each update.
Installing now.
Hmm......to install this and rom it, or not to install it yet. That is the question. I hope they don't encrypt the boot.img on Marshmallow on the X2. The Mate 8 ships with an encrpyted bootloader and although I have a rom for it there are a few major bugs I haven't been able to figure out how to fix yet. Someone let me know if TWRP works on this and I'll put together a ROM.
Is this reversible back to B112, just in case..??
hagba said:
Is this reversible back to B112, just in case..??
Click to expand...
Click to collapse
According to the Chinese forums it is. I'm upgrading my 702L to it now and gonna try and put out a rom for it.
---------- Post added at 02:59 AM ---------- Previous post was at 02:18 AM ----------
OK, TWRP 5.1.1 confirmed working with this. Root should be working as well.
ajsmsg78 said:
According to the Chinese forums it is. I'm upgrading my 702L to it now and gonna try and put out a rom for it.
Click to expand...
Click to collapse
twrp recovery is installed without problem. But when i tried to install supersu zip, boot loop started. I tried with SuperSu2.66 and 2.67(systemless root).
To go back to 5.1, chinese mentiones some method. But this is what i tried and works.
- After installing twrp, make sure you have any twrp installable rom on sd card.
- Goto twrp recovery and wipe system(must), data, cache.
- install twrp installable zip rom. reboot.
After this you can keep factory image of B112 in dload folder and press power, vol up and vol down together to install it.
bark1234 said:
twrp recovery is installed without problem. But when i tried to install supersu zip, boot loop started. I tried with SuperSu2.66 and 2.67(systemless root).
To go back to 5.1, chinese mentiones some method. But this is what i tried and works.
- After installing twrp, make sure you have any twrp installable rom on sd card.
- Goto twrp recovery and wipe system(must), data, cache.
- install twrp installable zip rom. reboot.
After this you can keep factory image of B112 in dload folder and press power, vol up and vol down together to install it.
Click to expand...
Click to collapse
Gotcha. Thanks. I'm gonna try and make a pre-rooted rom out of this and hopefully get root working properly. From watching SuperSU root my Mate 8 (works fine) and watching it root my X2 it seems like it's not rooting properly. The root process takes about 10 seconds more on my Mate 8. It's not patching the kernel like it's supposed to and defaulting to the old root method which causes a bootloop. Supposedly if we terminal command echo SYSTEMLESS=true in TWRP it will force the systemless root.
Great. right now i am back to 5.1 for the lack of root. if you can get ir rooted i will be back to 6.0
bark1234 said:
Great. right now i am back to 5.1 for the lack of root. if you can get ir rooted i will be back to 6.0
Click to expand...
Click to collapse
OK, got it working. In TWRP before you flash SuperSU 2.67 you have to go to Advanced and enter Terminal Command and type in echo SYSTEMLESS=true>>/data/.supersu
This will force SuperSU to use systemless root which will patch the bootloader instead of the system and work properly.
ajsmsg78 said:
Gotcha. Thanks. I'm gonna try and make a pre-rooted rom out of this and hopefully get root working properly. From watching SuperSU root my Mate 8 (works fine) and watching it root my X2 it seems like it's not rooting properly. The root process takes about 10 seconds more on my Mate 8. It's not patching the kernel like it's supposed to and defaulting to the old root method which causes a bootloop. Supposedly if we terminal command echo SYSTEMLESS=true in TWRP it will force the systemless root.
Click to expand...
Click to collapse
Ok,will wait for this one,please mention what is not working properly.
ajsmsg78 said:
OK, got it working. In TWRP before you flash SuperSU 2.67 you have to go to Advanced and enter Terminal Command and type in echo SYSTEMLESS=true>>/data/.supersu
This will force SuperSU to use systemless root which will patch the bootloader instead of the system and work properly. I'm gonna try incorporating the patched boot.img into my custom rom and see if I can get it to boot with root.
Click to expand...
Click to collapse
Ok so can you confirm if i follow above method in my 6.0 room it will root properly?
please confirm so that i will go ahead nd reinstall 6.0 beta
bark1234 said:
Ok so can you confirm if i follow above method in my 6.0 room it will root properly?
please confirm so that i will go ahead nd reinstall 6.0 beta
Click to expand...
Click to collapse
Yep. You'll see a difference in the rooting process after you enter that command. It will say it's patching the boot image when rooting. It will boot, then reboot once. Then boot right up. This is normal for the systemless root procedure. If I get this rom working, if you wanna try flashing it while still on B112 and let me know if it boots for you.
---------- Post added at 04:27 AM ---------- Previous post was at 04:21 AM ----------
The ROM i made boots but i have the same bugs as on my Mate 8. Wifi doesn't connect and the external SD says it's corrupt (it's really not) I think it's something in the installer-script.
Thanks man, I rooted successfully.
bark1234 said:
Thanks man, I rooted successfully.
Click to expand...
Click to collapse
No problem, thanks for sharing the beta.
bark1234 said:
Update :4th Feb
Here is beta build for GEM 703L only.
You need to be on B112 to apply this update zip.
Process :
- Be sure you are on B112 and unrooted.
- reame the downloaded file to update.zip and place it in dload folder in sd card.
- Goto Updater > Menu > Local Update > apply update.
- thats it.
.
Click to expand...
Click to collapse
Thanks! Prerequisite is to be on stock B112?
bark1234 said:
Update :4th Feb
How to get back to 5.1 :
- After installing twrp, make sure you have any twrp installable rom on sd card.
- Goto twrp recovery and wipe system(must), data, cache.
- install twrp installable zip rom. reboot.
.
Click to expand...
Click to collapse
submits TWRP backup also to go back to 5.1.1?
tbatliner said:
Thanks! Prerequisite is to be on stock B112?
Click to expand...
Click to collapse
yes
letschky said:
submits TWRP backup also to go back to 5.1.1?
Click to expand...
Click to collapse
Your question is not clear.

[Question] I need Help Please ...can i format data from terminal in TWRP ?

i cant make factory reset or wip any thing to flash my rom
is there any way to format from termnal in twrp or another any way
my phone bricked now and i can log int fastboot and TWRP only
please help me and very thank you any way to any one try to help me aslo help other
i search in XDA and cant found solution so i created this thread and for me and for any one need help like me
thank you all
https://youtu.be/M7yHloINh9w
ali_vip60 said:
i cant make factory reset or wip any thing to flash my rom
is there any way to format from termnal in twrp or another any way
my phone bricked now and i can log int fastboot and TWRP only
please help me and very thank you any way to any one try to help me aslo help other
i search in XDA and cant found solution so i created this thread and for me and for any one need help like me
thank you all
Click to expand...
Click to collapse
If you go to twrp then reboot to bootloader? Will it go to fastboot?
dexz said:
If you go to twrp then reboot to bootloader? Will it go to fastboot?
Click to expand...
Click to collapse
yes sure when reboot to bootloader it go to fastboot and thank for replay no one replay and there is more developer
and i think they are busy but ......i solved that problem now by lock bootloader then it told me lock and format factory yes
after this i go TWRP and i can wipe can advance wipe easy ....... now i have another problem
when i flashed any rom with emui 4.0 or 4.1 or custom rom like twisted phone stop on logo huawei and not working
and if i flashed nougat b520 or b530 it show me like this video
https://www.youtube.com/watch?v=fSkasVODNLk
what this problem and i flash 2 file zip ????
ali_vip60 said:
if i flashed nougat b520 or b530 it show me like this video
what this problem and i flash 2 file zip ????
Click to expand...
Click to collapse
Based on the video. Try to install update_data.zip again.
Can you tell me what's the steps you did to install Nougat? (From start)
ali_vip60 said:
now i have another problem
when i flashed any rom with emui 4.0 or 4.1 or custom rom like twisted phone stop on logo huawei and not working
Click to expand...
Click to collapse
Flashed any rom means by dload?
On twisted rom. Did your factory reset it after you flash it?
dexz said:
Based on the video. Try to install update_data.zip again.
Can you tell me what's the steps you did to install Nougat? (From start)
Flashed any rom means by dload?
yes any rom with emui4.0 or 4.1 yess by dload
On twisted rom. Did your factory reset it after you flash it?
Click to expand...
Click to collapse
yes i factory reset and advance wip all thing then install zip file for twisted after finish phone stay on logo huawei as i install any rom with emui 4.0 and 4.1
install nougat
fastboot flash twrp 3.2 for twisted rom cus 3.3 not flashed
then opwn twrp factory reset then wip all thing
after this install 2 file zip and when finish phone open and look like video
flash twrp 3.0.3 and go twrp and flash updat.zip again then open phone
same prorblem like video
ali_vip60 said:
yes i factory reset and advance wip all thing then install zip file for twisted after finish phone stay on logo huawei as i install any rom with emui 4.0 and 4.1
install nougat
fastboot flash twrp 3.2 for twisted rom cus 3.3 not flashed
then opwn twrp factory reset then wip all thing
after this install 2 file zip and when finish phone open and look like video
flash twrp 3.0.3 and go twrp and flash updat.zip again then open phone
same prorblem like video
Click to expand...
Click to collapse
So you wanted to go Nougat or Twisted? If you want to go for Nougat. I suggest you use TWRP 3.0.2 (Nougat).
1. Reboot to TWRP
2. Format data
3. Advance Wipe (Dalvik, Cache, Data & System)
4. Reboot to Recovery (Optional)
5. Install update_data.zip (Do not reboot)
6. Install update.zip (Do not reboot)
7. If you want to root your phone. You can install at this step.
8. Install TWRP 3.0.2-Nougat (You need to install this again because update.zip will replace it with stock recovery)
9. Reboot to System.
10. Wait for few minutes (5-10mins)
That's all.
dexz said:
So you wanted to go Nougat or Twisted? If you want to go for Nougat. I suggest you use TWRP 3.0.2 (Nougat).
1. Reboot to TWRP
2. Format data
3. Advance Wipe (Dalvik, Cache, Data & System)
4. Reboot to Recovery (Optional)
5. Install update_data.zip (Do not reboot)
6. Install update.zip (Do not reboot)
7. If you want to root your phone. You can install at this step.
8. Install TWRP 3.0.2-Nougat (You need to install this again because update.zip will replace it with stock recovery)
9. Reboot to System.
10. Wait for few minutes (5-10mins)
That's all.
Click to expand...
Click to collapse
Exactly this what i do and i get like video can you get me link for c185 nougat maybe i have wrong ver for nougat but iam sure i have my ver for nxt l29 c185 b520 an b560
ali_vip60 said:
Exactly this what i do and i get like video can you get me link for c185 nougat maybe i have wrong ver for nougat but iam sure i have my ver for nxt l29 c185 b520 an b560
Click to expand...
Click to collapse
Don't worry. I'm just wanted to be sure you did the right way. Your original region is L29C185?
What you can do next is to downgrade it to B180(EMUI4) first via dload and check your build number if is NXT-L29C185B180. Search the thread on downgrade method using rollback update.app (EMUI5 to EMUI4)
Tell me the result later.
dexz said:
Don't worry. I'm just wanted to be sure you did the right way. Your original region is L29C185?
What you can do next is to downgrade it to B180(EMUI4) first via dload and check your build number if is NXT-L29C185B180. Search the thread on downgrade method using rollback update.app (EMUI5 to EMUI4)
Tell me the result later.
Click to expand...
Click to collapse
yes my orignal region is l29c185
i can flash b180 by dload but iam scared from flashing and when finish phono stay in logo huawei
tell me what i must do please
ali_vip60 said:
yes my orignal region is l29c185
i can flash b180 by dload but iam scared from flashing and when finish phono stay in logo huawei
tell me what i must do please
Click to expand...
Click to collapse
You need to rollback first.
HUAWEI Mate8 Rollback Package (NXT-L29, from EMUI5.0+Android7.0 rollback to EMUI4.0)
https://forum.xda-developers.com/mate-8/general/huawei-mate8-rollback-package-nxt-l29-t3498256
Then only you can downgrade to B180. Once you have dload B180. Do factory reset (Press Volume Up + Power). You'll be fine.
If your build number is NXT-L29C185B180 after installing B180 then redo the steps of installing Nougat. Just follow my previous steps.

How can i root my Mate 9 MHA-L29C185 Oreo ?

Hi @ante0
How can i root Oreo ?
I need recovery and root files,also boot image if needed or what ever u think i need to have to root my phone.
can u upload and give me the links too please ?
thank you
ezraiil1 said:
Hi @ante0
How can i root Oreo ?
I need recovery and root files,also boot image if needed or what ever u think i need to have to root my phone.
can u upload and give me the links too please ?
thank you
Click to expand...
Click to collapse
You can use this recovery, when you're on Oreo: https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
Then this SuperSU: https://androidfilehost.com/?fid=962021903579485056
There's no Magisk yet.
ante0 said:
You can use this recovery, when you're on Oreo: https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
Then this SuperSU: https://androidfilehost.com/?fid=962021903579485056
There's no Magisk yet.
Click to expand...
Click to collapse
thanks,
how can i decrypt data ??
i tried to format data and install "update_all_hw" and "update_data_public" zip files but TWRP Kept restarting...
then i had to reinstall Oreo using this.(btw phone stayed unlocked)
Any solutions ?
ezraiil1 said:
thanks,
how can i decrypt data ??
i tried to format data and install "update_all_hw" and "update_data_public" zip files but TWRP Kept restarting...
then i had to reinstall Oreo using this.(btw phone stayed unlocked)
Any solutions ?
Click to expand...
Click to collapse
I've yet to try decrypting oreo, but you should be able to modify the updater-script in both public and HW zips, and remove the command mountcrypt and the last that should normally install update.app.
So unzip, edit, zip. It should work if it's just the Huawei commands that are making it reboot.
ante0 said:
I've yet to try decrypting oreo, but you should be able to modify the updater-script in both public and HW zips, and remove the command mountcrypt and the last that should normally install update.app.
So unzip, edit, zip. It should work if it's just the Huawei commands that are making it reboot.
Click to expand...
Click to collapse
Hi again @ante0
i just installed oreo again,tried to decrypt data:
1.flashed oreo
2.boot,factory reset with erasing data.
3.unlock BL
4.flashed TWRP
5.format data
6.reboot recovery,data was decrypted.
7.install SuperSu with the file u gave me in this thread.
8.flashed modified public and hw,( i had to remove verify files(verify script and verify script_data) which they contain mountencrypt ("data") command. ).(Hw ended up with error 9 but everything seems to be okay)
9.reboot
but when i boot in TWRP between first boot loop after installing SuperSu,data was encrypted.
any idea how can i decrypt data ?
ezraiil1 said:
thanks,
how can i decrypt data ??
i tried to format data and install "update_all_hw" and "update_data_public" zip files but TWRP Kept restarting...
then i had to reinstall Oreo using this.(btw phone stayed unlocked)
Any solutions ?
Click to expand...
Click to collapse
Not possible with twrp
erase require [must with fastboot only]
Code:
fastboot format userdata
XN Logos said:
Not possible with twrp
erase require [must with fastboot only]
Code:
fastboot format userdata
Click to expand...
Click to collapse
It should be possible. I don't think SuperSU changes/removes everything it needs to though, as we now seem to have 3 different fstab rather than 1. It should be possible to modify the AVB script to remove fileencryptioninline.
ante0 said:
You can use this recovery, when you're on Oreo: https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
Then this SuperSU: https://androidfilehost.com/?fid=962021903579485056
There's no Magisk yet.
Click to expand...
Click to collapse
Can we use OpenGaaps with Oreo?
ante0 said:
You can use this recovery, when you're on Oreo: https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
Then this SuperSU: https://androidfilehost.com/?fid=962021903579485056
There's no Magisk yet.
Click to expand...
Click to collapse
I have unlocked bootloader, installed RR rom for oreo. Flashed the above super su file but I got error. System only have partially root. Any idea?
drift08 said:
I have unlocked bootloader, installed RR rom for oreo. Flashed the above super su file but I got error. System only have partially root. Any idea?
Click to expand...
Click to collapse
Much has changed since I posted that
Use this TWRP: https://mega.nz/#!4DYngAxL!OJEgQ4a4cSTypHgRBbMQbok2BRDuVHSDXNktAJ_PnKQ (flash to recovery_ramdisk)
With official Magisk v16 : http://tiny.cc/latestmagisk
I don't think SuperSU will get more updates tbh, and I haven't tested it lately. I do know that Magisk works on AOSP

Possible To Flash Oreo Rom Via TWRP Recovery?

I am currently on Android Nougat stock.
The bootloader has been unlocked and TWRP recovery has been installed.
I would like to update to Oreo but have been unable to do so.
This guide was followed [urlhttp://www.droid views.com/install-android-8-0-oreo-based-emui-8-0-huawei-mate-9/][/url] (but was unable to get past option 4) (I left a space after droid as the link is getting blocked, just put ********** together.)
''Double-click on the Replace_Recovery.bat file in the extracted HWOTA8 folder. This will install TWRP recovery on your device.''
I keep getting a failed notification when trying to do so. The handset was in fastboot mode but refuses to update recovery.
Am I able to update to Oreo with the old TWRP recovery & update it after? I am running the old Nougat version.
Option 7 I also got stuck on. '' Create a folder named HWOTA8 on your device’s internal storage.'' whilst connected via USB to the computer.
I am unable to view internal or external storage when the USB is connected to the computer. When viewing internal/external memory normally I can see items as normal in external SD card but the internal memory files all appear jibberish even in recovery.
What am I doing wrong? I have been unable to find any clear guides of how to update from Nougat to Oreo including flashing the rom, flashing recovery and root.
Thanks for those able to help.
PS. I'm a new Huawei Mate 9 owner and have only just received the device several hours ago which is why I'm rusty. Compared to my previous Sony Xperia XZ Premium it is much more complicated. Sony was far easier to flash recovery and flash roms via recovery.
I am having the MHA-L29 international version.
Device now bootloops after following the guide of flashing SuperSU in recovery. I did what was said and received ''error 9'' after flashing the files.
Now bootloop.
Good news at least recovery is working but unable to boot. How to I update to Oreo with updated recovery & root?
Otherwise is THIS guide safe to follow:
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656
Could not even get past option 4. ''Do oeminfo backup in twrp,you should have a folder name twrp, inside this folder there is many subfolders.
In last folder there is 2-3 files,those files should be replaced with c636 oeminfo: http://www.mediafire.com/?szws87sk7rrkqr6''
Permission denied error.
kanej2006 said:
Could not even get past option 4. ''Do oeminfo backup in twrp,you should have a folder name twrp, inside this folder there is many subfolders.
In last folder there is 2-3 files,those files should be replaced with c636 oeminfo: http://www.mediafire.com/?szws87sk7rrkqr6''
Permission denied error.
Click to expand...
Click to collapse
The guide in OP is outdated, and it only has the oreo beta builds.
Do you know what your current firmware build is?
MHA-LxxCxxx
(It should be printed on the box of your Mate 9)
Next go here http://pro-teammt.ru/firmware-database/ and enter your model and cust in the search box (Example, MHA-L29C432)
Official Oreo builds begin at B360, if you happen to be at C432 the latest is B364 (Ok, it's B365 but it seems to be a test build and was released before B364 so January patches.)
Click the 'update' link in the FullOTA-MF row, download update.zip.
Click on the 'file list' link in the FullOTA-MF row, copy link of update_data_full_public.zip and paste into a new browser tab, this downloads the zip.
Do the same with L29 or L09 hw data, depending on your version.
Next rename update_data_full_public.zip to update_data_public.zip, rename the L29/L09 hw data zip to update_all_hw.zip.
Place update.zip, update_all_hw.zip and update_data_public.zip in the HWOTA folder on your sdcard.
Download this zip: https://mega.nz/#!RaAQDLqY!pgBcA5tcy4ewvROUxei3af59hns4YtkeFPC5_WCyV6g (Note, this is only for Nougat to Nougat or Nougat to Oreo, does not work in Oreo as partitions changed and it flashes the NoCheck recovery to the correct partitions in Nougat. It will not flash correctly in Oreo)
extract and put hwota7_update.zip, MHA_RECOVERY2_NoCheck.img and MHA_RECOVERY_NoCheck.img in the HWOTA folder on your micro sd.
Put back mSD in phone and boot to TWRP, flash hwota7_update.zip and wait.
Phone should now reboot and start updating.
This is basically the HWOTA8 zip for updating Oreo or downgrading to Nougat, all props to @mankindtw.
All I did was change the partitions to flash so they match Nougat's partitions.
ante0 said:
Unless you want to rebrand to a different cust, don't follow this.
Do you know what your current firmware build is?
MHA-LxxCxxxBxxx
Click to expand...
Click to collapse
Good thing I never went ahead with that!
I'm on international MHA-L29C185B182.
Thank goodness I was able to restore Nougat as I backed up with TWRP recovery.
However, what is the easiest way to upgrade to the latest Android Oreo 8? At the moment I'm on stock 7 Nougat but am rooted with TWRP recovery.
kanej2006 said:
Good thing I never went ahead with that!
I'm on international MHA-L29C185B182.
Thank goodness I was able to restore Nougat as I backed up with TWRP recovery.
However, what is the easiest way to upgrade to the latest Android Oreo 8? At the moment I'm on stock 7 Nougat but am rooted with TWRP recovery.
Click to expand...
Click to collapse
Check my post, I edited while you posted this.
Or you can use this one, it's basically the same anyway, only difference is that you use a .bat file: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
Use the same steps as I wrote above for downloading the update files as this was not the way to do it when that guide was written.
^ It seems the model I have is not found? After several attempts it is not finding my model.
kanej2006 said:
^ It seems the model I have is not found? After several attempts it is not finding my model.
Click to expand...
Click to collapse
http://pro-teammt.ru/firmware-database/?firmware_model=MHA-L29C185&firmware_page=0
Here are links you need:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2307/g1699/v120294/f1/full/update.zip
http://update.hicloud.com:8180/TDS/...94/f1/full/public/update_data_full_public.zip
http://update.hicloud.com:8180/TDS/...hw_meafnaf/update_full_MHA-L29_hw_meafnaf.zip
Rename update_data_full_public.zip to update_data_public.zip and update_full_MHA-L29_hw_meafnaf.zip to update_all_hw.zip
There is a B371 too, but it was released before b370 so probably a test build.
That guide in OP seems to be a mixup. It uses the HWOTA8 files, which are for Oreo, so that's probably why it gave you errors.
ante0 said:
http://pro-teammt.ru/firmware-database/?firmware_model=MHA-L29C185&firmware_page=0
Here are links you need:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2307/g1699/v120294/f1/full/update.zip
http://update.hicloud.com:8180/TDS/...94/f1/full/public/update_data_full_public.zip
http://update.hicloud.com:8180/TDS/...hw_meafnaf/update_full_MHA-L29_hw_meafnaf.zip
Rename update_data_full_public.zip to update_data_public.zip and update_full_MHA-L29_hw_meafnaf.zip to update_all_hw.zip
There is a B371 too, but it was released before b370 so probably a test build.
That guide in OP seems to be a mixup. It uses the HWOTA8 files, which are for Oreo, so that's probably why it gave you errors.
Click to expand...
Click to collapse
Thank you so much ante0 for all the information, it was very helpful. I am now downloading the above three files. Once complete I will rename them as mentioned and flash hwota7_update.zip in TWRP recovery. Will let you know shortly the outcome!
Cheers ante0, finally got my phone fully updated to Android 8 Oreo following your guide. Thank you so much! If it was not for you this would not have been possible!
The other links I was looking at were outdated as you mentioned and the instructions you provided were better. I appreciate your time to help me.
Upon booting, my EMUI version is now 8.0 and Android Version 8.0.
I will now follow this link for getting root:
https://forum.xda-developers.com/mate-9/how-to/discussion-root-mate9-oreo-emui-8-0-how-t3712495
@ ante0, I was able to get recovery and root but had to once again unlock bootloader...
kanej2006 said:
@ ante0, I was able to get recovery and root but had to once again unlock bootloader...
Click to expand...
Click to collapse
Great. I would suggest Magisk but that's up to you to decide
Bootloader getting locked is normal when updating Nougat to Nougat and Nougat to Oreo. Oreo to Oreo is stays unlocked.
ante0 said:
Great. I would suggest Magisk but that's up to you to decide
Bootloader getting locked is normal when updating Nougat to Nougat and Nougat to Oreo. Oreo to Oreo is stays unlocked.
Click to expand...
Click to collapse
I did not see any guide for Magisk, guess I missed it.
Anyway there are pros and cons for both, though I also prefer Magisk. Either way they both do the job, root access.
All is good now. I am very happy with the phone. Still not even been 24 hours since I received it yet already the bootloader has been unlocked, TWRP recovery and root. Nice :good:
Great and very helpful thread. thanks for everyone who's contributed to it. I'm trying to do the exact same thing coming from ROM Aur. Do you think I can use the same exact process is yours coming from a custom ROM? Did you have to do the boot loader unlock in order to Root? If there are no custom roms then perhaps the boot loader unlock is unnecessary? In order to install Magisk to root, what are the prerequisits? Do I need to reinstall TWRP? If so , is there a link to the correct version? Are there any other pointers that you can give me that you found out while doing this whole process? Thank you so much
kanej2006 said:
I did not see any guide for Magisk, guess I missed it.
Anyway there are pros and cons for both, though I also prefer Magisk. Either way they both do the job, root access.
All is good now. I am very happy with the phone. Still not even been 24 hours since I received it yet already the bootloader has been unlocked, TWRP recovery and root. Nice :good:
Click to expand...
Click to collapse
---------- Post added at 01:33 AM ---------- Previous post was at 01:02 AM ----------
Thanks for the guide!! Very helpful. However, Before I can even start following it, I'm running into some issues. The challenge that I'm facing is that I'm currently on a custom ROM (ROM AUR) and I do not know what my firmware build is. The box only tells me what the model number is and it's the MHA-L29. how would I find my firmware build ? The phone was purchased at bestbuy in the US.
Thanks again
ante0 said:
The guide in OP is outdated, and it only has the oreo beta builds.
Do you know what your current firmware build is?
MHA-LxxCxxx
(It should be printed on the box of your Mate 9)
Next go here http://pro-teammt.ru/firmware-database/ and enter your model and cust in the search box (Example, MHA-L29C432)
Official Oreo builds begin at B360, if you happen to be at C432 the latest is B364 (Ok, it's B365 but it seems to be a test build and was released before B364 so January patches.)
Click the 'update' link in the FullOTA-MF row, download update.zip.
Click on the 'file list' link in the FullOTA-MF row, copy link of update_data_full_public.zip and paste into a new browser tab, this downloads the zip.
Do the same with L29 or L09 hw data, depending on your version.
Next rename update_data_full_public.zip to update_data_public.zip, rename the L29/L09 hw data zip to update_all_hw.zip.
Place update.zip, update_all_hw.zip and update_data_public.zip in the HWOTA folder on your sdcard.
Download this zip: https://mega.nz/#!RaAQDLqY!pgBcA5tcy4ewvROUxei3af59hns4YtkeFPC5_WCyV6g (Note, this is only for Nougat to Nougat or Nougat to Oreo, does not work in Oreo as partitions changed and it flashes the NoCheck recovery to the correct partitions in Nougat. It will not flash correctly in Oreo)
extract and put hwota7_update.zip, MHA_RECOVERY2_NoCheck.img and MHA_RECOVERY_NoCheck.img in the HWOTA folder on your micro sd.
Put back mSD in phone and boot to TWRP, flash hwota7_update.zip and wait.
Phone should now reboot and start updating.
This is basically the HWOTA8 zip for updating Oreo or downgrading to Nougat, all props to @mankindtw.
All I did was change the partitions to flash so they match Nougat's partitions.
Click to expand...
Click to collapse
seti007 said:
Great and very helpful thread. thanks for everyone who's contributed to it. I'm trying to do the exact same thing coming from ROM Aur. Do you think I can use the same exact process is yours coming from a custom ROM? Did you have to do the boot loader unlock in order to Root? If there are no custom roms then perhaps the boot loader unlock is unnecessary? In order to install Magisk to root, what are the prerequisits? Do I need to reinstall TWRP? If so , is there a link to the correct version? Are there any other pointers that you can give me that you found out while doing this whole process? Thank you so much
---------- Post added at 01:33 AM ---------- Previous post was at 01:02 AM ----------
Thanks for the guide!! Very helpful. However, Before I can even start following it, I'm running into some issues. The challenge that I'm facing is that I'm currently on a custom ROM (ROM AUR) and I do not know what my firmware build is. The box only tells me what the model number is and it's the MHA-L29. how would I find my firmware build ? The phone was purchased at bestbuy in the US.
Thanks again
Click to expand...
Click to collapse
You can do the exact same process, however, I strongly suggest you follow the above guide from ante0. His guides are clear and upto date. Other guides were unclear and old not being upto date.
And yes, you must have an unlocked bootloader to flash a rom, however it is very easy to do. There are many guides which tell you how to do so. Simple fastboot commands when your phone is set to fastboot mode. You only need the unlock code via Huawei's website.
With regards to Magisk/SuperSU, yes, you must have a working recovery in order to flash either one. Without recovery you cannot get root access. I suggest you flash SuperSU as it is far easier than Magisk, a simple two step procedure!
What Android version are you on? Nougat or Oreo? Beware that when flashing recovery and root, it must be for the correct Android version. And of course if updating to Oreo, once again you will need to flash recovery and root made to run on Oreo to prevent issues and boot loops.
Do you not have the box that came with your device? I am guessing you have the international MHA-L29 version as I do, but you must be sure.
ante0 said:
Bootloader getting locked is normal when updating Nougat to Nougat
Click to expand...
Click to collapse
The bootloader (i.e. fastboot) is always locked (btw, is there an easy way to unlock FB Lock ?), you probably mean the 'USER Lock'. And the 'USER UnLock' is damaged only if you flash some random oeminfo files (which is a very dumb decision anyway).
This mechanism is documented in the USENIX paper i have linked in the OEMINFO thread.
---------- Post added at 12:19 PM ---------- Previous post was at 12:00 PM ----------
kanej2006 said:
Sony was far easier to flash recovery and flash roms via recovery.
Click to expand...
Click to collapse
It may be "easier", but Mate 9 is probably one of the most unbrickable smartphones that i know, because it can be recovered even if you manage to destroy 'partition table+xloader+fastboot' (the really critical parts, other partitions can be recovered without opening the phone case).
kanej2006 said:
You can do the exact same process, however, I strongly suggest you follow the above guide from ante0. His guides are clear and upto date. Other guides were unclear and old not being upto date.
And yes, you must have an unlocked bootloader to flash a rom, however it is very easy to do. There are many guides which tell you how to do so. Simple fastboot commands when your phone is set to fastboot mode. You only need the unlock code via Huawei's website.
With regards to Magisk/SuperSU, yes, you must have a working recovery in order to flash either one. Without recovery you cannot get root access. I suggest you flash SuperSU as it is far easier than Magisk, a simple two step procedure!
What Android version are you on? Nougat or Oreo? Beware that when flashing recovery and root, it must be for the correct Android version. And of course if updating to Oreo, once again you will need to flash recovery and root made to run on Oreo to prevent issues and boot loops.
Do you not have the box that came with your device? I am guessing you have the international MHA-L29 version as I do, but you must be sure.
Click to expand...
Click to collapse
Yes I intend to follow the awesome guide from ante0 (thanks for that ante). I'm on Nougat currently. After following the above method, I guess I will have a fully factory locked phone? SO, I will have to first install recovery, then root. Correct? I do have the box but it only says the model number MHA-L29. Nothing on firmware but since its a US phone bought here, I'm fairly confident that its a MHA-L29C567B183. Although when i installed ROM AUR I used the version for L29C432 and it worked. Which one would you try if you were me? Will I brick the phone if the version is incorrect? If that happens, how do i return to oreo stock from there? Do you have any links for the right Recovery and root?
Thanks and sorry for so many questions.
UPDATE-- So have an update. I was able to install oreo using the method listed above. everything seems to be working fine. however I'm getting an error 255 message while creating a backup I'm using TWRP. Thinking that my data partition needed decrypting, I deleted it and rebooted the phone. Set it up and then went back into TWRP. I'm still getting the same backup error. any ideas? The route also installed and works fine . My concern now is that I would end up with I found that cannot be backed up with TWRP. BTW. I installed TWRP 3.2.1-0 from here https://forum.xda-developers.com/mate-9/development/recovery-twrp-3-2-1-0-oreo-t3734967.
Thanks
^ 1 Thing hopefully you did not forget, before flashing the rom, you must ''wipe data'' from TWRP recovery otherwise you will get bootloop and the encryption issue. Did you wipe data from recovery prior to flashing? Encryption is removed/disabled when wiping data in recovery.
Glad you got somewhere at least. If it wasn't for the guide from Ante0, I'd still be bootlooping on Nougat.
ante0 said:
The guide in OP is outdated, and it only has the oreo beta builds.
Do you know what your current firmware build is?
MHA-LxxCxxx
(It should be printed on the box of your Mate 9)
Next go here http://pro-teammt.ru/firmware-database/ and enter your model and cust in the search box (Example, MHA-L29C432)
Official Oreo builds begin at B360, if you happen to be at C432 the latest is B364 (Ok, it's B365 but it seems to be a test build and was released before B364 so January patches.)
Click the 'update' link in the FullOTA-MF row, download update.zip.
Click on the 'file list' link in the FullOTA-MF row, copy link of update_data_full_public.zip and paste into a new browser tab, this downloads the zip.
Do the same with L29 or L09 hw data, depending on your version.
Next rename update_data_full_public.zip to update_data_public.zip, rename the L29/L09 hw data zip to update_all_hw.zip.
Place update.zip, update_all_hw.zip and update_data_public.zip in the HWOTA folder on your sdcard.
Download this zip: https://mega.nz/#!RaAQDLqY!pgBcA5tcy4ewvROUxei3af59hns4YtkeFPC5_WCyV6g (Note, this is only for Nougat to Nougat or Nougat to Oreo, does not work in Oreo as partitions changed and it flashes the NoCheck recovery to the correct partitions in Nougat. It will not flash correctly in Oreo)
extract and put hwota7_update.zip, MHA_RECOVERY2_NoCheck.img and MHA_RECOVERY_NoCheck.img in the HWOTA folder on your micro sd.
Put back mSD in phone and boot to TWRP, flash hwota7_update.zip and wait.
Phone should now reboot and start updating.
This is basically the HWOTA8 zip for updating Oreo or downgrading to Nougat, all props to @mankindtw.
All I did was change the partitions to flash so they match Nougat's partitions.
Click to expand...
Click to collapse
@ante0
can i use these commands to upgrade to O as well
the only difference in the folder should be the hwota8 and the update zips for O ?
L09C316
d if=/external_sd/HWOTA/MHA_RECOVERY_NoCheck.img of=/dev/block/sdd33
dd if=/external_sd/HWOTA/MHA_RECOVERY2_NoCheck.img of=/dev/block/sdd30
echo --update_package=/sdcard/HWOTA/update.zip > /cache/recovery/command
echo --update_package=/sdcard/HWOTA/update_data_public.zip >> /cache/recovery/command
echo --update_package=/sdcard/HWOTA/update_all_hw.zip >> /cache/recovery/command

problem in flashing stock rom

hi guys , i have problem in my honor 8 - when i flashing the stock rom using twrp its feild
the error is :
E: unkown command [errno] updater ended with error 7 error installing zip file
- rooted device
- twrp 3.1.1-1
- no os cuz i Made advance wipe data via twrp and now i cant to installing it again
thx guys
Hello,
If you want to flash any firmwares with TWRP, you must use this method: HuRUpdater > https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
You can only flash "PV" firmwares with TWRP alone.
Micdu70 said:
Hello,
If you want to flash any firmwares with TWRP, you must use this method: HuRUpdater > https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
You can only flash "PV" firmwares with TWRP alone.
Click to expand...
Click to collapse
thank you so much!! i've been having problems updating and flashing stock roms since i got my honor 8, which was years ago, and this is the first i've heard about this method of flashing in twrp.
i've been scrambling to find some old firmware every time my phone stopped working and then update through OTA's. Finally i'm able to update my phone whenever i want to
thnx

Categories

Resources