Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factory Reset Protection doesn't work at all #230

Closed
RBWare opened this issue Oct 18, 2024 · 0 comments
Closed

Factory Reset Protection doesn't work at all #230

RBWare opened this issue Oct 18, 2024 · 0 comments

Comments

@RBWare
Copy link

RBWare commented Oct 18, 2024

Process to replicate the issue.

  • First boot of Factory Reset device. Skip all steps in the Setup Wizard, except for WiFi connection (no pin, no google account, etc.)
  • Open Settings, enable developer settings, and physically connect device to PC.
  • adb install TestDPC_9.0.12.apk
  • adb shell dpm set-device-owner "com.afwsamples.testdpc/.DeviceAdminReceiver"
  • Launch TestDPC app. Allow Notifications.
  • Scroll to "Device owner management" section. Select "Set factory reset protection policy".
  • Add the account id being used for the test. Switch, "Enabled" to "Enabled". Select "Save".
  • adb reboot recovery
  • Press power-button + volume up to activate the menu. Use the volume buttons to scroll down to "Wipe Data/Factory Reset" and press the power button to confirm.
  • See device data get wiped.
  • Reboot the device.
  • Notice that no FRP lock is present in the notification bar.
  • Move through the setup wizard unhindered, without ever being required to include the FRP credentials associated with the account id used in previous steps.

Performing these same steps on an Android 14 device, shows the lock in the notification bar and the credentials are required during setup wizard. On Android 15, it's completely ignored and users are free to complete setup wizard however they want to.

@RBWare RBWare closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant