Jump to content

Samsung Galaxy Grand Neo (samsung-baffinlite)/Downstream notes

From postmarketOS Wiki

This page contains some information about the Galaxy Grand Neo, taken from downstream resources.

  • There's a DTS in downstream, but it's for the baffinlite REV00 (the version that was released appears to be REV02), and as such does not apply at all.

Bootloader kernel cmdline options

Taken from TWRP 2.7.

console=ttyS2,115200n8 mem=994M cma0=0M carveout0=0M vmalloc=190M androidboot.console=ttyS2 logbuf_nocache=1 bootmode=2 ap_only_boot sec_debug.reset_reason=0x1A2B3C00 sec_debug.level=0 androidboot.debug_level=0x4f4c loglevel=0 sec_log=0x70000@0x9e900000 lpcharge=0 cordon=8e35ac7f0eb64eb53f82647be12673c8 androidboot.emmc_checksum=3 brd_ver=2 androidboot.serialno=[censored]

dt-blob in firmware

There's a dt-blob in the stock firmware. Click the Expand button to the right to preview a version decompiled with dtc.

Partitions

Click expand button to the right.

GPIO pins

  • 91 - Something related to SD card
  • 24 - Power saving for UART GPS
  • 2, 111 - related to camera
  • 9, 10, 11 - buttons:
#define GPIO_KEYS_SETTINGS { \
      { KEY_VOLUMEUP,9, 1, "VOLUMEUP", EV_KEY, 0, 64}, \
    { KEY_HOME, 10, 1, "HOME", EV_KEY, 0, 64},  \
      { KEY_VOLUMEDOWN,11, 1, "VOLUMEDOWN", EV_KEY, 0, 64}, \
}
  • 89 - irq pin for ambient sensor
  • 121, 70 - related to more buttons, possibly headset detection
  • 28, 71 - related to rfkill
  • 32, 72 - related to bluetooth(?)
  • 3, 74 - related to wifi
  • 24(?) - used by backlight
  • 113, 114, 56 - used by fsa9485 (musb switch)
  • 0 - related to konafb
  • 12, 13 - more related to camera

Unused

  • 73, 70 - Related to unused touchscreens
  • 17, 16, 90 - Related to ISDBT (television transmission protocol in certain latin countries, only used on the dtv model released in latin countries(?))
  • 92 - used for unused bma2x2 sensor
  • 22 - used by konafb on BAFFINLITE_REV00, unused since the used one is REV02 which defines it as 0