[Android General] jameelmemon:
There are three steps involved to root huawei y6 ii or any huawei device

If you have bootloader unlocked please proceed to step number 2

1. Unlocking bootloader (this will erase all your data and reset to factory settings)

Note:-

Unlocking device bootloader will void your phone warranty, and you won’t claim it back.

Follow the steps correctly otherwise you may brick your device. We are not responsible for any damage to your phone.

It will erase all your Internal Storage Data, so we advise you first to take a complete backup of your phone and then proceed.

Ensure that your phone has at least 50-60% charged to prevent the accidental shutdown in-between the process.

First, enable ‘USB debugging’ and ‘OEM Unlock’ option from setting > developer option > To enable Developer Options, go to About phone and tap the Build Number 7 times.

View attachment 3938451

Install the ADB and fastboot driver for windows or ADB and Fastboot for Mac and then restart if you already have the driver installed then skip this step.

Visit Unlocking booloader page

Login with huawei Id or create new one

accept agreement and press next

Fill the given form it will ask you a product identification code, (to know that dial * # * # 1357946 # * # *) fill the MEI code and submit.

serial number of phone is available at Settings > About Phone > Status

IMEI is available at Settings > About Phone first IMEI should work fine if not use secon IMEI

View attachment 3938461

Now you have unlock code. Save it for later use.

Now go to ADB and Fastboot installation directory open ADB folder and open the command window there by pressing and hold the ‘shift’ key and right-clicked anywhere in that folder.

View attachment 3938472

Now connect your phone to PC and reboot the device into fastboot mode by typing “adb reboot bootloader”.

Type “fastboot devices” in command prompt and hit enter, it gives you serial numbers in return means your phone connect properly.

To unlock bootloader of Huawei Honor 5X, type “fastboot oem unlock unlock-key”. Here replace unlock-key with the key you got from huawei portal. For example “fastboot oem unlock 21084949302847″.

Above step will Unlock Bootloader of Huawei Devices. To restart the system type “fastboot reboot”.This is the complete guide of how to unlock

This is the complete guide to unlock bootloader of any Huawei Devices.

2. Installing custom recovery TWRP

Huawei Y6ii is technically Huawei P8 lite so you may use below TWRP 3.0.2 Recovery for P8 Lite Marshmallow recovery that works absolutely fine as it is based on Kirin processor do not flash it if you Y6 ii is not based on Kirin

Requirements to install custom recovery

unlocked bootloader (follow the guide above)

enable OEM unlock to be enabled (goto settings > developer option > enable OEM unlock)

All credits goes to [MENTION=7354786]XePeleato[/MENTION] Iam not developer of this recovery

Download recovery

For those who's want or need look into the sources

Git Source

copy TWRP3.0.2.img to adb folder and rename it to recovery.img to flash easily

now issue below commands in fastboot mode

fastboot flash recovery recovery.img

after successful installation of recovery then reboot to recovery

3. Installing SU

download superSU by chainfire

install donwloaded zip via TWRP

* this root is systemless root so it will not be wiped if you will install updates via OTA