Samsung Galaxy J7 Prime (samsung-on7xelte)

From postmarketOS
Samsung Galaxy J7 Prime
J7 Prime running GNOME Mobile
J7 Prime running GNOME Mobile
Manufacturer Samsung
Name Galaxy J7 Prime
Codename samsung-on7xelte
Released 2016
Category testing
Pre-built images no
Original software Android
Original version 6.0.1
Extended version 8.1
Hardware
Chipset Samsung Exynos 7870 Octa
CPU Octa-core 1.6 GHz Cortex-A53
GPU Mali-T830 MP1
Display 1080 x 1920 PLS IPS
Storage 32 GB
Memory 3 GB
Architecture AArch64
Type handset
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Mainline
Broken
Battery
Works
3D Acceleration
Broken
Audio
Broken
Bluetooth
Broken
Camera
Broken
GPS
Broken
Mobile data
Broken
Internal storage
SMS
Works
Calls
Works
USB OTG
Sensors
Accelerometer
Proximity
Misc
Built-in DVB
Camera Flash
Memory Card
Haptics


Samsung Galaxy J7 Prime, also known Samsung Galaxy On Nxt and Samsung Galaxy On7 Prime, is an Exynos 7870 device released by Samsung in 2016.

Contributors

  • naproxen
  • sleirsgoevy (Mainlining efforts in a6lte)
  • th1nhhdk
  • Otus9051

Users owning this device


How to enter flash mode

When the phone is powered off, hold the Power, Home and Volume Down buttons to boot into download mode. A turquoise colored screen will appear, asking for confirmation. Press Volume Up to confirm. Your device is ready for flashing via a front-end such as Odin or Heimdall.

To boot into recovery, hold the Power, Home and Volume Down buttons.


Notice Download mode performs some checks with the provided images before flashing it for partitions except BOOT. The images generated by pmbootstrap do not pass those checks, and thus it isn't possible to flash the rootfs using download mode.


Installation

Prerequisites

Make sure your phone:

  • Has its bootloader unlocked.
  • Has a custom recovery installed (such as TWRP)

Preparation

Choose the following in the pmbootstrap init wizard:

Vendor: samsung
Device codename: on7xelte
User interface: xfce4

xfce4 is tested and works out of the box. Other UIs are not guaranteed to work.

gnome-mobile comes with wayland as its dependency. Since wayland doesn't run in downstream kernels, xorg needs to be installed.

Extra packages: xorg-server

To proceed with the installation run:

$ pmbootstrap install --android-recovery-zip

This will begin installing pmbootstrap prepare a recovery zip file. By default, the rootfs is flashed in the SYSTEM partition of the device.

In order to change the default partition (let's say, the USERDATA partition), append --recovery-install-partition=USERDATA to the above command.

After the installation process is completed, get your phone booted into recovery, and enable sideloading via adb. Then run:

$ pmbootstrap flasher --method=adb sideload

The recovery zip gets flashed to your device. Reboot to system when it's done.

See also

pmaports!4220 Initial merge request

Device package

Kernel package