yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
just purchased a Mate 9 and today while searching Hauwei's site for themes, i clicked an Unlock Bootloader link to request an unlock key. i completed the account registration, i submitted the requested info to obtain an unlock key, hit the "Commit" button and the unlock key appeared immediately. i haven't tried it yet. since i'm new to Hauwei, has anyone else gotten their key this quickly? another thing i noticed is that the browser tab title for the website was "Reformatting Lock - EMUI" vs. "Bootloader Unlock". apologies to the OP and others for my off-topic post; just wanting to make sure i followed the correct process to obtain a key and don't want to make any mistakes when i unlock the bootloader.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] jr313:
Yes you followed the correct path, that would be your bootloader unlock key it produces.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Martin_R92:
I have a Mate 9 pro and have installed TWRP but want to remove it again. (Since it starts with a "System is insecure")

The guides i found apparently dont help.

Anyone who can explain/link me in the direction to remove it? :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
well u can*reinstall your*official firmware using funkyhuawei service,this will*lock back your BL automaticly
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Martin_R92:
I tried the FunkyHuawei service to "update" the rom, but it didnt change anything. I am on the LON-L29C432B124.

Just like the Erecovery service cant find "the package"
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
did you*set your router DNS according to the*one given?if you*get error means you have*choose a wrong*fw or*ur*router is not set correctly
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Martin_R92:
I set it correctly. It downloaded and installed and apparently everything was ok.

Perhaps i'll give it another go.

Thanks for the help until now :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Is there any way to remove the"system is insecure" message that comes up when you reboot on a mate 9 with unlocked bootloader please. Any advise would be appreciated
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] duraaraa:
If you want to relock the bootloader, you need to use the eRecovery method.

---------- Post added at 08:05 AM ---------- Previous post was at 08:04 AM ----------

You have to do an eRecovery to relock the bootloader and get rid of the message. You'll, of course, lose root.

Chinese AL00 model can do it without FunkyHuawei, but Huawei isn't supporting other models, so you need to use FunkyHuawei.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] albertobom:
I used third method and my bootloader was locked ;)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] duraaraa:
Ah, good! I didn't know that. Thanks for the info.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi thanks for the advice. Is there anyway to get rid of message without re-locking the bootloader?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] duraaraa:
No. The very meaning of the message is "HEY! YOUR BOOTLOADER IS UNLOCKED!"
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Ok thanks. Will have to live with the warning message
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
appreciate your feedback, i'm BL unlocked, rooted and good to go (for now).
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] oF2pks:
Sorry for zigzagging (since I don't own mate9 yet), but can /data handle error can be related to external/f2fs-tools version difference, from twrp and mate9' rom: except cm13/14(1.6) and cm14.1(1.7) most of the roms are still on old 1.4 ?

How can you get mate9 version info on f2fs ? (OnePlusT3 looks on old 1.4 )

Also don't get if this is relevant to mate9 : https://github.com/Hacker432/androi...mmit/8046fe7a80050b91f5f196d858f32a3bc0b8d2a5 ?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kannaiah:
Hi Im able to root the phone but I could not install the busybox

I could not see sdcard when I booted into recovery to flash root files so I used micro sd card.

Why could not I see directories from TWRP? is the phone encrypted
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
I think we are all standing by for a encryption fix or a new kernel to make the Mate 9 TWRP fly as intended.

Some have found the way to permanent Chainfire SU root with BusyBox, but don't know how. Here's an interim trick on backups. Use FlashFire if backup in TWRP doesn't work. (TWRP backup to ExtSD bombs on me on first file).

Over to the great devs to help us out.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] :
Ok i see chainfire is the issue here as it can't find boot.

---------- Post added at 10:14 PM ---------- Previous post was at 10:09 PM ----------

That's because of system verify in fstab and or phh seems to have some issues

You can try https://mega.nz/#!O5xhVZgS!ymZz11uIClojAEzou2AYPIWCZXd6Jj71Mj3nFRvzPsM

And tell if it'll succeede to patch boot
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
downloaded and flashed but cannot flashed,it reboot while flashing halfway
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] :
Ah I see.

Well i got stock system size instead of 100mb free space left while updating with twrp. And official way should have same thing.

Also we can get internal storage detected but this includes modified fstab in recovery and a empty image to be flashed to the new path to userdata.which is Uncrypted. . . ? Before we used dm-0 now we use userdata path.

I have internal sd storage working. So it's cool for me [emoji14]
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Tkkg1994:
I mount /userdata directly in twrp.fstab without mounting it to dm-0

After one time decrypting with format data you should probably be able to access /data in twrp as well (as long they don't encrypt on reboot again)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] :
Well I can access it all times after boot

Well the reason was old twrp used dm-0 that's what I meant
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] dr.mz:
Great

Thats why i still didn't get the mate 9

Root and TWRP

but now ðŸ‘

Thank you!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Abdulhadi_Alenzi:
Nice to see such great work for this great phone

Well done sir
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Tkkg1994:
As you can see in the OP I made some small adjustments in the 3.0.2-1 twrp version. I will maybe add more of those paritions in the near future which are needed for full rom updates

Sent from my SuperMan powered SM-G930F
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Trixanity:
I think aroma is broken for all devices. It's not maintained from what I know. So unless someone starts maintaining it, it'll be wonky and get worse with time.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] hspmanbu:
Hello,

I am a noob and individual developer in huafan club,and finally I built a TWRP successfully some days ago and I find data and internal SD card mounted , and files in /data is okay but in sdcard (/data/media/0) ,all directories' and files' name showing as unreadable code.Do you know how to fix this bug?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] BadWolfYe:
if possible you push the recovery?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] hspmanbu:
of course,here is the url:recovery-for-mate9.img

it's default language is Chinese so you need to change the setting manually
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] BadWolfYe:
very very thanks!

---------- Post added at 01:01 PM ---------- Previous post was at 12:57 PM ----------

i unpacked ramdisk and vieweing... you probe change in the /etc/twrp.fstab and recovery.fstab this line?

/data	f2fs	/dev/block/platform/ff3b0000.ufs/by-name/userdata

to: /data	f2fs	/dev/block/dm-0

(or dm-4)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] hspmanbu:
This doesn't work,I use /dev/block/dm-0 at the beginning,but data can't mounted at all,so I change to /dev/block/platform/ff3b0000.ufs/by-name/userdata ,and then now I'm facing unreadable code issue~
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Tkkg1994:
Can you push your source code to github? So other guys could help you out?

Aroma is broken for huawei mate 8 and p9. So I'll need to fix this first. My rom is ready but what should I do without aroma? Worthless lol

Sent from my SuperMan powered SM-G930F
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Trixanity:
I personally don't find aroma that important but I can say that aroma has a lot of glitches on the LG G2 because it's not maintained and the dev said that it can't be fixed by any TWRP maintainer because aroma is the problem; best that could be done was try to work around it.

But maybe you could pick up aroma and bring it back :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Tkkg1994:
I've had the; s4, s5, s7, n7 and tab s. On all those phones aroma works like a charm.

When the dev says it's a twrp issue he is just wrong. Otherwise it would work on none devices lol.

It's something in the display drivers of kernel I assume. At least here on the mate 9

Sent from my SuperMan powered SM-G930F
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] BadWolfYe:
Probé with another volisnotd i see dmesg and you volisnotd it's killing itself
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Trixanity:
I mean aroma works but it has display glitches but the dev had to make it work when the device transitioned to twrp 3.0. However I'm not too familiar with the development to speak on the behalf of others. Also, it's not a twrp issue. It's an aroma issue. If I gave the impression that it was twrp, then my bad. Twrp works fine :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] hspmanbu:
I am using the volisnotd extracted from official ROM B125's boot.img. May other huawei devices' volisnotd work?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
[MENTION=5899304]Tkkg1994[/MENTION] and [MENTION=4572798]duraaraa[/MENTION]...I need some advice/help.

I have successfully installed TWRP and rooted following the instructions of [MENTION=5899304]Tkkg1994[/MENTION]'s OP. For some reason, superuser does not work correctly upon reboot. For example, when I reboot after ADAWAY is running (it runs fine without reboot), it will be Disabled, so it only runs when I enable it and do not reboot. So, when a reboot is required for apps like TEXTDROIDER (dpi changing apps or apps that require reboots to make changes effective), they do not work. Is this a problem of this superuser? Is there a way to fix this? Is the aroma issue discussed above related to this? Sorry that I don't know much about how superuser maintains its functions. I check the app itself, and when it requires permission, I set the setting drop down from ONCE to FOREVER so it doesn't keep asking for permission when logging the app requiring permission for root access. Any advice or anything I need to change is greatly appreciated. I know that dpi can be changed in build.prop, but this is more so related to ROOTED apps not working correctly due to any reboot. I know I have working root because adaway functions fine when downloading/enabling without a restart and also I restored all my USER APPS/DATA (only needed to wipe whatsapp and gmail data to make sure everything synced correctly) using Titanium Backup Pro Root (always used this on all my devices - literally everything else works like a charm just like on my Nexus 6p). I never restore system app/data because I know how that causes issues especially with different version of Android (MM to Nougat, etc).

Is there a different version of superuser that I need to use?

Thanks!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Tkkg1994:
Hello

That has nothing to do with the root method, you would need to edit all those stuff in twrp, as the new dmverity v2.0 prevents any changes in /system partition. Like it's protected. To disabled this I would need a kernel source to build my own kernel.

Has nothing to do with the superuser :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kannaiah:
I was trying to remount /system partition in rw but that doesn't work.

I tried to copy some files in /system/lib after mount /system from twrp recovery but after reboot I don't see those files.

How can I copy/replace files in /system and /vendor?

Thank you.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] jr313:
Yeah without us having write access to the system right now I believe the only way to make changes is to pull the files, make your changes, and push them back through ADB only. I could be wrong though
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Hopefully someone can chime in soon with that test. I haven't pushed any apks with adb yet despite being rooted. I would love some way to replace System/app/YouTube with ad-free YouTube and hosts file in the System/etc folder. I've tried every way you can think of within TWRP File Manager with system mounted, and no dice every single time the phone boots back up. The old 11.38.54 version re-appears no matter what even if deleted, renamed, etc.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] :
Hosts is in vendor not system
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Ah right, forgot. So, it can be modified through twrp and it will stick upon reboot?

Nevermind, I found the ultimate adblock hosts file from xda and applied that in vendor/hosts directly with solid explorer (yes, root was required), and it worked! Thanks for the correct location reminder :). No longer need to use adaway app (it didn't work most of the time anyway when it was closed).
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] NJBROTHA2K:
Would like to share this ad blocker source or app so we ALL can enjoy your glory.

I just got mine and still debating should I root it or not.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Rooting is worth it to me regardless of how limited it can be in the early stages of new phones like the Mate 9. Once we start attaining more sources/devs, the possibilities become endless. Look at the new theme editor dev that just popped up. It's pretty amazing what can be done.

Here is the link for the hosts file: https://xdaforums.com/showthread.php?t=1916098. Simply download the full one (that's the one I downloaded), and just replace it in vendor/etc/hosts. I used Solid Explorer (it did ask me for root verification, but I don't know if it will ask this of non-root users). Maybe someone can test?

I've tested it in Boat Browser and Chrome, and it works perfectly. I just downloaded Yandex Browser as well, and I have to say I'm really impressed (it has adblocking built in, but can also allow extensions - about 1500 of them) considering I've been a Boat Browser Premium user for years. The hosts file works across pretty much most user apps except YouTube (I'm assuming system apps, because they are dm-verity protected, will have ads still); ads do pop up much less though it seems, which is a plus, but that could be a placebo :).

EDIT: it must be a very powerful placebo (meaning it's working) because I played a MobileTechReview, Marques Brownlee, and Dave Lee video back to back to back to back (yes four different videos for each channel back to back), and no ads. Ok, after like the 10th video, a 6 second ad popped up, but I swiped it away, and played it again, and the video played instead of the ad, so THIS IS GREAT!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] danilkazzz:
Oh boy, I've got some major issues. (L29C432)

Bootloader unlock, TWRP and root went well, until I realized that all Google apps were missing. Tried to install the update_full_hw_eu and update_data_full_public from the other thread and ended up with even less apps.

Then tried to factory reset via Settings, ended up landing in TWRP. So I decided to Wipe/ Factory Reset in TWRP.

Getting bootloops since then which end up in eRecovery. Tried to install the update.zip from the other thread and I'm getting errors immediately. FunkyHuawei methods don't work for me.

Apart from eRecovery I can still get into Fastboot and TWRP.

What else can I do? Is there no way to just flash the firmware from TWRP? Is there an option to recover from somebody elses TWRP back up?

Any help is much appreciated.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] 5[Strogino]:
Did you do common wipe (factory reset) in TWRP?

If you wiped additional partitions, so it is big problem.

If not, then flash stock recovery.

Do factory reset from it.

Try to turn phone on.

If yes, flash two additional zip's, but via TWRP.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] duraaraa:
What is it that doesn't work?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Schucha:
At The Moment my Problem ist that i cannot flash twrp. Bootloader is unlocked but frp Lock in fastbootmode In settings menu OEM unlock ist greyed Out. im in l29c432b138. How can i unlock frp, i think that is The Problem why trwp flashing fails.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] 5[Strogino]:
OEM unlock is greyed Out. If you press this option, does it change anyway?

What command do you use to flash twrp and what's output?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Schucha:
i cannot press it. its greyed out. does not change anything.

fastboot flash recovery twrp.img

output is size xxxxkb and then fails
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bRkiX:
i cannot copy it.. i ask me to replace file in that folder click ok nothing hapens i guess file is read only... l29 phone with root from op... cannot change anythin in root directory.... am i missing something?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Use Solid Explorer and see?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bRkiX:
using solid explorer ever since es explorer went to sh*t.. maybe some setting inside that i missed?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Ok copy the hosts file within the zip file of the full moad version. Then paste it in vendor/etc/hosts and confirm to replace it... Root from Solid Explorer should pop up to verify the process to which you give the ok. It should be done after that.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bRkiX:
did just that... but no pop up of any kind....

maybe i should try to reinstall solid since this one is inported together with my other 200+ apps from titanium backup....

phh superuser is methot of root that i have..
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] opasha:
Phh is the same method I have. Followed the op method both times from B126 to B138. Maybe try fresh install or go into super user to make sure solid explorer has root permission. Don't select forever. I think that is what screws things up.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi I was reading some posts earlier in this thread about installing busybox, where some have been successful and others failed. I have bootloader unlocked, twrp and phh root. However I am unable to install busybox. Have tried 3 different apps to try to install and all failed. If anyone has succeeded can they please share how they did it. Is there anything else I need to do beside unlock bootloader, twrp and root to install busybox. Thanks in advance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] -Zork-:
Any one get the international version L29C900xxx Working?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] offall:
I am on L29C4xxB139, waiting for the system partition unlock. It has been done in the Chinese forum but no one here has been able to replicate. I pmed the OP on Chinese forum and he says he will come here to post how he did it when he gets chance.

In the mean time, any progress on this issue will be appreciated. wondering if anyone can analyze what the Chinese OP did in his system img. someone has translated the post here a few pages back:

https://xdaforums.com/mate-9/develo...wei-mate-9-t3515617/post70565451#post70565451
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] mai55:
A new version AL-00

[Rec firmware] b165 to the A Alang has sent a perfect root package unlock system, support the latest b165 version

A Alang to teach you the root of the phone can use Huawei backup or titanium backup (I think the titanium backup done more perfect, crack version of their own to find), first the original system to install all their own programs and data backup, including contacts, Call records, wifi, SMS or something. Such as upgrading the new system, the root back after the titanium back and then restore the application and data, get.

Because a lot of pollen in the new version of the push after the non-stop message to me, I synchronize the b165's root package is also updated, in view of so many people have such a demand, I quickly upgrade, and then install the package and boot.omg Partitions are processed.

If you like, then free to download it!

1. Brush the root package, the use of twrp recovery into the brush, the steps are no longer explained. Zip package directly into the brush. Note: must be upgraded after the b165, unlock the phone after the brush, to ensure that no other people brush any root package. If you have already brush someone else's root package, please use the following two methods.

Download: http://pan.baidu.com/share/link?shareid=2818681917&uk=3523631441

2. Boot partition straight brush package (for advanced players), through the computer connection using fastboot brush into the brush into the command to fastboot flash boot file name.

Download: http://pan.baidu.com/share/link?shareid=821183423&uk=3523631441

3. The above regardless of the root of the way, must be used in conjunction with this version of the superuser will not be a problem, other versions may be incompatible and error conditions, this version after I tested and tested.

Download: http://pan.baidu.com/share/link?shareid=3482095029&uk=3523631441

P.S. Alang response to the invitation to visit XDA forum: "thanks for the invitation, I\´d love to if I have time"
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] lazybone9988:
I got FAILED (remote: Command not allowed) error, please help!

fastboot flash recovery recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (25740 KB)...

OKAY [ 0.565s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 0.579s
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
Do you have unlocked bootloader?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] lazybone9988:
Yes, "DEVICE unlock: shown at the fastboot screen, developer option unlocked.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] NJBROTHA2K:
I been dealing with this problem for hour now. phone is unlock but I cant seem to get twrp recovery to install. am I missing something?

I have MHA-L29C636B110 build. Does it work for my build?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Schucha:
Same Problem Not able to install twrp
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] NJBROTHA2K:
just realize how to install the twrp recovery.

download the twrp file 3.0.2-2-hi3660.img

rename the file twrp.img

go to adb fastboot type in: fastboot flash recovery ====> here comes the tricky part. You got to double click from you download it at drag that ***** in the abd fastboot command prompt and paste and than you click enter.

Type it in did not work for me.

oh yeah, im using window 7.

phone model MHA-L29C636B110
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Before I jump into the deep end, I take it I will need the full new version b165, then

Fastboot flash the SoftRoot_soff_B165_boot.img to boot.img

then flash SuperRoot_soff_B165.zip (assume this can be within recovery)

then install Superuser.apk (assume this could be installed prior to the zip, but may may not matter).