Transformer Prime Unlock Tool Decompiled to See Where the Magic Happens
XDA Senior Member 1wayjonny has decompiled the Asus Transformer Prime tool using APK Tool, and provided a .zip file for anyone who wants to go rooting through the tool to see what it does, how it does it and, very likely, modify it to work in different ways and possibly for different devices. XDA Forum Member sparkym3 then posted a java version in the second post.
So far, the code that does all the magic has been isolated and revealed and it appears as though the tool registers the Transformer Prime as an unlocked device before actually unlocking the bootloader as was observed in the UnlockFlagandReboot.smali portion of the apk and there have been several other pieces of the code that have been identified as important to the overall process. A few things remain unclear about the process itself. As observed, there’s a registration that occurs before the unlock, which leads some to believe that the unlock tool will blacklist any Transformer Prime and prevent warranty coverage if something bad should happen.
Those eager to check out the code and the apk for themselves can find it in the original thread.