Samsung Galaxy Grand Prime (samsung-gprime)

From postmarketOS
Jump to navigation Jump to search
Samsung Galaxy Grand Prime
Samsung Galaxy Grand Prime
Samsung Galaxy Grand Prime
Manufacturer Samsung
Name Galaxy Grand Prime
Codename samsung-gprime, samsung-gprimeltecan, samsung-gprimeltexx, samsung-fortuna3g, samsung-fortunaltezt
Released 2014
Category testing
Original software Android 4.4 / 5.0.2 / 5.1.1
Hardware
Chipset Qualcomm Snapdragon 410 (MSM8916)
CPU 4x 1.2 Ghz Cortex-A53
GPU Adreno 306
Display 960 x 540 LCD
Storage 8 GB
Memory 1 GB / 1.5 GB
Architecture armv7 / aarch64
Unixbench Whet/Dhry score 904.7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Works
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Works
Bluetooth
Works
Camera
Broken
GPS
Mobile data
Works
SMS
Works
Calls
Works
USB OTG
Partial
NFC
Partial
Sensors
Accelerometer
Works
Magnetometer
Works
Ambient Light
Unavailable
Proximity
Broken
Hall Effect
Unavailable
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
TrustZone
FOSS bootloader


This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps
Note Note: This page is about Samsung Galaxy Grand Prime based on Qualcomm MSM8916.

For Marvell PXA1908 variants, see Grand Prime Value Edition (samsung-grandprimevelte)

For MediaTek MT6737T variants, see Grand Prime Plus / J2 Prime (samsung-grandpplte).

Contributors

Users owning this device


Variants

Model Codename Architecture RAM(GiB) NFC Sensors Supported lk2nd
SM-G530F fortunaltedx aarch64 ? s3fwrn5 k303c ? ?
SM-G530FZ gprimeltexx[1]/grandprimelte aarch64 1 s3fwrn5 bmc150 Y Y
SM-G530H fortuna3g aarch64 1 - k303c Y Y
SM-G530W gprimeltecan aarch64 1.5 s3fwrn5[2] bmc150 Y Y
SM-G530MU/Y fortunaltezt armv7[3] 1 pn547 k2hh Y P

How to enter flash mode

Press Volume Down, Power, and Home all at the same time to boot to Odin mode. After lk2nd is installed, press Volume Down and Power at the same time.

Installation

Note Note: Even though MSM8916 is capable of aarch64, the firmware of some variants were never updated with aarch64 support. Therefore, those devices can only boot mainline on armv7 at the moment.
Note Note: For SM-G530FZ (and maybe other variants), make sure you are on a recent firmware version that can boot aarch64 kernels. If lk2nd says ARM64 - unavailable or you're unsure, flash the latest (Android 5) stock firmware with Odin or Heimdall.

lk2nd is a secondary bootloader that provides a standard fastboot interface.

  1. Download lk2nd-msm8916.img from Releases page on Github.
  2. Boot your phone to bootloader (download) mode by holding Volume Down and Home while powering up.
  3. Follow lk2nd instructions to install lk2nd. Basically flash it to boot partition (heimdall flash --BOOT lk2nd-msm8916.img)
  4. Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation to install postmarketOS.
Note Note: Enter lk2nd fastboot mode by pressing only Volume Down + Power (without Home). Pressing Home additionally will bring you to the Samsung Download mode.

Panel

There are 3 panel variants supported, and lk2nd is required to enable the panel[4][5].

Touchscreen

Sometimes the touchscreen stops working after idling for hours. To fix it, do:

# modprobe -r zinitix
# modprobe zinitix

Charging

rt5033-charger driver is not available, so the charging is not controlled and there is no charging status reporting. There is also a forgotten patch[6], Jakko is looking into this.

USB OTG

Another rt5033-charger driver issue. It's currently unable to power up a usb device in mainline. Try a hub with external power supply.

Proximity Sensor

No interrupts received from gp2ap002s00f sensor.

Accelerometer

gprime variants use bmc150, and fortuna variants use k2hh or k303c. k2hh accelerometer is not so stable for auto screen rotation, which suggests you to use fixed portrait or landscape mode.

NFC

There are 2 variants of NFC chips, s3fwrn5 and pn547. 3G variant fortuna3g has no NFC chip.

gprimeltexx is currently using gprimeltecan device tree[7], which results in broken NFC. This can be easily fixed if anyone feels like to add a dedicated device tree and test it.

Troubleshooting

Please note for some models e.g. G530FZ. Some bugs has been discovered.

See How to report issues

  • Forever black screen even if phone is powered on, after few hours of uptime pmbootstrap#2134

See Qualcomm Snapdragon 410/412 (MSM8916)#Suspend

  • Internet access makes it freeze for a certain time

pmbootstrap#2134#note_996647105

  • A white error message could appear on a blackscreen on phosh and plasma

pmaports#1592

See How to report issues#Issues with apps or interfaces/shells

Photos

See also

References