Jump to content

General Mobile GM 5 Plus (gm-shamrock)

From Nura Wiki
General Mobile GM 5 Plus
File:gm-shamrock.png
Manufacturer General Mobile
Name GM 5 Plus
Codename gm-shamrock
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 617 (MSM8952)
CPU 4x 1.5 GHz ARM Cortex-A53
4x 1.2 GHz ARM Cortex-A53
GPU Adreno 405
Display 1080 x 1920 IPS
Storage 32 GB
Memory 3 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 6.0.1
Extended version
The most recent supported version from the manufacturer.
Android 7
Nura
Category testing
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.
yes
Nura kernel
The kernel version that runs on the device's port.
7.1.3
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
0.0
Features
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).
Partial
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Untested
Battery
Whether charging and battery level reporting work.
Partial
Screen
Whether the display works; ideally with sleep mode and brightness control.
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Partial
Camera Flash
Works
Connectivity
Wi-Fi
Broken
Bluetooth
Broken
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
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Broken
Haptics
Broken
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested

Contributors

Users owning this device

How to enter flash mode

After phone vibrates because of startup. Phone will try to boot normally. After first vibration, Press Volume Down to enter lk2nd.

Note Note: Pressing the key too early may cause the stock bootloader to handle the key combination, leading to the wrong mode.
Note Note: Pressing the key too late may cause boot to not handle combination.

Installation

Using pmbootstrap

Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select General Mobile as the vendor and shamrock as the codename.

Follow Lk2nd/lk1st#Usage. Device is merged upstream(#641) and released on 22.0. do this steps to flash lk2nd:

  • Download 22.0 (or newer)
  • Run fastboot boot lk2nd.img to boot lk2nd
  • Phone will boot into lk2nd
  • Run fastboot flash lk2nd lk2nd.img to flash lk2nd

Device is not tested with lk1st.

To flash the image to the device:

  • Enter lk2nd flashing mode (see #How to enter flash mode)
  • Run pmbootstrap flasher flash_kernel to flash the kernel
  • Run pmbootstrap flasher flash_rootfs

Mainline Kernel

Note Note: No tsens (thermal sensor) driver currently exists in mainline. Using the phone under heavy load for extended periods might cause hardware damage.

Mainline is not merged to any upstream currently.

CPU

Mainline doesn't fully support all CPU features and states, causing battery to drain a lot faster.

USB

USB connection works with dummy extcon. If you disconnect USB probably you will never connect it again unless you reboot your device.

Display

Display works. Touchscreen works. GPU boots fine.

Charging

Battery slowly charges without supported charger (At least from what battery reports), device depends on smb1351 which is not mainlined.

Storage

Works, Didn't encountered an error yet.

Battery

Battery reports correct percentage.

WIFI/Bluetooth

Remote processor errors when kernel tries to enable it.

Audio

Audio system looks like working internally, just not wired up yet.

Camera

Back Camera (imx258) works with qcam. Front and back camera flashes work fine. Mainline doesn't support Front Camera hardware.

Modem

Modem successfully boots and can be used with mmcli. Not tested for sim functionalities.

See also

lk2nd pr for support

Firmware File Repo

Downstream Kernel Repo

Downstream Package Files

Mainline Package Files

Mainline Kernel Repo