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

Generate Link #251

Open
MIUITurkey opened this issue Jan 3, 2024 · 6 comments
Open

Generate Link #251

MIUITurkey opened this issue Jan 3, 2024 · 6 comments

Comments

@MIUITurkey
Copy link

I found a few information to solve slow download speed but i didnt devolop i will share

Apparently "t=1704309996" represents a timestamp. Such timestamps are often called Unix time or Epoch time. This represents the number of seconds since 00:00:00 UTC on 1970-01-01.

also this site solve how to add time ve other part hyperosupdates.com can you check it

@HegeKen
Copy link

HegeKen commented Jan 4, 2024

hyperosupdates.com is simulating the process of OTA Update to generate high speed links, it's already in the code, but it's not that simple to implement this kind of features on static ganerated websites.

@yshalsager
Copy link
Member

@HegeKen I have checked the website quickly, it doesn't have Fastboot links, does it?

@yshalsager
Copy link
Member

@MIUITurkey I don't think just adding timestamp would have effect, probably it neess "s" part too. Have you tried with ts only?

@HegeKen
Copy link

HegeKen commented Jan 4, 2024

Just adding hosts registry for bigota.d.miui.com and hugeota.d.miui.com is the most efficient way at the moment, both works for recovery and fastboot links, or add orig/ks3orig part ahead of domain names as you did.

@MIUITurkey
Copy link
Author

@yshalsager i solved only t part

When you start a link creation process, the following screen appears. I discovered that it creates the valid time "t" part here.

Download link is succesfully generated.
MD5: e5644d702d0304f23d72dd512ec86c8c
Filesize: 5.4G
Download link is valid until: 2024-01-04 22:42:38

https://ultimateota.d.miui.com/OS1.0.9.0.UNCCNXM/miui_HOUJI_OS1.0.9.0.UNCCNXM_e5644d702d_14.0.zip?t=1704321758&s=470a2f319c278fa3ad1e23ac953e15bf

2024-01-04 22:42:38 = 1704321758

Maybe "s" part md5 or something

When I check the site there is a scritp like this https://hyperosupdates.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhyperosupdates.com%2Fhyperos%2F&format=xml
Could this script be doing this? I couldn't figure it out.

@MIUITurkey
Copy link
Author

and yes i did not see fastboot links in this website.

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

No branches or pull requests

3 participants