yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] franzyroy:
I've always the version 2.50... because I've an issue with the 'Automatic Reboot' function in the version 2.56 (My phone: Samsung Galaxy S 1). It doesn't work, I've got a error message.

The touchscreen is too sensitive on the SGS1 (GTI9000) with Aroma 2.5.6.

In more, I've not succesful to integrate 'Aroma File Manager' inside, finally yes but it doesn't work completely, principaly the terminal emulator. It's possible to integrate directly Aroma File Manager inside?

############################################# OTHER TOPIC ######################################## OTHER TOPIC ##############################

Otherwise, in this part of script 'aroma-config', anyone can say me...

###################################################################################################################
#
# STEP 11 - FINISH MESSAGE, Add Checkbox to Reboot or No. Save in "reboot_it" variable
#
# You can use return value or "reboot_it" variable to retrive checkbox value
# Example:
# if (checkviewbox(....)=="1" then
# ... checked ...
# endif;
#
checkviewbox(
#-- Title
"Installation Completed",

#-- Text
"<#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",

#-- 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"
);

###
#
# Check if reboot checkbox was checked
if
getvar("reboot_it")=="1"
then
#
# reboot("onfinish"); - Reboot if anything finished
# reboot("now"); - Reboot Directly
# reboot("disable"); - If you set reboot("onfinish") before, use this command to revert it.
#
reboot("onfinish");
endif;

#---- FINISH

.. what is this?

#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"

I ask that, because, before to start the installation, I've made a backup of 'prop' files in my sdcard. Only, if I choose 'Automatic Reboot', these files keep their old values. And it's only in this case.

I wonder if this couldn't be the reason

Edit

:

Moreover, it is even worse than not keep the values​​, it deletes new files created during the configuration of Aroma and restore those before (it recreates them). All this to the output of Aroma ... I checked with Aroma File Manger 'during and after release. I can because, I've Aroma File Manager in the zip of my rom and also with my Recovery.

Edit 2

:

It's really weird, if you want more details... Say me!
[Android Software/Hacking General [Developers Only]] OMJ:
thx for your continued support! I'll post this 1 more time....

I've been stuck @ aroma 2.50 for some time now, this is on a HTC Evo 4G LTE. When I try to update to 2.56 the touchscreen does not work at all. Vol up/dn & home buttons work though.

I would just stay @ 2.50 but aroma freezes frequently when using the touchscreen. Rarely when using the buttons only. I was hoping an update to 2.56 would resolve the freezing.

There is also a aroma color issue when using TWRPs latest recovery.....per TWRP dev eyeballer, aroma needs to be updated for HTCs color formats...
[Android Software/Hacking General [Developers Only]] vashta:
Hi sir.. I'm xperia arc user.

I'm newbie tryn to use the aroma for the first time.

I have some issue with 2.56 regarding touchscreen. It's touch randomly.. But in 2.50, i'm not having that issue.
[Android Software/Hacking General [Developers Only]] Harbir:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Try to put celebration code in aroma ....

Sent from my ? Sensation
[Android Software/Hacking General [Developers Only]] franzyroy:
I'm interested, the celebration code, what is it? phone model? And how add it to Aroma?

Like that?

calibrate("1.8700","32","1.2100","24");

this one is for SGS1... I ask that... because, I find the tactile is too sensitive with Aroma 2.56 on my SGS1, then it works fine with the version 2.50. Except, it seems the calibration is automatic with the version 2.56. Therefore, I didn't know though it was possible to set that.
[Android Software/Hacking General [Developers Only]] Harbir:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Put this in aroma.confi

calibtool("");

And go to aroma installer (recovery)

Press menu and hit celebrate tool it will celebrate according to ur phone ...;)

Sent from my ? Sensation
[Android Software/Hacking General [Developers Only]] franzyroy:
Great, I didn't even need to do that!

Thanks! ;)
[Android Software/Hacking General [Developers Only]] Harbir:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Glad I helped;)

Sent from my ? Sensation
[Android Software/Hacking General [Developers Only]] franzyroy:
Another question... Anyone knows where I can find the last 'Aroma File Manager' that I could integrate with 'Aroma Installer'? I've tried to make by myself, it works but not completely, the terminal emulator doesn't work.

Edit

:

I know now! ;) ...I found the solution here!

Edit 2

:

It's good, I've successful, it works really fine.... Aroma installer 2.5.6 with Aroma File Manager 1.8.0 inside.

Edit 3

:

How I proceeded!

Already, like amarullz has said:

To call 'Aroma File Manager' in aroma-config:

- Add these 3 lines where you want (or rather need) in aroma-config

restotmp("aromafm.cfg","aromafm.cfg");
resexec("aromafm.sh");
resexec("aromafm","1","0",prop("aromafm.prop","ziplocation"));

After, my solution:

- Add these 3 files of "Aromafm.rar" (below) in '/META-INF/com/google/android/aroma/' in the of zip of "Aroma Installer"

- Add the 'assets' folder of "assets.rar" (below) at the root of zip of "Aroma Installer"

Explication for the 3 'aromafm' files

:

- aromafm: it's the 'update-binary' of "Aroma File Manager" zip

- aromafm.cfg: it's the created file by 'Aroma File Manager' (name of zip.cfg) when you make the settings to set your choices of font, theme, style, etc...

- aromafm.sh: it's the lines of script gave by amarullz in a previous post, these below.

#!/sbin/sh
# Save Zip Location
echo "ziplocation=${UPDATE_PACKAGE}" > /tmp/aroma/aromafm.prop

# Copy Configuration file
cp /tmp/aroma/aromafm.cfg `echo "${UPDATE_PACKAGE}.cfg"`

That's all... Enjoy!!! ;)

Edit 4

:

The final build, below (last file)!!! ;)
[Android Software/Hacking General [Developers Only]] franzyroy:
Hi,

I would like to have the same script (below) to find a file from 'updater-script'

if exec("/sbin/busybox","test","-d","/sdcard/dir1")=="1" then
exec("/sbin/busybox","mkdir","-p","/sdcard/dir1");
endif;

Can you help me?

is that the d of -d is dir? If yes, for file, is it f? Like that!

if exec("/sbin/busybox","test","-f","/data/app/file.apk")=="1" then
package_extract_file("data/app/file.apk", "/data/app/file.apk");
endif;
[Android Software/Hacking General [Developers Only]] CosmicDan:
Google is your friend.

http://unixhelp.ed.ac.uk/CGI/man-cgi?test
[Android Software/Hacking General [Developers Only]] franzyroy:
Another question (I'm heavy, I know ;)):

That! It's for test if the directory is here:

if exec("/sbin/busybox","test","-d","/sdcard/dir1")=="1" then

But though I want to test that it's not here, Is it like that?

if exec("/sbin/busybox","test","-d","/sdcard/dir1")=="0" then

Or...

if exec("/sbin/busybox","test","-d","/sdcard/dir1")!="1" then
[Android Software/Hacking General [Developers Only]] bgcngm:
That condition will be true (= 1) if directory exists. If It doesn't, condition is false (= 0). This means that both options are valid.
[Android Software/Hacking General [Developers Only]] franzyroy:
I looked for to know if it exists a method to check that a app is present via 'updater-script'.

I found how to do, except that I met an issue, like it is possible that the file has another name following an update, I tried like that,

if
(run_program("/sbin/busybox","test","-f","/data/app/com.estrongs.android.pop*.apk")=="0")
then
ui_print("Estrong Files Explorer already installed");

But it didn't see the file with this method.

Therefore, I found another solution, but I would have preferred more simple!!! :(

if
(run_program("/sbin/busybox","test","-f","/data/app/com.estrongs.android.pop-1.apk")=="0") || (run_program("/sbin/busybox","test","-f","/data/app/com.estrongs.android.pop-2.apk")=="0")
then

Do you know a way more easy? And how?

Thanks!
[Android Software/Hacking General [Developers Only]] CosmicDan:
Use com.estrongs.android.pop*.apk for the filename to test. You really should learn more about basic shell concepts, these questions are off topic. Read this entire article before asking any more questions please - Explanation of UNIX Concepts (Ignore the first point - IFS - it's not relevant to Android's UNIX)
[Android Software/Hacking General [Developers Only]] franzyroy:
Excuse if I disturb with my questions! ;)

Only, I've tried like that: com.estrongs.android.pop*.apk but it doesn't work, it's why I ask you.
[Android Software/Hacking General [Developers Only]] Patrics83:
Sv: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

FAQ!!! :thumbup::thumbup::D

This is AROMA development thread and all questions about scripts and how Aroma-config works should be posted in the faq. Link to the thread can be found in the first post.

You cannot use wildcards in updater-script.

Make a sh script or use Aroma-config to check if the app exists or not and then create an variable. When in updater-script check if the variable is true or false.

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] franzyroy:
Sorry!!! :o

Finally, you've answered to my question... Yes, I know for the sh script but, I looked for something more easy. This code below works in the 'updater-script', it will suffice!

if
(run_program("/sbin/busybox","test","-f","/data/app/com.estrongs.android.pop-1.apk")=="0") || (run_program("/sbin/busybox","test","-f","/data/app/com.estrongs.android.pop-2.apk")=="0")
then
ui_print("Estrong Files Explorer already installed");

again sorry for the inconvenience! I also know for the FAQ but I've rarely some answers in this thread.
[Android Software/Hacking General [Developers Only]] johnhany97:
guys, I want to add AROMA for my Nexus 4 ROM but it doesn't launch the aroma and goes directly to updater_script ... What should I do ?
[Android Software/Hacking General [Developers Only]] crazymister:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Read the FAQ?
[Android Software/Hacking General [Developers Only]] CosmicDan:
If it already works and you're happy with it, why did you ask the question in the first place?

Since you can't use wildcards, the solid way would be to do what was said - use a script in aroma to check it then set a variable/property if already exists. If it were me personally, I would run the script before the menu generation, and if exists then replace it with a disabled selection with subtext "already installed" so it can't be selected. From what I know, that is the whole reason Amarullz has the "disabled" option for menu entries - so they can be based on script output.

The correct way for writing an installer is to gather ALL data before the installation process begins, which means all the "current-status logic" should be in the Aroma script. You should realize that in scripting and programming, "the easiest way" is usually never "the correct way".

But yeah, that's better suited to the Script Help thread.
[Android Software/Hacking General [Developers Only]] franzyroy:
I looked for a simpler method. I wondered as well as the wildcards didn't work.

But I agree with you that everything should be already established in the aroma-config.
[Android Software/Hacking General [Developers Only]] MattBooth:
Freezes on SGS3 GT-i9300 over here and occasional reboot to recovery when running the installer script.

Other than that, it's great!
[Android Software/Hacking General [Developers Only]] RagzDog:
problem : SYNTAX ERROR !!! aroma config on line 320 col 2 E:error in ..... ecc....

(status 1)

installation aborted

the part in red is that where there's the problem ... what i wrong ??? thanks :good:
[Android Software/Hacking General [Developers Only]] Harbir:
remove this in red

"Perseus Kernel","Good kernel performance/battery",0,

and make it like this

"Perseus Kernel","Good kernel performance/battery",0

done
[Android Software/Hacking General [Developers Only]] RagzDog:
i solved that problem but i've an other:crying:

the problem is always in red code
[Android Software/Hacking General [Developers Only]] Harbir:
lol man

its the sane problem with same solution

remove

"Sense 4 Weather and Clock","Choose if you like to install Sense 4 Weather and Clock Widget",	1,
[Android Software/Hacking General [Developers Only]] RagzDog:
ahahah :laugh: i'm a boy , not a man ! :laugh:

thanks for the pazience , i solved;)
[Android Software/Hacking General [Developers Only]] Harbir:
i am also boy mate;)

glade i helped
[Android Software/Hacking General [Developers Only]] RagzDog:
i'm sorry i've an other problem :
[Android Software/Hacking General [Developers Only]] Harbir:
what does the error say

edit remove

"--Recovery--",
[Android Software/Hacking General [Developers Only]] RagzDog:
not working ... i leave you my aroma config ... i've any of special :)

the error is on line 405 col 12 ..... if you found other error say me ! :cowboy:
[Android Software/Hacking General [Developers Only]] Snuzzo:
Try this:

selectbox(
"Recovery",
"Choose the Recovery do you want: ",
"@alert",
"recovery.prop",

"Philz Touch v4.00-b4 (Recommended)","Choose if you like to install Philz Touch v4.00-b4 recovery",	0,
"CWM Touch 6.0.27","Choose if you like to install ClockWorkMod Touch 6.0.27 recovery",	0,
"TWRP","Choose if you want recovery by teamwin", 0,
"None","Choose if you don't like to install any recovery", 1
);
[Android Software/Hacking General [Developers Only]] Harbir:
this will work :good:
[Android Software/Hacking General [Developers Only]] RagzDog:
thanks !! now i haven't no more sintx error :silly:

but aroma start but lock it and appear : FUNCTION ERROR !! aroma config : checkbox() expects 4 args + 3 args per itemps : got 23
[Android Software/Hacking General [Developers Only]] Harbir:
try this

checkbox(
"Other apps-Otras apps",
"Choose the apps do you want to install: ",
"@apps",
"bloatware.prop",

"--Other apps-Otras apps--", "", 2,
"Samsung Allshare","Used to share your files with your device",	1,
"Samsung Polaris Viewer","Used to open your documents and files",	1,
"Google Maps and Street","Choose if you like to install Google Maps",	1,
"Nexus 4 Clock","Choose if you like to install Nexus 4 Clock Widget",	1,
"Sense 4 Weather and Clock","Choose if you like to install Sense 4 Weather and Clock Widget",	1

);

i removed 1 extra (1)
[Android Software/Hacking General [Developers Only]] RagzDog:
i solved all problem ....

but when i finish to select all items appaer me the page with the installation progress, but the installer staus is : 6 and lthe rom isn't installed ... i leave you setup logs
[Android Software/Hacking General [Developers Only]] RagzDog:
this is my updater script ... where is the error :
[Android Software/Hacking General [Developers Only]] franzyroy:
I don't think that the issue comes of this part of your script. You must to have other lines in your script, no?
[Android Software/Hacking General [Developers Only]] Jhowlett:
Hi !!!

I have a question : Aroma installer seems always used to install or modding a

custom

ROM but is it working for modding a

stock

one (rooted of course) plz?

Thx :D
[Android Software/Hacking General [Developers Only]] franzyroy:
Normally yes if it is rooted!
[Android Software/Hacking General [Developers Only]] Jhowlett:
Thx when I will have my i9305 in the next months I will test ;)

Tapatalked with my precious P3110
[Samsung Galaxy Nexus] psone:
Is there anyway to jump to the end of the page or top of the page in the built in browser? Viewing some really long webpages that have "next" at the very end. Would love to discover some browser shortcuts.
[Samsung Galaxy Nexus] jd1001:
I don't know of any shortcuts for the stock browser but Maxthon browser lets you use gestures which should do what you are looking for. Hope that helps.
[Samsung Galaxy Nexus] mmrb:
Is there a way of adding a signature at the bottom of a email sent from the SGN using GMail. Have set it up in GMail settings on PC and if a email is sent from the PC it adds it, but if sent from the SGN there is none, not even a "Sent from my SGN".

Can a signature be added automatically directly on the phone some how.

Edit. Have found the phone sig setting on the phone, so I take it, it can not be done through the gmail on the PC ???
[Samsung Galaxy Nexus] jd1001:
Gmail settings, pick your account and add a signature. I have it on my work account and it is fine. Hope that helps.
[Samsung Galaxy Nexus] mmrb:
jd, have added it on my account, and a sig is added when a email is sent from the pc, but not if sent from the SGN.

Seems you have to add it seperatly in the settings on the PC and SGN
[Samsung Galaxy Nexus] jd1001:
Go into the Gmail app on your phone and add it there. It won't take the sig you have on your Gmail account on your pc. You have to add it seperately on the app itself on the phone.
[Samsung Galaxy Nexus] mmrb:
Did edit last post when I figured this.

Cheers for your time on replying.
[Samsung Galaxy Nexus] jd1001:
No probs, glad it's working. Hit the thanks button if I helped, sorry but just trying to get my count up!
[Galaxy Ace S5830 General] LewisGauss:
Here I've a question.

Which is the latest Asia firmware?

I've did a Google search and I found that Singtel already released the first Asia 2.3.6.
[Galaxy Ace S5830 General] Curius7:
Go to Sammobile.com.

You'll find all the latest firmware.
[Galaxy Ace S5830 General] devilsking:
DXKT5

♬Sent from Motorola Rokr E8♬
[Galaxy Ace S5830 General] CallMeVentus:
Sent from a Linux phone ? Seriously ?

Herpderp Adreno + Tegra.
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
I can't get my internal or external sd card to work anymore it keeps saying "usb damaged you may need to reformat it." Anyone have any idea of a way I could back things up before i have to format?
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
Should probably mentioned that CWM still recognizes it and that it happened after I flashed the v5 preview of checkrom in the I9100 section (hellraised of course) and that the issue still appears even after going to my Android backup, ICScrewD
[AT&T Samsung Galaxy S II SGH-I777] Terrold:
Try hooking your external to a computer and copy all the files to another folder. Format it. Then put them back on.
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
Problem is that the external is fine but not the internal, I think I have a solution but I have to wait until I get home
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
If it's accessible from CWM, adb pull
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
i can adb pull the entire sd card right?
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
This happened to me but worse...

For a week or so I had a feeling my ext card was dying (backed up weekly), yesterday it stopped working. Had to reformat then use some recovery programs on Window to get the files back most of which I got back.

I thought that was the reason for my media scanning loop, but once I removed the card it still did that the rest of the day, I ended up reformatting the internal portion as well, but I moved everything to my PC before doing so.

Was able to get rid of all the junk from leftover apps/roms as well, feels smoother. :)

Hopefully your able to retrieve everything, good luck!!
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
just need to pull the android folder on the sd card, too much stuff to do manually with droid explorer
[AT&T Samsung Galaxy S II SGH-I777] LiLChris06:
Never used Droid Explorer, I just pulled it directly using windows since it was just the USB. Going to grab it when I get home and see what Droid Explorer can do for me. :)

Thanks!
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
it can't do folders but it basically is ADB with a GUI, ended up saying screw it and wasted the Android folder and everything is back on
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
I had the opposite problem once. My computer would recognize storage, but the phone wouldn't. I ran a disk check and it fixed the problem.
[AT&T Samsung Galaxy S II SGH-I777] axis01:
I'm having a different issue when I plug in the USB and hit the drop down to "select to copy files to/from computer". When the computer recognizes the two SD drives, I get a popup that says there's a possible problem with my internal SD card and wants to scan it for fixes. Not sure if it's safe to let windows mess with my internal card. I can opt out of that popup and everything works fine. The question is, is it safe to let Windows scan and possible fix it?
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
Just let windows scan it it always has worked fine for me
[AT&T Samsung Galaxy S II SGH-I777] axis01:
Thanks. Scanned, didn't find a problem and the popup went away. :D
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
USB Storage is damaged too, no CWM, no connect to PC

Hi,

Just rooted my phone 2 days back and today just got the USB Storage damaged in notification bar.

I cannot accessed to both internal and external in ES File Explorer and also not able to connect to my PC. I do not have CWM too.

I did have a copy of Titanium Backup for all users and system apps in my PC, is formatting the ONLY way? I am afraid that after formatting, the system files would be gone and I would not even able to restore from Titanium Backup and Samsung Service Center would charge me since I had void the warranty by rooting the phone.

Please help! :-(
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
Go into recovery and mount the internal and use adb or Droid explorer to get the necessary files out
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
I am using Quickboot to go into recovery mode, Tried the Reboot system now but still same issue. which one to select? Pardon me as I am new to rooting.

Reboot system now

apply update from sdcard

wipe data/factory reset

wipe cache partition
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
You don't have cwm installed it seems
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
No CWM installed.............you sounds like I am done for :-(...............what's next for me? Really hope I do not need to send to Samsung, sure charged me for warranty void.
[AT&T Samsung Galaxy S II SGH-I777] Hunt3r.j2:
My advice is to just flash a kernel with Odin, getting into Download mode with a jig, and then trying to pull the files off with CWM.
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
Where can I get the jig for SGS2 in Singapore?
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
What if I execute the wipe data/factory reset? Would I bricked my phone else what will happened?
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
You wouldn't brick it I don't think but you wouldn't solve the problem either, go root it and get cwm and then come back
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
eBay.

.....
[AT&T Samsung Galaxy S II SGH-I777] mesenger77:
Ok, managed to go into download mode and reflash the insecure kernel again using Odin(without the jig). However, after it rebooted, keep having the unable to start services messages (logsprovider, googlemap blah ...asking me to FC. Managed to power off (while the messages keeps popping out) and phone now back to initial problem statei.e. USB storage is damaged. Should I reflash back the secure kernel (under this condition) so that I could remove the yellow triangle and send to service center to reset the phone?

---------- Post added at 11:22 AM ---------- Previous post was at 11:18 AM ----------

Hi Nick281051,

Already rooted before and that's when the USB storage message appeared. See my reply to hunt3r.j2.

Please advice if I should proceed with reflash the secure kernel using Odin (under the current condition).
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
Not sure what to tell you except yes flash a kernel with cwm in it so you can then get yourself out of this mess