A tweak that enables background audio playback for YouTube on iOS 6.
- Background Playback — Keep YouTube audio playing when you lock the screen or switch to another app
- Audio Session Override — Forces
AVAudioSessionCategoryPlaybackto prevent iOS from killing audio - Compatible with both iPhone and iPad
| Item | Requirement |
|---|---|
| Device | iPhone / iPod Touch / iPad (armv7) |
| iOS | 6.0 – 6.1.6 |
| Jailbreak | Any (Cydia / MobileSubstrate required) |
| YouTube | 1.0.0 – 1.3.0 |
| MobileSubstrate | 0.9.6+ |
- Install ipa from veteris ( repo : yzu.moe/dev ) and tuberplacer (repo: cydia.preloading.dev)
- Add the repo : tuanemss.github.io/repo
- Search for YTBackground
- Install and respring
# Copy .deb to device
scp -P 2222 com.tuanem.ytbackground_1.1_iphoneos-arm.deb root@<device-ip>:/tmp/
# Install on device
ssh root@<device-ip>
dpkg -i /tmp/com.tuanem.ytbackground_1.1_iphoneos-arm.deb
killall -9 SpringBoard- macOS with Xcode 13
- Theos
- iPhoneOS 6.1 SDK (place at
/opt/theos/sdks/iPhoneOS6.1.sdk)
# Clone / download source
cd YTBackgroundTweak
# Build release package
make clean && SYSROOT=/opt/theos/sdks/iPhoneOS6.1.sdk make package FINALPACKAGE=1YouTube 1.x on iOS 6 pauses audio when the app enters the background. This tweak intercepts multiple layers of the audio pipeline to prevent this:
AVPlayerhooks — BlockspauseandsetRate:0calls during background transitionYTPlayer/YTPlayerControllerhooks — BlocksappDidEnterBackgroundandappWillResignActiveGIPAudioControllerhooks — Overrides audio session category toPlaybackAVAudioSessionhook — BlockssetActive:NOcallsAudioSessionSetActive(C-level) — Hooks the legacy C API viaMSHookFunction- Poll Timer — Periodically re-activates audio session after background transition
NSBundlehook — InjectsUIBackgroundModes = [audio]at runtime for the main bundle only
- Fixed keyboard conflict (Vietnamese input now works correctly)
- Fixed
NSBundlehook scoped to main bundle only - fix info.plist from tweak , no need ipa patched
- Improved stability
- Initial release
- Background playback for iPhone / iPod Touch
- iPad support via
YTPlayerScreenControllerhooks
- no
© 2026 Tuanem. All rights reserved.
This tweak is provided as-is for personal use only.