Samsung Galaxy J3 2016 (samsung-j3xnlte)

From postmarketOS Wiki
Samsung Galaxy J3 2016
Galaxy J3 with postmarketOS and weston
Galaxy J3 with postmarketOS and weston
Manufacturer Samsung
Name Galaxy J3 2016
Codename samsung-j3xnlte
Released 2016
Type handset
Hardware
Chipset Spreadtrum SC9830I
CPU 4 x 1.5 GHz Cortex-A7
GPU Mali-400 MP
Display 720 x 1280 AMOLED
Storage 8 GB
Memory 1.5 GB
Architecture armv7
Software
Original software Android (TouchWiz)
Original version 5.1.1
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.10.100
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Works
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Note Note: This page is about Spreadtrum SC9830 variants of Samsung Galaxy J3.

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

  • Alone-Wolf13785 (Notes: Currently on lineage os but wanna try pmOS)
  • Andrisas
  • Caleb (Notes: x2 Borked)
  • Kolja (Notes: I have J320F, I've tried running the J320FN version but it didn't work.)
  • LegoLivesMatter (Notes: Running LineageOS 14.1)
  • Little-miss-synth (Notes: runs lineageOS may try postmarketOS on it at some point)
  • Mtek89 (Notes: Stock Android, broken screen, mother's phone)
  • Nomz
  • Ptesarik (Notes: free to develop)
  • Shipa (Notes: doesn't load any DE)
  • Speedyes (Notes: SM-J320F, LineageOS)
  • Ster (Notes: Ported to postmarketOS)
  • UltrasonicMadness (Notes: 3×SM-J320FN, 2×SM-J320F - all but one of the FNs have varying degrees of screen burn)
  • W4trmelon (Notes: working !)
  • Zillion (Notes: J320F, Currently running dotOS)

Initial comments

Note that there are different models of the Samsung Galaxy J3. 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 button, 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. If yours is J320F it will probably be very similar to port.

Alternatively, simply remove the back cover and battery. The sticker underneath should read: MODEL: SM-J320FN.

How to enter flash mode

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

Flashing works since pmaports!4315, so the image can be installed normally.

TWRP

Firstly, download TWRP from the XDA developers page. The download is in the section labelled "Attachments".

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

Charging-related recommendation

Note Information in this section may be outdated.

Disconnect the cable when you turn the device off. The device freezes on the charging splash screen if it's not disconnected.

Mainlining

Hardware type Chip Mainline status Notes
WiFi chip Spreadtrum SC2331 N
Charging IC Silicon Mitus SM5701 N
Fuel gauge Spreadtrum SC27x3 P SC27xx driver present, maybe it can be used
GNSS Broadcom BCM47250 N
NFC NXP PN547 P PN544 driver present
Proximity sensor Capella Microsystems CM36672P N
Accelerometer Bosch BMA2xx P BMA220 driver present
Touchscreen Imagis Technology IST3038C Y IST3038C driver present
Display panel S6E8AA5X01 N
MUIC Silicon Mitus SM5504 Y Fully supported
Legend
Y Mainline driver present
P Mainline driver for (possibly) similar IC present
N Mainline driver not present at all

SoC uses a custom hardware timer, which has to be ported before mainline can be booted.

See also