Skip to content

[WIP] SideKit Activation method Integration #257 pr remake - #282

Draft
Spidy123222 wants to merge 1147 commits into
developfrom
Sidekit-jit-implementation
Draft

Spidy123222 wants to merge 1147 commits into
developfrom
Sidekit-jit-implementation

Conversation

@Spidy123222

@Spidy123222 Spidy123222 commented Feb 28, 2023 •

Copy link
Copy Markdown
Member

I messed up the branch badly so I had to make a new pr and branch. was trying to merge it to one of my test branches but had conflict and it seemed to modify the branch that was in sidestore side so this Is a reupload.

We want to have the ability for app developers to automatically activate jit so that it’s a seamless process to use jit/debug based apps. Adding some jitstreamer attach would give backwards compatibility with some apps that don’t use sidekit also. That means you can also immediately try if it works on apps like provenance and dolphiniOS while developing it also. Url scheme sidestore://sidejit-enable?bid=BUNDLEIDHERE
hopefully at some point we get pid to also work properly instead being a copy of bundled url scheme. What it should be.
sidestore://sidejit-enable?pid=PID
is what we have so far and need one for processid and said above jitstreamer attach support. Currently activating jit via url scheme does work. But first activation when the app is asleep it doesn’t activate the debugger for the app. But after second try with app open it works. Might be async causing problems or if it’s because minimuxer wasn’t loaded when it tried.

Current Changes

  • Adds enable jit url scheme for sidekit to use.

Todo before merge

  • Added Url scheme to debug bundleid
  • Make Activation more reliable from external apps. (Seems to not work when trying to wake app on first try which we want to immediately activate when first wake).
  • Add jitstreamer attach pid activation support and sidekit should decide to use this first as it would be fastest and most convenient method with cost it needs sidestore in background still during this and if it doesn’t get scene by the app it will use url scheme. (Jitstreamer attach uses http://69.69.0.1/attach/PIDHERE).
  • Add option in sidestore url scheme to use process Id instead of bundleid.
  • Maybe add a screen to tell its attempting to activate
  • Have error messages popup if there is any
  • Config wireguard to make a 69.69.0.1 local address if needed according to checkmark 3.

@github-actions

Copy link
Copy Markdown

Builds for this Pull Request are available at
SideStore.ipa
Have a nice day.

@Spidy123222

Copy link
Copy Markdown
Member Author

reference some comments from before here #257 (comment)

@Spidy123222 Spidy123222 added Enhancement New feature or request Help Wanted Extra attention is needed Backend QoL Quality of life improvements labels Mar 6, 2023
@SideStore SideStore deleted a comment Apr 22, 2023
amsam0 and others added 6 commits May 6, 2023 19:25
This error is related to App ID creation failure.
App ID name must be an ascii text. It is not allowed to create an App ID with non-ascii text like Chinese, Japanese.
If the name is NOT an ascii text, using bundleID instead.
Fix 'The name for this app is invalid' error when sideloading with non-ascii name ipa
Signed-off-by: Spidy123222 <64176728+Spidy123222@users.noreply.github.com>
* initial anisette V3 implementation

* update V3 urls and log version

* fix crash where FetchAnisetteDataOperation.clientInfo would be nil when getting anisette V3 without provisioning first

* move adi.pb reset to its own button instead of doing it on sign out

* fallback to V1 if client_info fails

* make sure to unwrap optional strings

* feat(anisette): update v3 usage, improve error messages and names, report v3 errors to the user

* refactor(anisette): reduce duplicate JSON to anisette code

* fixes(anisette v3): improve errors, fix v3 server check, fix some edge cases where SideStore could crash and instead return an error, retry on -45061
amsam0 added a commit that referenced this pull request May 20, 2023
lonkelle and others added 5 commits May 24, 2023 03:53
Signed-off-by: Joelle Stickney <joellestickney+commit@gmail.com>
Co-authored-by: JoeMatt <mail@joemattiello.com>

Signed-off-by: Joelle Stickney <joellestickney+commit@gmail.com>
Co-authored-by: Joe Mattiello <mail@joemattiello.com>

Signed-off-by: Joelle Stickney <joellestickney+commit@gmail.com>
Co-authored-by: Joe Mattiello <mail@joemattiello.com>
Co-authored-by: Joe Mattiello <mail@joemattiello.com>
@mahee96
mahee96 force-pushed the develop branch 11 times, most recently from 47c89f9 to eb0e132 Compare February 10, 2025 08:23
@mahee96
mahee96 force-pushed the develop branch 3 times, most recently from cb5308e to 136f07e Compare February 26, 2025 17:02
@mahee96
mahee96 force-pushed the develop branch 8 times, most recently from 9a5b9c4 to 3961688 Compare February 24, 2026 07:35
@SideStore-Bot
SideStore-Bot deleted the Sidekit-jit-implementation branch April 24, 2026 19:52
@SideStore-Bot
SideStore-Bot restored the Sidekit-jit-implementation branch April 24, 2026 20:12
@SideStore-Bot SideStore-Bot reopened this Apr 24, 2026
@SternXD SternXD added the Needs Rebase This needs a Rebase. label Jun 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Enhancement New feature or request Help Wanted Extra attention is needed Needs Rebase This needs a Rebase. QoL Quality of life improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.