LG G Watch (lg-dory)

From postmarketOS
Jump to: navigation, search
LG G Watch
Manufacturer LG
Name G Watch
Codename dory
Released 2014
Original software Android Wear 1.5
Hardware
Chipset Qualcomm Snapdragon 400
CPU Quad-core 1.2 GHz Cortex-A7
GPU Adreno 305
Display 280x280 IPS LCD
Storage 4 GB
Memory 512 MB

Contributors

What works

  • ☑ Kernel compilation
  • ☑ Flash Kernel (pmbootstrap flasher flash_kernel)
  • ☑ Flash System (pmbootstrap flasher flash_system)
  • ☑ Initramfs boot
  • ☑ USB Network
  • ☑ Framebuffer graphics (Splash screens)
  • ☑ SSH Connectivity
  • ☑ Weston on framebuffer
  • ☑ Touchscreen
  • ☑ Xwayland
  • ☑ Accelerometer
  • ☐ Audio playback
  • ☐ Bluetooth

Device info

Additional info

Entering "Fastboot mode"

Turn on your watch and swipe from the top left corner (so that'd be where 11 would be on the watch) as soon as you see the LG logo.

Flash system image

It's important to remember to flash the system image to `userdata` as the system partition is not big enough for PostmarketOS.

pmbootstrap flasher flash_system --partition userdata

Accelerometer

Enable the accelerometer with echo 1 > /sys/bus/i2c/drivers/lis3dsh_acc/4-001e/enable_device

Read accelerometer measurements with evtest /dev/input/event1

Partition layout

/ # fdisk -l
Found valid GPT with protective MBR; using GPT

Disk /dev/mmcblk0: 7634944 sectors, 3728M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 24 entries
First usable sector is 34, last usable sector is 7634910

Number  Start (sector)    End (sector)  Size Name
     1            1024            3071 1024K sbl1
     2            3072            4095  512K rpm
     3            4096            5119  512K tz
     4            5120            6143  512K sdi
     5            6144            7167  512K aboot
     6            7168            9215 1024K sbl1b
     7            9216           10239  512K rpmb
     8           10240           11263  512K tzb
     9           11264           12287  512K abootb
    10           12288           16383 2048K imgdata
    11           16384           17407  512K metadata
    12           17408           50175 16.0M misc
    13           50176           82943 16.0M persist
    14           82944          127999 22.0M laf
    15          128000          173055 22.0M boot
    16          173056          218111 22.0M recovery
    17          218112          219135  512K ssd
    18          219136          220159  512K DDR
    19          220160          744447  256M system
    20          744448         1268735  256M cache
    21         1268736         7633919 3108M userdata
    22         7633920         7634910  495K grow

Links

Photos