Samsung Galaxy J6 Plus (samsung-j6primelte)
Appearance
| This device has been archived. This means that it no longer appears in pmbootstrap and is likely broken. It can still be selected in pmbootstrap init by typing in the vendor and codename, but you will have to build the kernel package manually. |
|
Galaxy J6+ running Weston | |
| Manufacturer | Samsung |
|---|---|
| Name | Galaxy J6+ |
| Codename | samsung-j6primelte |
| Released | 2018 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 425 (MSM8917) |
| CPU | Quad-core 1.4 GHz Cortex-A53 |
| GPU | Adreno 308 |
| Display | 720x1480 IPS |
| Storage | 32/64 GB |
| Memory | 3/4 GB |
| Architecture | armv7 |
| Software | |
Original software The software and version the device was shipped with. |
Android 8.1 |
Extended version The most recent supported version from the manufacturer. |
Android 10 |
| Nura | |
| Category | archived |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
| Device package |
|
| Kernel package |
|
| Firmware package |
|
Initial MR Initial merge request. |
pmaports!2444 |
Flashing Whether 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). |
Works
|
Battery Whether charging and battery level reporting work. |
Partial
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Broken
|
Touchscreen |
Works
|
| Multimedia | |
3D Acceleration |
Broken
|
Audio Audio playback, microphone, headset and buttons. |
Partial
|
Camera |
Untested
|
| Connectivity | |
Wi-Fi |
Partial
|
Bluetooth |
Untested
|
GPS |
Untested
|
NFC Near Field Communication |
Untested
|
| Modem | |
Calls |
Untested
|
SMS |
Untested
|
Mobile data |
Untested
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching. |
Untested
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Untested
|
Contributors
Users owning this device
- Buchstabenwurst
- Hazel609 (Notes: Cracked screen, OEM unlocked)
- Omame (Notes: SM-J610FN/DS)
- Sweptdev (Notes: model: SM-J610FN/DS)
- Usrxprd
Special boot modes
- Download Mode: With the device powered off, hold and while connecting the device to a computer with a USB cable. A warning screen will appear: click to enter Download Mode and run Heimdall commands.
How to unlock OEM
Via Android Settings
- Go to Android settings.
- Select "Developer options". If you haven't enabled developer options, then refer to the following steps:
- In Android settings, select "About phone".
- Select "Software information".
- Locate "Build number" and tap on it 7 times.
- Locate "OEM unlocking" and toggle it on (this will perform a reset, so backup any valuable data). Sometimes this option is unavailable or greyed out, but there exist methods that attempt to bring it back (various instructions to do so can be found on the web).
Other ways
If your Android system is unusable, you can try flashing the stock ROM in order to try putting a usable system back on the phone and proceeding with the instructions for unlocking via Android settings. Stock ROMs can be downloaded from various sources online. Picking the right ROM/firmware can be tricky, as they are model-specific. Even ROMs that match your model can have different bootloader versions, which must be appropriate to the "fused" version in order to work correctly[1]. Here is an example firmware version (bootloader version in bold): J610FXXU7CUF1
Some phones can be "OEM unlocked" using fastboot.
Installation
- Run
pmbootstrap init. Make sure you set the manufacturer tosamsung, and the codename toj6primelte. - Run
pmbootstrap install. - Run
pmbootstrap export. - Unlock OEM if you haven't already.
- Reboot to Download Mode using the steps above.
- If you want to install the rootfs to system, run
heimdall flash --BOOT /tmp/postmarketOS-export/boot.img --SYSTEM /tmp/postmarketOS-export/samsung-j6primelte.img. - If you want to install the rootfs to userdata instead for more disk space, run
heimdall flash --BOOT /tmp/postmarketOS-export/boot.img --USERDATA /tmp/postmarketOS-export/samsung-j6primelte.img.
- If you want to install the rootfs to system, run
Entering SSH
- Plug in your phone to your computer. It should show up as a USB RNDIS host.
- Check what the RNDIS host is registered as using the
ip linkcommand. In my case, it'senp0s20f0u3. - Run
sudo ip link set enp0s20f0u3 address 02:01:02:03:04:08, replacingenp0s20f0u3with the output from step 2. - You should be now able to SSH to your phone via
ssh user@172.16.42.1.
What doesn't work
- Hardware acceleration is broken due to no /dev/dri/, there's only /dev/fb0 (and /dev/fb1, but it's not used as the main display).
- charging-sdl doesn't work due to DirectFB crashing with:
(!) DirectFB/FBDev: Could not disable console acceleration!
--> Invalid argument
(!) DirectFB/Core: Could not initialize 'system_core' core!
- Xorg doesn't work either with a similar error:
[ 19.023] (EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument [ 19.023] (EE) FBDEV(0): mode initialization failed [ 19.023] (EE) Fatal server error: [ 19.023] (EE) AddScreen/ScreenInit failed for driver 0
- ALSA sees the audio devices but can't manage them (we need to xml2uml the mixer_paths.xml most likely)
Notes
- Wi-Fi only works with the firmware blobs.
- Audio only partially works with the firmware blobs.
- DRM MSM drivers refuse to build on the downstream kernel[2], for now requires mainlining or patching
- DRM itself builds fine, but it's not of much use without DRM MSM drivers