Commit graph

581 commits

Author SHA1 Message Date
Bjoern Kerler
3adab1652c
Update README.md 2025-04-16 16:20:19 +02:00
Bjoern Kerler
3bab72a851
Merge pull request from LongQT-sea/master
Add Windows installation script
2025-04-16 16:19:28 +02:00
LongQT-sea
fa9e0389ee
Update README.md 2025-04-09 16:34:41 +07:00
LongQT-sea
a36685bdc9
Update README.md 2025-04-09 16:32:40 +07:00
LongQT-sea
049c31772b
Update README.md 2025-04-09 16:22:02 +07:00
LongQT-sea
705a6ada28
add install script 2025-04-09 16:00:41 +07:00
Bjoern Kerler
9acf74d0cc
Merge pull request from balloonalpha/master
Provide info about permission issue
2025-03-23 11:33:47 +01:00
Bjoern Kerler
a7e84b1a13
Merge pull request from AKosterin/patch-1
Add SDX75 keys
2025-03-23 11:12:10 +01:00
Bjoern Kerler
edb75040a7
Merge pull request from luk1337/luk/sony_vid_pid
Add Xperia 10 IV VID/PID
2025-03-23 11:11:48 +01:00
LuK1337
75ca8b72e0
Add Xperia 10 IV VID/PID 2025-02-23 16:31:17 +01:00
Anton Kosterin
1e9b9d2809
Add SDX75 keys
Netgear has released a family of new M7 Pro devices (such as the MR7400-1A1NAS). I add new generator keys extracted from the firmware MR7400-1A1NAS_23115898_NTGX75_10.03.22.01_00_ATT_02.11.
The key for !OPENLOCK and !OPENCND is tested on a real device. The key for !OPENMEP could not be verified because the command is blocked on AT&T devices
2025-02-22 16:21:28 +03:00
balloonalpha
06ca428f18 Add hint for permission denying.
Provide potential fix to permission issues.
2025-02-16 19:21:30 +08:00
balloonalpha
8cff9b5a39 Add logs directory. 2025-02-16 19:21:30 +08:00
Bjoern Kerler
a3d0ea25a7
Merge pull request from crazycrystals/patch-1
forgot a /
2025-01-27 08:36:43 +01:00
Crystals
2e6c50a9f6
forgot a / 2025-01-12 11:24:30 -06:00
Bjoern Kerler
ac60534779
Merge pull request from quaxlyqueen/patch
Fixed calling an attribute on a string.
2024-12-31 16:43:22 +01:00
Bjoern Kerler
bb26da0115
Merge pull request from imyxh/master
`wl`: fix indentation in gpt check and be flexible
2024-12-31 16:42:57 +01:00
Ivy Huang
33ac4b0d67
wl: fix indentation in gpt check and be flexible
There was a trivial indentation bug, but also `rl` tends to create files
like gpt_main0.bin and rawprogram0.xml, which we shouldn't try to write
with `wl`.
2024-12-23 06:03:09 -05:00
Joshua Ashton
2462cca02d Fixed calling an attribute on a string. 2024-11-26 16:05:16 -07:00
Bjoern Kerler
cef0076e1d
Merge pull request from alltern/master
Easier to install linux rules and confs and added blacklist qcserial as well as a libmtp blocker for the edl tool.
2024-10-12 15:09:12 +02:00
alltern
f752662edb
Update blacklist-qcserial.conf 2024-10-11 21:45:37 -04:00
alltern
fdba5b7ece
Update README.md 2024-10-09 22:48:16 -04:00
alltern
793ff4ea7a
Update install-linux-edl-drivers.sh 2024-10-09 22:37:39 -04:00
alltern
f4c4660150
Rename blacklist-qcserial to blacklist-qcserial.conf 2024-10-09 22:37:03 -04:00
alltern
0eaa6c31c7
Update README.md 2024-10-09 22:33:39 -04:00
alltern
2820a8cd91
Add files via upload 2024-10-09 22:32:05 -04:00
alltern
4a411595b4
Create blacklist-qcserial 2024-10-09 22:19:49 -04:00
alltern
4ddcfe5e67
Create 69-libmtp.rules 2024-10-09 22:18:48 -04:00
alltern
92f2a2afe7
Merge pull request from alltern/alltern-patch-2
Add files via upload
2024-10-09 22:10:29 -04:00
alltern
41cabef97f
Add files via upload 2024-10-09 22:10:00 -04:00
alltern
b4c8a78ca9
Add files via upload 2024-10-09 22:06:41 -04:00
alltern
8e08afe5a0
Add files via upload
Update EDL UDEV rules.
2024-10-09 22:03:27 -04:00
Bjoern Kerler
d2c585e4cc
Merge pull request from Dinolek/auth
Add xiaomi empty token(works on <sm8350)
2024-08-27 17:39:26 +02:00
Dinolek
f2a04c833c
Lazy init modules
Fixes "ERROR: Only nop and sig tag can be recevied before authentication." message before authentification

Signed-off-by: Dinolek <github@dinolek.me>
2024-07-07 23:05:48 +02:00
Dinolek
ec43594ccd
Add xiaomi empty token(works on <sm8350)
Signed-off-by: Dinolek <github@dinolek.me>
2024-07-07 23:05:22 +02:00
Dinolek
5c1a562f54
Base64 encode xiaomi encrypted token
Signed-off-by: Dinolek <github@dinolek.me>
2024-07-07 23:02:40 +02:00
Dinolek
113b329991
Fix xiaomi edl auth check
Signed-off-by: Dinolek <github@dinolek.me>
2024-07-07 23:02:23 +02:00
Bjoern Kerler
5367174021
Add support for OlympicLE 2024-07-05 21:25:21 +02:00
Bjoern Kerler
f22a53bed2
Merge pull request from ChrisEric1/master
Fix footer command & Partially revert commit a9e5008
2024-06-26 17:51:42 +02:00
Christopher Lentocha
bd0d89224c Remove the print command used during testing
On "Fix footer command" commit

Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
2024-06-25 18:57:30 -04:00
Christopher Lentocha
8e179d84ae Partially revert commit a9e5008
This commit fixes this from happening on running a edl command without rebooting the device on every command:

```
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Using loader 0000000000000000_b01193679ab2eac7_fhprg_peek.bin ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
Traceback (most recent call last):
  File "/usr/local/bin/edl", line 393, in <module>
    base.run()
  File "/usr/local/bin/edl", line 295, in run
    version = conninfo.get("data").version
AttributeError: 'NoneType' object has no attribute 'version'
root@HP-PAVILION-590:~#
```

Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
2024-06-25 18:51:42 -04:00
Christopher Lentocha
9f78e26c11 Fix footer command
The footer command had syntax issues that prevented the use of it. I mentioned about it on https://github.com/bkerler/edl/pull/564 but decided to fix it myself for everyone.

Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
2024-06-25 18:50:09 -04:00
Bjoern Kerler
ffcb9262b5
Merge pull request from ChrisEric1/master
SoC dumping fixes
2024-06-25 23:44:24 +02:00
Christopher Lentocha
f2ad4317f4 Fix qfp & pbl dump support on APQ8009w
The "w" at the end, HAS to be a lower case "w", due to "TargetName=MSM8909w", rename it from "W" to "w" to fix that.
Add APQ8009w to pbl dumping with a "w" loader (a non-"w" loader would work but it would show as "APQ8009" instead of "APQ8009w")
What is the mention of Wear3100 still doing in here? Remove that, as Wear2100 is the same as that, but it should be called by chipset anyways.
Also, the Snapdragon 212 is actually a "MSM8909v2" (note the v2).
PBL dumping doesn't however fully work on my mobvoi-catfish, it gets to 75%, and reboots, no matter what loader I use.

```

Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
main - Using loader /Loaders/qualcomm/model_generic/msm8909w/0000000000000000_b01193679ab2eac7_fhprg_peek.bin ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x2
------------------------
HWID:              0x000520e100000000 (MSM_ID:0x000520e1,OEM_ID:0x0000,MODEL_ID:0x0000)
CPU detected:      "APQ8009w"
PK_HASH:           0xcc3153a80293939b90d02d3bf8b23e0292e452fef662c74998421adad42a380f
Serial:            0x16e0f376

sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /Loaders/qualcomm/model_generic/msm8909w/0000000000000000_b01193679ab2eac7_fhprg_peek.bin ...
sahara - 32-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose_client
firehose_client - [LIB]: No --memory option set, we assume "eMMC" as default ..., if it fails, try using "--memory" with "UFS","NAND" or "spinor" instead !
firehose
firehose - [LIB]: !DEBUG! rsp.data: 'bytearray(b'<?xml version="1.0" encoding="UTF-8" ?><data><log value="logbuf@0x080548D0 fh@0x08051738" /></data>')'
firehose - TargetName=MSM8909w
firehose - MemoryName=eMMC
firehose - Version=1
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose_client - Supported functions:
-----------------
firehose - Peek: Address(0x100000),Size(0x1ffb0)
Progress: |██████████████████████████████████████------------|  75.0% Complete                                                                                                                                   DeviceClass - USBError(5, 'Input/Output Error')
Traceback (most recent call last):
  File "/home/ce1cecl/edl/./edl", line 393, in <module>
    base.run()
  File "/home/ce1cecl/edl/./edl", line 385, in run
    if not fh.handle_firehose(cmd, options):
  File "/home/ce1cecl/edl/edlclient/Library/firehose_client.py", line 397, in handle_firehose
    if self.firehose.cmd_peek(target_name[0][0], target_name[0][1], filename, True):
  File "/home/ce1cecl/edl/edlclient/Library/firehose.py", line 1682, in cmd_peek
    rdata = self.xml.getlog(tmp)[0].replace("0x", "").replace(" ", "")
IndexError: list index out of range
root@LenovoLegionT5:/home/ce1cecl/edl#

```

Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
2024-06-21 12:45:14 -04:00
Christopher Lentocha
856590bce8 Add Batch Script for Easier Use on Windows
This was copied from MTKClient, but renamed MTK to EDL, of course

Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
2024-06-21 12:39:33 -04:00
Bjoern Kerler
a6bb478da0
Merge pull request from ColdWindScholar/master
More Beautiful and bug fixes
2024-06-13 23:59:29 +02:00
ColdWindScholar
625cda6086 fix https://github.com/bkerler/edl/issues/556 2024-06-10 01:51:55 +08:00
ColdWindScholar
a9e50083a2 fix https://github.com/bkerler/edl/issues/556 2024-06-10 01:47:36 +08:00
ColdWindScholar
3b9a6927fb Normative code 2024-06-10 01:44:14 +08:00
ColdWindScholar
1a1bec8671 Normative code 2024-06-10 01:28:03 +08:00