# Fast rooting BV4800 with file

### Unlocking OEM

##### Enable dev options 

##### check OEM option

##### and enable adb

### Install Magisk and patch the boot.img

Install **Magisk-v26.1.apk** to the smartphone storage using **adb. [Github Magisk Release](https://github.com/topjohnwu/Magisk/releases "Github Magisk Release")**

```bash
cd ~/rooting_tablette/apk
adb install Magisk-v26.1.apk 
```

<p class="callout warning">Attention only version 26.1 of Magisk works, higher versions are not functional for this phone</p>

##### Shutdown device

```bash
adb reboot -p
```

<span style="color: rgb(187, 187, 187); font-size: 2.333em; font-weight: 400;">Start MTK client </span>

```bash
cd ~/github/mtkclient/
source env/bin/activate
```

##### Start gui interface 

```bash
python mtk_gui
```

<p class="callout info">connect your phone following the steps given in mtk client gui</p>

<p class="callout info">This step is only to learn how to put the device in BROM mode, otherwise you can run an MTK command and it will run until it detects a phone.</p>

when device is connected we can't quit and use command line

### Unlock bootloader

```bash
python mtk da seccfg unlock
```


### Use MTK client with command line to push file patched\_Signed\_boot and signed\_vbmeta 

BOOT NORMAL

```bash
python mtk w boot_a,vbmeta_a,lk_a bv4800_image/magisk_patched-26100_biB8t-signed.img,bv4800_image/vbmeta-custom-sign.img,bv4800_image/lk_patched.bin
```

BOOT AVEC NFC

```bash
python mtk w boot_a,vbmeta_a,lk_a bv4800_NFC_image/magisk_patched-26100_KhTyb.img,bv4800_image/vbmeta-custom-sign.img,bv4800_image/lk_patched.bin
```

Once installation is complete, we can restart the device.

```bash
python mtk reset
```

Open magisk and see if you can open superuser,   
if so, you're root!

[![image.png](https://wiki.mira-ceti.ovh/uploads/images/gallery/2024-02/scaled-1680-/HeJ61gA88lYha6wg-image.png)](https://wiki.mira-ceti.ovh/uploads/images/gallery/2024-02/HeJ61gA88lYha6wg-image.png)

## Web References

[MTKclient on GitHub](https://github.com/bkerler/mtkclient "MTKclient")

[Magisk on GitHub](https://github.com/topjohnwu/Magisk "Magisk")

[avbroot on Github ](https://github.com/chenxiaolong/avbroot "avbroot")

[Rooting blackview bv5300 by Niccolo Rigacci](https://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/blackview_bv5300 "rigacci.org")