[General Topics] denis9rafael:
Hello,

Below is a guide on how to root Ulefone Power Armor 13 using Magisk, changing/restoring IMEI etc.

Before you continue, I take no responsibility for any bricked devices.

*Note: Before you begin, make sure you install the latest software update. If you already have data on the phone and apps. make sure you make a backup with Titanium backup or other similar apps. This process will reset the phone. ALL USER DATA WILL BE LOST!!!!

Gain access to developer options.

Go to Settings - About phone. Press repeatedly on Build Number until the phone will show a message You are now a developer or something similar.

Navigate to System - Advanced - Developer options.

Find OEM unlocking and turn on together with USB debugging. Turn off Verify apps over USB (very useful if you use Titanium Backup to restore apps).

2. Rooting boot stock image with Magisk

*Note: when connecting the phone via USB the first time, make sure you allow (click ok and check the box) to always always allow USB debugging when connecting to your PC. You need this for later steps to use with the ADB commands.

Install Magisk apk

Copy the boot/recovery image to your device

Press the Install button in the Magisk card

If you are patching a recovery image, make sure “Recovery Mode” is checked in options.

In most cases it should already be automatically checked.

Choose “Select and Patch a File” in method, and select the stock boot/recovery image

The Magisk app will patch the image to [Internal Storage]/Download/magisk_patched_[random_strings].img.

Copy the patched image to your PC

*Note: Make sure you pay attention if your phone is EEA (for EU countries) or NON EEA (for the rest of the world). Attached you will find stock images for both variants (stockEEAboot.img and stockNONEEAboot.img).

If your phone is for EU (EEA) you can directly use the already patched boot image (patchedEEAboot.img) and skip this step.

3. Install drivers and ADB.

Download latest ADB - Fastboot version from the link below.

https://www.getdroidtips.com/download-adb/

Extract the ADB files to a new folder.

Download Ulefone drivers from the link below and follow instructions to install them (you need ADB drivers).

https://gsmusbdriver.com/ulefone-power-armor-13 can also find the stock ROMs for this phone.

*Note: without these drivers installed you cannot use ADB properly.

4. Rooting the phone

Copy the patched boot image and vbmeta_null.img in the adb folder.

Connect phone to PC (with USB debugging activated)

Open CMD window (with admin privilege) and and change directory to the adb folder (instructions can be found online depending on your OS version)

Now type the commands below exactly as they are written:

- this initializes the ADB. Your device (specific strings of letters and numbers) should appear. If no device is detected please make sure you have followed the previous steps correctly.

- wait until device reboots in bootloader

When done verify the connection with the phone:

Again, your device name from previous command should appear

A message on the phone should appear. In order to unlock it follow the instructions on the screen (press Volume up key - if I remember correctly).

This disables the safety check of the boot.img otherwise you will have a bootloop.

If you receive a positive answer we can go to next step. Second string has TWRP recovery and Magisk root included.

patchedEEAboot.img - replace this with the actuale name of the patched boot image. Leave unchanged if you use the attached patched boot image (FOR EU VARIANT OF THE PHONE!!!).

Assuming everything went good you can reboot your phone:

The phone should now reboot without any issues. Open Magisk app and check if it shows as installed.

If you chose the TWRP and Magisk version of the boot image, Open Magisk app and follow the instructions to update the Magisk App and Magisk itself.

I DO NOT TAKE THE CREDIT FOR THE TWRP&MAGISK RECOVERY!!! ALL CREDIT GOES TO Бывалый

{Mod edit: Link to 4pda removed. Oswald Boelcke, Senior Moderator}

Congratulations, now you have successfully rooted your Ulefone Armor 13.

5. Additional steps if something goes wrong:

If your phone is bricked, do not despair. Simply patch the stock boot image using the same method. If that does not work, download the stock firmware and flash it with SPFlashtool following the instructions from the link below. Again make sure you install the correct firmware type (EU or NON-EU).

{Mod edit: Link to paid services website removed, warez and IMEI change information removed. Oswald Boelcke, Senior Moderator}

7. Custom recovery

Currently this phone does not have a custom recovery. With Magisk one is not truly needed.

Credits for the vbmeta_null.img go to Harlock1978 in the thread below.

https://xdaforums.com/t/how-to-root-ulefone-armor-11-5g.4274339/#post-85723951