Samsung Galaxy J3 (samsung-j3nxlte)

From postmarketOS
Jump to: navigation, search
Samsung Galaxy J3
Galaxy J3 with postmarketOS and weston
Galaxy J3 with postmarketOS and weston
Manufacturer Samsung
Name Galaxy J3
Codename samsung-j3nxlte
Released 2016
Original software Android 5.1.1 (Lollipop)
Hardware
Chipset Spreadtrum SC9830
CPU Quad-core 1.5 GHz Cortex-A7
GPU Mali-400
Display 720 x 1280 AMOLED
Storage 8 GB
Memory 1.5 GB
Architecture armv7
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG


The Samsung Galaxy J3 (2016) (also called Samsung Galaxy J3 6) is an Android smartphone which was developed by Samsung Electronics and was released on January 15, 2016.

Contributors

  • Ster Please contact me on Matrix if you are at any step of the process, either by mentioning my username @sterrss:matrix.org or simply message me directly, I'd love to hear any success, failures, difficulties. I'm not necessarily going to be able to help you, since I've still got lots to learn but it'd be nice to chat.

Users owning this device

  • Ster (Notes: Ported to postmarketOS)

Initial comments

Note that there are different models of the Samsung Galaxy J3, I had the J320FN which has codename samsung-j3nxlte. To see which one you have, if you still have the original recovery image on your device, power it off and then hold down the home buttom, power button and volume up button. See at the top of the phone's screen for the model code. If it's J320FN(string of characters) you're probably good to go. Otherwise, I'd recommend seeing the resources I've linked below such as the XDA developers thread. If yours is J320F it will probably be very similar to port.

How to enter flash mode

This is not used for flashing postmarketOS, but is used for flashing recovery partition with TWRP. See pmbootstrap#1834 for details on why I do not recommend flashing postmarketOS with Heimdall.

Hold down home button, power button and volume down button for a number of seconds. Then once a prompt appears on screen, press volume up. You are now in download mode (it will say so on the screen).

Installation

Firstly, download the TWRP from the XDA developers page for the unofficial Lineage OS port. The download is in the section labelled "Download".

Use heimdall to flash recovery.img to the recovery partition of your device:

  • Put it in download mode (see above)
  • Connect to computer
  • Run heimdall detect to see if heimdall can see it.
  • Run heimdall flash --RECOVERY recovery.img, making sure you are in the directory with recovery.img

Now see the installation guide for details. Flashing via heimdall did not work for me, so instead follow the Android Recovery Zip installation guide instructions:

Run

pmbootstrap install --android-recovery-zip

to install to android recovery zip.

Boot your phone into recovery mode: power off and hold down volume up, power and home buttons. You should see the "Team Win" logo. Select "Advanced" then "ADB Sideload". Connect your phone to your PC. Swipe to start the flash. Next run

pmbootstrap flasher --method=adb sideload

on your PC and watch as the postmarketOS ascii appears. Select reboot, and your display and touchscreen should work out of the box.

Personal recommendation

I recommend disconnecting the cable when you turn the device off. My device freezes on the charging splash screen if I don't take it out. This requires me to remove the battery to fix. In fact, I try to avoid having the battery inserted at the same time as the charging cable, excluding when the device is running postmarketOS.

I don't know if you'll have this problem.

Next Steps

I want to try to get Wifi, 3D acceleration and audio working, initially by any possible means. To do this I will begin by attempting to port Halium to the device, with the intention of getting Hybris working. Check the "See Also" section below, where I will add any links that I find useful or interesting for this. Please get in touch with me on Matrix if you can help me.

In the long run, I would want to move away from Hybris and eventually mainline, but at present this seems very unlikely, as I don't have the necessary skills nor time.

See also