Android: runtime-загрузка auth и подключение функций osu!oss #1

Open
Meyblow22 wants to merge 76909 commits from Meyblow22/osu-oss:android-runtime-auth into master
Member

Android-проект существовал, но не подключал auth и дополнительные подсистемы форка. Изменение инициализирует официальный auth-модуль, скрипты, события и палитру команд на Android.

Проприетарные файлы получаются только в рантайме: из соответствующего официального APK извлекается managed auth через ELF assembly store v3/LZ4. До завершения загрузки подписание отключено; модуль загружается при следующем запуске. При ошибке Android не переключается на неподдерживаемый desktop native signer.

Пакет fun.ruject.osuoss устанавливается рядом с официальным клиентом. Версия отображения содержит -lazer, как официальный релиз: строка версии участвует в подписании запросов. Консоль и палитра доступны через настройки без физической клавиатуры. Trimming отключён для поддержки reflection и runtime-загрузки.

Общий desktop provisioning также извлекает managed auth в рантайме, вместо включения проприетарной DLL в сборку. Перенос Windows-хранилища и другие установочные Windows-изменения в этот патч не входят.

Проверки: Release APK собирается; 15 тестов извлечения ELF/store проходят; добавлен проект тестов в фильтр решения для CI. На ARM64 Android 17 с 4-КБ страницами проверены запуск, runtime-загрузка и загрузка модуля из кеша. Содержимое APK проверено: включён исходный открытый auth-модуль, проприетарного модуля в нём нет.

Ограничения: успешная отправка нового результата и multiplayer ещё не подтверждены. Сохраняется upstream XA0141 для libveldrid-spirv.so на устройствах с 16-КБ страницами.

Дополнительная проверка стиля: InspectCode не удалось запустить — Windows блокирует неподписанный скрипт и dotnet-tools.json с меткой загрузки из интернета. Полный анализ стиля не выполнен.

Изменения и описание подготовлены с помощью Codex (AI).

Android-проект существовал, но не подключал auth и дополнительные подсистемы форка. Изменение инициализирует официальный auth-модуль, скрипты, события и палитру команд на Android. Проприетарные файлы получаются только в рантайме: из соответствующего официального APK извлекается managed auth через ELF assembly store v3/LZ4. До завершения загрузки подписание отключено; модуль загружается при следующем запуске. При ошибке Android не переключается на неподдерживаемый desktop native signer. Пакет fun.ruject.osuoss устанавливается рядом с официальным клиентом. Версия отображения содержит -lazer, как официальный релиз: строка версии участвует в подписании запросов. Консоль и палитра доступны через настройки без физической клавиатуры. Trimming отключён для поддержки reflection и runtime-загрузки. Общий desktop provisioning также извлекает managed auth в рантайме, вместо включения проприетарной DLL в сборку. Перенос Windows-хранилища и другие установочные Windows-изменения в этот патч не входят. Проверки: Release APK собирается; 15 тестов извлечения ELF/store проходят; добавлен проект тестов в фильтр решения для CI. На ARM64 Android 17 с 4-КБ страницами проверены запуск, runtime-загрузка и загрузка модуля из кеша. Содержимое APK проверено: включён исходный открытый auth-модуль, проприетарного модуля в нём нет. Ограничения: успешная отправка нового результата и multiplayer ещё не подтверждены. Сохраняется upstream XA0141 для libveldrid-spirv.so на устройствах с 16-КБ страницами. Дополнительная проверка стиля: InspectCode не удалось запустить — Windows блокирует неподписанный скрипт и dotnet-tools.json с меткой загрузки из интернета. Полный анализ стиля не выполнен. Изменения и описание подготовлены с помощью Codex (AI).
feat(android): enable osu!oss with runtime-only auth provisioning
Some checks failed
_diffcalc_processor.yml / feat(android): enable osu!oss with runtime-only auth provisioning (pull_request) Failing after 0s
Continuous Integration / Code Quality (pull_request) Blocked by required conditions
Continuous Integration / Test (pull_request) Blocked by required conditions
Continuous Integration / Test-1 (pull_request) Blocked by required conditions
Continuous Integration / Test-2 (pull_request) Blocked by required conditions
Continuous Integration / Test-3 (pull_request) Blocked by required conditions
Continuous Integration / Test results (pull_request) Blocked by required conditions
Continuous Integration / Build only (Android) (pull_request) Blocked by required conditions
Continuous Integration / Build only (iOS) (pull_request) Blocked by required conditions
2ca1eec257
rus07tam referenced this pull request from a commit 2026-10-27 17:55:58 +03:00
rus07tam referenced this pull request from a commit 2026-10-27 17:55:59 +03:00
Some checks failed
_diffcalc_processor.yml / feat(android): enable osu!oss with runtime-only auth provisioning (pull_request) Failing after 0s
Continuous Integration / Code Quality (pull_request) Blocked by required conditions
Continuous Integration / Test (pull_request) Blocked by required conditions
Continuous Integration / Test-1 (pull_request) Blocked by required conditions
Continuous Integration / Test-2 (pull_request) Blocked by required conditions
Continuous Integration / Test-3 (pull_request) Blocked by required conditions
Continuous Integration / Test results (pull_request) Blocked by required conditions
Continuous Integration / Build only (Android) (pull_request) Blocked by required conditions
Continuous Integration / Build only (iOS) (pull_request) Blocked by required conditions
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • .gitignore
  • Directory.Build.props
  • README.md
  • flake.nix
  • osu.Android.props
  • osu.Android.slnf
  • osu.Android/AndroidManifest.xml
  • osu.Android/OsuGameAndroid.cs
  • osu.Android/osu.Android.csproj
  • osu.Desktop.slnf
  • osu.Desktop/DiscordRichPresence.cs
  • osu.Desktop/NVAPI.cs
  • osu.Desktop/OsuGameDesktop.cs
  • osu.Desktop/Program.cs
  • osu.Desktop/Updater/VelopackUpdateManager.cs
  • osu.Desktop/Windows/Icons.cs
  • osu.Desktop/Windows/WindowsAssociationManager.cs
  • osu.Desktop/osu.Desktop.csproj
  • osu.Desktop/osu.nuspec
  • osu.Game.API.UI/Commands/CommandListEntry.cs
  • osu.Game.API.UI/Commands/CommandPaletteBootstrap.cs
  • osu.Game.API.UI/Scripting/Components/ScriptOutputConsole.cs
  • osu.Game.API.UI/Scripting/Editor/ScriptDocument.cs
  • osu.Game.API.UI/Scripting/Editor/ScriptEditor.cs
  • osu.Game.API.UI/Scripting/ScriptingBootstrap.cs
  • osu.Game.API.UI/Scripting/ScriptingColours.cs
  • osu.Game.API.UI/Scripting/ScriptingConsoleOverlay.cs
  • osu.Game.API/Commands/CommandBinder.cs
  • osu.Game.API/Commands/CommandBootstrap.cs
  • osu.Game.API/Commands/CommandBuilder.cs
  • osu.Game.API/Commands/CommandCompletionService.cs
  • osu.Game.API/Commands/CommandInvocation.cs
  • osu.Game.API/Commands/CommandValueConverter.cs
  • osu.Game.API/Commands/Syntax/CommandValueParser.cs
  • osu.Game.API/Events/OsuEventBootstrap.cs
  • osu.Game.API/Scripting/Api/Providers/ConfigApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/ConsoleApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/CoreApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/EventsApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/InternalApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/MusicApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/NotificationApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/SchedulerApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/StorageApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/UiApiProvider.cs
  • osu.Game.API/Scripting/Api/Providers/UtilityApiProvider.cs
  • osu.Game.API/Scripting/Api/ScriptApiBuilder.cs
  • osu.Game.API/Scripting/Api/ScriptApiContext.cs
  • osu.Game.API/Scripting/Api/ScriptServices.cs
  • osu.Game.API/Scripting/ScreenEventBridge.cs
  • osu.Game.API/Scripting/ScriptEngineFactory.cs
  • osu.Game.API/Scripting/ScriptEventBus.cs
  • osu.Game.API/Scripting/ScriptInstance.cs
  • osu.Game.API/Scripting/ScriptLocator.cs
  • osu.Game.API/Scripting/ScriptManager.cs
  • osu.Game.API/Scripting/ScriptRepository.cs
  • osu.Game.API/Scripting/ScriptRunner.cs
  • osu.Game.API/Scripting/ScriptStorage.cs
  • osu.Game.API/Scripting/ScriptingLoader.cs
  • osu.Game.API/osu.Game.API.csproj
  • osu.Game.Auth.Supervisor/Program.cs
  • osu.Game.Auth.Supervisor/RangeTable.cs
  • osu.Game.Auth.Supervisor/osu.Game.Auth.Supervisor.csproj
  • osu.Game.Auth/Isolation/LinuxSeccompBackend.cs
  • osu.Game.Auth/Isolation/WindowsIatBackend.cs
  • osu.Game.Auth/Loader.cs
  • osu.Game.Auth/Provisioning/OfficialFileCache.cs
  • osu.Game.Auth/Provisioning/OfficialFilesDownloader.cs
  • osu.Game.Auth/Redirect/NativeEnvironment.cs
  • osu.Game.Auth/Redirect/RedirectBootstrap.cs
  • osu.Game.Auth/Redirect/RedirectShim.cs
  • osu.Game.Auth/Redirect/native/AuthRedirectShim.targets
  • osu.Game.Auth/Transplant/TransplantSigner.cs
  • osu.Game.Auth/osu.Game.Auth.csproj
  • osu.Game.Tests.Android/osu.Game.Tests.Android.csproj
  • osu.Game.Tests.iOS/osu.Game.Tests.iOS.csproj
  • osu.Game.Tests/API/Commands/CommandBinderTest.cs
  • osu.Game.Tests/API/Commands/CommandSuggestionTest.cs
  • osu.Game.Tests/API/Commands/FuzzyMatcherTest.cs
  • osu.Game.Tests/API/Scripting/ScriptApiProviderTest.cs
  • osu.Game.Tests/API/Scripting/ScriptLocatorTest.cs
  • osu.Game.Tests/API/Scripting/ScriptStorageTest.cs
  • osu.Game.Tests/API/Scripting/ScriptingRuntimeTest.cs
  • osu.Game.Tests/Chat/MessageFormatterTests.cs
  • osu.Game.Tests/Database/BeatmapImporterTests.cs
  • osu.Game.Tests/ImportTest.cs
  • osu.Game.Tests/NonVisual/CustomDataDirectoryTest.cs
  • osu.Game.Tests/NonVisual/Theming/ThemeManagerTest.cs
  • osu.Game.Tests/Visual/Menus/TestSceneMainMenu.cs
  • osu.Game.Tests/Visual/Menus/TestSceneToolbar.cs
  • osu.Game.Tests/Visual/Online/TestSceneMessageNotifier.cs
  • osu.Game.Tests/Visual/Online/TestSceneWikiMarkdownContainer.cs
  • osu.Game.Tests/Visual/Playlists/TestScenePlaylistsLoungeSubScreen.cs
  • osu.Game.Tests/Visual/Playlists/TestScenePlaylistsRoomSubScreen.cs
  • osu.Game.Tests/Visual/Settings/TestSceneSettingsPanel.cs
  • osu.Game.Tests/Visual/SongSelect/BeatmapCarouselFilterSortingTest.cs
  • osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapTitleWedge.cs
  • osu.Game.Tests/Visual/SongSelect/TestScenePanelBeatmap.cs
  • osu.Game.Tests/Visual/SongSelect/TestScenePanelBeatmapStandalone.cs
  • osu.Game.Tests/Visual/SongSelect/TestScenePanelSet.cs
  • osu.Game.Tests/Visual/UserInterface/TestSceneButtonsInput.cs
  • osu.Game.Tests/Visual/UserInterface/TestSceneNotificationOverlay.cs
  • osu.Game.Tests/Visual/UserInterface/TestSceneScreenFooter.cs
  • osu.Game.Tournament/TournamentGameBase.cs
  • osu.Game/Audio/PreviewTrackManager.cs
  • osu.Game/Beatmaps/BeatmapInfoExtensions.cs
  • osu.Game/Beatmaps/BeatmapManager.cs
  • osu.Game/Beatmaps/BeatmapSetInfoExtensions.cs
  • osu.Game/Beatmaps/BeatmapUpdater.cs
  • osu.Game/Beatmaps/BeatmapUpdaterMetadataLookup.cs
  • osu.Game/Beatmaps/LocalCachedBeatmapMetadataSource.cs
  • osu.Game/Configuration/OsuConfigManager.cs
  • osu.Game/Configuration/SpecialConfigManager.cs
  • osu.Game/Database/BackgroundDataStoreProcessor.cs
  • osu.Game/Graphics/Backdrops/GlassBackdrop.cs
  • osu.Game/Graphics/Backdrops/IBackdropProvider.cs
  • osu.Game/Graphics/OnlineAssetCachingStore.cs
  • osu.Game/Graphics/UserInterface/ShearedButton.cs
  • osu.Game/IO/OsuStorage.cs
  • osu.Game/IO/SpecialStorage.cs
  • osu.Game/Localisation/Language.cs
  • osu.Game/Localisation/NotificationsStrings.cs
  • osu.Game/Localisation/OnlineSettingsStrings.cs
  • osu.Game/Localisation/WindowsAssociationManagerStrings.cs
  • osu.Game/Online/API/APIAccess.cs
  • osu.Game/Online/API/APIRequest.cs
  • osu.Game/Online/API/DummyAPIAccess.cs
  • osu.Game/Online/API/IAPIProvider.cs
  • osu.Game/Online/API/Requests/PatchBeatmapPackageRequest.cs
  • osu.Game/Online/API/Requests/PutBeatmapSetRequest.cs
  • osu.Game/Online/API/Requests/ReplaceBeatmapPackageRequest.cs
  • osu.Game/Online/Chat/ExternalLinkOpener.cs
  • osu.Game/Online/Chat/MessageFormatter.cs
  • osu.Game/Online/Chat/NowPlayingCommand.cs
  • osu.Game/Online/Leaderboards/LeaderboardScore.cs
  • osu.Game/Online/Matchmaking/MatchmakingLobbyStatus.cs
  • osu.Game/Online/Metadata/OnlineMetadataClient.cs
  • osu.Game/Online/Multiplayer/MultiplayerClientExtensions.cs
  • osu.Game/Online/Multiplayer/OnlineMultiplayerClient.cs
  • osu.Game/Online/Rooms/RoomExtensions.cs
  • osu.Game/Online/Spectator/OnlineSpectatorClient.cs
  • osu.Game/OsuGame.cs
  • osu.Game/OsuGameBase.cs
  • osu.Game/Overlays/Comments/DrawableComment.cs
  • osu.Game/Overlays/Login/LoginForm.cs
  • osu.Game/Overlays/Login/SecondFactorAuthForm.cs
  • osu.Game/Overlays/Profile/Header/BottomHeaderContainer.cs
  • osu.Game/Overlays/Profile/Header/Components/DrawableTournamentBanner.cs
  • osu.Game/Overlays/Profile/Header/TopHeaderContainer.cs
  • osu.Game/Overlays/Profile/Sections/Recent/DrawableRecentActivity.cs
  • osu.Game/Overlays/Settings/Sections/DebugSection.cs
  • osu.Game/Overlays/Settings/Sections/DebugSettings/MemorySettings.cs
  • osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs
  • osu.Game/Overlays/Settings/Sections/SpecialSection.cs
  • osu.Game/Overlays/Settings/Sections/UserInterface/MainMenuSettings.cs
  • osu.Game/Overlays/Settings/SettingsFooter.cs
  • osu.Game/Overlays/Toolbar/Toolbar.cs
  • osu.Game/Overlays/Toolbar/ToolbarButton.cs
  • osu.Game/Overlays/Toolbar/ToolbarClock.cs
  • osu.Game/Overlays/Toolbar/ToolbarMusicButton.cs
  • osu.Game/Overlays/Toolbar/ToolbarRulesetTabButton.cs
  • osu.Game/Overlays/Toolbar/ToolbarUserButton.cs
  • osu.Game/Overlays/Wiki/WikiPanelContainer.cs
  • osu.Game/Overlays/WikiOverlay.cs
  • osu.Game/Rulesets/UI/ModIcon.cs
  • osu.Game/Rulesets/UI/ModSwitchSmall.cs
  • osu.Game/Rulesets/UI/ModSwitchTiny.cs
  • osu.Game/Screens/Backgrounds/BackgroundScreenDefault.cs
  • osu.Game/Screens/Edit/Editor.cs
  • osu.Game/Screens/Edit/Submission/BeatmapSubmissionScreen.cs
  • osu.Game/Screens/Edit/Submission/ScreenFrequentlyAskedQuestions.cs
  • osu.Game/Screens/Footer/ScreenFooter.cs
  • osu.Game/Screens/Footer/ScreenFooterButton.cs
  • osu.Game/Screens/Footer/ScreenFooterContent.cs
  • osu.Game/Screens/Footer/ScreenStackFooter.cs
  • osu.Game/Screens/Menu/IntroScreen.cs
  • osu.Game/Screens/Menu/IntroWelcome.cs
  • osu.Game/Screens/Menu/MenuLogoVisualisation.cs
  • osu.Game/Screens/Menu/MenuSideFlashes.cs
  • osu.Game/Screens/OnlinePlay/Lounge/LoungeSubScreen.cs
  • osu.Game/Screens/OnlinePlay/Playlists/PlaylistsRoomFooter.cs
  • osu.Game/Screens/Play/Player.cs
  • osu.Game/Screens/Play/PlayerLoader.cs
  • osu.Game/Screens/Play/SubmittingPlayer.cs
  • osu.Game/Screens/Select/BeatmapCarousel.cs
  • osu.Game/Screens/Select/BeatmapCarouselFilterSorting.cs
  • osu.Game/Screens/Select/BeatmapLeaderboardScore.cs
  • osu.Game/Screens/Select/BeatmapTitleWedge.cs
  • osu.Game/Screens/Select/Panel.cs
  • osu.Game/Screens/Select/PanelBeatmap.cs
  • osu.Game/Screens/Select/PanelBeatmapSet.cs
  • osu.Game/Screens/Select/PanelBeatmapStandalone.cs
  • osu.Game/Screens/Select/SongSelect.cs
  • osu.Game/Tests/OsuTestBrowser.cs
  • osu.Game/Tests/Visual/OnlinePlay/OnlinePlayTestScene.cs
  • osu.Game/Tests/Visual/OsuGameTestScene.cs
  • osu.Game/Tests/Visual/OsuTestScene.cs
  • osu.Game/Theming/ThemeColourExpression.cs
  • osu.Game/Theming/ThemeManager.cs
  • osu.Game/Theming/ThemeSnapshot.cs
  • osu.Game/Updater/UpdateManager.cs
  • osu.Game/Users/Drawables/ClickableTeamFlag.cs
  • osu.Game/osu.Game.csproj
  • osu.iOS.props
  • osu.iOS/osu.iOS.csproj
  • osu.sln
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u android-runtime-auth:Meyblow22-android-runtime-auth
git switch Meyblow22-android-runtime-auth

Merge

Merge the changes and update on Forgejo.
git switch master
git merge --no-ff Meyblow22-android-runtime-auth
git switch Meyblow22-android-runtime-auth
git rebase master
git switch master
git merge --ff-only Meyblow22-android-runtime-auth
git switch Meyblow22-android-runtime-auth
git rebase master
git switch master
git merge --no-ff Meyblow22-android-runtime-auth
git switch master
git merge --squash Meyblow22-android-runtime-auth
git switch master
git merge --ff-only Meyblow22-android-runtime-auth
git switch master
git merge Meyblow22-android-runtime-auth
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RuJect/osu-oss!1
No description provided.