[Upgrading, Modifying and Unlocking] Don'tDefyme:
Update: The instructions below are for the AGM X1 eu version, for the AGM X1 International version follow this thread, it's a work in progress and not available yet.

As you might be aware the AGM X1 is a fantastic rugged android, aside from the great hardware, the source code of the phone is available to devs. The combination of excellent ruggedness, hardware and open source makes the AGM X1 "the best choice in phones" at the moment for me period.

Unfortunately the information on how to root and install the available Lineage OS port is not very clear

I spent a few hours trying to find the best place to start and it's quite difficult to find

https://w3bsit3-dns.com/forum/index.php?showtopic=814951

This page contains a post below the main top section of the page.

https://w3bsit3-dns.com/forum/index.php?showtopic=814951

Here's the start of the important stuff with some additional information that I added

"The jist of the thread

TWRP 3.1.0 for AGM X1

---------------------

AGM-X1-flash-TWRP-root.zip ( 21,66 ?? )

https://w3bsit3-dns.com/forum/dl/post/10034644/AGM-X1-flash-TWRP-root.zip

OR

Download TWRP + ROOT from Google

https://drive.google.com/open?id=0B871Z4mt2B7Qb0RLMVlSemR4Szg

sha256sum

AGM-X1-flash-TWRP-root.zip b34b19f6666f0456f68e3a452c97aacf2fd3f1b06819ef7a633d95259d22a25f

SR3-SuperSU-v2.79-SR3-20170114223742.zip e147970ca377a184a177092f4c4a8022420cc30785fdaf95e16703da8312426d

Now here comes the difficult part, trying to decipher the following text

Text from thread (bad english)

Installation takes place in a similar way as inthis post, Except that you need to choose the same name! The fifth! The item and the installation of the root rights occurs automatically when you exit TWRP.

Can anyone help me with this, I cannot decipher the above paragraph. Also note that this forum is broken and not working correctly as a site (many issues including: no registration available and also the important link in the paragraph above does not work)https://forum-lw-1.xda-cdn.com/images/smilies/rolleyes.gif

P.s not interested in king root method (too many mentions of malware), will use twrp.

Update: (thanks to Skill3r)

clearer guide - also note that this zip contains twrp 3.0 instead of 3.1 due to backups not working with 3.1 (important)

https://xdaforums.com/android/help/agm-x1-qualcomm-snapdragon-617-4gb-64-t3533020/post71877054

The steps :

First You need to download this package and extract it : http://www53.zippyshare.com/v/3sgYq5cu/file.html

sha256sum

AGM-X1-flash-TWRP - Skill3r MOD.rar a0e755dc513b716e5a5369481f0761a4c6a9ec60401bd9c0c060579da87f3668

Contents with sha256 hash

adb.exe f05ff055b2ce9213d0b349da7ef713664d66a13134be76820cd072cd1e44211a same as twrp 3.1 version

AdbWinApi.dll 14a51482aa003db79a400f4b15c158397fe6d57ee6606b3d633fa431a7bfdf4b same as twrp 3.1 version

AdbWinUsbApi.dll 041c6859bb4fc78d3a903dd901298cd1ecfb75b6be0646b74954cd722280a407 same as twrp 3.1 version

fastboot.exe 632f4f2039b76082f2c090f6aec43893e93e8b32d0aae6b7cfa03f9b71d5d897 same as twrp 3.1 version

One-key-flash-twrp.bat f3e5a611166e970cb41a0040979da305b9d91abc44537cab9af94110381fbf54 different from 3.1 version

recovery_AMG-X1_es_by_MDSdev.img 3eb8df185afaacaae4a754ba3c18e5e86ea140f0b115ab73d28fe2ba64088fae different from 3.1 version

SR3-SuperSU-v2.79-SR3-20170114223742.zip e147970ca377a184a177092f4c4a8022420cc30785fdaf95e16703da8312426d same as twrp 3.1 version

1) Enable the developper settings

Go to Settings>About phone and hit "kernel version" 7 times to unlock

2) Enable the OEM bootloader unlock

Find in settings>dev options

3) Enable the USB debugging

Also in settings>dev options

4) Plug an usb cable and when the windows ask for the RSA identity of the computer, allow it and check to always allow the computer.

5) Shutdown your phone

6) Press VOL down + power and after long press the power button

7) Now in recovery mode, go to reboot to bootloader, a green message is shown with fastboot.

8) Now launch the One-key-flash-twrp.bat in package and plug your phone

9) Press any key and follow the instructions in the script.

10) TWRP should launch, you need to swipe to allow modifications in system

11) Press a key in the script, TWRP should reload, TWRP is now installed in the phone, you need to allow modifications in system again.

12) To root the phone, you just need to exit TWRP, he gonna ask to root the phone, you just need to swipe to root the phone.

Now you have TWRP installed and the phone is rooted.

If something goes wrong and bootloop the phone, please just follow the AGM instructions with the original package and the procedure to reflash the rom (on the external SD card and with VOL UP + VOL Down + Power)