{% assign device = site.data.devices[page.device] %} {%- if device.carrier %} {%- endif %} {%- if device.gpu != "None" %} {%- endif %} {%- if device.network != 'None' %} {%- endif %} {%- if device.sdcard %} {%- endif %} {%- if device.screen != 'None' %} {%- endif %} {%- if device.bluetooth %} {%- endif %} {%- if device.wifi %} {%- endif %} {%- if device.peripherals != 'None' %} {%- endif %} {%- if device.cameras and device.cameras.size > 0 %} {%- endif %} {%- if device.dimensions != 'None' %} {% endif %} {%- if device.battery != 'None' %} {%- endif %} {%- if device.maintainers != empty %} {%- endif %} {%- if device.models %} {%- endif %} {%- if device.versions.size > 1 or device.maintainers == empty %} {%- endif %}


{{ device.vendor }} {{ device.name }} ({{ device.codename }})
Released {%- if device.release.first -%} {%- for model in device.release -%} {%- assign release = model.first[1] | split: '-' -%} {{ model.first[0] }}: {% include snippets/release.html -%} {%- unless forloop.last -%}
{% endunless %} {%- endfor %} {%- else %} {% assign release = device.release | split: '-' -%} {% include snippets/release.html %} {%- endif %}
Carrier {{ device.carrier }}
Specifications
SoC {{ device.soc | join: ' / ' }}
RAM {{ device.ram }}
CPU {%- case device.cpu_cores %} {% when '1' %} Single-core {% when '2' %} Dual-core {% when '4' %} Quad-core {% when '6' %} Hexa-core {% when '8' %} Octa-core {% else %} {{ device.cpu_cores }}x {%- endcase %} {{ device.cpu }}
{{ device.cpu_freq }}
Architecture {%- if device.architecture.cpu -%} CPU: {{ device.architecture.cpu }}
Android: {{ device.architecture.userspace }} {%- else -%} {{ device.architecture }} {%- endif -%}
GPU {{ device.gpu | join: ' / ' }}
Network
    {%- for el in device.network %}
  • {{ el }}
  • {%- endfor %}
Storage {{ device.storage }}
SD card Up to {{ device.sdcard.size_max }} {%- if device.sdcard.slot %}
{%- case device.sdcard.slot %} {%- when 'sim' %} SIM slot {%- when 'hybrid' %} hybrid SIM slot {%- when 'dedicated' %} dedicated slot {%- endcase %} {%- endif %}
Screen {%- if device.screen.first.size == 1 %} {%- comment %}The size of "first" will be 1 when there is a list of models{% endcomment -%} {%- for model in device.screen %} {%- assign modelname = model.first[0] %} {%- assign screen_data = model.first[1] %} {%- include snippets/screen.html %} {%- unless forloop.last -%}

{%- endunless -%} {% endfor -%} {%- else %} {%- assign screen_data = device.screen %} {%- include snippets/screen.html %} {%- endif %}
Bluetooth {% if device.bluetooth.profiles -%} {{ device.bluetooth.spec }} with {{ device.bluetooth.profiles | join: ', ' }} {% else -%} {{ device.bluetooth.spec }} {% endif -%}
Wi-Fi {{ device.wifi }}
Peripherals {%- if device.peripherals.first.size == 1 %} {%- for model in device.peripherals %}
  • {{ model.first[0] }} {% assign peripherals = model.first[1] %} {% include snippets/peripherals.html %}
{%- endfor %} {%- else %} {%- assign peripherals = device.peripherals %} {%- include snippets/peripherals.html %} {%- endif %}
Cameras {{ device.cameras | size }}
    {%- for el in device.cameras %}
  • {{ el.info }}, {%- if el.flash != 'None' %} {{ el.flash }} {%- else %} No {%- endif %} flash
  • {%- endfor %}
Dimensions {%- if device.dimensions.first.size == 1 %} {%- comment %}The size of "first" will be 1 when there is a list of models{% endcomment -%} {%- for model in device.dimensions %} {%- assign modelname = model.first[0] %} {%- assign dimension_data = model.first[1] %} {%- include snippets/dimensions.html %} {%- unless forloop.last -%}

{%- endunless -%} {% endfor -%} {%- else %} {%- assign dimension_data = device.dimensions %} {%- include snippets/dimensions.html %} {%- endif %}
Battery {%- if device.battery.first.size == 1 -%} {%- comment %}The size of "first" will be 1 when there is a list of models{% endcomment -%} {% for model in device.battery -%} {%- assign modelname = model.first[0] %} {%- assign battery_data = model.first[1] %} {% include snippets/battery.html %} {%- unless forloop.last -%}

{%- endunless %} {% endfor -%} {%- else %} {%- assign battery_data = device.battery %} {% include snippets/battery.html %} {%- endif -%}
LineageOS info
Maintainer{% if device.maintainers.size > 1 %}s{% endif %}
    {%- for el in device.maintainers %}
  • {{ el }}
  • {%- endfor %}
Current version
  • {% assign version = device.current_branch %}{% include snippets/branch.html %}
Kernel version
  • {{ device.kernel.version }} {%- if device.kernel.repo %} (source code) {%- endif %}
Supported models
Previously supported versions
    {%- for el in device.versions %} {%- unless el == device.current_branch and device.maintainers != empty %}
  • {% assign version = el %}{% include snippets/branch.html %}
  • {%- endunless %} {%- endfor %}