@mrhand - Did you have to do any specific sequence to get the device out of 900e mode apart from turn it on with the deep flash cable button held ?
I’ve been attempting to get the PMOS images booting on a Lenovo Smart Display 8 (pretty much identical device but smaller flash), and have managed to get it stuck in 900e mode after flashing the thinksmart view aboot.img.
No matter what I try I cannot get it to 9008 mode, even taken it apart and looked for test points to get it into flash mode but can’t find them.
Hmm it’s been a little while, cruising along here with the Lineage image. Best I can remember, yeah hold the button on the cable while powering it up and wait 5-10s before letting go. If you’re using Windows I think that mode needs a different driver, I used linux where you can see the USB id’s in the dmesg log. Good luck!
Thanks for the reply. I feared you might say that, as that is what I’ve been trying and it just goes to 900e every time.
I guess the smart display 8 may have that feature disabled for some reason, or I’ve totally hosed it by trying the think smarts Aboot.img
Has someone lately tried to install openwakeword/wyoming satelite? I have a fresh pmos install and I’m missing the tflite-runtime. The link to @mrhand s wheel seems broken. I tried to cross compile it by myself but I wasn’t successful yet.
Also is there any progress on creating alpine packages for it?
Has development stopped here? I got the 8.1 working on mine (& still have one unopened in box waiting for a better experience). Tried the PMOS and barely got it to boot anything worthwhile. Back to 8.1 for now…
I am taking a run at packaging @FelixKa’s work for mobile-nixos. I figure it will be helpful for deploying & updating these things. Work is happening here: Init: Lenovo ThinkSmart View by Sonicskater · Pull Request #813 · mobile-nixos/mobile-nixos · GitHub I am quite novice with the Linux Kernel and packaging applications for NixOS, but another device with this chipset is supported so I’m somewhat optimistic. Don’t have any builds to share yet though.
Sweet, thanks! Will reach out if i get stuck. Was poking around a bit, if i understand the thread correctly we are missing a driver for the Audio Amp in the upstream? The Lenovo Kernel changes link in the original post contains a pair of files that seem like drivers (
sound/soc/codecs/tas5782m.c and .h) but maybe they were tried somewhere along the line and don’t work?
Or maybe this is not the missing piece you are working on, I’m very unfamiliar with audio in linux. I’m just guessing based on the “hack” you posted earlier in the thread that seems to modify this file for another SoC to get audio working.
Indeed. The driver shipped by Lenovo works fine generally. It is mainly based on sample code that TI provides. It is pretty hacky and would not be accepted upstream without significant cleanup.
I then modified an upstream driver for a very similar Amp/DSP (the TAS5805M) to also support the TAS5782M that’s in the TSV (similar to how I extended the HX83112B touchscreen driver to also support the TSV’s HX83100A touch IC). That work should have potential to get accepted upstream, I just haven’t gotten it into a clean state yet.
Ah ok that makes sense, thanks! I have got my image onto the device, but its not booting. Not sure what the best way to debug it would be, the current setup is lk2nd flashed to boot partition, then my actual boot partition flashed next to it using flashboot flash boot boot.img, then finally system.img flashed to the userdata partition. Without boot.img flashed, the bootloader just doesn’t do anything, which makes sense i think. With boot.img flashed, it boots and the screen turns on for a fraction of a section with a blue bar on it somewhere then turns off.
The device reboots a while later, and will keep bootlooping till i unplug it. I’m guessing there is something wrong with my kernel, but not sure if there’s a nice way to debug what? I found notes about making a serial to usb cable to get the bootloader logs, not sure if there is a better way.
For anyone still tinkering. For me, the best performance Ive found on this thing is using hassmic for the wyoming satellite + newer version of HA companion app which allows you to make it the default launcher.
I think Fully Kiosk was too much of a burden on it.
I’ve used the HA companion app a while ago but found it quite heavy on resources, and switched to Wallpanel, which is both lighter on resources and also allows to be used as default launcher. Horses for courses I guess
Has anyone yet compiled a guide with the latest / best approaches to this? I’m certainly not suggesting that that’s anyone’s job or that it should exist; just checking before I wade in and try this myself …
So unfortunate that ee never got to fix the wifi issues on the device. I want to send audio to the device as replacement for doorbell for example. And turn on/off screen when presence is detected. But both are very unreliable
I want to try the postmarketos, is there perhaps a script to make that stops and starts wifi if it cannot ping the router successfully? As a bandaid for the wifi issues.
On lineageos, it loses wifi so much when screen is off, that after half a day or so, it stops receiving the commands to play a sound file or to wake the screen.
I would like to boost reliability and thats not possible with lineageos. A command to check for ping and restart wifi is not possibel while the device is locked(screen off)