FORUMS
Remove All Ads from XDA

 View Poll Results: Was This Guide Helpfull?? RAte It Out of 5.

YES IT WAS HELPFULL
 
17 Vote(s)
44.74%
NO IT WAS NOT HELPFULL
 
1 Vote(s)
2.63%
1-NOT AT ALL HELPFULL
 
0 Vote(s)
0%
2-NOT SO HELPFULL
 
1 Vote(s)
2.63%
3-OK-OK
 
3 Vote(s)
7.89%
4-GOOD
 
7 Vote(s)
18.42%
5-GREAT
 
19 Vote(s)
50.00%

[GUIDE][WIN/LINUX] A COMPLETE ANDROID DEVELOPMENT GUIDE FOR NEWBIES-SArnab©®

2,868 posts
Thanks Meter: 2,932
 
Post Reply Email Thread
Welcome to a whole new guide on Android Development
-SArnab©®



I will cover up all small n big details that one can need to step his/her foot on the road to android development.


What are you gonna find in this Guide/Tutorial :
  • Basic knowledge of Android Development.
  • Tutorials to set up a full working environment or Your Workspace.
  • Knowledge about tools used/needed in Development.
  • Easy tutorial for cooking one's own custom rom.

What are you not gonna get :
  • Spoon fed help to do even a simple work.
  • Pre modded Apps or Roms.
  • A pre built option to carry on a project.
TUTORIAL CONTENT:

  • #1 GENERAL INTRODUCTION & REQUISITES[REQUIRED TOOLS] OF ANDROID DEVELOPMENT;
  • #2 OS WISE WORK ENVIRONMENT SETUP GUIDE;
  • #3 GUIDE TO MODIFY APPS PART-1.
  • #4 GUIDE TO MODIFY APPS PART-2.
  • #5 GUIDE TO COOK CUSTOM ROM PART-1.
  • #6
  • #7
  • #8
  • #9
  • #10
  • #11
  • #12
  • #13


THINGS YOU NEED TO START YOUR JOURNEY

PER-REQUISITES:

  • COMPUTER/LAPTOP TO WORK ON
  • A WELL KNOWN OPERATING SYSTEM THAT YOU ARE USED TO:
    • WINDOWS OS : VISTA OR 7 PREFERRED.
    • LINUX DISTRO : UBUNTU 12.10 64 BIT PREFERRED. DOWNLOAD LINK
    • MAC OS-X : THIS GUIDE DOES NOT SUPPORT MAC OS-X. SORRY MAC USERS.
  • JAVA DEVELOPMENT KIT[JDK] : V6 N V7 BOTH FOR BETTER RESULTS. [USE V6 IF YOU DON'T HAVE A HUGE CAPACITY DATA PLAN. IT'S THE PREFERRED ONE.] DOWNLOAD LINK
  • DOWNLOAD THIS ANDROID SDK ADT BUNDLE TO MAKE YOUR OWN APPS.[RECOMMENDED]DOWNLOAD LINK.

TOOLS/SOFTWARES REQUIRED AS PER YOUR NEED:


TOOLS REQUIRED BY WINDOWS USERS ONLY:


Quote:

NOTEPAD++ FOR EDITING : .xml & .smali FILES OF APPS, build.prop TO ADD TWEAKS & Updater-scripts FOR YOUR ROM & UPDATE PACKAGES.[DO NOT USE WINDOWS NATIVE NOTEPAD/WORDPAD. THEY WILL DAMAGE THE FILES.] DOWNLOAD.

Quote:

7zip ARCHIVE MANAGER : USED TO MAKE UPDATE PACKAGES, SIGN APPS, & OTHER ARCHIVE RELATED JOBS.


Quote:

PAINT.NET : IT IS USED FOR MAKING .PNG FILES FOR UI. YOU CAN ALSO EDIT THEM. DOWNLOAD LINK.
[YOU MAY EVEN USE G
IMP IMAGE MANIPULATION PROGRAM OR ADOBE PHOTOSHOP.]




TOOLS REQUIRED BY LINUX USERS ONLY:


Quote:

p7zip ARCHIVE MANAGER : USED TO MAKE UPDATE PACKAGES, SIGN APPS, & OTHER ARCHIVE RELATED JOBS.

Quote:

GIMP IMAGE MANIPULATION PROGRAM : IT IS USED FOR MAKING .PNG FILES FOR UI. YOU CAN ALSO EDIT THEM. ITS ALREADY INCLUDED IN UBUNTU.


TOOLS REQUIRED TO COOK YOUR OWN ROM:

TOOLS REQUIRED FOR COOKING ROM THROUGH METHOD NUMBER 1:

FOR WINDOWS USERS

Quote:

CYGWIN : ITS A UNIX LIKE TERMINAL APP FOR WINDOWS USERS. YOU NEED TO INSTALL THIS TO RUN ANDROID KITCHEN.
DOWNLOAD LINK
ALSO DOWNLOAAD N EXTRACT THIS PACKAGE : DOWNLOAD LINK

Quote:


dsixda's Android Kitchen: USED FOR COOKING A CUSTOM ROM.
DOWNLOAD THE LATEST ONE.

FOR LINUX/UBUNTU USERS

Quote:

dsixda's Android Kitchen: USED FOR COOKING A CUSTOM ROM.
DOWNLOAD THE LATEST ONE.ORIGINAL THREAD


TOOLS REQUIRED FOR COOKING ROM THROUGH METHOD NUMBER 2

FOR SAMSUNG DEVICES:

Quote:

ODINATRIX: IT IS REQUIRED TO GET SYSTEM.img FROM SAMSUNG FIRMWARES COOKING CUSTOM ROM FROM KITCHEN. DOWNLOAD


FOR XPERIA DEVICES:
Quote:

FLASH TOOLS FOR XPERIA DEVICES : DOWNLOAD
UNYAFFS TOOLS : DOWNLOAD



TOOLS REQUIRED TO MOD/EDIT AN APK : USE ANY ONE OF APKTOOL/APK BOX/APK MULTI TOOL & BAKSMALI MANAGER IS NECESSARY TO DOWNLOAD FOR ADVANCE MODDING.

Quote:

  • APKTOOL : THIS TOOL HELPS YOU TO DECOMPILE N RECOMPILE APK: ITS THE BEST FOR NEW COMERS DOWNLOAD LINK
  • INSTALLATION PROCEDURE
  • Windows:
  1. Download apktool-install-windows-* file
  2. Download apktool-* file
  3. Unpack both to your Windows directory
  • Linux:
  1. Download apktool-install-linux-* file
  2. Download apktool-* file
  3. Unpack both to /usr/local/bin directory (you must have root permissions)

Quote:

  • APK BOX
  • Install

    - Download the .zip file
    - Extract the .zip file in your working folder[or anywhere in your computer/laptop as u like]
    - Open ApkBox folder n double click apk.bat to run it.

Quote:

  • AVAILABLE ONLY FOR WINDOWS OS.
  • Installing APK Multi-Tool Itself

    Run the installer and make sure it is pointed to the root of hard drive
    Example
    C:\APKMultiTools\

Quote:

  • BAKSMALI MANAGER: IT IS USE TO BAKSMALI N SMALI .JAR FILES.
  • INSTALLATION : EXTRACT THE DOWNLOADED ZIP FILE WHERE EVER U WANT.

================================================== ========================================

CREDITS :

TO YOUR PARENTS OR GUARDIANS FOR THE PC OR LAPTOP U R USIN.
TO DEVELOPERS OF VARIOUS OPERATING SYSTEMS.
TO:
  1. iBotPeaches FOR APKTOOL.
  2. iptux FOR APK BOX.
  3. raziel23x FOR APK MULTI TOOL.
TO: UNKNOWN FOR BAKSMALI TOOL.
TO DSIXDA FOR HIS AWESOME KITCHEN.
TO THE TEAM BEHIND CYGWIN, NOTEPAD++, PAINT.NET.
TO GOOGLE FOR ANDROID & ANDROID SDK
TO noobzFTW FOR THE GREAT ODINATRIX TOOL.
LAST BUT NOT THE LEAST TO ME FOR THE GUIDE ITSELF.

================================================== ========================================
PLEASE PRESS THE THANXXX BUTTON IF THIS POST/THREAD HELPED YOU EVEN A BIT. BE GENEROUS N DONATE TO HELP ME N TO PRAISE MY HARD WORK.

GUYS I WILL UPDATE THE GUIDE SLOWLY SO THAT I DON'T MISS ANY NECESSARY INFO.
The Following 60 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
 
 
7th March 2013, 09:37 AM |#2  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Angry Setting up a perfect user friendly build environment
WORK ENVIRONMENT SETUP GUIDE

WINDOWS OS

1ST OF ALL MAKE SURE TO HAVE A LOT OF FREE SPACE IN LOCAL DISK C. [REASON : ALL YOUR TOOLS ARE GONNA STAY THERE FOR THE DEVELOPMENT PROCEDURE.]


SETUP 1: COMPLETE SETUP
Quote:

  • DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].

Quote:

  • DOWNLOAD N EXTRACT ANDROID SDK ADT BUNDLE IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].

Quote:

  • DOWNLOAD N INSTALL CYGWIN IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
    • Q.]HOW TO INSTALL CYGWIN?
    • ANS.] DOWNLOAD setup.exe
        • DOUBLE CLICK ON THE DOWNLOADED FILE.
        • PRESS YES IF ASKED.
        • PRESS NEXT.
        • SELECT THE 3RD OPTION [INSTALL FROM LOCAL DIRECTLY].
          • PRESS NEXT.
        • IF DESTINATION DRIVE IS SET TO "c/cygwin" PRESS NEXT ELSE 1ST SET DESTINATION DRIVE TO "c/cygwin".
        • SELECT WHERE YOU WANT TO DOWNLOAD THE FILES.
        • THEN WHEN IT SHOWS ALL THE PACKAGE NAMES, GO TO THE TOP & CLICK ON THE ARROW NEAR "all default" UNTIL IT CHANGES TO "all install" N PRESS NEXT.
        • WAIT FOR THE INSTALLATION TO FINISH.
        • THEN TICK BOTH THE OPTIONS FOR ICON PLACEMENT n PRESS FINISH/NEXT.


    • OPEN THE CYGWIN FOLDER.[My Computer/Local Disk C/cygwin/home/make a new folder here].
    • RENAME THE NEW FOLDER AS YOUR USER NAME. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12].
    • NOTE: YOUR USERNAME IN WINDOWS SHOULD NOT HAVE SPACE IN BETWEEN. [EXAMPLE: "xxx 12" is not recommended. "xxx12" or xxx.12" ARE THE BEST FORMAT OF USERNAME.] [REASON : IN SIMPLE WORDS CYGWIN WILL NOT UNDERSTAND THE SPACE]

Quote:

  • DOWNLOAD N EXTRACT dsixda's ANDROID KITCHEN IN CYGWIN FOLDER. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12/kitchen].

Quote:

  • DOWNLOAD AND EXTRACT APKTOOL/APK MULTI TOOL/APK BOX IN LOCAL DISK C. [ANY ONE OF THEM YOU LIKE.][RECOMMENDED: APKTOOL][My Computer/Local Disk C/apktool/apk multi tool/apk box].

  • Quote:

      • FOR APKTOOL YOU NEED TO DOWNLOAD N EXTRACT TWO PACKAGES IN SAME FOLDER.[My Computer/Local Disk C/apktool/].
        • Download apktool-install-windows-* file
        • Download apktool-* file

Quote:

  • DOWNLOAD N EXTRACT BAKSMALI MANGER IN LOCAL DISK C.[My Computer/Local Disk C/baksmali].

IF YOU HAVE FOLLOWED ALL THESE STEPS CORRECTLY THEN U SHOULD HAVE SET UP A PERFECT COMPLETE WORKING ENVIRONMENT FOR YOURSELF. IF NOT THAN FOLLOW THE STEPS AGAIN IN THEIR ORDER. IF STILL U GOT STUCK SOMEWHERE FELL FREE TO POST ABOUT WHERE U GOT STUCK OR WAT U R NOT ABLE TO UNDERSTAND. JUST NOT POST CANT DO OR ITS TO HARD OR ANYTHING LIKE THAT.


SETUP 2: ROM COOKING SETUP
Quote:

  • DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].

Quote:

  • DOWNLOAD N INSTALL CYGWIN IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].
    • Q.]HOW TO INSTALL CYGWIN?
    • ANS.] DOWNLOAD setup.exe
        • DOUBLE CLICK ON THE DOWNLOADED FILE.
        • PRESS YES IF ASKED.
        • PRESS NEXT.
        • SELECT THE 3RD OPTION [INSTALL FROM LOCAL DIRECTLY].
          • PRESS NEXT.
        • IF DESTINATION DRIVE IS SET TO "c/cygwin" PRESS NEXT ELSE 1ST SET DESTINATION DRIVE TO "c/cygwin".
        • SELECT WHERE YOU WANT TO DOWNLOAD THE FILES.
        • THEN WHEN IT SHOWS ALL THE PACKAGE NAMES, GO TO THE TOP & CLICK ON THE ARROW NEAR "all default" UNTIL IT CHANGES TO "all install" N PRESS NEXT.
        • WAIT FOR THE INSTALLATION TO FINISH.
        • THEN TICK BOTH THE OPTIONS FOR ICON PLACEMENT n PRESS FINISH/NEXT.


  • OPEN THE CYGWIN FOLDER.[My Computer/Local Disk C/cygwin/home/make a new folder here].
  • RENAME THE NEW FOLDER AS YOUR USER NAME. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12].
  • NOTE: YOUR USERNAME IN WINDOWS SHOULD NOT HAVE SPACE IN BETWEEN. [EXAMPLE: "xxx 12" is not recommended. "xxx12" or xxx.12" ARE THE BEST FORMAT OF USERNAME.] [REASON : IN SIMPLE WORDS CYGWIN WILL NOT UNDERSTAND THE SPACE]

Quote:

  • DOWNLOAD N EXTRACT dsixda's ANDROID KITCHEN IN CYGWIN FOLDER. [My Computer/Local Disk C/cygwin/home/xxx12 or xxx.12/kitchen].


SETUP 3: APP MAKING SETUP
Quote:

  • DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].

Quote:

  • DOWNLOAD N EXTRACT ANDROID SDK ADT BUNDLE IN THE ROOT OF C DRIVE [My Computer/Local Disk C/here].



SETUP 4: APP MODDING/EDITING SETUP
Quote:

  • DOWNLOAD & INSTALL JAVA DEVELOPMENT KIT [JDK].

Quote:

  • DOWNLOAD AND EXTRACT APKTOOL/APK MULTI TOOL/APK BOX IN LOCAL DISK C. [ANY ONE OF THEM YOU LIKE.][My Computer/Local Disk C/apktool/apk multi tool/apk box].[apktool/apk multi tool/apk box means EITHER apktool or apk multi tool or apk box.][RECOMMENDED: APKTOOL]
      • FOR APKTOOL YOU NEED TO DOWNLOAD N EXTRACT TWO PACKAGES IN SAME FOLDER.[My Computer/Local Disk C/apktool/].
        • Download apktool-install-windows-* file
        • Download apktool-* file

Quote:

  • DOWNLOAD N EXTRACT BAKSMALI MANGER IN LOCAL DISK C.[My Computer/Local Disk C/baksmali].



================================================== ================================================== ======================

LINUX DISTRO : UBUNTU

GUYS PLZ FOLLOW THESE STEPS TO SUCCESSFULLY ROOT YOUR UBUNTU:

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to create a root password.

Quote:

sudo passwd root



Next, run the commands below to enable root login in Ubuntu 12.10:

Quote:

sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'



THEN TYPE:

Quote:

$ sudo -i



THEN FOLLOW THE ONSCREEN INSTRUTION.

NOW THE LOGIN PART.

TO SUCCESSFULLY BOOT INTO ROOT USER ACCOUNT RESTART YOUR PC/LAPTOP AND WAIT FOR THE PC TO SLEEP. NOW REACTIVATE IT. WHEN ASKED FOR PASSWORD SELECT DIFFERENT USER ACCOUNT N PUT root AS USERNAME n UR ROOT PASSWORD N LOGIN.

SEE ATTACHMENTS FOR PICS


HERE ARE THE VIDEO TUTORIALS TO SET UP WORKING ENVIRONMENT ON UBUNTU:


SETUP ANDROID SDK:

  1. Download the SDK.
  2. Right-click and select Extract Here.
  3. Move the contents of the android-sdk-linux_x86-1.5_r3 directory to your desired location.
  4. Close directory window.
  5. Using your favorite text editor, open the .mycshrc file in your home directory.
  6. Add the following text to the end of the file:
    set path=($path <android_sdk_dir>/tools)
    set path=($path <android_sdk_dir>/platform-tools
  7. Open up a terminal, navigate to your home directory and execute the following command:
    source .mycshrc


INSTALL JAVA DEVELOPMENT KIT 6[JDK-6]

STEPS:

  • OPEN THE TERMINAL WINDOW
  • TYPE N HIT ENTER:
  • Quote:

    sudo apt-get purge openjdk*

  • NOW TYPE N PRESS ENTER:
  • Quote:

    sudo apt-get purge *jre*

  • OPEN UP YOUR SYNAPTIC PACKAGE MANAGER AND DO A SEARCH FOR JRE OR ANY JAVA RELATED PACKAGES N IF YOU FOUND ANY THEN UNINSTALL THEM.
  • ONCE YOU MAKE SURE THAT YOUR SYSTEM IS CLEANED OF ANY JAVA PACKAGE, DOWNLOAD THE SCRIPT FROM HERE : DOWNLOAD SCRIPT
  • ONCE YOU HAVE DOWNLOADED THE SCRIPT FROM THE ABOVE GIVEN LINK, YOU WILL NEED TO ENABLE THE EXECUTING PERMISSION BIT. SO CHANGE YOUR DIRECTORY TO WHEREVER YOU HAVE DOWNLOADED THE SCRIPT N THEN IN TERMINAL WINDOW TYPE THE CODE BELOW N HIT ENTER:
  • Quote:

    chmod +x ./whatever_the_script_is_named

    • NOTE: AFTER "./" YOU WILL HAVE TO WRITE THE NAME OF THE DOWNLOADED SCRIPT.
  • THEN IN THE TERMINAL WINDOW RUN THE SCRIPT WITH THE FOLLOWING CODE:
  • Quote:

    sudo ./whatever_the_script_is_named

    • NOTE: AFTER "./" YOU HAVE TO PUT THE NAME OF THE SCRIPT.
    • ABOUT ALL THESE STEPS: THESE STEPS HELP YOU BUILD PACKAGES FOR YOUR SYSTEM AND PLACE THEM IN LOCAL REPOSITORY FOR apt-get TO INSTALL THEM. THIS BYPASSES JAVA ANAL RETENTIVE LICENSING BULL SQUASH.
  • SO, NOW YOU NEED TO INSTALL IT WITH THE HELP OF FOLLOWING CODE:
  • Quote:

    sudo apt-get install sun-java6-jre

  • WAIT FOR IT TO FINISH INSTALLING.
  • TO ENSURE YOUR VERSION IS CORRECT RUN THIS CODE:
  • Quote:

    java -version

  • YOU SHOULD GET AN OUTPUT SIMILAR TO:
Quote:

bob@bob ~ $ java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
bob@bob ~ $

THIS GUIDE ON JAVA INSTALLATION WORKS ON: Precise/Mint-Maya/Ubuntu.


INSTALL JAVA ON 64BIT UBUNTU.[GUIDE BY THE AWESOME dsixda- THE CREATOR OF REVOLUTIONARY ANDROID KITCHEN.][EDITED BY ME FOR NEW COMERS]

STEPS:
  • OPEN TERMINAL WINDOW BY PRESSING : CTRL + ALT + T
  • TYPE THE FOLLOWING CODE TO INSTALL 32BIT libs SO THAT YOU CAN INSTALL JAVA IN 64BIT.
  • Quote:

    sudo apt-get install ia32-libs

  • OPEN UBUNTU SOFTWARE CENTER[UBUNTU MARKET].
  • CLICK ON THE SEARCH OPTION N SEARCH FOR JAVA
  • YOU WILL GET A HELL[SORRY IF U MIND THIS WORD] LOT OF SEARCH RESULTS.
  • IN THE LIST LOOK FOR "OpenJDK Java Runtime" N CLICK INSTALL.
  • AFTER THE INSTALLATION FINISHES, OPEN UP TERMINAL WINDOW AGAIN N RUN THE FOLLOWING CODE TO CONFIRM THAT JAVA HAS BEEN INSTALLED SUCCESSFULLY:
  • Quote:

    java -version

Quote:

SETTING UP ANDROID KITCHEN


  • DOWNLOAD THE LATEST VERSION OF ANDROID KITCHEN;
  • EXTRACT THE FOLDER WHEREVER YOU LIKE;
    • NOTE: GUYS I WILL BE ASSUMING A NEUTRAL FOLDER FOR ALL ANDROID DEVELOPMENT. \home\username\android\kitchen; [PLZ NOTE: kitchen FOLDER NAME SHUD BE IN SMALL LETTERS]
    • THESE FILES & FOLDERS SHUD BE INSIDE THE kitchen FOLDER

CREDITS

the1dynasty FOR THE UBUNTU ENVIRONMENT SETUP VIDEOS.
wddglr FOR THE GUIDE TO SETUP SDK On linux.

who_ohw FOR THE GUIDE TO INSTALL JDK IN A LINUX DISTRO.
dsixda FOR HIS GUIDE TO INSTALL JAVA IN A SYSTEM RUNNING 64BIT UBUNTU
LAST BUT NOT THE LEAST TO ME FOR THE GUIDE ITSELF.


Please press the thanxxx button if this post/thread helped you even a bit. Be generous n donate to help me n to praise my hard work.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2013-03-23 08:42:1911.jpg
Views:	7346
Size:	8.3 KB
ID:	1826428   Click image for larger version

Name:	2013-03-23 08.48.25.jpg
Views:	739
Size:	85.1 KB
ID:	1826442   Click image for larger version

Name:	2013-03-23 08.48.34.jpg
Views:	701
Size:	67.6 KB
ID:	1826444   Click image for larger version

Name:	2013-03-23 08.49.22.jpg
Views:	683
Size:	90.3 KB
ID:	1826445   Click image for larger version

Name:	2013-03-23 08.49.36.jpg
Views:	680
Size:	100.8 KB
ID:	1826446  
The Following 15 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:38 AM |#3  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Tutorial App modding & editing : Decompile, edit, recompile.
WELCOME TO APP MODIFICATION GUIDE POST-1.
FOR WINDOWS.

WHAT YOU WILL GET HERE :
TUTORIAL TO EASILY DECOMPILE N RECOMPILE APPS.
A SIMPLE EXAMPLE MODIFICATION THROUGH DIFFERENT TOOLS.
LINKS TO VARIOUS GUIDES TO MOD DIFFERENT APPS.


WHAT YOU WONT GET HERE :
PRE MODDED APPS
SPOON FED GUIDE TO MOD EACH AND EVERY APP U LIKE.

TOOL NO. 1: APKTOOL

STEPS:
  1. DOWNLOAD N EXTRACT THE REQUIRED FILES TO : "C/APKTOOL/HERE"
  2. OPEN APKTOOL FOLDER IN LOCAL DISK C : "C/APKTOOL"
  3. COPY PASTE YOUR "framework-res.apk" IN THIS FOLDER. [C/APKTOOL/HERE].
    • NOTE: SAMSUNG USERS YOU ALSO NEED TO COPY PASTE "twframework-res.apk" HERE.
    • HTC USERS YOU ALSO NEED TO COPY PASTE "com.htc.resources.apk" HERE.
  4. OPEN CMD WINDOW : CLICK ON START/RUN N TYPE "cmd" WITHOUT QUOTES & PRESS ENTER
  5. TYPE : cd C:\apktool N PRESS ENTER
    • U WILL SEE A NEW LINE STARTING WITH : "C:\APKTOOL>"
  6. THEN TYPE "apktool if framework-res.apk" WITHOUT QUOTES N PRESS ENTER.
    • NOTE: SAMSUNG USERS YOU NEED TO DO AN EXTRA STEP. AFTER ABOVE STEP AGAIN TYPE : "apktool if twframework-res.apk" WITHOUT QUOTES N PRESS ENTER.
    • HTC USERS YOU NEED TO DO AN EXTRA STEP. AFTER ABOVE STEP AGAIN TYPE : "apktool if com.htc.resources.apk" WITHOUT QUOTES N PRESS ENTER.
    • ABOUT THIS STEP: THESE STEPS INSTALLS YOUR FRAMEWORK DEPENDENCIES SO THAT YOU CAN EASILY DECOMPILE AND RECOMPILE APPS.
  7. MINIMIZE THE CMD WINDOW FOR NOW.
  8. COPY PASTE ANY APP THAT YOU WANT TO EDIT TO THE APKTOOL FOLDER : [C/APKTOOL/YourChoice.apk].
  9. MAXIMIZE THE CMD WINDOW N TYPE : "apktool d YourChoice.apk" WITHOUT QUOTES N PRESS ENTER.
    • ABOUT THIS STEP: THIS STEP DE-COMPILES YOUR APP FOR YOU TO EDIT IT.
  10. MINIMIZE THE CMD WINDOW AGAIN FOR NOW.
  11. AFTER DOING ALL YOUR MODIFICATIONS MAXIMIZE THE CMD WINDOW N TYPE : "apktool b YourChoice" WITHOUT QUOTES N PRESS ENTER.
    • NOTE: HERE IN THIS CODE "YourChoice" IS THE NAME OF THE APP THAT YOU DECOMPILED BUT WITHOUT THE EXTENSION ".apk", FOR EXAMPLE IF YOU DECOMPILE SystemUi.apk THEN YOU WILL WRITE : "apktool b SystemUI"
  12. YOU WILL GET A "dist" NAMED FOLDER IN C/APKTOOL/YourChoice/here.
  13. OPEN THAT FOLDER. THERE YOU WOULD FIND YOUR RECOMPILED APK.[C/APKTOOL/YourChoice/dist/YourChoice.apk].
  14. NOW SIGN YOUR MODDED APK BY FOLLOWING THE GUIDE IN THE END OF THIS POST.
IF EVERY THING GOES WELL THEN YOUR APP WILL BE RECOMPILED WITHOUT ANY ERRORS.
IF NOT THEN ASK FOR HELP IN THE CONCERNED THREAD OF THE GUIDE THAT YOU USED FOR MODDING.


TOOL NO. 2: APK MULTI TOOL

STEPS:
  1. DOWNLOAD N EXTRACT APK MULTI TOOL AT : "C/APKMULTITOOL/HERE"
  2. YOU WILL GET THESE FILES AND/OR FOLDERS IN THE FOLDER AFTER EXTRACTING THE DOWNLOADED FILE:
    • docs
    • other
    • themer
    • .gitattributes
    • .gitignore
    • APK-Multi-Tool.log
    • CHANGELOG
    • README
    • Script.bat
    • Setup.bat
    • setuplog.log
  3. RUN Setup.bat BY DOUBLE CLICKING ON IT.
    • TYPE 3 N PRESS ENTER.
      • ABOUT THIS STEP: THIS STEP SETUPS THE TOOL FOR USE. YOU NEED TO DO IT ONLY ONCE.
  4. MINIMIZE THE WINDOW.
  5. COPY PASTE YOUR "framework-res.apk" IN other FOLDER. [C/APKMULTITOOL/other/HERE].
    • NOTE: SAMSUNG USERS YOU ALSO NEED TO COPY PASTE "twframework-res.apk" HERE.
    • HTC USERS YOU ALSO NEED TO COPY PASTE "com.htc.resources.apk" HERE.
  6. MAXIMIZE THE setup.bat WINDOW N TYPE 2 N PRESS ENTER
    • NOW TYPE THE DESIRED OPTION N PRESS ENTER
      • ABOUT THIS STEP: THIS STEP INSTALL THE FRAMEWORKS. YOU NEED TO DO IT ONLY ONCE.
  7. YOU CAN NOW CLOSE THIS WINDOW.
  8. YOU HAVE NOW SUCCESSFULLY SET UP WORK ENVIRONMENT FOR APK MODDING THROUGH APK MULTI TOOL.
  9. COPY PASTE THE APP YOU WANT TO MOD TO THE FOLDER NAMED : "place-apk-here-for-modding" [C/APKMULTITOOL/place-apk-here-for-modding/YourChoice.apk]
  10. RUN Script.bat BY DOUBLE CLICKING ON IT.
  11. PRESS ENTER TO GET TO THE MENU.
  12. TYPE 25 N PRESS ENTER.
    • A NEW MENU APPEARS.
      • TYPE THE DESIRED OPTION N PRESS ENTER.
        • ABOUT THIS STEP: THIS STEP LETS YOU CHOOSE THE APP YOU WANT TO EDIT.
  13. TYPE 9 N PRESS ENTER TO DECOMPILE YOUR APK. [YOUR DECOMPILED APP WOULD IS AT "projects" FOLDER.[C/APKMULTITOOL/projects/YourChoice.apk]
  14. MINIMIZE THE WINDOW FOR NOW. DO NOT CLOSE IT.
  15. DO ALL THE MODS YOU LIKE TO N SAVE ALL THE FILES.
  16. MAXIMIZE THE script.bat WINDOW N TYPE 12 N PRESS ENTER.
    • THEN WHEN ASKED TO SELECT THE WAY TO CREATE THE APK TYPE 2 N PRESS ENTER
      • NOTE: ALWAYS TYPE 12 TO RECOMPILE THE APK. DO NOT TYPE 11 EVEN IF ITS A SYSTEM APP. THAT MAY GIVE FORCE CLOSE. ONCE YOU ARE FLUENT WILL ALL THESE YOU CAN TRY THAT OPTION. BUT FOR NOW IGNORE IT.
      • ABOUT THIS STEP: THIS STEP RECOMPILES YOUR MODDED APK.
  17. YOU WILL GET AN UNSIGNED APK IN "place-apk-here-for-modding" FOLDER NAMED "unsignedYourChoice.apk"
  18. RENAME IT TO "YourChoice.apk" [YourChoice = THE ORIGINAL NAME OF THE APK, EXAMPLE SystemUI.apk]
  19. NOW SIGN YOUR MODDED APK BY FOLLOWING THE GUIDE IN THE END OF THIS POST.


A SIMPLE GUIDE ON MODDING AN APP:

No Clock: THIS SMALL GUIDE WILL TEACH YOU TO REMOVE THE CLOCK FROM YOUR STATUS-BAR. ITS ONE OF THE SIMPLEST GUIDE IN THE FORUM.

  1. Decompile systemui.apk with apktool or any other app u like.
  2. Go to C\APKTOOL\SystemUI\res\layout\ and open status_bar.xml with notepad++
  3. Search for this line and remove it:-
    Code:
    <com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
  4. Now compile back apk file, sign it and push back to system/app.
CONGRATULATIONS...!! YOU HAVE JUST SUCCESSFULLY MODDED YOUR FIRST APP. KEEP IT UP.
IF YOU ARE NOT ABLE TO DO SUCH A SIMPLE MODDING... NOT TO WORRY. TRY N TRY TILL YOU SUCCEED. NO 1'S PERFECT.
FEEL FREE TO ASK IN THIS THREAD OR ELSE HERE.

SIGNING THE MODDED APP[ONE OF THE MOST IMPORTANT THING][SAME FOR EVERY OPERATING SYSTEM].


OPEN THE ORIGINAL APK THROUGH AN ARCHIVE MANAGER [WINDOWS USERS YOU USE 7zip FOR BEST RESULTS]
DO THE SAME WITH THE MODDED APP
NOTE: DO NOT EXTRACT THE APK. JUST OPEN THROUGH THE MANAGER.
NOW MULTI SELECT Meta-inf FOLDER & Android-manifest.xml IN THE ORIGINAL APK N DRAG N DROP TO THE MODDED APK.
CLOSE BOTH THE WINDOWS.
VIOLA... YOUR APP HAS BEEN SIGNED.


LINKS TO VARIOUS GUIDES AROUND XDA:



CREDITS

TO THE CREATORS OF VARIOUS TOOLS.
TO
Master&Slave™ FOR THE DEMO GUIDE MOD Nlokeshsaini94 for the guide itself.
TO
lokeshsaini94 ONCE AGAIN FOR TEACHING ME HOW TO DECOMPILE/RECOMPILE APPS N ALSO HOW TO SIGN THEM BACK.
TO
FOR ALL THE GUIDES

LAST BUT NOT THE LEAST TO ME FOR THE WHOLE GUIDE.

Please press the thanxxx button if this post/thread helped you even a bit. Be generous n donate to help me n to praise my hard work. ALSO THANK ALL THE PERSONS WHOSE NAMES ARE THERE IN THE CREDITS. CUZ WITOUT THEM THIS GUIDE WOULD HAVE BEEN INCOMPLETE.
The Following 10 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:40 AM |#4  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
App modding & editing : Decompile, edit, recompile Cont...
welcome to app modification guide post-2.
For linux distro/ubuntu.
The Following 5 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:42 AM |#5  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Tutorial Cooking A Custom Rom Method 1.
Welcome To The Guide For Cooking Custom Roms Method-1.


THIS GUIDE WILL WORK FOR ANY ANDROID DEVICE, NO MATTER GINGERBREAD, ICS OR JELLY BEAN.

WHOM WILL THIS TUTORIAL HELP?

ABSOLUTE BEGINNERS;
PEOPLE WITH LITTLE OR NO DEVELOPING SKILLS;
PEOPLE WHO WANT TO COOK THEIR OWN ROM N WANT TO TRY FEW BASIC MODS;
THUS, THIS TUTORIAL IS FOR ANYONE & EVERYONE.


PLZ NOTE EACH ONE OF YOU READING THIS POST I ASSUME YOU HAVE ALREADY READ ALL THE PREVIOUS POSTS/GUIDES TO SETUP YOUR COMPUTER/LAPTOP N HAVE DONE SAME ALREADY N THAT YOU ARE NOW READY TO COOK YOUR ROM.

BASIC GO-THROUGH WITH THE TOOLS YOU WILL NEED.

WINDOWS USERS:
JAVA;
CYGWIN;
ANDROID KITCHEN;
NOTEPAD++;
PAINT.NET/GIMP IMAGE MANIPULATION PROGRAM/ADOBE PHOTOSHOP;
7-ZIP.


LINUX DISTRO/UBUNTU USERS:
JAVA;
ANDROID KITCHEN;
ANY TEXT EDITOR;
GIMP IMAGE MANIPULATION PROGRAM;
ANY ARCHIVE MANAGER[RECOMMENDED : p7zip]


THE ACTUAL GUIDE STARTS HERE.

WINDOWS USERS FOLLOW THESE STEPS:

STEP 1. START THE ANDROID KITCHEN
PLZ NOTE:

  • First our folder structure should look like this:
    Code:
     cygwin folder/home/your user name/kitchen
  • Inside the kitchen it should look like this:


OPEN THE CYGWIN TERMINAL FROM THE DESKTOP/START MENU SHORTCUT;
TYPE:
Code:
cd kitchen[PRESS ENTER]
./menu[PRESS ENTER]
TRICK-O-TREAT!!
PICTURE TUTORIAL:














LINUX / UBUNTU USERS FOLLOW THESE STEPS:

STEP 1. START THE ANDROID KITCHEN
PLZ NOTE:

  • First our folder structure should look like this:
    Code:
    \home\username\android\kitchen;
  • Inside the kitchen folder it should look like this:
  • OPEN TERMINAL PROGRAM;
  • NAVIGATE TO THE FOLDER WHERE YOU HAVE EXTRACTED THE KITCHEN by TYPING:
    • Quote:

      cd android

  • NOW TYPE THE FOLLOWING CODE TO GET INTO KITCHEN:
    • Quote:

      cd kitchen

  • NOW TYPE THE FOLLOWING CODE TO BOOT INTO KITCHEN:
    • Quote:

      ./menu

    • NOTE: GUYS IF U GET ERROR LIKE PERMISSION DENIED THEN FIRST TYPE THE FOLLOWING CODE:
      • Quote:

        chmod +x menu

  • THEN AGAIN TYPE:
    • Quote:

      ./menu

TRICK-O-TREAT!!
PICTURE TUTORIAL














PLZ NOTE FROM THIS POINT EVERY STEP IN THIS POST IS COMMON OR ALMOST SAME FOR BOTH WINDOWS & LINUX / UBUNTU USERS. IF YOU DO NOT UNDERSTAND ANY PART FELL FREE TO POST A COMMENT WITH YOUR PROBLEM. BUT BEFORE THAT DO TRY TO UNDERSTAND WHAT IS BENN ASKED TO DO.

STEP 2. Collecting Required Files And Folders :

  • Main Files/Folders Required :
    • META-INF
    • system
      • /app
      • /bin
      • /etc
      • /fonts
      • /framework
      • /lib
      • /media
      • /semc[ONLY FOR XPERIA USERS]
      • /usr
      • /xbin
      • build.prop
    • boot.img[ITS NOT NECESSARY]
  • HOW TO GET THESE FILES/FOLDERS?
  • ANSWER: GUYS YOU WILL NEED A FRESHLY FLASHED/FACTORY RESTED MOBILE PHONE TO GET BEST RESULTS.
    • A USED MOBILE WILL HAVE A LOT OF JUNK FILES WHICH WE DON'T NEED AT ALL.
  • NOW IF YOU HAVE ROOTED YOUR MOB THEN SKIP THIS STEP OR ELSE FOLLOW THIS TO ROOT YOUR MOBILE :
  • GUYS GO TO THIS POST BY ME TO ROOT YOUR SAMSUNG GINGERBREAD MOBILE : ROOTING GUIDE BY MEE =)
  • OTHER GB/ICS/JB USERS PLZ SEARCH XDA FOR ROOTING YOUR MOBILE PHONE.
  • NOW USERS YOU NEED CLOCKWORK MOD CUSTOM RECOVERY OF YOUR MOBILE. DOWNLOAD IT FROM XDA N MOVE TO THE ROOT OF UR SD CARD.
    • WHY DO I NEED THIS? ANSWER : IT WILL HELP YOU TO BACKUP UR CURRENT ROM & AS WELL AS GET THE SYSTEM FOLDER REQUIRED FOR COOKING YOUR CUSTOM ROM. =)
  • BOOT INTO STOCK RECOVERY WITH THE KEY COMBINATIONS OF YOU MOBILE N THEN SELECT INSTALL ZIP FROM SD CARD N SELECT CWM.ZIP[WATEVER THE NAME U HAVE] TO BOOT INTO CWM RECOVERY. CHOOSE THE OPTION TO BACKUP N RESTORE N DO A BACKUP OF YOUR CURRENT ROM.
  • CONNECT YOUR MOBILE TO PC WITH USB N COPY PASTE[DO NOT DO CUT PASTE] THE BACKUP FOLDER FROM YOUR MOBILE TO YOUR PC WHEREVER YOU LIKE. OPEN IT N EXTRACT THE SYSTEM.TAR/SYSTEM.ZIP ARCHIVE THERE ITSELF. THIS WILL GIVE YOU ALL THE FILE & FOLDERS THAT ARE REQUIRED TO COOK YOUR ROM.
  • NOW MINIMIZE THIS WINDOW N OPEN A NEW WINDOW.
  • THEN GOTO :
    • Code:
       cygwin folder/home/your user name/kitchen
      IF YOU USE WINDOWS; Or Else
    • Code:
       \home\username\android\kitchen
      IF YOU USE LINUX / UBUNTU.
  • MAKE A NEW FOLDER HERE AND NAME IT AS : "WORKING_YOURROMNAME"[PLZ NOTE,THE WORD "WORKING" SHUD BE ALL IN CAPITAL LETTERS.] [THIS IS CALLED YOUR WORKING FOLDER.]
  • MAKE A NEW FOLDER IN YOUR WORKING FOLDER & NAME IT "system"[PLZ NOTE, THE WORD "system" SHUD B ALL IN SMALL LETTERS.
  • NOW AGAIN MAXIMIZE THE WINDOWS WHERE YOU HAD EXTRACTED THE SYSTEM BACKUP IN PREVIOUS STEPS. OPEN THE EXTRACTED SYSTEM FOLDER & COPY PASTE THESE FILES & FOLDERS FROM THERE TO THE system FOLDER IN WORKING FOLDER:
  • /app
  • /bin
  • /etc
  • /fonts
  • /framework
  • /lib
  • /media
  • /semc[ONLY FOR XPERIA USERS]
  • /usr
  • /xbin
  • build.prop
  • IF YOU HAVE A boot.img OF YOUR MOBILE THEN COPY PASTE IT TO YOUR WORKING FOLDER.[WORKING_YOURROMNAME/boot.img]

STEP 3. COOKING YOUR ROM WITH FEW BASIC FEATURES :

START KITCHEN AS STATED BEFORE AS PER YOUR OPERATING SYSTEM N ENTER OPTION 8. THIS WILL SHOW WHAT FEATURES YOU HAVE IN YOUR ROM & WHAT YOU MAY ADD. IT WILL ALSO SHOW THE NAME OF YOUR ROM. THIS ALSO MAKES THE META-INF FOLDER APPEAR IN YOUR WORKING FOLDER.
THIS COMPLETES ALL YOUR REQUIREMENTS FOR COOKING THE ROM.
PRESS ENTER TO GO BACK TO KITCHEN MENU.
ENTER OPTION 0[ZERO]
ENTER DIFFERENT OPTIONS THERE TO ADD THOSE FEATURES IN YOUR ROM.
ENTER OPTION0[ZERO] AGAIN TO GO BACK TO THE STARTING SCREEN OF KITCHEN.
OPTION 2 & 3 ARE ALMOST COMPULSORY AS A CUSTOM ROM WITHOUT ROOT N BUSY-BOX IS NOT LIKELY TO BE LIKED BY USERS.
ONCE YOU FINISH ADDING FEATURES AGAIN PRESS 8 TO SEE THE STATS OF YOUR ROM. PRESS ENTER TO RETURN BACK N PRESS OPTION 99 TO COOK THE ROM.
HERE ENTER OPTION 1.
GO THROUGH THE ONSCREEN INSTRUCTION N THEN COLLECT YOUR ROM FROM:
Code:
C:\cygwin\home\YOUR USER NAME\kitchen\OUTPUT_ZIP
IF YOU ARE WINDOWS USER; Or Else,
Code:
\home\username\android\kitchen\OUTPUT_ZIP
IF YOU ARE LINUX / UBUNTU USER.



CONGRATS YOU HAVE SUCCESSFULLY COOKED YOUR CUSTOM ROM.=)
The Following 9 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:43 AM |#6  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Angry Cooking A Custom Rom Method 2.
Welcome To The Guide For Cooking Custom Roms Method-2.
Only For Windows Users.

SAMSUNG DEVICES EXPLAINED AS EASILY AS POSSIBLE.

THIS GUIDE WILL WORK FOR ANY ANDROID DEVICE, NO MATTER GINGERBREAD, ICS OR JELLY BEAN IF YOU HAVE ITS STOCK FIRMWARE.TAR FILE AND YOU KNOW TO EXTRACT THAT.

WHOM WILL THIS TUTORIAL HELP?

ABSOLUTE BEGINNERS;
PEOPLE WITH LITTLE OR NO DEVELOPING SKILLS;
PEOPLE WHO WANT TO COOK THEIR OWN ROM N WANT TO TRY FEW BASIC MODS;
THUS, THIS TUTORIAL IS FOR ANYONE & EVERYONE.


PLZ NOTE EACH ONE OF YOU READING THIS POST I ASSUME YOU HAVE ALREADY READ ALL THE PREVIOUS POSTS/GUIDES TO SETUP YOUR COMPUTER/LAPTOP N HAVE DONE SAME ALREADY N THAT YOU ARE NOW READY TO COOK YOUR ROM.

BASIC GO-THROUGH WITH THE TOOLS YOU WILL NEED.
JAVA;
CYGWIN;
ANDROID KITCHEN;
ODINATRIX
;[Only For Samsung Devices]
Quote:

FLASH TOOLS FOR XPERIA DEVICES;
UNYAFFS TOOLS;


SAMSUNG STOCK FIRMWARE.tar.md5 FILE;
Xperia ftf SYSTEM FILE;
NOTEPAD++;
PAINT.NET/GIMP IMAGE MANIPULATION PROGRAM/ADOBE PHOTOSHOP;
7-ZIP.


THE ACTUAL GUIDE STARTS HERE.

SAMSUNG USERS FOLLOW THESE STEPS:

  • DOWNLOAD ODINATRIX FROM THE FIRST POST;
  • EXTRACT IT ANYWHERE YOU LIKE[SAY c:/ODINATRIX];
  • DOWNLOAD THE LATEST STOCK FIRMWARE OF YOUR MOBILE FOR YOUR COUNTRY FROM XDA OR ANYWHERE IN THE INTERNET;
  • EXTRACT THE DOWNLOADED FILE, YOU WILL GET A SINGLE FILE NAMED XXXX_XXXXX_XXXX_HOME.tar.md5;
  • MOVE THE ABOVE FILE TO ROOT OF ODINATRIX FOLDER;
  • THUS THE ROOT OF ODINATRIX FOLDER SHOULD HAVE THESE FILES & FOLDERS:



  • DOUBLE CLICK ON runme TO OPEN ODINATRIX TOOL;
  • PRESS ENTER TO START THE SEARCH;
  • WHEN YOU SEE THAT YOUR FILE HAS BEEN FOUND AGAIN PRESS ENTER TO START THE EXTRACTION PROCESS;
  • WAIT FOR THE EXTRACTION PROCESS TO FINISH. IT MAY TAKE FEW MINUTES TO FINISH DEPENDING UPON YOUR COMPUTER'S SPEED.[MY LATEST HP LAPTOP TOOK NEAR BOT 10-11 MINUTES TO DO THE JOB.]
  • WHEN THE EXTRACTION IS FINISHED CLOSE THE CMD WINDOW N OPEN THE output FOLDER;
  • THERE YOU WILL GET 4-6[YOU MAY EVEN GET ONLY 3] .tar FILES ACCORDING TO YOUR MOBILE;
  • COPY THE ONE NAMED PDA_XXXX_XXXX_XXXX_HOME.tar & PASTE IT TO THE original_update FOLDER IN ANDROID KITCHEN FOLDER:
  • Code:
      cygwin folder/home/your user name/kitchen/original_update
    MINIMIZE THE EXPLORER WINDOW N RUN KITCHEN BY FOLLOWING THE STEPS BELOW.

OPEN THE CYGWIN TERMINAL FROM THE DESKTOP/START MENU SHORTCUT;
TYPE:
Code:
cd kitchen[PRESS ENTER] ./menu[PRESS ENTER]
TRICK-O-TREAT!!

PICTURE TUTORIAL:
















  • AFTER THE KITCHEN STARTS PRESS THE OPTION 1;
  • NOW IGNORE EVERYTHING WRITTEN & SIMPLY PRESS ENTER;
  • WHEN YOU SEE YOUR PDA FILE SELECTED PRESS ENTER;
  • NO NEED TO CHANGE THE NAME OF YOUR WORKING FOLDER. JUST PRESS ENTER TO START THE EXTRACTION PROCESS;
  • NOW FOLLOW THE ONSCREEN GUIDE IN KITCHEN CAREFULLY TO GET SYSTEM FOLDER & ITS FILES.
  • AFTER DOING THE ABOVE STEP CORRECTLY YOU WILL AGAIN RETURN TO THE HOME OF KITCHEN IN CYGWIN, NOW ENTER OPTION 8;[THIS WILL SHOW WHAT FEATURES YOU HAVE IN YOUR ROM & WHAT YOU MAY ADD. IT WILL ALSO SHOW THE NAME OF YOUR ROM. THIS ALSO MAKES THE META-INF FOLDER APPEAR IN YOUR WORKING FOLDER]
  • THIS COMPLETES ALL YOUR REQUIREMENTS FOR COOKING THE ROM.
  • PRESS ENTER TO GO BACK TO KITCHEN MENU.
  • ENTER OPTION 0[ZERO]
  • ENTER DIFFERENT OPTIONS THERE TO ADD THOSE FEATURES IN YOUR ROM.
  • ENTER OPTION 0[ZERO] AGAIN TO GO BACK TO THE STARTING SCREEN OF KITCHEN.
  • OPTION 2 & 3 ARE ALMOST COMPULSORY AS A CUSTOM ROM WITHOUT ROOT N BUSY-BOX IS NOT LIKELY TO BE LIKED BY USERS.
  • ONCE YOU FINISH ADDING FEATURES AGAIN PRESS 8 TO SEE THE STATS OF YOUR ROM. PRESS ENTER TO RETURN BACK N PRESS OPTION 99 TO COOK THE ROM.
  • HERE ENTER OPTION 1.
  • GO THROUGH THE ONSCREEN INSTRUCTION N THEN COLLECT YOUR ROM FROM:
Code:
 C:\cygwin\home\YOUR USER NAME\kitchen\OUTPUT_ZIP
Attached Thumbnails
Click image for larger version

Name:	ROMGUIDE.png
Views:	4847
Size:	10.0 KB
ID:	1896550  
The Following 4 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:45 AM |#7  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Angry ROM EDITING : Adding &/Or Removing Files As Per Your Liking
EDIT ROM AS YOU WANT IT - ADD OR REMOVE APPS, CHANGE DEFAULT LAUNCHER, CHANGE DEFAULT WEB BROWSER, CHANGE BOOT ANIMATION & SOUND, ETC[END OF THINKING CAPACITY ].

GO TO /system/app to GET THESE APPS.

APPS THAT YOU CAN REMOVE WITHOUT DISTURBING THE SMOOTH FUNCTIONING OF YOUR ROM:

Calculator.apk
ChatON.apk[May Be Only Samsung Users Will have This app.]
DualClock.apk
Email.apk
EmailWidget.apk
FmRadio.apk
LiveWallpapersPickup.apk
Maps.apk
Memo.apk
PlusOne.apk
PolarisViewer.apk/QuickOffice app
Swype.apk


APPS THAT YOU CAN REPLACE WITH DIFFERENT APPS:

Calculator.apk with any other calculator app
MyFiles.apk/File manager app with any other app that has file manager facility
TouchWizxxLauncher.apk[Only For Samsung Users][Or Any Other launcher Application That Is Present in Your Rom] with custom Launchers.
Browser.apk
Gallery3D.apk/or any other gallery app present in your ROM
Camera.apk
Memo.apk
Mms.apk
Music.apk
FmRadio.apk


CUSTOM APPS THAT YOU CAN USE TO REPLACE STOCK APPS IN YOUR ROM:

For Web Browser: Opera Mini, Uc Browser, TT Browser, ETC.
Custom Launchers: Holo Launcher, Nova Launcher[ICS 4.0+ Mobiles], GO Launcher, ETC.
Sms Applications: Go Sms, Pansi Sms, ETC.
Music apps: Google Play Music, Winamp for Android, ETC.


APPS THAT YOU SHOULD REMOVE SO THAT THE SIZE OF THE ROM REDUCES & YET THE ROM FUNCTIONS PROPERLY:

I AM RECOMMENDING TO REMOVE THESE APPS CUZ USERS CAN EASILY DOWNLOAD THEM FROM GOOGLE PLAY AS PER THEIR NEED.

ChatON.apk
Email.apk
Maps.apk
PlusOne.apk
PolarisViewer.apk/QuickOffice app
Swype.apk


APPS THAT YOU SHOULD NOT DELETE EVEN THOUGH THEY ARE NOT OF MUCH IMPORTANCE:

Gmail.apk
Talk.apk
Phonesky.apk[Google Play App]
Calender.apk


CHANGING THE BOOT ANIMATION & SOUND OF YOUR ROM:

SEARCH AROUND XDA FOR BOOT ANIMATION FILES OF YOUR MOBILE'S SCREEN SIZE.
IT MUST BE NAMED bootanimation.zip
, IF NOT THEN MANUALLY RENAME IT.
FOR BOOT SOUND TAKE ANY SMALL TUNE YOU LIKE & CONVERT IT TO .ogg FORMAT.
NOW RENAME YOUR TUNE.ogg TO poweron.ogg[PLZ NOTE YOU MAY NEED TO RENAME IT TO PowerOn.ogg, BUT FIRST TRY THE ALL SMALL LETTERS.]
NOW DOWNLOAD bin.zip FROM ATTACHMENT N EXTRACT IT ANYWHERE YOU LIKE.
NOW OPEN THE EXTRACTED FOLDERS N COPY THE TWO FILES IN IT N PASTE TO THE bin FOLDER IN YOUR ROM[/system/bin].
COPY PASTE YOUR CONVERTED N RENAMED poweron.ogg TO THE ETC FOLDER IN YOUR ROM
[/system/etc].
COPY PASTE bootanimation.zip TO THE media FOLDER IN YOUR ROM[/system/media].
NOW FLASH YOUR ROM WITH NEW BOOT ANIMATION & SOUND

The Following 7 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:47 AM |#8  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
Angry Rom editing- ui + features
ROM EDITING- UI + FEATURES

THIS POST WON'T TEACH YOU MUCH BUT WILL LINK YOU TO DIFFERENT GUIDES ACROSS XDA SO THAT U CAN MODIFY UR ROM AS PER YOUR LINKING.

GIVING YOUR ROM A NEW NAME : FOLLOW THIS GUIDE TO ADD EXTRA FIELDS IN SETTINGS MENU TO GIVE YOUR ROM A NEW NAME.

BUILD.PROP TWEAKS TO ENHANCE PERFORMANCE : VISIT THESE : 1 || 2 || 3

MOD THE UI OF YOUR ROM : VISIT THESE : ICS STYLE SETTINGS FOR GB ROM || STATUS BAR MODDING GUIDE FOR DUAL SIM MOBILES || STATUS BAR MODDING GUIDE FOR ALL MOBILES

EDITING BUILD.PROP FOR MINOR CHANGES IN ROM INFO :

EDIT THESE IN RED IN COLOR AS PER YOUR ROM :

Code:
ro.build.id=ICICLE AGE
ro.build.display.id=LUNUX OS™_GT-S5302
ro.build.version.release=2.3.7[PRE ICS]
THE SECOND LINE WILL CHANGE THE NAME OF YOUR ROM TO WHATEVER YOU RIGHT THERE.
THE THIRD ONE CHANGES THE ANDROID VERSION YOU HAVE IN YOUR ROM.

CREDITS : TO EVERYONE WHOSE GUIDES HAVE BEEN LINKED THERE.
The Following 5 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:48 AM |#9  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
R8
R8
The Following 3 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
7th March 2013, 09:54 AM |#10  
arnabJ's Avatar
OP Senior Member
Flag Asansol
Thanks Meter: 2,932
 
Donate to Me
More
R9
R9
The Following 4 Users Say Thank You to arnabJ For This Useful Post: [ View ] Gift arnabJ Ad-Free
Post Reply Subscribe to Thread

Tags
android development, apk editing, custom rom cooking, guide, tutorial

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes