Commit graph

527 commits

Author SHA1 Message Date
Bjoern Kerler
98e8f4cca0
Merge pull request #345 from arzam16/main
Fixes and improvements for mt6575, mt6577. New generic write function. setreg_disablewatchdog optimization.
2022-04-30 11:16:12 +02:00
Bjoern Kerler
f83a2d405c
Merge pull request #353 from PizzaG/patch-1
Fix GUI Launching
2022-04-30 11:14:01 +02:00
Bjoern Kerler
9f09be3cb2
Update requirements.txt 2022-04-30 11:13:39 +02:00
PizzaG
89bd6359f6
Update devicehandler.py
Fix Launching of GUI
file is using edl instead of the required mtk
2022-04-27 23:59:23 -05:00
Bjoern Kerler
97bc0a9856
Make first serial changes 2022-04-27 08:27:56 +02:00
arzamas-16
bfa006699a optimize setreg_disablewatchdog, fix mt6577 support
The code has been refactored by optimizing the logic of setreg_disablewatchdog.
Support for mt6577 was also fixed. The previous version ...
        res = self.write32(0x2200, [0xC0000000])
... did not work at all because:
1. The function call had the wrong order of arguments.
2. The called function itself was wrong, so replace it with write16.
2022-04-17 16:30:59 +03:00
arzamas-16
8848fa2b79 add generic write function to be used by write16 and write32
This commit adds a write16 function needed to support some old SoCs.
To reduce the amount of duplicate code, a generic write function is
introduced. It takes a length of a data unit as an argument defaulting
to 32. In the future, this codebase can be extended to support writing
64-bit values.

Making similar changes to read function could also be considered.
2022-04-15 03:33:10 +03:00
arzamas-16
05e990f488 set the value to disable watchdog on mt6577
Wireshark dump of the SP Flash Tool traffic showed that the
DA v3 set the register to 0x2200 and the DA v5 set it to 0x2264.
I kept the later value and verified it to be working.
2022-04-15 03:16:02 +03:00
arzamas-16
4d927125f1 set UART register address for mt6575
mt6575 has the same UART register address as mt6577.
2022-04-15 03:09:39 +03:00
Bjoern Kerler
ca702a4ec8
Fix config issue 2022-03-31 11:21:28 +02:00
Bjoern Kerler
541985bf58
Update README.md 2022-03-22 15:08:41 +01:00
Bjoern Kerler
4378f1f3cb Improve rpmb key generation 2022-03-02 22:32:11 +01:00
Bjoern Kerler
ea102f8ed2 Fix generate keys issue 2022-02-23 20:20:40 +01:00
Bjoern Kerler
de440bd17c Fix generate keys issue 2022-02-21 22:02:29 +01:00
Bjoern Kerler
e9e569d89b Fix memdump 2022-02-18 21:09:30 +01:00
Bjoern Kerler
45f7b0aa55 Update DA 2022-02-18 20:16:13 +01:00
Bjoern Kerler
6b655cc95c Fix legacy preloader detection 2022-02-17 18:16:21 +01:00
Bjoern Kerler
d59de65a12 Fix minor issue 2022-02-17 17:44:09 +01:00
Bjoern Kerler
408a1d03b5 Fix preloader file issue 2022-02-17 13:17:54 +01:00
Bjoern Kerler
d4b832cdc8 Improve memdump command 2022-02-17 13:17:16 +01:00
Bjoern Kerler
c407dd79cc Improve memdump command 2022-02-16 21:52:18 +01:00
Bjoern Kerler
1c935b2776 1. Bump version
2. Try to make console work without pyside6
2022-02-15 21:25:58 +01:00
Bjoern Kerler
c7752f2003 1. Improve dram handling
2. Import error reports
3. Add missing sony usb vid/pid
4. Some xflash improvements
2022-02-15 21:18:07 +01:00
Bjoern Kerler
b30d65c706 1. Fix kamakiri not working
2. Fix vendor interfaces not detected (aka CDC Interface issue)
3. Fix UFS read flash issue
4. Add further improvements for meid detection
2022-02-07 20:46:26 +01:00
Bjoern Kerler
646311cd3d 1. Fix kamakiri not working
2. Fix vendor interfaces not detected (aka CDC Interface issue)
3. Fix UFS read flash issue
4. Add further improvements for meid detection
2022-02-07 20:46:15 +01:00
Bjoern Kerler
6e2686bc7a Fix stage 2022-02-02 16:35:02 +01:00
Bjoern Kerler
f50a45c823 Add hwcode to legacy 2022-01-27 21:06:49 +01:00
Bjoern Kerler
e6ef4848f4 Add swedish translations 2022-01-26 12:10:47 +01:00
Bjoern Kerler
1bf1a76603 Update translation 2022-01-26 09:22:39 +01:00
Bjoern Kerler
b50775f8fa Fix folder path issue for generating keys 2022-01-26 09:17:27 +01:00
Bjoern Kerler
272af9de38 Add Sony brom id 2022-01-18 19:21:23 +01:00
Bjoern Kerler
9f1034cfa5 Merge remote-tracking branch 'origin/main' 2022-01-18 17:51:15 +01:00
Bjoern Kerler
78f09ba560 Fix using external loader if secure setup is used 2022-01-18 17:51:05 +01:00
cygnusx
1635a2bafc Hwparam.json fix 2022-01-17 14:49:57 +01:00
Bjoern Kerler
b318805e04 Fix gui thread issue 2022-01-17 13:14:49 +01:00
Bjoern Kerler
38477c7dc2 Fix gui read issues 2022-01-17 13:02:16 +01:00
Bjoern Kerler
95eea860ae Merge branch 'main' of https://github.com/bkerler/mtkclient 2022-01-17 12:22:04 +01:00
Bjoern Kerler
b1af71b98c Update 2022-01-17 12:21:59 +01:00
cygnusx
8b3a8a0405 NL language translation fixes. 2022-01-17 11:51:03 +01:00
cygnusx
4543fc713c Small gui improvements in phone information displayment. 2022-01-17 11:45:59 +01:00
Bjoern Kerler
72c927e08e Fix settings init 2022-01-17 10:37:29 +01:00
Bjoern Kerler
6ea340d544 Fix settings init 2022-01-17 10:34:32 +01:00
Bjoern Kerler
954580aecb Fix generate keys 2022-01-17 10:24:41 +01:00
Bjoern Kerler
ddadd43c86 Fix generatekeys hwcode issue 2022-01-17 08:54:20 +01:00
Bjoern Kerler
474cd5555e Fix legacy da2 patch 2022-01-17 08:48:31 +01:00
Bjoern Kerler
a346965f37 gcpu updates 2022-01-14 21:33:53 +01:00
Bjoern Kerler
aa67e14e56 Update 2022-01-12 14:48:45 +01:00
Bjoern Kerler
e9f0748a78 Merge branch 'main' of https://github.com/bkerler/mtkclient 2022-01-11 21:18:45 +01:00
Bjoern Kerler
12fc934be0 Update gui and fix issues 2022-01-11 21:18:37 +01:00
cygnusx
91cbd72808 added consettingsbtn 2022-01-11 15:23:26 +01:00