Samsung Galaxy Grand Prime (samsung-fortuna)

From postmarketOS
(Redirected from Samsung-fortuna3g)
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
Category testing
Pre-built images no
Original software Android
Original version 4.4.4
Extended version 5.0.2
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
Type handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Works
Mainline
Works
Battery
Broken
3D Acceleration
Works
Audio
Works
Bluetooth
Works
Camera
Broken
GPS
Mobile data
Works
Internal storage
SMS
Works
Calls
Works
USB OTG
Broken
NFC
Broken
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
Note Note: This page is about Samsung Galaxy Grand Prime based on Qualcomm Snapdragon 410 (MSM8916).
Samsung Galaxy Grand Prime (SM-G530W)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530W)
Codename samsung-fortuna, samsung-gprimeltecan
Released 2014
Category testing
Pre-built images no
Original software Android
Original version 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.5 GB
Architecture AArch64
Type handset
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
Internal storage
SMS
Works
Calls
Works
USB OTG
Partial
NFC
Works
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Samsung Galaxy Grand Prime (SM-G530H)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530H)
Codename samsung-fortuna, samsung-fortuna3g
Released 2014
Category testing
Pre-built images no
Original software Android
Original version 4.4.4
Extended version 5.0.2
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
Type handset
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
Internal storage
SMS
Works
Calls
Works
USB OTG
Partial
Sensors
Accelerometer
Works
Magnetometer
Works
Proximity
Broken
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Samsung Galaxy Grand Prime (SM-G530Y)
Manufacturer Samsung
Name Galaxy Grand Prime (SM-G530Y)
Codename samsung-fortunaltezt
Released 2014
Category testing
Pre-built images no
Original software Android
Original version 4.4.4
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
Type handset
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
Internal storage
SMS
Works
Calls
Works
USB OTG
Partial
NFC
Works
Sensors
Accelerometer
Works
Proximity
Broken
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

Users owning this device


Variants

Model Codename Architecture RAM(GiB) NFC Sensors Supported lk2nd
SM-G530BT fortuna3gdtv aarch64 ? ? k303c ? ?
SM-G530F fortunaltedx aarch64 ? s3fwrn5 k303c ? ?[1]
SM-G530FZ grandprimelte
gprimeltexx[2]
aarch64 1 s3fwrn5 bmc150 Y Y
SM-G530H fortuna3g aarch64 1 - k303c Y Y
SM-G530M fortunalteub aarch64 ? s3fwrn5 k303c ? ?
SM-G530W gprimeltecan aarch64 1.5 s3fwrn5[3] bmc150 Y Y
SM-G530MU/Y fortunaltezt armv7[4] 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[5][6].

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[7].

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

roll back to androstock/lineageos?

Icon TODO: Off-topic. Please create user pages and move it.

for G530FZ:

used: twrp 1.1.1-1

lk2nd (postmarketos): 0.12.0 msm916

android stock

download mode

simply use odin with a tar ROM

lineageos

download mode

use heimdall or odin to flash the twrp used: twrp 1.1.1-1

twrp/recovery mode

use twrp to flash the lineageos zip file (install button) I really advise you to use lineageos14.1 (andro7) for better compatibility/performance

well tested:

lineage 14.1, but you *might* have to odin it, regarding this:

Hi guys

regarding the G530fz to solve the problem I had to be oriented to Lineage 14. Why the cell data was not detected? I don't know, but I discovered a way to fix it: I was used before to install Lineage by just injecting the image file into the phone, then format the /data partition by simple wipe. And for others phone, it was working. Looks like on samsung models, it's requiring steps differently:

1/ use odin to reinstall stock firmware regarding all four files: BL, AP, CP, CSC. In the downloaded archive of the stock firmware, all files matchs with those option with odin. It's necessary to add these four files. Flash it

2/ The phone will start. After finished, you can restart it, but in download mode.

3/ then use again odin, but flash it with only three files, excluding AP. Replace BL by the twrp bootloader.

4/ If at reboot, it's stuck on a recovery start, even without pushing the vol buttons, reflash it again with only BL.

5/ proceed normally to install lineage: download correct image plus arm (it's arm32 if Im right) pico or nano opengapps, copy them to the phone by usb, flash it then wipe /data.

6/ it should work.

If not, I remember I had to firstly flash by stock factory with all four files of stock archive, then only three including twrp instead of factory BL, then only BL if it's booting in loop into recovery instead normal mode.

Normally, it should, with lienage, detect sim cards. If you just flash it with twrp by BL/odin, twrp will be installed, lineage can be installed too, but GSM/3G/LTE modules might never work (in my case, it happened like it)

Photos

See also

References