I have been following along and tried to do this myself. I got it working up until I did something wrong I would strongly assume.
So I got pmos running no problem. Then I tried to install docker to run Home Assistant within. (I realised in hindsight I should just have ran HA on my raspberry pi, and used the thinksmart view as the dashboard) Restarted the device and now it wont mount the root partition. I have tried countless things. Aswell as trying to flash the firmware again.
This is where it gets weird. I cant flash no matter what I try and Lenovo Rescue tool wont flash the firmware either.
Its always the same error: fails to write on sector xxxxx.
I have tried everything I could think of with no luck and couldnāt find any reference any other places. I think the device might be bricked due to my own idiocy
ANyone else having issues with bluetooth crashing errors popping up periodically? Everything works just great including gapps, but I"m getting error messages saying something like āBluetooth not respondingā which I can clack past until the next error.
Iāve disabled the bluetooth with no change in behavior.
Yes, mostly on the kernel and bootloader side though.
Himax Touchscreen driver is now merged into the kernel and is part of kernel 6.11 (currently in rc)
Focaltech Touchscreen driver is now set to accept up to 10 touchpoints
Iāve submitted the wireless patches but havenāt received any reviews from the maintainers yet. As I understand they only sporadically look at ath10k patches at this point.
lk2nd bootloader changes are now merged into the upstream lk2nd project, furthermore I extended the lk2nd build process to be able to output correctly signed binaries without needing to use magiskboot sign on them. This is one step needed to get a seamless experience when building an image for the device using pmbootstrap.
I have started documenting all the patches that went into supporting the device on the pmOS wiki page. My hope is that this will help people that are also looking to port devices to pmOS understand what areas to look at and what it entails.
So the only pieces left are:
Sound driver cleanup and sending that upstream
DTS cleanup and sending that to the msm8953-linux repo
Submitting pmOS device support packages
After that the device should have all the things required to be supported by pmOS and allow for easy building straight from the pmOS repo.
A bit further into the future, on my to do list I still have:
Extending pmbootstrap to support edl as a flashing method
Packaging wyoming-satellite and wyoming-openwakeword for Alpine Linux
Get the camera working (this requires a bit more involved reverse engineering though)
For packaging wyoming-satellite and openwakeword, are you thinking of wrapping a venv and installing as a start up service? Or what path would you propose for packaging? I could try my hand at those.
Youāll notice that, while everything builds for now, I havenāt gotten to the part where I install the binaries/scripts to the proper locations. So I havenāt gotten to the part you were asking about yet.
In general I would avoid trying to package venvs, as most distributions wouldnāt allow it. So the packages are designed to move all required dependencies into he system Python path.
Since we are wanting to get these as Alpine packages, I am assuming we want to stick with openrc over systemd? I am not certain the correct path considering the recent-ish announcement of systemd support on pmos.
I am assuming you also noticed the āinstallerā running for wyoming-satellite which we canāt use in its current form. Iāll work on writing a new installer that we can use that will generate the openrc service file(s) we need interactively (to match as best it can to the existing one, minus the auto venv install).
The only slight changes Iāve added are using gpep to install and adding a post-install script (that doesnāt work yet). Here is the branch I am on: Files Ā· origin/wyoming Ā· Cameron Mehl / aports Ā· GitLab
Good question. Iāll have to see how pmOS is going to be handling this. If that means we submit the packages to pmOS instead of Alpine thatās fine with me as well.
Yeah, I saw that the wyoming and openwakeword components arenāt really built to be run as system-wide packages/services. So a bit of manual intervention will be necessary. Iām sure the upstream devās wouldnāt mind a PR for any scripts we might add.
I have two of these units on their way to me. If I can help in any way, I am happy to do so. I am familiar with embedded Linux, but I have not done any work with PmOS so far. I have limited ability to do electronics debugging at home.
I have found on ebay ThinkSmart View devices with the model names CD-17871Y, ZA690000US, ZA690008SE. Visually all they are the same and parameters are identical in lenovo website.
Does anyone know if these devices are compatible and I can buy ZA690008SE?
Has anyone noticed any audio distortion / crackling issues. Iāve had my unit connected up to my snapcast server for audio notifications etc, however have noticed that after around 5-6s of playback the audio starts crackling before cutting out entirely. At this point no audio can be heard for an unknown amount of time. Had this on Android, and thought Iād see if pmOS had the same issue, and it does. This is what is in dmesg for pmOS:
I think I have the services built correctly and placing an init.d file. There were a couple options, I chose the āsimplerā one which will require the user modifing a file placed in /etc/conf.d and then enabling the service with openrc instead of adding dependencies and some scripting about those dependencies. After install, the user is provided a couple instructions to follow to enable their configuration.
Take a look when youāve a chance: Files Ā· origin/wyoming Ā· Cameron Mehl / aports Ā· GitLab
Thoughts?
@FelixKa Is there a repo we can clone to build your version of PMOS ourselves? Or do we just need to apply each of your patches to the upstream PMOS repo?
I just got my device (ZA690000US) and iām looking to update my device mainly for a tabletop kiosk and voice assistant with wakeword. Can anybody suggest weather I go with Android 11, pmos or LineageOS?
Also is there any central location I can follow to see updates for the android images ?