yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] shubhamchamaria:
I'm going to sleep now....will check it out tomorrow after school....
[Android Software/Hacking General [Developers Only]] masterex567:
Just want to clarify one thing..

what i want to do is:

if user clicks default installation, it installs xperia theme, xperia home, and cm camera.

If user clicks customized, he gets to choose between these ^ and 1 more alternate...

Is that possible? ^
[Android Software/Hacking General [Developers Only]] mikep99:
After 'press next to continue' delete the line with just )

On my phone at the moment so can't check properly. ....
[Android Software/Hacking General [Developers Only]] masterex567:
Ok ill try that
[Android Software/Hacking General [Developers Only]] mikep99:
Dont think thatll work actually, sorry.

Ill have a look tomorrow when im on my laptop.

I'd suggest starting the script again, just doing one bit at a time and making sure it works and then adding to it.

I find its a nightmare debugging when trying to do it all in one go.
[Android Software/Hacking General [Developers Only]] masterex567:
I followed amarullz comments in aroma config

But if somethings missing would the aroma work??
[Android Software/Hacking General [Developers Only]] mikep99:
Yeah, of course. If you look at the config and updater I posted earlier, youll see that theres only a small percentage ive used of whats available.

I'd start with something like that and amend it / add to it as you go along...

Makes it much easier to understand and find errors :)
[Android Software/Hacking General [Developers Only]] hockeyfamily737:
I do something very similar to what you're trying to do (Sense installation, Senseless, and fully custom). Have a look at the segment of my code here:

menubox(
#-- Title
"INSTALLATION TYPE",

#-- Sub Title
"Choose your installation type.",

#-- Icon
"@customize",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",

"Sense", "Installs full d3rpICS Sense 3.6 Milestone rom", "@install", #-- selected = 1
"Senseless", "Installs a d3rpICS Senseless experience", "@install", #-- selected = 2
"Custom", "Choose your own d3rpICS experience", "@install" #-- selected = 3
);
#
# BOOT CONFIGURATIONS
#
if (prop("type.prop","selected")!="3") then
#-- IF "Full" Installation, don't show configuration, then write default d3rp.prop
#-- NOTE: d3rp.prop should exists, or updater-script will error
writetmpfile(
#-- Prop file will write to /tmp/aroma/d3rp.prop
"d3rp.prop",

#-- Default Values
iif(
#-- If Not Custom
prop("type.prop","selected")=="1",

#-- True Value (Sense install)
"selected.1=2\n"+ #-- Balanced
"selected.2=2\n"+ #-- d3rpICS
"selected.3=2\n" #-- Off
,
#-- False Value (non Non Sense)
"selected.1=2\n"+ #-- Balanced
"selected.2=1\n"+ #-- None
"selected.3=2\n" #-- Off
)
);
else
#-- IF Not "Full" Show Main Features Selection
selectbox(
#-- Title
"BOOT CONFIGURATION",

#-- Sub Title
"Please select your preferred options",

#-- Icon: <AROMA Resource Dir>/icons/default.png or <ThemeDir>/icon.default.png
"@default",

#-- Will be saved in /tmp/aroma/d3rp.prop
"d3rp.prop",

"Battery & Performance", "", 2, #-- Group 1. key = "selected.1"
"X-treme battery", "Tweaked for good battery life.", 0, #-- selected.1 = 1
"Balanced", "Balance of performance and battery life.", 1, #-- selected.1 = 2
"Binge", "Battery...pffft. Who cares?", 0, #-- selected.1 = 3

"Boot Animation", "", 2, #-- Group 2. key = "selected.2"
"None", "Will use the default ANDROID animation.", 0, #-- selected.2 = 1
"d3rpICS", "d3rpICS boot animation", 1, #-- selected.2 = 2
"d3rpGB", "d3rp Gingerbread boot animation.", 0, #-- selected.2 = 3
"inbREDed", "inbREDed red boot animation.", 0, #-- selected.2 = 4

"Boot Audio", "", 2, #-- Group 3. key = "selected.3"
"On", "I like your boot audio.", 0, #-- selected.3 = 1
"Off", "Nahh, your boot audio sucks.", 1 #-- selected.3 = 2

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
endif;

Basically what it's saying is that if custom is not selected then write the prop file using true & false values. I also used selectbox here instead of checkbox so that only one selection could be made per group.
[Android Software/Hacking General [Developers Only]] masterex567:
Ok I'm going to look at that but I don't understand how to implement it to what I want with the aroma..

could you possibly point out what exactly I need to change in my aroma config?

that would be very appreciated..
[Android Software/Hacking General [Developers Only]] hockeyfamily737:
Well, if you want to have 3 installation options look at the very top segment (menubox) of my code where the type.prop is written. You have Sense, Senseless, Custom.....You would change that to Default, De-bloat and Custom.

Next chunk of code is saying: If type.prop != (doesn't equal) custom then write these default values to d3rp.prop followed by the iif command. Your true values would be selected options for the default installation, then the false values would be your de-bloated installation

else

these would be your custom choices organized into selectbox groups.
[Android Software/Hacking General [Developers Only]] masterex567:
I want only Default and Custom...

So, i have done the modifications

Take a look at my menubox. Is it ok?

menubox(
#-- Title
"INSTALLATION TYPE",

#-- Sub Title
"Choose your installation type.",

#-- Icon
"@customize",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",

"Default", "Installs default", "@install", #-- selected = 1
"Custom", "Custom", "@install" #-- selected = 2
);
#
#
#
if (prop("type.prop","selected")!="2") then
#-- IF "Full" Installation, don't show configuration, then write default mods.prop
#-- NOTE: mods.prop should exists, or updater-script will error
writetmpfile(
#-- Prop file will write to /tmp/aroma/d3rp.prop
"mods.prop",

#-- Default Values
iif(
#-- If Not Custom
prop("type.prop","selected")=="1",

#-- True Value (Default install)
"selected.1=1\n"+ #-- Balanced
"selected.2=1\n"+
"selected.3=1\n"
)
);
else
#-- IF Not "Full" Show Main Features Selection
selectbox(
#-- Title
"BOOT CONFIGURATION",

#-- Sub Title
"Please select your preferred options",

#-- Icon: <AROMA Resource Dir>/icons/default.png or <ThemeDir>/icon.default.png
"@default",

#-- Will be saved in /tmp/aroma/mods.prop
"mods.prop",

"Launchers", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Xperia home 2.3 by ra3al.", 1, #-- selected.1 = 1
"Holo Launcher", "Holo Launcher by mobint", 0, #-- selected.1 = 2

"Theme", "", 2, #-- Group 2. key = "selected.2"
"Xperia Theme", "Modded xperia s theme with ics elements.", 1, #-- selected.2 = 1
"JB Theme", "JB Theme by driffex", 0, #-- selected.2 = 2

"Camera", "", 2, #-- Group 3. key = "selected.3"
"CM Camera", "Use default CM7 Camera.", 1, #-- selected.3 = 1
"LG Camera", "Use LG camera with replaced icons.", 0 #-- selected.3 = 2

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
endif;

---------- Post added at 11:23 AM ---------- Previous post was at 11:13 AM ----------

gives me a syntax error on line 27 col 44!?! O.o

>.<
[Android Software/Hacking General [Developers Only]] hockeyfamily737:
^^ Sorry, I saw this post and thought that is what you wanted. What I posted is how to accomplish that.

Only doing default or custom is a little different, then what you had originally asked for. You won't use the iif. Gimme a minute to dig up an older config which only uses 2 options in menubox.

---------- Post added at 03:42 AM ---------- Previous post was at 03:33 AM ----------

This demonstrates only 2 install options:

menubox(
#-- Title
"INSTALLATION METHOD",

#-- Sub Title
"Choose your prefered installation type.",

#-- Icon
"@customize",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",

"Default Installation", "Installs default d3rpICS deodexed Milestone rom", "@install", #-- selected = 1
"Custom Installation", "Choose your own d3rpICS rom configuration", "@install" #-- selected = 2
);
#
# ROM CUSTOMIZATION
#
# IF d3rpICS Default
if (prop("type.prop","selected")=="1") then #-- IF Default Installation THEN write default d3rp.prop
#-- NOTE: d3rp.prop needs to exists or updater-script will error
writetmpfile(
#-- Prop file will write to /tmp/aroma/d3rp.prop
"d3rp.prop",

#-- Default d3rp Values
"selected.1=1\n"+ #-- ROM Version: d3rpICS Milestone 6.2
"selected.2=1\n"+ #-- Perfomance: Normal
"selected.3=2\n"+ #-- Boot Audio: Off
"selected.3=1\n" #-- Boot Animation: On
#-- REMEMBER: No '+' for the last default value
);
else #-- IF Custom Installation THEN show Initial ROM Customization menu
#
ini_set("text_next", "Next >");
selectbox(
#-- Title
"ROM CUSTOMIZATION",

#-- Sub Title
"Customize d3rpICS by making your selections below. Choose Next when finished.",

#-- Icon: <AROMA Resource Dir>/icons/default.png or <ThemeDir>/icon.default.png
"@default",

#-- Will be saved in /tmp/aroma/d3rp.prop
"d3rp.prop",
#
# Custom Choices
#
"ROM VERSION", "", 2, #-- Group 1. key = "selected.1"
"d3rpICS Bareback", "team d3rp's greyscale senseless rom", 1, #-- selected.1 = 1
"d3rpICS Shenanigans", "team d3rp's senseless rendition of inbREDed", 0, #-- selected.1 = 2

"Performance", "", 2, #-- Group 2. key = "selected.2"
"Normal", "I want a fast rom, but not at the expense of battery life.", 1, #-- selected.2 = 1
"Binge", "I don't care about battery life, make it go faster.", 0, #-- selected.2 = 2

"Boot Audio", "", 2, #-- Group 3. key = "selected.3"
"On", "I like boot up & down audio", 0, #-- selected.3 = 1
"Off", "Nah, your boot sounds suck", 1, #-- selected.3 = 2

"Boot Animation", "", 2, #-- Group 4. key = "selected.4"
"On", "d3rp boot animations FTW", 1, #-- selected.4 = 1
"Off", "Give me the boring ANDROID animation", 0 #-- selected.4 = 2

#-- REMEMBER: The last value CANNOT and SHOULD NOT have a comma after its number - eg.: Volume Buttons > Screen Wake
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
endif;
[Android Software/Hacking General [Developers Only]] masterex567:
Ok.

Thanks for the help mate.

I appreciate it alot.
[Android Software/Hacking General [Developers Only]] loektheman:
Wow! great work! thanks a bunch
[Android Software/Hacking General [Developers Only]] Ganesh A:
Vh

My Greatest Work:

Xperia NxT MoD v1.2 For All GB

http://xdaforums.com/showthread.php?t=1967172

Sent from my GT-5360 with Xperia NxT MoD
[Android Software/Hacking General [Developers Only]] hockeyfamily737:
PM sent

/end thread hijack
[Android Software/Hacking General [Developers Only]] franzyroy:
Excuse me if I insist but noone has this problem... or can answer me for second and third questions!
[Android Software/Hacking General [Developers Only]] masterex567:
-fixed-
[Android Software/Hacking General [Developers Only]] Robobob1221:
Save your aroma log after the install has finished. Then look at it. It will tell you where your line errors are so you can fix it yourself.

One line in holo launcher install the is missing a ".

Status 6 means syntax error either ()" etc usually
[Android Software/Hacking General [Developers Only]] masterex567:
Thanks!

did that, and it showed me the problem and fixed it.
[Android Software/Hacking General [Developers Only]] Max128:
REMOVED..
[Android Software/Hacking General [Developers Only]] raimondomartire:
Have you recompile aroma file? If yes can you post here. i try on Nexus 4. some problem there
[Android Software/Hacking General [Developers Only]] letama:
Sure, here it is. It only fixes aroma startup, it shouldn't help any other graphical issue.
[Android Software/Hacking General [Developers Only]] nitsuj17:
any chance of looking into touchscreen issues on the droid dna/butterfly j?

aroma 2.56 freezes probably half of the time during install
[Android Software/Hacking General [Developers Only]] raimondomartire:
Now on Nexus 4 aroma don't stop or freez until end installation but don't install nothing. Are you sure that you are compiled 2.56?
[Android Software/Hacking General [Developers Only]] letama:
Yes, definitely, I built Edelweis from last git and it works fine on Xperia S. Maybe another problem somewhere else ? What does say recovery.log ?
[Android Software/Hacking General [Developers Only]] raimondomartire:
Strange error in recovery.log "line 1799 col 32: symtax error , unexpected $end 1 parse errors" Installer Error (Staus 6)"

The strange matter is that my aroma file haven't 1799 lines and before use your file with original file the installation process work even if almost always freezes during the process. Thanks for suggestion
[Android Software/Hacking General [Developers Only]] letama:
Hum, honestly, no idea... I'm far from an Aroma expert, I just took a look at startup issue as it annoyed me when I test roms using it.
[Android Software/Hacking General [Developers Only]] joshndroid:
can someone tell me what the updater-script should have when your implementing instances from a checkbox?..

ie: I have a checkbox (that works perfectly how i want it)

however I dont know what the checkbox then outputs into the .prop and therefore I also dont know what i must put in the updater-script to have the desired outcome... i apologise I only just made my first aroma installer package today that went well but i wanted to implement a checkbox for the next version. I took the format of a checkbox from another devs aroma installer and set it out so it works for my application but I havnt found an example of a checkbox in an updater-script for me to try an use
[Android Software/Hacking General [Developers Only]] Smart-X:
Freeze at the last step of installation

Yeah, that's also my issue with Samsung N8010.

AROMA 2.56 always freezes at the last step of installation just before rebooting choice.

The last lines of code are almost copied from the example file and works fine before.

Yet everything's OK after long pressing the power button to reboot.

But I'm curious about what causes this issue.

Any conflict with CWM recovery 6.0.1.1?

*EDIT*

I tried to install TWRP v2.3.1.0 and never freeze again!
[Android Software/Hacking General [Developers Only]] kevinrocksman:
so any idea of why it freezes on the galaxy note 2? Just wondering, it freezes if you either A. Touch the screen in more than 2 locations at once, B. Or at the end of the installation.
[Android Software/Hacking General [Developers Only]] MarioJerkovic:
can someone help me.. i keep trying and trying but allway syntax error 318 col 2 status 1 in aroma-config
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Ill look at it in 10 minutes

---------- Post added at 01:13 AM ---------- Previous post was at 12:24 AM ----------

Itd because u have a comma after the 0 right before line 318

---------- Post added at 01:13 AM ---------- Previous post was at 01:13 AM ----------

Ill send u the repaired script in a sec
[Android Software/Hacking General [Developers Only]] Patrics83:
This is not a solution but try an older recovery for your device.

I know that 6.0.1.5-jb had no problems. At least none of my users reported it.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
hm.. not sure if all my users would like to downgrade thier recoveries :(

---------- Post added at 07:47 AM ---------- Previous post was at 07:45 AM ----------

send me ur updater-script and aroma-script
[Android Software/Hacking General [Developers Only]] MarioJerkovic:
Tnx :) it works now :)
[Android Software/Hacking General [Developers Only]] Patrics83:
Did you try to downgrade?

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] kevinrocksman:
havent had a chance yet, christmas is crazy
[Android Software/Hacking General [Developers Only]] alkhafaf:
hello guys

how can I know if Touch Screen Driver is included in my Recovery ?

Thanks
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Id say either ask the person that made the recovery or try out the aroma 2.56 test file to see if touch works
[Android Software/Hacking General [Developers Only]] joshndroid:
On the nexus 4 there is a blue tint, but on my galaxy nexus it doesn't how would I go about removing this tint for a single device?
[Android Software/Hacking General [Developers Only]] MattBooth:
I'm also getting freezes and lock ups using the installer. It's happened in 2.50 and 2.56. I noticed kevinrocksman is using the Note II, I'm on the Galaxy S3 which are quite similar devices.

Some users are reporting it happening like 80% of the time, I get it perhaps 1/10 times I run the installer. I think my users may be exaggerating a little, but it certainly occurs.

Is there a development build I can run that gives logs? I know the release version can give logs but that actually creates a log perhaps 1/50 attempts. I.E., I'm very shocked if it actually prints a log out for me to use.
[Android Software/Hacking General [Developers Only]] Yank555:
I can confirm the exact same thing, both on S3 and for 2.50/2.56 versions...

I use Aroma for my kernel where it happens not very often (very little reports), but a friend's ROM (for whom I added Aroma Installer as he wanted to give users options) has the issue often enough to regularly come up in his thread :(

So I think the longer the operation, the higher the risk obviously, but generally it happens at the end, after flashing and before the 'reboot' page (which I kept from the demo script).

I removed this last page for the ROM, which made things better but it still happens...

On the kernel installer the page is still there, but seems to not cause much trouble as said earlier.

JP.

Sent from my custom Paranoid Android 2.54 / Yank555.lu CM10 kernel v1.3f Aroma (Linux 3.0.57) powered Galaxy S3 i9300 using Tapatalk 2
[Android Software/Hacking General [Developers Only]] drraptor:
the rom list seems outdated, it doesn't mention any roms for GT-9100 SGS2. Please update.
[Android Software/Hacking General [Developers Only]] CosmicDan:
There must be over a thousand ROM's tharlt use Aroma now. Its only an example, its not like Aroma makes a ROM function better.

Aroma Installer seems a bit dead, newer devices have graphic issues and Xperia 2011 have broken touch (after 2.00).

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] kevinrocksman:
it is quite sad though... i would love to see more work on the aroma. its a great product but being outdated every device that comes out
[Android Software/Hacking General [Developers Only]] MattBooth:
Yeah I get reports of it happening on the kernel page. I've also had it just before the reboot button too.

BTW, I have included your kernel in my ROM by popular request :) I just do the standard version, though, as with this issue, I'm scared to try and integrate your whole aroma installer in case it never installs at all! lol

Definitely agreed. It's a great installer. amarullz should start a phone fund and perhaps start getting in new devices for testing :)
[Android Software/Hacking General [Developers Only]] kevinrocksman:
i am a aroma person...thats really all i do and i am in the process of integrating some awesome stuff into a aroma for a specific rom so its kind of upsetting to see 4/10 users tell me its freezing
[Android Software/Hacking General [Developers Only]] Smart-X:
Same here on Samsung Note 10.1.

Users keep reporting and comlaining the freezing.

I love AROMA and hope there will be a new version out ...:crying:
[Android Software/Hacking General [Developers Only]] amarullz:
Please give me a time.... I have many things to do., Next version will seperate the core with installer, so anyone can easly modify the display and input capability for each devices,.. It will compatible with android build environment. I will create source in managed structure, so the device specifics code will be modify-able. It wasn't an easy task after all :D
[Android Software/Hacking General [Developers Only]] alvin551:
Your really good mate!! Keep up the hard work and take your time to get perfection
[Android Software/Hacking General [Developers Only]] CosmicDan:
Wow thanks Dev! I am glad to hear it.

The touchscreen issue is the same on TWRP by the way, I looked at source but am not sure what to try changing. I may ask them.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] Smart-X:
I love you amarullz!

Great!

So happy to know you haven't stopped developing AROMA!

Anything optimized for the freezing issue?
[Android Software/Hacking General [Developers Only]] Smart-X:
Really?

I never freeze on TWRP. Maybe I was just lucky? Or you mean another different issue?

The freezing issue is really annoying, and users keep complaining.:(
[Android Software/Hacking General [Developers Only]] CosmicDan:
I said touch screen issue, never said anything about freezing.

Have you tried using an older version? It it doesn't work on any of these newer ones you'll probably have to edit source code yourself. Or send some donations to Amarullz if you don't have the skill.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] CosmicDan:
How do I compile this thing?

I notice you have windows batch files, but I have no idea of the toolchain you use. I tried to adapt it to Linux with various ways to no success. Could you share which Windows toolchain/package you use to build the latest versions? Thank!
[Android Software/Hacking General [Developers Only]] alkhafaf:
Is it possible to merge villan theme installer (morphing) with aroma ?
[Android Software/Hacking General [Developers Only]] kevinrocksman:
yes lol
[Android Software/Hacking General [Developers Only]] alkhafaf:
Did u try to do it ? Or anyone?

I want to do this to make the zip file in a smaller size.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
yes i did it (with help from morphology), morphology has done it (messy but did it), and the guy that helps make Macksrom made it (under my help)

---------- Post added at 11:03 PM ---------- Previous post was at 11:02 PM ----------

download the jellybomb rom for the note 2 V11 and look at the code, thatll tell u how to do it
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Vrtheme and aroma works nice in my "one x status bar mods".. Check out in my signature if u want :)
[Android Software/Hacking General [Developers Only]] slim80:
Hi. I have a problem with checkbox command. During aroma-config installation, after selected the "Data Applications", i have this error:

My script:

View attachment aroma-config.txt

View attachment updater-script.txt
[Android Software/Hacking General [Developers Only]] kevinrocksman:
can u give me the log file?

pull the install.txt in tmp
[Android Software/Hacking General [Developers Only]] kevinrocksman:
here ya go, working now
[Android Software/Hacking General [Developers Only]] slim80:
Now works.

Thank you very much!

P.S. Do you changed only 1>0 values in checkbox menu? This values must to be always at 0? Why?

Thanks!
[Android Software/Hacking General [Developers Only]] franzyroy:
OK... therefore, I am waiting the next version to see if it corrects this issue!

Thanks!
[Android Software/Hacking General [Developers Only]] CosmicDan:
1 is default enabled, 0 is default disabled, 2 is category/separator.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
a am not 100% sure why it did that but just set it to zero but have it write a tmp file with all the info
[Android Software/Hacking General [Developers Only]] amarullz:
0 = unchecked

1 = checked

2 = category

3 = hidden
[Android Software/Hacking General [Developers Only]] kevinrocksman:
if u change something to a 3 do u have to change the item number or selected number say in the updater script?
[Android Software/Hacking General [Developers Only]] amarullz:
Yes... That was the bad thing :laugh:.. But I will use new method for new version...
[Android Software/Hacking General [Developers Only]] thunder888:
Hi, I use Xperia Neo. I've problem when edit aroma installer from this file : http://xdaforums.com/showthread.php?t=1960483

My screen was shaking, even i add calibrate screen to aroma-config (line 11 & 12). How can i fix it? Thanks before.
[Android Software/Hacking General [Developers Only]] ecloudim:
It was for zip ROM, so User will be able to customize their rom installation...