Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
yardi4life
Old
(Last edited by yardi4life; 23rd April 2013 at 02:27 PM.)
#1  
Senior Member - OP
Thanks Meter 48
Posts: 418
Join Date: Jul 2008
Lightbulb [TOOL][HOW TO] Customize ANY rom before loading

I am sharing a tool that I have been using for years to customize roms, because I am heavy modder.
With this I can download multiple roms and cherry pick the feature I want and get rid of the ones I do not want. Its like Aroma on steroids
You are in complete control of the look and feel from the first boot, provided you know what you are doing.

You can also use this tool to mod multiple roms or same the rom with different feature/themes.

How does it work:
  1. You must have a Windows 2000 or later.

  2. Download and install 7zip. If you are using a Windows x64. Download the x64 version of 7zip.

  3. Download the zip file buildrom-template.7z and unzip it anywhere on your PC.

  4. Place the full filename (e.g. system\app\PDF_Viewer_F_A.apk) or directory (e.g. system\media\oobe\video) for the files/app/wigdets you want to delete in a text file (in this template this is delete-rom-1files.txt and/or delete-rom-2files.txt). If change the filename you will need to change it in the corresponding batch file. In this template, it is customise-rom-1.bat or customise-rom-2.bat

  5. Add the files/apps/mods/wall papers/fonts/ring tones (whatever) to their correct file location (directory) in the include directory. E.g. If you had an inverted gmail.apk app, you could put it in the include\data\app\ directory.

  6. Drag and drop the rom zip file on the batch file that will start the customization (in the template this is customise-rom-1.bat or customise-rom-2.bat)

  7. Your are done unless you want to theme the rom.

  8. To theme the rom look into the themes directory. This should be straight forward. I left the files I used to theme Sense 5 as an example.


  9. The apk/app to be themed are placed in the apk-to-be-themed.txt. Look in the file for examples [Edit: 4/23/213]

  10. Drag and drop the customized rom on the themer.cmd batch file after you have all the icons and layout changes in place.


    Happy modding!

Files

buildrom-template.7z
The Following 12 Users Say Thank You to yardi4life For This Useful Post: [ Click to Expand ]
 
yardi4life
Old
#2  
Senior Member - OP
Thanks Meter 48
Posts: 418
Join Date: Jul 2008
Mine...
 
uppon2
Old
#3  
uppon2's Avatar
Senior Member
Thanks Meter 850
Posts: 2,177
Join Date: Oct 2010
I just open the rom.zip and add/remove what I do/don't want
The more you sweat in training the less you bleed in battle

Droid DNA - [VERY EASY GUIDE] ADB/FASTBOOT/RECOVORY *FULL GUIDE* for flashing ROMs, Kernels, APKs
 
yardi4life
Old
#4  
Senior Member - OP
Thanks Meter 48
Posts: 418
Join Date: Jul 2008
Quote:
Originally Posted by uppon2 View Post
I just open the rom.zip and add/remove what I do/don't want
That would be doing it manually.
To remove files (app) you don't want, add the filename to the to delete-rom-1files.txt file. (Open the delete-rom-1files.txt file you will see a list of files that I remove from the roms).

The files (app) you want to add put them in their correct location in the "include" directory. E.g. If you had and inverted gmail.apk app, you could put it in the include\data\app\ directory.

Its a one-time setup so whenever an updated is released, its a simply matter of drag and dropping the rom on customise-rom-1.bat batch file.
The Following User Says Thank You to yardi4life For This Useful Post: [ Click to Expand ]
 
uppon2
Old
#5  
uppon2's Avatar
Senior Member
Thanks Meter 850
Posts: 2,177
Join Date: Oct 2010
Quote:
Originally Posted by yardi4life View Post
That would be doing it manually.
To remove files (app) you don't want, add the filename to the to delete-rom-1files.txt file. (Open the delete-rom-1files.txt file you will see a list of files that I remove from the roms).

The files (app) you want to add put them in their correct location in the "include" directory. E.g. If you had and inverted gmail.apk app, you could put it in the include\data\app\ directory.

Its a one-time setup so whenever an updated is released, its a simply matter of drag and dropping the rom on customise-rom-1.bat batch file.
I understand now, sorry I misread the OP!
The more you sweat in training the less you bleed in battle

Droid DNA - [VERY EASY GUIDE] ADB/FASTBOOT/RECOVORY *FULL GUIDE* for flashing ROMs, Kernels, APKs
 
jamiethemorris
Old
#6  
Senior Member
Thanks Meter 68
Posts: 350
Join Date: Jan 2013
This is perfect for me because sense has the worst ringtones and notifications known to man... Every time I flash a new sense ROM I have to delete all the sense sounds and copy in aosp sounds.

Sent from my CyanogenMod DNA using Tapatalk 2
 
yardi4life
Old
#7  
Senior Member - OP
Thanks Meter 48
Posts: 418
Join Date: Jul 2008
Quote:
Originally Posted by jamiethemorris View Post
This is perfect for me because sense has the worst ringtones and notifications known to man... Every time I flash a new sense ROM I have to delete all the sense sounds and copy in aosp sounds.

Sent from my CyanogenMod DNA using Tapatalk 2
Good to hear!
That's of one my uses for this too.
I also added some extra wall papers and deleted a few.

See the file D:\android-sync\htc\DNA\buildrom\include\sense5\system\custom ize\MNS\default.xml and search for wallpapers.

Wall papers are located in D:\android-sync\htc\DNA\buildrom\include\sense5\system\custom ize\resource
and the settings are D:\android-sync\htc\DNA\buildrom\include\sense5\system\custom ize\MNS\default.xml (search the file for wallpaper)

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more