[General Questions and Answers] ATotalNoob:
hello. switched to ubuntu to try and make things easier, but its the same as i got on windows, but slightly farther. heres what happens when i try to use mtkclients official readme.md to try and root.

python3 mtk r boot,vbmeta boot.img,vbmeta.img

MTK Flash/Exploit Client V1.6.3 (c) B.Kerler 2018-2023

Preloader - Status: Waiting for PreLoader VCOM, please connect mobile

Port - Hint:

Power off the phone before connecting.

For brom mode, press and hold vol up, vol dwn, or all hw buttons and connect usb.

For preloader mode, don't press any hw button and connect usb.

If it is already connected and on, hold power for 10 seconds to reset.

Port - Device detected :)

Preloader - CPU: MT8168/MT6357()

Preloader - HW version: 0x0

Preloader - WDT: 0x10007000

Preloader - Uart: 0x11002000

Preloader - Brom payload addr: 0x100a00

Preloader - DA payload addr: 0x201000

Preloader - Var1: 0xa

Preloader - Disabling Watchdog...

Preloader - HW code: 0x8168

Preloader - Target config: 0xe0

Preloader - SBC enabled: False

Preloader - SLA enabled: False

Preloader - DAA enabled: False

Preloader - SWJTAG enabled: False

Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False

Preloader - Root cert required: False

Preloader - Mem read auth: True

Preloader - Mem write auth: True

Preloader - Cmd 0xC8 blocked: True

Preloader - Get Target info

Preloader - BROM mode detected.

Preloader - HW subcode: 0x8a00

Preloader - HW Ver: 0xca01

Preloader - SW Ver: 0x100

Preloader - ME_ID: A10F9C29266308FE8559E539CB8DFC74

Preloader - SOC_ID: 0000000000000000000000000000000000000000000000000000000000000000

DA_handler - Device is unprotected.

DA_handler - Device is in BROM-Mode. Bypassing security.

PLTools - Loading payload from mt8168_payload.bin, 0x258 bytes

Exploitation - Kamakiri Run

Traceback (most recent call last):

File "/home/elliot/mtkclient/mtk", line 855, in <module>

mtk = Main(args).run(parser)

File "/home/elliot/mtkclient/mtkclient/Library/mtk_main.py", line 635, in run

mtk = da_handler.configure_da(mtk, preloader)

File "/home/elliot/mtkclient/mtkclient/Library/DA/mtk_da_handler.py", line 102, in configure_da

mtk = mtk.bypass_security() # Needed for dumping preloader

File "/home/elliot/mtkclient/mtkclient/Library/mtk_class.py", line 191, in bypass_security

if plt.runpayload(filename=self.config.payloadfile):

File "/home/elliot/mtkclient/mtkclient/Library/pltools.py", line 79, in runpayload

ack = self.exploit.runpayload(payload, ack, addr, dontack)

File "/home/elliot/mtkclient/mtkclient/Library/Exploit/kamakiri2.py", line 204, in runpayload

if self.da_payload(payload, addr, True):

File "/home/elliot/mtkclient/mtkclient/Library/exploit_handler.py", line 80, in da_payload

if self.exploit(payload, addr):

File "/home/elliot/mtkclient/mtkclient/Library/Exploit/kamakiri2.py", line 66, in exploit

self.da_write(payloadaddr, len(payload), payload)

File "/home/elliot/mtkclient/mtkclient/Library/exploit_handler.py", line 65, in da_write

return self.da_read_write(address, length, data, check_result)

File "/home/elliot/mtkclient/mtkclient/Library/Exploit/kamakiri2.py", line 55, in da_read_write

return self.mtk.preloader.brom_register_access(address - 0x40, length, data, check_result)

File "/home/elliot/mtkclient/mtkclient/Library/mtk_preloader.py", line 636, in brom_register_access

raise RuntimeError("Kamakiri2 failed, cache issue :(")

RuntimeError: Kamakiri2 failed, cache issue :(