07-14-2024 05:28 AM
There are other similar posts about unlocking ZenFone 8 but some of them are already locked, while others have no answers. I get the 10405 code and I was searching through the other ways of unlocking this phone.
I found a manual on how to do that through setting up a proxy on a computer and then routing phone's wifi through this proxy and then intercepting the request and sending back a special "OK" response for the unlock method to work. However even with this I am getting the [10405] error. I could be, but unlikely that I am on the later version (33.0210.0210.332) or maybe I am doing something wrong with the compilation of the proper response string to the query to dm.asus.com that starts with `ANDROIDVERNUM`
Here is the article, if anyone wants to try it:
https://romprovider.com/unlock-bootloader-asus-zenfone-8/
Prerequisite software:
- mitmproxy > https://mitmproxy.org/
- SDK Platform tools > https://developer.android.com/tools
- Asus Unlock tool APK > https://www.asus.com/support/download-center/
- Required Firmware: 99.1010.0411.160 (= 31.1010.0411.160)
- Contact for unbrick, FRP, Reset, Region Change & root (paid) > https://t.me/ROM2box_Logs
Steps:
Connect your device with ADB and run
adb shell getprop
We’re looking for two values:
ro.vendor.build.fota.version
ro.vendor.product.carrier
e.g. for me, these values are:
ro.vendor.build.fota.version: WW_AI2202-WW_user_33.0804.2060.142-user-2023XXXX
ro.vendor.product.carrier: ASUS-ASUS_AI2202-WW
Pay attention to those, we need to use those patterns alongside ANDROIDVERNUM (e.g. 12 or 13) to create the following string:
ANDROIDVERNUM..WW_AI2202-WW_user_9999999..999999.0804.2060.142..ASUS-ASUS_AI2202-WW
In the mitmproxy folder create a file called unlock.py, replacing YOURSWVER with the string we just created.
Python:
```py
from mitmproxy import http
def request(flow):
if flow.request.host == "dm.asus.com":
if "dm.asus.com/unlock/register" in flow.request.url:
flow.request.urlencoded_form["apkVersion"] = "2.0"
flow.request.urlencoded_form["swVer"] = "YOURSWVER"
```
Start mitmproxy
mitmproxy -s unlock.py
- If port 8080 on your device with mitmproxy installed is closed, then open it.
- Your mitmproxy device and ASUS Zenfone 8 should be connected on the same network, find the IP of your device running mitmproxy and proxy the connection on your phone with the IP and port 8080.
- Download the Asus Unlock tool app on your phone and run it & follow on screen instuctions. Your phone should now be unlocked.
- Stop mitmproxy and close any ports you opened.
It’s important to note that while this method provides an alternative way to unlock the bootloader, it may involve technical complexities and carries certain risks. sers should proceed with caution and ensure they understand the potential implications of unlocking the bootloader, such as voiding the warranty or compromising device security.
When I tried it, the process on the pc with the proxy window open looks something like this. In my case it the proxy connection works but at this point I am not sure what I am doing wrong.
Maybe you had another way of unlocking the phone, please share.
Thanks.
07-14-2024 06:34 AM
it sounds like a downgrade to 31.1010.0411.160 will be needed to try the mentioned way of unlocking.
I do not know how to properly format the ANDROIDVERNUM.. string, so if anyone has an idea want it should look like based on `ro.vendor.build.fota.version` and `ro.vendor.product.carrier` please let me know.
07-14-2024 07:51 AM
found the source of the original document:
https://xdaforums.com/t/outdated-unofficial-unlock-zenfone-9-bootloader.4650415/
this is a dead method, since it still requires a reply from the server, and since the server is down, it won't work.
lesson learned - unlock the phone as soon as you have a chance.
no more Asus phones for me.
07-15-2024 05:54 AM
True I have the firmware issue now and nothing much to do, just after warranty, looks like I have to throw it away!! Hope Asus helps!! If not no more Asus!!
07-16-2024 10:06 PM
ASUS is Big Jokes