Help - Search - Members - Calendar
Full Version: Tutorial | A2 Permanent Patching
SE-NSE Forums > SE Firmware > Firmware Tutorials & Guides
Pages: 1, 2, 3, 4
Kaosblade
Kb's Tutorial for A2 Permanent Patching



I WILL NOT TAKE ANY RESPONSIBILITY IF YOU KILL OR DAMAGE YOUR PHONE. THIS IS ENTIRELY AT YOUR OWN RISK.
IF IT DOES HAPPEN, REFLASH YOUR PHONE'S MAIN/FS. HAPPY PATCHING.


Tools you will need (all download links available in the second post with installation help)

  • Aerix Unlocker (with a registered account)
  • D-Ultimate Unlocker (no account needed)
  • A2 Uploader (latest version or 19.09.2009+)
  • A starting patch you want to use
  • A Sony Ericsson A2 Phone CID 52
  • CodeClaw CXC Patcher (v0.3+)
  • Far Manager
  • Den-Po's FAR CXC Patcher Plugin


IF YOUR PHONE IS CERTIFICATE BROWN PLEASE SKIP TO STEP 14.
IF YOUR PHONE IS CERTIFICATE RED PLEASE START FROM STEP 1.

FROM STEP 14 YOU CAN CHOOSE BETWEEN 3 DIFFERENT A2 PERMANENT PATCHING METHODS. ALL OF THEM INVOLVE USING A2 UPLOADER.
EITHER A2 UPLOADER, CODECLAW CXC PATCHER OR DEN_PO'S FAR CXC PATCHER PLUGIN. ALL OF THEM WORK.

1. Start Up Aerix & enter your registered acount details by pressing the "settings" button.
2. Press Unlock.
3. Remove your battery and reinsert it.
4. Connect holding 2+5 buttons down.
5. Wait for a while, but keep watching. This is where timing is of the essence!
6. As soon as it says "Restarting Phone" OR "Phone Restarts" in the log, etc. HIT ABORT!
7. Aerix will then stop immediately and give 3-4 error messages in the log. Your phone is now blue. But we need brown to patch. wink.gif
8. Now, open up D-Ultimate Unlocker.
9. Choose your phone, and tick Repair EROM/SEMCBOOT.
10. Set certificate to BROWN.
11. Select "No Lock Change".
12. Now connect your phone, holding 2+5 down once more.
13. Wait until the entire process finishes. Now your phone is brown and ready to patch. thumbsup.gif

A2 Uploader Method - Easiest yet slowest.

14. Open up A2 Uploader.
15. Where it says "MISC" browse for the VKP patch you want.
16. Now where it says "E" click it and the patch should open up in notepad.
17. Add this line to the beginning of the patch.

CODE
;pAtChFiLe=/boot/phone_app.cxc

Make sure there are no gaps or spaces in this. This normally gives an "ACK" fs error.

18. Hit CTRL + S. Or save it. (This can be done before step 15.)
19. Now on A2 Uploader click "WRITE SCRIPT".
20. Connect your phone as usual, but this time hold down "c". If your phone's power button is "c" then connect with 2+5.
21. Wait. A2 Uploader takes a long time. Even with small patches. When a popup comes up click "NO". Wait some more.
22. After it says, "ELAPSED: xx secs." it has ended, and you can unplug your phone.

That's it! You have successfully patched your A2 CID 52 phone!
Now to keep patching you only need to start from step 14.

To reverse:

Patching

At step 21 click "YES" using exactly the same settings.

Certificate Conversion

Unlock using Aerix and let the process finish. Your phone should be back to RED.
And reupload phone_app.cxc


CodeClaw CXC Patcher Method - Not hard to understand, and faster than A2 Uploader.

14. Open up A2 Uploader.
15. Click "FileSystem Tool".
16. Connect your phone as usual, but this time hold down "c". If your phone's power button is "c" then connect with 2+5.
17. Wait. On the right you should see your phone's FS.
18. Double Click "/BOOT".
19. Now, right-click "phone_app.cxc" and click "Read". A2 Uploader will download your phone_app.cxc to a folder called "ph_out" which is located somewhere in the A2 Uploader program dir.
20. Click "SHUTDOWN FS MANAGER".
22. You do not need to repeat the last steps after completed once. As phone_app.cxc is saved on your computer.

21. Now time for some CodeClaw magic! Open up CXC Patcher.



22. On the left click "VKP LIST".
23. Click the "Add" button and browse to your patch.



24. The best thing about CXC Patcher is that multiple patching is available! To do this...

By clicking the "Add" button you can keep adding patches. They appear in the "VKP List". The program has a nifty feature of adding and removing them. You can also Edit them but this is not needed.



25. After you have decided what patches to apply in the "VKP List". On the left click, "Patch!". happy.gif
26. In the input box, browse for the "phone_app.cxc" you downloaded using A2 Uploader.
27. In the output box, browse to the place you want the patched "phone_app.cxc" to end up. (After patching).



28. To start patching, click "Patch VKP List". CXC Patcher is faster than A2 Uploader because we have already downloaded the "phone_app.cxc" manually. Whereas in the A2 Uploader method it is done automatically by adding a line into the patch.
This is not needed for CXC Patcher. smile.gif



29. After the bottom bar has reached 100% the patching is done.
30. Now reupload the phone_app.cxc that was outputted back to your phone's FS in "/BOOT".
31. This is obviously done using A2 Uploader.

To reverse:

One or more patches without removing all

Add the patches you want to remove into "VKP List".
And in the "Patch!" section tick the box "Reverse Patches".

All Patches

Re-upload your original "phone_app.cxc" using A2 Uploader.


Den_Po's FAR CXC Plugin Method - Hardest but fastest and best.

14. Open up A2 Uploader.
15. Click "FileSystem Tool".
16. Connect your phone as usual, but this time hold down "c". If your phone's power button is "c" then connect with 2+5.
17. Wait. On the right you should see your phone's FS.
18. Double Click "/BOOT".
19. Now, right-click "phone_app.cxc" and click "Read". A2 Uploader will download your phone_app.cxc to a folder called "ph_out" which is located somewhere in the A2 Uploader program dir.
20. Click "SHUTDOWN FS MANAGER".
22. You do not need to repeat the last steps after completed once. As phone_app.cxc is saved on your computer.

23. Now for some of that legendary software by Den_Po! Open up FAR Manager.


24. On the left side browse to where your downloaded "phone_app.cxc" is located.
25. On the right side browse to where your patch(es) is/are located.
26. Now, on the left open "phone_app.cxc" by double clicking it.
27. Just for the purposes of understanding, on the left you now have an open "phone_app.cxc" ready to be patched. (Just like the list feature in the CodeClaw method).
28. On the right click on the patch you want to use. And hit F5 on your keyboard. Then it will ask for confirmation and just click "copy" that comes up in the grey box.



29. The patch is written to your .cxc ready to be patched. (Again just like the list feature in the CodeClaw method).
30. You can also add more patches again before patching. (Multiple patching).
31. Now to apply the patches. On the left above all the patches you have copied, there should be a "..." (which refer's to the parent folder).



32. Double click on this.
33. A dialog box should pop up and should say "saving" with a loading bar. This is when the patches are all applied.
34. Wait until this is done and you should be taken back to where you opened "phone_app.cxc" from.



35. Your "phone_app.cxc" is now patched, and ready for re-uploading!
36. Now reupload the phone_app.cxc that was outputted back to your phone's FS in "/BOOT".
37. This is obviously done using A2 Uploader.


To reverse:

One or more patches without removing all

Open the "phone_app.cxc" like in step 26 and delete any of the patches in the list and click "..." to save.

All Patches

Re-upload your original "phone_app.cxc" using A2 Uploader.

-----------------------------------------------

Advantages between different methods

A2 Uploader => Automatically download's and uploads everything for you. Although this makes the patching process very slow and doesn't usually allow multiple patching. + adding the extra line to the patch can be a nightmare.

CodeClaw CXC Patcher => Very fast patching. Multiple patching makes life a whole lot easier (if you're brave enough happy.gif ). Although, you have to download & upload everything manually using A2 Uploader. But, you don't have to add any extra lines to the patch(es)

Den_po's FAR CXC Patch Plugin => The fastest method of A2 patching known. Period. Supports multiple patching and there is no patching line needed to be added to patches. Although, you have to download & upload everything using A2 Uploader.


-----------------------------------------------

TUT ChangeLog

22/09/2009: Tutorial Posted
05/10/2009: Codeclaw CXC Patcher Method (after BETA stage)
07/10/2009: Den_po's FAR CXC Patcher Plugin Method
14/11/2009: Known Errors/Issues & How to fix them. (started)

Coming: ALL Screenshots & Formatting
-----------------------------------------------


Hope it helps. Any questions feel free to ask. There's lots of experts to help.

Help Topics:

A2 Uploader - http://forums.se-nse.net/index.php?showtopic=35439&hl=
A2 "Permapatching" Thread - http://forums.se-nse.net/index.php?showtopic=43997&hl=
SE Patches Forum - http://forums.se-nse.net/index.php?showforum=102
CXC Patcher Support Thread - http://forums.se-nse.net/index.php?showtopic=44071&hl=
Den_po's FAR CXC Patcher Plugin Support Thread - http://forums.se-nse.net/index.php?showtopic=44233&hl=


-----------------------------------------------

All download and installation information is now in the second post of this topic.

-----------------------------------------------



Credits:
Jinx13 for discovering the cert conversion method! Good on ya'!
the_laser for A2 Uploader..
Everyone that took part in the development of Aerix and D-Ultimate Unlocker!
CodeClaw for CXC Patcher. <3
Den_po for the check sum calculator & Far Plugin. cool.gif



TUTORIAL 2009 © KAOSBLADE & SE DESIGN
Kaosblade
Downloads


A2 Uploader and Cert Conversion Tools

CodeClaw CXC Patcher Thread with Download link

Far Manager

Den_Po's FAR CXC Patcher Plugin Thread with Download Link


Installation Guide


Den_Po's FAR CXC Patcher Plugin Installation Instructions

Okay this is really simple.

1. Download Far Manager 2.0 Stable from the page in the 3rd link above.
2. Download the attachment in the first post in the page of the 4th link above.
3. Now extract everything you downloaded as the Far Manager which is in .7z format using WinRAR to a nice little place that you can easily access on your computer.
4. Now extract the file called "farcxcplugin.dll" IN THE 2.0 FOLDER to the folder called "Plugins" which is in the Far Manager folder you just extracted in step 3.
5. Now making sure that "farcxc plugin.dll" is located in "/FAR/Plugins". You can now start using FAR.

Any questions then feel free to ask in the help topic for this software.


D - Ultimate Unlocker

A n00b could do this. I don't even know why I'm explaining this. laugh.gif

In the first link above extract the D-Ultimate Unlocker folder and double-click the installation .exe file. This will install D-Ultimate Unlocker ready for use.


That's it. I think that everyone can easily use everything else. Hope this all helps.

Known Issues & Errors; And How to Fix Them.

Aerix Battery Drain

Issue:

After using Aerix's nifty trick to change the certificate from RED to BROWN. Unfortunately it causes a bug in the phone's firmware that drains the battery much quicker than usual. We finally have a FREE fix!

Fix:

Download the latest version of D-Ultimate Unlocker (5.01+). Install it and run. Choose your phone in the left top corner. Now tick Repair EROM and on Lock change select "No Lock Change". And on certificate change select "No Certificate Change". Connect your phone with 2-5 held down. After the process is finished dis-connect your phone and re-insert battery. Finito!
jock
Nice KB but i think Jinx13 is worth some credits huh? wink.gif
CXC Patcher thread is also available for support smile.gif
Kaosblade
Done & done. smile.gif
jock
Great thumbsup.gif
maxidimov
When i do this A2 uplader says "can't find file to patch". Please help me.
gani
You have added this to your patch:

CODE
;pAtChFiLe=/boot/phone_app.cxc
maxidimov
Yes. I have. I don't know whats wrong. Can you explain how exsactly to make the *.vkp file?

Oh. I fixed it. Turns out i have been saving my file in Unicode, not in ANSI. Thanks anyway.
blacklizard
MOD, i think this topic should be pinned.. wink.gif
Jinx13
Wow great work KB, as blacklizard says should be pinned laugh.gif
Good to have everything in 1 post lol.gif
mc_kibel
Maybe this tool will be useful ? smile.gif

QUOTE
PL / EN

Add_Patchfile

PL:
Autor: mc_kibel // www.CentrumSE.pl/forum
Wersja: 1.00
Opis: Program dodaje linijkę ";pAtChFiLe=/boot/phone_app.cxc" do pliku .vkp.
Użycie:
- Opcja 1: Metodą "przeciągnij i upuść" przeciągamy plik .vkp na program
- Opcja 2: Uruchom program, wpisz nazwę pliku .vkp i kliknij enter (dużo wolniejsza metoda)


EN:
Author: mc_kibel // www.CentrumSE.pl/forum
Version: 1.00
Description: Program adds a new line ";pAtChFiLe=/boot/phone_app.cxc" at end of .vkp file very quickly.
Usage:
- First option: Drag & Drop .vkp file on .exe file
- Second option: Run .exe, enter .vkp filename (with extension) and press enter (much slower method)


Tell me if patches edited by this tool are working. smile.gif Because it adds patchfile at end of .vkp, not in the beginning.
Kaosblade
I'l try that one out after CXC and when I get time. Then I'l post it up. wink.gif
poncho_8a
First of all sorry for my poor english, i haven´t finished my english course xD i´m mexican u.u

hey Kaosblade, can you add something i discover to your first post?(well...only if you consider that is important). I have a w760 and i think it applies for all models, when you are patching a vkp file,i thought i had to keep my finger all the time pushing 2 and 5 buttons but just taking the risk of kill my cell phone, i... i... i don´t know how to say what i want to say x3...well, when a2 uploader say: "will work with "boot/phone_app.cxc" " you can stop pushing the buttons and its a relief to our fingers xD

i hope this post helps other people laugh.gif
bTHE1
QUOTE (poncho_8a @ 2009-09-23 23:11) *
First of all sorry for my poor english, i haven´t finished my english course xD i´m mexican u.u

hey Kaosblade, can you add something i discover to your first post?(well...only if you consider that is important). I have a w760 and i think it applies for all models, when you are patching a vkp file,i thought i had to keep my finger all the time pushing 2 and 5 buttons but just taking the risk of kill my cell phone, i... i... i don´t know how to say what i want to say x3...well, when a2 uploader say: "will work with "boot/phone_app.cxc" " you can stop pushing the buttons and its a relief to our fingers xD

i hope this post helps other people laugh.gif


Well as soon A2uploader picks up the phone, no need to hold down the keys. happy.gif
Lets keep the topic clean.
Kaosblade
After A2 Uploader recognises the CID of your phone it should be okay to release. But you can keep them down until it starts reading phone_app.cxc if you want to be extra safe. But it's unnecessary. wink.gif
ceaser2008
@kaosblade
Thank you for the in-depth tutorial. It has helped me a lot.

By the way, one question that comes in my mind, after applying a patch, for some reason i dont like it then how can i remove it. Should i have to start the procedure from step 14 and on step 21, i should press yes to remove it. Is it right? smile.gif
Corman
Exactly, press yes instead of no smile.gif
happyBOY78
Hello, i try to "re-colour" my W910i from RED to BROWN, i follow step by step this tutorial, but Aerix doesn´t work for me. I attach log from Aerix. This program show me conection error, but i don´t know why. My username and password are OK, in server address settings i try 221.195.40.209 or lock.polphone.com but no success.
Anybody have some idea, which can help me?
Sorry for my bad english..
ceaser2008
Hi,

I am getting 'cant get ACK' and 'err:0015' from a2uploader when i try to patch with the patch .vkp file. Actually, i have patched my phone using ready made .vkp like acid battery and acid signal.

What i did was i copy and paste the lines in new text file. Added patchfile line (copy and paste). Then save it as .vkp extension with ANSI coding.

Am i doing something wrong?

I am attaching one patch i made for checking.
Jinx13
This is correct...

QUOTE
;K850 SW-R1FA035
;Radio without handsets
;pAtChFiLe=/boot/phone_app.cxc
;© SiNgle
;(p) Simon94
+10000000
12F0C54: 01D1 01E0


;pAtChFiLe=/boot/phone_app.cxc should be like this NOT ;pAtChFiLe=bootphone_app.cxc wink.gif
ceaser2008
Thank you jinex, for drawing my attention. I will get it right when i will back to pc. I am on operamini.
Jinx13
No problem wink.gif
udit
And there is absolutely no charge *as in monetary charge* for performing ANY of the steps listed in the tutorial ? :? *Came back after days so...yea..Felt the need to ask*

If it's totally free, that's cool tongue.gif... Thanks for the tutorial KB.. Nice comprehensive *sleek!!* tut instead of nice but sometimes confusing stuff in Perma-Patching thread wink.gif *No offense meant*
Boysie
Its free providing your phone is not CID53. smile.gif
udit
*jumps around in glee* CID52 FTW tongue.gif Thanks for the reply mate
Boysie
QUOTE (udit @ 2009-09-30 16:30) *
*jumps around in glee* CID52 FTW tongue.gif Thanks for the reply mate

Lol! Happy patching!! wink.gif
naitsabez
hi, if i upload a patch on my brown w995 a2uploader asks me "some patch values differ, continue?" ? how comes?
maybe someone could send me a vkp, so i can compare. i would like to patch the radio without handset patch
thanks for every help
nothing_sweet
gr8 tut!! ty mate wink.gif sonyericsson.gif
nothing_sweet
getting this error
QUOTE
02.10.2009 14:29:04 PHONE STATE: "DEVELOPER"
02.10.2009 14:29:04 FLASH CID: 0052
02.10.2009 14:29:06 OTP LOCKED:1 CID:52 PAF:1 IMEI:xxxxxxxxxxxxxx CERT:BROWN
02.10.2009 14:29:08 LDR:2008-07-23 12:02 CXC1250779_DB31XX_EXPLORER_LOADER_APP_SDRAM_R2A065
02.10.2009 14:29:08 LDR CAPS:SYSTEM FLASH GDFS FILESYSTEM TA
02.10.2009 14:29:09 LDR:2009-04-21 18:09 CXC1250843_DB31XX_CS_LOADER_ACC_SDRAM_R2A081
02.10.2009 14:29:09 LDR CAPS:SYSTEM FLASH SIGNATURE AUTH
02.10.2009 14:29:09 Starting to process VKP patch script: D:\Program Files\SE\w595\VKP\ekvalaizeris.vkp
02.10.2009 14:29:13 VKP script loaded OK. Lines: 7
02.10.2009 14:29:13 Will work with "/boot/phone_app.cxc"
02.10.2009 14:32:22 Checking contents...
02.10.2009 14:32:24 Start writing...
02.10.2009 14:32:33 [fsFileWrite] can't get ACK
02.10.2009 14:32:33 fsFileWrite failed to send file part
02.10.2009 14:32:37 Elapsed:219 secs.
02.10.2009 14:32:58 Going to execute VKP script....
02.10.2009 14:33:05 ChipID:C900,EMP protocol:0401



VKP patch
QUOTE
;pAtChFiLe=/boot/phone_app.cxc
; W595 SW-R3DA026
; Enable equalizer without headsets connected
; © 2007KrasH
; (p) johnliang
+10000000
1826F84: 11D0 C04 6
asad_3944
Even i had The same problem it was the fastport
Try cleaning it
Kaosblade
It's either your fastport is dirty (clean it with a toothpick) or faulty (replace it).

OR

You have mispelt or added an extra space before/between/after this line in the patch.

CODE
;pAtChFiLe=/boot/phone_app.cxc


wink.gif
dj_craig_
Excellent tutorial kaosblade:)
It shud definatly help a lot ov people wanting to patch, is they any chance you could do a CID53 tutorial to go with it? Wot needs to be done with ultimate unlocker after log has been purchest,how to convert to brown ect... Thanks
Zaktan
yeah man!!!!! you've helped me so much!!!! thanx!!!!! great tut!!!!!
jock
QUOTE (dj_craig_ @ 2009-10-02 23:11) *
Excellent tutorial kaosblade:)
It shud definatly help a lot ov people wanting to patch, is they any chance you could do a CID53 tutorial to go with it? Wot needs to be done with ultimate unlocker after log has been purchest,how to convert to brown ect... Thanks


Same as blue to brown...
Kaosblade
I'l be posting how to use cxc patcher soon, when I get time. wink.gif
nothing_sweet
QUOTE (asad_3944 @ 2009-10-02 13:45) *
Even i had The same problem it was the fastport
Try cleaning it

k, but how to do this? O_O
Kaosblade
QUOTE (Kaosblade @ 2009-10-02 20:15) *
It's either your fastport is dirty (clean it with a toothpick) or faulty (replace it).

OR

You have mispelt or added an extra space before/between/after this line in the patch.

CODE
;pAtChFiLe=/boot/phone_app.cxc


wink.gif


Read the topic man.
mitch55
Is it possible to create a patch which includes several?
I've tried but not succeed
in order to not repeat the operation X times ...
cchaos
QUOTE (mitch55 @ 2009-10-04 16:28) *
Is it possible to create a patch which includes several?
I've tried but not succeed
in order to not repeat the operation X times ...

Wait for the update in the guide. Im sure that means that you can patch phone_app.cxc many a time (though you will still need to apply the patches one at a time) but it does mean that you can upload the "finished" file to the phone
Corman
I think he's talking about a VKP Combiner smile.gif. But the same effect can be created with Den_Po's CXC Patcher w-for FAR smile.gif
Kaosblade
QUOTE (mitch55 @ 2009-10-04 16:28) *
Is it possible to create a patch which includes several?
I've tried but not succeed
in order to not repeat the operation X times ...



QUOTE (Corman @ 2009-10-04 16:59) *
I think he's talking about a VKP Combiner smile.gif. But the same effect can be created with Den_Po's CXC Patcher w-for FAR smile.gif


Yes it can be done with Den_Po's Plugin and it can also be done with CodeClaw's CXC Patcher.
Guide will be updated soon. Sorry for the delays.
tiki66
I've installed patches on G502, everything works fine by now...
Question: did u guys converted your phone back to red or just left it brown? What's the difference?
Boysie
If you want to apply more patches you'll need to keep it brown. Little point going back to red as far as i can see.
mitch55
How to do to reupload phone_app.cxc
cchaos
Use A2 uploader
mitch55
QUOTE (cchaos @ 2009-10-04 19:29) *
Use A2 uploader


in which folder?
Boysie
/Boot
omokas
I don't remember if I have told you but this guide is supercool smile.gif Thank you so much
Kaosblade
Thanks. happy.gif
Kaosblade
CodeClaw CXC Patcher Method has been added to the tutorial! smile.gif
Hope it helps.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.