Jump to content

Galaxy J2 Prime (SM-G532M)

From postmarketOS Wiki
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
The version the device was shipped with.
6.0.1
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
pmOS kernel
The kernel version that runs on the device's port.
Running
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Internal storage
eMMC, SD cards, UFS, ...
Untested
SD card
Also includes other external storage cards
Untested
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Keyboard
Build in physical keyboard
Untested
Touchpad
Build in Touchpad
Untested
Stylus
Untested
Multimedia
3D Acceleration
Untested
Built-in DVB
TV tuner/DVB device
Untested
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Camera Flash
Untested
IR TX
Untested
IR RX
Untested
Connectivity
WiFi
Broken
Bluetooth
Broken
Ethernet
Untested
GPS
Broken
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB-A
Full-sized USB-A port works (Usually applicable to SBCs and laptops).
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Untested
HDMI/DP
Video and audio output with HDMI or Display Port works.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested
Magnetometer
Sensor to measure magnetism
Untested
Ambient Light
Untested
Proximity
Untested
Hall Effect
Also known as flip cover sensor
Untested
Haptics
Untested
Barometer
Sensor to measure air pressure
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested


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.