[Sony Ericsson Xperia Neo, Pro] LoneWanderer:
The Buttons Of Life​

A guide on how you can make your own OSB(On Screen Buttons)

Before we begin...you need to ask yourself some very important questions...

1. Do I really need OSB??

2. Do I really wanna follow this guide and create them on my own??

3. Are OSB what I deserve but not the ones I need right now??

If you've have answered YES to any or all of the questions above then this is the guide for YOU!!! ;)

A really big thanks to Attitude.SSJ...he taught me this...SO if u find this guide helpful...please scroll down and hit Attitude.SSJ's thanks button.

The Things We Need

1. framework-res.apk

2. SystemUI.apk

Get these from the your rom's zip..

Download

1. Winrar

2. Notepad++

3. ApkManager

4. Java

View attachment 1814478

The Things We Do

PART 1: Framework

1) Take the framework-res.apk and SystemUI.apk from rom and paste it in "place-apk-here-for-modding" folder in Apk Manager.

2) Double click Script in Apk Manager folder nd choose Option 22 and then select option no of framework.

3) Now choose Option 9 which will decompile the apk file. After decompiling, goto the projects folder and you'll find framework folder

4) Open it ..goto 'res' nd then 'values' folder...find bools and right click to edit with notepad... search for

<bool name="config_showNavigationBar">

false

</bool>​

5) Change 'false' to 'true'...save file.

6) Open 'dimens' file in the same folder(values) and search for navigation bar height and width...change them to size you want...save file

Note: If you dont want OSB in landscape view..then type 0.0dip like this...

<dimen name="navigation_bar_height_landscape">0.0dip</dimen>​

7) Compile the file using Option 11 in Apk Manager..

It will ask you if its a system apk...type 'y'..hit enter.

Now it'll ask you if you would like to copy the files that you haven't modified..type 'y'..hit enter.

8) A 'keep' folder will be created in the Apk Manager folder after it extracts everything..

It'll ask you whether to delete changed files from keep folder..minimize command prompt and go to keep folder and delete 'resources.arsc' file...

9) Go back to command prompt and press any key...it'll compress everything..compiling done.

10) You'll find the newly compiled framework file as unsignedframework-res.apk...just remove the 'unsigned' from the name.
​

DONE!!

PART 2: System UI

This part is needed if you want to change the color and icons of OSB. If u dont care about these and just want the default white ones..then you can skip this part.

1) Double click Script in Apk Manager folder nd choose Option 22 and then select option no of systemui file.

2) Choose option extract apk (Option 1). After extracting, goto the projects folder and you'll find systemui folder

3) Open it ..goto 'res' nd 'drawable-hdpi' and paste the 5 image files which you need and it will ask whether to replace...press yes...

Q.What images are these and where do i get them from??

A.http://xdaforums.com/showthread.php?t=1413582​

4) Now choose Option 3(Zip Apk) and then choose Option 1(System Apk)

5) You'll find the newly compiled SystemUI file as unsignedSystemUI.apk...just remove the 'unsigned' from the name.
​

DONE!!

Part 3: Flashable Zip

1) Download Sample.zip but dont extract it..just open the sample provided with winrar...you will see 2 folders META-INF and system.

View attachment 1814479

2) In system there will be two folders framework and app...

Drag the new framework-res.apk to framework folder...

and the SystemUI.apk folder to app...​

3) META-INF has info about flashing...goto com..google..android and open update-script file with notepad++...you can edit whatever you want in

ui_print (" ") ...it will be displayed while installing...Save file..
​

DONE!! File ready to flash.

The Things We Ask

1. Will this guide change my life??

A. NO.

2. Then why do you call them Buttons of Life??

A. Simply because I can..:good:

3. What are those 5 images??

A.

ic_sysbar_back

ic_sysbar_back_ime

ic_sysbar_home

ic_sysbar_menu

ic_sysbar_recent​