[GB/ICS] SGS4G ROM Installer (Oct 13, 2012)

Search This thread

FBis251

Senior Member
Mar 21, 2011
3,419
3,716
0
www.fernandobarillas.com

presents.png

aroma_title.png

an AROMA based Touch UI Recovery Installer
As seen on Valhalla Black Edition and Team Acid AOKP

aroma_notes.png

  • Please tell me if you're going to use this in your ROMs just so I know who is using it :). Thank you.
  • This is for ROM chefs only, not for regular users. Regular users, you will see this in all your ROMs soon ;).
  • All the instructions below refer to the files in META-INF/com/google/android
  • You can change the splash image by replacing aroma/splash.png (make sure it's a PNG though)
  • As mentioned in the installation instructions, make sure your ROM's zip file matches that of Valhalla Black Final's for best results.

aroma_features.png

  • Full touch screen support
  • Allows for a typical install, using default settings
  • Allows the user to customize the ROM installation
  • Allows the chef to customize the user experience
  • Support for different themes/skins
  • Installs Busybox
  • Installs kernel if you desire
  • Installs modem if you desire
  • No need to check mounts, the installer properly mounts the partitions for you.
  • No need to format partitions, the installer can wipe them for you.

aroma_screenshots.png




aroma_installation.png

  1. Download and extract the installer zip file
  2. Edit aroma/installer.default.prop to set your ROM's information
  3. Rename installer.default.prop to installer.prop
  4. Edit aroma-config and updater-script to your liking
  5. Extract your current ROM's zip
  6. Delete your ROM's META-INF folder
  7. Put the new SGS4G CWM Rom Installer's META-INF and tools folders in your ROM's root
  8. Make sure your ROM's file structure matches that of AOKP Unofficial by TeamAcid, unless you know what you're doing
  9. Create a new zip file
  10. Flash away and test!

aroma_terms_of_use.png

If you use this tool you have to link back to this thread and give me credit using the link. Example:
My ROM uses the SGS4G ROM Installer by FBis251
http://forum.xda-developers.com/showthread.php?t=1481228

aroma_downloads.png

installer.zip

aroma_source.png

Installer on GitHub
You can download installer.zip from the link above to get the latest version of the installer files to package into your own rom.

aroma_changelog.png

Octoboer 13, 2012

Remove touchscreen calibration fix /data extract bug
-- With aroma 2.55+ touchscreen calibration is no longer necessary
-- /data packages should get extracted properly after a /data restore
Updated to latest AROMA binary (2.56)
-- Much more stable binary in ICS recovery!
---- The newest binary hasn't crashed on me yet during testing unlike the older version (2.50) that was included in the last version of the SGS4G Installer.

Here is the AROMA changelog since the last version included in the SGS4G Installer
EDELWEIS - 2.56 - BUILD 121004-031
Fix capacitive button
Remove calibration tools
EDELWEIS - 2.55 - BUILD 121003-030
Completely new Input/Touchscreen Handler - Thanks to agrabren from TWRP
Remove all calibration need. calibtool(), calibrate() and calibrate_matrix() won't do anything now.
EDELWEIS - 2.51 - BUILD 120810-026
Supported Galaxy Nexus Touch Screen - And maybe other devices now supported

July 18, 2012
ICS public release

May 25, 2012
Fixed bug that wouldn't mount partitions
-- Added support for mounting /efs
Added /efs partition info to installer.default.prop
Fixed a bug that would cause redbend_ua to restart the phone while flashing
-- (Thanks to itzik2sh from xda-developers for the fix)
Updated efs-backup
Now only checks whether /efs is empty
-- Will be compatible with devices that don't use an nv_data.bin

May 23, 2012
Updated scripts for easier porting
-- aroma-config and updater-script now uses information from installer.prop
-- porting to new devices will now be a lot easier because of this
Updated efs-backup script
--Backups now only take up ~560kB of space, compared to 6.3mB before!
Added colors to the installation confirmation screen

May 2, 2012
Changed to using installer.prop file for controlling all the variables
-- Chefs no longer need to edit the main AROMA script
-- AROMA checks if the installer.prop file exists to prevent users who flash the zip from messing up their phones
Added an installation option confirmation screen to make sure users know what options were selected

April 15, 2012
Updated to aroma-2.00-120414-A7
Now checking for phone version using a kernel check. Should prevent Froyo users from installing a GB ROM
Fixed a bug that would always do a free space check even when the user didn't try to do a /data backup
Now doing a /data restore before the kernel flash. Some ROMs caused the phone to reboot once the kernel flashed which means the /data restore never happened.

March 11, 2012
Updated AROMA binary to 2.0a4
Changed busybox version back to busybox v1.19.0.git
Now using aroma's TrueType font support
-- Installer uses the rom's default font (DroidSans)
Updated ROM information screen
Reboot prompt moved to the end of the installation
Updated Agreement to add formatting
Added efs-backup script which makes a backup of the efs partition
-- Saved under /sdcard/aroma-backup
Now has UTF-8 and RTL support!

March 3, 2012
Forced installation of busybox
Updated busybox to bonsai's version v1.17.1 (2010-08-12 23:44:34 CDT)
Fixed a bug that wouldn't allow the data backup and restore scripts to run
Moved mke2fs.conf to tools directory
Updated the sdcard free space check for /data backup
-- Will now only warn users when they selected the backup option in customized installs

March 3, 2012
Cleaned up a lot of the aroma-config code for easier reading
Deleted duplicate busybox binary
Deleted changelog.txt since no one used it
Added .gitignore
Updated busybox binary to version 1.19.4
Added monospace font
Now using the latest aroma nightly Version 1.62 build 120303-030
Using the latest themes from the nightly
Added a check to disallow /data backup when there isn't enough free sdcard space
-- Added a warning for the user to know the backup isn't going to happen
Updated touchscreen calibration values
Now displays filesystem and ROM information on the same screen
-- Added sdcard filesystem information
Reboot no longer done in the updater-script
Changed symlinks in updater-script to use busybox for more functions

Feb 12, 2012
Added aroma theme support. Check aroma/themes/
Added three themes, sense, MIUI and ICS (default ICS)
Added MIUI icons
Added filesystem (disk free/total and percentage used) information viewbox
Added ext4 format from bonsai's installer script.
-- Now does a full ext4 format and tuning before the install
Now allows choice of splash animation instead of static splash screen
Removed a lot of whitespace from aroma-config
Removed options to do wipes since the format takes care of this
Added data backup option
Now using bonsai backup. Left compression enabled for minimal sd storage usage.
Backup may take up to 10 minutes to complete!
Removed color.prop (no longer needed due to themes)
Changed checking for SGH-T959V to allow you to continue in case there is no ROM installed.

Feb 5, 2012
Edited updater script to output all installer options to one prop file
Now using variables in aroma-config for easier writing of the final options.prop file
Cleaned up updater-script to only use one .prop file
Fixed a bug that would make the wipe /data dialog come up even when deselected in the customized install
The script will now ask the user if they want to reboot their phones in all instances before the install gets going.
Now using Roboto font
Added color.prop file to control theme colors
Updated the wording on the install type chooser
 
Last edited:

hechoen

Senior Member
May 7, 2011
2,686
1,391
0
FB

I was just gonna thank you for this over on Black thread. Glad you got this out for folks. Slick very slick. Who needs ROM manager(mangler) when you're around. So thanks to you and everyone else who worked on it.
 
  • Like
Reactions: bunvilla

reddd123

Senior Member
Jan 21, 2012
250
8
0
I just used this a few hours ago I installed the black final rom with touch screen features is cool!

Sent from my SGH-T959V using XDA Premium App
 

Fluidification

Senior Member
Feb 26, 2011
2,280
1,460
0
FB, I will be using it for the next edition of AOSP Style coming out soon. I have already built mos of the rom and its installer, but I needed verification.
 

bswann

Senior Member
Mar 12, 2011
1,006
519
0
Mobile,AL
FB, I just flashed Raver's final and everything flashed fine then when the installer was done it showed an error having to do with not finding a path for something. I was going to re do it and copy the error down but now the phone is stuck at the T-Mo screen and it won't go into recovery with the button combo. I'm going to Odin it in the morning and re-flash and see if it throws the error again and I'll let you know.
 

cnote74

Senior Member
Nov 26, 2010
4,159
2,564
0
47
oklahoma city
FB, I just flashed Raver's final and everything flashed fine then when the installer was done it showed an error having to do with not finding a path for something. I was going to re do it and copy the error down but now the phone is stuck at the T-Mo screen and it won't go into recovery with the button combo. I'm going to Odin it in the morning and re-flash and see if it throws the error again and I'll let you know.

Same error on my sgs4g I think it was a temp file error, didn't affect my rom booting though.

Sent from my Glacier using xda premium
 

FBis251

Senior Member
Mar 21, 2011
3,419
3,716
0
www.fernandobarillas.com
FB, I just flashed Raver's final and everything flashed fine then when the installer was done it showed an error having to do with not finding a path for something. I was going to re do it and copy the error down but now the phone is stuck at the T-Mo screen and it won't go into recovery with the button combo. I'm going to Odin it in the morning and re-flash and see if it throws the error again and I'll let you know.

If it happens again, hit save log and send that to me. I'd really like to see it.
 

FBis251

Senior Member
Mar 21, 2011
3,419
3,716
0
www.fernandobarillas.com
Gr8 job FB - thank you very much.
We'll probably also use it in our next version
10x :)

Awesome, don't forget to post here if you have any usage questions. I wound up taking out a lot of the comments for space, but I learned the syntax of the AROMA functions pretty well.

FB, awesome work man. Lovin it. I had an error on my install but the ROM installed fine and booted fine. I made a log anyway so I could send it to you. Maybe it can be of some use.

Yes I'd love to see that.

Thanks Guys!!!(Raver,FB)

No problem. I'm guessing it's working fine?
 
Last edited:

Fluidification

Senior Member
Feb 26, 2011
2,280
1,460
0
Awesome, don't forget to post here if you have any usage questions. I wound up taking out a lot of the comments for space, but I learned the syntax of the AROMA functions pretty well.



Yes I'd love to see that.



No problem. I'm guessing it's working fine?
You are right. I am making this installer so customizable, from kernel to bootanimation.
 

FBis251

Senior Member
Mar 21, 2011
3,419
3,716
0
www.fernandobarillas.com
Feb 5, 2012
Edited updater script to output all installer options to one prop file
Now using variables in aroma-config for easier writing of the final options.prop file
Cleaned up updater-script to only use one .prop file
Fixed a bug that would make the wipe /data dialog come up even when deselected in the customized install
The script will now ask the user if they want to reboot their phones in all instances before the install gets going.
Now using Roboto font
Added color.prop file to control theme colors
Updated the wording on the install type chooser
 

GreyDark

Member
Oct 3, 2011
35
2
0
Panicking right now because I can't seem to PM you FB.

I hope I don't come off as a stickler for details, but there's just a single typo in what is the 6th screenshot posted in the OP. It's for the option where you can choose to Wipe Data.

"...another ROM. Don't select if you want to keep your ap"

I'm assuming it was supposed to say "apps."

Just wanted to make note of it as I saw that Raver updated the contents in the aroma folder within the META-INF directory for his Valhalla Black rom. I was just thinking the typo might've been updated or something somehow.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39

    presents.png

    aroma_title.png

    an AROMA based Touch UI Recovery Installer
    As seen on Valhalla Black Edition and Team Acid AOKP

    aroma_notes.png

    • Please tell me if you're going to use this in your ROMs just so I know who is using it :). Thank you.
    • This is for ROM chefs only, not for regular users. Regular users, you will see this in all your ROMs soon ;).
    • All the instructions below refer to the files in META-INF/com/google/android
    • You can change the splash image by replacing aroma/splash.png (make sure it's a PNG though)
    • As mentioned in the installation instructions, make sure your ROM's zip file matches that of Valhalla Black Final's for best results.

    aroma_features.png

    • Full touch screen support
    • Allows for a typical install, using default settings
    • Allows the user to customize the ROM installation
    • Allows the chef to customize the user experience
    • Support for different themes/skins
    • Installs Busybox
    • Installs kernel if you desire
    • Installs modem if you desire
    • No need to check mounts, the installer properly mounts the partitions for you.
    • No need to format partitions, the installer can wipe them for you.

    aroma_screenshots.png




    aroma_installation.png

    1. Download and extract the installer zip file
    2. Edit aroma/installer.default.prop to set your ROM's information
    3. Rename installer.default.prop to installer.prop
    4. Edit aroma-config and updater-script to your liking
    5. Extract your current ROM's zip
    6. Delete your ROM's META-INF folder
    7. Put the new SGS4G CWM Rom Installer's META-INF and tools folders in your ROM's root
    8. Make sure your ROM's file structure matches that of AOKP Unofficial by TeamAcid, unless you know what you're doing
    9. Create a new zip file
    10. Flash away and test!

    aroma_terms_of_use.png

    If you use this tool you have to link back to this thread and give me credit using the link. Example:
    My ROM uses the SGS4G ROM Installer by FBis251
    http://forum.xda-developers.com/showthread.php?t=1481228

    aroma_downloads.png

    installer.zip

    aroma_source.png

    Installer on GitHub
    You can download installer.zip from the link above to get the latest version of the installer files to package into your own rom.

    aroma_changelog.png

    Octoboer 13, 2012

    Remove touchscreen calibration fix /data extract bug
    -- With aroma 2.55+ touchscreen calibration is no longer necessary
    -- /data packages should get extracted properly after a /data restore
    Updated to latest AROMA binary (2.56)
    -- Much more stable binary in ICS recovery!
    ---- The newest binary hasn't crashed on me yet during testing unlike the older version (2.50) that was included in the last version of the SGS4G Installer.

    Here is the AROMA changelog since the last version included in the SGS4G Installer
    EDELWEIS - 2.56 - BUILD 121004-031
    Fix capacitive button
    Remove calibration tools
    EDELWEIS - 2.55 - BUILD 121003-030
    Completely new Input/Touchscreen Handler - Thanks to agrabren from TWRP
    Remove all calibration need. calibtool(), calibrate() and calibrate_matrix() won't do anything now.
    EDELWEIS - 2.51 - BUILD 120810-026
    Supported Galaxy Nexus Touch Screen - And maybe other devices now supported

    July 18, 2012
    ICS public release

    May 25, 2012
    Fixed bug that wouldn't mount partitions
    -- Added support for mounting /efs
    Added /efs partition info to installer.default.prop
    Fixed a bug that would cause redbend_ua to restart the phone while flashing
    -- (Thanks to itzik2sh from xda-developers for the fix)
    Updated efs-backup
    Now only checks whether /efs is empty
    -- Will be compatible with devices that don't use an nv_data.bin

    May 23, 2012
    Updated scripts for easier porting
    -- aroma-config and updater-script now uses information from installer.prop
    -- porting to new devices will now be a lot easier because of this
    Updated efs-backup script
    --Backups now only take up ~560kB of space, compared to 6.3mB before!
    Added colors to the installation confirmation screen

    May 2, 2012
    Changed to using installer.prop file for controlling all the variables
    -- Chefs no longer need to edit the main AROMA script
    -- AROMA checks if the installer.prop file exists to prevent users who flash the zip from messing up their phones
    Added an installation option confirmation screen to make sure users know what options were selected

    April 15, 2012
    Updated to aroma-2.00-120414-A7
    Now checking for phone version using a kernel check. Should prevent Froyo users from installing a GB ROM
    Fixed a bug that would always do a free space check even when the user didn't try to do a /data backup
    Now doing a /data restore before the kernel flash. Some ROMs caused the phone to reboot once the kernel flashed which means the /data restore never happened.

    March 11, 2012
    Updated AROMA binary to 2.0a4
    Changed busybox version back to busybox v1.19.0.git
    Now using aroma's TrueType font support
    -- Installer uses the rom's default font (DroidSans)
    Updated ROM information screen
    Reboot prompt moved to the end of the installation
    Updated Agreement to add formatting
    Added efs-backup script which makes a backup of the efs partition
    -- Saved under /sdcard/aroma-backup
    Now has UTF-8 and RTL support!

    March 3, 2012
    Forced installation of busybox
    Updated busybox to bonsai's version v1.17.1 (2010-08-12 23:44:34 CDT)
    Fixed a bug that wouldn't allow the data backup and restore scripts to run
    Moved mke2fs.conf to tools directory
    Updated the sdcard free space check for /data backup
    -- Will now only warn users when they selected the backup option in customized installs

    March 3, 2012
    Cleaned up a lot of the aroma-config code for easier reading
    Deleted duplicate busybox binary
    Deleted changelog.txt since no one used it
    Added .gitignore
    Updated busybox binary to version 1.19.4
    Added monospace font
    Now using the latest aroma nightly Version 1.62 build 120303-030
    Using the latest themes from the nightly
    Added a check to disallow /data backup when there isn't enough free sdcard space
    -- Added a warning for the user to know the backup isn't going to happen
    Updated touchscreen calibration values
    Now displays filesystem and ROM information on the same screen
    -- Added sdcard filesystem information
    Reboot no longer done in the updater-script
    Changed symlinks in updater-script to use busybox for more functions

    Feb 12, 2012
    Added aroma theme support. Check aroma/themes/
    Added three themes, sense, MIUI and ICS (default ICS)
    Added MIUI icons
    Added filesystem (disk free/total and percentage used) information viewbox
    Added ext4 format from bonsai's installer script.
    -- Now does a full ext4 format and tuning before the install
    Now allows choice of splash animation instead of static splash screen
    Removed a lot of whitespace from aroma-config
    Removed options to do wipes since the format takes care of this
    Added data backup option
    Now using bonsai backup. Left compression enabled for minimal sd storage usage.
    Backup may take up to 10 minutes to complete!
    Removed color.prop (no longer needed due to themes)
    Changed checking for SGH-T959V to allow you to continue in case there is no ROM installed.

    Feb 5, 2012
    Edited updater script to output all installer options to one prop file
    Now using variables in aroma-config for easier writing of the final options.prop file
    Cleaned up updater-script to only use one .prop file
    Fixed a bug that would make the wipe /data dialog come up even when deselected in the customized install
    The script will now ask the user if they want to reboot their phones in all instances before the install gets going.
    Now using Roboto font
    Added color.prop file to control theme colors
    Updated the wording on the install type chooser
    3
    For all you devs who didn't notice, I pushed the ICS AROMA to Github which means you can grab it from the link in the OP. I'm not gonna be on much in the next few days but as I said, the latest version is in the zip file linked in the OP.

    Just a few notes, this is only guaranteed to work on ROMs based on AOKP and AOKP itself. I haven't tested it with CM9/AOSP based ROMs yet, but you guys are a smart bunch and can probably get them working with your ports.

    Remember that all I want from you using this tool is to give me credit for it and to link back to the OP here. ;)

    Enjoy!
    2
    FB, I just flashed Raver's final and everything flashed fine then when the installer was done it showed an error having to do with not finding a path for something. I was going to re do it and copy the error down but now the phone is stuck at the T-Mo screen and it won't go into recovery with the button combo. I'm going to Odin it in the morning and re-flash and see if it throws the error again and I'll let you know.

    If it happens again, hit save log and send that to me. I'd really like to see it.
    2
    Octoboer 13, 2012

    Remove touchscreen calibration fix /data extract bug
    -- With aroma 2.55+ touchscreen calibration is no longer necessary
    -- /data packages should get extracted properly after a /data restore
    Updated to latest AROMA binary (2.56)
    -- Much more stable binary in ICS recovery!
    ---- The newest binary hasn't crashed on me yet during testing unlike the older version (2.50) that was included in the last version of the SGS4G Installer.

    Here is the AROMA changelog since the last version included in the SGS4G Installer
    EDELWEIS - 2.56 - BUILD 121004-031
    Fix capacitive button
    Remove calibration tools
    EDELWEIS - 2.55 - BUILD 121003-030
    Completely new Input/Touchscreen Handler - Thanks to agrabren from TWRP
    Remove all calibration need. calibtool(), calibrate() and calibrate_matrix() won't do anything now.
    EDELWEIS - 2.51 - BUILD 120810-026
    Supported Galaxy Nexus Touch Screen - And maybe other devices now supported
    2
    March 11, 2012
    Updated AROMA binary to 2.0a4
    Changed busybox version back to busybox v1.19.0.git
    Now using aroma's TrueType font support
    -- Installer uses the rom's default font (DroidSans)
    Updated ROM information screen
    Reboot prompt moved to the end of the installation
    Updated Agreement to add formatting
    Added efs-backup script which makes a backup of the efs partition
    -- Saved under /sdcard/aroma-backup
    Now has UTF-8 and RTL support!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone