[Huawei Developers] MihaiCazac:
Disclaimer: Im new and i'm not that good at english,im not responsible for bricked devices.

So for the past month i've been through a journey of tryng to break through huawei's draconian security and i can proudly say that i finally did it, i installed a custom rom on my FIG-LX1 :D

I've read a lot of sources and it all seems to be all over the place so i'm going to try and make this as easy as i can for you.

1.First of all ,if you want a custom rom go to OpenKirin ( https://openkirin.net/devices/) and choose your rom and see if you need to upgrade/downgrade your emui and also if your device is supported.

2.For the bootloader you have two options

a) The paid one, use sigma key or dc unlocker

b) The free and geeky one. Attention you'll need to open up your phone, which is honestly not that hard and you can pay a pro to do this for you for like 5 bucks .This method is pretty straight forward:\

1.Go to Potato NV (https://github.com/mashed-potatoes/PotatoNV) , see if your device is supported and download the software

2. Now comes the hard part, you need to take off the back cover of your device. Shut down your phone, then take your phone cover off, then you need to search google for your test point. For example for me it was Fig lx1 test point (device model+ test point)

3. When you located the test point youll need to short it with the motherboard shield. In their tutorial they said that youll need to solder it ,but it can be done easier. You need just a very small piece of wire and someone to plug the device

Here's how the process looks:View attachment 5239591

4.Open potato nv software. Now you need another person to help you. Hold the phone , touch the test point and the motherboard shield and keep them shorted while the other person plugs the usb cable from pc to phone. U should hear the connection sound from windows and the CHARGING LOGO SHOULDN'T APPEAR.

5. Now you can stop shorting the test point and the shield, but keep the phone connected to PC.

6. In potato Nv choose your cpu and unlock bootloader :D

7.Now your bootloader is unlocked :D,if any problems you still have the bootloader unlock code

Back to roms and twrp .

Now you should see this messagge appear:

View attachment 5239599

This menu is very important for changing the rom ,cause every rom needs emui 9 or 8 to be installed and from here you can reinstall the stock emui after flashing custom rom but we'll talk about it later.

Now for flashing twrp.

Boot the device into bootloader mode(shut down ,then hold power+ volume down until huawei appears on screen or Better and easier and useful for later download android platform tools from SDK Platform Tools release notes | Android Developers (developer.android.com/studio/releases/platform-tools).Plug the device into pc,enable usb debugging . Open a cmd and open the folder location .Example

cd C:\Users\USerName\Desktop\platform-tools

and type

adb reboot bootloader

. You should see that your bootloader is unlocked

Download android platform tools (developer.android.com/studio/releases/platform-tools)

Now find your twrp img for your phone , rename it to recovery.img and put it in in the platform-tools folder

Now in terminal open cmd in platform tools folder and type

fastboot flash recovery_ramdisk recovery.img

Now you have twrp installed :D

Note that you wont use it neither for rooting with magisk neither with installing custom rom.

View attachment 5239641

Installing custom rom:

Open kirin has a very good user guide and i suggest you to follow it: OpenKirin (openkirin.net/user_guide/openkirin-rom-installation-instructions/)

Btw their rom works with twrp

But it doesn't say how to switch your rom or go back to stock :(for switching you need to be on stock)

1.Go to Android File Host - Free file hosting for Android developers ( androidfilehost.com) and search for your build number (eg: FIG-LX1) and download a firmware emui 8 or 9.

2.Open the zip ,go to software and from here youll see a folder called dload, extract it somewhere

3.Now youll need a sdcard in your phone,plug your phone into pc and put the dload folder on your sdcard (it should bee on the root directory ,basically dont put it in another folder in sdcard)

3.You should've noticed already that every time you restart your phone there is a warning message sayng that your phone is unlocked( image above)

4.Press volume up for 3 seconds and it should take you to huawei recovery ,from here press wipe data and factory reset to kinda reinstall huawei recovery which youll use for dload

5.After wipe restart your phone ,press vol up + vol down + power until huawei logo to enter force update

6.Now wait for it to do its job and install emui.

*If it doesnt do anything , take the sd card out ,put it in another device ,open dload folder,find update.zip and put it on the sdcard instead of dload folder

7. To switch the rom repeat the steps from open kirin,note that if u had twrp youll need to install it again

Now the hardest part ,rooting...NOte that i tested root only on stock so your process can be diffrent but im not sure ,you cand try for other rom this process

For stock and no twrp:

1.Force update emui with dload method , needed for a recovery img.

2.On pc open dload folder ,open update.zip and extract UPDATE.APP

3.Now download huawei app extractor from here [TOOL] Huawei Update Extractor [UPDATED: v0.9.9.5] | OPEN-SOURCE LIBRARY | XDA Developers Forums (xda-developers.com) (xdaforums.com/t/tool-huawei-update-extractor-updated-v0-9-9-5-open-source-library.2433454/)

4.Open the app and go to settings and untick every box you seeView attachment 5239613

5.Now go to extract and extract the UPDATE.APP file

6.Now you should see a lot of nonsense,find recovery_ramdis.img ,left click it once, then right click for options and select extract selected

7. Now u should have a recovery_ramdis.img file.Move this file on your phone and install magisk manager.

8.Open magisk and press install in the tab with the mask(the first install button) tick the box with recovery mode, then select patch a file and select the recovery_ramdis.img file .Now it patches it. Then move the patched file to the pc again, to the platform tools folder

9.Enable usb debugging on the device and plug device to pc

10.Open cmd on pc and type

adb reboot bootloader

, or simply reboot to bootloader(shut down phone,then hold power + vol down until huawei logo appears)

11. In cmd type

fastboot flash recovery_ramdisk magisk_patched_yourfile.img

Dont forget to change the yourfile into your file name mine had something like this : jhfdU

12.Reboot your phone and voila u have root, if doesn't work go back to magisk press again install,tick recovery mode, but this time select direct install and this should resolve problems

Magisk official guide(kinda hard to understand) : Installation | Magisk (topjohnwu.github.io) (topjohnwu.github.io/Magisk/install.html#huawei)

Note that by this you'll remove your custom recovery .

IF U WANT TWRP i assume that you patch the twrp img file with magisk and flash i,t you can try it out and post your results or u can try to just flash twrp as is.

Hope i helped you :D!!