Do any data-recovery solutions still work on android 11?


Question

Question: All data-recovery solutions I can find on this site are from 6 or more years ago. Similarly, commercial solutions (such as Dr. Fone) are only good up to android 4. Are there any tools or techniques that still have a reasonable chance of success on Android 11?


Background: I have an ASUS Zenfone 6 that I recently updated. After the update, I was asked for the lock pattern, which I somehow forgot (I usually use the fingerprint scanner). Without bypassing the lockscreen (or somehow reactivating the fingerprint without the lock pattern) the only option I see is to reset the phone (which I understand will delete the user partition). If it is possible to create an image or recover data after the factory reset, there is at least a chance I can recover the contacts and a few months worth of photos that defaulted to internal memory after a previous update. I know that android has encrypted the user partition by default since Android 5, so maybe recovering data is no longer possible.


Perhaps a successful method would include rooting the phone, although I don't intend to keep it rooted. At this point any method is better than no method.


Answer

Since about Android 6 all devices come with enabled user data encryption. I think since about Android 8 Google enforces that this encryption is hardware backed, which means you can't export the used encryption key and once the key has been deleted all data are gone forever.


These measures have been introduced to protect user data e.g. of a stolen device. Unless the thief knows the unlock code the device does not allow user data access.


There were a few cases were you could trick the lock screen to bypass it, however this only affects devices that were already running. If you boot the device you need to provide the lock screen PIN/password/pattern otherwise the user data encryption key is not released (the exact way this works was changed with every Android version a bit).


From the device perspective you are not the device owner unless you have authenticated using the required password/PIN/pattern. Therefore it now protects the data from any access.


There is no way to bypass this protection, otherwise a thief could do the same and in the get access to your data:


rooting: Requires an bootloader unlocked device or for an device with a vulnerability access to the UI is required. Unlocking a bootloader locked device automatically performs a factory reset which deletes the encryption key -> data gone. And that you don't have UI access to the device is obvious.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes