Jump to content

Samsung Galaxy Young 2 (samsung-young23g)

From Nura Wiki
Samsung Galaxy Young 2
Samsung Galaxy Young 2 running Linux.
Samsung Galaxy Young 2 running Linux.
Manufacturer Samsung
Name Galaxy Young 2
Codename samsung-young23g
Model SM-G130HN
Released 2014
Type handset
Hardware
Chipset Spreadtrum SC6815A
SC7715
CPU 1x ARM Cortex-A7
GPU ARM Mali-400 / Mali-400 MP1
Display 320x480 TFT, 3.5"
Storage 4 GB
Memory 512 MB
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.4.2 KitKat
Extended version
The most recent supported version from the manufacturer.
Android
FOSS bootloader no
Nura
Category downstream
Pre-built images
Whether pre-built images are available from the Nura Installation page.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Nura kernel
The kernel version that runs on the device's port.
3.10.17
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Partial
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Untested
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Works
Camera
Partial
Connectivity
Wi-Fi
Works
Bluetooth
Works
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.
Works
Haptics
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Works

The Samsung Galaxy Young 2 is an Android smartphone released in 2014. This page documents the postmarketOS port for the SM-G130HN variant.

The device can boot a complete postmarketOS install and currently runs an XFCE graphical environment. USB networking, SSH, Wi-Fi, touchscreen input and several other hardware components are usable.

Source repository:

Contributors

Users owning this device

  • Clygro (Notes: Was working, but it seems to need to be reflashed)
  • Hemisputnik (Notes: Runs stock. This thing barely runs Android, it could be fun to try to mainline it.)
  • Ka33 (Notes: Stock)
  • Ka33 (Notes: Stock, unbricked)

What works

  • Booting postmarketOS
  • Automatic GUI interface (XORG, XFCE) on boot + on-screen keyboard
  • Touchscreen input
  • USB RNDIS networking
  • SSH over USB
  • SSH over Wi-Fi
  • Internet access over USB networking
  • Wi-Fi
  • Battery level and voltage reporting
  • Power button, volume up/down and home button, back & recent apps button
  • Accelerometer
  • Reboot and shutdown from xfce
  • Bluetooth
  • Audio + Microphone

Partially working

  • Camera
Real colour images and continuous frames are available, but preview speed, orientation, image processing and integration into a normal camera application still need work.

Not working

  • microSD card support
  • SMS, calling, sim cards
  • Mali-400 3D acceleration
  • GPS
  • NFC

Installation

My GitHub repository contains the device package, downstream kernel package, helper scripts and installation information.

https://github.com/integersys/postmarketos-young2

The typical installation process is:

  1. Flash TWRP using Odin while the device is in Download Mode.
  2. Boot directly into TWRP.
  3. Write the root filesystem image to mmcblk0p18.
  4. Write the Linux boot image to mmcblk0p11.
  5. Reboot.
  6. Connect through USB RNDIS or Wi-Fi and SSH into the running system.

How to enter flash mode

Power off the device.

Press and hold Home + Volume Down + Power until the Download Mode confirmation screen appears.

Press Volume Up to confirm.

See also