GalaxySIIGTI9100 » History » Revision 60
« Previous |
Revision 60/96
(diff)
| Next »
Denis 'GNUtoo' Carikli, 03/07/2020 04:05 PM
Thanks to hpagseddy for the precisions on LineageOS
Galaxy S II (GT-I9100)¶
- Table of contents
- Galaxy S II (GT-I9100)
![]() |
Device | Galaxy S II (GT-I9100) |
Manufacturer | Samsung | |
Release date | May 2011 | |
Codename | i9100 |
|
Status | Maintained | |
Variants | GSM: GT-I9100 | |
Latest images | Replicant 6.0 0003 |
Replicant status¶
Replicant installation¶
To install Replicant on the Galaxy S II (GT-I9100), see the RecoveryInstallationWithHeimdall and MinorVersionUpgrade wiki pages.
Replicant usage¶
Replicant build¶
Replicant development¶
- Galaxy S 2 (I9100) serial
- If you don't have the device and need a quick test, see the People page for a list of people having a Galaxy SII (GT-I9100)
- If you already have substantial Replicant contributions, and you need a Galaxy SII (GT-I9100), we could ship one to you
Freedom and privacy/security issues¶
Galaxy S 2 (I9100) freedom issues:- Proprietary hardware
- Proprietary firmwares, some of which are firmwares loaded by the system
- Proprietary modem system
- Proprietary bootrom
- Proprietary and signed bootloader
Galaxy S 2 (I9100) Privacy/security issues
Research¶
Hardware table¶
Component | Name | Source | Status |
---|---|---|---|
SoC | Samsung Exynos 4210 | Linux kernel | Linux kernel support |
GPU | Mali 400 | https://secure.wikimedia.org/wikipedia/en/wiki/Exynos | Linux kernel support, proprietary userspace |
Audio Codec | Yamaha MC1N2 | Linux kernel | Linux kernel support (ALSA), free userspace: Yamaha-MC1N2-Audio/Tinyalsa-Audio |
Modem | XMM6260 | Linux kernel | Free userspace implementation: Samsung-RIL/libsamsung-ipc |
Wi-Fi | BCM4330 | Linux kernel | Linux kernel support, proprietary loaded firmware |
Bluetooth | BCM4330 | Linux kernel | Linux kernel support, proprietary loaded firmware |
NFC | PN544 | Linux kernel | Linux kernel support |
GPS | GSD4t | http://www.csr.com/news/pr/release/455/en | Proprietary userspace, no free implementation: GSD4t |
Accelerometer | K3DH | Linux kernel | Linux kernel support, free userspace |
Compass | AKM8975 | Kernel sources | Linux kernel support, free userspace |
Light | Capella CM3663 | Linux kernel support, free userspace | |
Proximity | Capella CM3663 | Linux kernel support, free userspace | |
FM Radio | SI4709 | Linux kernel | Linux kernel support |
Camera (back) | Fujitsu M5MO | Linux kernel support, free userspace | |
Camera (front) | Samsung S5K5BAFX | Linux kernel support, free userspace | |
Touchscreen | Atmel MXT224 | Linux kernel support | |
Display | LD9040 | Linux kernel support | |
Power Management IC (PMIC) | Maxim MAX8997 | Kernel sources | Linux kernel support |
Software Configuration¶
- GalaxyS2I9100Pit: Galaxy SII (GT-I9100) PIT (a partition table)
Partitions¶
WARNING some content may not be the same on your device
PIT | Linux name | mount point | partition type | block device | Description |
---|---|---|---|---|---|
GANG | |||||
BOOT | |||||
EFS | EFS | /efs | ext4 | mmcblk0p1 | modem data partition |
SBL1 | |||||
SBL2 | |||||
PARAM | |||||
KERNEL | KERNEL | None | zImage | mmcblk0p5 | boot partition, See GalaxySIIGTI9100 for more details |
RECOVERY | RECOVERY | None | zImage | mmcblk0p6 | recovery partition, See GalaxySIIGTI9100 for more details |
CACHE | |||||
MODEM | |||||
FACTORYFS | FACTORYFS | /system | ext4 | mmcblk0p9 | system partition |
DATAFS | |||||
UMS | |||||
HIDDEN | |||||
USERDATA | USERDATA | /data | ext4 | mmcblk0p12 | data partition |
RECOVERY¶
The RECOVERY partition is not used by the stock bootloader.
What happens with the stock OS and old versions of Android distributions is that both the boot kernel and the recovery are in the KERNEL partition.
In practice in Replicant 6.0:- The boot.img is a zImage with an initramfs for both the recovery and the normal boot. That boot.img can be found inside the replicant-6.0 installation zip and it is installed to the KERNEL partition during the Replicant installation.
- The recovery-i9100.img boots directly into the recovery and probably doesn't have the standard boot initramfs
However as distributions like LineageOS tend to use recoveries like TWRP, it was a problem for such distributions.
So people from XDA came with a scheme called isorec which made it into LineageOS 13.
And Replicant 6.0 is based on LineageOS 13, that is probably in Replicant too, even if it's not used for the Replicant installation and recoveries.
So if the RECOVERY partition contains valid lzop-compressed data, which contains a valid cpio archive, then the image flashed in KERNEL will use that as an initramfs for the recovery.
References¶
These documents are the propriety of Samsung Electronics and are not hosted by the Replicant project.
Updated by Denis 'GNUtoo' Carikli about 5 years ago · 60 revisions