LG Fx0 (lg-madai)
LG Fx0 running Xfce4 | |
Manufacturer | LG |
---|---|
Name | Fx0 |
Codename | lg-madai |
Model | LGL25 |
Released | 2014 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 400 (MSM8926) |
CPU | 4x ARM Cortex-A7 |
GPU | Adreno 305 |
Display | 720x1280 TFT |
Storage | 16 GB |
Memory | 1.5 GB |
Architecture | armv7 |
Software | |
Original software | Firefox OS |
Original version | 2.0 |
FOSS bootloader | no |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 3.4.0 |
Unixbench Whet/Dhry score | 890.1 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage | |
SD card | |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration | |
Audio | |
Camera | |
Camera Flash | |
Connectivity | |
WiFi |
Partial |
Bluetooth | |
GPS | |
NFC | |
Modem | |
Calls | |
SMS | |
Mobile data | |
Miscellaneous | |
FDE | |
USB OTG | |
Sensors | |
Accelerometer | |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
LG Fx0, also known as LGL25, is a smartphone manufactured by LG Electronics. Fx0 was originally available only in Japan, sold by KDDI. The hardware is similar to LG G2 mini (lg-g2m) while Firefox OS is pre-installed instead of Android.
There are two known versions of Fx0. The original, SIM-locked and non-rooted version was available from the official sales channel. Later, the SIM-free and rooted version appeared in aftermarket. The rooted (SIM-free) version is strongly recommended if you try postmarketOS on Fx0.
Contributors
- peremen
- MasanoriOgino
Users owning this device
- MasanoriOgino (Notes: 2x)
How to enter flash mode
The LG download mode is disabled by default. See the Installation section below for enabling it. |
To enter the LG download mode, unplug the device from the USB, power off, and hold Volume Up while connecting to the USB [1]. You will see the DOWNLOAD MODE
line if succeeded.
If lk2nd is installed, hold Volume Down while booting to enter fastboot mode. Note that you can enter the LG download mode even if lk2nd is installed.
Installation
You need to erase the LAF partition to enable the LG download mode. Given that there is no KDZ or TOT file for this device available, it does not make sense to keep the LAF partition for flashing.
To backup the LAF partition, you need a working su
on the device. On adb shell
:
$ su
# dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/sdcard/laf.img
# dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
Then, on the host:
$ adb pull /sdcard/laf.img
Now, you can enter the LG download mode. While it provides some fastboot commands, it is unstable and lacks important features. lk2nd provides a more stable and full-fledged fastboot implementation. Download lk2nd-msm8226.img
from the latest release of lk2nd.
We recommend to backup the boot partition before installing lk2nd.
$ # On adb shell:
$ su
# dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img
$ # On the host:
$ adb pull /sdcard/boot.img
Then, enter the LG download mode and flash lk2nd.
$ fastboot flash boot lk2nd-msm8226.img
$ fastboot reboot
You should backup the system and userdata partitions, at least.
$ fastboot fetch system system.img
$ fastboot fetch userdata userdata.img
Read and follow the general installation guide to continue installation.
Components
- UART: According to service manual UART is provided as a part of JTAG connector, unpopulated by default and only accessible after opening the case. The Pin 14 (lower right, bigger pad than others) is MSM_UART_TX, which needs to be hooked up to the RX of the UART adapter.
- Wi-Fi: Qualcomm WCNSS. Note that the LG source code archive lacks the prima driver, which is used in Firefox OS. According to
dmesg
in Firefox OS, it is version v3.2.3.172. Porting the prima driver from LineageOS kernel makes Wi-Fi work, but it seems that NetworkManager seems not like this configuration. - Display: no backlight adjustment yet, also had to change the visual to RGB565 to get a working Xfce4.
- Given the sorry quality and lower version of stock LG kernel, maybe mainlining could be worth?
See also
- Device package
- Kernel package
- Kernel source (mirrored from LG OSS Center when it was alive)