Rooting Xiaomi Mi5c - 100% easiest way!

ROMs, Mods, Discussion and all other Topics about the Xiaomi Mi 5c (song).

Moderator: dr4kendroid

User avatar
zapperbyte
Recognized Developer
Recognized Developer
Posts: 60
Joined: 12 Jul 2017, 13:45
Location: Germany
Phone Model: Mi 6 , Mi Pad 3
Thanks received: 29
Contact:

Rooting Xiaomi Mi5c - 100% easiest way!

Postby zapperbyte » 24 Sep 2017, 00:16

After reading around and testing some things with the Mi5c i found out that there is currently no easy way to root the phone.
Problems are:
- Phone directly boots into fastboot mode after flashing some custom roms
- Phone directly boots into fastboot mode after flashing standard root solutions like supersu or magisk
- Mi5c boot.img is packed with sha256 hash (not default sha1) read more

The solution for this was made by usedbyte from xda, he modified the code for mkbootimg tools and published the source on github.
I cross-compiled the tools for android ARM architecture and created a flashable zip file that will fix all the problems with the sha256 hash on Mi5c boot images.

I uploaded the cross-compiled binaries and the flashable zip as attachement.

How to root Mi5c / How to use it:

-Unlock Bootloader of Mi5c
-Flash TWRP for Mi5c
-Install Roms, Magisk Root, Supersu, whatever you want
-Install any other mods you like that would change the boot.img
-At the end after all installations, flash the ZIP file i created.
You do not have the required permissions to view the files attached to this post.

User avatar
Laub7bukst
New Member
New Member
Posts: 2
Joined: 24 Sep 2017, 17:03
Thanks received: 1

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby Laub7bukst » 24 Sep 2017, 18:20

Thx, I will try this, because rooting now is quite a procedure right now. Is this unspecific to Miui version?

User avatar
zapperbyte
Recognized Developer
Recognized Developer
Posts: 60
Joined: 12 Jul 2017, 13:45
Location: Germany
Phone Model: Mi 6 , Mi Pad 3
Thanks received: 29
Contact:

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby zapperbyte » 24 Sep 2017, 18:50

Laub7bukst wrote:Thx, I will try this, because rooting now is quite a procedure right now. Is this unspecific to Miui version?

Yes, can use it with any rom. It only repacks your boot partition with correct hash.

User avatar
Laub7bukst
New Member
New Member
Posts: 2
Joined: 24 Sep 2017, 17:03
Thanks received: 1

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby Laub7bukst » 25 Sep 2017, 15:08

can confirm that this is working.

Tested with: 7.9.14 Miui 9 Beta xiaomi.eu rom and SuperSu 2.82-SR4

User avatar
vexer
New Member
New Member
Posts: 2
Joined: 13 Oct 2017, 16:18

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby vexer » 13 Oct 2017, 16:51

And it works without any problems with Magisk.

Thanks!

User avatar
edipwick
New Member
New Member
Posts: 1
Joined: 28 Oct 2017, 11:24

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby edipwick » 28 Oct 2017, 11:26

thx for info

User avatar
vexer
New Member
New Member
Posts: 2
Joined: 13 Oct 2017, 16:18

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby vexer » 30 Oct 2017, 18:00

...and I'm running a second Mi5C with the mi-globe rom: no need to use this tool :)

Thanks!

User avatar
Brunaldo
New Member
New Member
Posts: 5
Joined: 02 Nov 2017, 19:48

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby Brunaldo » 02 Nov 2017, 20:58

Whi for me dont' works in Xiaomi.eu 7.10.26 beta? I've flashed it after this rom and after Magisk v14 or supersu 2.82 sr5

User avatar
Brunaldo
New Member
New Member
Posts: 5
Joined: 02 Nov 2017, 19:48

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby Brunaldo » 02 Nov 2017, 21:14

I have flashed only the second file zip. Right? (Mi 5c bootimg fix). Mi phone restart with Magisk but is not rooted, and with supersu i have bootlop. Please any help...

User avatar
zapperbyte
Recognized Developer
Recognized Developer
Posts: 60
Joined: 12 Jul 2017, 13:45
Location: Germany
Phone Model: Mi 6 , Mi Pad 3
Thanks received: 29
Contact:

Re: Rooting Xiaomi Mi5c - 100% easiest way!

Postby zapperbyte » 02 Nov 2017, 22:40

Brunaldo wrote:I have flashed only the second file zip. Right? (Mi 5c bootimg fix). Mi phone restart with Magisk but is not rooted, and with supersu i have bootlop. Please any help...


You can download globeROM from mi-globe.com for MI 5c. It has root and my fix already included.
If you want to use another ROM you have to install in the correct order.
First - install your ROM !
Second - install Magisk or SuperSU Zip File
Third - install my mi5c bootimg fix Zip File


Return to “Mi 5c”

Who is online

Users browsing this forum: No registered users and 2 guests