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.
3 weeks ago
@Falcon_ASUS @Mansi_ASUS Will the tool come or not, kernel source is useless if you cant test