[General Questions and Answers] alecxs:
CUBOT KING KONG B-1 (X511) Android 7.0 quick TWRP + rooting guide

WARNING: You do a factory reset! all data lost! unlocking - warranty lost!

edit: With locked bootloader, you can not flash from fastboot. BUT - Yippee! - SP Flash Tool is able to flash twrp.img for encrypted device with locked bootloader (and FRP / OEM lock!) without data loss. TWRP is then able to decrypt data with default_password. Before you unlock bootloader, flash TWRP, Back up your /data from TWRP and manually copy Internal Storage (/data/media/0) via USB-MTP (not included in TWRP Backup). Backup is not described in this Tutorial, but feel free to ask

- first you need adb and fastboot, in Windows represented as adb.exe and fastboot.exe which run in command line terminal (cmd.exe) - (for adb and fastboot Windows XP click here)

- install MediaTek MT65xx USB VCOM Preloader USB Drivers for Windows

- this phone is locked. to unlock the bootloader, enable usb-debugging:

Settings -> About Phone -> tap Build number seven (7) times

Settings -> Developer options -> OEM unlocking -> Turn on

Settings -> Developer options -> USB debugging -> Ok

WARNING: You do a factory reset! all data lost!

- connect the phone to pc and type in command console:

- confirm with Yes (Volume UP)

adb reboot bootloader
fastboot oem unlock

Phone is now in Orange State - warranty lost!

(if you wanna get rid of the waiting time flash the 'Orange State disabler' see below)

- reboot the phone:

fastboot reboot

i have created a scatter file using this very cool program WwR MTK v2.30 from Ilya Aleksandrovich

then i have ported this TWRP v3.2.2-0 from S. M. Nahid Emon Generic TWRP v3.3.1-0 from Samad Segmane meanwhile

- on Phone, download SR3-SuperSU-v2.79-SR3-20170114223742.zip flashable zip

- on PC, download the scatter file and the twrp-3-3-1-0-recovery from this thread

flash recovery with MediaTek SP Flash Tool

- in SP Flash Tool, go to Download and select the following files:

Download-Agent: MTK_AllInOne_DA.bin

Scatter-loading File: MT6580_cubot_king_kong_7081c_scatter.txt

Flash Mode: Download Only

- uncheck all checkboxes

- double click on recovery.img and select twrp.img

- press Download

- type in command console:

adb reboot bootloader

(flashing starts as soon as phone is connected in download mode)

- after successfully flashing, press and hold Volume UP, disconnect the phone, connect again, wait until you see the Orange State message appears, then release the Volume UP Button

- you can start TWRP each time from command console:

adb reboot recovery

edit: Fixed! unfortunately, when flashed and booted from recovery, touch screen is not working unless someone will fix the kernel (Patryk did with IDA Pro but this tutorial drives me crazy) - at moment you can only boot as boot.img

- boot into TWRP recovery from fastboot without flashing recovery (working touch screen)

adb reboot bootloader
fastboot boot "C:\Download\twrp.img"

<-- see here

- from TWRP you can now install SuperSU.zip flashable zip

- if you want install Busybox binary, download Busybox-1.29.0-YDS-UNIVERSAL.zip from github and install this flashable zip from TWRP

- if you don't like SuperSU better use Magisk i have tested successfully too, it is easy to install, no TWRP required. MediaTek SP Flash Tool has a readback mode where you can make a backup of boot.img and copy to phone (or use the one attached). Then, all you have to do is install the Magisk Manager apk and patch the boot image, then flash the patched_boot.img and you are rooted

- this phone is encrypted by default - disable encryption may increase performance

WARNING: You do a factory reset! all data lost!

first install adb and fastboot, connect the phone and unlock the bootloader,

then follow instructions for disable encryption (do everything in TWRP):

- on Phone, download Disable Force Encrypt zip and SuperSU zip files

- boot into TWRP recovery from fastboot without flashing recovery (see above)

- copy Disable Force Encrypt zip to cache partition

Advanced -> File Manager

navigate to /data/media/0/Download

select file Disable_Dm-Verity_ForceEncrypt_v1.4.zip

press Copy File

navigate to /cache

confirm blue check mark on the right bottom

Swipe to Confirm

- repeat this copy SR3-SuperSU-v2.79-SR3-20170114223742.zip to /cache

go back to main menu

- Wipe -> Format Data -> type yes

if Format Data fails, reboot TWRP and try again:

go back to main menu

- Reboot -> Bootloader

- boot into TWRP recovery from fastboot without flashing recovery (see above)

- Wipe -> Format Data -> type yes

go back to main menu

- flash Disable Force Encrypt zip and SuperSU zip files

Install -> (Up A Level) -> /cache

select file Disable_Dm-Verity_ForceEncrypt_v1.4.zip

uncheck all checkboxes

Swipe to confirm Flash

go back

select file SR3-SuperSU-v2.79-SR3-20170114223742.zip

uncheck all checkboxes

Swipe to confirm Flash

Reboot System

- finish the initial android setup assistant

- enable usb-debugging (see above unlock bootloader)

- boot into TWRP recovery from fastboot without flashing recovery (see above)

- clear cache partition

Wipe -> Advanced Wipe -> Cache -> Swipe to Wipe

instead of SuperSU you can flash Magisk after Disable Force Encrypt. The SuperSU v2.79 is the latest release from Chainfire and it is Pro-Version. Do not update to V2.82 from Coding Code (it is the same version)

- new: 'Orange State' disabler

if you wanna get rid of the waiting time flash the 'Orange State disabler'

WARNING: experts only! do not try this if you don't know how to unbrick your device

- make a backup of lk.bin (bootloader)

- install orange_state_disabler_v0.3.zip from TWRP

- flash lk.bin from SP Flash Tool (in case you bricked your device)

--- 'Orange State' disabler v0.3 ---

##### Created by XopmoH97 : ) #####

source: orange_state_disabler_v0.3.zip