patrislav1 / unisoc-unlock

Python tool to (un)lock a Unisoc/Spreadtrum Android bootloader
55 stars 8 forks source link

FAIL: b'Unlock bootloader fail.'", b'Unlock bootloader fail #4

Closed hosamasd closed 11 months ago

hosamasd commented 11 months ago

not work this problem happened how to solve pls?

Preparing to unlock the bootloader OEM ID: 31303531313634333832303030363030 Download signature Unlock bootloader, pls follow instructions on device screen Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/main.py", line 3, in main() File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/cli.py", line 119, in main cmd() File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/cli.py", line 74, in call self.dev._SimpleCommand( File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/bundled_adb/fastboot.py", line 270, in _SimpleCommand return self._protocol.HandleSimpleResponses(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/bundled_adb/fastboot.py", line 104, in HandleSimpleResponses return self._AcceptResponses(b'OKAY', info_cb, timeout_ms=timeout_ms) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hosam/.local/lib/python3.11/site-packages/unisoc_unlock/bundled_adb/fastboot.py", line 172, in _AcceptResponses raise FastbootRemoteFailure('FAIL: %s', remaining) unisoc_unlock.bundled_adb.fastboot.FastbootRemoteFailure: ("FAIL: b'Unlock bootloader fail.'", b'Unlock bootloader fail.')

itel s23 android 12

patrislav1 commented 11 months ago

This unlock tool is for the Anbernic RG405M which needs a special unlock sequence, signing the device ID with a special key. Your phone doesn't seem to need this. It should be unlockable with standard fastboot. See https://mobilewithdrivers.com/unlock-bootloader/itel-s23-plus-256gb-8gb-ram

david79111 commented 4 months ago

I have the same issue with my rg556 (t820) when I do "python3 -m unisoc_unlock unlock". When I do "sudo python3 -m unisoc_unlock unlock it says /usr/bin/python3: No module named unisoc_unlock". I also tried "fastboot flashing unlock" and "fastboot oem unlock", which give me a fail. Also when I try to enable oem unlocking in developer setting it just disables itself instantly back.