[MOD EDIT:]In the absence of the OP I have been asked to make it very clear that the included TWRP build flashes fine on Chinese and US models but bricks Euro models (The "G" model)



CAUTION: this might be outdated,since this method is using a qualcomm bootloader logical bug.that is fixed in 2016/12 .so the latest firmware dont have this vulnerability.



By attempting any of the processes listed this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches on fire, or turns into a hipster and claims to have been modified before it was cool.



Backup all your important data before you do any steps below:

a2017 for Chinese model,and a2017u for US model,a2017g for HK & EU model

Code: adb reboot edl

Code: Usage: axon7root.exe -p COM4 -b -r Options: -p Port number eg:COM8 or 8 -b write boot.img only -r write recovery.img only -d dump boot.img and recovery.img from phone(not impl yet)

Code: axon7backup.exe -p 4 -d

Code: axon7root.exe -p 4 -b

Code: axon7root.exe -p 4 -r

Code: axon7root.exe -p 4 -b -r

Code: axon7root.exe -p 4

use at your own risk.

Step 1: Download the zip file and extract to your local disk.a2017u B20 http://devhost.xda-developers.com/LqR5 (modified from @ rczrider ‘s backup real stock b20 boot.img)a2017u B27 http://devhost.xda-developers.com/kRgq a2017 B06: http://devhost.xda-developers.com/ztXw a2017 B07: http://devhost.xda-developers.com/VVlf a2017 B08: http://devhost.xda-developers.com/bT6r a2017 B09: http://devhost.xda-developers.com/sBjo a2017 B10:(wifi not working) http://devhost.xda-developers.com/aceq (from official update.zip)a2017g B02 : removed by mod due to above note a2017g B03: removed by mod due to above note TWRP recovery 3.0.2-2 : http://devhost.xda-developers.com/dgWW latest tools: http://devhost.xda-developers.com/Ienb with dump functionStep 2:Shut down your phone, hold volume down + volume up ,then plug your phone with USB cable. or you can use adbStep 3:install the Qualcomm's driver .Download Qualcomm driver to your local disk ,extract and install itQualcomm 9008 driver : http://devhost.xda-developers.com/35tx in the install process choose WWAN ,the first option.Step 4 : open your PC's device manager and find out the com port number which your phone is .as the Pic shows ,in my case,the port number is 4Step 5: right click in Explorer with SHIFT key press, open a Command Window.in the command window, run the programthe 4 is my com port number in my system. change it to your'sbefore you do any thing do a dump use my latest program:two backup will read from your phone to local disk.for flash boot.img to boot partition:for flash recovery.img to recovery partition:for flash both boot.img and recovery.img :or just without -b and -r options:after the program exit,if you have flashed a TWRP recovery.press volume up+ power to boot into recoveryFORMAT the data partitionif you only flash the boot.img :boot into stock recovery do a factory resetwhen your boot into your system. you will need to install a superuser manager.you should install https://play.google.com/store/apps/d...uperuser&hl=en Thank Pierre-Hugues Husson for his superboot for the hint on root this without an unlocked bootloaderby the test .so we can confirm that all model have same hardware.I don't have a2017u and a2017g ,so i took the boot.img and twrp recovery image form idlekernel.com .thanks the owner.and since i don't have a2017u adn a2017g ,i didn't test this on these two modelsbut i test it on a2017 Chinese version. it works very well.also i tested that flash the a2017u and a2017g's boot.img and recovery.img to my a2017,both worked.from @ r3xx3r test,we can know that the metod works on a2017u ,Thanks @ Cricius test and report it also work on a2017g.Thanks @ rczrider and @ KyJelly69 to share their b20 stock backup. but for b20_boot and b18 we still need those stock files.Thanks @ mmamedov post a detailed step by step at post #157