You are browsing as a guest. Sign up (or log in) to start making projects!

Preloading

@Preloading

Joined June 2nd, 2026

  • 76Devlogs
  • 4Projects
  • 1Ships
  • 1Votes
slowly going insane making stuff that sometimes works. also stuff that is impossible to demo for most people (why can't i do something normal????)
Ship Pending review

Shipping! So this is a small tweak for cydia (remember when that was relevant?) that makes the old YouTube app versions 1.0.0-2.0.0 functional (app from 2012-2013). Basically replaces all the old legacy stuff for requesting data from YT, and makes it use the new modern private YT API stuff. Most of the hours here was spent getting HD working, which included getting past the many of YT’s protection systems, and the old phone’s video player being bad.

  • 65 devlogs
  • 215h
Try project → See source code →
Open comments for this post

31m 11s logged

Well, it stopped being producable on the test phone i’m using so yolo. I also shipped some of my memory fixes and such to my repo, so hopefully everything works. I just gotta hope YT doesn’t screw me over in the next few days :)

Right now people are still falling back to 360p or just getting playback errors as it tries to go over to POTokens instead of coldstart, but I hope it won’t get to that phone running it.

Also another neat thing, the demo phone was dying while plugged in. I guess the HDMI adapter or constant network requests were too much for it. I swapped it with a working 30pin and the 10W adapter, so hopefully it will be better.

I also did some additions to prevent people from casting to a tv on the demo, and changing the trending page to something so its not blank :)

Hopefully the ship goes smoothly!

0
0
2
Open comments for this post

1h 11m 35s logged

OK got the demo barely functional, but good enuff! I’m going to spend the rest of stardance debugging why i’m getting no stream errors. try the demo out and idk comment if you see issues https://trstardancedemo.preloading.dev

I am aware of No Stream errors, and am aware of the categories & trending being blank. Pray i can fix those in time, tho POToken engine going wrong seems like a pain the ass to debug at such a short time limit.

0
0
5
Open comments for this post

1h 42m 26s logged

So I’m kinda an idiot. The previous issue was because I failed to have a break statement at the end of my code meant for handling the context updates from before. Adding that break statement, it appears to have fixed playback for some people. Along with this, I found a bug where I had a filter for codecs=“vp9”, but not codecs=“vp9.2”, so I had to fix that, as it would select a video stream it was incapable of playing for HDR videos.

Along with this, even more problems! Apparently the stream dies after like a minute now for some people. Not me tho 😭. Also for another person it still just never plays… Attached is a screenshot from the never playing one’s resp. It looks fine, but apparently its not? I only have YT’s response, not whatever I’m requesting rn, so more waiting till 11am, yay!

0
0
2
Open comments for this post

1h 46m 45s logged

Apparently everything goes wrong in the last few days! I implemented something that may help fix some of the errors which have been encountered when using the HD stuff. This is going to be a pain to debug, esp since like all issues, it doesn’t happen to me :upside-down: , also botguard dying on the person’s device that got this error. Joy!

0
0
11
Open comments for this post

5h 2m 11s logged

I finally fixed all the memory leaks! (at least in 1.3.0). I had found using this tool called flex that there were apparently 3 megabytes worth of NSNumbers that were being leaked (after having a video play for 4 hours). Also got TRSabrStream deallocating :D

0
0
12
Open comments for this post

7h 24m 5s logged

Alright, two things. Most of the time was spent doing lame tracing of memory leaks. I fixed one, but the primary leak is still leaking :( I’ve also been working on setting up the demo, and I got it running on my server enviroment! It’s a little wrong right now, I think I accidently put my capture card in a USB 2.0 port, so everything of that is broken, but that works! I also still need to strip tubereplacer to remove any feature of YT thats… undesirable? Primarly, microphone & casting, and making it delete all user data on open.

0
0
15
Open comments for this post

11h 47m 55s logged

Cooking up the demo, I’ve basically setup a remote control system on this phone, which should hopefully run over the internet! Giving randos complete control of this phone… what could possibly go wrong???? I still need to do some stuff to lock down the system it runs in, and also patch the problems with tubereplacer that came up recently.

0
0
11
Open comments for this post

2h 11m 54s logged

Alright, so the results are in. From what it seems, it mostly went well, however there are some issues that came up, primarly due to me not having enough time to test (I released this the day before stardance was extended for another month…. a bit of extra time would have been nice to iron out the few bugs on release, and also time to diagnose the playback errors people encounted). I did a quick 2.0.1 release to fix some of the bigger issues… 5 days after the initial. i’m tired ok?

0
0
24
Open comments for this post

3h 37m 1s logged

Oh dear, publishing it to the world! I’ve decided to say “fuck it, its good enough”. There are some issues which has popped up, like some versions crashing, and the SABR stream never starting issue. I’m praying that it’s not just that bad.
Made a reddit post about it :3 https://www.reddit.com/r/LegacyJailbreak/comments/1wnh4il/

Hopefully this doesn’t go catastrophic! I also have to setup a demo. Right now, the big issue is how to. Just a video is kinda… lame? So I want to do somehow make it an interactable demo. However, there is not an emulator for appstore apps for any iOS version between 5-10. This makes things rather tough. I do have some spare phones I can acquire to run it. However, getting the screen out is uhh….. challenging. The version of AirPlay on iOS is too old for the open source projects, and even the closed source, execpt for one, AirServer (which is 20$ per computer). The 30pin -> HDMI adapter -> capture card is extraordinarily unreliable, and keeps disconnecting when I try to use it, and is a pain in the ass to get working. There’s Veency, but it goes black when playing a video, and is unusable slow. And after all that, I have to send it to a server to stream to a web browser, I have to take input, I have to manage launching the correct app, preventing escaping the app, handle crashing, queuing (its one phone so people will have to wait), etc. All in 7 days. oh dear.

0
0
62
Open comments for this post

2h 18m 15s logged

So, it randomly decided to break for many videos, and only for some people. It appears that YT is doing extra things to detect adblockers on web, and something I’m doing is triggering the adblock detection. This is uhh bad :) I get to figure out what I’m missing and implement it properly.

Now for bugfixes I made

  • fixed a signin crash on 1.0.1 & 1.1.0 due to a missing cflag
  • fixed the video date failing to load on iOS 5
  • added proper backoff to SABR
0
0
19
Open comments for this post

2h 45m 34s logged

Bugfixes!

  • fixed a bug where playlist videos fail to play on channel playlists
  • fixed the open source licesnses page crashing on 2.0.0
  • fixed a bug where closed videos in 2.0.0 continue to play after closing, locking the phone, then unlocking
  • fixed a crashing bug when not connected to internet when fetching profile
0
0
15
Open comments for this post

54m 26s logged

Made it zip the network log stuff for sending over email, as text files generally have a really good compression ratio, (the file is actually 2mb), and email has really low limits.

0
0
8
Open comments for this post

2h 50m 30s logged

I managed to get N/Sig deciphering working with HLS streams, meaning you can now watch livestreams, if you change up some settings & it’s buggy. I’m not intending on shipping proper stream support right now, so this will do for release.

0
0
9
Open comments for this post

5h 25m 32s logged

Bugfixes! I’ve decided it’s probably good enuff to “feature lock” and just get it ready for release (also cuz stardance ends soon, yet the streak thingy to a plushie continues. as its ending. why. i wanna take a break!) Not much images but

  • Fix an issue with my trimming stuff not working on 1.4.0
  • Managed to cleanup the stream when switching video on 2.0.0
  • Some missing thing on the thumbnail speedup thing
  • My failing to do requestProfileForIdentity correctly.
0
0
50
Open comments for this post

4h 33m 49s logged

I did a bunch of things, none of which felt that interesting to make a log for, so here’s one big one.

  • The quality selector now works
  • You can now toggle video stats (logging in history) on or off.
  • Some error handling and trimming stuff to save on ram
0
0
11
Open comments for this post

5h 50m 6s logged

So this one is small, but I’ve done an optimzation for the process of getting that little thumbnail. The older youtube clients did indivisual, very small requests for the specific channel, incl the thumbnail. I already have this data with the video requests, and getting the channel data is rather wasteful of the network and slow. I’ve replaced it with just using the avatar from the feed. Speeds things up a decent chunk!

0
0
34
Loading more…

Followers

Loading…