BinTianqi / OwnDroid

Own your Android! 使用Device owner管理你的安卓设备。Manage your device with Device owner privilege
https://owndroid.pages.dev
GNU General Public License v3.0
351 stars 13 forks source link

Cannot remove work profile. #16

Closed Xisrr1 closed 4 months ago

Xisrr1 commented 4 months ago

There is no way to delete the work profile because the app crashes when trying to do so.

BinTianqi commented 4 months ago

I'm sorry to hear that.

This bug should be fixed in 57e5021 , you can try v5.1 release.

If you don't want to update, type some text in the "Reason" textfield.

Xisrr1 commented 4 months ago

I'm sorry to hear that.

This bug should be fixed in 57e5021 , you can try v5.1 release.

If you don't want to update, type some text in the "Reason" textfield.

When I tried to disable the profile owner feature it crashed. I've already factory reset my device. Please make sure it's well optimized before publishing such a powerful app. Also, the app is freezing whenever you click the back button.

I was already on 5.1

BinTianqi commented 4 months ago

You cannot disable a profile owner on a work peofile. If you want to remove a work profile, please go to System manager -> Wipe data, you can remove work profile there.

If you didn't activate OwnDroid as a organization-owned work profile, you can remove the work profile in the system Settings: Security&privacy -> More security&privacy -> Device admin apps -> OwnDroid

Xisrr1 commented 4 months ago

So it will remove only the work profile?

BinTianqi commented 4 months ago

yeah, it will only remove the work profile, data of the system user will not be removed

Xisrr1 commented 4 months ago

I've already performed a factory reset but it is good to know. Can you fix the lag in the app when going back?

BinTianqi commented 4 months ago

You can feel the lag, possibly due to the mismatch between the fade out animation and the slide animation.

I will fix it.

Xisrr1 commented 4 months ago

Thanks

Also, is it possible to change the design of the app suspended popup? Like to add a button with another custom option.

BinTianqi commented 4 months ago

I optimized the animation (e19a9be2f7b48875409d0fa1e82376a44337af14), the lag should be reduced.

Also, is it possible to change the design of the app suspended popup? Like to add a button with another custom option.

What do you mean? Do you mean OwnDroid itself or OwnDroid suspend other apps in App manager section?

Xisrr1 commented 4 months ago

I optimized the animation (e19a9be2f7b48875409d0fa1e82376a44337af14), the lag should be reduced.

When will it be released?

What do you mean? Do you mean OwnDroid itself or OwnDroid suspend other apps in App manager section?

When suspending an app and trying to open this app, it will show "action not allowed" and an "OK" button. I want to be able to add another option besides the OK button with a custom function. For example, "enter password" button so you can unsuspend the app.

BinTianqi commented 4 months ago

When suspending an app and trying to open this app, it will show "action not allowed" and an "OK" button. I want to be able to add another option besides the OK button with a custom function. For example, "enter password" button so you can unsuspend the app.

I tried to open a suspended app and Android system showed me a dialog.

Can't open this app

If you have questions, contact your IT admin

[ Learn more ] [ OK ]

Do you mean this?

I'm using Android 13. This dialog may be different on different Android versions.

Xisrr1 commented 4 months ago

Yes. I tried using Google parental controls and when trying to open a suspended app, it will show a different popup with actions from the parental controls. I don't know if it's possible but I will ask.

BinTianqi commented 4 months ago

this dialog is sent by Android system, OwnDroid can't modify it.

Xisrr1 commented 4 months ago

Thanks.

Do you know if Samsung Knox is more powerful than device/profile owner?

BinTianqi commented 4 months ago

Knox will be unavailable after bootloader unlocked. This is the only thing I know about Knox.

I don't touch any Samsung device since 2005😂

Xisrr1 commented 4 months ago

Ah okay. So when is the update coming?

BinTianqi commented 4 months ago

In a week