[MOD][AROMA] Universal Rom File Customizer V5

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
This is a ROM FILE/MEDIA FILE CUSTOMIZER


This has been tested working with the Jan 08 build of AOKP and Latest EuroSkank CM10.1 Builds I used fireb33 stock build for the basis of the stock zip


THIS MOD WILL WORK FOR ANY DEVICE
as it is ROM dependent not DEVICE dependent


AROMA ROM FILE CUSTOMIZER V5(AOKP & CM10.1 & Stock)

V5 - fixed when you skip the rom debloat error and fixed MusicFX app deletion

This mod will allow you to
-remove ANY or ALL commonly removed system apps from your rom
-remove ANY or ALL Alarms, Ringtones sounds, and Notification Sounds!
-remove all live wallpapers (Located in the System app removal section)
-insert whatever sound media file you wish to be inserted into the relevant locations of the rom (Notifications, Alarms or Ringtones)
-Add your own bootanimation zip into the rom by deleting the old bootanimation.zip and inserting your custom bootanimation.zip
-Remove unused Text to Speech languages that you dont require
-Remove the sample videos
-Add system apps and fix their permissions
-Ability to add user apps and fix their permissions



HOW TO USE THE ROM CUSTOMIZER

If you want to add a particular media file (Notification, Ringtone, Alarm Sound) or Bootanimation to your ROM

- Open ROM CUSTOMIZER in winzip/winrar
- Place your particular sound media file (mp3,ogg, etc) into the relevant folder in the zip
- Place your particular bootanimation zip into the bootanimation folder
- Place your particular system or data app into the relevant folder
-Close the ROM CUSTOMIZER zip
-Transfer ROM CUSTOMIZER zip to your phone and reboot to recovery

Now to the Customizing part

- While in your recovery flash the file, aroma installer will begin
- Follow the aroma installer and choose the relevant boxes
- REBOOT & WIN

This mod does NOT require you to have a clean install of your ROM before using this mod IF your only inserting/deleting MEDIA or BOOTANIMATION.

However IF your are wanting to DELETE SYSTEM APPS it is HIGHLY RECOMMENDED that this mod is flashed after a full wipe otherwise you MOST LIKELY will get a BOOTLOOP or multiple FORCE CLOSES

For the future builds!:D
Fix the Blue tint in aroma
Add some more functions!

let me know how this mod goes for your
and swing me a thanks if this helps you out
ENJOY! =]

Credit to Playya for the original script that I updated to start all this stuff.. cheers mate!


AOKP, CM10.1 & STOCK DOWNLOAD BELOW

V5 MD5 - B38D40D61650C875AF210218BABC56F2
 
Last edited:

abnormalreply

Senior Member
Sep 1, 2012
498
234
0
New York City
Related

I thought I'd mention SystemApp Remover for folks looking to just remove specific apps they don't need. I find it very useful in selectively debloating every time I flash a new ROM.
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
I thought I'd mention SystemApp Remover for folks looking to just remove specific apps they don't need. I find it very useful in selectively debloating every time I flash a new ROM.
currently in the process of making an AOKP aroma version similar to this i imagine. that can remove various system apps, whatever ringtones, alarms, notification sounds... and if you choose it can also insert your own ringtones, alarms, notification sounds into the correct locations in the rom in one go.. currently have one simple version that will do the same as custom v0.3c except it wont let manual checking of system/notifications/alarms/ringtones as yet << mainly because I only taught myself how to work with aroma installer this morning :laugh:
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
AROMA ROM CUSTOMIZER V0.5 (AOKP only at this point)
This mod will allow your to remove ANY or ALL commonly removed system apps from your rom
This mod will allow you to remove ANY or ALL Alarms, Ringtones sounds (ADDING Notification sound selective removal next release as it takes forever to do lol )
This mod will allow you to remove all live wallpapers (Located in the System app removal section)
This mod has the ability for your to insert whatever sound media file you wish to be inserted into the relevant locations of the rom (Notifications, Alarms or Ringtones)
This mod also allows your to add your own bootanimation zip into the rom by deleting the old bootanimation.zip and inserting your custom bootanimation.zip
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
completed all 3 versions so far..

.
AROMA ROM FILE CUSTOMIZER (AOKP & CM10.1 & Stock)
This mod will allow your to remove ANY or ALL commonly removed system apps from your rom
This mod will allow you to remove ANY or ALL Alarms, Ringtones sounds, and Notification Sounds!
This mod will allow you to remove all live wallpapers (Located in the System app removal section)
This mod has the ability for your to insert whatever sound media file you wish to be inserted into the relevant locations of the rom (Notifications, Alarms or Ringtones)
This mod also allows your to add your own bootanimation zip into the rom by deleting the old bootanimation.zip and inserting your custom bootanimation.zip
This mod will allow you to remove unused Text to Speech languages that you dont require

anyone who gives this a go feedback would be appreciated or ideas for future implementations!
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
=================== V3 ===================
Fixed up alot of code in aroma-config and updater-script to make it WAY easier to add features in the future.
Fixed the way the mod handles deleting files from the ROM to make deletions/debloating easier.
Fixed the way the mod manages pushing files to the phone for a quicker process
Fixed and added some icons
Added the ability to push system apps & fix their permissions
Added warning to let user know of their ROM choice before proceeding further
Added the ability to exit the installation on menus screen
 

munchy_cool

Senior Member
Apr 6, 2008
8,616
2,360
253
void (0)
www.androidnews.co.in
I have a small question, the first post mentions this is ROM independent, then why are the updates for certain roms only at times.

is it because of the way they are built or something else.

I know it's a n00b question but just curious.

Great job by the way.
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
I have a small question, the first post mentions this is ROM independent, then why are the updates for certain roms only at times.

is it because of the way they are built or something else.

I know it's a n00b question but just curious.

Great job by the way.
The first releases were independent as I could only make each line of code for the ring tones, alarms, notifications and system apps when I went through the rom. Then I released and started work on the next rom and so forth. Once I had finished each rom individually I then taught myself how to code for aroma. Then added each rom and had to rewrite a lot of the earlier scripts to be compatible with aroma then I took the same approach made an aroma zip for each rom then had to work out a way to merge all 3. I then managed to do that and that was my main goal to have a zip that is easy to understand, not just a script that wipes everything but gives you choice and I now have the ability to add features that will apply to all 3 rom so far without needing to worry about compiling each zip individually. Hope this explains it

Sent from my Nexus 4 using Tapatalk 2
 
  • Like
Reactions: munchy_cool

munchy_cool

Senior Member
Apr 6, 2008
8,616
2,360
253
void (0)
www.androidnews.co.in
The first releases were independent as I could only make each line of code for the ring tones, alarms, notifications and system apps when I went through the rom. Then I released and started work on the next rom and so forth. Once I had finished each rom individually I then taught myself how to code for aroma. Then added each rom and had to rewrite a lot of the earlier scripts to be compatible with aroma then I took the same approach made an aroma zip for each rom then had to work out a way to merge all 3. I then managed to do that and that was my main goal to have a zip that is easy to understand, not just a script that wipes everything but gives you choice and I now have the ability to add features that will apply to all 3 rom so far without needing to worry about compiling each zip individually. Hope this explains it

Sent from my Nexus 4 using Tapatalk 2
Gotcha ....

droid DNA \m/ √[π]¶~™
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
alright im starting to lose ideas.... anyone who has tried the mod had any problems? or have any suggestions for things they would like to do easily via the recovery?
 

[email protected]

Senior Member
Jul 10, 2010
94
2
0
ISTANBUL
Sorry if i am in the wrong thread...

Is there anybody know this? Or is there anybody know where to ask this question?
in .zip file (for CWM) there is an updater-script file...
I want to delete some files but i dont want to write the exact names of the files... Is there any way to delete some thing like x*.* or t*.apk or talk*.* etc...
for example if i want to delete all the files which starts with "a" letter... How can i do this?

I know
delete("...");
delete_recursive("...");

commands... But i couldn't find out if there is any way to do this?
Thank you for your answers...
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
You cant delete stuff using wildcards as far as i know.. That would have made my mod a thousand times easier to write up lol

Sent from my Nexus 4 using Tapatalk 2
 

joshndroid

Senior Member
Jun 22, 2011
3,338
4,762
263
Why? and What is the reason?
CMW is not working on linux kernel? And linux kernel can easyly do this kind of basic file stuf :(
An updater script only has a specific set of instructions that can be run.. see here http://www.freeyourandroid.com/guide/introdution_to_edify

This then is also determined by the update binary (the other file in the same location as the updater-script) - for better set of instructions you should extract one of them from a rom that is made for our nexus

In theory if you set it up you may be able to set something with the ifelse command in an updater-script OR if your good with other types of code you may get what you require using an external .sh to which the updater-script only "runs" which may allow for what you want to do. however i feel personally that it will take a fair while setting up a lot of parameters, etc becasue you will need to make sure you not deleting the wrong apk or file. If you stick to the fundamentals of an updater-script you can easily achieve what you want all you need to know is the name of the apk etc.. and with base roms these apk names will not change so it shouldn't be too much of an issue

Then if you work with AROMA there is a different set of instructions for how stuff needs to be setup for the aroma side, then the updater script needs to be a bit more modified from just a stock updater-script to run from how the aroma code makes output prop files, etc

Thats about the best i got.. other than that you will have to research these other possibilities up or make them up yourself and test until they work.