Firmware Model#
- class samloader3.firmware.FirmwareInfo(version: str, entries: Dict[str, str | None])[source]#
Represents information about firmware.
- property binary_byte_size: int#
Size of the binary in bytes.
- property binary_name: str#
Name of the binary.
- property binary_nature: BinaryNature#
Nature of the binary (
BinaryNature
).
- property current_os_version: str#
Current operating system version.
- property description: str#
Description of the firmware.
- property encryption_type: EncryptionType#
The encryption type of this firmware
- entries: Dict[str, str | None]#
A dictionary containing various firmware entries.
- property local_code: str#
Local code associated with the firmware.
- property logic_value_factory: str#
Logic value for a factory binary.
- property logic_value_home: str#
Logic value for a home binary.
- property model_name: str#
Model name associated with the firmware.
- property model_path: str#
Model path associated with the firmware.
- version: str#
The version of the firmware.
- class samloader3.firmware.FirmwareSpec(version: str, android_version: str | None = None, file_size: int | None = 0, rcount: int | None = 0)[source]#
Represents specifications for firmware.
- android_version: str | None = None#
Optional Android version associated with the firmware.
- file_size: int | None = 0#
Optional file size of the firmware.
- property normalized_version: str#
Get the normalized version format.
- rcount: int | None = 0#
Optional revision count. (maybe)
- version: str#
The version of the firmware.
- class samloader3.firmware.VersionInfo(model: str, local_code: str, latest: ~samloader3.firmware.FirmwareSpec | None = None, upgrade: ~typing.List[~samloader3.firmware.FirmwareSpec] = <factory>)[source]#
Represents version information.
- latest: FirmwareSpec | None = None#
latest firmware specification.
- local_code: str#
Local code associated with the version information.
- model: str#
Model associated with the version information.
- upgrade: List[FirmwareSpec]#
List of firmware specifications for upgrades.