[Xperia Play General] pedyvirus:
as i promised i posted this guide too

you will need this if you wana port a rom that has new version of amora installer because touchscreen wont work for play

what you need:

1-again a brain :p

2-my guide

3-notepad ++

4-winrar

5-rom that you wana remove armora installer of it

6- http://www.diffchecker.com/

7-my files

ok now we can start

copy your rom .zip to a folder (for example porting porject)

open you rom rom zip

now extract armora folder of rom.zip to you folder (needed for later)

because most of the roms have similar update-script you can rebuild an update-script and replace the rebuilded META-INF folder with the one in the rom that you are going to port

go to META-INF/com/google/android and open update-script with notepad ++

now copy the whole texts to changed text in http://www.diffchecker.com/

now open the file that i attached and go META-INF/com/google/android and open update-script with notepad ++

now copy the whole texts to original text in http://www.diffchecker.com/

now do a diff check

you will see some armora related lines like

if
file_getprop("/tmp/aroma-data/demo.prop","selected") == "1"
then
ui_print("Formatting /system");
unmount("/system");
format("MTD", "system");
ui_print("Mounting /system");
mount("MTD", "system", "/system");
ui_print("Clearing Cache");
mount("MTD", "cache", "/cache");
delete_recursive("/cache");
ui_print("Mounting /data");
mount("MTD", "userdata", "/data");
delete_recursive("/data/dalvik-cache");
ui_print(" ");
ui_print(" ");

##---- Features
ui_print("@Main Features");

ui_print(" ");
ui_print(" ");
ui_print("@Copying System files...");
show_progress(0.95, "-65000");
ui_print(" - Core Files...");
package_extract_dir("system", "/system");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("sdcard", "/sdcard");
ui_print(" ");
ui_print(" ");

# Bootloader Selection
if
file_getprop("/tmp/aroma/mods.prop","selected.1") == "1"
then
ui_print("@Configuring ROM for locked BL...");
package_extract_dir("Aroma/bl/locked/system", "/system");
package_extract_dir("update", "/tmp");
set_perm(0, 0, 0755, "/tmp/update", "/tmp/sh");
run_program("/tmp/update", "check");
ui_print(" ");
ui_print(" installing init.d.loader . . .");
run_program("/tmp/update", "install");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.1") == "2"
then
ui_print("@Configuring ROM for unlocked BL...");
endif;

ui_print("");
ui_print("");
ui_print("@Device selection");

# Device Selection
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "1"
then
ui_print("Selected device - Xperia Arc");
package_extract_dir("Aroma/device/arc", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "2"
then
ui_print("Selected device - Xperia Arc S");
package_extract_dir("Aroma/device/arcs", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "3"
then
ui_print("Selected device - Xperia Neo");
package_extract_dir("Aroma/device/neo", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "4"
then
ui_print("Selected device - Xperia Neo V");
package_extract_dir("Aroma/device/neov", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "5"
then
ui_print("Selected device - Xperia Pro");
package_extract_dir("Aroma/device/pro", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "6"
then
ui_print("Selected device - Xperia Ray");
package_extract_dir("Aroma/device/ray", "/system");
endif;

# Launchers
if
file_getprop("/tmp/aroma/mods.prop","selected.3") == "1"
then
ui_print("Installing Dark Xperia Home");
package_extract_dir("Aroma/home/dark", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.3") == "2"
then
ui_print("Installing Transparent Home");
package_extract_dir("Aroma/home/trans", "/system");
endif;

# Fonts
if
file_getprop("/tmp/aroma/mods.prop","selected.4") == "1"
then
ui_print("Installing Z1 Font");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.4") == "2"
then
ui_print("Installing NXT 2012 Font");
package_extract_dir("Aroma/font/nxt2012", "/system/fonts");
endif;

# convo
if
file_getprop("/tmp/aroma/mods.prop","selected.5") == "1"
then
ui_print("Installing Z White Conversation...");
package_extract_dir("Aroma/convo/white", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.5") == "2"
then
ui_print("Installing Xperia Z Black Conversation...");
package_extract_dir("Aroma/convo/black", "/system");
endif;

# Key
if
file_getprop("/tmp/aroma/mods.prop","selected.6") == "1"
then
ui_print("Z Keyboard...");
package_extract_dir("Aroma/keyboard/jbswype", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.6") == "2"
then
ui_print("Stock Keyboard...");
package_extract_dir("Aroma/keyboard/stockkb", "/system");
endif;

# small
if
file_getprop("/tmp/aroma/mods.prop","selected.7") == "1"
then
ui_print("Enable Small Apps...");
package_extract_dir("Aroma/smallapp/system", "/system");
package_extract_dir("Aroma/smallapp/data", "/data");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.7") == "2"
then
ui_print("Disable Small Apps...");
endif;

# lock
if
file_getprop("/tmp/aroma/mods.prop","selected.8") == "1"
then
ui_print("Installing Z Lockscreen...");
package_extract_dir("Aroma/lockscreen/normalz", "/system");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.8") == "2"
then
ui_print("Installing Z Lockscreen Modified...");
package_extract_dir("Aroma/lockscreen/newz", "/system");
endif;

# sound
if
file_getprop("/tmp/aroma/mods.prop","selected.9") == "1"
then
ui_print("Viper4Android Sound Mod...");
package_extract_dir("Aroma/soundmod/viper/data", "/data/app");
package_extract_dir("Aroma/soundmod/viper/sd", "/sdcard");
endif;

if
file_getprop("/tmp/aroma/mods.prop","selected.9") == "2"
then
ui_print("Pure X Audio Sound Mod...");
package_extract_dir("Aroma/soundmod/purex", "/system");
endif;

ui_print(" ");
ui_print(" ");
##---- End Features

##---- Customization
ui_print("@Additional features");
# youtube
if
file_getprop("/tmp/aroma/customize.prop","item.1.1") == "1"
then
ui_print("- Youtube");
package_extract_dir("Aroma/stuffs/youtb", "/data/app");
endif;

# Titanium backup
if
file_getprop("/tmp/aroma/customize.prop","item.1.2") == "1"
then
ui_print("- Titanium Backup");
package_extract_dir("Aroma/stuffs/titanium", "/data/app");
endif;

# xboost
if
file_getprop("/tmp/aroma/customize.prop","item.1.3") == "1"
then
ui_print("- xBooster");
package_extract_dir("Aroma/stuffs/xboost", "/data/app");
endif;

# FB Integration
if
file_getprop("/tmp/aroma/customize.prop","item.1.4") == "1"
then
ui_print("- Facebook inside Xperia & Social Engine");
package_extract_dir("Aroma/stuffs/fb", "/system");
endif;

# Live Wallpaper
if
file_getprop("/tmp/aroma/customize.prop","item.1.5") == "1"
then
ui_print("- Live wallpaper support");
package_extract_dir("Aroma/stuffs/lw", "/system/app");
endif;

# Quick Pic
if
file_getprop("/tmp/aroma/customize.prop","item.1.6") == "1"
then
ui_print("- Quick Pic Album App");
package_extract_dir("Aroma/stuffs/qpic", "/data/app");
endif;

# Sim Tool Kit
if
file_getprop("/tmp/aroma/customize.prop","item.1.7") == "1"
then
ui_print("- Sim Tool Kit");
package_extract_dir("Aroma/stuffs/stk", "/system/app");
endif;

# pico
if
file_getprop("/tmp/aroma/customize.prop","item.1.8") == "1"
then
ui_print("- Pico TTS");
package_extract_dir("Aroma/stuffs/pico", "/system");
endif;

# email
if
file_getprop("/tmp/aroma/customize.prop","item.1.9") == "1"
then
ui_print("- SemcEmail");
package_extract_dir("Aroma/stuffs/email", "/system/app");
endif;

# sony
if
file_getprop("/tmp/aroma/customize.prop","item.1.10") == "1"
then
ui_print("- Sony Select");
package_extract_dir("Aroma/stuffs/sonyselect", "/system");
endif;

# social
if
file_getprop("/tmp/aroma/customize.prop","item.1.11") == "1"
then
ui_print("- Social Life");
package_extract_dir("Aroma/stuffs/sociallife", "/system");
endif;

you wont nee to inculde these things in your update-script

you might see some lines like these one

ui_print("Enabling Fly-on Mode...");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/rngd");
set_perm(0, 0, 0777, "/system/bin/entropy_off");
set_perm(0, 0, 0777, "/system/bin/entropy_on");
set_perm(0, 0, 0777, "/system/bin/uninstaller");
set_perm(0, 0, 0777, "/system/xbin/openvpn");
set_perm(0, 0, 0777, "/system/etc/init.d/sqlite_optimize");
set_perm(0, 0, 0777, "/system/xbin/zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/09sdcardspeedfix");
set_perm(0, 0, 0777, "/system/etc/init.d/92cleaner");
set_perm(0, 0, 0777, "/system/etc/init.d/94Governor_tweaks");
set_perm(0, 0, 0777, "/system/etc/init.d/98fly_engine");
set_perm(0, 0, 0777, "/system/etc/init.d/darky_zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/zipaligndata");
set_perm(0, 0, 0777, "/system/etc/init.d/ram_manager");
set_perm(0, 0, 0777, "/system/etc/hosts");
set_perm(0, 0, 0777, "/system/etc/sysctl.conf");

these things should be added to you update-script of my files

now your update-script is ready

so save it and open my files again (after saving)

now delete META-INF and armora folder in your rom zip and replace the META-INF with the one that you rebuilded (my files)

now armora is removed but you will need to add some files from you armora installer that you extracted before then you rom is ready for flashing

i will explain them in second post