LG Optimus L3 II (lg-vee3e)

From postmarketOS
LG Optimus L3 II
The device running Weston
The device running Weston
Manufacturer LG
Name Optimus L3 II
Codename lg-vee3e
Released 2013
Category testing
Pre-built images no
Original software Android
Original version 4.1.2
postmarketOS kernel 3.4.0
Hardware
Chipset Qualcomm Snapdragon S1 (MSM7225A)
CPU 1.0 GHz Cortex A5
GPU Adreno 200
Display 240x320 3.2" IPS
Storage 4 GB
Memory 512 MB
Architecture ARMv7
Unixbench Whet/Dhry score 170.3
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Partial
FDE
Mainline
Battery
Partial
3D Acceleration
Broken
Audio
Partial
Bluetooth
Broken
Camera
Broken
GPS
Mobile data
Broken
Internal storage
SMS
Broken
Calls
Broken
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

  • LegoLivesMatter

Maintainer(s)

  • LegoLivesMatter

Users owning this device


How to enter flash mode

While the device is off, hold Volume Up (for fastboot) / Volume Down (for recovery) + Home + Power until the screen turns on. When it turns on, release the power button, but keep pressing the other buttons until the device boots into fastboot (it will stay on the LG splashscreen, but will be visible with "fastboot devices") or recovery (will be obvious).

Installation

Only the boot image can be flashed using fastboot (requires flash:raw instead of flash, otherwise you will get a "Couldn't parse partition size '0x'" error), the rootfs must be flashed using an Android recovery zip.

WiFi

Firmware can be found here. It should be put in /lib/firmware/postmarketos/wlan/volans.

The steps to get it working manually are roughly:

  • Make sure network services like NetworkManager and wpa_supplicant are disabled (doesn't work with them)
  • Write 1 to /sys/devices/platform/msm_sdcc.2/polling
  • Modprobe the wlan module
  • Write 0 to /sys/devices/platform/msm_sdcc.2/polling (this might not be strictly necessary, but the Android init.rc script does that)
  • Create config for wpa_supplicant and run it
  • Run dhclient wlan0 (dhcpcd doesn't work)

The support is not packaged yet. Also, it would be nice to get it working with NetworkManager (currently it goes into a connect-disconnect loop).

Modem

Firmware has been extracted from an unofficial CM11 ROM, and the files are the following:

  • yamato_pm4.fw
  • yamato_pfp.fw

These firmware files appear to be kgsl/downstream 3D related, at least according to GNUtoo on #replicant. This entire section might be invalid.

When tested with oFono, the following worked:

  • Enabling and setting modem online
  • Detecting and configuring SIM card
  • Scanning for operators
  • Sending USSD codes (I tested the one for balance)

However, SMSes initially do seem to work, but the receiving party never gets the SMS. Judging by the balance, the SMS never got sent in the first place or it failed to send. If you successfully send an SMS, please contact me on GitLab or Matrix and make sure to include the exact procedure you used to send the SMS (including whether or not you added/removed one or more firmware files or perhaps used another modem service, such as ModemManager.

Known issues

  • Xorg triggers a lot of FBIOPUTCMAP: Invalid argument errors, reason is still unknown. Xfce crashes the system when started by LightDM, but works when started with startxfce4. MATE and Sxmo can be started by LightDM/TinyDM without any issues, except the FBIOPUTCMAP: Invalid argument spam.
  • Screen has a red tint. UPDATE 5/16/2021: fixed in pmaports!2176

See also