[Elephone S7 ROMs, Kernels, Recoveries, & Other Dev] tombase:
I had some trouble to root the Elephone S7 7.1.1 Stock Rom. Therefore here is the short HowTo...

*** Root and TWRP for Elephone S7 4GB 7.1.1 Stock Rom http://bbs.elephone.hk/thread-12886-1-1.html

* SP_Flash_Tool download latest version e.g.: SP_Flash_Tool_v5.1720_Win.zip from http://spflashtools.com/category/windows

* SuperSU download latest version e.g.: SuperSU-v2.82-201705271822.zip from http://www.supersu.com/download

* Stock Rom download latest version e.g.: s7_4g_20170517133805_v2.3.zip from https://mega.nz/#!Z4AmRRTK!XLyd4O8HaS4B_XVNMdSn5OPX76rXDkOYXVekvn-9lMM

* TWRP 3.0.3 by Jemmini download latest version e.g.: recovery.img from https://www.dropbox.com/s/b7u3k1mgpppxlyx/recovery.img?dl=0

* create two folders, one for Stock Rom and one for TWRP

* unpack Stock Rom and copy MT6797_Android_scatter.txt into TWRP directory

optional:

* OpenGAps arm64 / 7.1 / stock download latest version e.g.: open_gapps-arm64-7.1-stock-20170629.zip http://opengapps.org/

* in OpenGAps zip delete from \GApps\ folder whatever you don't want

optional:

* AdAway v2.3 download latest apk from https://labs.xda-developers.com/store/app/org.adaway discussion https://xdaforums.com/showthread.php?t=2190753

* AdAway systemless hosts download latest version e.g.: AdAway_systemless_hosts_v2.zip from https://www.androidfilehost.com/?fid=24438995911977059

optional:

* my_bootanimation.zip

* change your favorite boot animation in my_bootanimation.zip\system\media\

* add your own tweaks in my_bootanimation.zip\system\tweaks.prop

SP_Flash_Tool for Stock Rom:

* select Download-Agent: SP_Flash_Tool_v5.1720_Win\MTK_AllInOne_DA.bin

* select Scatter-Loading-File: Stock Rom\MT6797_Android_scatter.txt

* Firmware Upgrade

* switch phone off

* click Download and press "Power" to connect the phone

* after "Download OK" unplug USB and press "Power" to start phone

SP_Flash_Tool for TWRP:

* select Download-Agent: SP_Flash_Tool_v5.1720_Win\MTK_AllInOne_DA.bin

* select Scatter-Loading-File: TWRP\MT6797_Android_scatter.txt

* Download Only

* switch phone off

* click Download and press "Power" to connect the phone

* !!! after "Download OK" unplug USB and press "Home + Power" (about 10 seconds) until enter recovery !!!

* on phone select "recovery" with "Home" and "Vol -" for OK

* in TWRP select and install

SuperSu

optional Open Gaps

optional AdAway systemless hosts

optional my_bootanimation.zip

* reboot (may loop some times)

tip:

* "adb reboot recovery" doesn't work

* therefore switch phone off and press "Home + Power" (about 10 seconds) until enter recovery

* select "recovery" with "Home" and "Vol -" for OK to enter TWRP

*** restore wrong IMEI's after update to 7.1.1 Stock Rom http://bbs.elephone.hk/thread-13641-1-1.html

* Maui META download latest version e.g.: MauiMETA_exe_v9.1724.0.rar from https://www.needrom.com/download/maui-meta-3g-ver-7-1444-0-0/

* IMEI's from phone box

Maui META:

* switch phone off and unplug USB

* press and hold the "Vol- + Power" Button and connect USB, release the "Vol- + Power" Button and click "Reconnect" (wait until the ball turns yellow)

* !!! retry if it not works !!!

* in the selection box scroll to the IMEI download option and select (it will open a new window)

* copy !!! only the first 14 digits !!! of the 1st IMEI and paste in the IMEI field

* click the "Download To Flash" button and wait until message "Download IMEI to flash successfully"

* repeat this two steps for SIM_2

* close the window, click "Disconnect", unplug USB and restart phone

* check IMEI's in Settings > About Phone > Status

*** restore rotating MAC after update to 7.1.1 Stock Rom https://androidrookies.com/how-to-change-wlan-mac-address-on-mtk/

* in Playstore install "Root Explorer"

* HxD Hex Editor for Windows download latest version https://mh-nexus.de/downloads/HxDSetup.zip

* in Root Explorer copy \nvdata\APCFG\APRDEB\WIFI to \sdcard

* now copy WIFI file to Windows and edit with HxD Hex Editor

* for Your last MAC e.g.: 00:08:22:a8:e3:fb write it in Offset (h) 04 to 09

00 01 02 03 04 05 06 07 08 09

06 01 00 00 00 08 22 A8 E3 FB

* copy WIFI back to \sdcard

* in Root Explorer copy \sdcard\WIFI to \nvdata\APCFG\APRDEB\ and set permission to 660 (rw-rw—)

Have Fun