yashsingh1/xdaforums huggingface dataset:
[Mate 8 General] franzyroy:
Yeah why not. I could even post him my boot which I extracted. Maybe it can help him like in the fstab files, that:

Mine where the partitions are in "read" & "write":

/dev/block/bootdevice/by-name/system /system ext4 rw,barrier=1 wait
/dev/block/bootdevice/by-name/vendor /vendor ext4 rw,barrier=1 wait
/dev/block/bootdevice/by-name/product /product ext4 rw,barrier=1 wait
/dev/block/bootdevice/by-name/version /version ext4 rw,barrier=1 wait
/dev/block/bootdevice/by-name/cust /cust ext4 rw,barrier=1 wait
/dev/block/bootdevice/by-name/patch /patch_hw ext4 rw wait

His Elite kernel where it's only in "read":

/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/product /product ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/version /version ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/cust /cust ext4 ro,barrier=1 wait
/dev/block/bootdevice/by-name/patch /patch_hw ext4 ro wait
[Mate 8 General] franzyroy:
I hope soon to have a great new! [MENTION=4479135]jac10000[/MENTION] with help of my insecure has perhaps discovered THE solution to really root easy. Like that:

* Have the B560 without no changes

* This Boot_Insecure_B560_Fix-adb_dm-verity.img

* Have the frd-twrp

* Have this SuperSU-v2.79-201612051815-EMUI5.0.zip on your external sdcard

Easy way to root:

Install the frd-twrp via adb

Install the new_Insecure_B560_dm-verity.img via adb

Reboot to the recovery

Install SuperSU-v2.79-201612051815-EMUI5.0.zip from TWRP

Reboot system

Goes to Playstore and install Chainfire superSU

Finally [MENTION=4479135]jac10000[/MENTION] has rooted his phone like that without to format data. He tested Root explorer & Titanium apps which worked fine.

Maybe a revolution for the ROOT on Nougat.

If you want to test, all is here!

Thank you!
[Mate 8 General] HassanMirza01:
Well done boy [MENTION=4479135]jac10000[/MENTION]

I wanna ask is your [MENTION=2875350]franzyroy[/MENTION] insecure boot is same as ours ?? Or in short, what u changed or edit in it ?? I will try that supersu on P9 lite too...wanna see if it really work for is too...
[Mate 8 General] franzyroy:
Look the differency between our stock boot B560 and the boot in the previous post.

In default.prop file

In fstab.ext4.hi3650 file

And in fstab.f2fs.hi3650 file

I'll give you more later. I can't now. But with infos, you should find.
[Mate 8 General] franzyroy:
. [MENTION=5939689]HassanMirza01[/MENTION]

I forgot!

Here my insecure boot B560, you'll see the differency with new insecure boot in the fstab files.

I also forgot, you have to install Chainfire superSU via the PlayStore after the reboot .
[Mate 8 General] jac10000:
And to have busybox, this one on playstore work fine : https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=fr
[Mate 8 General] franzyroy:
I did a redesign of my OP post because the last tutorial seems really functional and much simpler, so I put it forward.
[Mate 8 General] frankiard:
Ok, I have installed the B560 (just update.app) with the method dload, but now it is stuck in Huawei logo... indefinitely...

Edited: Doing power button+ Vol up, I access erecovery and make a wipe factory reset.

-With respect to step 7 and 8 install the TWRP 3.0.3 and Decrypted data via adb,

do I have to use these commands?:

>fastboot flash recovery Twrp 3.0.3 ??

>fastboot flash boot decrypted data ??

Thanks
[Mate 8 General] franzyroy:
Yes you can make it via fasboot.
[Mate 8 General] frankiard:
In "Step 15. Install supersu Emui 5.0", I have installed the file "superuser-r275.zip" from TWRP, and it is showed up many errors:

-Failed to mount '/data'

-Unable to recreate /data/media.

-Unable to mount '/storage...
[Mate 8 General] franzyroy:
Look here! Tomorrow, you could begin all like that if you want, and there, all should work for you with this TWRP 3.1.0.
[Mate 8 General] frankiard:
Ok, but is it normal to have these errors in step 15?
[Mate 8 General] franzyroy:
No! But I advise you to make the method in the link above. It works. Normally my tuto also but I don't what you have made.
[Mate 8 General] franzyroy:
I say you good night [MENTION=8101314]frankiard[/MENTION] ! I work tomorrow.
[Mate 8 General] frankiard:
Ok, thanks for all. Good night.
[Mate 8 General] dexz:
[MENTION=2875350]franzyroy[/MENTION] supersu is working on twrp 3.1.0-0
[Mate 8 General] franzyroy:
For the moment, only tested with PHH superuser. But you can try.
[Mate 8 General] dexz:
I have tried both. Both working fine. Was just telling you is working :laugh:
[Mate 8 General] franzyroy:
Great! I'll thank you later. I have no longer the possibility to hit the thanks button for the moment. :p
[Mate 8 General] :
If it uses script with =~ then 3.1 won't work

[MENTION=2875350]franzyroy[/MENTION] is that the 3.0.2 image?
[Mate 8 General] franzyroy:
Sorry I didn't understand. Do you want the 3.0.2 image? Or you want if it's same with the 3.0.2 image?
[Mate 8 General] :
I wonder if it's 3.0.2
[Mate 8 General] franzyroy:
You think the 3.1.0-0 is the 3.0.2? :rolleyes:
[Mate 8 General] dexz:
The one that I unpacked (TWRP 3.1.0) myself has issue with =~ as I posted earlier on about the supersu successfully installed but doesn't have root then surdu_petru compiled new one TWRP 3.1.0 for mate 8. His version work script with =~ . I have tested both supersu and superuser. Both working like normal.
[Mate 8 General] franzyroy:
OK, so it's not the 3.0.2! :silly:

Maybe you should try the last method here with TWRP 3.1.0-0.
[Mate 8 General] stevemoretz:
Tnx for the reply I've tried both 3.1.0 and 3.2.0 from the TWRP site downloaded for huawei mate 8 next is it the same or different? Shall i Uninstall to install the new pack using adb how?
[Mate 8 General] franzyroy:
You take this one.

Just install it via adb.
[Mate 8 General] franzyroy:
For all

The last tuto in the OP post is the FINAL tuto. There are nothing else. It's fully functional. If you want another method fully functional. You could go here. Take the first with TWRP 3.1.0-0. The link for this TWRP 3.1.0-0, in his post, is the same than the previous link above.

Thanks!
[Mate 8 General] stevemoretz:
Tnx for the reply I got the img file from the first link you gave me and I ran the command as:

Clink v0.4.8 [git:d565ad] Copyright (c) 2012-2016 Martin Ridgers http://mridgers.github.io/clink C:\Program Files\Minimal ADB and Fastboot>adb reboot bootloader adb server version (32) doesn't match this client (35); killing... * daemon started successfully * error: no devices/emulators found C:\Program Files\Minimal ADB and Fastboot>adb reboot bootloader C:\Program Files\Minimal ADB and Fastboot>fastboot reboot rebooting... finished. total time: 0.016s C:\Program Files\Minimal ADB and Fastboot>adb reboot bootloader C:\Program Files\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.1.0-nex t.img target reported max download size of 471859200 bytes sending 'recovery' (24814 KB)... OKAY [ 0.796s] writing 'recovery'... OKAY [ 0.218s] finished. total time: 1.014s C:\Program Files\Minimal ADB and Fastboot>fastboot reboot rebooting... finished. total time: 0.016s

So before running reboot (the last command) I pressed both volumes up and down and then I ran the command I went into the recovery mode and then it brought an emui update again went to 5 percent and then said again this package doesn't exist please download it again and that's it. What's wrong? Please help me I really need to root my phone.

---------- Post added at 01:03 PM ---------- Previous post was at 12:47 PM ----------

I can't take a picture but it's something like this:

http://thegeektricks.com/wp-content/uploads/2015/11/1.png

---------- Post added at 01:04 PM ---------- Previous post was at 01:03 PM ----------

It's just a picture I found on the network but it's not on erecovery for me just the error and ui is almost the same
[Mate 8 General] stevemoretz:
.edited
[Mate 8 General] franzyroy:
[MENTION=8150469]stevemoretz[/MENTION]

Can you say what Emui version did you have? After the last update. Because perhaps it wasn't Nougat (EMUI 5.0).
[Mate 8 General] stevemoretz:
Hi I updated via ota

And as shown in the picture it is emui 5.0
[Mate 8 General] dexz:
Perhaps you can mask you IMEI. Someone can use that :)
[Mate 8 General] franzyroy:
. [MENTION=8150469]stevemoretz[/MENTION]

Sorry, I didn't see your screenshots links, it was well Nougat.
[Mate 8 General] franzyroy:
I wanted also posting a message again for that!:good:
[Mate 8 General] stevemoretz:
So what can I do buddy and please save these pictures because he's right sb might abuse it so I'll delete them when you tell me

---------- Post added at 03:26 PM ---------- Previous post was at 03:22 PM ----------

Now your quote shows that :(
[Mate 8 General] dexz:
Removed :laugh:
[Mate 8 General] Timeey:
Thank you very much for this tutorial.

I did excactly as stated here - twice ;)

I encounter a weird behaviour. I can't uninstall any app e. g. facebook. The phone just crashes and i see the blue load screen. After the phone is up the app is back again.

Anybody else encountering this? Is there any solution?

Thanks a lot
[Mate 8 General] dexz:
Are you using B560?
[Mate 8 General] Timeey:
yes. I used the mentioned update.zip for dload
[Mate 8 General] franzyroy:
Where have you got this tuto?

In the first page?

I ask because I saw some links aren't good in another post with the same tuto. It could be the cause.
[Mate 8 General] Timeey:
I took this one here: https://xdaforums.com/showpost.php?p=71468927&postcount=406
[Mate 8 General] franzyroy:
Yes I saw after to have asked. The link for supersu EMUI5.0 wasn't good, I fixed it.
[Mate 8 General] Timeey:
Thanks.

I did the whole procedure again Part 1 and 2. Got no errors during install and the supersu app also got uninstalled.

Root access is working.

Unfortunately I still have the same issue. I can install Apps from the PlayStore but I can't unistall the same App afterwards. The UI crashes and the blue boot screen appears.

Also i can't open the Developer Options Tab in Settings. The Settings just close and im back on the home screen,
[Mate 8 General] franzyroy:
In this case, try the latest method in the OP post, it works fine.

I don't understand why you have this issue, it worked fine for me.
[Mate 8 General] dexz:
Try wipe dalvik then reboot to system.
[Mate 8 General] franzyroy:
Normally, if he followed my tuto, he had to make it. But perhaps it's the problem. :silly:
[Mate 8 General] Timeey:
Thanks a lot for your help. I finally made it.

I tried a combination of two methods. Maybe this is also useful for someone else:

0. install twrp 3.0.3 via fastboot

1. Use TWRP 3.0.3 to format data

2. Install B560 via dload

3. Wipe via eRecovery

4. Install twrp 3.0.3 via fastboot

5. install new_Insecure_B560_dm-verity.img via fastboot

6. format data in twrp and reboot to recovery

7. update data via twrp

8. install frd-twrp

i then set up the system to check if everything works fine

9. install SuperSU-v2.79-201612051815-EMUI5.0.zip via TWRP

10. wipe cache / dalvik

done.
[Mate 8 General] franzyroy:
Impeccable!:good:

Hit my :good: button in the first page if this thread helped you! It enable too to see this tuto works fine.

Thanks for your tuto which could help others!:good:
[Mate 8 General] dwenren:
Is Boot_Insecure_B560_Fix-adb_dm-verity.img a must? Or just TWRP + SuperSU will be enough?
[Mate 8 General] franzyroy:
If you use my final tuto, you must take this boot.

If you use [MENTION=2570493]dexz[/MENTION] method, only twrp and supersu is enough.
[Mate 8 General] frankiard:
I have made the "Tuto which worked for me": No errors.

But something is wrong, because i can't enter to Settings->Debbugging options.

Besides, it doesn't show the item: Setting->Security either. So, i can't enable Unknown sources.

Any idea about these issues?

Thanks.
[Mate 8 General] franzyroy:
Goes to the TWRP and make wipe Dalvik cache & Cache.
[Mate 8 General] frankiard:
Finally I tried the tuto from Timeey (message #469), and now it's all right.

Thanks to franzyroy and Timeey for your help. I can access Debugging options. However, it doesn't connect to HiSuite. I don't know why, but i don't care very much.
[Mate 8 General] franzyroy:
Great!
[Mate 8 General] 3bodi9:
AdAway not work for me

Folder system not rw

Any help
[Mate 8 General] franzyroy:
You can't copy anything in the system folder?
[Mate 8 General] 3bodi9:
No :(
[Mate 8 General] franzyroy:
What tuto did you make?
[Mate 8 General] 3bodi9:
Second tuto

And try last tuto same problem
[Mate 8 General] franzyroy:
Weird! :( You have the B560 firmware?
[Mate 8 General] 3bodi9:
Yes :)
[Mate 8 General] franzyroy:
You made those one:

Last tuto (FINAL)

Tuto which worked for me
[Mate 8 General] franzyroy:
I'm so frighten when I see that! below.... It doesn't active from 7 days ago. Like almost all the Mate 8 forum.... :crying::crying::crying::crying:
[Mate 8 General] dexz:
Mate 8 is dying without kernel release from huawei. Thinking of changing phone soon :laugh:
[Mate 8 General] franzyroy:
I understand you! ;) Damage, this phone works really well.
[Mate 8 General] OmarDahy:
thanks you alot

work well

nice job
[Mate 8 General] franzyroy:
Thanks!;)
[Mate 8 General] DesertRose65:
Viper4Android was not working with this final root tuto.
[Mate 8 General] franzyroy:
Can you copy a file in the system folder? If yes, it should work.
[Mate 8 General] franzyroy:
Look too if you have some place in the root.
[Mate 8 General] DesertRose65:
Yes i can copy files to system. This problem is caused by the BusyBox.
[Mate 8 General] franzyroy:
Have you installed it(busybox) ?

However I don't know if viper4android works with Nougat on our device. Maybe anyone can confirm that! I don't use it.
[Mate 8 General] franzyroy:
[MENTION=6737176]DesertRose65[/MENTION]

How much free space have you at the root? Might be your issue!
[Mate 8 General] Calvin1997:
Have you tried different BusyBox installers? I had the case, that one Installer not worked but i tried another one and it worked :) (i have to add that this was on Marhsmallow, but maybe on nougat it works too)
[Mate 8 General] franzyroy:
You can say what busybox you use. If it can help him.
[Mate 8 General] amin318:
Install busybox with TWRP, it always works

https://drive.google.com/file/d/0B_m2pc2OzM8GbWptTjYyU2Z3TVE/view?usp=drivesdk
[Mate 8 General] Calvin1997:
Of course. i use this: https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer

But as i said .. i had that case on marshmallow and I'm currently running marshmallow too.. so i don't now if it helps .. but you can give it a try :)
[Mate 8 General] franzyroy:
Yes with Nougat, it's a bit different.
[Mate 8 General] Calvin1997:
Yes, unfortunately... I tried three times to root nougat .. with marshmallow or lollipop .. it wasn't a big thing neither on my Mate 7 nor on my Mate 8... But with nougat difficult..

Would be nice if anyone can report that Viper4Android is working on nougat
[Mate 8 General] franzyroy:
Now, how is it with your phone?

With encrypted data?

With Decrypted data? I'll think this one if you followed my tuto.

If encrypted data, so without to have formatted data. Take this TWRP 3.1.0-0, post 1.

If decrypted data, like I think that you are. Take this TWRP 3.1.0-0, post 3.

Install TWRP 3.1.0-x following your data

Install again your root, supersu or superuser. If you have an error, look that *

Finally reboot and it should work.

* With decrypted data, perhaps encrypted too, possible you should install again the boot in order to remove the current root. Only if you saw an error in the step 2.

For encrypted data, stock boot is enough.

For decrypted data, like you have followed this tuto, you will install the same boot like in the tuto.

If never it doesn't work, I'll give another TWRP, this is the last (3.1.0-1), not released yet. I shouldn't give you but I'll do it if necessary.
[Mate 8 General] Calvin1997:
Currently i'm back on android 6 after i failed several times to root nougat. I'm rooted, have xposed, viper4android but have encrypted (stock) boot.img installed.

Maybe i'll try to root nougat again with your latest tuto at the weekend.. hoping that viper4android is working then :D
[Mate 8 General] amin318:
Next time use this viper installer via TWRP

https://xdaforums.com/mate-8/themes-apps/sound-mod-mrlalsins-atmos-viper-fx-t3548772

It worked for me though
[Mate 8 General] franzyroy:
With the last twrp, it should work.
[Mate 8 General] namian_semazen:
Hello, mine is NXT-29-B563. Will this method work on my phone? I would like to try it. Currently on nougat. Is there anybody who already tried it on B563? Thanks in advance

Sorry for my bad english
[Mate 8 General] franzyroy:
If you want try this method here, you should send me your stock boot in order that I make a Decrypted data boot B563 or a Boot_Insecure_B563_Fix-adb_dm-verity.img.

I could rather advise you to follow this method (above) from a fresh installation or an installation which hasn't been modified. If you are in this case of course.

B.R
[Mate 8 General] Calvin1997:
Thanks guys, will try that tomorrow ;) :good:

When I update to the B560 and Flash the boot.img from OP Post.. then i'm decrypted right? So i have to use the TWRP for decrypted data?
[Mate 8 General] franzyroy:
No if you didn't format data. Yes if you formatted data.

Only when data is formatted

Decrypted_data_boot help to decrypt and to keep decrypted the data.

But what decrypts, it's formatted the data. If you didn't made it, it's not decrypted.

So if you didn't format data, you should use the one of first post.

If you don't need to decrypt, because not really useful. You can install again a stock boot and use the TWRP from first post, and finally root your phone via TWRP with Supersu EMUI5.0.

This last method is easier.
[Mate 8 General] Calvin1997:
So guys, i'm trying to root my Mate 8 now.

Beginning with updating from B192 to B560.

So when i'm now on B560, without formatted data, do I have to flash the boot.img from OP post? Or is it enough to take the new TWRP 3.1.0.-1, flash it via fastboot and install the modded SuperSu for EMUI 5?:confused:

Thanks for your help :)

EDIT: Finally i'm rooted now!! hoping that all my apps which require root are working, but seems to be good! thank you guys!!
[Mate 8 General] franzyroy:
Great!:good:
[Mate 8 General] Calvin1997:
Good Morning again :)

Today on my way to work, i've faced a Problem with my Mate 8 and Viper4Android. It won't work. No Music FX, nothing.

After root process yesterday, i tried to Flash those three files from another thread, mentioned above. These three files included Viper4Android, DolbyAtmos and another third file. Flashed them all in TWRP (got no Errors) but nothing appears.

So i tried another solution, installed BusyBox and another Viper Installer especially for Nougat. At first it was looking good.. i was able to install BusyBox and Viper without any errors. Today i wanted to listen to some Music.. started Viper4Android and it says to install Drivers again. Device Restarted. Opened Viper: Same Thing. I had to install Drivers AGAIN.

I don't formated my data after update (from Marshmallow to Nougat) and root. So i'm still encrypted.. maybe thats the reason. i don't know. :(

i'd be very nice if someone can help me again and maybe give me a step by step solution *feeling like a noob* :eek:
[Mate 8 General] franzyroy:
That you format data or not.. That's not the cause. Maybe viper4android or busybox have been installed but not correctly due to the free space not available in your system. Perhaps too that space lack creates an issue with this app.
[Mate 8 General] Calvin1997:
You can be right. Busybox installer Shows a Diagramme of free and used space and says that there are 0 MB free space on System Partition. But BusyBox installed without any error.. so I thought it was fine.

But if that is the error.. how to solve it? Is there any way to get free space on System Partition?
[Mate 8 General] franzyroy:
Try to remove useless apps.
[Mate 8 General] Calvin1997:
you mean bloatware, like those Google Apps etc.?
[Mate 8 General] franzyroy:
Yes but apps installed in the system folder, not in the data folder. Lot of Google Apps are installed in data.
[Mate 8 General] franzyroy:
After, the removed apps, if you need them, you can justly re install them in data.
[Mate 8 General] Calvin1997:
Thanks [MENTION=2875350]franzyroy[/MENTION] i'll try that :) Anyways: Thank you for your great Support!

@ all: can anyone confirm working Viper4Android on rooted Nougat and can tell me/us how you got that working?

Which TWRP Version used?

Which Viper Installer?

Which BusyBox?

Have you done some other steps, like removing some System apps?

would be nice if anyone can give some Details of how he got Viper working ! :good::)
[Mate 8 General] freaked9:
Followed the guide, installed root, but it doesn't seem to work as it should.. Titanium backup root cannot delete apps.. it's saying it does, but doesn't actually. Any ideas how to remove bloatware apps? That's the reason i wanted to root my phone :)
[Mate 8 General] franzyroy:
This?

Easy way to root:

Install the frd-twrp via adb

Install the new_Insecure_B560_dm-verity.img via adb

Reboot to the recovery

Install SuperSU-v2.79-201612051815-EMUI5.0.zip from TWRP

Reboot system

Goes to Playstore and install Chainfire superSU

Try with this TWRP (you can find it here) like that:

Install the TWRP above with your current TWRP (choose "install image")

Install the stock boot B560.img with the TWRP (choose "install image")

Wipe cache & dalvik cache

Install SuperSU-v2.79-201612051815-EMUI5.0.zip from TWRP

Reboot system

Goes to Playstore and install Chainfire superSU

It should work!
[Mate 8 General] natispain:
Install that busybox, then fdroid and download from fdroid the old version of selinux mode changer and install it, version 3.0.1. Then open selinux mode changer and put it to permissive. Then t backup will work. Every time you restart the phone the mode will be enforcing again and you have to put it to permissive.
[Mate 8 General] franzyroy:
A special thanks for his donation.

Thanks!:good:
[Mate 8 General] amin318:
New firmware finder tweaker broke my navigation bar, I've done everything and i couldn't fix that.

So i had to do that flash and root thing again, after booting up i noticed this

I used old root method with new insecure boot img

Can i flash old insecure img? Is there any fix for this? Or i had to do the whole flash and root thing again?
[Mate 8 General] franzyroy:
Unfortunately for that, you should make a rollback to Emui 4.1 in order to enable it in the developer options. You have no other solution, sorry to say you! :(
[Mate 8 General] amin318:
Oh no! I did not see that coming ?

Another question!

Can i dload this? Or i have to wait for 2.2 gig firmware and do the root again?
[Mate 8 General] franzyroy:
You can download it at least in order to see. I would like to see it.
[Mate 8 General] amin318:
I love to test but my OEM is stuck i cant take risks
[Mate 8 General] franzyroy:
I understand, I'll try to download it.
[Mate 8 General] franzyroy:
. [MENTION=5303139]amin318[/MENTION]

You can always download it here if one day you want try.
[Mate 8 General] franzyroy:
Thanks to my new donator [MENTION=8203799]Frittenfresser[/MENTION]
[Mate 8 General] franzyroy:
Updated the OP post because the method works on several Huawei devices.
[Mate 8 General] franzyroy:
Thanks to my new donator [MENTION=6870018]Tecalote[/MENTION]

And again [MENTION=8203799]Frittenfresser[/MENTION] for his new donation.
[Mate 8 General] speechless:
Question: freedom work? bcoz i rooted b4 and got msg no space available . and by time adaway stoped to update and got the same msg is like a time bomb everything become slowly any1 had those problem and this tuto works well?!
[Mate 8 General] franzyroy:
The tuto works fine, no problem.

I've not understood your question. But if you have a lack of space. With this tuto, you could remove some useless apps in order to have space.