[SOLVED] [Q] Help please for Aroma - Android Q&A, Help & Troubleshooting

Hi, i try to make a rom with aroma installer.
Since this morning I'm stuck on this problem : there's no error when I run, but during installation I propose a choice for system apps installation. or two of them a second choice is needed.
when i selected one (thememangager) the new selectbox comes.
but for second (livewallpaper) nothing happens, it goes to next. As if there's no choice. I've read and read again, but I can't find my problem.
Could someone help me please? (i've join the text in that show content)
Thanks in advance...
HTML:
checkbox(
"System Apps",
"Select the apps you want to install: ",
"@apps",
"systemapps.prop",
"Choose System Apps", "", 2,
"Email", "Exchanges services", 0, #-- item.1.1
"Bluetooth", "If you use Bluetooth, needed", 0, #-- item.1.2
"DSP Manager", "Manage the sound for headphones, speacker, and bluetooth", 0, #-- item.1.3
"GooManager", "Not a needed for MuSPaC but I you want...", 0, #-- item.1.4
"LockClock", "Time, weather, calendar in one widget customizable", 1, #-- item.1.5
"Performance Control", "More options to set perf of your Ace", 1, #-- item.1.6
"Theme Manager", "Choose between original or manage hdpi themes", 1, #-- item.1.7
"Torch", "It can help to use Pie's or statusbar's torch shotrcut, but...", 1, #-- item.1.8
"Voice Dialer", "Original voice recognition", 0, #-- item.1.9
"WallPaper picker", "To manage wallpaper in other way that the gallery", 0, #-- item.1.10
"LiveWallPaper Picker", "May not be installed"+
"To manage the LWP, but watch out for your battery", 0 #-- item.1.11
);
#ThemeManager
if
file_getprop("/tmp/aroma/systemapps.prop","item.1.7") == "1"
then
selectbox(
"Theme Manager",
"Wich Theme Manager do you want ?",
"@thememan",
"systemapps.prop",
"Choose", "", 2,
"Hdpi", "To enable Hdpi themes", 1,
"Normal", "Most of themes just need this one", 0
);
else
writetmpfile(
"systemapps.prop",
"selected.1=0\n"
);
endif;
#LiveWallpaper
if
file_getprop("/tmp/aroma/systemapps.prop","item.1.11") == "1"
then
checkbox(
"Live Wallpaper",
"Which Live Wallpaper(s) would you like?",
"@lwp",
"livewall.prop",
"Choose", "", 2,
"Deep Sea", "Translucent Jellyfish swim through the deep sea.", 0,
"Luminous Dots", "Glowing dots move smoothly across the screen as if alive.", 0,
"Noise Field", "Bubbles fade in and out of view as they swirl across the screen.", 0,
"Phase Beam", "Relaxing pulses of colour and light move serenely across the screen.", 0
);
else
writetmpfile(
"livewall.prop",
"item.1.1=0\n"+
"item.1.2=0\n"+
"item.1.3=0\n"+
"item.1.4=0\n"
);
endif;
I finally found my answer : stop to search solution will come alone.
if it can be useful to someone : 1 choice = 1 *.prop file.
so first choice is the sytem apps (systemapps.prop). Then if required you'll go to the 2nd or 3d choice. Here theme manager and LWP picker. So thememan.prop and lwp.prop.
If, like me, you put twice systemapps.prop, it will or rewrite the file erasing the the first time, or considering it is yet choosen. That's why it didn't work.

Re: [Q] Help please for Aroma
Better than aroma try dsixda kitchen.
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......

Moonguy75 said:
Better than aroma try dsixda kitchen.
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......
Click to expand...
Click to collapse
Thanks but why would I prefer? Have you tried? What in more?
I've read fastly, but thread is indicate as closed, so for any question it risk to be difficult!?
Aroma semmed to be easier... and I'd like to not read again some pages and pages to learn a new kind of program. (sure if i can't manage to work it, i'll think twice about!)
It's not that my rom don't run or stopped for error. It works before and after. Just the second menu doesn't appear.
Anyway thanks for your purpose (and for explaination for dsixda if you want to learn me).
Anybody else an idea?

Related

Requesting tiny application: Clear Recent Start Menu Items

If you're like me, you've soft-resetted your device more times in one month than there are days in a year.
So, after a nice extended boot sequence with the new Windows Mobile 5.0, you click on the Start icon, only to wait nearly 30 seconds while it grabs all the icons from the various programs you have recently loaded, plus the ones you have stored permanently in your Start Menu. Of course, if you have recently launched Skype, you'll know it has to sift through nearly 4 or 5MB for that tiny icon data located at the end of the executable. Why Microsoft hasn't learned to cache icons permanently in a file is beyond me.
My temporary solution? With Resco Explorer, I launch a REG file in my \Windows\Startup folder that sets these registry entries:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Shell\TaskSwitch]
"6"=" "
"7"=" "
"8"=" "
"9"=" "
"5"=" "
"4"=" "
"3"=" "
"2"=" "
"11"=" "
"10"=" "
"1"=" "
"0"=" "
Of course, I get prompted to the effect of, "Do you want to import these registry entries...?" to which I have to click "YES." Then I have to acknowledge its confirmation that it did so by clicking "OK."
It's annoying at best, but so is the Recent Start Menu. I personally wish it wasn't there.
Is there anyone here able to make a tiny executable that will quietly delete the above registry entries? When placed in the StartUp folder, it will have wiped out all the recently loaded programs and keep the Start Menu nice and clean.
I have contacted Resco, PHM, TweakUI, and the other registry editing developers, none of which have either gotten back to me or claim that it's a "security issue" that they leave the confirmation in there.
All I want is a clean Start Menu. Can anyone help with a tiny executable, or better yet, find a way to remove the Recent Start Menu Items section from the Start Menu completely? Of course, making these registry changes will only take effect before the Start Menu is called for the first time after a soft reset, so it has to be placed in the StartUp folder.
Aaaugh, these tiny annoyances.
Another possible application is to make a tiny executable that simply launches another program. For instance, I'd like to keep a 2KB file that will launch Skype for me. I'll keep THAT file as a shortcut in the Programs Folder, while any other instance, such as launching Skype from the Contacts menu, will still launch the original executable. It's the fact that the Windows Mobile OS has to pull the icon data from each executable on the first run after a soft reset is so damn annoying.
If anyone can make a generic executable that can be easily hex edited to incorporate any executable's filename and manipulated by Microangelo or any other icon editor to copy and paste the icon data from the original executable to the launcher executable, that would be awesome. Imagine WM only having to look at a 2KB file for the stupid icon instead of each 500K-5MB file for it.
You guys following me on this one? Is there a brave and bright soul who can do these things?
Here you go:
Code:
#include <windows.h>
#include <windowsx.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR szCmdLine, int iCmdShow)
{
HKEY Software,Microsoft,Shell,TaskSwitch,tmp;
RegOpenKeyEx(HKEY_CURRENT_USER, L"Software", 0, KEY_ALL_ACCESS, &Software);
RegOpenKeyEx(Software, L"Microsoft", 0, KEY_ALL_ACCESS, &Microsoft);
RegOpenKeyEx(Microsoft, L"Shell", 0, KEY_ALL_ACCESS, &Shell);
RegOpenKeyEx(Shell, L"TaskSwitch", 0, KEY_ALL_ACCESS, &TaskSwitch);
RegDeleteValue(TaskSwitch, L"0");
RegDeleteValue(TaskSwitch, L"1");
RegDeleteValue(TaskSwitch, L"2");
RegDeleteValue(TaskSwitch, L"3");
RegDeleteValue(TaskSwitch, L"4");
RegDeleteValue(TaskSwitch, L"5");
RegDeleteValue(TaskSwitch, L"6");
RegDeleteValue(TaskSwitch, L"7");
RegDeleteValue(TaskSwitch, L"8");
RegDeleteValue(TaskSwitch, L"9");
RegDeleteValue(TaskSwitch, L"10");
RegDeleteValue(TaskSwitch, L"11");
}
Executable (arm only), Makefile:
Works for me
Good work!
This worked first time for me.
Would somebody be willing to put this in the wiki?
Baz
chinnybob said:
Here you go:
Code:
#include <windows.h>
#include <windowsx.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR szCmdLine, int iCmdShow)
{
HKEY Software,Microsoft,Shell,TaskSwitch,tmp;
RegOpenKeyEx(HKEY_CURRENT_USER, L"Software", 0, KEY_ALL_ACCESS, &Software);
RegOpenKeyEx(Software, L"Microsoft", 0, KEY_ALL_ACCESS, &Microsoft);
RegOpenKeyEx(Microsoft, L"Shell", 0, KEY_ALL_ACCESS, &Shell);
RegOpenKeyEx(Shell, L"TaskSwitch", 0, KEY_ALL_ACCESS, &TaskSwitch);
RegDeleteValue(TaskSwitch, L"0");
RegDeleteValue(TaskSwitch, L"1");
RegDeleteValue(TaskSwitch, L"2");
RegDeleteValue(TaskSwitch, L"3");
RegDeleteValue(TaskSwitch, L"4");
RegDeleteValue(TaskSwitch, L"5");
RegDeleteValue(TaskSwitch, L"6");
RegDeleteValue(TaskSwitch, L"7");
RegDeleteValue(TaskSwitch, L"8");
RegDeleteValue(TaskSwitch, L"9");
RegDeleteValue(TaskSwitch, L"10");
RegDeleteValue(TaskSwitch, L"11");
}
Executable (arm only), Makefile:
Click to expand...
Click to collapse
Hey man , great work
Can i include this great app on a himalaya rom ?
Do whatever you want with it.
It's public domain.
chinnybob said:
Here you go:
Code:
#include <windows.h>
#include <windowsx.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPTSTR szCmdLine, int iCmdShow)
{
HKEY Software,Microsoft,Shell,TaskSwitch,tmp;
RegOpenKeyEx(HKEY_CURRENT_USER, L"Software", 0, KEY_ALL_ACCESS, &Software);
RegOpenKeyEx(Software, L"Microsoft", 0, KEY_ALL_ACCESS, &Microsoft);
RegOpenKeyEx(Microsoft, L"Shell", 0, KEY_ALL_ACCESS, &Shell);
RegOpenKeyEx(Shell, L"TaskSwitch", 0, KEY_ALL_ACCESS, &TaskSwitch);
RegDeleteValue(TaskSwitch, L"0");
RegDeleteValue(TaskSwitch, L"1");
RegDeleteValue(TaskSwitch, L"2");
RegDeleteValue(TaskSwitch, L"3");
RegDeleteValue(TaskSwitch, L"4");
RegDeleteValue(TaskSwitch, L"5");
RegDeleteValue(TaskSwitch, L"6");
RegDeleteValue(TaskSwitch, L"7");
RegDeleteValue(TaskSwitch, L"8");
RegDeleteValue(TaskSwitch, L"9");
RegDeleteValue(TaskSwitch, L"10");
RegDeleteValue(TaskSwitch, L"11");
}
Executable (arm only), Makefile:
Click to expand...
Click to collapse
So you mean, after I run this file then I have to softreset right?
What I got from you is I have to softreset all the time when the recent program has full.
Anyway to disable it? like in PPC2002, I can disable it in my PPC2002 Tosh E740. But I cant do that in my wm2005 (O2 Atom)
Thanks.
Hi chinnybob and BeyondtheTech,
This is my favourite Program that I first install after every Hard Reset
Nice Job .. ~♪
Cheers,
Nette。_・☆
my 8125 keeps complaining it not a signed app
I went about it a different way.
I created a Folder called Applications in the Windows \ Start Menu folder.
I then moved all the icons (except a favorite app) out of the Programs folder and into Applications.
I then used Resco File Explorer and changed the Properties of the Programs Folder to Hidden.
Voila! Recent Programs disappear! No need to clean out the registry.
The reason I leave a favorite app in the Programs folder is because the Menu bar will state 'Recent Programs' greyed out as a place holder where the Recent Items used to sit. Having a default app there forces at least one to stay. I left Resco File Explorer's shortcut.
Hope this helps!
wm6
this doesnt seem to work anymore on WM6...can someone possibly update the program?
mrgino said:
this doesnt seem to work anymore on WM6...can someone possibly update the program?
Click to expand...
Click to collapse
There is a program called "startclean" thats an .exe and only about 2k that clears the program list. You can also do this with the "cleartemp" app among other things.
nice and simple, thanks chinnybob
MemMaid
MemMaid 2.0 can do this.
Start MemMaid. Go to Tweaks -> System Tweaks.
Scroll to the bottom, and select "Clear Programs History on reset"
I always install MemMaid 2.0 as my first application after a hard reset, and then "Optimize for Extreme Speed". That really makes a difference! (More than optimizing with SKTools)
Hey when i try to run the exe it says its not a valid application....
Does this work for smartphones too? I don't have a reg entry called "taskswitch"?!
This will clear the recent list and perform the soft reset...
#include <windows.h>
#include <Pm.h>
#include <Winreg.h>
void wmain()
{
//This will ask you if you want to perform the soft reset then it will clear the recent programs list and reset
if(MessageBox(NULL,L"Soft Reset?",L"Reset?",MB_YESNO) == IDYES)
{
RegDeleteKey(HKEY_CURRENT_USER,L"Software\\Microsoft\\Shell\\TaskSwitch");
SetSystemPowerState(NULL,POWER_STATE_RESET,POWER_FORCE);
}
}
I'm still looking for a way to clear the recent programs list without doing a soft reset??????????????
mrgino said:
this doesnt seem to work anymore on WM6...can someone possibly update the program?
Click to expand...
Click to collapse
Forget that exe, use #9 method, won't take you more than a minute.
Just like another program called Clear Temp ...

FolioTNTmod 0.4 - Issues and bugs

This thread should be used for bugreporting and troubleshooting.
FolioTNTmod 0.4 ONLY.
Please make sure to post a detailed description of the issue, under what curcumstances it occures, and which processes are running.
Use the search function to make sure your issue hasn't already been solved before you post.
I've found a way to access Accounts Sync and Keyboard installation.
first, Accounts Sync :
- you must install LauncherPro even if you do not use it.
- On the desktop, add a new shortcut, select "Activities".
- Under "Account Settings and Sync" select "com.android.settings.ManageAccountsSettings.
Well, now you have a shortcut on the desktop to access the sync settings.
Keyboard installation :
After installing your alternative keyboard, copy the APK from /data/app/ to /system/app/
I create a simple script (in Gscript) that mount the file system as read/write , copy the APK, and enable the "SmartKeyboardPro" keyboard (after reboot).
code :
Code:
su
mount -o remount,rw /dev/block/mmcblk0p1 /system
cp /data/app/net.cdeguet.smartkeyboardpro-1.apk /system/app/
**optional**
reboot
**optional**
I was playing with Angry birds and after a reboot the application was corrupted in some way, the icon dissapeared and I had to reinstall, but the configuration was saved.
In anycase I used Angry Birds backup to backup it and after Andexplorer to copy the backup from the internal SD to the external one, to my surprise, the internal one was not present on Andexplorer (but I was able to go trought /mnt/sdcard).
Now I can see it again but there are a lot of files DiskCacheIndexxxxx.tmp, any clues?
julio77 said:
Keyboard installation :
After installing your alternative keyboard, copy the APK from /data/app/ to /system/app/
I create a simple script (in Gscript) that mount the file system as read/write , copy the APK, and enable the "SmartKeyboardPro" keyboard (after reboot).
Click to expand...
Click to collapse
Yeah, thank you for this tweak
Orientation has some problems..
getWindowManager().getDefaultDisplay().getRotation()
should return 0, when Orientation is setted to Landscape...
but it returns Surface.ROTATION_90.
(I'm using 0.4a version)
Davide
This is intended behaviour. It fixes the sensor issues for many applications, as developers didn't prepare their apps for devices with natural orientation set to landscape.
Is this causing any problems for you?
Thank you for your reply.
I'm developing an android game that uses accelerometer to evaluate gravity force's vector. I would like to write portable code (to work on both phones and tablets), so the right code to evaluate gravity (ignoring other forces) should be:
screenRotation = getWindowManager().getDefaultDisplay().getRotation();
[...]
float x;
float y;
float z;
if (screenRotation == Surface.ROTATION_0) // Default portrait
{
x = event.values[0];
y = event.values[1];
} else if (screenRotation == Surface.ROTATION_90) // Default landscape
{
x = -event.values[1];
y = event.values[0];
} else if (screenRotation == Surface.ROTATION_180)
{
x = -event.values[0];
y = -event.values[1];
} else// (screenRotation == Surface.ROTATION_270)
{
x = event.values[1];
y = -event.values[0];
}
z = event.values[2];
gravity.x = -x;
gravity.y = -y;
gravity.z = -z;
This should be the right way to ensure portability.. (it's similar to the Nvidia 'Android Accelerometer Whitepaper''s way),
but it's not working with this patch on Folio (y results in reverse, and rotation sensibility is weird)..
So, to ensure compatibility to games coded only for portrait-native oriented (and, in the same time, ensure correctness to the right written codes), it is not enough to return Surface.ROTATION_90 on landscape orientation, but it should emulate it reversing the values returned by onSensorChanged(SensorEvent event).
In other words,
(EMULATED)event.values[0] = (ORIGINAL)event.values[1]
(EMULATED)event.values[1] = -(ORIGINAL)event.values[0]
The patch should do that. Could you verify that on FolioMod? Maybe something got broken when this was ported to tnt.
Also the Nvidia whitepaper states the following for rotating the values:
90°
x = -v[1]
y = -v[0]
180°
x = -v[0]
y = v[1]
270°
x = v[1]
y = v[0]
Also, please check if you are using the newer API for listning to events (the one that uses SensorEventListener) The legacy Api handles rotations by itself, so you should not handle this in your code.
Yes, I'm using SensorEventListener.
weeds2000 said:
Also the Nvidia whitepaper states the following for rotating the values:
90°
x = -v[1]
y = -v[0]
180°
x = -v[0]
y = v[1]
270°
x = v[1]
y = v[0]
Click to expand...
Click to collapse
This is the canonicalToScreen transform for rotating values,
for screen coordinates, increasing y is down (so I'm using world transform).
Sure that the returned value are (for every rotation angle) these:
(EMULATED)event.values[0] = (ORIGINAL)event.values[1]
(EMULATED)event.values[1] = -(ORIGINAL)event.values[0]
?
To understand if it's a my mistake, I've downloaded a free app from the market, JumpyBall 3D Lite, and I noticed that also in this game tilt behaviour is reversed in one direction (could someone test it on the FolioMod?)..
I've checked the code, and yes in the last version for the fix the accelerometer values are rotated in the correct way:
Code:
switch ( sensor.getType() ) {
// ...
case Sensor.TYPE_ACCELEROMETER: {
if ( legacy == false ) {
valuesOut[0] = valuesIn[1];
valuesOut[1] = -valuesIn[0];
}
break;
}
}
However there was an issue with the first release of the fix, as my portrait testgame was using legacy API, and therefore values were somewhat broken.
Maybe only the first version of the patch is in TNT?
By the way, the code that was modified for the fix has been posted in the kernel and tweaks thread. You should be able to verify that TNT has the correct version of the fix or be able to create a patch for TNT. (Do not try to flash the update, it will most certainly break your framework.jar)
Edit:
JumpyBall 3D is working as expected on FolioMod, therefore i think TNT only has the first revision of the patch included.
Ok, thank you!!
Problems
Thanks for a great ROM...
I have a few problems.. Hope someone can help:
Some applications like NFS:Shift and Grooveshark can't access the internet..
Contacts gives a FC..
I can't seem to sync contacts and calendar from my exchange sync.. I can choose to do so, by entering the sync & accounts through pro launcher, but I can't enable sync, so only email works..
I think that was it for now...
Hope someone can help
***Update***
I got contact and calendar sync to work by installing the contacts application from FolioMod and the Calendar app from The TnT Lite mod from Viewsonic...

[Q] Need help on Aroma Installer.

Hi guys.
I need some help on Aroma Installer and how to configure it.
I know up to how to add the Aroma Installer, and choose it's theme.
But, I want to learn a bit more about how to add options.
e.g Select Launcher
Select Music Player
Select Theme.
etc.
How can options be added to the Aroma Installer?
Lots of reading to be done here....
http://forum.xda-developers.com/showthread.php?p=28706056
Sent from my GT-I9300 using xda app-developers app
Download the AROMA installer 2.56 from the thread and have a look through the files. All the files will be in the META-INF folder. The ones you want are all the way into the /aroma/ folder.
You want aroma-config and updater-script. If you don't know EDIFY... then you need to go and read up on EDIFY first. The two files are heavily annotated so it's quite easy to follow. You can/should also download a ROM that uses it and read through how they've implemented it. Darkside Agent who cooks CodecROM said I could freely look through his and see how he's done things. You could look at his, and I will extend the same and let you look through mine
This may be a good place to start also:
http://alpha-techs.co.uk/files/roms/ultima/Mods/Mega_Wipe_AROMA.zip
Compare it to the default installer with the examples (Aroma-installer-2.56.zip) or use it as a base and modify it to your liking. I don't mind.
Looking at my Mega_Wipe script, in aroma-config you see this:
Code:
selectbox(
"Mega, Super and Simple Data Wipe",
"Which method would you like to use?",
"@alert",
"clear.prop",
"Make your selection", "", 2, #-- Group 1. key = "selected.1"
"Mega Wipe", "Wipe EVERYTHING (System, Data, Preload and internal storage)", 0, #-- selected.1 = 1
"Wipe Data", "Wipe System Data, Dalvik Cache and Cache", 0, #-- selected.1 = 2
"Simple Wipe", "Wipe Cache and Dalvik Cache", 1 #-- selected.1 = 3
);
To add another choice you simply add something else like this ^ replacing everything as you see fit.
I suggest editing in notepad++ and setting the language to shell.
PM me if you need help and I'll try.
Download this zip and have a look in 2 files:
Aroma-config and
Updater-script
This is the configuration I use for my ROM.
Look at both the files side-by-side. Basically what happens here is you ask the user to choose an option, that option number 1,2,3,4 etc is stored in the cache in file.prop..
This value is then used to flash the respective files using IF-Then statement..
If you don't get to understand anything ping me..
I tried to put a selection in launcher. But it says bad in cwm.
What's wrong in this aroma-config file:
Code:
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom...\nPlease Wait...</#>",
"icons/install"
);
masterex567 said:
I tried to put a selection in launcher. But it says bad in cwm.
What's wrong in this aroma-config file:
Code:
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom...\nPlease Wait...</#>",
"icons/install"
);
Click to expand...
Click to collapse
Don't put a "," after the 0 in the last line...
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
zoot1 said:
Don't put a "," after the 0 in the last line...
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
Click to expand...
Click to collapse
Okk.
I did that and now the package doesn't show errors in CWM.
The aroma works fine.
Is it ok, if there is no launcher in the \system\app but just in the Apps\launchers folder?
After "Installing Launcher"
it gives an error saying:
file_getprop: failed to stat
"/tmp/aroma/launcher.prop": No such file or directory..
Why is that problem occuring?
Plus the rom no longer boots.
Reboots automatically into recovery.
Logcat says:
- exec '/system/bin/sh' failed: Permission denied (13) -
Anyone?
It's okay to not have a launcher included in the rom.. However if the launcher flash fails.. Your system will show a black screen after booting..
Don't know what is causing the other problems.. Somehow the launcher.prop file is not getting created..
Send me the meta folder I will have a look and try to find out he problem.. Also the error log
sent from here, there, somewhere!!
zoot1 said:
It's okay to not have a launcher included in the rom.. However if the launcher flash fails.. Your system will show a black screen after booting..
Don't know what is causing the other problems.. Somehow the launcher.prop file is not getting created..
Send me the meta folder I will have a look and try to find out he problem.. Also the error log
sent from here, there, somewhere!!
Click to expand...
Click to collapse
I have sent a link of the meta-inf to your pm.
Thanks
masterex567 said:
I have sent a link of the meta-inf to your pm.
Thanks
Click to expand...
Click to collapse
Things which noticed at first glance are:
1.in
Code:
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
The launcher.prop command is in the location of the icon file
try adding
Code:
"@icon",
above launcher.prop command
2. the comma "," is still there after the last zero (0)
3. Try adding the restart command in the end
modify these lines to suit your needs and add in the end
Code:
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
zoot1 said:
Things which noticed at first glance are:
1.in
Code:
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
The launcher.prop command is in the location of the icon file
try adding
Code:
"@icon",
above launcher.prop command
2. the comma "," is still there after the last zero (0)
3. Try adding the restart command in the end
modify these lines to suit your needs and add in the end
Code:
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
Click to expand...
Click to collapse
I remove the comma, but leave the quotes? (" ") ??
masterex567 said:
I remove the comma, but leave the quotes? (" ") ??
Click to expand...
Click to collapse
no no..quotes were just to highlight the comma..it will be
0 #-- selected.1 = 2
zoot1 said:
no no..quotes were just to highlight the comma..it will be
0 #-- selected.1 = 2
Click to expand...
Click to collapse
Ok.
here's the whole aroma config:
Code:
##
#
# AROMA Installer - based on the Mod-installer by KamikaZeeFu
# (c) 2011 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
theme("ics");
calibrate("0.9263","21","0.9944","1","yes");
viewbox(
"<#999>Welcome</#>",
"\n\n\n\n\n"+
" <#999>This is the Installation Procedure to Flash</#>\n"+
" <#999>rom</#>\n\n"+
"\n\n\n"+
"<#999>Press Next to continue the installation...</#>",
"icons/info"
);
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"@icon",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom..\nPlease Wait...</#>",
"icons/install"
);
);
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"this rom "</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0 #-- selected.1 = 2 );
That comma is still there..use the code from above..
zoot1 said:
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0 #-- selected.1 = 2 );
That comma is still there..use the code from above..
Click to expand...
Click to collapse
Ok. Hit the Thanks button once again.
I'll test soon, and post the results.
Thanks again.
Okk.
I tried it.
And
It says:
Code:
SYNTAX ERROR!!! aroma-config on line 52 col 2.
E:Error in /sdcard/rom.zip
(Status 1)
The log shows:
Code:
aroma/s: Starting Release
aroma/s: Font released
aroma/s: Input Released
aroma/s: Archive released
aroma/s: Closing Freetype
aroma/s: Graph Released
aroma/s: Cleanup Temporary
aroma/s: Check for Reboot
aroma/s: Closing Recovery Pipe
E: Error in /sdcard/rom.zip
This is what is at line 59 of the aroma config:
Code:
ini_set("text_next", "Finish");
masterex567 said:
Okk.
I tried it.
And
It says:
Code:
SYNTAX ERROR!!! aroma-config on line 52 col 2.
E:Error in /sdcard/rom.zip
(Status 1)
The log shows:
Code:
aroma/s: Starting Release
aroma/s: Font released
aroma/s: Input Released
aroma/s: Archive released
aroma/s: Closing Freetype
aroma/s: Graph Released
aroma/s: Cleanup Temporary
aroma/s: Check for Reboot
aroma/s: Closing Recovery Pipe
E: Error in /sdcard/rom.zip
This is what is at line 59 of the aroma config:
Code:
ini_set("text_next", "Finish");
Click to expand...
Click to collapse
there is an extra
Code:
);
before
Code:
ini_set("text_next", "Finish");
remove it and let me know how it goes.
zoot1 said:
there is an extra
Code:
);
before
Code:
ini_set("text_next", "Finish");
remove it and let me know how it goes.
Click to expand...
Click to collapse
I removed it.
Problem still persists.
This is what is above line 59:
Code:
install(
"Installing",
"<#999>Now flashing Droid ACE v2.1...\nPlease Wait...</#>",
"icons/install"
);
ini_set("text_next", "Finish");
checkviewbox(

Aroma installer 2.56

Please help me,
SYNTAX ERROR!!! aroma-config on line 8 col 1
aroma-config here:
pastebin.com/amQuVCWj
Click to expand...
Click to collapse
Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2
please help me
Harbir said:
Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2
Click to expand...
Click to collapse
Thanks & other problem :
Here in last line error ? why ?
################################INSTALL#################################
if prop("ch.prop","selected.1")== "1"
then
install(
"Walkman Xperia™ Installation",
getvar("rom_name") + "\n" +
"Please wait while installation completes" +
"",
"icons/install"
);
checkviewbox(
#-- Title
"Installation Completed",
#-- Text
"<#selectbg_g><b>Congratulations...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n",
#-- Icon
"@welcome",
#-- Checkbox Text
"Reboot your device now.",
#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",
#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);
endif;
###
#
# Check if reboot checkbox was checked
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2
Harbir said:
What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
(status 0) - line 257 col 7 :
257 : endif;
MicQo said:
(status 0) - line 257 col 7 :
257 : endif;
Click to expand...
Click to collapse
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2
please help me
Harbir said:
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
Without endif Error in 277 col 17
with endif error in 280 line 7
sorry wrong post

Can you help with installer aroma?

I modified the installer aroma to include some optional installation apps, I edited the files "aroma-config" and "updater-script" but when you start the installation appears:
SYNTAX ERROR! aroma-config on line 380 col 2
(status 1)
Installation aborted
look in aroma-config on line 380 but only shows this:
PHP:
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
); (line 380)
##
#
# Next Screen is Installation UI, So change the next button text to "Install Now"
#
could someone help me?
thanks
I remember in android themes or general there is a thread for aroma installer q and a. U can ask there to get best help
Sent from my Xperia Neo V using Tapatalk 2
PHP:
###################################################################################################################
#
# STEP 8 - CUSTOMIZE YOUR INSTALLATION
#
checkbox(
#-- Title
"Customize",
#-- Sub Title
"Choose items what you desire as utilites",
#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@personalize",
#-- Will be saved in /tmp/aroma/customize.prop
"customize.prop",
#------------------------------------------------[ Checkbox Without Group ]----------------------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-------------------------------------------------------------------------------------+---------------#
"App", "", 2, #-- Group 1. key = "item.1.x"
"Advanced Task Killer Pro","Advanced Task Killer Pro", 0, #-- item.1.3
"Download Music Info","Xperia Download Music info app works on both BL", 0, #-- item.1.4
"Sony's Facebook Integration","Facebook Integration for Xperia devices", 0, #-- item.1.5
"Stock Keyboard GB","Gingerbread keyboard stock", 0, #-- item.1.10
"Gallery Google","Gallery Google more Camera HOLO", 0 #-- item.1.7
SYNTAX ERROr...373 col 17 "Root Explorer","Explorer rooted system file manager", 0, #-- item.1.1
"Titanium backup","This app is used to backup user apps and system apps", 0, #-- item.1.2
"Link2SD","Their phone to move applications to the SD card.", 0, #-- item.1.9
"Boost My Xperia","Tiny yet Powerfull Tool", 0, #-- item.1.6
"Seeder","LAG Reduction", 0, #-- item.1.8
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
##
#
# Next Screen is Installation UI, So change the next button text to "Install Now"
#
ini_set("text_next", "Install");

Categories

Resources