Coder Social home page Coder Social logo

lenovowatchmod's Introduction

[MOD] Lenovo Watch's notification apps substitution

BuyMeACoffee

Lenovo Watch is the application used to pair and set the Lenovo Watch 9, Lenovo Watch X and Lenovo Watch X Plus.
One of the main "smart" functions of the watch is to vibrate when you get a notifications in one of the selected apps. There are several problems in Lenovo's original application:

  • 4 of the 8 possible apps are services only used in China, and Skype doesn't work.
  • The Watch X and Watch X Plus do not support accented chars, so they only show messages until the first accented char
  • On the Watch X and Watch X Plus, Gmail notifications' subject value is [null]

The objective of this mod is to give the watch a bit more functionality for non-chinese users and solve other issues.

I fixed Skype, Facebook Messenger and made these substitutions:

  • WeChat -> Telegram
  • QQ -> Microsoft Outlook
  • Weibo -> Google Calendar
  • Line -> Gmail
  • Tencent Tim -> Telegram X

For the Watch X and Watch X Plus:

  • Fixed the accented chars by replacing them with the non accented counterpart in the message (áéíóöőúüű -> aeiooouuu)
  • Fixed Gmail notification to display the subject correctly

Content of the repository

The commits of this repository contain new versions of the modified .apk

If you need an older version of the app take a look at older Releases. The tag of the commits will be the version of the Lenovo Watch app used as a base for the mod.

Attention! Some versions of the original LenovoWatch app includes measures to prevent mods like this one. As a result, the latest versions of the MOD also prevents updates.

Result

Result

lenovowatchmod's People

Contributors

erap320 avatar zgithubdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lenovowatchmod's Issues

General discussion

Just got my watch and I am trying your mod.
Is there any way to make the watch vibrate on EVERY notification? I know next to nothing about android app development but I am eager to fork an learn if it can be done reasonably easily.

No map / route in the "exercises" view / section

Hello, I installed this app today (because I used earlier version by Lenovo) and after jogging some time I noticed, that there is no map/route for my training. As far as I can remember, the original version showed the route you ran.

Regards,
Andrey

Facebook messenger support

It's not an issue, more like a feature request. If possible make it work with Facebook messenger notifications.

Tencent Tim substitution

With version 2.3.3 of the Lenovo Watch app notifications for "Tencent Tim" (another chinese app) became available.

What substitution would you like to be made?

Can’t register

I can’t register a new account, the verification email is not sent. Also can’t upgrade the versiin of my watch even tough there is an update.

Syncing heart rate, blood pressure, sleep data and mood with lenovo server does not work due to "server busy"

The issue occurs on all of the latets lenovo watch app versions, staring from 3.1.0 up to 3.1.5.

Repro:

  1. Login to your lenovo account on the app
  2. Observe that data is no longer shown on any of the widgets
  3. Go to heart rate or blood pressure sub menu and wait for the "server busy" error message to appear

Expected results:

  1. Syncing data with the server works
    OR
  2. Data base is switched to local on your phone ( lenovo server is no longer requied to use all functions of the watch )

Here is it what I was able to find:

  1. sources\com\pmpd\protocol\http\sdk\HttpSdkProtocolComponent.java ---> this is a path to a file where comunication with server is handled.
    image
  2. sources/com/pmpd/business/heartrate/model/HeartRateBusinessDayModel.java ---> in here the data is set and get.
    image
  3. This may aslo be useful sources/com/pmpd/business/heartrate/HeartRateBusinessComponent.java
    image

The problem might be connected with a simple bug - missing letter "c" in here ( maybe they have fixed that on the server side but not in the app code )
image

Can't Bind My email

Hey, I'd like some help regarding the App. I've made an account on lenovo.com and when I try to sign in on the app it tells me I need to "bind my email", so I put my email in it asks for a verification that was supposed to be sent out to me. The problem is I don't receive any email! I've tried numerous times and it doesn't work and so IDK what to do :(

Watch 9 can't connect

I'm not able to connect my watch 9. The app finds it, but when I try to connect, a short vibration happens on my watch, but won't connect. I'm using miui 10.3 (Android 6) on xiaomi redmi pro.

How to make your own substitutions

Since I received requests of custom mods with particular notification apps, or questions on how to make substitutions, I'm making this issue to make relevant information on the subject easy to find.

You can read about it in #1, starting from this comment in particular.

Please don't open issues to ask for custom mods.
I can't make them for everyone, so I won't make them for anyone.

Happy modding!

App is not working because of "Server busy"

Hi,

I faced with this issue before more times, but sooner or later it was fixed, but the problem is come up again more often, and it will be good, if have at least a workaround for it.
Problem:
Watch App can't connect to Lenovo server . The error message: "The server is busy, please try it again later".

Side effect:

  • If you are logged in, you can use the app, but data are not synchronized to the server, you can't check past data, like HR or Sleep data.
  • If you are not logged in (e.g. you have a new phone and installed the app right now), you can't do anything the app stay in the login page, and if you try to use the Dont Login button you will get the same error.:(

Any idea?

Regards

Stopped working on update

Hi, this morning I opened the app and it told me to update to 3.0.whatever, with no option whatsoever for not updating or doing it later. I had to click on update, and the update failed. Everytime I start the app, the window pops up again. The only way I found is to reinstall the app while offline and not run it again if online, but that's not so cool.
Any Idea?

Unsupported chars

If the sms, contact name or any other text has a non standard english charachter e.g (á,é,ó,ő) the watch cat the rest of the text and show nothing, just empty spaces.

Solution 1: If the app send wrong messages to the watch it should fix it.
Solution 2: if this chars are not supported by the watch itself the app should change this to a standar esc char eg ? and send this text to the watch

No sleep data recorded since 23.05.2020

Hello,

I noticed that the app stopped to record sleep data (duration, phases) on the 23rd of May, 2020. Has anyone else experienced the same?

regards,
Andrey

Auto heart rate and BP measurement time 30 minutes ahead

When I measure heart rate or BP manually then it is added to the record with correct time stamp and shown correct time on which it was measured. But when automatic measurement takes place (which is every 10 minutes I guess), it is added to the record with timestamp 30 minutes ahead of the time on which it was measured. Any solution for it?
Screenshot_2019-07-02-18-09-44-699_com pmpd dmap lenovo

Don't Let me login

Hi friend, I already saw your post and downloaded the latest version, but it still won't let me login, I get "other platform login cancel" or "no network". I tried it with Lenovo ID, FACEBOOK and G +, it synchronizes the clock but it won't let me use the app to the fullest. There are another way to login?, btw thanks a lot ;)

Screenshot_20200813-003302
Screenshot_20200813-003305

App not installed

I am trying to install the app (3.0.3) but it fails and tells "App not installed." What to do?
Thanks
(Pocophone f1, global)

Weather widget is not working outside of China

It seems that availability of that widget is just blocked by checking if user location is in China. It seems to be done in a quite primitive way:
1.First it checks if map data is available. If not Widget won't be available in the watch and app:
92297517_556933888260688_196644618085859328_n
2. That function is just checking it by comparing latitude and longitude:
here:
92099910_211106320172150_5480902191281602560_n
and then this:
92099654_1667196313434502_590503452820373504_n

Maybe it would be possible to remove that check entirely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.