Coder Social home page Coder Social logo

Comments (10)

erap320 avatar erap320 commented on May 29, 2024 2

I got to the bottom of the problem by taking the time to decompile the new APK with better tools.

Version 3.0.8 is protected by some kind of anti-decompiling measure that encrypts the source code. It seems to be developed by the chinese antivirus company "Quihoo360".

Seeing that we won't be able to mod v3.0.8 I did the necessary studying to prevent the forced updates in the last working version of the original app (3.0.3).
As a result of this, I pushed version 3.0.3_noupdate to this repository (2b6fbf2).
Sadly, I don't think new versions will ever be released unless we find a way to go past the Quihoo encryption.

At least we now have a version that (should) work forever.
Let me know if it has any problems or if it works as intended.

from lenovowatchmod.

zGitHubDev avatar zGitHubDev commented on May 29, 2024 1

Hi,

Unfortunately I have to agree with @erap320 the app was somehow protected by Quihoo360 and my suspicion is that the source was moved to a server, and we can't access it. I'll use the new nonupdate app to update the Watch X plus branch. Thaks @erap320.

from lenovowatchmod.

erap320 avatar erap320 commented on May 29, 2024 1

A new version without Qihoo has been discovered and I have already released 3.1.0_noupdate. See #15.
It seemes this won't be a problem anymore, so I'm closing the issue for now.

from lenovowatchmod.

erap320 avatar erap320 commented on May 29, 2024

Sadly updates are managed in a terribly wrong way by the developers.
You can't skip updates and you can't use the app if an update is available and you don't have the latest version.
My guess is that when you try to actually update it fails because it finds an inconsistency in the signage of the package. This happened from the first version and there is no way to avoid it.

Maybe someone more skilled than I am can try to disable update searching. I tried to do it but it also disabled the login functionality.

I do my best to provide a modded version as soon as a new official version comes out, but I don't have so much free time to do it immediately (I wish i did!).
Btw, version 3.0.2 of the mod will be up in minutes ;)

EDIT: Version 3.0.2

from lenovowatchmod.

zGitHubDev avatar zGitHubDev commented on May 29, 2024

Hi,

It is only a workaround suggestion may work, and not too complicate to implement it try it. If you increase the version number to higher than the offical one, the updater may not try to download the new one,

from lenovowatchmod.

erap320 avatar erap320 commented on May 29, 2024

Hi @zGitHubDev, thank you for the idea but I already tried it some time ago, and I tried again right now to confirm it does not work.
I changed every version number I could find in the decompiled application code, but I wasn't able to pin down the part of the code used to check if an update is available.
Maybe the app doesn't check for version number but for date of release, or something like that.

I'll surely go on trying to find ways to prevent this issue. If you want to help you'll be welcome to contribute.

from lenovowatchmod.

Glivmo avatar Glivmo commented on May 29, 2024

Hi,

A new update (3.0.7) again stopped the app from working. Did you figure anything out to solve this indefinitely yet?

from lenovowatchmod.

erap320 avatar erap320 commented on May 29, 2024

Hi @Glivmo, I haven't found yet a way to stop the forced updates.
Even worse news: the decompiled code of the new app is not as transparent as previous ones, so that I can't substitute apps as I used to do.

@zGitHubDev is decompiling in a different and more accurate way that lets him change tha Java code directly instead of messing with the smali like I was doing. Maybe he can work on that.
Sadly I'm very busy and I'm only able to develop this mod as long as it doesn't take much time.

I'll surely try to solve this myself by experimenting with some other tools, but I can't promise anything.

I would like to suggest using https://github.com/Freeyourgadget/Gadgetbridge until the issue is not solved (if you are using the Watch9, since the WatchX isn't supported yet).

from lenovowatchmod.

zGitHubDev avatar zGitHubDev commented on May 29, 2024

Hi,

I'm on holiday without any computer, I,m trying to check it on next weeked. Until the workoround is to start the app without any net access and use the mod version without update.

from lenovowatchmod.

mfj78 avatar mfj78 commented on May 29, 2024

Great update! Will let you know if any issue occurs.

from lenovowatchmod.

Related Issues (20)

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.