[Huawei Ideos X5 U8800] pikachukaki:
This is a helping guide from think i learn all this time editing and publishing roms here for U8800pro it isnt something great but i think it will help a lot of people who want to start with easy thinks

Programs and files that you need

Download Java JDK 7u2

Download Cygwin_Packages.zip

Download Android Kitchen Version 0.207

Download ApkTool 1.5.0

Download zip_signer

Download baksmalimanager

Download 7zip

Download Notepad++

The first and most importand thinks to have so you can cook a rom is Cydwin Kitchen!

So what do you need to start your setup!​

Download Java JDK 7u2 : Latest Java Development Kit at the time of writing. You can download most recent version here.

Download Cygwin_Packages.zip : Cygwin packages with setup file for offline installation. The Cygwin tools are ports of the popular GNU development tools for Microsoft Windows. For more info on Cygwin read here.

Download Latest Android Kitchen Version 0.207 : Latest android kitchen at the time of writing. You can look for a much recent version at dsixda's Github.

So, once you have got the required files. Follow the steps below carefully to setup Android Kitchen on your PC. Want more details? Watch this video I did on installing Android Kitchen on Windows PC.

1. Install latest Java JDK. It's pretty simple just follow the instructions and you are done.

2. Download and Extract Cygwin Packages and Android Kitchen on your desktop or somewhere easy to access.

3. To begin, install Cygwin first. So, run setup.exe from the extracted files and go through the installation process.

4. Choose install from folder

not from internet

and choose the folder that you extracted on your desktop then click the round icon until it says install next to it!

5. Run Cygwin.exe from desktop once and it will create a folder with your username on /home/ directory.

6. Navigate to the folder where you installed Cygwin and go inside .../home/yourname/ folder.

7. Copy the Android Kitchen Version 0.207 to this location.

8. Run Cygwin.exe and navigate to kitchen folder. for that simply type the command cd kitchen and press Enter.

9. Once inside kitchen folder, type ./menu to run android kitchen. Note: if you get a permission denied error then type chmod +x menu or chmod 777 menu in Cygwin command line utility first and then only run the command ./menu .

10. You will be presented with the Android Kitchen menu seen above. Use these options and get started.

So you have a working cygwin application to be able to let you cook your roms

Now lets use this app

​

1) Run Cygwin.exe from desktop

2) Wait the terminal to show you your name above and a $ character then type ./menu and press enter

3) Wait for the kitchen to load you will se the menu of the kitchen

4) Now we have to put our base rom on the kitchen folder example c:\cygwin\home\(yourpcname)\original_update folder

5) After adding the zip rom to this file press 1 on the kitchen menu

6) Read and follow the info on the kitchen until it extract the files to c:\cygwin\home\(yourpcname)\WORKING_xxxxxx_xxxxx (x is numbers)

7) In this folder you will have an extracted contents of your rom do anything you like change apk's change libs change what ever you wan't

8) After editing your rom, you can test other features of the kitchen too like adding root or like adding init.d support, press the 99 command on the kitchen

9) The kitchen then will begin to build your rom press the 1 when it ask you its a interactive method to build your rom it will ask you to zipaling your apk's press Y and then wait for the rom to build on the folder c:\cygwin\home\(yourpcname)\OUTPUT_ZIP

10) Your rom now is ready to release with one more think to do...cos kitchen is made for HTC phones the META-INF folder is made for a HTC phone you need to take the META-INF folder from the previous zip rom... (of course is a working for your phone rom) and paste it in the new zip kitchen made for you

Voila you have a working freshly cooked rom from kitchen put it on your sdcard and test it before publish it on the forum! ;)

Now we have to use ApkTool, The latest ApkTool is 1.5.0 and you can download it from here

Apktool lets you de-compile and compile apk's so you can edit them for example you can de-compile your framework-res.apk so you can change the battery icon remember that many thinks to change you need to edit a bunch of xml's too!

​

So the apktool is a simple tool nothing too dificult and strange

1) After downloading the zip extract it to a folder no in your desktop is good to have all your programs to a specific folder so you dont have to search but its a personal choice

2) The first think to do is to register our systemui.apk and framework-res.apk to the apktool so it can find the strugture of the files we edit

3) Remember that those too files are for a specific phone not for all android phones cos not all android phones uses the same systemui and framework-res

4) So we need to take our two this files from a working rom for our phones and put them to our windows folder (Yeah the exact folder that have your windows in it)

5) We also need the two files inside the apktool zip too...so all the 4 files the two from the zip and the two apk's from our rom to put them on windows folder

6) After that we need to register them through CMD

7) The easiest way to do it is from inside the windows folder with pressed shift and left mouse click to choose

open command window here

8) Be sure that the path of the cmd will be C:\Windows just to be sure and then we need to type apktool if framework-res.apk & apktool if systemui.apk we will see after each command that the cmd will tell us that the 1.apk and 127.apk are register on c:\users\......\apktool

9) Now that we have our apk's register we can edit our apk's

10) Now close the window folder we finish from here and open your folder that have the working apktool in it

11) Just like before press shift and left mouse click to open command promp

12) You need to put at least on apk that you need to edit inside apktool folder

13) In the command type

apktool d nameoftheapk.apk

14) Wait for the decompile to finish and you will have a folder with the name of the apk that you decompile

15) Inside this folder you will see the contents of the apk you just edit the most easy think to change is the png's the png's are inside /res/drawable-hdpi

15*) Remeber that when you edit an apk to make a mod just like move statusbar clock to center or make transparent status bar use the exact steps that you find here on xda on a tutorial you will find don't just change png's and xml's the sure think is that after finishing this the apk will give you a lot of FC's!

16) Anyway after changing whatever you want inside the apk go again to the command promp window and type

apktool b nameofapk

(without the .apk extension)

nameofapk2.apk

!

INFO:You dont need to put the apk extension in the first part cause you now compiling the folder not the apk and then you need to add a 2 or 3 or test after the name of the apk so it didn't cause problems with the existing apk with the same name! ;)

17) Your apk is now ready remember that sometimes the apk will be smaller on size if this is happening the compile is faulty mostly cause resources.arsc didnt copy in the new apk or some times most of the times if it is a system apk like systemui.apk or settings.apk you need to open the original apk and took the META-INF folder and the androidmanifest.xml and paste them to your new created apk!

Now we need the zip_signer. The zip_signer tool is a simple tool that you can sign your roms without having to put them on the kitchen only for signing its quite simple to use

​

1) Download zip_signer from here

2) Extracted to a folder on your pc and open the application

3) Drag the rom that need signing and press sign then wait for the app to finishing and then you will see a newly created zip on the same folder this is you new sign rom ready to use!

INFO: So now what is sign and why we need it..remember when you trying to install a rom that the cwm sais (bad) this is an unsign zip sing need to verify the files in the rom and to see that they have the same key...also remember that you need to sign a rom when you just edit apk's through winrar on winzip kitchen always sign a rom when cooking it!!

One more came to my mind is the smali/backsmali editor

Smali files are files inside an apk and/or a jar file in our roms that we need to decompile from apk/jar edit and the recompile it an example of editing a smali file is smooth scrolling and patched services on ICS/JB for memory optimise with supercharger

​

1) First of all again you need to download baksmalimanager from here

2) Also like the apktool this is an easy tool to use extract it on a folder to your pc

3) Open the baksmali Manager.bat ignore the adb error press enter and in the interface choose 4

4) There is no need to say that you already have your apk/jar file in the same folder with baksmali Manager choose it on the interface

5) Then press 1 and wait for the tool to baksmali the apk/jar file

6) When it finished dont close the manager you will see a folder named after the file you just baksmali open it made tha changes again unter a tutorial and then go again to the baksmali Manager

7) After finishing editing the smali files and you are back on the baksmali Manager choose 2 and wait for the tool to smali the apk/jar that you just edit

8) The diference with apktool is that after the tool is finished smaling the files it will extract a

classes.dex

in the folder you have the tool

9) This is the compiled smali files you just edit take this classes.dex file and put it in the original apk/jar that you baksmali in the first use 7zip cos is the best for this thinks after droping the classes.dex file to your apk/jar file you are ready to put the new file in your device for testing!

Thats for now more as i remember to come!!