Samsung Galaxy Grand Prime (samsung-fortuna)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Samsung Galaxy Grand Prime
Photo of Galaxy Grand Prime running postmarketOS
Photo of Galaxy Grand Prime running postmarketOS
Manufacturer Samsung
Name Galaxy Grand Prime
Codename samsung-fortuna, samsung-grandprimelte, samsung-gprimeltexx
Model SM-G530FZ
Released 2014
Type handset
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
Architecture aarch64
Software
Original software Android
Original version 4.4.4
Extended version 5.0.2
postmarketOS
Category testing
Pre-built images no
Mainline yes
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Broken
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Broken
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Broken
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Haptics
Barometer
Note Note: This page is about Samsung Galaxy Grand Prime based on Qualcomm Snapdragon 410 (MSM8916).
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Samsung Galaxy Grand Prime (SM-G530W)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530W)
Codename samsung-fortuna, samsung-gprimeltecan
Released 2014
Type handset
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.5 GB
Architecture aarch64
Software
Original software Android
Original version 5.1.1
postmarketOS
Category testing
Pre-built images no
Mainline yes
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Works
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Partial
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Haptics
Barometer
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Samsung Galaxy Grand Prime (SM-G530H)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530H)
Codename samsung-fortuna, samsung-fortuna3g
Released 2014
Type handset
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
Architecture aarch64
Software
Original software Android
Original version 4.4.4
Extended version 5.0.2
postmarketOS
Category testing
Pre-built images no
Mainline yes
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Partial
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Haptics
Barometer
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8909 (qcom-msm8909).
Samsung Galaxy Grand Prime (SM-G530Y)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530Y)
Codename samsung-fortunaltezt
Released 2014
Type handset
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
Architecture armv7
Software
Original software Android
Original version 4.4.4
postmarketOS
Category testing
Pre-built images no
Mainline yes
Optional Generic Port Generic MSM8909 (qcom-msm8909)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Works
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Works
USB OTG
Partial
HDMI/DP
Sensors
Accelerometer
Works
Proximity
Broken
Haptics
Barometer


Contributors

Users owning this device


Variants

Model Codename Arch. RAM
(GiB)
NFC Sensors Supported lk2nd
SM-G5306W fortunaltezn armv7[1] ? ? ? ? ?
SM-G5308W fortunaltezh
fortunaltezm
armv7[2] ? ? ? ? ?
SM-G5309W fortunaltectc armv7[3] ? ? ? ? ?
SM-G530A grandprimelteuc aarch64 ? ? ? ? ?
SM-G530AZ grandprimeltetu aarch64 ? ? ? ? ?
SM-G530BT fortuna3gdtv aarch64 ? ? k303c ? ?
SM-G530F fortunaltedx aarch64 ? s3fwrn5 k303c ? ?[4]
SM-G530FQ ? aarch64 ? ? ? ? ?
SM-G530FZ grandprimelte
gprimeltexx[5]
aarch64 1 s3fwrn5 bmc150 Y Y
SM-G530H fortuna3g
fortunave3g
aarch64 1 - k303c Y Y
SM-G530M fortunalteub aarch64 ? s3fwrn5 k303c ? ?
SM-G530P gprimeltespr aarch64 ? ? bmc150 ? ?
SM-G530R4 gprimelteusc aarch64 ? ? bmc150 ? Y
SM-G530R7 gprimelteacg aarch64 ? ? bmc150 ? ?
SM-G530T gprimeltetmo aarch64 ? ? bmc150 ? ?
SM-G530T1 gprimeltemtr aarch64 ? ? bmc150 ? ?
SM-G530W gprimeltecan aarch64 1.5 s3fwrn5[6] bmc150 Y Y
SM-G530MU/Y fortunaltezt armv7[7] 1 pn547 k2hh Y P

Architecture

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.

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

lk2nd is a secondary bootloader that provides a standard fastboot interface, which can be used to boot postmarketOS without Android boot flashed or pmbootstrap flasher flash_kernel.

  1. Download lk2nd-msm8916.img from Releases page on Github.
  2. Boot your phone to bootloader (Odin/Download) mode by holding Volume Down and Home while powering up.
  3. Follow lk2nd instructions to install lk2nd. Basically flash it to the 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[8][9].

Touchscreen

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

# modprobe -r zinitix
# modprobe zinitix
This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps

Flash LED

Currently WIP. It can be controlled with SG Micro SGM3140 charge pump LED driver[10].

GPS

No idea how to test yet.

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[11], 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

additional information

🚧 This page is a work-in-progress. Some information contained within may be inaccurate or incomplete.
In particular: Rough translation

here it is for g530fz devices:

used: twrp 1.1.1-1

lk2nd (postmarketos): 0.12.0 msm916

a/ pmos "works" (not so well) on that device

b/ unfortunately, few "bugs" "maybe related" to hardware persists, mainly in the reactivity on touchscreen when locked on inactive since a while.

c/ perf is highly to low (paradox for pmos ;-) ) to use it as a "common daily smartphone", mean: if you want to escape gafamnt, mount your server on a phone, or specific usages: it would be perfect. But dont expect it to run netflix everyday in firefox or falkon, it might freeze for "not only" a while.

d/ my documentation/software related to it: https://kdrive.infomaniak.com/app/share/471663/301b1494-25f4-4dba-9572-c6c182b2c4cd see for each link, normally a .img file. Unforunately, only 1 was able to host a gigabyte-sized, .img file.

Please note, without the following bug being not solved, that device could NOT get postmarketos installed through twrp with zip file: #1962 In addition: Don't know what is the exact issue, but I found a case, where it was fixed: #1962, sadly they didn't document how to solve it properly.

e/ im going on something else now.. if you want ungoogled/ungafamnted android, take lineageos14.1 (gprimeltexx), the fastest/best choice for that device, for common usage


Photos

See also

References