Project

General

Profile

Samsung Midas 4G » History » Version 14

gnutoo, 02/03/2020 07:43 PM
Explain midas

1 14 gnutoo
h1. Samsung "Midas" 4G
2
3
Midas is a code name that applies to several devices:
4
* Galaxy SIII (GT-I9300)
5
* Galaxy Note II (GT-N7100)
6
* Galaxy SIII 4G (GT-I9305)
7
* Galaxy Note II 4G (GT-N7105)
8 2 gnutoo
9 13 gnutoo
h3. Modem firmware and hardware architecture
10 2 gnutoo
11 13 gnutoo
On both the Galaxy SIII 4G (GT-I9305) and Galaxy Note II 4G (GT-N7105), the AP (Samsung Exynos 4412) has partitions related to the modem:
12 2 gnutoo
|_. Partition label |_. Mount point |_. Filesystem |_. content |
13 12 gnutoo
| RADIO | /firmware | vfat | modem firmware partition |
14 1 gnutoo
| EFS | /efs | ext4 | modem data partition |
15 12 gnutoo
16 13 gnutoo
Files inside the RADIO partition on the Galaxy SIII 4G (GT-I9305):
17 12 gnutoo
18
|_. File | Format | Usage |
19
| acdb.mbn | ? | |
20
| apps.mbn | ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, no section header | |
21
| dsp1.mbn | ELF 32-bit LSB executable, QUALCOMM DSP6, version 1 (SYSV), statically linked, no section header | |
22
| dsp2.mbn | ELF 32-bit LSB executable, QUALCOMM DSP6, version 1 (SYSV), statically linked, no section header | |
23
| dsp3.mbn | ELF 32-bit LSB executable, QUALCOMM DSP6, version 1 (SYSV), statically linked, no section header | |
24
| efs1.mbn | ? | |
25
| efs2.mbn | ? | |
26
| efs3.mbn | ? | |
27
| mdm_acdb.img | ? | |
28
| modem_ds.ima | ELF 32-bit LSB executable, QUALCOMM DSP6, version 1 (SYSV), statically linked, stripped | |
29
| q6.mdt | ELF 32-bit LSB executable, QUALCOMM DSP6, version 1 (SYSV), statically linked, no section header | |
30
| rpm.mbn | ? | |
31
| sbl1.mbn | ? | |
32
| sbl2.mbn | ? | |
33 3 gnutoo
34 7 gnutoo
The Replicant project "has some information on the modem boot":https://redmine.replicant.us/projects/replicant/wiki/QMI-RIL#Modem-boot. 
35 1 gnutoo
36 7 gnutoo
Though that page has also information on how to support that modem from Replicant which runs on the Samsung Exynos 4412.
37
38 13 gnutoo
Note that the AP part is also supported by upstream Linux with the "exynos4412-i9305.dts":https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/exynos4412-i9305.dts for the Galaxy SIII 4G and "exynos4412-n710x.dts":https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/exynos4412-n710x.dts for the Galaxy Note II 4G, assuming that you use "u-boot and a nonfree BL1":https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/ (the stock bootloader doesn't clear the icache/dcache and still the MMU on). Else you need some small patches on top. See the Replicant 9 kenrel for such patches.
39 8 gnutoo
40 13 gnutoo
h4. Modem Components for the Galaxy SIII 4G
41 9 gnutoo
42 3 gnutoo
|_. Component type |_. Component model |
43 4 gnutoo
| SOC | [[Qualcomm MDM9615]] |
44 1 gnutoo
45 13 gnutoo
h3. TODO
46 7 gnutoo
47 13 gnutoo
* Scan both devices PCB and upload it to archive.org to confirm the modem model with the markings (and not just the kernel configuration from the LineageOS kernel).
48
* Look at the upstream support for the AP modem driver.
49 7 gnutoo
* Look if the max77693 can route the modem to the USB connector through "resistor values":https://git.replicant.us/replicant/kernel_samsung_smdk4412/tree/drivers/misc/max77693-muic.c#n82.
Add picture from clipboard (Maximum size: 48.8 MB)