[Miscellaneous Android Development] karim.a:
TWRP 3.3.1 + Root

This topic is the result of work mehanik6 (4PDA) my greetings to him

Tested on Android 9

1 - Remember that everything you do, you do at your own risk

2 - to install TWRP, we will have to unlock the bootloader, all data will be erased, Your device becomes out of warranty

3 - the you need to be installed adb driver For connecting your device to a computer (15 Second ADB Installer v1.5.3.zip)

How to install Best Android ADB Driver on your computer

How to Install Google USB Driver for Windows | ADB and FastBoot

installation

- download the archive delete_verity_key.zip without unpacking put on the sdcard (Attached file) delete_verity_key.zip (130.56 KB)

- download file Fix_vendor.zip without unpacking on the sdcard (Attached file) Fix_vendor.zip (347.64 KB)

- download file Magisk-v20.1.zip without unpacking on the sdcard (Attached file) Magisk-v20.1.zip (5.22 MB)

- download file adb.zip. unzip to your computer desktop adb.zip (22.02 MB)

- Enable developer options in Android

GO to Settings > Swipe down and tap on About Phone Keep tapping on the build number for 7 times

-Enable the USB debugging option

GO to Settings >System -> Developer options on your Android device and enable the USB debugging option.

-Enable “OEM Unlocking”

GO to Settings > Developer options on your Android device and enable the OEM Unlocking option.

when you plug the device into an PC, it will prompt you to allow USB debugging (as seen in the screenshot below).

- allow unlocking of the bootloader

- Decompress a folder adb.zip

- Open a command prompt inside a folder adb. right mouse button l menu, select to open a command window

- copy and paste command [adb devices] (Check Device by Sending below Command)

Example of making sure to connect to the phone

1

adb devices

2

adb reboot-bootloader

3

fastboot devices

If the device does not recognize the phone, it is on "fastboot" android adb interface

Installing [Google ADB Drivers] To Windows 7/8/8.1/10/XP/Vista

- download file Google ADB Drivers.zip

- unlock the bootloader

4

fastboot flashing unlock

- on the screen text appears, press the Volume + button (all data will be erased)

Attention

The following files(fileFix_vendor.zip+delete_verity_key.zip+Magisk-v20.1.zip) must be placed in an external card, because all phone data will be deleted

Then long press buttons (Power) to turn off the phone

- The bootloader is unlocked. You should see the Orange State (text).

Then turn ON the phone

one more time

- Enable developer options in Android

GO to Settings > Swipe down and tap on About Phone Keep tapping on the build number for 7 times

-Enable the USB debugging option

GO to Settings >System -> Developer options on your Android device and enable the USB debugging option.

when you plug the device into an PC, it will prompt you to allow USB debugging (as seen in the screenshot below).

- Open a command prompt inside a folder adb. right mouse button l menu, select to open a command window

1

adb devices

2

adb reboot-bootloader

3

fastboot devices

- Sew vbmeta.img (the error does not pay attention)

4

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

5

fastboot flash recovery recovery.img

-After completing:

*Long press buttons (Power) to turn off the phone And quickly Boot into TWRP (buttons Power + Volume Up )

By pressing the volume up selects: recovery mode

and pressing the( volume down) to start TWRP

Changes will not be saved language and settings in (TWRP) Only after all stages have been completed

- Back to the section mount

And put a tick next to all sections on which are placed

- go to the section wipe

- click Format the Data

- In the terminal, Type "yes" and confirm (format action) by click the check mark in the lower right corner

- then you need to reboot again in TWRP

Boot into twrp buttons (Power + Volume Up )

By pressing the volume up selects: recovery mode

and pressing the( volume down) to start TWRP
​

one more time​

- Go to the section mount

And put a tick next to all sections on which are placed

Back to install

- Flash archive delete_verity_key.zip

- Flash archive Fix_vendor.zip

- Flash archive Magisk-v20.1.zip (Data again to not encrypt)

- Restart the phone

Like everything, use

NEXT

[GUIDE] CUBOT X19​