Skip to content

About

LineageOS 24 mainline build for the Lenovo ThinkSmart View (lenovo-cd-18781y)

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

ThinkSmart View: mainline LineageOS

Unofficial device tree for Lenovo ThinkSmart View CD-18781Y. Standard Android repo, lunch and m; no separate build system.

Status

LineageOS 24.0 / Android 17 with msm8953-mainline Linux 7.3 develop. Boots to the Android UI with root ADB.

Hardware / feature Status
Display and backlight Working
Touchscreen and single-tap screen wake Working
GPU acceleration Working
Wi-Fi Working
Bluetooth LE scanning Working
Audio streaming and microphone capture Working
Ambient-light and proximity sensor readings Working
Accelerometer Working
Thermal sensors Working
RTC Working
Internal storage Working
Hardware AVC/H.264 and HEVC/H.265 decoding Working
Camera Working (S5KC505A)
Full system suspend Not working

OTA installation is not supported. This is an experimental userdebug build with enforcing SELinux and verified boot disabled. The inherited userdebug su and backuptool domains remain permissive.

Contents and requirements

Item Location / requirement
Device build definitions Root *.mk and Android.bp
Runtime configuration and firmware lists config/
Batteryless health HAL and device tests health/
Platform / mainline sources LineageOS lineage-24.0; exact revisions in the locked manifest
Community kernel configuration upstream/xiaomi-mainline Git submodule
Maintained codec sources drivers/tas5782m; copied with attribution and local fixes
Changes to upstream projects patches/<Android project path>/0001-description.patch
Private firmware 29 files; recorded checksums for 200628.084 and 210228.109; not distributed
Build host x86-64 Linux; dependencies in Dockerfile; budget 350 GiB free
Installation Stock GPT and working EDL setup; see FLASHING.md

Build

Follow BUILDING.md for source setup, firmware extraction, Android and lk2nd builds, wipe-image generation, and flashable-image preparation.

Installation

EDL partition writes only. lk2nd fastboot writes have reported success while incomplete. Fastboot is for identification or RAM recovery, not installation.

See FLASHING.md for initial installation, data-preserving updates, and recovery factory-reset behavior. A generic physical boot.img contains signed lk2nd in its first 512 KiB and the Android payload after it; the Android build's bare boot.img is not directly EDL-flashable.

Updates write matching boot/system/vendor images and preserve userdata, cache and OEM (/metadata). Clean installation additionally writes fresh prepared userdata/cache/metadata images, erasing user data and Android metadata. Both preserve GPT, aboot, persist and radio firmware. OTA ZIP installation is not supported.

Crash logs

Ramoops uses 1 MiB of reserved RAM to retain crash records and the kernel console across warm reboots, not cold resets or power loss. Kernel panics request a warm reboot after 10 seconds; the hardware watchdog can also reset a hung system. Collect logs after an unexpected reboot, before rebooting again:

adb root
adb wait-for-device
adb pull /sys/fs/pstore crash-pstore
adb shell dumpsys dropbox --print SYSTEM_LAST_KMSG > last-kmsg.txt
adb unroot

Android also archives the console tail in SYSTEM_LAST_KMSG. These are diagnostic logs, not a full memory dump; a hard lockup may leave only the last console messages. Keep collected logs private.

Source credits and licensing

External Android/kernel projects are synced with Android repo, not copied here. Patch mailboxes carry authorship, source references, base revisions and local adaptation notes; preserve upstream authors and signoffs when rebasing.

Material Source / licensing
TAS5782M codec Origins, contributors and local changes in drivers/tas5782m/README.md; GPL-2.0-only
Xiaomi kernel configuration android_device_xiaomi_mi89xx-mainline; pinned by the Git submodule; upstream notices apply
ath10k firmware encoder Origin and ISC license in tools/README.md and the script's original notice
libcamera and Android camera adapter Upstream libcamera, TI Android integration, and Alessandro Fontana's Android fixes; original source notices retained
Android AIDL provider and GPU build integration Raspberry Vanilla and haretic; original source notices retained
S5KC505A helper, LSC/statistics and calibration conversion Mei Tao's work distributed by rickx/ubuntu-thinksmart and jethac's Lenovo sensor-library decode; detailed provenance and limitations in the sensor patch; no proprietary-library redistribution rights asserted

Unless otherwise noted, independently authored integration code, support scripts and documentation are licensed under the Apache License, Version 2.0. Third-party code and derived modifications, including patch contents, retain their applicable upstream licenses and notices. GPL text is in LICENSES/GPL-2.0.txt. This license does not grant rights to redistribute proprietary firmware.

About

LineageOS 24 mainline build for the Lenovo ThinkSmart View (lenovo-cd-18781y)

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages