yashsingh1/xdaforums huggingface dataset:
[Mate 8 Original Android Development] deja_wu:
For everyone else who has been struggling with the decryption issue, I finally figured out how to get OpenKirin's LineageOS image to boot without first encrypting. You lose FDE in the process (a tradeoff I'm willing to make to get a working phone).

1. Start with stock EMUI 8 and a stock recovery. You can get EMUI 8 using the HWOTA packages. If, anywhere in the process you make a mistake, you can restore EMUI by flashing the HuRUpdater zip.

1a. Boot into EMUI 8 to make sure it is intact. You may need to run a factory reset from the recovery (the complete, stock recovery which you can reach by holding Power + VolUp. Do not reset from eRecovery.) Once you see the language select screen you can be satisfied that it works.

2. Boot into fastboot (power off, hold VolDown and plug into USB).

3. Flash your OpenKirin ROM of choice:

fastboot flash system openkirin_ROMNAME.zip

4. Exit fastboot and immediately perform a factory reset from stock recovery, just like the OpenKirin instructions tell you to. Do not boot into the OS first. For me, the factory reset appears to fail. I ran it anyway just to be sure, and it does seem to make a difference even if it fails.

5. Once the reset is done, return to fastboot.

6. Flash this version of TWRP (originally for Mate 9):

fastboot flash recovery_ramdisk twrp_mate9_0.1.img

7. Boot into TWRP recovery: run

fastboot reboot

, unplug the phone, and hold down VolUp until the logo appears. (You have to be quick.)

8. Once in TWRP, load up an adb shell and remount /vendor with write perms:

mount -o remount,rw /dev/block/bootdevice/by-name/vendor /vendor

If your devices differ, use

df -h .

to see what the device name is.

9. Alter the following files, removing any boot flags that say "avb" or "forceencrypt":

/vendor/etc/fstab.f2fs.hi3650
/vendor/etc/fstab.ext4.hi3650

Make sure the comma-separated lists stay valid.

10. Save your files, and tell TWRP to reboot to system.
[Mate 8 Original Android Development] michii_fr34k:
I also had that problem, a developer told me its because of the cdma modem, which is in the AL10 variant. Max connection i got was Edge.

So im back to stock an wait till they fix that problem.
[Mate 8 Original Android Development] Georgian51:
Are these projects working for mate 8? I see that the rom has not been updated
[Mate 8 Original Android Development] ceriqdesign:
yup this is for Mate 8..there are few peoples already tested it but seems like there are still got few bugs like signal and etc. i'm waiting for a new build and will test it.
[Mate 8 Original Android Development] lindsaytheflint:
I'm another that has tested LOS, RR, and OR, and all have the issue with not getting any SIM card signal. Obviously I can't use, as a smartphone without the phone, isn't that smart.

Keenly hoping this gets resolved, as I certainly like the look of these ROMs.
[Mate 8 Original Android Development] Georgian51:
What version did you test?

On AL10 I tried and I had the same problems. I went to

* DL00 and no problems
[Mate 8 Original Android Development] lindsaytheflint:
I've tried from NXT-AL10 b829 stock ROM, then loaded each of the OpenKirin system images with the same result.

Are you saying if I flash DL00 stock ROM (b829?) first, then the cellular signal should work?

If so, I think DL00 uses the same base except for a different "cust" partition. Perhaps I just need to flash the DL00 cust partition?
[Mate 8 Original Android Development] Georgian51:
I made a rebrend at DL00. Try the variant you say, maybe it works
[Mate 8 Original Android Development] ceriqdesign:
Did you flashed cust after upgraded to B596?if you noticed that you don't have signal or no service at that time?
[Mate 8 Original Android Development] lindsaytheflint:
Yes, and signal was fine at B596. Signal is also fine on either stock b829 or KangVIP b828/829.

Firmware Finder's been offline, but looks like it's coming back online soon, so I'll try installing DL00 b829 stock ROM, then OpenKirin, to see if that helps.

(I tried flashing just DL00 b829 Cust.img yesterday, but it didn't seem to make a difference.)

For those that do have working signal on OpenKirin, what full base stock ROM did you come from? i.e. b829, DL00, AL10 etc, and which country region C00, C92, C17, etc?
[Mate 8 Original Android Development] Brokendroid994:
Hi, looks like I am having the same signal issues as every one else on NXT-AL10. Have flashed back to stock EMUI 8 for now after hard bricking my device and using Dc-Phoenix to recover by shortinng out the testpoints.

Like every one else have been looking in to possible solutions. After booting in to open kirin roms and looking in to phone info in setting I noticed my IMEI was blank. At this point flashed back to stock after hard bricking and loaded in to HCU-client to repair fortunately this was not the case and IMEI was intact.

So digging around other Huawei boards I fond this maybe a possible solution to signal issue. Don't have time to try just now will let you know how it goes.

Honor 6X [GUIDE] Update to EMUI 8

https://xdaforums.com/honor-6x/how-to/guide-update-to-emui-8-t3807806

found in instruction on first post

Bugs Fixing:

Unknown or invalid IMEI:Use any root file manager and go to cust/all/cn/prop/local.prop and edit local.prop change the line full network support: true to false

sounds like the problem we are all having with our devices.

If anyone tries this before me can you let us all know
[Mate 8 Original Android Development] lindsaytheflint:
Tried this, and confirmed that my IMEI is also missing from OpenKirin, but after changing the local.prop file and rebooting, it was worse. Rather than the SIM being detected, but having no signal, the SIM was no longer being detected at all (slot showing as empty). Tried OpenKirin RR.
[Mate 8 Original Android Development] acbka:
Hello . I modded this files .

remove "avb" flags and change "forceencrypt" to "encryptable" . work fine (Resurrection Remix OS Beta 3

Released September 27, 2018 - 575.05MB , NXT-L29 (dual sim) changed to NXT-DL00)

View attachment 4607930
[Mate 8 Original Android Development] lukodlakcz:
I cannot have EMUI 8.0 because they do not release update in my region... and I do not think so they will do it.
[Mate 8 Original Android Development] hamta993:
can i install this rom?

L29C185B582
[Mate 8 Original Android Development] apat26:
Nope. You need to be on Oreo first to install these ROMs
[Mate 8 Original Android Development] hamta993:
can i install oreo?!
[Mate 8 Original Android Development] apat26:
Sure... But after debranding to chinese region, preferably DL00, and then upgrading to Oreo. There are a lot of threads on how to debranding here.
[Mate 8 Original Android Development] hamta993:
give me a right link please
[Mate 8 Original Android Development] bouuman:
https://xdaforums.com/mate-8/development/huawei-mate-8-oreo-upgrade-unofficially-t3830670
[Mate 8 Original Android Development] majidamiri15300:
Can someone tell me how to get Oreo working on L29C185? the L29 is listed on the OK's site so im confused as to how it works when they never released Oreo for it
[Mate 8 Original Android Development] apat26:
Same as above. You need to debrand to Chinese ROM first and then upgrade to Oreo and then flash OK ROMs.
[Mate 8 Original Android Development] majidamiri15300:
Well I found out how and got it to work, but after some testing, I wanna rollback to Nougat to rebrand back to L29, how to do so?
[Mate 8 Original Android Development] apat26:
Come down to MM on Chinese firmware, then follow SRK Tools to rebrand to L29 MM and then again upgrade to Nougat.
[Mate 8 Original Android Development] majidamiri15300:
got any links for all those?

I downloaded MM for both L29 and AL10 and neither flash properly. I get a "Software install failed!" error. Is rollback even possible from Oreo B835?
[Mate 8 Original Android Development] apat26:
You need to roll back to Chinese MM first through HiSuite. Then use SRK Tools to come to L29 MM and then upgrade to Nougat.
[Mate 8 Original Android Development] gedankenvoll:
What ROM did you tried? What are the impressions?
[Mate 8 Original Android Development] majidamiri15300:
I tried RROS and OmniROM Pie. they were okay, RROS is alot more stable obviously, but Bluetooth didn't work on either, for some reason. Not sure why.
[Mate 8 Original Android Development] gedankenvoll:
Thank you. I will wait more stable version of OmniROM Pie.
[Mate 8 Original Android Development] lvrksn:
has anyone tested the alpha version of Android 9.0 on mate 8?something I have to know? battery life? bugs? smoothness? thank you!!
[Mate 8 Original Android Development] Kuchman:
How do we use it sir im facing the failed encryption problem
[Mate 8 Original Android Development] lvrksn:
there is an explanation on post #8
[Mate 8 Original Android Development] lvrksn:
hi!! what should i do with that zip you provided us? thanks!!
[Mate 8 Original Android Development] apat26:
what your issue is?
[Mate 8 Original Android Development] lvrksn:
well, im facing the decription problem,but i dont completely understand the instructions on post #8. How to access adb shell on twrp? and how to remove the flags. thanks!!
[Mate 8 Original Android Development] apat26:
This is the link to twrp.

Flash. Chose language english, go to advanced, swipe on fix encryption,

it will show some error but ifvit shows as successful, you Are done.

http://www.mediafire.com/file/wlph2241d26r8k3/TWRP-Oreo.img/file

in fact, This was posted by you only.....:)
[Mate 8 Original Android Development] lvrksn:
i have to do this once i am on the openkirin rom right? i was testing the pie alpha.thanks!!
[Mate 8 Original Android Development] apat26:
Do This first while on stock, then you may flash stock recovery and then OK roms.

You wont have to Do This again if you Are flashing other roms till you go back to stock rom and Do factory rest. Onlythen you need to Do again.

If you Are already on OK rom, no issues. It will work.
[Mate 8 Original Android Development] lvrksn:
yes,you are right,i posted this, but since i dont understand very much about some things, between them decryption, i was not aware at all about that feature. Thanks!!
[Mate 8 Original Android Development] Asttear:
Have you got a plan to fix the SIM card issue on NXT-AL10? This is the only problem that prevent me from keep using it. :)
[Mate 8 Original Android Development] Rommul:
Hi guys.

Here is a screenshot of my current Mate 8.

I bought it on Ebay.

It is rooted and has TWRP installed.

What do I need to do to install a treble rom. I am totally lost.

Thanks in advance.
[Mate 8 Original Android Development] Rommul:
Lets see if this works

https://drive.google.com/open?id=1ia6zpWpgBcBRAPiz-3C806RQpdmxFegb
[Mate 8 Original Android Development] Kuchman:
Its a bit complex, can you do a video tutorial?
[Mate 8 Original Android Development] Rommul:
I will take any help I can
[Mate 8 Original Android Development] M.abdo:
first you need to update to oreo before trying treble roms
[Mate 8 Original Android Development] Rommul:
Thanks not sure how to do that from a custom rom (that means I will have to read more threads).

What would be the step after that?

The website is not very clear about how to proceed.
[Mate 8 Original Android Development] Rommul:
So basically since my phone is already unlocked all I need to do is rebrand using SRK Tools?
[Mate 8 Original Android Development] lvrksn:
the website is very clear,the problem is that you have no idea what you are doing haha,but its normal, nobody born knowing and i always find myself struggling to get something done. if you are going to do this,then you should learn the basics,like for example lock and unlock bootloader and make your mate 8 on stock like if its new,and then try something else,because almost everything has to be done on stock roms. if you dont learn an order doing things, if something goes wrong, you will struggle even more to fix the problem. there are plenty of posts here on the forum explaining how to do the procedures and people helping on the comments so you can guide yourself. i hope it helps you.

---------- Post added at 04:14 AM ---------- Previous post was at 04:13 AM ----------

yes, but for debranding with srk tools you should be on android 6.0 because it does not support debranding on 7.0
[Mate 8 Original Android Development] Rommul:
None of what you said was of any help.

All you need to say was look on the website under the support section and the instructions will be found there.

Thank you for your time.

/s
[Mate 8 Original Android Development] lvrksn:
---------- Post added at 08:24 AM ---------- Previous post was at 08:24 AM ----------

[/COLOR]

so, let me see if I understand. you answer me sarcastically, you said that you are completely lost, said that instructions are not clear and then said you were not lookin at the instructions section? lmao.

not to mention that I was genuinely trying to help you giving some advice since you are "completely lost" and that I have been in your feet...pretty sad
[Mate 8 Original Android Development] Rommul:
Nothing that you said was of any help. Thank you anyway.
[Mate 8 Original Android Development] lvrksn:
the intentions is what it counts. I hope you can solve your doubts soon.
[Mate 8 Original Android Development] apat26:
Well, either you debrand to DL00 and you get both your sim working always with further updates thereafter....

or

you flash your dual sim cust.img and you will get second sim working but this, you will need to flash with every update, if at all.

---------- Post added at 02:12 PM ---------- Previous post was at 02:02 PM ----------

You are already on Chinese ROM...i.e., AL10

You Should get update through system updater to Oreo. If Not getting, unroot and then you will get.

Update to Oreo first.

Follow link and instruction in my post no. 43 here. This you need to do to avoid decryption issue.

Now flash any ROM of your choice from OpenKirin Site in fastboot mode with command....'fastboot flash system xxxxxx.img'....where xxxxxx mean name of the ROM System image you downloaded from OK site.
[Mate 8 Original Android Development] Rommul:
Thank you.

I use Hisuite to push the update to my phone butwhen phone reboots it opens up TWRP.

I assume I need to flash stock recovery in order for the update to go through.
[Mate 8 Original Android Development] apat26:
Yes, just flash stock recovery.
[Mate 8 Original Android Development] Rommul:
Flashed stock recovery. Did update with Hisuite.

When app rebooted the phone it hangs at the "This device is unlocked ..." screen.

Maybe the problem is that I did not unroot?
[Mate 8 Original Android Development] apat26:
try do factory reset first

Second only, as you said
[Mate 8 Original Android Development] Rommul:
I went ahead and flashed TWRP (twrp-3.1.0-next-v3.img).

None of my backups work and now I cent reboot into fasbtoot to flash something

else (either through the buttons or through TWRP - no matter what option I choose in the reboot menu it just reboots the phone.
[Mate 8 Original Android Development] apat26:
Flash Stock recovery first.

Then switch off and then press volume up and power button at the same time. Soon as you see HUAWEI logo, release the power button but keep on pressing volume up button for a few seconds. You will boot into recovery. Factory reset and then see.
[Mate 8 Original Android Development] Rommul:
Stumbled into Huawei eRecovery by accident. Managed to restore B596.

Trying the update again.
[Mate 8 Original Android Development] Rommul:
So i flash TWRP first, selct fix encryption THEN flash the ROM?

If I do that how do get into the factory recover (after I flash the ROM) to do the factory reset?
[Mate 8 Original Android Development] apat26:
Flash twrp, fix encryption in advanced settings. See that it is successful.

Now flash Stock recovery. Then flash OK rom through fastboot
[Mate 8 Original Android Development] Rommul:
I messed up. I flashed the ROM before you clarified that.
[Mate 8 Original Android Development] apat26:
No worries...what happened?
[Mate 8 Original Android Development] Rommul:
Typical decryption issue.

Had to revert back to stock 8.0 829(C00).

Retried the process and everytime I try to flash the TWRP from post #43 it fails.

Going to try redownloading the file and try again.

---------- Post added at 12:15 AM ---------- Previous post was at 12:05 AM ----------

That did not work.
[Mate 8 Original Android Development] apat26:
I hope you are using the right command for Oreo recovery

fastboot flash recovery_ramdisk xxxxx.img

n you have unlocked bootloader...

sometime it will show as unlocked After the Update but actually it is not...

there cannot be a third reason why it will Not flash.
[Mate 8 Original Android Development] Rommul:
That worked. I was using the wrong command.

Went into twrp fixed encryption.

Selected reboot bootloader from inside twrp.

Now the flash of the stock recovery fails

---------- Post added at 12:50 AM ---------- Previous post was at 12:42 AM ----------

Despite fastboot showing a failure when I tried to reboot into recovery

the stock recovery was installed. So I'm flashing the rom now to see what works.

---------- Post added at 12:52 AM ---------- Previous post was at 12:50 AM ----------

For reason it is asking for a password.

I'm done for the night.
[Mate 8 Original Android Development] Maxmans:
Hello I need the help.

My device NXT-DL00 and I wanted Resurrection Remix OS. Device unlocked, FRP is absent (it is not in the fastboot mode).

Flashing according to the instruction, everything is successful, but

in recovery does not do wipe, there is a mistake, failed.

Then reboot to system shows encrypting wait while your phone is being encrypted.

Then the screen of a greeting is loaded and, it seems, everything is normal, but after reboot the password you entered is correct but unfortunately your data is corrupt.

What to do?
[Mate 8 Original Android Development] Georgian51:
No updates for the pie? only omnirom?
[Mate 8 Original Android Development] Rommul:
So I am stuck at the screen asking for a password.

When I try to boot into recovery it loads TWRP.

When I try to flash stock recovery it fails.

I will accept any suggestions.

---------- Post added at 06:00 PM ---------- Previous post was at 05:31 PM ----------

Do you have details about how you accomplished this?
[Mate 8 Original Android Development] Georgian51:
What rom have you installed?

---------- Post added at 05:52 AM ---------- Previous post was at 05:50 AM ----------

What rom have you installed?
[Mate 8 Original Android Development] Maxmans:
RR OS
[Mate 8 Original Android Development] Georgian51:
What twrp did you install? the Chinese or the Mate 9

---------- Post added at 10:37 AM ---------- Previous post was at 10:07 AM ----------

installs through fastboot system stock and urges the instructions https://xdaforums.com/mate-8/general/discussion-oreo-huawei-mate-8-t3785320/page52 # 511 Or try https://www.google.com/amp/s/xdafor...lash-official-firmware-recovery-t3769279/amp/
[Mate 8 Original Android Development] Rommul:
I had RR Beta 3 installed.

I figured out how to enter e-recovery

For those wondering plug the phone into a power source and hold down Volume Up and power until you get to the e-recovery screen.

I managed to reinstall 829 then updated to 835.

Thanks for the response.
[Mate 8 Original Android Development] asz_kt:
Will the dead sim slot on AL10 be fixed? Or at least change the dead slot to the lefter one? I can't use LTE now
[Mate 8 Original Android Development] Bacianthos:
Can someone of you guys explain how to install the gapps? Its nowhere mentioned in the instruction from open kirin and without twrp I have never done that
[Mate 8 Original Android Development] apat26:
It is inbuilt and included in the ROM.
[Mate 8 Original Android Development] kungpaogao:
Decryption unsuccessful

Hey everyone,

I keep running into issues whenever my phone dies and reboots. It says "Decryption unsuccessful ... unfortunately your data is corrupt." Are there any solutions to this issue? Should I switch to RR or OmniROM Beta (I'm currently using OmniROM Alpha)?

I did a few searches and found this. Can anyone confirm if this still works? I don't want to end up bricking my phone.

My phone stats:

- Huawei Mate 8 NXT-AL10

- unlocked bootloader

- stock recovery

- OmniROM Pie Alpha 5.2

Any help would be appreciated! Thanks!
[Mate 8 Original Android Development] apat26:
http://www.mediafire.com/file/wlph2241d26r8k3/TWRP-Oreo.img/file

Flash this recovery. Choose language as English. Go to advance...fix encryption....swipe and see if it shows as successful. It will show some error ...don't worry.

Done.
[Mate 8 Original Android Development] rophiroth:
Someone have installed Oreobase alpha version of pie on mate 9 nxt-09? I made work LOS version, but with some graphic glitch, specially when on split screen.
[Mate 8 Original Android Development] rophiroth:
-no one on this model :c?
[Mate 8 Original Android Development] castanedajor:
To avoid DECRIPTION UNSUCCESSFUL you need to FORMAT DATA on TWRP to erase DATA partition and remove encription, after this you need to re install the rom by fastboot:

fastboot flash system <rom.img>

The correct command to install TWRP on Oreo is:

fastboot flash RECOVERY_RAMDISK <TWRPOero.img>

I am currently using RR beta 3, it is unencrypted and DECRIPTION issue is solved.
[Mate 8 Original Android Development] kungpaogao:
I think I just followed the instructions in the post that I linked, and it worked, but I kind of forget because it was a while ago. Does your fingerprint reader work?
[Mate 8 Original Android Development] castanedajor:
Yes, it works great, no bugs so far, using Resurrection Reimx beta3, and I can reboot it without any problem, I have it rooted with Magisk, using magisk modules successfully
[Mate 8 Original Android Development] kungpaogao:
Oh wow, very nice! I'll try to reflash when I find some time to do so :) Thanks!
[Mate 8 Original Android Development] francis_cai:
could you please help me about the procedure of command in cmd shell?

I can got that through.

thanks in advance
[Mate 8 Original Android Development] francis_cai:
ENCRYPTION removed and problem solved.

Everything function smoothly except SockshadowsR cannot scan QR code, since the failure during employing camera.
[Mate 8 Original Android Development] Lance10:
Will it be possible to install android 10 gsi on this device?