yashsingh1/xdaforums huggingface dataset:
[Mate 8 General] franzyroy:
I hope that you say true. But... The best is to test.
[Mate 8 General] dexz:
If you have oeminfo for DL00 . I can try for you.
[Mate 8 General] franzyroy:
I have to look. I don't remember.

---------- Post added at 09:42 PM ---------- Previous post was at 09:25 PM ----------

So if I understand, I must have the oeminfo of my phone model in order to root it with your method.
[Mate 8 General] Leo_83:
No he needs it to rebrand his phone to DL00 to see if his steps work
[Mate 8 General] franzyroy:
I sent him my backup of oeminfo NXT-DL00 via pm. He could try it.
[Mate 8 General] mariosun38:
Deleted
[Mate 8 General] Leo_83:
Wrong thread, please delete and post in other thread
[Mate 8 General] franzyroy:
[MENTION=2570493]dexz[/MENTION]

Have you an undo for this root in the case where it doesn't work?
[Mate 8 General] franzyroy:
Well I know to unroot now. Just flash the boot.img of my firmware and phh superuser app.
[Mate 8 General] dexz:
Yes that's right.
[Mate 8 General] franzyroy:
Like I already formatted data before, I only unrooted Chainfire supersu, it has worked. After I wanted to install your superuser.zip but no success. :( I got "error 1"

Maybe due to way to make it. However, when I installed Chainfire supersu after, no issue!

Maybe due to the Decrypted data boot. But why? I don't see. I could try to install the stock boot in order to see.

Weird all that!
[Mate 8 General] dexz:
Error 1 means you still got root. You need to install stock boot before proceed with superuser.
[Mate 8 General] franzyroy:
OK, I gonna make it.

---------- Post added at 01:20 PM ---------- Previous post was at 12:38 PM ----------

[MENTION=2570493]dexz[/MENTION]

For the moment, it works fine.

If you were in my situation before, have to tried to root with my method. You will not need to format data. I will explain you how when I have a moment.

Edit :

I tried a second time to copy a file in the system folder... Always functional ;).
[Mate 8 General] dexz:
As the method is on stock firmware. That's why you need to format data or else data partition will be encrypted.
[Mate 8 General] franzyroy:
Yes I know but like it's not my case and I am not alone. I will explain how and even with decrypted data boot.
[Mate 8 General] franzyroy:
Well my method!

If you are in my situation, have tried my method which works for alot ;) but not for me :(

Here like I made with [MENTION=2570493]dexz[/MENTION] 's method

You are with the semi rooted B560 or other perhaps

You have Chainfire supersu

You have decrypted your data

You have a Decrypted data boot and you wanted to keep it

Put my Decrypted data boot on the external SD

Phone is on... then unroot it fully with Chainfire supersu in its settings - it asks you to restore the boot.img, I pushed "NO" because I had a doubt if I still had it, in addition it will install again in this tuto

Reboot in TWRP (frd-twrp like [MENTION=2570493]dexz[/MENTION] 's tuto)

Install Decrypted data boot

Wipe Dalvik & cache - Strongly advised after to have flashed the boot, it doesn't eat some bread ;)

Install superuser_noverify_nocrypt.zip

Reboot to system - It will take about 3-5mins or less, it's due to the wipe Dalvik & Cache

Go to playstore and Install phh's SuperUser app

And like me, you are fully rooted... Again thanks to [MENTION=2570493]dexz[/MENTION] for his method! The one above isn't more complicate and avoid to format again the data if you are in my situation.

Thanks! I will also add it in my thread for those who will not see this one.
[Mate 8 General] dexz:
Yes. I agreed with steps above but the reason why you don't need to format data is because your data is already decrypted (thanks to let it clear for those who have decrypted data) and you actually don't need to install decrypted boot img as superuser_noverify_nocrypt.zip will patch the boot img to no verify and no crypt.

Anyway glad you can make it work for you.
[Mate 8 General] franzyroy:
Me too, I'm agree. I wrote it above. Look please!

Yes it's unecessary with your superuser zip but I said it for those who want to keep this boot. For I don't know, a new installation later or other...

This post is in the fifth page of your thread, it will be quickly forgotten... don't worry!;)
[Mate 8 General] eddmecha:
great effort for the tut n boot.img But 1 question thou,if i got a new OTA does flashing ur boot.img doesn't need to format data as well?have u tried it?or i just can use ur method if i have the exact same situation like what u list down in the bolded part?
[Mate 8 General] dexz:
Nah. I'm cool. :laugh:
[Mate 8 General] franzyroy:
I don't wait some new OTA... I don't dream ;) . Anyway even there is one, I will install before the official, not you? :laugh:

Seriously, if you use the dload method, the new update will replace your current data, but normally it shouldn't be encrypted. this is what I see when I make a dload method after a "Format data".

Fine! ;)
[Mate 8 General] eddmecha:
yes i know dload or ota or full fw will replace my boot.img,my question is can i flash ur boot.img and do not need to format data to get a decryption to work?
[Mate 8 General] franzyroy:
Flash my boot is not enough. If your data is encrypted, you should format it.

However, it's written in the insecure boot thread that you must have an insecure boot to format data and have successful to decrypt the data.
[Mate 8 General] eddmecha:
ahh i see,so the tutorial u list out just now is for what again?sorry i must be dumb n confused,bcoz from my understanding u did said doesn't need to format data but now u ask me to format data.so which is it actually?
[Mate 8 General] franzyroy:
My tuto is for the persons who have already formatted the data (like me) via my thread by example. In this case and only in this situation, you can use my tuto. If your data is encrypted, you should format it. Unfortunately, you can't avoid it if you never formatted the data.
[Mate 8 General] eddmecha:
ahh i see that clears up my doubts,thanks!!
[Mate 8 General] franzyroy:
Fine!
[Mate 8 General] HassanMirza01:
anyone know how to permanently mount system as r/w in stable nougat with this Phh Root ?? any easy way ??
[Mate 8 General] franzyroy:
Do you think that method is not easy? Because with it, you can read and write in the system folder. My method wasn't easy and not always functional but here yes.
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] which ur way ?? And using phh root according to thread... We will get verity off nd root but you cant install busybox nd adaway in system unless you use terminal to use mount system commands... Am asking a way by which we dont need to use command...
[Mate 8 General] Leo_83:
I installed adaway, no need for terminal command
[Mate 8 General] franzyroy:
Look here and the pages before and after, maybe it can help you.
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] sorry bro but i own a P9 Lite and i developed the boot with verity off nd root etc... With same phh superuser files included... But i cant rw system without a terminal command.. I saw here related things so asked.... :)
[Mate 8 General] franzyroy:
OK, I don't have better to offer you now... sorry!
[Mate 8 General] dexz:
Currently we are in permanent rw mount system. Before this I used the default config superuser and gave me partially root. Need to manually mount system as rw same like your case. After that I enabled superuser config noverify and nocrypt then install it. I got permanent rw system partition.

You might try install superuser at OP maybe it will work for you too.

Edit : If is doesn't work after install it. You can install Universal init.d at google play. I used this app last time to run mount rw command automatically everytime the phone reboot.
[Mate 8 General] HassanMirza01:
[MENTION=2570493]dexz[/MENTION] you really helped man.... Thanks... :cheers
[Mate 8 General] dexz:
So which one did you try? Superuser OP or Universal init.d? Anyway glad it worked out for you. Cheers
[Mate 8 General] HassanMirza01:
[MENTION=2570493]dexz[/MENTION] i explored your zip file... And its same as phh superuser with some minor tweaks... You made it ?? Or edit it ?? I will first try to patch my kernel for that... By changing ro to rw in fstab... If didnot worked... Then i will try flashable zip method on stock boot.... If still not worked... Then init.d support will be my last choice :)
[Mate 8 General] dexz:
The phh's superuser version I'm using is r275. I only changed config.txt file. That's all. Should work other phone too.
[Mate 8 General] HassanMirza01:
What ?? My first version of boot was having verity off in boot and then flashed that superuser r275 zip man... It means it wont work.... It even dont work for titanium restore.... Will check
[Mate 8 General] dexz:
How about the decrypted data? Modified it from boot img too?
[Mate 8 General] franzyroy:
So you don't have the full root. Like I said or even [MENTION=2570493]dexz[/MENTION] , with this method, we can read and write in the system folder, in addition Titanium works fine. I had the same issue with Titanium when I wasn't fully rooted.

About of init.D yesterday I thought to it, but not the app. Just create a script to start it after a reboot. After if the app works fine, as much as take the app.
[Mate 8 General] HassanMirza01:
I made the zip according to me and injected in boot.img so no need decrypted or encrypted data... Boot will take the data as encryptable always :D :P

---------- Post added at 10:03 AM ---------- Previous post was at 10:02 AM ----------

I can give u modified boot of your Mate 8... You only need to flash that boot and you will be rooted... No need to flash anything else... :)
[Mate 8 General] dexz:
That's great. Let me have it.:)
[Mate 8 General] HassanMirza01:
In mean time... You can visit my thread... Nd have a look at my kernel...
[Mate 8 General] franzyroy:
OK, interesting.

The best will be that you give us the modification(s) to add.

So if I understood, you are now fully rooted?!

---------- Post added at 10:30 AM ---------- Previous post was at 10:26 AM ----------

Where is your thread? I ask because I am on XDA app, I don't see if you have it in your signature.
[Mate 8 General] HassanMirza01:
Actually am not in mood of flashing stock boot nd system again :( have hired a tester... Will give him boot again and see what will be result... Am a lazy a bit :/ :P

---------- Post added at 11:33 AM ---------- Previous post was at 11:31 AM ----------

Here is my thread!!

https://xdaforums.com/huawei-p9lite/development/cxxb360-root-dm-verity-off-boot-img-t3570240/

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

BTW... Anyone succeeded to get Double touch to wake up feature :D ?? Like on MM....
[Mate 8 General] dexz:
Double touch working fine. I modified it manually but [MENTION=2875350]franzyroy[/MENTION] made zip file to install via twrp.
[Mate 8 General] HassanMirza01:
Link to that zip ?? Or thread ??
[Mate 8 General] franzyroy:
In my signature.... or here!
[Mate 8 General] HassanMirza01:
tried Script Double Tap to wake for all FW but didnot work... succeeded in twrp but no double tap option in smart assistance,,, anywhere,,,

---------- Post added at 01:32 PM ---------- Previous post was at 01:31 PM ----------

on MM it was working fine this those 2 lines in system,,, but in Nougat,,, not working...
[Mate 8 General] franzyroy:
Maybe not the same configuration!

Had you this option before on your model?

Can you give me these files? In order to see... I know that certain Mate8 owners also have the issue, however I believe they see the option.

build.prop

hw_easywakeupmotion_config.xml

Sorry I didn't see this sentence that you had edited your post.

For your boot. Can you say me what are the modified files?
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] here are both files....

Rename build.prop.xml to build.prop only as xda says error on build.prop file upload
[Mate 8 General] franzyroy:
No problem! I look that.

---------- Post added at 13:30 ---------- Previous post was at 13:10 ----------

[MENTION=5939689]HassanMirza01[/MENTION]

I looked but nothing saw to special! :(

you have twice :"ro.config.hw_easywakeup=true" but not really an issue

You have to be like certains here, a problem elsewhere but where? I don't know. If I found it, I'll say you.

Strangely, your build.prop looks like to the one of Mate 8. For other file, it seems normal but the build.prop looks like to a generic file.

Edit:

You can see it below in the screenshots
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] bro all huawei phones sharing same emui just ported for each device according to kirin socs... So problem is not in system... I guess problem is in kernel.... I have sent u link above or in my sig... Can u extract my kernel and see if there is support for dt2w feature ?? How to know if kernel support dt2w

---------- Post added at 03:12 PM ---------- Previous post was at 03:10 PM ----------

One way more..... There is a rom named revolution rom... It based on our stock nougat u can say some modifications and addition in filee... But it support dt2w too... And it is purely stock based rom...
[Mate 8 General] franzyroy:
I promise nothing but I gonna try to found something.
[Mate 8 General] franzyroy:
[MENTION=5939689]HassanMirza01[/MENTION]

I looked for "Double tap to wake" in the Mate 8 boot.img and also your boot.img of your thread. I found it in 2 files.

sepolicy

service_contexts

in the first, it's just:

easywakeup_service

It seems identical in the both boot.img, I don't know how it could be changed. Open this file and you'll understand what I tell you. The codes before & after seems differents but I don't know how it works.

For the second file, it's fully identical, like that:

easywakeup u:object_r:easywakeup_service:s0

No difference.

Nothing seen else... sorry! Perhaps in the first file, only I don't see how change these codes. Maybe you know how!
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] thanks bro for some research on that,,, i see sepolicy file but don't know how can i edit it,,, also, file service context, i saw but i never see any difference......
[Mate 8 General] franzyroy:
Same for me. I think that if there is a difference, it's in this sepolicy file but like we said, impossible for us. I asked at a friend who works on the kernel(s). I don't know if he could answer to me about of that. Or if he could take a moment, he is really busy with his work.
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] bro i think i should use sepolicy of android 6... or am gonna revert back to MM,,, as Nougat has some animation lag still in all phones and some issue with decoders too,,, our CM and Lineage dev Meticulus now just made Roms for sponsors only,,, selfish devs... cant use custom roms too :(
[Mate 8 General] franzyroy:
[MENTION=5939689]HassanMirza01[/MENTION]

Use sepolicy file of Android 6.0 can perhaps work but I can't confirm.

If you want to rollback, like you want. This Nougat is OK for me. After, I have this feature and no lags for me.

Edit :

Why not make a comparison between the both files. Boot of Android 6.0 and 7.0.
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] [MENTION=2570493]dexz[/MENTION] i tried your provided no encrypt zip and thats the result on stock boot....
[Mate 8 General] franzyroy:
Error 1 want to say that your boot.img is still rooted. You must install a boot to unroot it fully.
[Mate 8 General] HassanMirza01:
[MENTION=2875350]franzyroy[/MENTION] bro am not a noob :(

I follow all instructions carefully and i used unrooted phone and boot.. Freshly installed boot.img from update.app pkg... Even i booted rom nd check if root is gone and yes root was gone... Then i flash zip... It didnot work... Then i flash stock boot again nd flash zip without a single boot.. Still same...
[Mate 8 General] franzyroy:
I know that you are not a noob. I just said what error 1 means. It's true that you must flash a boot.img to unroot. And I didn't know what you were doing before.

Strangely, it should work even with a stock boot. I can't confirm that, I didn't make like that.
[Mate 8 General] Leo_83:
[MENTION=2570493]dexz[/MENTION] I noticed that my Bluetooth wasn't working so tried to reinstall both update.zip and update_full_hw.zip failed many time tried different ways eventually got the phone to start up again but now I notice that all my themes are gone and still no Bluetooth. Do you have any suggestions?

Edit: I managed to get everything working but lost root and twrp in the process and I'm in bed so can't flash it at moment will try tomorrow morning [emoji4]
[Mate 8 General] franzyroy:
No problem with that!
[Mate 8 General] Leo_83:
Great, happy for you [emoji4]
[Mate 8 General] franzyroy:
I know it's not giving you a solution but you should try again the tuto or more... Install again the update.zip and make again the tuto.
[Mate 8 General] misho_20063:
Which version rom install in phonefranzyroy
[Mate 8 General] franzyroy:
NXT-L29C432B560 on NXT-DL00 device.

---------- Post added 14-03-2017 at 00:12 ---------- Previous post was 13-03-2017 at 23:28 ----------

[MENTION=5939689]HassanMirza01[/MENTION]

I compared the both sepolicy files, Android 6.0 and 7.0, they are fully different. You can't use the Android 6.0 file instead of other. I think you will have a big issue if you make it.
[Mate 8 General] dexz:
Just remember everytime you install update.zip your twrp will be replace with stock recovery. Make sure you install twrp first before reboot to system. [MENTION=2875350]franzyroy[/MENTION] has posted update guide on his thread. You might need to check it out.
[Mate 8 General] SI_Lugon:
Yeah! Finally something that seems to work, I have a NXT-L09 from Mexico.

Thank you
[Mate 8 General] dexz:
:svetius: Glad it worked out for you.
[Mate 8 General] HassanMirza01:
Thnx for the info guyz :)
[Mate 8 General] omr582:
can some body help me find (Update_data_*.zip) for my NXT-L29C185B560

all i find are beta ..
[Mate 8 General] Leo_83:
https://xdaforums.com/showthread.php?p=71035199
[Mate 8 General] franzyroy:
You didn't say what you changed in your custom boot?!
[Mate 8 General] HassanMirza01:
I changed fstab and .prop file only nd its working :) that was a secret but told you...
[Mate 8 General] Leo_83:
Okay, so I hade everything working and tried again to follow the steps as described in OP but again bluetooth isn't working and lost theme/magazine content. Gonna take a look at Franzyroy guide.

I wonder if should try to flash update.zip also.... obviously flashing both update_data_hw_full.zip and update.zip gives working bluetooth. Losing twrp shouldn't be a big deal, I can just reflash it afterwards. Is there any reason that you did not include flashing update.zip, does it remove anything done by superuser_noverify_nocrypt.zip?
[Mate 8 General] franzyroy:
Normally yes!
[Mate 8 General] dexz:
Theme or magazine is in update_data.zip . The reason why install update_data_*.zip only because you just formatted data partition but not /system. Superuser doesn't remove anything from nougat files. It's just patch the boot img and push su binary.
[Mate 8 General] franzyroy:
It seems the question wasn't that: To know if superuser remove something in the system.

But

If you install the update.zip. To know if this installation remove supersuser?!
[Mate 8 General] dexz:
I see. I misunderstood his question and yes by flashing update.zip it will replace boot img (patched by superuser) to the stock boot img.

[MENTION=4771907]Leo_83[/MENTION] if you insist want to install update.zip then do this step.

After format data

Install update_data_*.zip

Install update.zip

Install superuser_noverify_nocrypt.zip

Install twrp

Reboot to system
[Mate 8 General] Leo_83:
Hmm so flashing superuser_noverify_nocrypt.zip followed by update_data_hw*.zip shouldn't affect theme or magazine since they are in /system and also bluetooth should work since that is handeled by update_data_hw*.zip. So strange that I have this issue then... will keep trying different ways.

Gonna try this order now update_data.zip -> superuser_noverify_nocrypt.zip -> update_data_hw*.zip

---------- Post added at 11:06 AM ---------- Previous post was at 10:58 AM ----------

Well insist and insist hehe :p. The only time I get everything to work is if I flash update_data_*.zip then update.zip followed by a factory reset. Then I have working bluetooth and theme/magazine but no root instead :crying:

Will try your steps above, thank you for your patience
[Mate 8 General] franzyroy:
[MENTION=2570493]dexz[/MENTION]

If HassanMirza01 gave me the good infos, I can make a boot like his Elite kernel v2, I made it. Only, I MUST ask him if I can post it.
[Mate 8 General] dexz:
Nice. Go for it. We can try new thing for mate 8. :)
[Mate 8 General] franzyroy:
I gonna ask him. If he authorizes me, perhaps this boot might help the persons who are still having with the root and other issues.
[Mate 8 General] Leo_83:
Well this partially worked I got theme/magazine and root but no bluetooth. I also noticed that in developer option if I turn on USB debugging and go out and back in again it has automatically been switched off.
[Mate 8 General] franzyroy:
I also had this issue... but after several switch on, it ended up remaining ON.
[Mate 8 General] dexz:
Automatically switched off USB debugging is normal. I have tried most of the region. All have this issue. I think its nougat bug or they design it that way? Not sure.

About your bluetooth.. I have no idea why you have this issue.. I never had this issue even from other region.
[Mate 8 General] omr582:
Thanks for the reply

Actually I used same file but bluetooth is not working and missing keyboard and so many other apps.

But still showing official build

by the way root is working grate >>thumb up for that.
[Mate 8 General] Leo_83:
Hmm strange behavior

Yes, I think I'll cut my losses here. My gf will soon start to wonder why I haven't replied to her messages for half a day now haha :silly:. I can live with Bluetooth for now, but it's peculiar that it was working before but not after root. Maybe a future update will fix it.
[Mate 8 General] franzyroy:
Missing keyboard is due to a bad installation, I have had it.

Bluetooth, like said [MENTION=2570493]dexz[/MENTION] , I didn't get this issue after all my installations.

---------- Post added at 12:35 ---------- Previous post was at 12:30 ----------

Yeah I know but it works, it's already that. One time, I have had "graysed" and ON, after it's become normal and ON.

I confirm it could be a Nougat bug.
[Mate 8 General] dexz:
You may install update_data.zip again but only update_data.zip without doing the rest of the step since you have rooted your phone.
[Mate 8 General] Leo_83:
but wouldn't that corrupt the boot.img? that maybe is okay since the su binary has already been pushed...
[Mate 8 General] dexz:
Yes. Its fine. update_data.zip doesn't replace boot.img.
[Mate 8 General] franzyroy:
Unfortunately, his coworkers DON'T want to share their work! :(

Sorry!

Hassan will only make the boot for us. That's all!
[Mate 8 General] dexz:
No worries. We have to respect their work.

[MENTION=5939689]HassanMirza01[/MENTION] you might need to create a new thread about your Elite kernel for mate 8. Let's share your love to us. :laugh: [MENTION=2875350]franzyroy[/MENTION] and I be your front line tester. ;)
[Mate 8 General] Leo_83:
Didn't work for me, Bluetooth still not working and also noticed some bloatware apps disappeared.

[MENTION=2142555]omr582[/MENTION] did it work for you?
[Mate 8 General] omr582:
same thing

struggling to get thing back :p
[Mate 8 General] dexz:
Please backup your oeminfo via twrp and share with me. I will personally test your region if I have the same issue with you.