Samsung Galaxy J6 2018 (samsung-j6lte)

From postmarketOS Wiki
Samsung Galaxy J6 (2018)
Samsung Galaxy J6 2018 with Xfce4
Samsung Galaxy J6 2018 with Xfce4
Manufacturer Samsung
Name Galaxy J6 (2018)
Codename samsung-j6lte
Released 2018
Type handset
Hardware
Chipset Samsung Exynos 7870 Octa
CPU Octa-core 1.6 GHz Cortex-A53
GPU Mali-T830 MP1
Display 720/1480 OLED
Storage 32/64 GB, microSD
Memory 3/4 GB
Architecture aarch64
Software
Original software Android
Original version 8
Extended version 10
FOSS bootloader no
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
Partial
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
NFC
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
USB OTG
Broken
Sensors
Accelerometer
Broken
Magnetometer
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
Broken
Haptics
Barometer
Power Sensor


Note This is the exynos device.

Contributors

  • rmb

Users owning this device


Installation (Assuming stock FW)

  1. Unlock the bootloader if not done
  2. Flash TWRP if not done
  3. Select j6lte and Xfce4 UI with pmbootstrap init
  4. Generate the rootfs with pmbootstrap install --android-recovery-zip to install postmarketOS to the phone or pmbootstrap install --sdcard /dev/sdX --android-recovery-zip to install it on an SD card.
  5. Generate the flashable images with pmbootstrap export. They will be stored in /tmp/postmarketOS-export, or you can specify another location like this: pmbootstrap export /home/user/Downloads/pmos
  6. Reboot into recovery
  7. Go to Advanced > ADB Sideload
  8. Flash postmarketOS with pmbootstrap flasher --method=adb sideload (Remember to unmount all partitions first.)
  9. Click Reboot System and the phone should reboot straight into postmarketOS.
Note Flashing with heimdall and TWRP gets stuck, so use adb sideloading to get postmarketOS flashed.

How to enter flash mode

  • Recovery: Power on the device by holding Volume Up and Power.
  • Download: Hold Volume Up and Volume Down while plugging the device to a computer with an USB cable.
  • Hard reboot: Press and hold Volume Down and Power for 7 seconds.

Unlocking the bootloader

  1. Enable developer mode by tapping on the build number seven times in Settings → About phone → Software information
  2. Return to the main settings page and go to the developer options
  3. In developer options, enable OEM unlocking. Make sure you have an internet connection if it doesn't show up.

Flashing TWRP

  1. Download TWRP.img
  2. Download Heimdall and launch heimdall-frontend
  3. Enter download mode and head to Utilities tab
  4. Click on Detect button, output should show Device detected
  5. Download the PIT: click Save As... and save the file somewhere
  6. Click Download button and wait
  7. Output now should show PIT file download successful. If it doesn't, start from 3.
  8. With the PIT downloaded, head over to Flash tab
  9. Select your earlier downloaded PIT file and ensure Repartition is NOT checked
  10. Click Add under 'Partitions' and select RECOVERY
  11. Click Browse and select your TWRP.img file
  12. Check No reboot under 'Session' and click Start
  13. Reboot your phone to recovery

Gallery

See also

pmaports!4658 Initial merge request