Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,892 Members 42,921 Now Online
XDA Developers Android and Mobile Development Forum

[Guide]Complete Android ROM development and essential tutorials ~~ By Nero Young ~~

Tip us?
 
neroyoung
Old
(Last edited by neroyoung; 2nd December 2013 at 08:36 PM.)
#1  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Angry [Guide]Complete Android ROM development and essential tutorials ~~ By Nero Young ~~

Hi,
If you willing to learn to build custom ROM then you should have following things
  • Basic Knowledge about handling Command Promt
  • Basic Windows software knowledge
  • PC with all tools properly installed
  • And a mobile with bootloader unlocked

This tutorial is for "Windows OS (Windows 7 x64 in my case)" And Android 2.3+ OS (2.3.4 GingerBread in my case).
But Dxda Kitchen also supports Ubuntu/Linux and also can support Ice cream sandwich

In this whole post you will learn How To -
  • Make custom ROM - Done
  • Unpack .ftf packages - Done
  • Use Cygwin - Done
  • Setup Android Kitchen - Done
  • Edit .apk files - Done
  • Edit .jar files - Done
  • Edit .9.png files - Done
  • Rooting System - Done
  • Writing scripts
  • Making flashable zips - Done
  • Porting apk software
  • A2SD Techs - Dropped ( Outdated now )
  • Editing build.prop - Done
  • Editing init.d tweaks
  • Information of every customizable file
  • Making Hosts
  • apn configs
  • editing boot.img
  • converting png to rle or vice versa
  • Writing updater-script
  • Making Aroma Installer
  • How to set default Settings after ROM installations
  • more and more things to arrive

Tools Required : (Update them manually and report me dead links please)

Quote:
Quote:
Download the tools as per your need.Link is given in the name itself below....



Special Thanks to -

dsixda for his awesome kitchen Please Hit Thanks button for him
DooMLoRD for providing root files
Please kindly remind me if i have forgotten to write your name in thanks section, i have collected all things from many many sources and with modification.
The Following 583 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
(Last edited by neroyoung; 27th May 2012 at 02:56 AM.)
#2  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Tools Overview


Quote:
Introduction


This video gives information about the basic tools for ROM development.
Tools will be uploaded once the tutorial is completed.And the links will be posted in 1st post.This tutorial is for all kinds of devices.No matter what your device is ... you can use this tutorial...
Though ftf files are only for Xperia devcies which are used in flashtool to flash stock ROMs to Xperia devices.If you have other device the don't get confused if you will not ftf file for your device.Try other sources to get system files.

Quote:

Quote:
Settings Up Cygwin And Kitchen

This video teaches you how to setup Cygwin And Kitchen.The softwares told in this video can be downloaded from first post


Quote:

Quote:
Setting Up Remaining Tools (ftf extractor,flashtool,fastboot etc)


This video teaches you how to setup all remaining files and folders...
Quote:
The Following 143 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
(Last edited by neroyoung; 27th January 2013 at 08:48 AM.)
#3  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Getting System Folder

Quote:
Universal method for obtaining system folder (Root needed)

This tutorial guides you how to extract system folder from .ftf packages and get system folder for your custom ROM easily.
For this we have used ftf extractor.

Though you can flash your device,install stock ROM root it and then copy all system file to SD Card and get the system folder.This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
Install it on your freshly flashed device as stated above.
Open it and type:
su

This will give root permission to your terminal emulator.
Then type:
tar -c system/* >> sdcard/system.tar

This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.

After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)

Code:
/app
/bin
/etc
/fonts
/framework
/lib
/lost-found
/media
/sd
/semc
/usr
/xbin
build.prop
And some other files and folders like ""autorooted,kernel files" etc
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be

Code:
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Now thats all...
Use this pre rooted ROM as your base now and have fun in tweaking and customizing .... Hope this is simplest method that you could ever find...

Quote:
Extracting .FTF File
Only For GB ROM AND XPERIA DEVICES !

Try this method if ftf extractor is failing for ICS. And note that ftf files are only for sony models.
You can optinally try flashtool to edit .sin files from ftf files. Just install latest flashtool and go to advance menu. then choose sin file editor, choose desired ftf file and then dump the system folder.
Another methods to get system folder.

Quote:
The Following 96 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
#4  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Working With Android Kitchen



Quote:
Getting Started

This tutorial will tell you how to setup working folder in kitchen and how to root your ROM,change name,add busy box etc.
This is pre requirement on ROM development.So this video will continue after total customization is done !
After this video you can jump to next post to proceed with customization and then come back to setup to second video in this post so you can continue packing of system folder in flashable zip

Quote:

Quote:
Finalizing ROM

This video shows you how to finalize making zip file of your ROM and use it for flashing.

Quote:
The Following 97 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
#5  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Working With APKTOOL


Quote:
Editing .APK Files

This video teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.

Quote:

Quote:
Editing .JAR Files

In this next video you will get information on how to edit .jar files like services.jar using APKTOOL.
Quote:

The Following 91 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
#6  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Customization Tutorials


Quote:
Dealing With .9.png Files

This video teaches you how to edit draw9 i.e .9.png image files easily without any errors.

Quote:

The Following 77 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
(Last edited by neroyoung; 26th May 2012 at 08:51 AM.)
#7  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Performance,Battery Life Using Build.prop Tweaks!


Quote:
Editing Build.prop

This video will guide you for editing build.prop of your device but make sure you don't copy my build.prop.Edit yours build.prop and use syntax from my build.prop
Here is download link for you - Download Build.prop
Quote:

The Following 75 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
(Last edited by neroyoung; 24th April 2013 at 05:35 PM.) Reason: Added GIMP tutorial link
#8  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Angry GIMP Tutorial

Using GIMP For Editing Images


The Following 48 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
(Last edited by neroyoung; 1st June 2013 at 06:58 AM.)
#9  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Remaining posts


Quote:
This post contains

Editing init.d tweaks
Making Hosts
apn configs
How to set default Settings after ROM installations

Download Link in 1st Post

Quote:

The Following 38 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
 
neroyoung
Old
#10  
neroyoung's Avatar
Senior Member - OP
Thanks Meter 2,400
Posts: 828
Join Date: Oct 2011
Location: Pusad, MH
Reserved for more work 9

The Following 38 Users Say Thank You to neroyoung For This Useful Post: [ Click to Expand ]
Tags
apk jar editing, custom rom, customisation, rom development
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes