Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,563 Members 45,114 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
FBis251
Old
(Last edited by FBis251; 10th July 2013 at 10:26 PM.)
#1  
FBis251's Avatar
Recognized Contributor - OP
Thanks Meter 3581
Posts: 3,270
Join Date: Mar 2011

 
DONATE TO ME
Default [GB/ICS] SGS4G ROM Installer (Oct 13, 2012)




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

  • 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.

  • 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.





  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!


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/show....php?t=1481228


installer.zip


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.


Quote:
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
Quote:
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
The Following 38 Users Say Thank You to FBis251 For This Useful Post: [ Click to Expand ]
 
hechoen
Old
#2  
Account currently disabled
Thanks Meter 1411
Posts: 2,660
Join Date: May 2011
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.
The Following User Says Thank You to hechoen For This Useful Post: [ Click to Expand ]
 
reddd123
Old
#3  
Senior Member
Thanks Meter 8
Posts: 244
Join Date: Jan 2012
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
Old
#4  
Fluidification's Avatar
Senior Member
Thanks Meter 1484
Posts: 2,092
Join Date: Feb 2011
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.
Android Phones List
HTC DREAM- Feb 2009
CM6.1 Android 2.2.1 Froyo
Retired-Cracked LCD/Broken SD Reader

Samsung SGH-T959V Galaxy S 4G - Feb 2011
CyanogenMod 11 | Android 4.4.4
Retired-Old(Very Laggy and Borked Modem)

LG D280 Nexus 5 - November 2013
AOSPA 4.4.1 | Android 4.4.4
Franco Kernel
Current Device

My Help
CM 10.1 Aries
 
FBis251
Old
#5  
FBis251's Avatar
Recognized Contributor - OP
Thanks Meter 3581
Posts: 3,270
Join Date: Mar 2011

 
DONATE TO ME
Quote:
Originally Posted by airfluip1 View Post
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.
Sounds good. Just follow the OP if you'd like. I'm sure you already looked through the scripts. You should theme the installer to make it look like your ROM .
 
RaverX3X
Old
#6  
RaverX3X's Avatar
Recognized Developer
Thanks Meter 5272
Posts: 4,281
Join Date: Jun 2011
Location: Cali

 
DONATE TO ME
airflip if u are using my rom as a base its already in there .... which u asked me to use so.....



So don't you worry your pretty little mind
People throw rocks at things that shine
And life makes love look hard
The stakes are high, the water's rough
But this love is ours
 
bswann
Old
#7  
bswann's Avatar
Senior Member
Thanks Meter 514
Posts: 966
Join Date: Mar 2011
Location: 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
Old
#8  
cnote74's Avatar
Senior Member
Thanks Meter 2541
Posts: 3,824
Join Date: Nov 2010
Location: oklahoma city

 
DONATE TO ME
Quote:
Originally Posted by bswann View Post
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
sent from the depths of androidinsomnia always lurking around somewhere
 
FBis251
Old
#9  
FBis251's Avatar
Recognized Contributor - OP
Thanks Meter 3581
Posts: 3,270
Join Date: Mar 2011

 
DONATE TO ME
Quote:
Originally Posted by bswann View Post
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.
The Following 2 Users Say Thank You to FBis251 For This Useful Post: [ Click to Expand ]
 
alon2
Old
#10  
alon2's Avatar
Senior Member
Thanks Meter 17
Posts: 205
Join Date: Oct 2007

 
DONATE TO ME
Gr8 job FB - thank you very much.
We'll probably also use it in our next version
10x
What is Alon?
A tree.
A very solid one.
The best tree in the forest.‎
-------------------------
SGSII
[ROM]:Jelly Bam
[Kernel]:Siyah [Launcher]:Go launcher MIUI theme
-------------------------
My ROMs:
Hebrew enabled and slightly modified ValHalla

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes