yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi FB

One more question if you don't mind.

I've noticed that when flashing a kernel including different version of CWM, it causes a reboot. It also happened to me while flashing SMS KJ6 RC2 kernel (probably due to the logos changed, it thinks it's a different recovery version).

If it is a known issue, how can we implement a kernel flash in the aroma installer ?

Once we flash the new kernel we are cut off the installation and UI.
[Samsung Galaxy S (4G Model)] FBis251:
Have you tried a kernel flash from aroma yet? Download and flash ICBINB v2 and you'll get a kernel flash during the aroma installer then. Personally I haven't gotten a reboot in aroma, but I have using the zip file I posted for SMS KJ6 RC2
[Samsung Galaxy S (4G Model)] thomas.raines:
@Fbis251 FYI, I am going to use this with Lightning Zap v5. Thanks in advance...
[Samsung Galaxy S (4G Model)] FBis251:
Sounds good, feel free to ask about aroma if you need anything.
[Samsung Galaxy S (4G Model)] FBis251:
March 11, 2012

Updated AROMA binary to 2.0a4

Changed busybox version back to busybox v1.19.0.git

Now using aroma's TrueType font support

-- Installer uses the rom's default font (DroidSans)

Updated ROM information screen

Reboot prompt moved to the end of the installation

Updated Agreement to add formatting

Added efs-backup script which makes a backup of the efs partition

-- Saved under /sdcard/aroma-backup

Now has UTF-8 and RTL support!
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi FB

Thanks for the update.

Do you happen to know if when using non English chars we will need to create an image of them to be put inside the aroma?

Sent from me
[Samsung Galaxy S (4G Model)] FBis251:
Nope, you'll just need to change your file to UTF-8 instead of using ANSI, etc. I can help you enable multi-language.

For example, try flashing this (it won't actually install anything, it's the AROMA demo file for 2.00a4)

http://www.amarullz.com/_downloads/nightly/dahlia/aroma-nightly-2.00-A4.zip

You can see that he's got an arabic demo in there.
[Samsung Galaxy S (4G Model)] hechoen:
Now that's some good thinking FB. Thanks for working on this.
[Samsung Galaxy S (4G Model)] anoymonos:
Now we need raver to do the same with his installer when he releases new update. Basically all new roms should include this I see it did not take long to rewrite.
[Samsung Galaxy S (4G Model)] hechoen:
Pretty sure Raver and everyone else is using FB's installer so it should be just fine.
[Samsung Galaxy S (4G Model)] RaverX3X:
ya its in vb and rc 3 miui so....
[Samsung Galaxy S (4G Model)] anoymonos:
I don't mean the aroma installer I'm taking about the script that makes a efs backup
[Samsung Galaxy S (4G Model)] thomas.raines:
@FB, Hey man, I hate to put this in the thread, but I am having some problems with the aroma-config script on a new project I started. I looked for you on irc. So, if you could, PM me so we can chat about what I am doing wrong...lol... That is, if you don't mind giving a hand?lol

BTW I'm using an older version (March 3, 2012 before busybox update)
[Samsung Galaxy S (4G Model)] FBis251:
I'd rather not provide support for older versions since a good amount of fixes and changes go into the newer versions.

If you want I'm on IRC right now. I can't send PMs since they're disabled for me.
[Samsung Galaxy S (4G Model)] thomas.raines:
@FBis251, I updated to the latest version (2.0) and rewrote the aroma-config and updater-script, included the necessary files for my project, compressed with 7z as a .zip with ultra conpression etc, tried to flash and I am still getting a Syntax error at the end of the aroma-config:

SYNTAX ERROR!!! aroma-config on line 260 col1
E: Error in /sdcard/project.zip
(status 1)

UPDATE

I got the error fixed. I forgot to remove an argument when removing the customize option. But the odd thing, the my error was not where it said the sntax error was...
[Samsung Galaxy S (4G Model)] FBis251:
That tends to happen with functions that use commas as separators. It'll say that the error is at the end of your file even though it might've happened at the beginning. Glad you got if fixed though.
[Samsung Galaxy S (4G Model)] thomas.raines:
So i have learned...lol

It's there a way to display a verbose output of a function/script in the viewbox during the install process? That way you can see what it is doing.

When i got my project to run properly, i hit the save log button, but it just freezes and i have to use adb reboot. But this only happens when there are no errors.

The phone doesn't reboot after the install process is completed (obviously when i select yes reboot when prompted).

Any insight?

Sent from my BAMF SGH-T959V!
[Samsung Galaxy S (4G Model)] FBis251:
Nope, no way to display script output. The original android recovery doesn't support that, so neither does aroma. You can probably extract the script from aroma itself (not the installer) and run resexec('myscript.sh') and capture the output that way before the install gets going. You can check the official aroma thread since I can't remember the commands off the top of my head.

Also you can download the aroma 2.0a4 zip file and flash it so you know what I mean, then you can look through the aroma-config file to see how to do it.

Yeah the save log bug happens to me too. I need to ask the aroma dev about it.

Hmm, that's odd, pressing yes to reboot has always worked for me so far. I'll need to see how to set up logging. How are you testing the save to reboot? A ROM or just flashing this zip file?
[Samsung Galaxy S (4G Model)] thomas.raines:
I am using the aroma installer to flash (run) an filesystem check and defrag. It works quite nicely, other than the reboot and save log thing. As I was going thru my scripts, I found I may have copied the reboot scripts from the older installer when I update to the latest version. Although, it doesn't give me any errors when I flash my .zip. I posted it in the general section here:

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

I put it in the general section because it is still under development and test mode...lol

I wanted to display an output so users could see what was going on. But it really isn't necessary, and since it isn't supported, and the only way to perform the filesystem check is in recovery with those partitions being checked unmounted, it isn't a possibility...lol... However, if we could get the save log function to work properly, or tee a log via the script, users could see what took place, right?
[Samsung Galaxy S (4G Model)] FBis251:
Look here thomas, it's the official aroma-config from 2.0a4

https://github.com/amarullz/AROMA-I...META-INF/com/google/android/aroma-config#L374

That's exactly what you need, since you want to capture the script/program output and show it to the user.

EDIT

Also these lines if you want to extract your script to a temporary directory before you execute it instead of doing it directly from the zip file:

https://github.com/amarullz/AROMA-I...META-INF/com/google/android/aroma-config#L436
[Samsung Galaxy S (4G Model)] FBis251:
April 15, 2012

Updated to aroma-2.00-120414-A7

Now checking for phone version using a kernel check. Should prevent Froyo users from installing a GB ROM

Fixed a bug that would always do a free space check even when the user didn't try to do a /data backup

Now doing a /data restore before the kernel flash. Some ROMs caused the phone to reboot once the kernel flashed which means the /data restore never happened.
[Samsung Galaxy S (4G Model)] m0bstr:
i had valhalla black and flashed it and now my phone wont boot anymore past the acid team logo..... does anyone know why??
[Samsung Galaxy S (4G Model)] FBis251:
May 2, 2012

Changed to using installer.prop file for controlling all the variables

-- Chefs no longer need to edit the main AROMA script

-- AROMA checks if the installer.prop file exists to prevent users who flash the zip from messing up their phones

Added an installation option confirmation screen to make sure users know what options were selected
[Samsung Galaxy S (4G Model)] FBis251:
Also make sure you read the OP again as I have updated the instructions!
[Samsung Galaxy S (4G Model)] Beastmode:
Thanks fb I'm downloading it right now and reading OP for installation changes :)
[Samsung Galaxy S (4G Model)] FBis251:
The only thing you're missing is modifying the writetmpfile function, you can see how it works. This is the function that writes out options.prop which is shared by the aroma-config and the updater-script. The updater-script will ONLY read this file, and it looks like that's the only thing that you're missing.

If you scroll toward the bottom of aroma-config

##
# Now we write out all our install options
#
writetmpfile(
"options.prop",
"option_install_type=" + getvar("option_install_type") + "\n" +
"option_do_data_backup=" + getvar("option_do_data_backup") + "\n" +
"option_install_modem=" + getvar("option_install_modem") + "\n" +
"option_install_kernel=" + getvar("option_install_kernel") + "\n" +
"\n"
);

A good way to debug this is to go ahead and get all the way through the installer (after the installation is done) and use adb shell to browse the /tmp/aroma directory. There you will see the prop files that AROMA set up during the installation and see which prop files contain what options, it's the best way to debug to make sure that the script did do what you want.

If you're on a linux computer it's easier if you set up git and just do this

git clone git://github.com/teamacid/SGS4G-Installer.git

That'll copy down the latest copy of the sgs4g-installer, I have included a script named update.sh which will automatically zip up all the files needed to test out AROMA and adb push them to your phone so you can do all the debugging while staying in CWM, no need to reboot or mount your sd card to test out the changes. It'll name the file /sdcard/update.zip to make it even easier to flash test. It's how I debug my scripts when making changes.
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi FB

I am left with one problem - installer reboots while flashing the modem.

I don't know if it's related to redband_ui (which i took from your VB FB edition) or because modem was copied over another one in tmp\updates\

aroma-config

if

file_getprop("/tmp/aroma/options.prop","option_install_modem") == "0"

then

package_extract_dir("KI3_modem", "/tmp/updates");

endif;

updater-script

ui_print("@Flashing modem");

run_program("/tmp/updates/redbend_ua", "restore", "/tmp/updates/modem.bin", "/dev/block/bml12");

set_progress(0.7);

It did flash the modem, but I had other tasks afterwards...

Also flashing another modem by zip afterwards left me with connected but non working wifi.

Had to nandroid restore.

I can put all modems and kernels renamed in the updates folder and run only the relevant one, I'm not sure ot will solve it.

Sorry for putting this here, but I do think the solution is relevant to all implementors.

Thanks.
[Samsung Galaxy S (4G Model)] xator91:
It can work on i9100?
[Samsung Galaxy S (4G Model)] FBis251:
Is your directory structure KI3_modem/modem.bin?

Hmm, AROMA has only been restarting with certain roms, I know erik's scom did that a while back, but I'm not sure if it does it anymore. I say you get the redbend_ui from github and try flashing using that. I'm going to begin looking into using a flash_image binary instead of redbend_ui

Quite probably but you'd need to port it to work with your phone.
[Samsung Galaxy S (4G Model)] FBis251:
(yes droidmyst, I'm working on porting this to other devices I just needed to feel a little more inspired and that usually happens in the middle of the night :D)

May 23, 2012

Updated scripts for easier porting

-- aroma-config and updater-script now uses information from installer.prop

-- porting to new devices will now be a lot easier because of this

Updated efs-backup script

--Backups now only take up ~560kB of space, compared to 6.3mB before!

Added colors to the installation confirmation screen
[Samsung Galaxy S (4G Model)] GFX.myst.:
:D can't wait. there are no roms for the gtab 10.1 wifi with aroma. personally i think they would benefit from it. thanks fb. ;)

sent from within pure darkness
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi FB

I found the source of reboot during modem flashing.

in your VB FB edition BN-3 ROM updater-script you set permissions to redbend_ua :

set_perm(0, 0, 755, "/tmp/updates/redbend_ua");

where it should be :

set_perm(0, 0, 0755, "/tmp/updates/redbend_ua");

Fixing that fixes this issue.

I found it out while comparing to SCOM v4.

Thanks Erikmm :)
[Samsung Galaxy S (4G Model)] FBis251:
Awesome find! Thank you, I'll post an update right away.
[Samsung Galaxy S (4G Model)] FBis251:
May 25, 2012

Fixed bug that wouldn't mount partitions

-- Added support for mounting /efs

Added /efs partition info to installer.default.prop

Fixed a bug that would cause redbend_ua to restart the phone while flashing

-- (Thanks to itzik2sh from xda-developers for the fix)

Updated efs-backup

Now only checks whether /efs is empty

-- Will be compatible with devices that don't use an nv_data.bin
[Samsung Galaxy S (4G Model)] sconsylman:
Will there be any OneClick or Heimdall install builds for those of us with no power button function?

This is why I ask: http://xdaforums.com/showthread.php?p=27242840#post27242840
[Samsung Galaxy S (4G Model)] FBis251:
No, there isn't any feasible way of porting this to these platforms. Have you tried your softkeys? I know one of them does selection in addition to the power button since yours is broken. It might be the search soft button, but I'm not sure, try all 4 of them. ;)
[Samsung Galaxy S (4G Model)] sconsylman:
You're right. Unfortunately, search and menu are non functional, and reprogramming never sticks in cwm. itzik2sh mentioned the specific file that the aromas use for key mapping in my Q post,

(http://xdaforums.com/showthread.php?p=27272766&posted=1#post27272766)

and cwm should have this too so I'm looking now. Sorry to gum up this release thread with my problems, and if you guys have any other thoughts please post them in the thread linked above.

Can't wait to install this sucker!
[Samsung Galaxy S (4G Model)] FBis251:
For all you devs who didn't notice, I pushed the ICS AROMA to Github which means you can grab it from the link in the OP. I'm not gonna be on much in the next few days but as I said, the latest version is in the zip file linked in the OP.

Just a few notes, this is only guaranteed to work on ROMs based on AOKP and AOKP itself. I haven't tested it with CM9/AOSP based ROMs yet, but you guys are a smart bunch and can probably get them working with your ports.

Remember that all I want from you using this tool is to give me credit for it and to link back to the OP here. ;)

Enjoy!
[Samsung Galaxy S (4G Model)] FBis251:
Octoboer 13, 2012

Remove touchscreen calibration fix /data extract bug

-- With aroma 2.55+ touchscreen calibration is no longer necessary

-- /data packages should get extracted properly after a /data restore

Updated to latest AROMA binary (2.56)

-- Much more stable binary in ICS recovery!

---- The newest binary hasn't crashed on me yet during testing unlike the older version (2.50) that was included in the last version of the SGS4G Installer.

Here is the AROMA changelog since the last version included in the SGS4G Installer
[Samsung Galaxy S (4G Model)] itzik2sh:
Lost 4 days because I had a stupid error in code and couldn't find it -

A selectbox cannot have a group like in a checkbox. If you accidentally put a group before items on a selectbox, you will never get the desired result and will completely freak out.
[Samsung Infuse 4G] kangshoo:
I`m running zeus 5.2，everything is good.thank you dman!

but i notice some questions：

If you choose the governor ondemond,there is olny 50fps in game or neocore test,it is a little bit lag.But high cpu and IO score in quadrant(3300)

then you change the governor to perfrmence or conservative or interactiveX

you`ll get 56fps in game and neocore,the game runs quite good,but cpu and io score is lower in quadrant ( 2100 point)

I wonder what`s wrong with this problem?It someting wrong thunderbolt or kernel ?

thank you for your help.
[Samsung Infuse 4G] Dani897:
neocore and quadrant are a joke. besides that kernel is no longer supported as all the old kernel devs left and there hasnt been any new source code to build from.

file system scores on quadrant are laughable, infact dont pay any attention to quadrant if you can help it, miui and a tweaks script can get you near 5000, that doesnt mean you increased capabilities by 5 times over stock.

if you want a file system benchmark then i dont know what to tell you, i dont know of any good ones. if you want a cpu benchmark then use chainfire bench. if you want a gpu bechmark use one that can actually bog down the gpu. neocore isnt enough of a challenge for anything with a modern gpu, thats for old snapdragon phones (nexus 1, incredible, evo....) or low level phone. the kernel limits the fps to about 56 fps, the reason the different governors show lower is that the thresholds and logic is different so it doesnt step you up as aggresively. being 6 fps off the cap doesnt show a deficientcy nessessarily, it might just be some lag in the step up or a high threshold for step up. or there may be a slight issue with that governor on that kernel.
[Samsung Infuse 4G] kangshoo:
Dani,thank you for your answer

I`m totally agree what you said that neocore and quadrant are a joke ^0^

I dont care the score but because i`m a noob,so I was curious with some something strange.

you could feel the different between 50fps with 56fps in some games, such as Dungeon hunter2 or bcakstab HD,but not in doodle jump ：）

maybe those kernel is no longer supported,and problems will not be solved,so I only hope that some new kernels come out soon .LoL
[Atrix 4G General] Thermanshs:
hello, I have a problem using multiple languages on my atrix's keyboard. After I installed the ROM from this thread http://xdaforums.com/showthread.php?t=1169409&highlight=keyboard+language I follow:

Settings->Language & Keyboard Settings and then I can only select locale to set a default keyboard language for language settings.

-----------------------------------------------------

Language Settings

-----------------------------------------------------

Select Locale

User dictionary

-----------------------------------------------------

Keyboard Settings

-----------------------------------------------------

Input method: Swype / multi touch

Swype: swype settings

Multi touch keyboard: multi touch keyboard settings

------------------------------------------------------

External keyboard settings:

------------------------------------------------------

Keyboard Language: *****VOID BOX*****

Does external keyboard have to do with that? Another version I used had an option to multiple-select input languages for the keyboard and swiping the "space" button changed between them, which is what I am for. Is there any method to install / tweak something?

thanks in advance
[Android Q&A, Help & Troubleshooting] iCaal:
Where can I find a default HTC Salsa rom? Preferably installable through CWM... I bricked my phone and installed a really dodgy custom rom and would like the default english Salsa rom...

Thanks, iCaal
[G Tablet Q&A, Help & Troubleshooting] jjkoolj8282:
I love froyo. It's the only android version that is fully supported. A new rom came out called frankentab. I love everything about it except the icons used for home, back, and menu. The icons officially used are honeycomb icons, but I personally think they do not look nice with it...

So I would like to try to change the icons from Honeycomb to ICS myself.

Does anyone know how one may do this?

Any help appreciated :)

*EDIT*

Due to my unresponsive upper right corner touchscreen,

I changed back to my favorite rom, Beasty's Froyo Ultimate i think its called, and I still would like to try to change those wifi and battery icons I assume its the same framework situation.
[G Tablet Q&A, Help & Troubleshooting] ilostchild:
From what i could think its in framework could start looking in there in the rom zip
[G Tablet Q&A, Help & Troubleshooting] jjkoolj8282:
thanks I started looking in there but haven't made any real progress...

I actually kind of abandoned this rom because my touchscreen is unsensitive in the top right corner so the home button was useless. I changed back to my favorite beasty's rom and now I want to change those icons and I assume its the same directions for that too.
[G Tablet Q&A, Help & Troubleshooting] DaggerDave:
You could try the UOT kitchen (edit roms online) or NinjaMorph (android market). I haven't tried either on the gtablet yet so I can't guarantee anything but I have used NinjaMorph on my DroidX and it worked. The UOT kitchen looks really neat just haven't had the chance to try it yet.

By the way I am on Beastly too great Rom but plain Froyo looking! Let me know how it goes I may do this too when I have some time.
[G Tablet Q&A, Help & Troubleshooting] jjkoolj8282:
Thanks I just made a flashable theme from UOT kitchen, and I am about to put it on, will update once it's done...
[Samsung Galaxy Player 4.0, 5.0] WT Ho:
Since some users are reporting about reduced wifi reception after updating to GB roms, I decided to extract wifi related files from a Froyo rom and GB rom and see what differences are there.

There are a number of wifi related files live under /system/etc/wifi and I have extracted them from a Froyo Rom (zske2) and GB Rom (xxkpf) and put them in this zip file don't flash this!

If you unzip it, you will find 2 sets of wifi settings and firmware. What I notice is that the binary firmwares are definitely different and there are various changes in the settings as well.

The first thing that caught my eye is the pa0maxpwr parameter in nvram_mfg.txt . From the name, it seems to mean maximum power. You can see that the value was 78 in Froyo. In GB, the engineers were trying values 74, commented it out and then settled for 72.

I tried setting it back to 78, seems to get a bit better (around 10db increase) if I connect from another room.

For those who are interested in this, please report back whether certain changes in these setting files will give you better result. Not necessary the one I mentioned. However, please use some objective measure e.g. Wifi Analyzer on the Market.

To edit these files, you can copy them out using root file explorer, edit them and put it back. I think you need a reboot to activate the change.
[Samsung Galaxy Player 4.0, 5.0] tcat007:
Be nice to compare compass/orientation files to see why GB compass doesn't seem to work at all... Maybe the wifi signal is interfering, and they didn't turn it down low enough :D
[Samsung Galaxy Player 4.0, 5.0] njguyc:
Great you starting to make some progress. How is the signal compare to your laptop at same position with this little tweak? Looking forward to your further explore!
[Samsung Galaxy Player 4.0, 5.0] iJimaniac:
Hmm, tried editing on a U.S version YP-G1, makes no noticeable difference in connection strength (using wifi analyser). I'm about 35 ft away from the router.
[Samsung Galaxy Player 4.0, 5.0] marcusmarcus:
I just tried this on my yp-g70 International version. It seems to have actually lowered my reception a few db. I set it back to 72 and rebooted and it brought it up a couple db. I'm connecting to wifi about a block away so that may have something to do with the few db change. I don't think it really made a difference though.
[Samsung Galaxy Player 4.0, 5.0] WT Ho:
My experience is similar to previous 2 posts. Playing with the maxpwr setting doesn't seem to improve much.

In fact, I even apply the entire set of Froyo firmware and settings to a GB rom. It doesn't seem to get any better.

I think to actually track down wifi reception problem. We need more information from those who experience the problem. e.g. ROM version and objective testing of the different ROM version at the same spot. May be even router brand & version as well.