Jump to content

Samsung Galaxy J1 (samsung-j13g)

From Nura Wiki
🚧 This page is a work-in-progress. Some information contained within may be inaccurate or incomplete.
Samsung Galaxy J1
Samsung Galaxy J1 on stock ROM with Device Info HW app open
Samsung Galaxy J1 on stock ROM with Device Info HW app open
Manufacturer Samsung
Name Galaxy J1
Codename samsung-j13g
Released 2015
Type handset
Hardware
Chipset Spreadtrum SC7727S
CPU 2x 1.2GHz ARM Cortex-A7
GPU Mali-400
Display 480x800 TFT
Storage 4 GB
Memory 512 MB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.4.4
Extended version
The most recent supported version from the manufacturer.
Android
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Untested
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.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Broken
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Untested
Connectivity
Wi-Fi
Untested
Bluetooth
Untested
GPS
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

Users owning this device

Networking

Follow the USB Internet article to connect your phone to the Internet via USB.

Audio

To check for audio drivers, type aplay -l and you should get something like the following:

   **** List of PLAYBACK Hardware Devices ****
   card 0: sprdphone [sprdphone], device 0: HiFi sprd-codec-i2s-0 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 0: sprdphone [sprdphone], device 1: Voice sprd-codec-vaudio-1 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 0: sprdphone [sprdphone], device 4: Dfm sprd-codec-fm-4 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: alli2s [all-i2s], device 0: i2s.0 null-codec-dai-0 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: alli2s [all-i2s], device 1: i2s.1 null-codec-dai-1 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: alli2s [all-i2s], device 2: i2s.2 null-codec-dai-2 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 1: alli2s [all-i2s], device 3: i2s.3 null-codec-dai-3 []
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 2: VIRTUALAUDIOW [VIRTUAL AUDIO W], device 0: SAUDIO PCM [SAUDIO PCM]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
   card 3: saudiovoip [saudiovoip], device 0: SAUDIO PCM [SAUDIO PCM]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

To get the audio working (refer to the output from aplay -l) create or edit the following script.

Open ~/.asoundrc with the text editor of your choice and append the following:

pcm.!default {
    type plug
    slave {
        pcm "hw:0,0"
    }
}
ctl.!default {
    type hw
    card 0
}

Desktop Environments

DE constantly crashing

If your screen goes off "Nura Loading..." screen and stays blank or if your Desktop Manager and/or Desktop Environment keeps crashing or if your DE fails to launch or continue to run properly, make sure to take a look at the way your Framebuffer manages the colors as the first successfully ported device has been found with the Red and Blue colors swapped.

This is due to the buffer using SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_ABGR888 instead of the correct format of SPRDFB_IN_DATA_TYPE SPRD_IN_DATA_TYPE_BGR565 within the /drivers/video/sprdfb/sprdfb_main.c file. The patch file for this should already be existant within the installation package (that is currently soon to be) attached. If the patch (usually named sprdfb-fix-swapped-colors.patch) is not found or is non-existant, do consider taking a look at other linux-samsung-j folders such as the linux-samsung-j1mini3g (where the swapped framebuffer colors patch came from).

DE not loading

When using a Desktop Environment, make sure what Desktop Manager is the Desktop Environment using. As it will be crucial to be able to force CanGraphical to Yes or to a positive state/value by uncommenting and setting the logind-check-graphical value to false (which skips the graphical checking, forcing the DM to start-up regardless, forcing the DE to boot-up).

Note Each desktop manager has its own config file location. For instance, LightDM's configuration file is in /etc/lightdm/lightdm.conf.

See also