Difference between revisions of "Samsung Galaxy Grand Prime (samsung-gprime)"

From postmarketOS
Jump to navigation Jump to search
m
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Infobox device
 
{{Infobox device
 
| manufacturer = Samsung
 
| manufacturer = Samsung
| name = Galaxy Grand Prime (CAN)
+
| name = Galaxy Grand Prime
| codename = samsung-gprimeltecan
+
| codename = samsung-gprime, samsung-gprimeltecan, samsung-gprimeltexx, samsung-fortuna3g, samsung-fortunaltezt
| image = File:gprimeltecan.jpg
+
| image = File:Samsung-gprime-phosh.png
| imagecaption = Samsung Galaxy Grand Prime (CAN)
+
| imagecaption = Samsung Galaxy Grand Prime
 
| releaseyear = 2014
 
| releaseyear = 2014
| originalsoftware = Android 5.0.1
+
| originalsoftware = Android 4.4 / 5.0.2 / 5.1.1
 
| chipset = Qualcomm MSM8916 Snapdragon 410
 
| chipset = Qualcomm MSM8916 Snapdragon 410
 
| cpu = 4x 1.2 Ghz Cortex-A53
 
| cpu = 4x 1.2 Ghz Cortex-A53
Line 12: Line 12:
 
| storage = 8 GB
 
| storage = 8 GB
 
| display = 960 x 540 LCD
 
| display = 960 x 540 LCD
| memory = 1.5 GB
+
| memory = 1 GB / 1.5 GB
| architecture = aarch64
+
| architecture = armv7 / aarch64  
 
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
 
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
 
| status_usbnet = Y
 
| status_usbnet = Y
 
| status_flashing = Y
 
| status_flashing = Y
| status_touch = N
+
| status_touch = Y
| status_screen = N
+
| status_screen = Y
| status_wifi = N
+
| status_wifi = Y
| status_xwayland =  
+
| status_xwayland = Y
| status_fde =  
+
| status_fde = Y
 
| status_mainline = Y
 
| status_mainline = Y
| status_battery =  
+
| status_battery = P
| status_3d =  
+
| status_3d = Y
| status_accel =  
+
| status_accel = Y
| status_audio =  
+
| status_magnet = Y
| status_bluetooth =  
+
| status_light = -
| status_camera =  
+
| status_proximity = N
 +
| status_hall = -
 +
| status_audio = Y
 +
| status_bluetooth = Y
 +
| status_camera = N
 
| status_gps =  
 
| status_gps =  
| status_mobiledata =  
+
| status_mobiledata = Y
| status_sms =  
+
| status_sms = Y
| status_calls =  
+
| status_calls = Y
 +
| status_otg = P
 +
| status_nfc = Y
 
| status =  
 
| status =  
 
| booting = yes
 
| booting = yes
| pmoskernel = Mainline
+
| whet_dhry = 904.7
}}
+
}}{{Based on SoC|Qualcomm_Snapdragon_410/412_(MSM8916)|Snapdragon 410}}
 +
 
 +
{{note|'''Note:''' This page is about Samsung Galaxy Grand Prime based on '''Qualcomm MSM8916'''.</br>
 +
For Marvell PXA1908 variants, see [[Samsung_Galaxy_Grand_Prime_(samsung-grandprimevelte)|Galaxy Grand Prime Value Edition]]</br>
 +
For MediaTek MT6737T variants, see [[Samsung_Galaxy_Grand_Prime_Plus_(samsung-grandpplte)|Galaxy Grand Prime Plus / J2 Prime]].}}
  
 
== Contributors ==
 
== Contributors ==
* WTechNinja
+
* ''[[user:WTechNinja|WTechNinja]]''
* ''[[user:Minecrell|minecrell]]''
+
* ''[[user:Minecrell|minecrell]]'' (Helped with things here and there)
  
 
== Users owning this device ==
 
== Users owning this device ==
Line 53: Line 63:
  
 
== Installation ==
 
== Installation ==
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd] (alternative bootloader that provides a standard fastboot interface)
+
{{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.}}
# Follow the [[Installation guide]]
+
{{lk2nd|samsung=true|target=msm8916}}
 +
 
 +
== Touchscreen ==
 +
Sometimes the touchscreen stops working after idling for hours. To fix it, do:
 +
<source lang="shell-session">
 +
# modprobe -r zinitix
 +
# modprobe zinitix
 +
</source>
 +
 
 +
== Battery ==
 +
<code>rt5033</code> charger driver is not available, so the charging is not controlled and there is no charging status reporting.
 +
 
 +
== USB OTG ==
 +
Another <code>rt5033</code> charger driver issue. Grand Prime is currently unable to power up a usb device in mainline. Try a hub with external power supply.
 +
 
 +
== Accelerometer ==
 +
<code>gprime</code> variants use <code>bma</code>, and <code>fortuna</code> variants use <code>k2hh</code> or <code>k303c</code>.
 +
<code>k2hh</code> accelerometer is not so stable for auto screen rotation, which suggests you to use fixed portrait or landscape mode.
 +
 
 +
== Proximity Sensor ==
 +
No interrupts received from <code>gp2ap002s00f</code> sensor.
 +
 
 +
== Photos ==
 +
<gallery>
 +
File:Samsung-gprimeltecan.png
 +
</gallery>
  
 
== See also ==
 
== See also ==
 
* {{MR|1401|pmaports}} Initial merge request
 
* {{MR|1401|pmaports}} Initial merge request

Revision as of 19:00, 13 May 2022

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 MSM8916 Snapdragon 410
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
Works
Sensors
Accelerometer
Works
Magnetometer
Works
Ambient Light
Unavailable
Proximity
Broken
Hall Effect
Unavailable
Misc
Ir TX
TrustZone


This device is based on 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 Galaxy Grand Prime Value Edition

For MediaTek MT6737T variants, see Galaxy Grand Prime Plus / J2 Prime.

Contributors

Users owning this device


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.

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.

Touchscreen

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

# modprobe -r zinitix
# modprobe zinitix

Battery

rt5033 charger driver is not available, so the charging is not controlled and there is no charging status reporting.

USB OTG

Another rt5033 charger driver issue. Grand Prime is currently unable to power up a usb device in mainline. Try a hub with external power supply.

Accelerometer

gprime variants use bma, 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.

Proximity Sensor

No interrupts received from gp2ap002s00f sensor.

Photos

See also