[ROOT] Full Root for the Mate 9

nitrate

Senior Member
Dec 24, 2008
179
21
0
Goerlitz
Great. :)
It errors because it uses commands that twrp can't handle. But installs just fine.
But glad you sorted it out. Anyhow.
You don't have this button here in settings?
https://imgur.com/ceOLwrx
Oh, i think i found the solution... ;)

Gesendet von meinem MHA-L29 mit Tapatalk 2

---------- Post added at 08:25 PM ---------- Previous post was at 08:23 PM ----------

It does give errors. It tries to run commands that TWRP can't execute ('mountencrypt and update_huawei_pkg_from_ota_zip')
Root shouldn't be lost because of it, unless you flashed back stock boot?
Well, Superuser told me that the binary needs to be updated. Some apps don't have root anymore. LOL :screwy:

Terminal tells me that the su-binary wasn't found upon entering "su" into the console.

Got it fixed: rebooted into TWRP and reflashed decrypted Boot and Superuser. Root is back.

Gesendet von meinem MHA-L29 mit Tapatalk 2
 
Last edited:

d_bo

Member
Sep 28, 2011
16
0
0
London
First flash Public (MHA-L09C432B156) http://update.hicloud.com:8180/TDS/...69/f2/full/public/update_data_full_public.zip

Then HW (MHA-L09C432B156) http://update.hicloud.com:8180/TDS/...04/v75969/f2/full/hw/eu/update_full_hw_eu.zip

When you update with Funky or Firmware Finder these are downloaded and installed automatically, but when you Format Data the /data/hw_init/ folder is removed so you have to flash them after. The reason you flash Public first is because it wipes /data/hw_init/ when it installs so... If you'd flash HW first it'd be lost xD.


Worked perfectly. Thanks so much, again!
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Oh, i think i found the solution... ;)

Gesendet von meinem MHA-L29 mit Tapatalk 2

---------- Post added at 08:25 PM ---------- Previous post was at 08:23 PM ----------



Well, Superuser told me that the binary needs to be updated. Some apps don't have root anymore. LOL :screwy:

Terminal tells me that the su-binary wasn't found upon entering "su" into the console.

Got it fixed: rebooted into TWRP and reflashed decrypted Boot and Superuser. Root is back.

Gesendet von meinem MHA-L29 mit Tapatalk 2
Still very weird that it got removed.
 

audioralf

Senior Member
Mar 12, 2011
1,318
377
0
You should be able to with stock recovery/boot?

That kind of defeats the purpose though I guess, as you'd have to decrypt (if you want to stay decrypted) and install superuser again.

Reading up on it now, Nexus 5/6 OTA's seem to check the integrity of /system, so if you have busybox etc installed it would fail and thus would not install OTA.
Only way to get OTA would be to flash stock system.img again, as the whole partition is checked (checksum, if no match it fails).

If this is the case with Mate 9 I do not know, but I'd guess it is. (and it might check other partitions too)
I understand, so what alternative do we have, if ota dolad will fail? If we'll get an update in future, what will be the way to get it installed on a rooted device?
I am still in the state not having started the whole process.
I want to be sure to get further updates on the rooted device after I have done this.
I doubt we'll get a full alternative rom and a full fallback solution , since AJ send back his device today because of unsolvable brick.
 
Last edited:

KOLIOSIS

Senior Member
Jan 17, 2011
2,926
1,344
193
Try one of the other 2 recoveries if it keeps failing. It should still install but you never know. And regarding Funky... If you have a computer with both a wire and wireless you can set up a Hotspot on it and change the DNS of your wired connection, that way you won't have to change anything in your router. That's what I had to do as I can't change the DNS in my router.
I used a software named Connectify.
I bought the Connectify MAX package,but,I'm a bit stumped as to getting it set-up properly (for the wired connnection).
I'd be most grateful if you could PM (or right here) & get me pointed in the right direction.

EDIT:
I contacted the Connectify support team,they will get back w/me tomorrow (March 7,2017) after 9:00 a.m. EST.
(sent them a copy of the FunkyHuawei .pdf instructions,see how it goes........)
 
Last edited:

eddmecha

Senior Member
Jan 26, 2011
553
204
0
Penampang
Cad someone confirm please that he has been rooted and managed to get ota without using funkyhuawei?


My device: Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
i can confirm that u can ota withour problem,just that u need to flash back stock recovery n use full package instead of small patch ota(by selecting the 3 dots on top right)
 

vipivj

Senior Member
Jan 10, 2017
119
11
0
i can confirm that u can ota withour problem,just that u need to flash back stock recovery n use full package instead of small patch ota(by selecting the 3 dots on top right)

So if you flash stock n update ota then to re root you need to have the decrypted image for the new model number right?
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
I bought the Connectify MAX package,but,I'm a bit stumped as to getting it set-up properly (for the wired connnection).
I'd be most grateful if you could PM (or right here) & get me pointed in the right direction.

EDIT:
I contacted the Connectify support team,they will get back w/me tomorrow (March 7,2017) after 9:00 a.m. EST.
(sent them a copy of the FunkyHuawei .pdf instructions,see how it goes........)
What, free version is enough!
What you do is go into your control panel - Networking, right click on your wired Internet connection - properties, select IPv4 and properties. Here you change the DNS to the funky DNS.
After that you might need to close the Hotspot and turn it back on again.
 
  • Like
Reactions: KOLIOSIS

eddmecha

Senior Member
Jan 26, 2011
553
204
0
Penampang
So what is the purpose of decrypted boot image? As in the first post the OP clearly mentions to flash decrypted one followed by either superuser from store OR that attached superuser.zip!!
zzz seems like u didn't read thru each and every post, @ante0 have created a root.zip to make everyone to skip flashing a patch boot.img.
PLEASE READ PROPERLY BEFORE REPLYING WITH EXCLAMATION MARK.
i just wanted to help but since u think u know better, I won't be replying even if i knw the solution.just wait until aj help u patch ur boot.img everytime u update to a new update.fyi my reply is to help u,if u dint need my help please say so.
p/s i have been using superRoot.zip,it has been doing great,i tried on AL00C00B167,B173 L29C636B138,B158.
 

vipivj

Senior Member
Jan 10, 2017
119
11
0
zzz seems like u didn't read thru each and every post, @ante0 have created a root.zip to make everyone to skip flashing a patch boot.img.
PLEASE READ PROPERLY BEFORE REPLYING WITH EXCLAMATION MARK.
i just wanted to help but since u think u know better, I won't be replying even if i knw the solution.just wait until aj help u patch ur boot.img everytime u update to a new update.fyi my reply is to help u,if u dint need my help please say so.
p/s i have been using superRoot.zip,it has been doing great,i tried on AL00C00B167,B173 L29C636B138,B158.

I was exclaimed because I didn't know that option exists and so I put an exclamation mark. I don't understand how did it makes you think that I know everything while I was asking one of my many doubts.
I took 90% of the help from @ante0. He helped me through every point and I didn't remember any time he or anyone else mentioned a zip file which alone will root the device. My bad.

Please don't mind sharing a link to that zip file.
 

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
Last edited:

infoenekas

Senior Member
Nov 6, 2014
115
9
0

ante0

Senior Member
Dec 28, 2009
3,206
1,576
243
Stockholm
thanks bro.
i do steps for rooting . when an app that need root , show access message and i allow it. but apps not work.for example can not remove some system app by remover.
why my root not work?
Which app are you using?
Probably because it's not using remount correctly.
For Mate 9 you can only use 'mount -o rw,remount /system".
If you use 'mount -o remount,rw /system' it will just say /system is busy and cannot remount. And that's why you can't install stericsons Busybox without using 'mount -o rw/remount /system' first.
Actually, you could try using that in a terminal app (su first) and see if it works after that.
When you're done 'mount -o ro,remount /system', to remount it as read-only.
 
  • Like
Reactions: infoenekas

Rudolpht

Senior Member
Sep 5, 2011
1,102
252
103
Oh, i think i found the solution... ;)

.

Got it fixed: rebooted into TWRP and reflashed decrypted Boot and Superuser. Root is back.

Gesendet von meinem MHA-L29 mit Tapatalk 2
My fix was to set the kernel permissive including at boot. I use SELinuxModeChanger and got busybox and Titanium to work. Why? I have no idea.

Sent from my MHA-L29 using XDA Labs