yashsingh1/xdaforums huggingface dataset:
[Asus ROG Phone 6 / 6 Pro] OuKe:
ROG phone 6 Pro, WW_AI2201-33.0610.2810.166-0, using 9999999..9999999 returns unlock fail, using `13..WW_AI2201-WW_user_9999999..999999.0610.2810.166..ASUS-ASUS_AI2201-WW` reboots but no unlock. Any advice? I sent the phone in repair just so I can unlock and use it...
[Asus ROG Phone 6 / 6 Pro] Dev4Mod:
What firmware version is installed?
[Asus ROG Phone 6 / 6 Pro] xperia64:
I'm not sure where that fear of bricking with downgrading is coming from. I know there've been small waves of updates causing bricks, but I've not heard of downgrading in particular causing problems. I would hope ASUS' OS updater would be smart enough to not force push incompatible OTAs, but who knows.

In my limited experience here, directly installing full zip images via the built-in OS updater after a downgrade seems to work fine.

My process was:

1. Starting on the latest A13 OTA

2. Downgrade to A12 using the official full OS 99.X downgrade zip with the OS' built-in zip updater; this of course wipes the device

3. Unlock bootloader on A12 using the steps from the first post; I booted TWRP after this step to verify

4. Upgrade back to the last provided A13 using the official full 33.0210.0210.296 update zip

5. Manually install OTAs 312 and 314

6. Make sure TWRP still boots

@Dev4Mod I ended up doing some packet captures of the process, and there's one thing I'm curious about; do you think it'd possible to use mitmproxy to entirely replay the responses from ASUS' servers for a given device, instead of just tweaking the requests?

I ask because I wanted to get this unlock done ASAP while it's still possible, but I wouldn't mind relocking (to satisfy Play Integrity and all that nonsense) if I felt confident that I could unlock it again at a later date. I really don't trust ASUS' servers to stick around.

The initial HTTP requests seem to be basic login stuff, and the /unlock/register endpoint appears to return a fixed Secrettoken for the bootloader, which never changes.
[Asus ROG Phone 6 / 6 Pro] Dev4Mod:
Yes, it is possible to make an entire unlock request offline if you already have the unlock key on hand.
[Asus ROG Phone 6 / 6 Pro] dargorbaman:
I try Asus ROG Phone 6 Tencent with ROM official WW V33.0610.2810.157 @Dev4Mod same as like you but my phone just restart nothing happen :(
[Asus ROG Phone 6 / 6 Pro] m.kaya:
I dont fear, its just there's no option to downgrade. im on a14 beta 3 got the firmware from the telegram community, no downgrade option seen yet.
[Asus ROG Phone 6 / 6 Pro] OuKe:
166, as mentioned, sorry for not being clear. I just got it back from an official repair so it has the newest firmware, does it mean I am screwed?
[Asus ROG Phone 6 / 6 Pro] maicol07:
Hi, I'm trying this method on Zenfone 8 Flip (with A13 .314) but it gives me an error in the asus unlock app:

{
"message": "系统内部异常:null"
}

Device unlock app gives an error with code 21003.

Does anyone know how to fix this?

Thanks
[Asus ROG Phone 6 / 6 Pro] OuKe:
Given that it’s indicating an internal error (hehe Java null), they might’ve pulled the plug, or your request hit some edge case :p
[Asus ROG Phone 6 / 6 Pro] maicol07:
No, here another user just unlocked it: https://xdaforums.com/t/unofficial-...rver-q3-2023-muhahahaha.4649465/post-89268335
[Asus ROG Phone 6 / 6 Pro] OuKe:
Then perhaps your request was malformed? Did you match your device model in the version string?
[Asus ROG Phone 6 / 6 Pro] maicol07:
I used this (I've tried both the commented out line and the universal one):

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"] = "13..WW_I004D-WW_user_9999999..999999.0210.0210.309..ASUS-ASUS_I004D-WW"
flow.request.urlencoded_form["swVer"] = "99.999.999.999"
[Asus ROG Phone 6 / 6 Pro] OuKe:
Did you match the model number? I heard that was also needed, and maybe the version triple(there’s an earlier post on what to change), just a guess tho since I didn’t get the same error when it was mismatched
[Asus ROG Phone 6 / 6 Pro] maicol07:
Ye

Yes, here are my props:
[Asus ROG Phone 6 / 6 Pro] OuKe:
What is your device? I can’t find a rollback package for Rog phone 6(pro) anywhere
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
Hello, I can't unlock it

hello I can't unlock it

version Asus ROG Phone 6 Tencent with ROM official WW V33.0610.2810.157
[Asus ROG Phone 6 / 6 Pro] Dev4Mod:
Has the cell phone restarted?
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
No, there was an error
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
Do I need to remove the SIM card from my phone?
[Asus ROG Phone 6 / 6 Pro] Dev4Mod:
The unlock.py was not loaded correctly then. You must create the file in the same location as you open the terminal.
[Asus ROG Phone 6 / 6 Pro] Dev4Mod:
Use shift+left Button mouse and open terminal
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
Can you please tell me in more detail how to create the file?
[Asus ROG Phone 6 / 6 Pro] John_wick181:
step 1: copy the unlock.py command lines from the 1st post of this thread

step 2: modify the command line using your phone vendor id, (its mentioned on this thread on how you find your device specifics.

step 3 : save the command line ( save as - unlock.py - file type - all files)

step 4 : in the folder where you have saved the unlock.py start a new terminal by holding shift and right clicking on mouse and selecting open a new terminal

step 5 : use the mitmproxy command given in the 1st post

step 6 : direct your mobile wifi towards your pc via proxy
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
Will this error affect unlocking?
[Asus ROG Phone 6 / 6 Pro] John_wick181:
most likely no
[Asus ROG Phone 6 / 6 Pro] Fremi4ek:
Can I send you a video of how I do it?

Otherwise I can't do it
[Asus ROG Phone 6 / 6 Pro] John_wick181:
personal message me ill give you my telgram
[Asus ROG Phone 6 / 6 Pro] Thiago.sant.bar:
Could you help me, on Zenfone 6 error 24804
[Asus ROG Phone 6 / 6 Pro] Thiago.sant.bar:
I've done everything possible, I've done everything possible.I also downgraded, but the app does not recognize it on the A10 and A9, it is currently on the A11.
[Asus ROG Phone 6 / 6 Pro] Thiago.sant.bar:
Mine is like that too. It doesn't unlock and an error appears in the app.
[Asus ROG Phone 6 / 6 Pro] John_wick181:
post the command.py you are using
[Asus ROG Phone 6 / 6 Pro] John_wick181:
the problem is in your swVEr line. you are just using the 99.999.999 but in reality it should be with your device id

it should look something like this

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"] = "1.0.0.7"

flow.request.urlencoded_form["swVer"] = "12..WW_I003D-WW_user_9999999..999999.0210.0210.309..ASUS-ASUS_I003D-WW"
[Asus ROG Phone 6 / 6 Pro] Thiago.sant.bar:
Eu já fiz isso também, mandei essa última porque foi a foto que tirei antes.
[Asus ROG Phone 6 / 6 Pro] creamulonimrod:
Question on directing the mobile wifi to my PC with a proxy. I cant get the mitmproxy to show any requests from the device. Im not sure where im going wrong. what should the proxy host name be?
[Asus ROG Phone 6 / 6 Pro] John_wick181:
1st make sure both your pc and mobile are on the same network, then in your pc open a terminal or command prompt and type : ipconfig

then check for the ip address of your pc on the internet you are on, its usually 192.168.0.xxx whatever is the ipv4 of your pc use that as username in the username in the proxy of mobile and port as 8080
[Asus ROG Phone 6 / 6 Pro] Jbro129:
I am trying to unlock my rog 5s and my device reboots but doesn't unlock.

The swVer I am using: 13..WW_I005D-WW_user_9999999..999999.0210.0210.309..ASUS-ASUS_I003D-W

I also tried other swVer and the same thing is happening.

I noticed that data is null maybe that is the reason?
[Asus ROG Phone 6 / 6 Pro] John_wick181:
the problem is you are on the latest firmware version in which asus has locked the ability to unlock the bootloader or even downgrade, you are just out of luck from now, i had the same issue with my rog 3, DONOT EVEN THINK OF DOWNGRADING BY FLASHING FIRMWARE or you will end up bricking your phone like i did. trying to save others

you can try downgrading my placing the downgrade firmware in the root folder and restarting your device and if you see update available, you can try from there but DISCLAIMER there is a chance you may brick your device so proceed on your own risk
[Asus ROG Phone 6 / 6 Pro] John_wick181:
proxy host will be the ip address of your pc on the local network
[Asus ROG Phone 6 / 6 Pro] jackeagle:
For most part even keeping in root folder method wont work. Asus has added some checks maybe that just pops System Update Failed error. Also you are right, if anyone has already updated to latest firmware then DO NOT ATTEMPT DOWNGRADING BY ANY METHOD, it will literally brick device and service center people will just mint money says its MB issue while its just a firmware one.
[Asus ROG Phone 6 / 6 Pro] Ignifazius:
Same here. Tryed to downgrade my Zenfone 7 with the official downgrade package via os updater without success. Trying to flash it via fastboot didnt work either ("wrong footer"). Reflashing the stock A11: "Direct downgrade not allowed" -> "restart" -> bricked. :/

Don't try to force a downgrade right now, if you are not prepared to lose your phone!
[Asus ROG Phone 6 / 6 Pro] xperia64:
Zenfone 8. The ZF8 in particular has an explicit A13->A12 downgrade package provided by ASUS that worked for me, and their A13 updates have never been drastic enough to break it. Other devices have apparently not been so lucky. I don't know if they tried forcing an old update that's not truly a downgrade package as a downgrade, or if the downgrade package that was available was also too old, but apparently people have bricked. ymmv.
[Asus ROG Phone 6 / 6 Pro] bnsmb:
these raw image saved my life more then one time while playing with the ZF8 ...

The unlock app and the raw images were one of the main reasons I bought the ZF8.

(and the size of the phone, of course)

Only out of curiosity:

Did ASUS provide these raw OS images for their other phones (ROG, ZF9, ZF10) also?

And do other companies provide these kind of raw images also?

(I never checked that)

regards

Bernd
[Asus ROG Phone 6 / 6 Pro] Captain_Throwback:
This isn't referring to a RAW image...
[Asus ROG Phone 6 / 6 Pro] wfwfeiniidenox:
Is this safe to use on the ROG phone 6 Diablo? I think it's the same phone, I just ordered it and wanted to try it. Is this method safe? I don't want to ruin a brand-new phone, should I not update it once I have it and root right away?
[Asus ROG Phone 6 / 6 Pro] John_wick181:
Depends on what firmware version you are on. If the firmware that shipped with your phone is already edl and downgrade locked. Then you are out of luck and forcing or flashing firmware downgrade will brick your phone. Although you have a brand new phone. You can claim warranty since the company cannot prove in any way that the phone was bricked intentionally. Just say it stopped working even if it does
[Asus ROG Phone 6 / 6 Pro] wfwfeiniidenox:
I'd rather not risk it too bad, how can I check the firmware that the method works in?

I haven't seen anyone else try this, so I'm scared that it won't work even with the right firmware, but I hope, so I trust you guys since I don't really understand it
[Asus ROG Phone 6 / 6 Pro] nthacks:
Can confirm that this doesn't work with ROG 5 as well with the firmware version

WW_I005D-33.0210.0210.235-0

It retrieves the secret token and reboots but does not format and unlock the device.
[Asus ROG Phone 6 / 6 Pro] elnorelime:
Hello, just registered to give feedback that I was able to unlock my Asus ROG Phone 3 on Android 12.

Details bellow:

adb shell getprop
...
[ro.build.description]: [EU_I003D-user 12 SKQ1.210821.001 31.0210.0210.283-0 release-keys]
[ro.build.display.id]: [SKQ1.210821.001.WW_Phone-31.0210.0210.283-0 release-keys]

Using my build number on script for mitmproxy:

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"] = "12..WW_I003D-WW_user_9999999..999999.0210.0210.283..ASUS-ASUS_I003D-WW"

Done under ArchLinux; if the proxy is not picking up any requests; try enabling ufw income traffic; or disable client isolation on network... also only the side ports is picked up by fastboot flash commands...

This allowed me to have TWRP 3.7.0_12.4 with BlissRom 17 with gapps.

Thanks @Captain_Throwback and @jackeagle
[Asus ROG Phone 6 / 6 Pro] crashniels:
I seem to be getting a 404 in logs for "dm.asus.com/unlock/register". The unlock app shows error 21003. I am using a Zenfone 8.
[Asus ROG Phone 6 / 6 Pro] jstys92:
Seeing the same, thinking this is either the death knell for the ASUS bootloader unlocking or they're migrating to new API endpoints. Hoping for the latter.
[Asus ROG Phone 6 / 6 Pro] bnsmb:
the last answer from the ASUS support in Germany from the 09.01.2024 regarding the status of the ASUS unlock tool was:

so there is still hope ...
[Asus ROG Phone 6 / 6 Pro] Alruse122:
Any news about A14 unlock?
[Asus ROG Phone 6 / 6 Pro] tdhidfik:
Don't worry guys, ASUS is definitely working on a first party unlock tool. I mean, a company interested in providing unlock ability simply

must

quickly patch a third party unlock method as soon as it comes out. It's just not good enough to have to use a proxy to unlock. The unlock method has to be be perfect, that's why they've been developing it for 6 months already with no ETA. It's preposterous to even suggest they want to do everything in their power to stop users from unlocking the bootloader, there's no evidence to substantiate anything like that...
[Asus ROG Phone 6 / 6 Pro] ur_boi_nemo:
Hey guys,

I know this is kind of a shot in the dark, but I have a dinosaur of an ASUS device (Asus Transformer TF300T) and I think the server it asks for unlocking (mdm.asus.com) has been shutdown. I'm wondering... would this unlock procedure be possible for this device? Thanks, and keep up the great work!
[Asus ROG Phone 6 / 6 Pro] Esja:
The reason they deleted the old unlock tool is because the Chinese government banned phone unlocking. New Xiaomi phones need passport/ID to receive the unlock code, and Asus is very careful to not break new Chinese rules with their phones that are sold in mainland China. That's why they keep talking about "regulatory approval" etc.

So it's simple.. new government rules screwing everybody over because MORE CONTROL. Not completely Asus' fault.
[Asus ROG Phone 6 / 6 Pro] hrsh45:
its still Asus' fault as they refuse to communicate.

your words should be said by Anus themselves half a year ago
[Asus ROG Phone 6 / 6 Pro] Esja:
Asus suck at communicating clearly but they said REGULATORY APPROVAL months ago. Seems like this was true.. but of course they are not going to explain in detail.

The root problem is Chinese schits banning unlocking for phones.
[Asus ROG Phone 6 / 6 Pro] hrsh45:
how difficult is it to release a slightly different model to china which are locked?

or have a bootloader unlocked option sold in their non-chinese sites?

or give non-Chinese customers an option to send it back to local branch, their staff unlock the bootloader then return it?

or just have a list of non-Chinese IMEI which are allowed to unlock through their app?
[Asus ROG Phone 6 / 6 Pro] Esja:
Yes, non-Chinese phones should be able to use the tool but my guess, they don't want Chinese users to abuse the system and root without government approval. I also think EU rules might be involved.

It makes sense why it's delayed now.
[Asus ROG Phone 6 / 6 Pro] hrsh45:
that would be a pathetic excuse from Asus;

like every other banned products,

illegal drugs are still bought and shipped via dark webs,

if the chinese are willing to go abroad to buy a Winnie the Pooh plush,

the government cannot stop it.

a jailbroken zenfone seems nothing compared to those.
[Asus ROG Phone 6 / 6 Pro] Esja:
because chinese government can shut down Asus biggest market tomorrow if they don't play ball.

this finally makes sense, let's wait for regulatory approval and see what happens.
[Asus ROG Phone 6 / 6 Pro] illusio_aether:
Rog Phone 5 with Android 11 here.

Has anyone tried this with the same device and A11 as me yet?
[Asus ROG Phone 6 / 6 Pro] hrsh45:
thats just your excuse for asus.

chinese government cannot do anything if chinese people go abroad and buy unlocked google phone.

chinese government cannot do anything if visitors come in with unlocked google phone and leave it behind.

so nitpicking Asus' foreign phones is not a solution to stop their countrymen accessing unlocked bootloader,

the chinese government is not that stupid to understand such simple logic.

as if china would ban disney for selling Winnie the Pooh plush outside china.

(by the way,

is China Asus' "biggest market"?

i wonder why chinese wouldn't prefer huawei or xiaomi or oneplus etc)
[Asus ROG Phone 6 / 6 Pro] Esja:
chinese government can shut down asus in china tomorrow if they want. that means Asus goes bankrupt. and yes, China is asus biggest market.

stop making excuses for china.
[Asus ROG Phone 6 / 6 Pro] tdhidfik:
As it's been pointed out by others there is nothing stopping asus from releasing a china firmware that can't unlock and a rest of the world firmware that can unlock. in fact old zenphones did exactly this. They can send an OTA update to every phone with a chinese IMSI that switches to a chinese firmware that can't unlock then release an unlock tool that works. Or simply do as Xiaomi is doing and ask for ID when someone from china wants in unlocked (simple to check via IMSI and/or geolocation) and don't ask when someone outside of china asks.

If they wanted to fix this to be compliant to the law you said exists in china. Law which btw i can't find a reference to, i've tried googling but i can't find any news report about china banning phone rooting, so it may very well just be an internal Xiaomi policy rather than a law. But even assuming it's a law there are PLENTY of ways to implement a check that bans rooting in china and not in the rest of the world. It can be done in weeks, literally just update the unlock app to check for a banned IMEI list if they have it. Require GPS to be on and check location and IMSI to make sure neither is chinese. A competent developer can make those changes to the unlock app in days. Of course it won't be 100% bulletproof but neither is the great firewall of china and a whole government pours tens of billions every year into running that.

Perfect is the greatest enemy of good. If what they want is a perfect solution the tool will never be released because no perfect solution exists. Good solutions are simple and easy to implement, if they chose to not implement any for nearly six months then clearly the problem isn't "regulatory approval" the problem is trying to find an impossibly perfect solution that doesn't and cannot exist.

tl;dr here's a list of easy and effective solutions they could implement in a week if china really is the problem

1) Ban all IMEIs sold to china from unlocking (if such a list exists)

2) Send OTA firmware to phones in china that can't unlock then release the tool

3) When requesting an unlock code require GPS location to be on and check the IMSI to ensure it's outside china

4) Handle unlock requests via tech support and require proof of purchase in a store located outside china before giving the unlock code to the user or simply trust the great firewall of china from stopping chinese users from talking to foreign tech support agents
[Asus ROG Phone 6 / 6 Pro] hrsh45:
lol you're acting like as if you were an expert on chinese politics and business.

so far, chinese government ban a product instead of shutting the company's branch in china.

and as long as the company removes 'offensive' materials in the chinese version, Chinese government is fine with that product & not interfering global version.

(e.g. China didn't shut EA's shanghai branch for featuring Ozil in FIFA, but only banned the game. after EA remove Ozil in chinese version, Chinese government don't interfere with the global version even though chinesemen can obtain it one way or another)

so you're either trying to act smart, stating some naive imagination as if its fact;

or you're making excuse for asus, trying to mislead others to believe such nonsense.

tdhidfik above also agrees with me that just locking chinese (firmware/ imei) could easily be the solution.

ironic that you thumb him up after all those nonsense from your replies.

"China is asus biggest market" lmao

https://www.statista.com/statistics/791193/worldwide-asus-revenue-by-region/

oh Mr Expert ***cough***
[Asus ROG Phone 6 / 6 Pro] jstys92:
Unfortunately this has no significance. If you provide a proper login token it will just give you a 404 indicating that /unlocking/registered is not a valid URL
[Asus ROG Phone 6 / 6 Pro] yongyek:
I have a problem when mitmproxy calls unlock.py. the description is " frozen runpy.........". can anyone help me.
[Asus ROG Phone 6 / 6 Pro] Shun_5377:
Which model are you using? Is it a ROG Phone 7 or an earlier model? I had the idea that the latest ROG Phone models could be unlocked in EDL mode using the commands "fastboot.exe flashing unlock" and "fastboot.exe flashing unlock_critical", just like ROG Phone 2. I do not know. I may be wrong.
[Asus ROG Phone 6 / 6 Pro] Alruse122:
A13 or A14?
[Asus ROG Phone 6 / 6 Pro] wielorzeczownik:
I have a question I am trying to unlock the bootloader on ASUS Rog Phone 5 using the same method, but in my case it doesn't even pass login I get the error 'NOT ALLOWED' (retCode: 405). My model is ASUS_I005DA( EU-ASUS_I005D-WW.) Does anyone know if it is possible to unlock the bootloader or give up?
[Asus ROG Phone 6 / 6 Pro] jstys92:
None of this is relevant anymore, the server endpoint has been taken down and /unlock/register will return a 404 regardless of what parameters you give it.
[Asus ROG Phone 6 / 6 Pro] jstys92:
You're not getting 404 because You're not successfully logging in. The API has been taken down for a few weeks, wouldn't waste your time.
[Asus ROG Phone 6 / 6 Pro] jburd412:
Think it will work on a android enterprise tablet.... Only port open is 22 for ssh...
[Asus ROG Phone 6 / 6 Pro] hhhhugi:
How can i obtain RSA private key? Is there a way to get key without phone connected?

Because i accidently written factory rom and imeis are deleted. Without imei, I can't try this tool.
[Asus ROG Phone 6 / 6 Pro] HexHyte:
How can i check if my Rog Phone 3 firmware is EDL locked? I have WW_31.0210.0210.272
[Asus ROG Phone 6 / 6 Pro] roirraW "edor" ehT:
<Moderator Note>:

@Hunghsuan & @Kush90,

Directing users to contact you offsite is not allowed on XDA. I saw what you did, too, @Kush90.

Please do not reply to me here in this thread. If you have any questions or comments about this, send me a PM.

Thank you,

@roirraW "edor" ehT
[Asus ROG Phone 6 / 6 Pro] hhhhugi:
I contacted Chinese bootloader unlockers mentioned in 4pda forum. They claimed can unlock any android phones and price is 40$. I paid and they connected through remote desktop tool to my pc. Unfortunately their unlock method didn't work on my rog 6 and got refunded. They said the reason was I downgraded to android 12 from latest android 13 (i did that), and some security somehow still remains in android 12 after downgrade. (Downgrading to 12 hardbricked my phone, but i managed to revive it)

Interesting thing they did was downgraded my firmware to earliest version of android 12 and installed adguard app, and added rule to direct asus unlocker app requests to their own servers, and asus unlocker app was trying to unlock the bootloader without error (Just reboots, not to bootrloader unlock screen) I think they managed to create similar server exactly acts like official asus server.

Any one desperate to unlock bootlaoder and still on android 12 or not latest 13, i would say you still have hope on chinese paid service providers.
[Asus ROG Phone 6 / 6 Pro] Anutrix:
Still waiting for way to unlock.