Jump to content

Galaxy J2 Prime (SM-G532M): Difference between revisions

From postmarketOS Wiki
Schlemuel (talk | contribs)
Adding a note if the person choose the gnome-mobile interface
Schlemuel (talk | contribs)
I deleted the other errors section
 
Line 124: Line 124:
====ERROR: boot partition is too small for given file. Use --skip-size-check to flash anyways.====
====ERROR: boot partition is too small for given file. Use --skip-size-check to flash anyways.====
If you get this error, try install with the xfce4, and use the <code>flash_rootfs</code> before the <code>flash_kernel</code>. After that you can install other interfaces.
If you get this error, try install with the xfce4, and use the <code>flash_rootfs</code> before the <code>flash_kernel</code>. After that you can install other interfaces.
====Other errors====
If you encounter any other errors, you can contact me in my [https://matrix.to/#/@schlemuel:matrix.org Matrix] account or browse the internet/make tests to discover. If you discover a solution, please edit this page and add it.

Latest revision as of 21:54, 6 March 2025

Samsung Galaxy J2 Prime
Photo of a Samsung Galaxy J2 Prime running PostMarketOS with the Phosh interface
Photo of a Samsung Galaxy J2 Prime running PostMarketOS with the Phosh interface
Manufacturer Samsung
Name Galaxy J2 Prime
Codename SM-G532M
Model SM-G532M
Released 2016
Type handset
Hardware
Chipset MediaTek_MT6737T
CPU 4x 1.5 GHz ARM Cortex-A53
GPU ARM Mali-T720 MP2, 600 MHz
Display 540 x 960 PLS
Storage 8/16 GB
Memory 1.5 GB
Architecture aarch64
Software
Original software Android
Original version 6.0.1
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel Running
Features
Flashing
Works
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
Broken
Screen
Works
Touchscreen
Works
Keyboard
No data
Touchpad
No data
Stylus
No data
Multimedia
3D Acceleration
No data
Built-in DVB
No data
Audio
Broken
Camera
Broken
Camera Flash
No data
IR TX
No data
IR RX
No data
Connectivity
WiFi
Broken
Bluetooth
Broken
Ethernet
No data
GPS
Broken
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
Broken
Miscellaneous
FDE
No data
USB-A
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Power Sensor
No data


Contributors

  • Schlemuel

Users owning this device


How to enter flash mode

With the cell phone turned off, hold Power+Home+Volume Down, then a menu will appear. Press Volume Up to proceed to flash mode.

Installation

Using pmbootstrap

Follow Installation/Using pmbootstrap to install pmbootstrap.

Use pmbootstrap init. When asked for the device's vendor/codename, select samsung as the vendor and grandpplte¹ as the codename. For the interface, in my few test the gnome-mobile² was the better (the posh get some display bugs), but in doubt chose xfce4 in the first time, only to see if your cell phone boot. After that is more easy to test other configurations.

After that, use pmbootstrap install. When asked for a password, preferably to write one with only numbers.

To flash the image to the device:

  • Enter flashing mode (see #How to enter flash mode)
  • Inside the flashing mode, connect the cell phone in the pc with a good cable
  • Run pmbootstrap flasher --method=heimdall-bootimg flash_kernel --no-install to flash the kernel
  • Run pmbootstrap flasher --method=heimdall-bootimg flash_rootfs to flash the system

For change only the interface: Isn't necessary to flash the kernel again, only the flash_rootfs is necessary after the first time.

Note¹: If you find grandpplte strange, it is simply because both phones are extremely similar, so the same system works on both. His page is Samsung Galaxy Grand Prime Plus (samsung-grandpplte).

Note²: When using gnome-mobile, set a 6-digit password for easy login

Problems: I was unable to conduct many tests, but the same errors likely occur on the grandpplte as well. You can check the table on the grandpplte page to get an idea of other details.

ERROR: boot partition is too small for given file. Use --skip-size-check to flash anyways.

If you get this error, try install with the xfce4, and use the flash_rootfs before the flash_kernel. After that you can install other interfaces.