First of all , I'd like to send big Kudos to N2A for all that he's done and published on his site .
Without all his info , i'd never ever been able to do this .
You're welcome
Just me giving a bit back to the community.
That was pretty much what I was about to do patching it, although the manila.exe you sent me didn't actually have a digital signature on it - it'll probably work without using signcode.
The ac=XDADevs (or ac=XDADevs1234 as you've put in) is precisely what you thought - padding. I don't actually use the ac= bit, it's fairly obvious anyone using the patch / script is going to be one of the people with a hacked HTC home or manilla. You can use ac=XDA-manilla instead if you want, means I can track stats if I ever choose to in the future on the script.
Sorry I only just got around to checking properly - been in the middle of a house and office move, it's a bit hectic
Glad I've facilitated the bringing of the local weather to a few more people!
If you want to automate the process, you can use BinMay.exe out of the tools folder in my patch package, and do an automatic hex replace, as I did in the n2a-patcher.bat file on this line:
Code:
binmay -s "68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 68 00 74 00 63 00 2E 00 61 00 63 00 63 00 75 00 77 00 65 00 61 00 74 00 68 00 65 00 72 00 2E 00 63 00 6F 00 6D 00 2F 00 77 00 69 00 64 00 67 00 65 00 74 00 2F 00 68 00 74 00 63 00 2F 00 66 00 6F 00 72 00 65 00 63 00 61 00 73 00 74 00 2D 00 64 00 61 00 74 00 61 00 5F 00 76 00 33 00 2E 00 61 00 73 00 70 00 3F 00 61 00 63 00 3D 00 54 00 52 00 32 00 63 00 72 00 61 00 39 00 55 00 26 00 6C 00 6F 00 63 00 43 00 6F 00 64 00 65 00 3D" -r "68 00 74 00 74 00 70 00 3A 00 2F 00 2F 00 77 00 65 00 61 00 74 00 68 00 65 00 72 00 2E 00 6E 00 6F 00 74 00 32 00 61 00 64 00 76 00 61 00 6E 00 63 00 65 00 64 00 2E 00 63 00 6F 00 6D 00 2F 00 68 00 74 00 63 00 77 00 65 00 61 00 74 00 68 00 65 00 72 00 2F 00 66 00 6F 00 72 00 65 00 63 00 61 00 73 00 74 00 64 00 61 00 74 00 61 00 2E 00 70 00 68 00 70 00 3F 00 61 00 63 00 3D 00 58 00 44 00 41 00 44 00 65 00 76 00 73 00 26 00 6C 00 6F 00 63 00 43 00 6F 00 64 00 65 00 3D" -i unpatched.dll -o patched.dll > NUL
(Obviously, the hex code would need to be changed to the actual hex you wanted, that's for the normal htchome.dll, and it's patching the input file unpatched.dll to the output file patched.dll).
Hope that helps if you're interested