TrollStore icon indicating copy to clipboard operation
TrollStore copied to clipboard

Unable to open app. "Restrictions Enabled, certain apps or features can’t be seen or used when restrictions are on"

Open qosmio opened this issue 1 year ago • 21 comments

No Duplicates Issue

  • [X] I'm sure I've searched on the issue tracker before creating one.

Expected Behavior?

App icon should appear in springboard after refreshing uncache. App should open without receiving "Restrictions" warning.

Current Behavior?

Installed YouTube IPA (uYouPlus). Was in the process of enabling options in the app, it ended up crashing. I was unable to open it or even find the icon after that. Tried running the "rebuild icon cache" option, "respring", still no icon.

After wiping the app in Trollstore, and installing from App store, I still am unable to find the icon. If try to open from the app store i receive the error:

"Restrictions Enabled, certain apps or features can’t be seen or used when restrictions are on" 

I've tried to manually wipe traces using Filza as well, running in a jailed and unjailed state.

Several users reported on reddit as well.

1.) [Help] Installed an app using trollstore then uninstalled it after breaking some of it and now I can’t use it at all even if I try to install using AppStore or trollstore or filza

2.) How can I resolve the issue , the InShot app was working fine before , I tried with TrollStore , then it happened , and tried by removing app, reinstalling and with Filza , same

Screenshot

Possible Solution?

Steps to Reproduce

TrollStore Version

1.2

iOS/iPadOS version

14.6

iDevice Model

iPhone 11 Pro Max

Other info of your environment

macOS 12.6, unc0ver (unc0ver Trollstore launcher)

qosmio avatar Oct 17 '22 07:10 qosmio

You say you installed uYouPlus but your screenshot says InShot, what now? Are App Store downloads completely broken?

This sounds weird, no idea what could cause this. Try going to /var/containers/Bundle/Application in Filza, if you can find the app name there, delete the folder and then refresh icon cache.

opa334 avatar Oct 17 '22 17:10 opa334

Apologies the screenshot was from the Reddit post. I didn’t have a screenshot of the one for YouTube. I can take one one as well. Let me try deleting the app through Filza again.

qosmio avatar Oct 17 '22 19:10 qosmio

This was the IPA https://github.com/qnblackcat/uYouPlus/releases/download/v17.40.5-2.1/uYouPlus_17.40.5_2.1.ipa

After initially deleting from TrollStore, I was actually unable to install it through TrollStore a subsequent time. I could only install it from the App Store, but failed to open.

I’m not near the device currently. It belongs to a relative of mine, but will update with more screenshots and logs when they return later this evening.

qosmio avatar Oct 17 '22 19:10 qosmio

App Store Error Error

Error opening in TrollStore (uYouPlus IPA) 1B985251-3495-4C3C-88DF-37228FAF6DD7

Error opening in TrollStore (OLED tweaked YouTube) 1AF2053B-2ED1-458C-9ADC-3BF31AAA244A

TrollStore updated to 1.2.1 0AB88450-6520-42F0-BAD7-7E2B2F286670

Tried the following again, with no success.

1.) Uninstalling through Filza, and reinstalling in jailed mode from the App Store. 2.) Rebooting into jailed mode, reinstalling through TS. 3.) Refreshing uicache 4.) Running persistence helper through Tips. 5.) Installing AppSync to test in JB mode, and installing through App Store and TrollStore. 6.) Opening from NewTerm with “open” utility.

open com.google.ios.youtube

Immediately aborts “reason code 8” 7.) Verified TrollStore is able to install other apps. Tested with SoundCloud and it opens. 8.) Tried multiple IPAs of YoutTube (uYouPlus, OLED, generating custom IPA from another device with Frida IPA dumper (the final IPA had no tweaks injected) 9.) Deleting all traces of com.google.ios.youtube from keychain-2.db.

DELETE FROM genp WHERE agrp like '%com.google.ios.youtube%

10.) Running iCleaner and respiringing throughout the whole endeavor.

Not sure what else to try. In every instance I’ve been unable to see the icon as well. I have confirmed that screen time restrictions are disabled.

qosmio avatar Oct 18 '22 04:10 qosmio

Same exact problem

iOS 14.4 on unc0ver

So I was playing around with an app's bundle ID and I broke it somewhat and I uninstalled it, the app was installed through trollstore

So after I uninstalled it I reinstalled it and tried opening it from trollstore, it says unable to open com.bundleidoftheapp

I uninstalled it through Filza and tried reinstalling it from the AppStore and it doesn't show up in the homescreen, I tried opening it through NewTerm using "open" and I get error message 8

I tried opening through AppStore and I get the message "Restrictions Enabled, certain apps or features can’t be seen or used when restrictions are on"

I tried disabling screentime daemon and nothing works

Any help would be appreciated

combustor avatar Oct 18 '22 11:10 combustor

i tested this for myself and it works fine for me out of the box

i’m using an iPad Mini 5 on iOS 14.8 (no jailbreaks)

TheOrbOfDestiny avatar Oct 19 '22 11:10 TheOrbOfDestiny

i tested this for myself and it works fine for me out of the box

i’m using an iPad Mini 5 on iOS 14.8 (no jailbreaks)

What exactly did you test?

combustor avatar Oct 19 '22 11:10 combustor

@TheOrbOfDestiny

I don’t believe this is specific to the YouTube IPA. Because it worked fine on my other devices, running 14.6 iPad (not JB), 15.4 iPhone.

The app opened up the first time I installed it, only to crash a few minutes later and then failed to open properly after that.

@combustor

Are you able to verify it opens if you change the bubdleid of the IPA with Azule?

qosmio avatar Oct 19 '22 20:10 qosmio

If anyone affected has a Mac, please use Console.log to view the logs of the device, enter the affected app name in the top right search bar, then try to download it from App Store (when the restrictions error appears) and send me the logs here. Granted this is most definitely a stock issue though, probably some cache is invalid.

opa334 avatar Oct 19 '22 20:10 opa334

@combustor

Are you able to verify it opens if you change the bubdleid of the IPA with Azule?

Yep it does open and work normally if I change the bundleid with azule

If anyone affected has a Mac

I unfortunately don't

combustor avatar Oct 19 '22 21:10 combustor

@combustor

Yep it does open and work normally if I change the bundleid with azule

That's what I suspected would happen as well. Haven't been able to test this myself yet. Waiting to meet my relative later this week.

@opa334 If anyone affected has a Mac, please use Console.log to view the logs of the device

@combustor I unfortunately don't

You should be able to use Sideloadly. Granted the screenshot is on my Mac, the features should be available in the Windows version. It was when Cydia Impactor was around. Screen Shot 2022-10-19 at 6 47 55 PM

qosmio avatar Oct 19 '22 22:10 qosmio

Yes that's true, Sideloadly / Cydia Impactor will work on Windows too

opa334 avatar Oct 20 '22 07:10 opa334

You should be able to use Sideloadly. Granted the screenshot is on my Mac, the features should be available in the Windows version. It was when Cydia Impactor was around.

I currently can't use my PC but I found a package named "oslog" and I'm guessing it's pretty much the same output

Here's the result of oslog | grep Launch when trying to launch the app from the AppStore Logs

I can upload the full log when installing the game but I would rather privately message it to @opa334

combustor avatar Oct 20 '22 07:10 combustor

This error message is printed in -[SBMainWorkspace _validateRequestToOpenApplication:options:origin:error:] when -[SpringBoard isBundleIdentifierRestrictionDisabled:] returns YES.

That calls out to -[SBApplicationRestrictionController isApplicationIdentifierRestricted:], which checks if the _restrictedIdentifiers ivar of SBApplicationRestrictionController contains the bundle id in question.

This leads me to believe that the system thinks the app is actually restricted (and not some other edge case creating a false positive).

Please check the screen time settings on your device, as you can see in this video https://www.youtube.com/watch?v=qEIVqg3aoVI when apps are restricted, they also will not show up on the home screen.

As to how any of this would be triggered by TrollStore, I have no idea.

opa334 avatar Oct 20 '22 17:10 opa334

Please check the screen time settings on your device, as you can see in this video https://www.youtube.com/watch?v=qEIVqg3aoVI when apps are restricted, they also will not show up on the home screen.

As to how any of this would be triggered by TrollStore, I have no idea.

I already have checked it and screentime isn't even on, turned it on, made the app one of the allowed apps and it still didn't show up

Is there a way to delete those restrictions manually like through Filza?

combustor avatar Oct 20 '22 19:10 combustor

I looked into it some more and if I'm not completely wrong then the settings related to restrictions should be in /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/UserSettings.plist. Please send me the file first, afterwards you can try deleting it and then reboot.

opa334 avatar Oct 20 '22 19:10 opa334

I looked into it some more and if I'm not completely wrong then the settings related to restrictions should be in /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/UserSettings.plist. Please send me the file first, afterwards you can try deleting it and then reboot.

I searched everywhere in that plist and found nothing related to my app Here's the plist

combustor avatar Oct 20 '22 19:10 combustor

Yeah idk I can't see anything either. Maybe try deleting everything in that ConfigurationProfiles folder, otherwise the only other file that I saw had some involvement was /var/mobile/Library/Preferences/com.apple.springboard.plist. If deleting all of these and rebooting doesn't work, idk what else to try :/.

opa334 avatar Oct 20 '22 20:10 opa334

Yeah idk I can't see anything either. Maybe try deleting everything in that ConfigurationProfiles folder, otherwise the only other file that I saw had some involvement was /var/mobile/Library/Preferences/com.apple.springboard.plist. If deleting all of these and rebooting doesn't work, idk what else to try :/.

Solved!

I did a bit of searching in the same folder and found the BID of the app in ClientTruth.plist and I deleted the entry, rebooted and now it works! Here's the file before the modification ClientTruth.plist Thank you for your help!

combustor avatar Oct 20 '22 20:10 combustor

This is great news! I will try the same later this evening. Thank you both!

On Oct 20, 2022, at 4:10 PM, combustor @.***> wrote:

 Yeah idk I can't see anything either. Maybe try deleting everything in that ConfigurationProfiles folder, otherwise the only other file that I saw had some involvement was /var/mobile/Library/Preferences/com.apple.springboard.plist. If deleting all of these and rebooting doesn't work, idk what else to try :/.

Solved!

I did a bit of searching in the same folder and found the BID of the app in ClientTruth.plist and I deleted the entry, rebooted and now it works! Here's the file before the modification ClientTruth.plist Thank you for your help!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

qosmio avatar Oct 20 '22 20:10 qosmio

Writing to confirm that after removing the key com.google.ios.youtube from ClientTruth.plist, I was able to reinstall through TrollStore and it opened up without issue.

Steps for those who might come across this post.

Pre-reqs

Jailbroken 1.) Download Filza

Non-Jailbroken (UNTESTED) 1.) Download Filza for TrollStore

Both

1.) In Filza , navigate to: /var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles 2.) Open file ClientTruth.plist 3.) Locate and delete the bundle id of the app in:

com.apple.lsd.appremoval:
 clientRestrictions:
  union:
   removedSystemAppBundleIDs:
     values:

4.) Save, and reboot.

It should install/open after that.

qosmio avatar Oct 23 '22 03:10 qosmio