search help for updater.script write - HD2 Android Q&A, Help & Troubleshooting and Genera

search help(aid) by the production flash zip with amora installer. would like to postinstall(postput in) some files with it(thus), but updater.script mistake has and alone I have not enough notion of it.
the link is new. i have insert german and english languge.
http://d-h.st/dxK
pixelfreak

Can't download right now.
Do I understand you correctly.
There is an flashable.zip file that you would like to add to.
But the script does not account for your new files?
Post the contents of the script (text) if you can.

-pixelfreak- said:
search help(aid) by the production flash zip with amora installer. would like to postinstall(postput in) some files with it(thus), but updater.script mistake has and alone I have not enough notion of it.
http://d-h.st/PVE
pixelfreak
Click to expand...
Click to collapse
Schreiben auf deutsch fur mich Ich verstehe dein englisch nicht so gut Was sind die Defekt?

re
sorry
wenn ich die zip im CWM lade, so gehe ich durch das Amora menü und sobald es installieren wil geht nix mehr. also es wird nix installiert. es kann am amora script oder an der updater-script liegen. ich bin keinerlei bewannt mit der scripterei.
es muss so sein , dass nur ein framework auszuwählen ist. und das alte durch das neu ersetzt wird. dabei sollte man vorher schon zwischen tmous und eu wählen können und dementsprechend installiert werden.
gruss pixel

elesbb said:
Schreiben auf deutsch fur mich Ich verstehe dein englisch nicht so gut Was sind die Defekt?
Click to expand...
Click to collapse
yes the scripts has mistaks. i not found him.
the link is new. i have insert german and english languge.
http://d-h.st/dxK
updater-script:
Code:
ui_print("");
ui_print(" ");
ui_print("PIXELDROID LAST EDITION HD2 ROM ");
ui_print(" Rom Updater ");
ui_print("");
set_progress(0.1);
ui_print(" ");
################### Tmous
if
file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1"
then
show_progress(0.90, 50);
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
#################### EU
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
else
set_progress(0.5);
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");
aroma-config:
Code:
########### Calibrate Touchscreen weiter
calibrate("1.1041","26","1.1616","16","yes");
ini_set("customkeycode_up", "115");
ini_set("customkeycode_down", "114");
ini_set("customkeycode_select", "231");
ini_set("customkeycode_menu", "139");
ini_set("customkeycode_back", "158");
########## Setzt Splashscreen fuer 5 seconds ( 1000 = 1 sec )
splash(5000, "sample");
anisplash(5, "splash/a1", 30, "splash/a2", 30, "splash/a3", 30, "splash/a4", 30, "splash/a5", 30, "splash/a6", 30, "splash/a7", 30, "splash/a8", 30, "splash/a9", 30, "splash/a10", 30, "splash/a11", 30, "splash/a12", 30, "splash/a13", 30, "splash/a14", 30, "splash/a15", 30, "splash/a16", 30, "splash/a17", 30, "splash/a18", 30, "splash/a19", 30, "splash/a20", 30, "splash/a21", 30, "splash/a22", 30);
########### installations theme
theme("black_blue");
#
# SHOW LANGUAGE SELECTION
#
selectbox(
#-- Title
"Sprache/language",
#-- Sub Title
"Installations-Sprache/Install-language:",
#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@default",
#-- Will be saved in /tmp/aroma/lang.prop
"lang.prop",
#---------------------------------[ Selectbox Without Group ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#
"English", "Welcome to Installer", 0, #-- selected.0 = 1
"Deutsch", "Willkommen im Installer", 1 #-- selected.0 = 2
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
##
# SET LANGUAGE & FONT FAMILY
#
if prop("lang.prop","selected.0")=="1" then
loadlang("langs/en.lang");
fontresload( "0", "ttf/DroidSans.ttf", "12" ); #-- "0" = Small Font ( Look at Fonts & UNICODE Demo Below )
fontresload( "1", "ttf/DroidSans.ttf", "18" ); #-- "1" = Big Font
endif;
if prop("lang.prop","selected.0")=="2" then
loadlang("langs/de.lang");
fontresload( "0", "ttf/DroidSans.ttf", "12" );
fontresload( "1", "ttf/DroidSans.ttf", "18" );
endif;
########### autor und name
ini_set("rom_name", "PIXELDROID");
ini_set("rom_version", "LAST EDITION ROM");
ini_set("rom_author", "PIXELFREAK");
ini_set("rom_device", "HTC HD2");
ini_set("rom_date", "JUNI 2012");
########## erster Screen/beschreibung
viewbox(
#-- Title
"PIXELDROID ROM GESTALTER",
#-- Text
"<~designupdate><b>\n\n"+
#-- Get Config Value
ini_get("rom_name")+
"</b> <b>"+ini_get("rom_version")+"</b>.\n\n\n"+
" THEME\t: <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+
" VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" DEVELOPER\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
" UPDATED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
"<~text_next>",
#-- Icon
"@welcome"
);
########## modell wählen
selectbox(
"<~selectromsetup>",
"<~pleaseselectromsetupbelow>",
"icons/install",
"rom.prop",
"<~pleasepickyourrom>","",2,
"<~tmobileusa>",
"<~installrominnand>",0,
"<~eurominstall>",
"<~installromonsdext>",1
);
########## dateien einfügen
selectbox(
"Customs Options",
"",
"@personalize",
"theme.prop",
"framwork Theme", "", 2, #-- Group 1. key = "selected.1"
"Pixeldroid framework", "alles so belassen/everything leave so", 1, #-- selected.1 = 1
"Cyrcle framework", "blue mit Cyrcle Akku/blue Cyrcle Accu", 0, #-- selected.1 = 2
"Elegancia Glas framework", "blue mit Elegancia Akku/blue elegancia Accu", 0, #-- selected.1 = 3
"Elegancia Speedo framework", "blue mit Speedo Akku/blue elegancia speedo Accu", 0, #-- selected.1 = 4
"Stock framework", "Stock % Akku mit gruen/stock % Accu green", 0 #-- selected.1 = 5
);
########## installation beginnt
ini_set("text_next", "<~installnow>");
viewbox(
"<~readytoinstall>",
"<~press> <b><~installnow2></b> <~tobegintheinstallation>\n\n",
"@install"
);
########## installations status
ini_set("text_next", "<~text_next>");
setvar("retstatus",
install(
"<~Installiert>",
"<b>"+ini_get("rom_name")+"</b> <~wirdinstalliert>\n\n"+
"<~eswirdinstalliert> <b>"+ini_get("rom_name")+
"</b>. <~diesdauert>.",
"@install",
"<~fertiginstalliert> <b>"+ini_get("rom_name")+
"</b>.<~weiterumfortzufahren>."
)
);
########## installation abgeschlossen
ini_set("text_next", "<~fine>");
checkviewbox(
"<~installationkomplett>",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> <~erfolgreichinstalliert>\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"<~neustart>",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;

In your script you have:
Code:
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
should be
Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
I think.
And should your run that line after your "ELSE"? Otherwise you have completed you update, ran busybox, then ended.

Dblfstr said:
In your script you have:
Code:
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
should be
Code:
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
I think.
And should your run that line after your "ELSE"? Otherwise you have completed you update, ran busybox, then ended.
Click to expand...
Click to collapse
if it has now thus, however, it nothing is still installed(put in) it still breaks off
Code:
#################### EU
else
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
set_progress(0.5);
pixelfreak

What is the file structure of your flashable.zip?
Edit:
-Looking at it now.

re
you can load the file and see the structure
pixelfreak

Do you now which file is not being installed?
You have many options 1,2,3,4,5 for selection, yet all options delete the same file and extract to the same file to the same place.
Further you have these 5 options available for Tmous or Eu.
i would think you wanted the script as such:
Code:
ui_print("");
ui_print(" ");
ui_print("PIXELDROID LAST EDITION HD2 ROM ");
ui_print(" Rom Updater ");
ui_print("");
set_progress(0.1);
ui_print(" ");
################### Tmous
if
file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1"
then
show_progress(0.90, 50);
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/cyrcle/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/data/framework");
endif;
#################### EU
else
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
set_progress(0.5);
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/sd-ext/framework");
endif;
unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");
---------- Post added at 01:49 PM ---------- Previous post was at 01:38 PM ----------
Also, i am not familiar with Aroma installer. I just did a little research in the Aroma thread. It seems this is not like CWM but you use it through CWM... Is that correct?
So this is a fancier flashable.zip - or a flashable zip with built in options.
Did you do this part?
"Make sure You took an update-binary from a working ROM,
renamed it to update-binary-installer and overwrote the one in my AROMA Installer zip"
Also found this,
Four your temp you have this:
Code:
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1"
Which I think should be this;
Code:
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
I have added that to the script above.

Dblfstr said:
Do you now which file is not being installed?
You have many options 1,2,3,4,5 for selection, yet all options delete the same file and extract to the same file to the same place.
Further you have these 5 options available for Tmous or Eu.
i would think you wanted the script as such:
Code:
ui_print("");
ui_print(" ");
ui_print("PIXELDROID LAST EDITION HD2 ROM ");
ui_print(" Rom Updater ");
ui_print("");
set_progress(0.1);
ui_print(" ");
################### Tmous
if
file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1"
then
show_progress(0.90, 50);
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/cyrcle/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/data/framework");
endif;
#################### EU
else
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
set_progress(0.5);
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/sd-ext/framework");
endif;
unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");
Click to expand...
Click to collapse
1 2 3 4 5 is only the position in script not the option. see in the aroma script on the end of position. you see =1 2 3 4 5
the installer is from my woking rom. i have write a new script. not more. he is a flash zip for CWM. it's okay so.
you can see in my rom works the amora fine: http://forum.xda-developers.com/showthread.php?t=1667631
but I do not know whether it is so right. i'm not scripter

-pixelfreak- said:
1 2 3 4 5 is only the position in script not the option. see in the aroma script on the end of position. you see =1 2 3 4 5
the installer is from my woking rom. i have write a new script. not more. he is a flash zip for CWM. it's okay so.
you can see in my rom works the amora fine: http://forum.xda-developers.com/showthread.php?t=1667631
but I do not know whether it is so right. i'm not scripter
Click to expand...
Click to collapse
But you did want options to select from cyrcle, or elegancia, stock, etc. Right?
Try my script on the previous page.

re
yes i have
aroma and aroma-data have the self mistake.
pixelfreak

-pixelfreak- said:
yes i have
aroma and aroma-data have the self mistake.
pixelfreak
Click to expand...
Click to collapse
Just noticed that tmp/aroma and tmp/aroma-data are the same now.
Sorry, still figuring out aroma. I have written a few scripts but I am no expert.
What is it doing now that you have tried my edited script?

re
the update log write:
AROMA INSTALLER version 2.00
(c) 2012 by amarullz xda-developers
ROM Name : PIXELDROID
ROM Version : LAST EDITION UPDATER
ROM Author : PIXELFREAK
Device : HTC HD2
Start at : Mon May 28 22:33:40 2012
1 parse errors
line 119 col 24: syntax error, unexpected $end
Installer Error (Status 6)
End at : Mon May 28 22:33:40 2012

-pixelfreak- said:
sorry
wenn ich die zip im CWM lade, so gehe ich durch das Amora menü und sobald es installieren wil geht nix mehr. also es wird nix installiert. es kann am amora script oder an der updater-script liegen. ich bin keinerlei bewannt mit der scripterei.
es muss so sein , dass nur ein framework auszuwählen ist. und das alte durch das neu ersetzt wird. dabei sollte man vorher schon zwischen tmous und eu wählen können und dementsprechend installiert werden.
gruss pixel
Click to expand...
Click to collapse
Vielen danke!
Aber, Dblfstr weiss was ist loss, so, er wolte hilfen sie

-pixelfreak- said:
the update log write:
AROMA INSTALLER version 2.00
(c) 2012 by amarullz xda-developers
ROM Name : PIXELDROID
ROM Version : LAST EDITION UPDATER
ROM Author : PIXELFREAK
Device : HTC HD2
Start at : Mon May 28 22:33:40 2012
1 parse errors
line 119 col 24: syntax error, unexpected $end
Installer Error (Status 6)
End at : Mon May 28 22:33:40 2012
Click to expand...
Click to collapse
OH, do you need another endif for your very first if statement?!
Code:
ui_print("");
ui_print(" ");
ui_print("PIXELDROID LAST EDITION HD2 ROM ");
ui_print(" Rom Updater ");
ui_print("");
set_progress(0.1);
ui_print(" ");
################### Tmous
if
file_getprop("/tmp/aroma-data/rom.prop","selected.1") == "1"
then
show_progress(0.90, 50);
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system");
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/cyrcle/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/data/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/data/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/data/framework");
endif;
#################### EU
else
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
set_progress(0.5);
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ui_print("@- Installiert Pixelfreak fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/pixelfreak/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ui_print("@- Installiert Cyrcle fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Cyrcle/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ui_print("@- Installiert Elegancia Glas fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_glas/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "4"
then
ui_print("@- Installiert Elegancia Speedo fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/Elegancia_blue_speedo/framework", "/sd-ext/framework");
endif;
if file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "5"
then
ui_print("@- Installiert Stock fw");
delete("/sd-ext/framework/framework-res.apk");
package_extract_dir("accu/stock/framework", "/sd-ext/framework");
endif;
endif;
unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");

re
i dont now: Confused:: Confused:: Confused:: Confused:: Confused:

-pixelfreak- said:
i dont now: Confused:: Confused:: Confused:: Confused:: Confused:
Click to expand...
Click to collapse
Sorry man, try the above script.
And I do not know what you guys are saying in German.

re
yeeees the endif was the problem.
now he instal(puts in) the file, but phone any more it does not start has reboots
pixelfreak

Related

Issues with updater-script

hi this is part of my updater-script
Code:
#Updater-script
set_progress(0.00);
ui_print("Checking Model ID");
assert(getprop("ro.product.device") == "grouper" || getprop("ro.build.product") == "grouper" || getprop("ro.product.board") == "grouper");
ui_print("Success!");
ui_print("Model ID - grouper");
ui_print("Ok to proceed");
ui_print("Now flashing Kaos Droid");
ifelse(is_mounted("/system") == "/system", unmount("/system"));
ifelse(is_mounted("/data") == "/data", unmount("/data"));
ifelse(is_mounted("/cache") == "/cache", unmount("/cache"));
set_progress(0.01);
############################## OPTIONAL FULL WIPE ##############################
if
file_getprop("/tmp/aroma-data/wipe.prop","selected.0") == "2"
then
set_progress(0.01);
ui_print("@Executing Full Wipe");
ui_print("--Erasing & formatting /cache as EXT4");
run_program("/sbin/erase_image", "cache");
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/CAC");
run_program("/sbin/sleep", "2");
set_progress(0.02);
ui_print("-- Erasing & formatting /system as EXT4");
run_program("/sbin/erase_image", "system");
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP");
run_program("/sbin/sleep", "2");
set_progress(0.03);
ui_print("-- Erasing & formatting /data as EXT4");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/dalvikcache");
delete_recursive("/data/dontpanic");
delete_recursive("/data/drm");
delete_recursive("/data/gps");
delete_recursive("/data/lightsensor");
delete_recursive("/data/local");
delete_recursive("/data/lost+found");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/resource-cache");
delete_recursive("/data/sensors");
delete_recursive("/data/ssh");
delete_recursive("/data/system");
delete_recursive("/data/tf");
delete_recursive("/data/user");
run_program("/sbin/sleep", "2");
set_progress(0.05);
ui_print("-- Removing system files from SD Card");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.bookmark_thumb1");
delete_recursive("/sdcard/Android/data/com.google.android.apps.maps");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");
delete_recursive("/sdcard/.android_secure");
run_program("/sbin/sleep", "2");
ui_print("Wipe Complete");
set_progress(0.06);
ui_print("Checking filesystems for errors");
run_program("/sbin/e2fsck", "-p", "/dev/block/platform/sdhci-tegra.3/by-name/UDA");
run_program("/sbin/e2fsck", "-p", "/dev/block/platform/sdhci-tegra.3/by-name/CAC");
run_program("/sbin/e2fsck", "-p", "/dev/block/platform/sdhci-tegra.3/by-name/APP");
run_program("/sbin/sleep", "2");
endif;
set_progress(0.07);
show_progress(0.07, 9);
ui_print("@Installing ROM");
ui_print(" ");
ui_print("--Writing System");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/UDA", "/data");
run_program("/sbin/sleep", "2");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");
run_program("/sbin/sleep", "2");
package_extract_dir("system", "/system");
run_program("/sbin/sleep", "2");
Now obviously if i format /data i loose every thing on my sdcard however when this script runs it hangs on boot screen (colourful X) but if i # out the lines with /data/some_folder it boots fine just wondered why this would be and is there a way to get around this issue now i understand i could # out 1 line 1 by 1 but this would take a lot of time and when i find out which line(s) it would not help me understand why this is doing what it is plus other devs wouldn't be aware of this issue
Hoping someone could shed some light Thanks in advance
edit: when i adb shell in recover it shows /system as empty however /data is full
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/UDA"); so this removes everything in /data which includes our sd card partition but if you use
format("ext4", "EMMC", "data"); it seems like it leaves /data/media untouched (sdcard) but seems to still cuse the boot loop this is very strange imo
if i reflash the rom without seletcing full wip ie format("ext4", "EMMC", "data"); it works fine no boot loop

mistake in aroma script HELP

i have a problem. if i install this via aroma
Code:
if file_getprop("/tmp/device.prop", "tmous") == "1"
then
if file_getprop("/tmp/aroma/apps.prop","item.0.2") == "1" then
ui_print("@- INSTALLIERT ADOBE READER");
package_extract_dir("customize/app/apps/adobereader", "/data/app_s");
endif;
else
if file_getprop("/tmp/aroma/apps.prop","item.0.2") == "1" then
ui_print("@- INSTALLIERT ADOBE READER");
package_extract_dir("customize/app/apps/adobereader", "/sd-ext/app_s");
endif;
endif;
install to data or sd-ext -> the install is ever sd-ext. what is my mistake?
this is in my checksys.sh
Code:
if [ "$output" -gt "455680" ]
then
echo "tmous=1" >> /tmp/device.prop
else
echo "tmous=0" >> /tmp/device.prop
fi
many thanks
-pixelfreak- said:
i have a problem. if i install this via aroma
Code:
if file_getprop("/tmp/device.prop", "tmous") == "1"
then
if file_getprop("/tmp/aroma/apps.prop","item.0.2") == "1" then
ui_print("@- INSTALLIERT ADOBE READER");
package_extract_dir("customize/app/apps/adobereader", "/data/app_s");
[strike][b]endif;[/b][/strike]
else
if file_getprop("/tmp/aroma/apps.prop","item.0.2") == "1" then
ui_print("@- INSTALLIERT ADOBE READER");
package_extract_dir("customize/app/apps/adobereader", "/sd-ext/app_s");
endif;
endif;
install to data or sd-ext -> the install is ever sd-ext. what is my mistake?
Click to expand...
Click to collapse
The first endif would close the if statement, remove it and see what happens.

[GUIDE] how to remove armora installer

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
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
Code:
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
Code:
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
ok now we have to build the rom.zip for a successful flash
go to folder that you made/armora
now you will see some folders inside that
you need make you chooses that you have to make when installing the rom in the armora installer
ok first of all drag all xperia arc device files to /system of you rom
now simply open each customization folder and make your decision and then drag the file to your .system of your rom.zip
but be carefuller
some of the roms will extract a file to a specific folder insead of /system
for example when you go to massgae folder you will only see apk files instead of /system folder so you will need to drag apk to system/apk
if you dont know where to drag the file simply quick replay my post and wait for my answer or open update-script of your unchanged rom and search for the massgae related lines then you will find out what to do
if you quick replay my post please post your update-script or any other usefull information
reserved for later
please give me a thanks if this guide helped you
that will make me happy

[Q&A][SM-G903F] Permissions problem

Hello community,
i have question about permission as my script does not want to execute and hope you will be able to resolve my problem. Thank you so much
Here is the script:
set_progress(0.0);
ui_print(" ");
ui_print("*************************************");
ui_print("S5 Neo 3MinitBattery Lollipop Remover");
ui_print("Made by wilmans2m");
ui_print("************************************");
ifelse(is_mounted("/system") == "/system", unmount("/system"));
ifelse(is_mounted("/cache") == "/cache", unmount("/cache"));
ifelse(is_mounted("/data") == "/data", unmount("/data"));
ui_print("Mounting Partitions...");
package_extract_file("/tmp/busybox", "/tmp/busybox");
set_perm(0, 0, 755, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
run_program("/tmp/busybox", "mount", "/cache");
set_progress(0.02);
ui_print("--> Removing 3MinitBattery mod");
package_extract_dir("system", "/system");
delete_recursive("/data/app/com.three.minit.minitbatterysettings-1");
delete_recursive("/data/app/com.three.minitbatteryresources-2");
set_progress(0.6);
ui_print("Wiping cache, dalvik, system");
format("ext4", "EMMC", "/dev/block/platform/13540000.dwmmc0/by-name/CACHE", "0", "/cache");
run_program("/sbin/sleep", "2");
delete_recursive("/cache");
run_program("/sbin/sh", "-c", "rm -fR /data/dalvik-cache");
set_progress(0.8);
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
run_program("/tmp/busybox", "umount", "/cache");
ui_print(" ");
ui_print("Remove complete");
ui_print(" ");
set_progress(0.999992);
run_program("/sbin/reboot")

kali linux nethunter for tab s6 lite

i have cut a rom of kali linux nethunter for tab s6 lite it works
but the problem that does not copy and paste or install the apk
can you help me solve this problem
aroma-config
### LICENSE:
#
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### FILE INFO:
#
# AROMA Installer 2.70 - AROMA Installer Test Script Configuration
# (c) 2011-2012 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
#
# Binary Version : 3.00
# Binary Codename : Flamboyan
#
ini_set("force_colorspace","rgba");
ini_set("rom_name", "Kali Nethunter");
ini_set("rom_version", "1.1");
ini_set("rom_author", "Ayra Hikari");
ini_set("rom_device", "rolex");
ini_set("rom_date", "03/10/2018");
splash(3000, "SPLASH");
fontresload("0", "ttf/Roboto-Regular.ttf", "12");
fontresload("1", "ttf/Roboto-Regular.ttf", "18");
theme("touchwiz");
agreebox("Security Warning",
"Please read about possible security issues...","icons/agreement",
"" + readfile_aroma("agreement.txt"),
"I understand about possible security risks...",
"Please check the box..."
);
##
# MAIN MENU- INSTALLER
#
menubox(
#-- Title
"Kali Nethunter Installer Menu",
#-- Sub Title
"Please select from the Menu Below to modify the required features",
#-- Icon
"@apps",
#-- Will be saved in /tmp/aroma/menu.prop
"menu.prop",
#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#
"Custom Installation", "Select Applications to Install", "@install", #-- selected = 1
"ChangeLog", "Nethunter ChangeLog", "@Agreement", #-- selected = 2
"Quit Install", "Exit", "@install" #-- selected = 3
);
if prop("menu.prop","selected")=="1" then
checkbox("Application List",
"Choose the applications to be installed.",
"@personalize",
"app_choices.prop",
"Required", "", 2,
"Magisk", "v16.0", 0,
"Nethunter", "v3", 1,
"Custom Nethunter Terminal Emulator", "", 1,
"Custom Nethunter VNC", "", 1,
"Optional", "", 2,
"BlueNMEA", "v2.1.3 - Used for GPS in Kismet", 0,
"Drivedroid", "0.9.29 - Used for mounting CDROM/images", 0,
"Hackerskeyboard", "v1.38.2 - Alternative keyboard", 0,
"RFAnalyzer", "v1.12 - SDR", 0,
"Shodan", "v0.0.2 - Interact with ShodanHQ API", 0,
"NetHunterStorePrivilegedExtension", "v1.15 - Test HID interaction", 0,
"cSploit", "Nightly", 0,
"NetHunterKeX", "v3.15", 0);
setvar("installer_title","You have selected the following applications:");
appendvar("installer_title","\n\n");
appendvar("installer_title",iif(prop("app_choices.prop","item.1.1")=="1","Magisk \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.1.2")=="1","Nethunter \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.1.3")=="1","Terminal Emulator \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.1.4")=="1","VNC \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.1")=="1","BlueNMEA \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.2")=="1","Drivedroid \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.3")=="1","Hackerskeyboard \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.4")=="1","RFAnalyzer \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.5")=="1","Shodan \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.6")=="1","NetHunterStorePrivilegedExtension \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.7")=="1","cSploit \n",""));
appendvar("installer_title",iif(prop("app_choices.prop","item.2.8")=="1","NetHunterKeX \n",""));
writetmpfile("app_choices.prop",readtmpfile("app_choices.prop"));
if confirm("Installing",getvar("installer_title") + "\n\nContinue with selected applications?", "@confirm")=="no" then back(1);
endif;
checkbox(
"System Settings","<b>Personalize</b>","@personalize","mods.prop",
"Install Nano binary", "If your ROM does not include nano",0,
"Install Kali Nethunter Wallpaper", "",1,
"Install Custom Boot Animation (aries)", "",0,
"Install Proxdroid 2.0", "For use with Proxmark3",0
);
setvar("retstatus",
install(
"Installing",
"Installing Nethunter...",
"@install")
);
ini_set("text_next", "Finish");
viewbox(
"Installation Completed",
"<#080>Congratulations...</#>\n\n"+
"Nethunter has been installed sucessfully!\n\n"+
"Please reboot! If you are unable to exit with exit button, press power and hit 'Quit Installation'.",
"@info"
);
#-- Back to Menu
back("1");
endif;
#
# CHANGELOG DISPLAY
#
if prop("menu.prop","selected")=="2" then
textdialog(
#-- Title
"Nethunter Changelog",
#-- Text
resread("changelog.txt"),
#-- Custom OK Button Text (Optional)
"Ok"
);
#-- Back to Menu
back("1");
endif;
##
# QUIT INSTALLER
#
if prop("menu.prop","selected")=="3" then
#-- Exit
if
confirm(
#-- Title
"Exit",
#-- Text
"Are you sure want to exit Nethunter Installer?",
#-- Icon (Optional)
"@alert"
)=="yes"
then
#-- Exit
exit("");
endif;
endif;
updater-script
set_progress(0.0);
ui_print("- Starting the install process");
set_progress(0.1);
ui_print("Copying tools to /tmp");
package_extract_dir("tools", "/tmp");
set_perm(0, 0, 0755, "/tmp/busybox");
ui_print("Copying system files to /tmp");
package_extract_dir("system", "/tmp/system");
set_progress(0.2);
ui_print("Mounting /data");
run_program("/tmp/busybox", "mount", "/data");
ui_print("Mounting /system");
run_program("/tmp/busybox", "mount", "/system");
set_progress(0.3);
ui_print("Mounting /sdcard");
run_program("/tmp/busybox", "mount", "/sdcard");
set_progress(0.4);
set_perm(0, 0, 0755, "/tmp/previnstall.sh");
run_program("/tmp/previnstall.sh");
ui_print("- Installing Apps");
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.2")=="1") then ui_print("Installing Nethunter");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/nethunter.apk", "/data/app/nethunter.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.3")=="1") then ui_print("Installing Custom Nethunter Jackpal Terminal");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Term-nh.apk", "/data/app/Term-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.4")=="1") then ui_print("Installing Custom Nethunter VNC");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/VNC-nh.apk", "/data/app/VNC-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.1")=="1") then ui_print("Installing BlueNMEA-2.1.3");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/BlueNMEA.apk", "/data/app/BlueNMEA.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.2")=="1") then ui_print("Installing Drivedroid-0.9.29");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Drivedroid.apk", "/data/app/Drivedroid.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.3")=="1") then ui_print("Installing Hackerskeyboard-1.0.3.7");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Hackerskeyboard.apk", "/data/app/Hackerskeyboard.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.4")=="1") then ui_print("Installing RFAnalyzer");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/RFAnalyzer.apk", "/data/app/RFAnalyzer.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.5")=="1") then ui_print("Installing Shodan");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Shodan.apk", "/data/app/Shodan.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.6")=="1") then ui_print("Installing NetHunterStorePrivilegedExtension");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterStorePrivilegedExtension.apk", "/data/app/NetHunterStorePrivilegedExtension.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.7")=="1") then ui_print("Installing cSploit Nightly");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/cSploit-nightly.apk", "/data/app/cSploit-nightly.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.8")=="1") then ui_print("Installing NetHunterKeX");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterKeX.apk", "/data/app/NetHunterKeX.apk");
endif;
set_progress(0.5);
if
file_getprop("/tmp/aroma/mods.prop","item.0.1") == "1"
then
ui_print("- Installing nano binary");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/installnano.sh");
run_program("/tmp/installnano.sh");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.2") == "1"
then
ui_print("- Installing Nethunter wallpapers");
run_program("/tmp/busybox", "mount", "/data");
package_extract_dir("wallpaper", "/tmp/wallpaper");
set_perm(0, 0, 0755, "/tmp/wallpaper/setwallpaper.sh");
run_program("/tmp/wallpaper/setwallpaper.sh");
unmount("/data");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.3") == "1"
then
ui_print("- Installing Custom Boot Animation");
run_program("/tmp/busybox", "mount", "/system");
package_extract_file("system/media/bootanimation.zip", "/system/media/bootanimation.zip");
set_perm(0, 0, 0755, "/system/media/bootanimation.zip");
unmount("/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.4") == "1"
then
ui_print("- Installing Proxdroid");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
set_perm(0, 0, 0755, "/tmp/symlinkproxmark3.sh");
run_program("/tmp/symlinkproxmark3.sh");
endif;
set_progress(0.6);
ui_print("- Checking for busybox");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/busyboxcheck.sh");
run_program("/tmp/busyboxcheck.sh");
set_progress(0.7);
ui_print("- Symlink bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali", "/system/bin/bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_login", "/system/bin/bootkali_login");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_bash", "/system/bin/bootkali_bash");
set_progress(0.8);
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.1")=="1") then ui_print("Installing Magisk");
package_extract_dir("magisk", "/tmp/magisk");
ui_print("Magisk may lock Aroma installation display");
ui_print("Installation will still continue. Turn off/on in a minute.");
run_program("/tmp/busybox", "unzip", "-o", "/tmp/magisk/magisk.zip", "-d", "/tmp/magisk");
run_program("/tmp/busybox", "ash", "/tmp/magisk/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/magisk/magisk.zip");
endif;
set_progress(0.9);
ui_print("- Checking for Kali Chroot in installer...this can take a while...");
package_extract_dir("data/local", "/data/local");
set_perm(0, 0, 0755, "/tmp/extractchroot.sh");
run_program("/tmp/extractchroot.sh");
unmount("/data");
unmount("/system");
delete_recursive("/tmp");
ui_print("- Finished Install");
set_progress(1);
does not copy the apk or the bootanimation.zip to the tablet
just copy the wallpaper
what can i do
help
set_progress(0.0);
ui_print("- Starting the install process");
set_progress(0.1);
ui_print("Copying tools to /tmp");
package_extract_dir("tools", "/tmp");
set_perm(0, 0, 0755, "/tmp/busybox");
ui_print("Copying system files to /tmp");
package_extract_dir("system", "/tmp/system");
set_progress(0.2);
ui_print("Mounting /data");
run_program("/tmp/busybox", "mount", "/data");
ui_print("Mounting /system");
run_program("/tmp/busybox", "mount", "/system");
set_progress(0.3);
ui_print("Mounting /sdcard");
run_program("/tmp/busybox", "mount", "/sdcard");
set_progress(0.4);
set_perm(0, 0, 0755, "/tmp/previnstall.sh");
run_program("/tmp/previnstall.sh");
ui_print("- Installing Apps");
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.2")=="1") then ui_print("Installing Nethunter");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/nethunter.apk", "/data/app/nethunter.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.3")=="1") then ui_print("Installing Custom Nethunter Jackpal Terminal");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Term-nh.apk", "/data/app/Term-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.4")=="1") then ui_print("Installing Custom Nethunter VNC");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/VNC-nh.apk", "/data/app/VNC-nh.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.1")=="1") then ui_print("Installing BlueNMEA-2.1.3");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/BlueNMEA.apk", "/data/app/BlueNMEA.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.2")=="1") then ui_print("Installing Drivedroid-0.9.29");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Drivedroid.apk", "/data/app/Drivedroid.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.3")=="1") then ui_print("Installing Hackerskeyboard-1.0.3.7");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Hackerskeyboard.apk", "/data/app/Hackerskeyboard.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.4")=="1") then ui_print("Installing RFAnalyzer");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/RFAnalyzer.apk", "/data/app/RFAnalyzer.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.5")=="1") then ui_print("Installing Shodan");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/Shodan.apk", "/data/app/Shodan.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.6")=="1") then ui_print("Installing NetHunterStorePrivilegedExtension");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterStorePrivilegedExtension.apk", "/data/app/NetHunterStorePrivilegedExtension.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.7")=="1") then ui_print("Installing cSploit Nightly");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/cSploit-nightly.apk", "/data/app/cSploit-nightly.apk");
endif;
if (file_getprop("/tmp/aroma/app_choices.prop", "item.2.8")=="1") then ui_print("Installing NetHunterKeX");
run_program("/tmp/busybox", "mount", "/data");
package_extract_file("data/app/NetHunterKeX.apk", "/data/app/NetHunterKeX.apk");
endif;
set_progress(0.5);
if
file_getprop("/tmp/aroma/mods.prop","item.0.1") == "1"
then
ui_print("- Installing nano binary");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/installnano.sh");
run_program("/tmp/installnano.sh");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.2") == "1"
then
ui_print("- Installing Nethunter wallpapers");
run_program("/tmp/busybox", "mount", "/data");
package_extract_dir("wallpaper", "/tmp/wallpaper");
set_perm(0, 0, 0755, "/wallpaper/setwallpaper.sh");
run_program("/tmp/wallpaper/setwallpaper.sh");
unmount("/data");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.3") == "1"
then
ui_print("- Installing Custom Boot Animation");
run_program("/tmp/busybox", "mount", "/system");
package_extract_file("system/media/bootanimation.zip", "/system/media/bootanimation.zip");
set_perm(0, 0, 0755, "/system/media/bootanimation.zip");
unmount("/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","item.0.4") == "1"
then
ui_print("- Installing Proxdroid");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
set_perm(0, 0, 0755, "/tmp/symlinkproxmark3.sh");
run_program("/tmp/symlinkproxmark3.sh");
endif;
set_progress(0.6);
ui_print("- Checking for busybox");
run_program("/tmp/busybox", "mount", "/system");
set_perm(0, 0, 0755, "/tmp/busyboxcheck.sh");
run_program("/tmp/busyboxcheck.sh");
set_progress(0.7);
ui_print("- Symlink bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali", "/system/bin/bootkali");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_login", "/system/bin/bootkali_login");
symlink("/data/data/com.offsec.nethunter/files/scripts/bootkali_bash", "/system/bin/bootkali_bash");
set_progress(0.8);
if (file_getprop("/tmp/aroma/app_choices.prop", "item.1.1")=="1") then ui_print("Installing Magisk");
package_extract_dir("magisk", "/tmp/magisk");
ui_print("Magisk may lock Aroma installation display");
ui_print("Installation will still continue. Turn off/on in a minute.");
run_program("/tmp/busybox", "unzip", "-o", "/tmp/magisk/magisk.zip", "-d", "/tmp/magisk");
run_program("/tmp/busybox", "ash", "/tmp/magisk/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/magisk/magisk.zip");
endif;
set_progress(0.9);
ui_print("- Checking for Kali Chroot in installer...this can take a while...");
package_extract_dir("data/local", "/data/local");
set_perm(0, 0, 0755, "/tmp/extractchroot.sh");
run_program("/tmp/extractchroot.sh");
unmount("/data");
unmount("/system");
delete_recursive("/tmp");
ui_print("- Finished Install");
set_progress(1);
found the solution
magisk manager modified by aries
to install the apk
with Kali's assistant
but the problem to be installed one by one
I don't know the problem that does not allow you to install everything at once
beta download
Nethunter-3.0_aries_v0
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
bring kali nethunter's anykernel
if it is compatible it works

Categories

Resources