leminlimez / CowabungaLite

iOS 15+ Customization Toolbox
GNU General Public License v3.0
848 stars 41 forks source link

Can't remove profiles #43

Open augustobob opened 1 year ago

augustobob commented 1 year ago

I believe this is caused by the supervision option, I always used my phone supervised and after applied cowabunga lite first time without checking the option it disabled my supervision so I checked again and updated. After that all my profiles are locked and I cant remove any. For example my dns profile wich I need to remove some times and now I cant. IMG_0467 Its now enabled and dont show up in the list to be removed as others profiles currently applied and not showing up .

Ios 16.4.1 iphone 12 pro max cowabunga 1.2.1 (it occurred before 1.1.1)

SirArya commented 1 year ago

Just to add to this, all existing profiles disappear when enabling supervision mode and while they do not show, they continue to remain active and cannot be removed.

augustobob commented 1 year ago

As A workaround you can reinstall the certificate to overwrite the hidden one, then remove the profile.

SirArya commented 1 year ago

To be honest I tried that and it did not work as I had to unsupervise the device again and it disappeared. But I will test it again

LunarN0v4 commented 1 year ago

Everyone here, this is not a bug with this software, iOS does this because the profiles make files separate to the profiles themselves, this is not a problem with Cowabunga Lite.

augustobob commented 1 year ago

Everyone here, this is not a bug with this software, iOS does this because the profiles make files separate to the profiles themselves, this is not a problem with Cowabunga Lite.

How can I remove the profile? removing supervising didn't help

LunarN0v4 commented 1 year ago

Everyone here, this is not a bug with this software, iOS does this because the profiles make files separate to the profiles themselves, this is not a problem with Cowabunga Lite.

How can I remove the profile? removing supervising didn't help

Removing supervision won't help, you removed the profiles file themselves, not the settings they change, you have to reinstall the profile and hope it works. Best of luck.

Revicess commented 7 months ago

profiles file

I can't regenerate a lost profile, so I can't delete the profile's certificate

Revicess commented 7 months ago

I can't regenerate a lost profile, so I can't delete the profile's certificate

LunarN0v4 commented 7 months ago

That's unfortunate, downloading a similar profile can suffice for removing the settings that the profile changed, but you do realise that you've removed the profiles file which contains the certificate itself.
This removes the certificates without removing the settings that they change.

Revicess commented 7 months ago

That's unfortunate, downloading a similar profile can suffice for removing the settings that the profile changed, but you do realise that you've removed the profiles file which contains the certificate itself. This removes the certificates without removing the settings that they change.

I tried to find ”TrustStore.sqlite3“ with filza, but it didn‘t exist. Well, I don’t know which file ios stores the user‘s certificate in. Maybe I can only reset my phone to delete the certificate.

LunarN0v4 commented 7 months ago

That's unfortunate, downloading a similar profile can suffice for removing the settings that the profile changed, but you do realise that you've removed the profiles file which contains the certificate itself. This removes the certificates without removing the settings that they change.

I tried to find ”TrustStore.sqlite3“ with filza, but it didn‘t exist. Well, I don’t know which file ios stores the user‘s certificate in. Maybe I can only reset my phone to delete the certificate.

Resetting the phone can remove the settings, although I highly recommend backing up your data beforehand.
Let me make it clear that the certificate does NOT exist after you've replaced the certificate storage file, but the settings are still applied.
Backing up your data before doing anything like enabling supervision on your iOS device is a standard requirement to ensure that your data isn't wiped by accident or other issues like this one.
There is nothing you can do about it other than recreating the profile or resetting your phone, uninstalling supervision just deletes the certificate storage file again.
Again, the certificate has been deleted without the settings being reverted, you cannot restore the certificate unless you reinstall it yourself, same logic as wanting to revert the settings that the certificate created.

I refuse to reply to this topic any further.