yashsingh1/xdaforums huggingface dataset:
[Google Home] mortenmoulder:
I've successfully disconnected my Lenovo Smart Clock 2 from WAN, so it only has LAN access. However, it also has access to my own domains, where I run stuff like Home Assistant.

I used AdGuard DNS which is free if you keep your amount of requests below 300.000 per month. I have created two custom rules.

Block ALL domains/hostnames:

||*^

Unblock my own domain (including subdomains):

@@||website.com^

When I open Home Assistant I am requesting my own domain, so I can easily block everything else. Note: This is only a DNS block. If Lenovo requests IPs directly, you might need to look somewhere else.

EDIT: I also had to add gstatic.com to remove the annoying "you are not connected" error that keeps popping up (not just the icon).

EDIT 2: "Hey Google" no longer works. Tried unblocking googleapis.com but that didn't work. I can't see any blocked requests other than to api.bytegle.tech and svibeacon.onezapp.com which certainly do not have anything to do with Google. They do come up every time I say "Hey Google" though.
[Google Home] angerized:
Thanks for this.

Indeed, I mistakenly thought "Home" was the thing to run to go back to the standard display, and it put the mute icon everywhere.

I removed "Home" from my favorites and put "Assistant Core" instead, and now I can go back and forth between launchers with no parasite icon.

Thanks again :)
[Google Home] FoferX:
Great info shared here, thanks so much! I've got mine up and running.

I couldn't find these settings, can you please shed some light where they might be found?
[Google Home] Ierlanfdan:
My findings with a Xiaomi Smart clock:

Go to "settings" and choose "about device" > choose Opensource-Licenses

(A webview browser opens with licenses)

I forked abseil-cpp repo so Ican goto official abseil-repo (scroll down a bit while in opensource-licenses to find the abseill-cpp repo) insights>forks and choose my own Github repo's

Added a redirect link on my Github to my own server with an APK.

Webview does not let me download anything unfortunately.

But since I have access to my own server I can keep trying to open something .

If I go to talkback settings and select privacy the app crashes . Choose "info"

(Even easier, goto text-to-speech options just below talkback options) click on that, after loading, click on the magnifying glass and copy somehow "ap"in the searchbox) Contine below.

First I went to Weather.com, I searched for a word with "ap" in it. Copied that.

I tried bluetooth but app crashes or does nothing. If I could hook up an keyboard I could login to the playstore and download anything. I can view docments, photos, etc. etc. but I can noot upload. MTP transfer does not work. (Even low level Linux rograms can not interact with the MTP. If I go to developer options and click on USB configuration, the app force closes.

Any thoughts?
[Google Home] Sasswell:
In case anyone is interested I made another video. In this I cover how you can set up an app (in this case a smart home controller) and have it auto boot as well as info on how to manage the weird screen rotation settings and disable the google home assistant functionality. Also covered how best you can use the clock to swap between apps if you want to keep using the Google Home interface as home screen.
[Google Home] matfox33:
Hey i got a huge problème i reboot m'y Lenovo smart clock and now us stuck on the Lenovo logo and i cant do nothing
[Google Home] matfox33:
I need help i did all the step And m'y clock IS stuck on the Lenovo logo and i cant do anything
[Google Home] FoferX:
I'm teally impressed by this Lenovo now that's its potential is unlocked! Thanks to everyone for sharing great info. Here's what I have installed now, pretty happy with the setup. So much versatility in a cute little smart clock.

Video:

Channels DVR

YouTube Vanced

Netflix

Disney+

Amazon Prime Video

Twitch

Pluto TV

VUDU

PBS

Audio:

Apple Music

Spotify

Amazon Music

SiriusXM

Pandora

Pocket Casts

NPR One

TuneIn Radio

Noice (for ambient audio)

Sleep Sounds

Other:

Home Assistant Companion

Hue

AdGuard Home Manager

Yahoo Finance!

Investing

Utilities:

Buttons Remapper

Set Orientation

Discreet Launcher

Last Launcher

Target Home Launcher

I'd love to hear any other great use cases and ideas, as well as apps that are running exceptionally well on this device.
[Google Home] hausner78:
I dont seem to have the screenreader option under accesibility, only start sound and stop sound.

Any idea why that is?
[Google Home] FoferX:
What smartphone are you using? Unfortunately that feature is only on the Android version of Google Home, it was removed from the iOS version awhile back. The good news is you'd only need one for a few minutes for initial configuration. I keep an old Android in the drawer for projects just like this.
[Google Home] hausner78:
I was using IOS.

Will try with an android, thanks
[Google Home] sousaaguilherme:
Hey! Anyone got this working on the first version of Lenovo smart clock?

I've got to the point where I'm in the browser and able to search and paste, but when I press to download an apk nothing happens...

Best regards
[Google Home] tarzan_nojane:
Set up Smart Clock 2 with Last Launcher and Buttons Remapper a few weeks ago. Yesterday I had the time to create a custom small screen LoveLace dashboard for Home Assistant derived on the configuration used on a Lenovo Tab M8. Only able to install Firefox Lite, and had issues with display resolution and inability to set the home page.

Total success using WallPanel v0.9.5 by ThanksMister LLC from apkpure (which I have also been using for a couple of years with the M8):

Set WallPanel (fullscreen) as default Launcher

Remapped "-" and "+" buttons to Back and Last Launcher

Enabled Buttons Remapper and WallPanel under Duraspeed

Using WallPanel's Clock Screen Saver and Prevent Screen Sleep

Lenovo Auto-brightness enabled

Configured Lovelace on the Smart clock to Always hide the sidebar

Google voice assistant is still working, and I can select the "Home" app to display OEM clocks and features.

Here is a link to a series of screenshots. A short button press toggles ON a preset scene for that group or toggles OFF any of the group's devices that are on. A button's icon illuminates if any lights in the group are on. A long button press opens a pop-up window with individual switches and sliders for each light in that group.
[Google Home] tarzan_nojane:
EDIT: It was linked to a different Google Account. Opening the Google Home app using the correct account gave me access to the device's location.

I have one issue that has got me stumped. I originally configured the device using Google Home while located in the Los Angeles (Pacific Time Zone) area. Now I am located in the Mountain Time Zone, and the device continually reverts back to Pacific Time. The Google Voice Assistant and Home app (default clock) are locked to the Pacific setting. I can access the Android System Time and Date settings, change to Denver (Mountain Time) - which sticks until the device is rebooted, yet the Google Voice Assistant continues to think it is located in Los Angeles.
[Google Home] j.smith:
The clock also supports "bumping" it to silence an alarm; is there any chance there's an app that could let us remap that to another command? I find the buttons a bit of a nuisance due to the volume being tied to them.

I'm hoping that if you can remap the bump action, I could have it mapped to Home. Mix that with HA app so I can cast to the clock and I'm hoping I could have it run its default launcher for the clock/alarm and stuff (as much as it really sucks), and if HA decides there's something important, it would cast it to the clock. I could then bump it to get back to regular clock stuff.
[Google Home] kurremkarmerruk:
Can we change the language for the assistant? Polish language is available on phones, but not on speakers or smart screens.
[Google Home] j.smith:
Ok so this is fun, Key Mapper allows you to map the bump effect! https://play.google.com/store/apps/details?id=io.github.sds100.keymapper

I'm using this instead of button remapper (especially since without paid, you can only map 2 keys). Key mapper recognizes the bump effect ("unknown key 289"), plus you can map more than two things.

I'm trying out a single bump for back, double bump for Home, and vol - and + together for settings. With this, I'm hoping I don't really need a launcher. We'll see how it works out.
[Google Home] j.smith:
Trying to get google cloud notifications to work (and casting a homeassistant lovelace card/dashboard to the screen). Since the clock doesn't have some of the core google play services, messaging doesn't work out of the box.

I installed microG (just core) to enable messaging, but it doesn't seem to work. Also, seems the default launcher goes through like an "intro" of sorts once in a while showing me the swipe gestures it supports.

Has anyone been able to get push notifications working and/or homeassistant dashboard casting?
[Google Home] tarzan_nojane:
Setting the WallPanel app (fullscreen) as default Launcher allows the designated lovelace page appear whenever the device is restarted. Why are you wishing to "cast" your dashboard to the screen? The Wallpanel app also allows for a screensaver with a moving time/date screen to prevent screen burn-in.

On a related note, WallPanel is able to use a phone/tablet's camera as a sort of proximity sensor to "wake" the screensaver and return to a dashboard display. This device does not have a camera, but does have an ambient light sensor. I wonder if a rapid change in lux could be interpreted to exit the screensaver as well.
[Google Home] j.smith:
I'm trying to be a bit of a purist i guess? I want a simple, nice looking clock system that supports fully working alarms that I can control via Google stuff (so, set with Assistant). The WallPanel app is nice, but setting up a clock face and handling alarms I can easily tweak/set/cancel is beyond me and/or I don't know if it can even be done with HomeAssistant.

So, my hope is that I can just cast a lovelace card to the clock when needed - right now I'm just looking to have security cameras show their feed if someone is detected. It'd be amazing if doorbell cams could work too but that'd be all integration with HA - but being able to display the card to the clock is what I'm hoping I could achieve, but only when it's needed.

My setup and testing so far I've been able to get TTS working perfectly. Notifications don't seem to show up, and casting doesn't work well either despite having the device showing in HA. I don't think I tested casting to my phone, but notifications do work.

My setup is getting better. TTS is a huge step in the right direction though. I can set the volume too, so at the very least, I'll know an attacker is here before I die :P
[Google Home] tarzan_nojane:
Not sure if it was obvious from my earlier posts, but the Google Assistant and the stock "Home" app still work beautifully in my setup. "Hey Google" responds while WallPanel is displayed. If I wish to view the stock setup, I just tap the "+" button to open Last Lanucher as an app tray and switch to the Home app.

So far I haven't chosen to incorporate my lovelace camera dashboard on this device - but will add another tab to evaluate and report back in a few hours.

[EDIT]: A Lovelace view with a Picture Elements card displayed my camera on the Smart Clock 2 in WallPanel. Was not able to use Firefox Lite for a web view as a plugin such as QuickTime is not installed (older Amcrest cameras).
[Google Home] j.smith:
That wasn't my worry. I'm not a heavy assistant user though so I'm just trying to use this differently.

In the end though hopefully this helps people out - if we all set this up the same, then it makes more users feel like that's the only option. I don't mind (since the chance of bricking it in this setup is almost nil) trying out different stuff to see what works.

I'm hoping that people are able to dump the ROM (or Lenovo releases it?!) so we can get Play Services on it properly and then that should really help things out.

For what it's worth, I noticed in the HA app (vs WallPanel) that it throws some warning/errors about Google Play not being installed. Not sure if that's just a license check or if it's impacting other stuff.
[Google Home] tarzan_nojane:
Have you tried running the minimalist version of HA Companion app (available from F-Droid)?
[Google Home] j.smith:
No I haven't. From reading briefly though it seems the f-droid version does away with it's req for play services. I'm guessing that would eliminate the logged errors for me, but I don't think it would operate any differently.

I've had no luck trying to push any kind of streaming video to the clock. My next tests will be seeing if I can even send a simple picture. If that doesn't work, my guess is that my issues might be with microG or the media that the clock supports (maybe it can't decode H264).
[Google Home] SmartAlex2010:
GitHub - misterwaztaken/lenovo-smartclock2-apks: Lenovo APK's brutally exported from my clock that I actually use for sleep (really good clock)

Lenovo APK's brutally exported from my clock that I actually use for sleep (really good clock) - misterwaztaken/lenovo-smartclock2-apks

github.com

got some of the test APK's off of the clock, but all the core stuff doesn't work. (home does install, but doesn't launch on at least my phone specifically) I tried installing the car bluetooth demo onto my phone, but it said it was conflicting with an existing package, so does this mean that my phone may already have this on it???

I managed to get them off by installing an APK saver and a bluetooth file sender. Even though it switched to a music app on the clock as it thought that it was going to be used for audio, it was still sending files
[Google Home] diogomendes:
Did you manage?

I'm stuck too, boots to Lenovo logo and is stuck there. I installed a keyboard, launcher all sorts of things, but now is just stuck.

At first my bluetooth mouse connected and was able to move the cursor over the lenovo logo. But now it no longer connects.

Recovery isn't there and fastboot does nothing.

Any ideas for the next steps?
[Google Home] Anonlookingforhelp:
Hey, I'm trying to download the assistant core launcher in order to use it on a tablet. Do you have any idea where to get it or could you extract it from your lenovo smart clock 2? Thanks in advance :)
[Google Home] bj00rn:
Edit: Seems that the clock reboots itself if it looses wifi connection. Pretty stupid "feature"..

I followed this guide and installed Last Launcher as launcher and mapping volume keys to "Home".

However, my clock now seems seems to reboot itself once a day. After reboot the clock ends up showing last launcher instead of the default Home/Clock app. Anyone else having this problem?
[Google Home] Toniiio28:
Yes i have the same problem, it reboot one time a day (or go to the home screen). All the chromecast are loosing connexion one time a day
[Google Home] bj00rn:
I ended up resetting launcher app back to the default clock. And mapped keys to launch last launcher instead. Mainly using it as a clock anyway.
[Google Home] hakarune:
Unfortunately it doesn't work for me. Just tried it but when pressing the 'privacy settings' it doesn't do anything except flash for a second and stays on the settings page. I tried rebooting it and trying it again multiple times too.

I'm guessing they already patched this exploit. It's effing stupid if they spent the time to patch something that people actually want to work.
[Google Home] bj00rn:
What"s not working? Choosr Talkback settings -> privacy policy in the dialog.

I doubt anything had been fixed in this old device. What version are you on? Rooted my device like 3 days ago with latest firmware installed.
[Google Home] hakarune:
Did exactly as your, the OP and a YouTube video described. And nadda. I'll check the build number in the morning.
[Google Home] jimrin:
Key Remapper supports using the Android rotation, so I've just set it up that hitting a special key sequence cycles between portrait and landscape. I couldn't rely on the automatic rotation because for some reason, portrait ends up upside down.
[Google Home] jimrin:
Does anyone know if the same approach for loading any app onto the clock also works for the Lenovo Smart Clock Essential? Rather than being dependent on a Google Assistant clock, I'd rather have one which integrates with Alexa. I tried Ultimate Alexa but since there is no Google Play Store/services on the clock, I couldn't sign up for the pro version to have Ultimate Alexa without ads. Any workarounds for this?
[Google Home] DeblaGaming:
Anyone knows how to do this on the first gen version? When downloading an APK file nothing happened, and I can't open it either...

Cheers
[Google Home] holysoles:
I picked up one of these 2nd gen clocks this week and while as some folks have mentioned the Talkback support was removed from the Google Home app preventing the previously used method to break out of the Google Home software, I've found one that still uses basically the same method. There is probably a simpler way to do this, but it worked for me.

Settings menu -> send feedback —> (say something) -> Legal Help Page

This opens a locked down browser that we need to break out of still since it can't download anything.

The goal at this point is to find any link that uses http since this locked down browser doesn’t appear navigate through cert errors. I did this by:

About Lumen (bottom of page) -> Lumen (Hyperlink in first paragraph)

From here you have two options. You can get out to twitter, or scroll down to their blog posts. I found a blog post from 1/26/2023 that had a http link.

Before opening the link, create an A Record (I had trouble with CNAMEs) for the IP behind that domain name to a self-hosted web server.

On that self-hosted website, have a plaintext URL for http://f-droid.org.

Press and hold to highlight the full URL, and you should have an “Open” option in the context menu, click that. Nothing will appear to happen, but close the current browser window, then quit out of giving feedback. You’ll find a full browser awaiting you to then download packages from f-droid with.
[Google Home] cmccambridge:
Nice find, @holysoles!

FWIW as one data point: I just took a new-in-box unit through the full rooting process (here) successfully today, including activating it for the first time using the Device Utility app, letting it run through a firmware update on the clock from the shipped firmware (1.52.257161) to the latest (1.56.285116), and then rooting it using the TalkBack screen reader method.

Perhaps the problem you were seeing with the Privacy Policy link crashing is region-specific, or depends on successful internet access to that privacy policy page, or something similar? I notice that you're in detailed control of your network there to place custom DNS records - were you doing any other MITM or network filtering at the time that the device was failing to connect by chance? Trying to narrow down contributing factors for other folks to be aware of... I know a lot of Google products are sensitive to MITM attacks via certificate pinning or HSTS.
[Google Home] adbfastboot:
Is there any way to get wallpapers working? I've tried like 3 launchers (all AOSP based because I want something lightweight) and whenever I set one it just shows a black screen. Even tried installing a "missing app" (wallpaper cropper from AOSP 10) and it didnt work.
[Google Home] spudje:
Great guide! I have my clock running the Home Assistant companion app with some nice dashboard as well. Since it's the minimal version of the companion app it doesn't support the notification commands. Does anybody now of a free app that will run on the clock that allows to do an API call from Home Assistant to the device (webhook) to launch the Home Assistant app? Or a (simpler) free alternative to tasker that can do such stuff?
[Google Home] wedgevic_prot0:
Hello all, I have been following everything here and it has been working perfectly, thanks for doing the good work.

Unfortunately for me, however, I found out that if you set a pattern (and I would imagine any kind of lock would do this), the device will not boot, it will just hang on the Lenovo logo. Does anyone know a way to fix this, or do I really just need to buy a new clock? Many thanks

P.S. I have tried rebooting multiple times and doing the factory reset shortcut (volume +/- for 10 sec) and it does not work. The screen is receiving taps (which I can see because I turned the option on in dev mode), but it just stays stuck on the lenovo screen
[Google Home] gussir:
Hello everyone,

Does anyone knows how we can possibly control the light of the lenvo smart clock 2 pad?

I already have home assistant with all browser_mod and wall_pannel sensors of the smart clock accessible.

If its dimable I see many use cases, for example:

→ Notification when you sleep the pad lights up?

→ Slow sunrise with morning alarm

→ Night reading?

→ Night light for kids that have difficulties sleeping without any light
[Google Home] TheVH:
I followed the YouTube guide and at first I got stuck on copy pasting the URL (it kept copying "home" for some reason) but an hour later I was able to pull it off and free myself from the stock launcher!

I'm currently using Nova Launcher and use a clock face widget I made with KWGT. Instead of moping on how I can't get a wallpaper to work, I used the black backdrop to my advantage and made a DMD-style clock face that's been working pretty well.

It pains me that I can't get Draw Over Display or Read Notifications permissions without jerry-rigging some special jumper cable for ADB. Would really love to have gestures for Home and Back instead of using the volume buttons. Oh well. Still, a step up from the Smart Clock Essential I was previously using!
[Google Home] zonatar:
there's an apk to install in this device to transform the clock in a mini alexa echo show?
[Google Home] spudje:
Is there a way to update the webview on the clock? It seems the latest version of Home Assistant breaks the rendering of the Markdown Card on older browsers, like on this clock (Using the Hass minimal companion app).
[Google Home] thisisnico007:
I have the same problem. Did you managed to fix it?
[Google Home] tarzan_nojane:
Key Mapper allows you to map the bump effect! https://play.google.com/store/apps/details?id=io.github.sds100.keymapper

I'm using this instead of Button Remapper (especially since with free version you can only map 2 keys). Key mapper recognizes the bump effect ("unknown key 289")
[Google Home] TheVH:
I'm also using Key Mapper but I cannot get it to detect the bump for some reason.
[Google Home] Taffasu:
ahoj, jelikož jsem vše smazal při továrním nastavení, hledal jsem způsob, jak obejít skenování z kalendáře a to stáhnout si do telefonu bluetooth klávesnici a požádat hodiny o zapnutí bluetooth, připojit klávesnici a následně pozvat prohlížeč!!
[Google Home] rrowe629:
It looks like these procedures no longer work on updated clocks. I don't have an Android device, but using holysoles technique described on April 16 and bit of dnsmasq/apache skullduggery, I was able to navigate the browser to f-droid. However, the browser has been crippled - download links are ignored and there is no way to make a change to the address bar - no cut/paste or any other means of editing the address. Build version on my clock 1.2.2.627 and Software version is 11.51.6.416171605. Firmware version is 1.56.285116. So I can't download any APKs to the device. Bummer.

I suspect a fresh-out-of-the-shrink-wrap clock would still work if there is a way to keep it from self-updating once it connects to the internet. Anybody have idea of how to accomplish this? I really like this form factor for my use case.
[Google Home] Taffasu:
Dobrý den, mám problém, že mi neaktualizují hodiny :D musíte to dělat jako já! "Hej google" "připoj bluetooth" a měj na svém mobilním telefonu nainstalovanou klávesnici a myš, můžeš se pohybovat i po hodinách hezký den