[TWRP] for KIW-L24, L22, L21 (kiwi)

Search This thread

deadman96385

Retired Forum Moderator / Recognized Developer
Aug 19, 2011
2,283
7,857
Saint Paul, Minnesota
Code:
/*
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns before doing it! YOU are choosing 
 * to make these modifications, and if you point the finger at us for messing up
 *  your device, we will laugh at you.
 *
 */


Step 1
Make a Huawei ID at the following
http://goo.gl/OlsI8a

Step 2

Log in and fill out the details needed
https://goo.gl/VEKvXY

How to get the product identification code ?
In the phone's dial-up interface, enter * # * # 1357946 # * # *

What you will need:
ss_2016_01_31_at_03_43_41.png


Step 3
Now that you have your unlock code go to about phone in settings and click the build number until it tells you that you are a developer. Then go back once and select developer options and look for usb debugging and turn it on.

Step 4
Enable Developer settings by going to Settings > about phone and click build number until it says you are a developer.
Once that is done go back to the main settings and go to developer settings and enable OEM unlock.

Step 5
I am going to assume you have adb and fastboot installed on your computer, but if not go to this thread to install it.
http://xdaforums.com/showthread.php?p=48915118

Step 6

Plug your device into the computer and authorize your device key so adb will work, then type the following commands:
Code:
adb reboot bootloader
Once it boots into the bootloader do the following command
Code:
fastboot oem unlock 2062712452147427
Where numbers are put what you got from the website keep in mind it will wipe your data so if you have any personal data back it up first.

Step 7
Boot up the phone and set it up

Step 8
Download the twrp recovery image
https://goo.gl/53xai9

Step 9
Boot back into the bootloader by typing the following
Code:
adb reboot bootloader

Step 10
Flash the recovery with the following command:
Code:
fastboot flash recovery twrp_kiwi.img

Step 11
Once it finishes type the following
Code:
fastboot reboot

If you want root unhide this and follow the steps:
Step 11
Download SuperSU zip
http://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip

Step 12
Boot into recovery by typing the following:
Code:
adb reboot recovery

Step 13
Flash SuperSu and enjoy your rooted Honor 5x


Thanks to all of the following for getting this working:

SHM
@Dees_Troy
Ncrypt3d
@InkSlinger420
@EarlyMon

As @EarlyMon said, without Huawei giving out the dev devices so early before official release and their contacts being so cool with the unlock codes, this wouldn't have happened anywhere near as fast, so props to them...
 
Last edited:

deadman96385

Retired Forum Moderator / Recognized Developer
Aug 19, 2011
2,283
7,857
Saint Paul, Minnesota
Warning!

Don't try to install xposed on your stock rooted EMUI rom.
It won't work
The system won't boot
You'll have to recover from a nandroid backup
You'll have to reinstall TWRP
That is NOT TWRP's fault
My personal, unverified, guess is that Huawei is writing to recovery in an attempt to, well, recover, when it detects a system fault
 
Last edited:

cyrusalmighty

Senior Member
May 30, 2009
1,110
240
Hartford
Full firmware download unzip it and put the update.app in /dload on your sdcard and you will always be able to go back to full factory settings.
http://www.hihonor.com/us/support/details/?DOC_ID=70303



Not needed anymore


We have twrp in a working state now so this root method will not be needed anymore and i am converting it to a twrp thread.

You sir...are the man!!! TWRP, Root and a kernel in only a few days! :eek: :cool: This is such an important step and barrier. I wish I had more knowledge to help more. Thank you for all you have accomplished.
 
  • Like
Reactions: InkSlinger420

eruji

Senior Member
Aug 2, 2010
76
15
Where do i get the adb drivers for this device. i ran the adb tool in the first link and installed the drivers but when i plug the phone in, it says drivers not installed. Did you install something from honor to get them?
 

rogconnect

Senior Member
Dec 16, 2010
1,812
875
Sin City
I still can't get adb on my Windows 10 64bits machines. I have run USB Linux on my Windows 10 before to inject root on my LG G4 and G flex 2. Will look into it again.

Edit... I got the adb installed(Youtube my friend) and have the unlock code from Huawei. I had booted into fastboot. Geeee so excited.. Will install TWRP and root tomorrow. Its the fastest to have root and TWRP ever install on a brand new phone. I have the LG G4 , its took months to get root and bootloader still locked.
Thanks guys!
 
Last edited:

InkSlinger420

Senior Member
Mar 26, 2013
1,066
2,378
As @EarlyMon said, without Huawei giving out the dev devices to us so early before official release and their contacts being so cool with the unlock codes, this wouldn't have happened anywhere near as fast, so props to them...

Sent from my KIW-L24 using Tapatalk
 
Last edited:

eruji

Senior Member
Aug 2, 2010
76
15
okay, got the bootloader unlocked. Maybe because you have development devices you did not have to enable oem unlock in the developer settings but my retail phone from amazon required me to enable “Enable OEM unlock” before it would work in bootloader.


Root done, ad blocker installed.. Nice work guys!
 
Last edited:

InkSlinger420

Senior Member
Mar 26, 2013
1,066
2,378
okay, got the bootloader unlocked. Maybe because you have development devices you did not have to enable oem unlock in the developer settings but my retail phone from amazon required me to enable “Enable OEM unlock” before it would work in bootloader.


Root done, ad blocker installed.. Nice work guys!

Yeah, we did too...with the dev devices...good looking out
 

retepoh

Member
Jul 28, 2013
24
6
I ran into something strange when in recovery mode. It seemed very unresponsive. I had to swipe a few times or tap the selection numerous times before anything happened. Also felt like the phone was slowly getting warmer.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 78
    Code:
    /*
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns before doing it! YOU are choosing 
     * to make these modifications, and if you point the finger at us for messing up
     *  your device, we will laugh at you.
     *
     */


    Step 1
    Make a Huawei ID at the following
    http://goo.gl/OlsI8a

    Step 2

    Log in and fill out the details needed
    https://goo.gl/VEKvXY

    How to get the product identification code ?
    In the phone's dial-up interface, enter * # * # 1357946 # * # *

    What you will need:
    ss_2016_01_31_at_03_43_41.png


    Step 3
    Now that you have your unlock code go to about phone in settings and click the build number until it tells you that you are a developer. Then go back once and select developer options and look for usb debugging and turn it on.

    Step 4
    Enable Developer settings by going to Settings > about phone and click build number until it says you are a developer.
    Once that is done go back to the main settings and go to developer settings and enable OEM unlock.

    Step 5
    I am going to assume you have adb and fastboot installed on your computer, but if not go to this thread to install it.
    http://xdaforums.com/showthread.php?p=48915118

    Step 6

    Plug your device into the computer and authorize your device key so adb will work, then type the following commands:
    Code:
    adb reboot bootloader
    Once it boots into the bootloader do the following command
    Code:
    fastboot oem unlock 2062712452147427
    Where numbers are put what you got from the website keep in mind it will wipe your data so if you have any personal data back it up first.

    Step 7
    Boot up the phone and set it up

    Step 8
    Download the twrp recovery image
    https://goo.gl/53xai9

    Step 9
    Boot back into the bootloader by typing the following
    Code:
    adb reboot bootloader

    Step 10
    Flash the recovery with the following command:
    Code:
    fastboot flash recovery twrp_kiwi.img

    Step 11
    Once it finishes type the following
    Code:
    fastboot reboot

    If you want root unhide this and follow the steps:
    Step 11
    Download SuperSU zip
    http://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip

    Step 12
    Boot into recovery by typing the following:
    Code:
    adb reboot recovery

    Step 13
    Flash SuperSu and enjoy your rooted Honor 5x


    Thanks to all of the following for getting this working:

    SHM
    @Dees_Troy
    Ncrypt3d
    @InkSlinger420
    @EarlyMon

    As @EarlyMon said, without Huawei giving out the dev devices so early before official release and their contacts being so cool with the unlock codes, this wouldn't have happened anywhere near as fast, so props to them...
    19
    Warning!

    Don't try to install xposed on your stock rooted EMUI rom.
    It won't work
    The system won't boot
    You'll have to recover from a nandroid backup
    You'll have to reinstall TWRP
    That is NOT TWRP's fault
    My personal, unverified, guess is that Huawei is writing to recovery in an attempt to, well, recover, when it detects a system fault
    13
    New version of TWRP has been released few weeks ago, most notable changes in 3.1.0 include:
    • support new Android 7.x xattrs for backup and restore to fix loss of data after a restore (Dees_Troy)
    • try mounting both ext4 and f2fs during decrypt (jcadduono and Dees_Troy)
    • support new Android 7.x log command (Dees_Troy)
    • adb backup to stream a backup directly to or from your PC, see documentation here (bigbiff)
    and many more, since this is default twrp image available for general public at twrp's site it is still missing f2fs and decryption support.
    Now, the good news is i have made a version with logd, f2fs and decryption working in my 3.1.0 image, all built on lineageos 14.1 and using the same kernel as the official LineageOS, available in the official 14..1 thread.
    I am still testing, and tweaking some things before i post new image (old broken images from me should be removed to avoid confusion). Lookie below :cool: and stay tuned!
    13
    Patience, folks, the image will be updated soon! Send big thank you's to @crpalmer for backporting properly the f2fs patches! (and correcting my commit mess).

    And no i will not be creating new topics or release new images once it's official, no need to duplicate what TeamWin already does while maintaining the twrp releases, a good job thank you! @bigbiff
    13
    TWRP 3.0.2.0 with decryption

    Hi there. I have created test build of TWRP with decryption feature. I am using CM13 and recovery decrypts data partition successfully. Please test it and check if it works correctly. Any feedback appreciated.

    Screenshots: https://imgur.com/a/oXaSU
    Download: https://drive.google.com/file/d/0ByhhV-Ab8exKTlFFVUFhTTZ0bEk/view

    Btw, it's based on CM13 tree and kernel. If everything works well I will clean up source code and upload it to github! Thanks.