Jump to content

Samsung Galaxy J1 (samsung-j13g): Difference between revisions

From postmarketOS Wiki
Ungeskriptet (talk | contribs)
See also: Update links
Nullify (talk | contribs)
Added what is currently working with small additional fixes
Line 14: Line 14:
| memory = 512 MB
| memory = 512 MB
| architecture = armv7
| architecture = armv7
| status_usbnet =
| status_usbnet = y
| status_flashing =
| status_flashing =
| status_touch =
| status_touch = y
| status_screen =
| status_screen = b
| status_wifi =
| status_wifi =
| status_xwayland =
| status_xwayland =
Line 25: Line 25:
| status_3d =
| status_3d =
| status_accel =
| status_accel =
| status_audio =
| status_audio = y
| status_bluetooth =
| status_bluetooth =
| status_camera =
| status_camera =
Line 33: Line 33:
| status_calls =
| status_calls =
| status =
| status =
| booting =
| booting = y
| pmoskernel =
| pmoskernel =
| status_otg =
| status_otg =
}}
}}
== DISCLAIMER ==
THIS ARTICLE/PAGE IS CURRENTLY "UNDER CONSTRUCTION" (BEING WORKED ON)! WHATEVER YOU SEE HERE WILL CHANGE!


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
* [[User:Nullify|Nullify]]
== Networking ==
=== Via USB ===
Commands for Target Device via SSH (Samsung Phone (SM-J100H)):
NOTE: [ipaddress] is just your phone's IPv4 Address.
<code>ip route add default via 172.16.42.2</code>
<code>echo nameserver 1.1.1.1 > /etc/resolv.conf</code>
On host machine:
<code>sudo sh -c 'sysctl net.ipv4.ip_forward=1 && iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT && iptables -A FORWARD -s [ipaddress]/24 -j ACCEPT && iptables -A POSTROUTING -t nat -j MASQUERADE -s 172.16.42.0/24 && iptables-save'</code>
== Audio ==
to check for audio drivers, type <code>aplay -l</code> 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 <code>aplay -l</code>) create or edit the following script.
open <code>~/.asoundrc</code> with the text editor of your choice and get the following into that file
pcm.!default {
    type plug
    slave {
        pcm "hw:0,0"
    }
}
ctl.!default {
    type hw
    card 0
}
== Graphics ==
Unfortunately, as of now, there is no permanent fix to the graphical side.
HOWEVER! Upon testing the FDE demo (demo of the Full Disk Encryption), the FDE is fully able to render everything from the keyboard to the menu.
The only thing we can do right now is to update the screen so that it doesnt stick to the "postmarketOS Loading..." screen.
Source of the instructions below: https://wiki.postmarketos.org/wiki/Display_manager#CanGraphical_issue
Quick Steps on how to solve the "Stuck on pmos Loading screen" issue:
while editing <code>/etc/lightdm/lightdm.conf</code>, find and turn <code>#logind-check-graphical=true"</code> into <code>logind-check-graphical=false</code> (remove '#' and replace "true" with "false") and save.
(This instruction is found in the conclusion segment of the of the link above)


== See also ==
== See also ==

Revision as of 05:46, 28 November 2022

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
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 Android 4.4.4
postmarketOS
Category testing
Pre-built images no
Features
Flashing
No data
Internal storage
No data
SD card
No data
Battery
No data
Multimedia
3D Acceleration
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


DISCLAIMER

THIS ARTICLE/PAGE IS CURRENTLY "UNDER CONSTRUCTION" (BEING WORKED ON)! WHATEVER YOU SEE HERE WILL CHANGE!

Users owning this device


Networking

Via USB

Commands for Target Device via SSH (Samsung Phone (SM-J100H)):

NOTE: [ipaddress] is just your phone's IPv4 Address.

ip route add default via 172.16.42.2

echo nameserver 1.1.1.1 > /etc/resolv.conf

On host machine: sudo sh -c 'sysctl net.ipv4.ip_forward=1 && iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT && iptables -A FORWARD -s [ipaddress]/24 -j ACCEPT && iptables -A POSTROUTING -t nat -j MASQUERADE -s 172.16.42.0/24 && iptables-save'


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 get the following into that file

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

Graphics

Unfortunately, as of now, there is no permanent fix to the graphical side. HOWEVER! Upon testing the FDE demo (demo of the Full Disk Encryption), the FDE is fully able to render everything from the keyboard to the menu. The only thing we can do right now is to update the screen so that it doesnt stick to the "postmarketOS Loading..." screen.

Source of the instructions below: https://wiki.postmarketos.org/wiki/Display_manager#CanGraphical_issue

Quick Steps on how to solve the "Stuck on pmos Loading screen" issue:

while editing /etc/lightdm/lightdm.conf, find and turn #logind-check-graphical=true" into logind-check-graphical=false (remove '#' and replace "true" with "false") and save.

(This instruction is found in the conclusion segment of the of the link above)

See also