[Sony Xperia P, U, Sola, Go] DivyaMamgai:
This Tool has been replaced by - Junohttp://xdaforums.com/showthread.php?p=45990300#post45990300

Please visit the new thread!

For older Thread click the button below.

​

Welcome To Sony System App Editor Ver.1.1​

Installation

Please follow the instructions carefully, cause this is very crucial to the programs working.​

Step 1

Download the following resources :​

Android SDK (drawPatch9)

Java SE Runtime Environment 7 (Java)

Step 2

Go to Advanced System Properties.

It should look like this:

Go to Environment Variables, then create a new System Variable, having name JAVA_HOME and value according to the path where you have installed the JRE(7).

It should look like this:

Now after creating the JAVA_HOME variable, search for Path system variable in the System Variables list. Now this is a bit tricky. Once found click on it and then on Edit. Now if your value is ending with ";" (without quotes) then just add the path to your JRE(7) bin folder. If the ";" is not present then just add it and follow the rest of instruction as given.

It should look like this:

Now just Save it. (Just keep on clicking OK it will be done automatically.)

Step 3

Download Ver.1.1.zip.

[*] Download

[*] Size: 17.85 MB (18714229 bytes)

Now Extract the zip where ever you want in your computer.

Step 4

Open the folder in which you have extracted the files and then the res directory in it.

Now make sure that the folder looks like this -

If you want you can add your modified resource files too.​

Note: If you are using any other ROM or PHONE of Sony (This program might be compatible with all types of Phones and Roms though!), then you should over-write the already present resource files in the res directory with your own ROM or PHONE resource files. (This is important!)

Now open the program by executing - Sony System App Editor.bat, like this -

Then type LOADRESOURCES, and let the program install the required resources. Once done add your APK file to this program's directory and get started, cause you are all done!

It should look like this:

How to use?

Step 1

Make sure you have the original version of the system apk. (This is important cause in other situations I cannot guarantee it's working as I haven't tested it. ) Copy it to the program's main directory.

Now open the Program by executing - Sony System App Editor.bat, and type only the name of the System app.

For eg.: If you want to edit UxpNxtLockScreen.apk, then copy it to the main directory, and then by executing the program type UxpNxtLockScreen. (Notice no .apk!)​

Now press Enter and let the program handle the rest.

Still it should look like this:

Now check for any errors in the Apktool output screen, if none found you are good to go or else I don't know what to do?...(:p)

If everything went fine it should look like this -

Step 2

Edit your APK to your carnal needs! But still make sure everything you do is syntactically correct and there are no erroneous codes.

For editing APK's go to the working folder of the program, and look for the folder that is named after the file-name of your System Apk.

It should look like this:

​

Now open it and start editing.

Step 3

Now assuming you have finished editing the System app, execute the main program once again - Sony System App Editor.bat.

Type the APK's file-name (no exts.) which you where editing, and press enter.

It should look like this:

Make sure everything goes right and check for any errors in the APKTOOL output screen, cause program at the current stage will still produce a build even if there is any error with apktool! (Will be solved soon.)

Now assuming you have checked everything and nothing is wrong, then you are good to go! And still it should look like this -

Step 4

Assuming that everything has been fine till now, so then you can have your APK file in the build folder of the Program's main directory.

It should look like this:

​

Now copy it to a place where you can create a flash-able zip out of it! :laugh:

Note: If you want to start modification of the new apk file of the same name, first delete the folder in the working directory of the previous APK's file-name. (It's important.)

Condition of it's use

Please use this program at your own risk. It has only been tested to mod UxpNxtLockScreen.apk.

This program utilizes a technique that I learned while creating my first mods, and was not able to find a perfect tutorial.

The technique this program utilizes might not be applicable for all types of System Apps.

The program is just created by me today (23/9/13), so please bear with it's simple and non-wanting UI and features.

So start using it and start modding today! - Become a World-Class Developer! (.........:laugh:.......:p........:laugh:........)

Download Ver.1.1​

Please wait till this program is completely face-lifted!​

Credits

Apktool developer for developing such a great tool.

Google for making such a wonderful OS!

Me for making it's modification so simple! (divinemamgai)