Open Filkiro opened 3 weeks ago
Device can't crash to brom.maybe brom is security disabled try with preloader type
On Sun, 29 Sept 2024, 17:12 Filipe G., @.***> wrote:
Port - Device detected :) Preloader - CPU: MT6765/MT8768t(Helio P35/G35) Preloader - HW version: 0x0 Preloader - WDT: 0x10007000 Preloader - Uart: 0x11002000 Preloader - Brom payload addr: 0x100a00 Preloader - DA payload addr: 0x201000 Preloader - CQ_DMA addr: 0x10212000 Preloader - Var1: 0x25 Preloader - Disabling Watchdog... Preloader - HW code: 0x766 Preloader - Target config: 0x5 Preloader - SBC enabled: True Preloader - SLA enabled: False Preloader - DAA enabled: True Preloader - SWJTAG enabled: True Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False Preloader - Root cert required: False Preloader - Mem read auth: False Preloader - Mem write auth: False Preloader - Cmd 0xC8 blocked: False Preloader - Get Target info Preloader - HW subcode: 0x8a00 Preloader - HW Ver: 0xca00 Preloader - SW Ver: 0x0 Preloader - ME_ID: 21FE9C57192E40A2193A5628DE75522B Preloader - SOC_ID: 80748B814C4C706562ABB18746399F589CB94389795021B5061B905522CCCE9C Mtk - We're not in bootrom, trying to crash da... Exploitation - Crashing da... Preloader Preloader - [LIB]: upload_data failed with error: Unknown: 0x1d18 Preloader Preloader - [LIB]: Error on uploading da data Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile to brom mode DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration.
any solution for this? If it helps, the device is a motorcycle e22, in the Brazilian variant...
— Reply to this email directly, view it on GitHub https://github.com/bkerler/mtkclient/issues/1230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRDI3DXIC5Y6IFWWTC4RITZZADF7AVCNFSM6AAAAABPBX747CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJVGYZDENQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
DeviceClass - [LIB]: Couldn't get device configuration.
Port - Device detected :)
Preloader - CPU: MT6765/MT8768t(Helio P35/G35)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x766
Preloader - Target config: 0xe5
Preloader - SBC enabled: True
Preloader - SLA enabled: False
Preloader - DAA enabled: True
Preloader - SWJTAG enabled: True
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: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: 21FE9C57192E40A2193A5628DE75522B
Preloader - SOC_ID: 80748B814C4C706562ABB18746399F589CB94389795021B5061B905522CCCE9C
Preloader
Preloader - [LIB]: Auth file is required. Use --auth option.
PLTools - Loading payload from mt6765_payload.bin, 0x264 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
PLTools - Successfully sent payload: E:\Coisas do FIlipe\ROOT\mtkclient-main\mtkclient\payloads\mt6765_payload.bin
Port - Device detected :)
Main - Connected to device, loading
Main
Main - [LIB]: PL stage needs preloader, please use --preloader option. Trying to dump preloader from ram.
PLTools - Kamakiri / DA Run
PLTools - Loading payload from generic_preloader_dump_payload.bin, 0x250 bytes
Exploitation - Kamakiri Run
Exploitation - Done sending payload...
Exploitation - Error, payload answered instead:
PLTools
PLTools - [LIB]: Error on sending payload: E:\Coisas do FIlipe\ROOT\mtkclient-main\mtkclient\payloads\generic_preloader_dump_payload.bin
Traceback (most recent call last):
File "E:\Coisas do FIlipe\ROOT\mtkclient-main\mtk.py", line 1021, in <module>
main()
File "E:\Coisas do FIlipe\ROOT\mtkclient-main\mtk.py", line 1017, in main
mtk = Main(args).run(parser)
^^^^^^^^^^^^^^^^^^^^^^
File "E:\Coisas do FIlipe\ROOT\mtkclient-main\mtkclient\Library\mtk_main.py", line 535, in run
dadata, filename = plt.run_dump_preloader(self.args.ptype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Coisas do FIlipe\ROOT\mtkclient-main\mtkclient\Library\pltools.py", line 158, in run_dump_preloader
if self.runpayload(filename=pfilename, ack=0xC1C2C3C4, offset=0):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Coisas do FIlipe\ROOT\mtkclient-main\mtkclient\Library\pltools.py", line 104, in runpayload
self.error(f"Error, payload answered instead: {hexlify(ack).decode('utf-8')}")
^^^^^^^^^^^^
TypeError: a bytes-like object is required, not 'int'
maybe problems with the drivers or the libraries?
Device can't crash to brom.maybe brom is security disabled try with preloader type … On Sun, 29 Sept 2024, 17:12 Filipe G., @.> wrote: Port - Device detected :) Preloader - CPU: MT6765/MT8768t(Helio P35/G35) Preloader - HW version: 0x0 Preloader - WDT: 0x10007000 Preloader - Uart: 0x11002000 Preloader - Brom payload addr: 0x100a00 Preloader - DA payload addr: 0x201000 Preloader - CQ_DMA addr: 0x10212000 Preloader - Var1: 0x25 Preloader - Disabling Watchdog... Preloader - HW code: 0x766 Preloader - Target config: 0x5 Preloader - SBC enabled: True Preloader - SLA enabled: False Preloader - DAA enabled: True Preloader - SWJTAG enabled: True Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False Preloader - Root cert required: False Preloader - Mem read auth: False Preloader - Mem write auth: False Preloader - Cmd 0xC8 blocked: False Preloader - Get Target info Preloader - HW subcode: 0x8a00 Preloader - HW Ver: 0xca00 Preloader - SW Ver: 0x0 Preloader - ME_ID: 21FE9C57192E40A2193A5628DE75522B Preloader - SOC_ID: 80748B814C4C706562ABB18746399F589CB94389795021B5061B905522CCCE9C Mtk - We're not in bootrom, trying to crash da... Exploitation - Crashing da... Preloader Preloader - [LIB]: upload_data failed with error: Unknown: 0x1d18 Preloader Preloader - [LIB]: Error on uploading da data Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile to brom mode DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. DeviceClass DeviceClass - [LIB]: Couldn't get device configuration. any solution for this? If it helps, the device is a motorcycle e22, in the Brazilian variant... — Reply to this email directly, view it on GitHub <#1230>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRDI3DXIC5Y6IFWWTC4RITZZADF7AVCNFSM6AAAAABPBX747CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJVGYZDENQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
@Filkiro I've added a fix, can you rerun and post the console log ?
the 0x1d18 error happens under windows quite often ... it's a cache issue, it shouldn't happen using linux
Im using Linux i am also facing the same issues. Any solution?
any solution for this? If it helps, the device is a motorcycle e22, in the Brazilian variant...