Cannathea / afc2d-arm64

Allow full file-system access over USB for all arm64 devices, especially useful for those on iOS 11 and above.
https://cydia.akemi.ai/?page/com.cannathea.afc2d-arm64
GNU General Public License v3.0
198 stars 32 forks source link

Missing directories on rootless (Dopamine 2) #24

Open theXappy opened 7 months ago

theXappy commented 7 months ago

Hey I'm using version 1.2.0. My iOS version in iOS 16.5 and jailbroken with Dopamine 2.0.9 (latest).

I installed Filza on my phone and when I use it I see more folders in: /private/var/mobile/Library Compared to AFC2 (using 3u tools). You can see the difference in those 2 screenshots from Filza and from 3u (AFC2): filza 3u

Maybe Filza has more entitlements than the AFC 2 service. I ran ldid -e /private/var/jb/Application/Filza.app/Filza and got this, if it helps:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>platform-application</key>
    <true/>
    <key>com.apple.security.exception.mach-lookup.global-name</key>
    <array>
        <string>com.tigisoftware.filza.helper.xpc</string>
        <string>com.apple.lsd.modifydb</string>
        <string>com.apple.mediaartworkd.xpc</string>
        <string>com.apple.coremedia</string>
        <string>com.apple.medialibraryd.xpc</string>
    </array>
    <key>com.apple.security.iokit-user-client-class</key>
    <array>
        <string>IOSurfaceRootUserClient</string>
        <string>AGXDeviceUserClient</string>
    </array>
    <key>com.apple.security.exception.files.absolute-path.read-write</key>
    <array>
        <string>/</string>
    </array>
    <key>com.apple.private.coreservices.canmaplsdatabase</key>
    <true/>
    <key>com.apple.private.skip-library-validation</key>
    <true/>
    <key>dynamic-codesigning</key>
    <true/>
    <key>application-identifier</key>
    <string>com.tigisoftware.Filza</string>
    <key>com.apple.AutoWake-write-access</key>
    <true/>
    <key>com.apple.private.tcc.manager</key>
    <true/>
    <key>com.apple.private.tcc.allow</key>
    <array>
        <string>kTCCServiceMediaLibrary</string>
    </array>
    <key>com.apple.SystemConfiguration.SCDynamicStore-write-access</key>
    <true/>
    <key>com.apple.avfoundation.allow-still-image-capture-shutter-sound-manipulation</key>
    <true/>
    <key>com.apple.coreaudio.allow-amr-decode</key>
    <true/>
    <key>com.apple.coreaudio.allow-speex-codec</key>
    <true/>
    <key>com.apple.coremedia.allow-protected-content-playback</key>
    <true/>
    <key>com.apple.lsapplicationworkspace.rebuildappdatabases</key>
    <true/>
    <key>com.apple.private.MobileContainerManager.allowed</key>
    <true/>
    <key>com.apple.mediastream.mstreamd-access</key>
    <true/>
    <key>com.apple.messages.composeclient</key>
    <true/>
    <key>com.apple.mobile.deleted.AllowFreeSpace</key>
    <true/>
    <key>com.apple.private.network.socket-delegate</key>
    <true/>
    <key>com.apple.itunesstored.private</key>
    <true/>
    <key>com.apple.multitasking.systemappassertions</key>
    <true/>
    <key>com.apple.security.assets.music.read-write</key>
    <true/>
    <key>com.apple.multitasking.termination</key>
    <true/>
    <key>com.apple.SystemConfiguration.SCPreferences-write-access</key>
    <true/>
    <key>checklessPersistentURLTranslation</key>
    <true/>
    <key>com.apple.private.security.container-manager</key>
    <true/>
    <key>com.apple.private.security.storage.AppDataContainers</key>
    <true/>
    <key>com.apple.private.security.storage.Photos</key>
    <true/>
    <key>com.apple.private.security.storage.AppBundles</key>
    <true/>
    <key>com.apple.private.mobileinstall.allowedSPI</key>
    <array>
        <string>Install</string>
        <string>Uninstall</string>
        <string>UninstallForLaunchServices</string>
        <string>SetCapabilities</string>
        <string>Lookup</string>
        <string>InstallForLaunchServices</string>
        <string>CopyInstalledAppsForLaunchServices</string>
        <string>UpdateSinfForLaunchServices</string>
        <string>InstallLocalProvisioned</string>
        <string>CopyDiskUsageForLaunchServices</string>
        <string>CheckCapabilitiesMatch</string>
        <string>Browse</string>
    </array>
    <key>com.apple.security.application-groups</key>
    <array>
        <string>com.tigisoftware.sharedfiles</string>
    </array>
</dict>
</plist>

Thanks for any help. I appreciate your work!

ichitaso commented 7 months ago

This shows up fine for rootful; For rootless, adding Filza's elements does not load. 01