Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- #
- # AROMA Installer - Installer Script
- # (c) 2011 by Ahmad Amarullah
- # amarullz - xda-developers
- #
- # Version 1.0-TEST
- # FOR LEARNING PORPOSE ONLY
- #
- ##
- ##
- #
- # OLD UPDATER-BINARY
- #
- # Here you can use old command for flashing files, like:
- # mount
- # umount
- # delete_recursive
- # format
- # package_extract_dir
- # set_perm_recursive
- #
- ## CHECKING Configuration from aroma-config
- #
- # Check it using if else statement, with file_getprop
- # in /tmp/aroma-data
- #
- # Example:
- # if
- # file_getprop("/tmp/aroma-data/customize.prop","item.6.3") == "1"
- # then
- # ... here the command ...
- # endif;
- #
- ## INFO COMMAND FOR AROMA
- #
- #-- DIFFERENT BEHAVIOUR
- #
- # set_progress(0.5);
- # Set Progress position: 0.0 = 0%; 0.5 = 50%; 1.0 = 100%
- #
- # show_progress(0.2, 400);
- # show_progress( progress size, number of files to be extracted );
- # if we had 50 files, and want to "add" 0.2 into progress after all finished
- # use (0.2, 400)
- #
- # ui_print("@ Title");
- # Set progress title
- #
- # ui_print("Default Text");
- # Set Normal Log Text
- #
- ##
- ui_print("@ Title");
- ui_print("Default Text");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement