Jump to content

LG Optimus L3 II (lg-vee3e): Difference between revisions

From postmarketOS Wiki
No edit summary
m Remove red tint mention
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = LG <!-- e.g. HTC -->
| manufacturer = LG
| name = Optimus L3 II <!-- e.g. Desire -->
| name = Optimus L3 II
| codename = lg-vee3e <!-- e.g. htc-bravo -->
| codename = lg-vee3e
| image = File:Lg-e430.jpg
| image = File:Lg-e430.jpg
| imagecaption = The device running Weston
| imagecaption = The device running Weston
| releaseyear = 2013
| releaseyear = 2013
| originalsoftware = Android 4.1.2 <!-- e.g. Android 2.1 -->
| originalsoftware = Android
| chipset = Qualcomm MSM7225A Snapdragon S1 <!-- e.g. Qualcomm QSD8250 Snapdragon S1 -->
| originalversion = 4.1.2
| cpu = 1.0 GHz Cortex A5 <!-- e.g. 1.0 GHz Scorpion -->
| chipset = Qualcomm Snapdragon S1 (MSM7225A)
| gpu = Adreno 200 <!-- e.g. Adreno 200 -->
| cpu = 1.0 GHz Cortex A5
| storage = 4 GB <!-- e.g. 512 MB -->
| gpu = Adreno 200
| display = 240x320 3.2" IPS <!-- e.g. 480x800 AMOLED -->
| storage = 4 GB
| memory = 512 MB <!-- e.g. 576 MB -->
| display = 240x320 3.2" IPS
| architecture = armv7 <!-- One of these: armhf, armv7, aarch64, x86, x86_64 -->
| memory = 512 MB
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| architecture = armv7
| type = handset
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = P
| status_flashing = P
| status_touch = Y <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_touch = Y  
| status_screen = P <!-- The display is working? -->
| status_screen = Y
| status_wifi = N <!-- Wireless network works? -->
| status_wifi = P
| status_xwayland = Y <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = Y  
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde =  
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline =  
| status_battery = N <!-- Charging the battery with charging-sdl is possible -->
| status_battery = P
| status_3d = N <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = N  
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel =  
| status_audio = P <!-- Using the device's speakers/headphone jack works -->
| status_audio = P  
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = N
| status_camera = N <!-- Taking photos and videos works. -->
| status_camera = N  
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps =  
| status_mobiledata = N <!-- Connecting to the Internet via cellular network. -->
| status_mobiledata = N  
| status_sms = N <!-- Sending and receiving short messages works as intended. -->
| status_sms = N  
| status_calls = N <!-- Talking to other people over the cellular network. -->
| status_calls = N  
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status_nfc = -
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status =  
| booting = yes  


| pmoskernel = 3.4.0
| pmoskernel = 3.4.0
Line 45: Line 47:


== Maintainer(s) ==
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
* LegoLivesMatter
* LegoLivesMatter


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->


== How to enter flash mode ==
== How to enter flash mode ==
Line 60: Line 56:


== Installation ==
== Installation ==
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->
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.
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 [https://github.com/TeamVee/android_device_lge_msm7x27a-common/tree/cm-13.0/wlan/firmware here]. It should be put in <code>/lib/firmware/postmarketos/wlan/volans</code>.
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 <code>1</code> to <code>/sys/devices/platform/msm_sdcc.2/polling</code>
* Modprobe the <code>wlan</code> module
* Write <code>0</code> to <code>/sys/devices/platform/msm_sdcc.2/polling</code> (this might not be strictly necessary, but the Android init.rc script does that)
* Create config for <code>wpa_supplicant</code> and run it
* Run <code>dhclient wlan0</code> (<code>dhcpcd doesn't work</code>)
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 ==
<strike>Firmware has been extracted from an unofficial CM11 ROM, and the files are the following:
* yamato_pm4.fw
* yamato_pfp.fw
</strike> 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 <code>FBIOPUTCMAP: Invalid argument</code> errors, reason is still unknown. Xfce crashes the system when started by LightDM, but works when started with <code>startxfce4</code>. MATE and Sxmo can be started by LightDM/TinyDM without any issues, except the <code>FBIOPUTCMAP: Invalid argument</code> spam.


== See also ==
== See also ==
<!--
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{MR|CHANGEME|pmaports}} Initial merge request
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* {{Device package|DEVICE_CODENAME}}
* {{Kernel package|DEVICE_CODENAME}}
-->
* [https://www.gsmarena.com/lg_optimus_l3_ii_e430-5292.php GSMArena page]
* [https://www.gsmarena.com/lg_optimus_l3_ii_e430-5292.php GSMArena page]
* {{MR|1977|pmaports}} Initial merge request
* {{Device package|lg-vee3e}}
* {{Kernel package|lg-vee3e}}

Latest revision as of 15:21, 15 November 2024

LG Optimus L3 II
The device running Weston
The device running Weston
Manufacturer LG
Name Optimus L3 II
Codename lg-vee3e
Released 2013
Type handset
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
Software
Original software Android
Original version 4.1.2
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.4.0
Unixbench Whet/Dhry score 170.3
Features
Flashing
Partial
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Partial
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
Broken
GPS
No data
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
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


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.

See also