Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request invalid for Wear platform #3

Open
vijai1996 opened this issue Oct 2, 2021 · 5 comments
Open

Request invalid for Wear platform #3

vijai1996 opened this issue Oct 2, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@vijai1996
Copy link

The new Galaxy Watch 4 is based on wear OS and Samsung uses the same method as Galaxy phones to check for updates and download. Samfirm succeeds in checking the latest firmware for models but download fails with result code 400. I'm not sure what has changed in the download request but if you could guide me what you need, I might be able to help you with information.

Sample model:
Model number: SM-R885F
CSC: INU

@ivanmeler
Copy link
Owner

I noticed the same thing when trying to download fw for it, as of right now it seems they dont use same method to fetch firmwares (listing them is the same), Ill need to investigate this further, Best bet would be trying to download fw with official tools from samsung to see what requests they send and where

@ivanmeler ivanmeler added the enhancement New feature or request label Oct 2, 2021
@vijai1996
Copy link
Author

I had the same thought but for now, only way to check and download update is through the companion plugin on phone which means, packet sniffing is not possible without root as far as I know.

@ivanmeler
Copy link
Owner

I had the same thought but for now, only way to check and download update is through the companion plugin on phone which means, packet sniffing is not possible without root as far as I know.

Yeah thing with those is that they are not full updates like what samfirm fetches but just update.zip files that get applied on top of base rom

@vijai1996
Copy link
Author

I had the same thought but for now, only way to check and download update is through the companion plugin on phone which means, packet sniffing is not possible without root as far as I know.

Yeah thing with those is that they are not full updates like what samfirm fetches but just update.zip files that get applied on top of base rom

Exactly, those are delta updates. I'm not sure but I thought fetching delta and full package uses same end point but different request param? Am I wrong?

@ivanmeler
Copy link
Owner

I had the same thought but for now, only way to check and download update is through the companion plugin on phone which means, packet sniffing is not possible without root as far as I know.

Yeah thing with those is that they are not full updates like what samfirm fetches but just update.zip files that get applied on top of base rom

Exactly, those are delta updates. I'm not sure but I thought fetching delta and full package uses same end point but different request param? Am I wrong?

unfortunately they dont use same servers for full updates and deltas, only good thing about delta updates is they dont require any special auth to download like full packages do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants