Hack Forums
What do i do with a locked phone that has an unlocked bootloader? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: What do i do with a locked phone that has an unlocked bootloader? (/showthread.php?tid=6278157)



What do i do with a locked phone that has an unlocked bootloader? - Monogram6 - Aug 20, 2024

Model: Huawei Ale-L21

Okay so after like 3 hours i have managed to unlock the bootloader on my phone without deleting my data (when i boot into fastboot it says phone unlocked)

the thing is i forgot my pin code to the phone so now im locked out with the only thing to save me is the unlocked bootloader

i tried flashing twrp from fastboot but the recovery partition just stays empty and when i try to boot into recovery it just stays stuck on the huawei logo.

My goal is recovering the data from the phone and/or unlocking the pin.

So what should i do? as i said already i tried twrp but that did not work.

Also usb debugging is disabled and adb does not recognize my device(but i still managed to unlock the bootloader lol).


RE: What do i do with a locked phone that has an unlocked bootloader? - Binance - Aug 20, 2024

the likelihood of someone having this model phone and experience bypassing this is very low. i wish u luck


RE: What do i do with a locked phone that has an unlocked bootloader? - DramaKing - Aug 20, 2024

You won't bypass the PIN or turn it off from recovery, regardless. You can use TWRP to do a backup if you can get it working. You can also do this from fastboot with ADB. Run the below commands and see if it works or gives 'Permission Denied.'

Code
adb pull data/data/com.android.providers.settings/databases/settings.db
adb pull /data/system/locksettings.db

Since it runs Android 7 or 8, you can also try this method: https://portswigger.net/daily-swig/google-pixel-screen-lock-hack-earns-researcher-70k.


RE: What do i do with a locked phone that has an unlocked bootloader? - Monogram6 - Aug 21, 2024

(Aug 20, 2024 02:00 PM)DramaKing Wrote:  You won't bypass the PIN or turn it off from recovery, regardless. You can use TWRP to do a backup if you can get it working. You can also do this from fastboot with ADB. Run the below commands and see if it works or gives 'Permission Denied.'

Code
adb pull data/data/com.android.providers.settings/databases/settings.db
adb pull /data/system/locksettings.db

Since it runs Android 7 or 8, you can also try this method: https://portswigger.net/daily-swig/google-pixel-screen-lock-hack-earns-researcher-70k.

Nope ADB does not recognize the device since usb debugging is disabled.

Also its android 5 or 6 not 7 to 8 but thanks for the help.


RE: What do i do with a locked phone that has an unlocked bootloader? - DramaKing - Aug 21, 2024

(Aug 21, 2024 02:40 AM)Monogram6 Wrote:  Nope ADB does not recognize the device since usb debugging is disabled.

Also its android 5 or 6 not 7 to 8 but thanks for the help.

You're right. I must have been looking at the wrong model. It's weird that you got this far without ADB. Anyway, being a 2015 phone, you may have luck bruteforcing the PIN. Ideally, you'd want some kind of BadUSB to automate the process.

EDIT: Well, since you said that you didn't get anything useful from https://hackforums.net/showthread.php?tid=6277552&highlight=pin+bruteforce, then just ignore me.