I know I know: Again someone asking "how do I unlock my phone without the pattern", but please read to the end haha.
I use a VPN software on my phone that asks me to change me lock screen settings every 6 months. So did I, guess what, 6 months ago. Since I never restarted my phone and I use face unlock and fingerprint, I never had to re-enter my pattern. Today I was stupid enough to restart my phone and locked myself out.
It's a huawei mate 10 pro (BLA-29) and yes, I can prove that I am the legal owner of this device :D
Some months ago I activated the developer options and also USB debugging. Why? I thought that I could remove the "gesture.key" file if I forget the pattern. So yes, my PC can find the phone with fastboot and abd. But i did NOT unlock the boot loader (and I did not check the option in the developer settings).
I tested a lot of patterns but the time inbetween the 3 chances to enter a pattern rises, I am at 2 hours at the moment.
Fortunatelly I added a second user account to the phone, but it's a standard user and not an admin. I also installed "lostandroid" by https://www.androidlost.com/ but unfortunatelly my phone does not receive any commands since I am logged in with the second (non-admin) account.
My next attempt was to remove the pattern file via "adb shell rm /data/system/gesture.key" but the file does not exists. Yes, I googled and found out, that since android marshmellow the files are p.e. "/data/system/gatekeeper.pattern.key" but this file ALSO does not exist.
- I can't flash a new zip or su.zip since the bootloader is still locked and I can't unlock it.
- I can't pull the gesture file since none of them (as mentioned above) exist.
- I can't push another key since I always get "permission denied", no matter to which directory I try to push
- "SU" is not installed.
- "adb root" doesn't to anything but also throws no error.
- The system partition is read only.
- I can't remount the system partition since it gives a error message that verity is enabled.
- I can't disable verity since it's a user build.
- The backup created with "adb backup" are way too small (just about 1 GB), no matter which parameters (apk/noapk, all, system/nosystem etc.) I use. So there is no chance to create a backup of my data, right?
- I can't unlock the bootloader with "fastboot oem unlock UUUUUUUUUUUUUUUU" since I did not check the setting in the developer options. My second user is not allowed to open the developer settings.
- my second account seems to be broken since my phone throws an error "apps are beeing prepare, try again later" (translated roughly from German) but even after 2 hours, several reboots, the apps don't open.
I stumbled accross this thread and honestly I dont know if this could help with my problem.
How to disable dm-verity on Android with "user" build type ROM?
So is there anybody that can help me with this? I know that I am really stupid but hard resetting without a backup is no option. I got backup files of course but I received important files of a big customer of my business on that phone 2 days ago, so there is no backup yet which includes these files.
As I wrote: it's my phone, I can prove it :D but it's really important so maybe there is anybody that can help me :(