adb push extras/wallpaper.png /sdcard/Download/
Download not Downloads
adb push extras/wallpaper.png /sdcard/Download/
Download not Downloads
I wonder if thereād be a way to containerize some or all of this. Like, I have no idea how thatād work on Windows or MacOS (since I only used MacOS for 2 months, 3 years ago, and itās been 10+ years for Windows, and containers are a hacked together mess on both of those platforms). However, a highly privileged container on Linux (in the hostās net, ipc, and pid namespaces) seems like it should work, and it might reduce the number of requests for help youāre receiving. Itād just remove all of the ambiguity about file paths and merging the install of edl with your stuff. Someone else who knows more about the other platforms could then try to port the Linux solution over.
It all seems easy except for the udev rules that edl
installs when it tells you to sudo python3 setup.py install
. I really wouldnāt want the container to install udev rules, but I also feel like there must be other containerized things that have solved this problem. Iāll have to ponder on it.
EDIT: wow, thatās one crazy udev rule! The other rule is much more tame. I wonder if it could be modified to only evaluate when the container is running.
Not necessarily specific to this device, but posting it here as my specific use-case would be on this device: has anyone been able to utilize the speaker as a media player? I havenāt actually played any media on it locally, but I assume itās a decent speaker (based on its original intended purpose). Iām thinking like a Google Home Mini quality level - good enough for notifications, listening to podcasts or background music. Ideal would be able to have it recognized as a Google Cast device for grouping with other speakers (I have a ton of CC audios in my house), but as long as it allowed casting from apps (and was visible to HA as a media player) itād be perfectly acceptable.
Iāve done some general searching and tried out some apps, but everything Iāve found either seems sketchy, doesnāt work for DRM content or just doesnāt work at all. It also seems like most if not all of them would interrupt the use of the screen as a HA dashboard too.
What about using vlc or mod mpd or squeeze player on the device?
Maybe Iām wrong, but I couldnāt see how to do this on an Android device; seemed the app doesnāt have that functionality versus a desktop install.
I havenāt found a reason to buy and use browser mod yet (yet to find something the native HA app doesnāt do just fine), but if this is it I donāt mind doing so. Just donāt want to go down that rabbit hole if it wonāt do what I want.
Also SEEMED like squeeze player might work, but itās also not free and wasnāt 100% sure it would do what Iām after.
And then thereās also the question of whether a given solution will actually work on this device. Itās running such an old version of Androidā¦ Just figured surely someone else has already done this?
Edit: I was confusing/combining browser mod and fully kiosk in my head. Theyāre both things everyone seems to use but Iāve never found the need. Seems like browser mod might be the most straightforward, assuming it works on this?
Oops mpd not mod ā¦
I paid for https://play.google.com/store/apps/details?id=de.bluegaspode.squeezeplayer years ago, and my one payment runs it on many android devices. When i get the lenovo device iāll test it for you.
So do you have to also have a server setup or does that work by itself? Also, can you for instance cast Spotify to it or is it local media only?
Completely unrelated, but I decided to cover up the ThinkSmart logo to better match my decor.
Confirmed. First post updated.
This seems to make things work regardless of the state of userdata partition. Installing the ROM should go much smoother for everyone now.
Thanks to @Badabinski for figuring this out.
I everything about that pic!
I havenāt used it much outside of just streaming audio from YouTube music. I will say that for such little device, it has pretty big sound. The speakers are rated for 10w and the chassis acts as an enclosure, so it can bump as good or better than your average portable BT speaker.
Would be awesome to see the community do something cool with audio on this device. If thereās a community that can do it, itās us!
Interesting. I tried playing some music from my HA server via the app and it didnāt work. It kind of acted like it was playing, but no sound and the track/song position just stayed at 0 instead of progressing. I wonder if some additional service is required?
Havenāt tried to stream anything to the device as an endpoint.
Anything using local audio has worked flawlessly for me. YouTube, games, music, even streams played through system webview.
Maybe the ha app needs some permission from android? Or maybe move it from a user to system app?
I had the same issue when trying to play a media file from HA, i also couldnāt get any audio when playing a Youtube video from a browser. On a whim installed Spotify and it worked like a charm, I plan on using this on my desk as a sort of heads up display and the ability to control Spotify through my HA dashboard on this device is a huge bonus
Maybe it is a webview issue. Iāll look into it.
What browser were you using?
Unzip the rom to a usb stick
Boot the edl live distro
Plug the usb stick
Read my post about paths.
Iām sure you can make it work.
@cladkins can you post your syslog while attempting to stream to the ha app?
On your host, run:
adb logcat
Then try streaming to the client, try a few times, even if it fails.
Look for a pattern in the log output, then post any relevant lines here
You might find it more convenient to access adb over tcp:
adb shell setprop persist.adb.tcp.port 5555
adb connect x.x.x.x
Iām running into some issues - mostly because I am very unfamiliar with compiling anything myself. I run Windows, and tried to follow the instructions listed in the EDL Repo but I have no idea how to install / compile EDL. I was able to install Git and Python. I was able to clone the repo and the submodules. But I donāt know what to do next. I tried installing UsbDkController but the installers runs and then nothing happens
(so I donāt know if it installed or not) and then I also donāt know what to do with the uncompiled EDL that I have in a folder. Any chance someone can create a step by step for the steps under Prerequisites? Thank you!
It took me all evening but I finally got the edl install process to work on Windows 11. @mattmon your instructions on your github repo and files on Google Drive differ a little from those in this post FYI.
From here. While you can probably do this entire process with command prompt, I did so using git bash.
Android
(given that you do not have another generic Android device plugged in).libusb-win32
and then click Replace Driver
.Iām not sure why it hasnāt been fixed given that thereās a closed bug that describes this as the fix, but the copy of libusb-1.0.dll that comes with edl doesnāt work on my machine.
libusb-1.0.26\VS2015\MS64\dll
and copy libusb-1.0.dll
.libusb-1.0.dll
at edl\edlclient\Windows
, overwriting the copy that came with edl.Iām not sure why, but edl on Windows running in bash expects bin\rawprogram.xml
to also appear in the flash folder. Just copy (not cut) this folder to the flash folder.
And right as I was getting ready to transfer my fully kiosk license to this device the screen died. I can still connect via adb and take screenshots that show the home screen my HA dashboard but the screen just displays a flash of the boot logo and then black. What an infuriating massive fucking waste of time. Hopefully this one is just a dud and Lenovo or the seller will replace it.
Thanks! I was getting absolutely nowhere trying to make this work via WSL2ā¦ edl would just go forever and not notice that I had plugged the dang thing in.
additonal notes:
I needed to connect through a USB hub on a surface laptop studio for the lenovo device to be recognized.
I also needed to install the driver via Zadig a second time (it was called QUSB_BULK
) after booting with both volume keys depressed.
Hi
Thnx for the image and works very nice.
2 questions.
@mattmon most things worked pretty well for me- however:
adb push extras/wallpaper.png /sdcard/Downloads/
gives me this error:
adb: error: failed to copy 'extras/wallpaper.png' to 'C:/Program Files/Git/sdcard/Downloads/': remote secure_mkdirs failed: No such file or directory
Also, for the horizontal versus vertical splash screen, it was unclear if the horizontal one can be added after flashing. It appears not-
.\adb.exe shell mv /system/media/bootanimation.zip.horiz /system/media/bootanimation.zip
mv: bad '/system/media/bootanimation.zip.horiz': No such file or directory