yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
RaverX3X Is proud to bring you. Aroma Touch based Cwm installer. Now Working still under Development for the SGS II Tmobile.

FEATURES

Full touch screen support

Allows for a typical install, using default settings

Allows the user to customize the ROM installation

Allows the chef to customize the user experience

Support for different themes/skins

Installs Busybox

Installs kernel if you desire

Installs modem if you desire

No need to check mounts, the installer properly mounts the partitions for you.

No need to format partitions, the installer can wipe them for you.

Chainlog

Updated touchscreen calibration values

Added font detection to the font chooser

Updated AROMA binary to 2.0a4

Forced installation of busybox

Cleaned up a lot of the aroma-config code for easier reading

Fixed No Text On screen

INSTALLATION

Download and extract the installer zip file

Edit aroma/rom.prop to set your ROM's information

Edit aroma-config and updater-script to your liking

Extract your current ROM's zip

Delete your ROM's META-INF folder

Put the new CWM Rom Installer's etc, META-INF, system, and tools folders in your ROM's root

Make sure your ROM's file structure matches that of Blackedition, unless you know what you're doing

Create a new zip file

Flash away and test!

For Developers

Github

Installer-Git

Latest Installer

Installer-zip

Thanks

FB251 - Helped with port

TO DO

Add Support for more mount's

mount

then df

or just use

df -h

paste bin or send me the output in a message thanks :P

IF you use this in your firmwares please give credit to me by linking back to this thread and or thanking me in your comments and of course original credit goes to the team that brought Aroma :P link is in top of thread.

Screen-Shots
[T-Mobile Samsung Galaxy S II SGH-T989] shinigenEddy:
Seems awesome.. can't wait to give it a try sometime this week :D Thanks raver!
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
np if anyone can help me polish the installer would be greatly appreated :P I got it this far ever even touching the sgs2 lol :P
[T-Mobile Samsung Galaxy S II SGH-T989] Babyj303:
Anything i can help with will do just lemme know!!! :D

Sent from My Juggernauts .2¢ :cool:
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
working on fixing the updater script to correcly output install values and fixing the bug where no matter what you choose lol it doesnt do what it YOU tell it to do :P

update screw it im just going to rewrite the entire script from scratch :P
[T-Mobile Samsung Galaxy S II SGH-T989] xspeed9190:
RaverX3X welcome to the SGS2 forums my friend. Great news to see this installed, just started using it on my sensation and cant wait to see it here.
[T-Mobile Samsung Galaxy S II SGH-T989] starskyrob:
working on a script too. ill pm you a pastebin when im done testing it.
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
fixed and updated enjoy
[T-Mobile Samsung Galaxy S II SGH-T989] mojorisin7178:
Well.... you guys wanted a real dev looks like we got one finally No offence to the others that have made roms and what not We all apriciate anyone who puts out a rom mod tool or whatever just wanted to clear that up
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
thanks mate ya took us awhile lol but theres still more work to be done on it but for now it should work better and as intended.
[T-Mobile Samsung Galaxy S II SGH-T989] mojorisin7178:
hey where you at with getting your sgs2?
[T-Mobile Samsung Galaxy S II SGH-T989] FBis251:
:D. That's one mighty fine lookin' installer.
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
i pmed u to not clutter up the thread lol
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
thanks man without ur help it would have taken me a few more hours to get it done :P
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
do we flash this thru cwm?
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
it would be used for a rom install so its aimed at devs n chef's
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
can you link a basic "how to" chef guide. i used to dsixda's kitchen but thats it.
[T-Mobile Samsung Galaxy S II SGH-T989] FBis251:
Hey guys. We still need touchscreen calibration values for the SGS2.

If you want to help us out:

download the installer.zip file

reboot to recovery

flash the zip file

After the splash screen, hit the menu button on your phone and select "Calibrating tools" with your volume keys and select it with power.

When "alternative touch methods" comes up, select "no"

Follow the instructions on touching the white dots. You may need to hold your finger over them for a few seconds until it registers the touch, if not keep trying by lifting your finger and pressing for a few seconds again.

At the end of the calibration, it'll give you some text with the calibration values.

Type the text it gave you here so we can get the proper values updated and you can have a full touchscreen experience.

Note, that after this you will need to quit the installer. If you continue to go through with the installation your phone will be formatted. This will only happen if you don't quit the installer! You can quit it by hitting the menu key and selecting "quit installer"
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
i tried flashing this thru cwm, but it didnt work properly, there was what seemed like a new recovery but there was no text so i couldnt tell what i was doing.
[T-Mobile Samsung Galaxy S II SGH-T989] FBis251:
What exactly happened?

Oh yes! The no text bug. I forgot about that. I'm gonna fix that right now. Download the installer.zip file in 5 minutes after I push the changes to github. You'll need to use the same link that's in the OP.

---------- Post added at 09:18 PM ---------- Previous post was at 08:45 PM ----------

Okay the new file has been posted. You can grab it from the same link in the OP. It has font detection enabled so that it will use the font included by default if it doesn't find a ROM to use the font from
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
This installer is sick. Text works fine now.

calibrate("0.9026","24","0.9538","16");
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
thanks we will add the calibrate into it so u wont have to recalibrate ever again :P
[T-Mobile Samsung Galaxy S II SGH-T989] FBis251:
Thanks, the values have been included :). You can grab the new installer from the OP
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
Updated Op to reflect all the changes that we made.
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
can you update op to include a step by step to bake this into a rom?
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
already re wrote it :P
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
i followed the instructions in the op but the rom doesnt install. it gets to the part where is asks if i want to install kernel, modem and yes/no to backup but then after i press next, i get a blank dialogue box and the "finish" button is immediately available to push without any text running thru the dialogue box
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
any suggestions to the above?
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
do custom install and de check install modem see if that helps :P
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
tried, still no luck. same symptom
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
Deselect kernel and modem install and see if it flashes trying to pin point the error im going though the script atm...
[T-Mobile Samsung Galaxy S II SGH-T989] cbinvb:
on it

ten char
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
thanks let me know also im working on adding modem flashing to the installer while trying to fix the installer bugs at the same time lol. this will be so much easier come Monday :P.
[T-Mobile Samsung Galaxy S II SGH-T989] FBis251:
Do any of you guys know how to use IRC? We need some testers, if you wanna help us out and don't know how to use IRC to chat with us follow these instructions:

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

Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] strikermdd:
I tried to make a install to my ROM for Genesis 8230 (one AllWinner A10 Tablet), but the Aroma don't find the touchscreen driver, how i can make the Aroma compatible with my tablet?
[T-Mobile Samsung Galaxy S II SGH-T989] arcblade851:
I used your aroma installer kernel on TWRP 2.2 and I was completely fine.
[T-Mobile Samsung Galaxy S II SGH-T989] RaverX3X:
thanks man. ill update the github for it.
[T-Mobile Samsung Galaxy S II SGH-T989] mataflakitas:
. :confused:
[Galaxy S II Q&A, Help & Troubleshooting] Gadgetguy2005:
Hello all,

Please be patient with me. I have some experience with the Galaxy tab and various custom firmwares on it - but I have not flashed new firmware yet on my brand new S2.

Now, since the official EU ICS is out, I would like to flash my S2.

Several people have done it, but the instructions are somewhat cryptic.

Could please someone post step by step instructions about how to do this?

Including: what files to use, what modem to use and also how to get this rooted?

Thank you in advance for the kindness of someone who has done this!
[Galaxy S II Q&A, Help & Troubleshooting] Ska11eR:
What's ROM you want have on your phone, stock or custom?
[Galaxy S II Q&A, Help & Troubleshooting] lordemil:
you read this thread? http://xdaforums.com/showthread.php?t=1544487

it was pretty easy
[Galaxy S II Q&A, Help & Troubleshooting] Gadgetguy2005:
Thank you. I have done these steps, and it looks good.

But some widgets look a bit off (for example the widget where i can switch wifi etc. on/off). Is that how it should be?
[HTC Sensation] maxrub:
Hello,

My xe version is 1.73.707.4 (Asia), I wanted to know if there is a way to switch to the EU version and update it to ics (Official rom)?
[HTC Sensation] dislplin01:
Read the how to.guide in development section you can no problem the only problem you might run into is language limitations with ROM not sure if that's a issue
[Windows Phone 7 General] the0ne:
What do you guys think of this Camera Concept for Windows Phone ? click for more screens via 1800PocketPC
[Windows Phone 7 General] 1milenia:
is out yet on xap
[Windows Phone 7 General] szymciosek:
Nice,

when it's ready ?
[Windows Phone 7 General] dkp1977:
Did anybody care to read the article or is at least capable of understanding the meaning of "concept"? These are just pictures. The designer is currently looking for developers for this concept.
[Windows Phone 7 General] Tsury:
I don't like it - I think it doesn't fit into WP7.

I was at a conference at Microsoft's HQ where they talked about Windows 8 and Metro.

They took an old fashioned RSS reader and slowly 'converted' it to Metro, as they explain every step. From what I understand, In WP7:

You display on the main area only whats needed - otherwise there's the [...] area for settings and configurations (called the App Bar).

Element design is kept to a minimum - jagged edges are too much, also, the borders around the icons are too much.

The circular elements don't fit well into a squared environment.
[Windows Phone 7 General] equisgroup:
It's really nice designed. Shame I can't help, need to learn new technologies I am at .net aspx jquery ajax
[Windows Phone 7 General] Strike_Eagle:
This will depend on the OEM pretty much and what the Radio version / Firmware allow the camera to do.
[Windows Phone 7 General] Dinchy87:
for me its to much on the screen, if the first picture should represent it in use??? the screws are to much and to big. i know it should be like on an DSLR but its to much, it has nothing with metro to do.
[Windows Phone 7 General] GraphicsBerry:
I see RETRO here :D

BTW I could buy as appears in the Market :)
[Galaxy S II Q&A, Help & Troubleshooting] highboy:
Hello guys

Today i did an OTA update to ICS.

I Live in Denmark and phone company is Telenor.

The phone downloaded the update, installed it and would not start again.

Was able to install XXLPQ using Odin, and the phone was able to boot and load normally.

I Noticed a small icon that I cant remove, so if any one have any suggestions on how to remove it, let me know.

It's in Danish, but i am sure most of you have seen it (in english) if you did the update.
[Galaxy S II Q&A, Help & Troubleshooting] Deleted member 4038153:
Whyyyyyyy more threads on this damn ROM? Did you do any searching at all?

Settings --> Applications --> All --> Software update --> Disable.
[Hardware Hacking General] bhundven:
I've been using a bus pirate (v3) to get usb uart on my Galaxy S 4G (SGH-T959V) for some time.

On a normal linux system, if I set console=ttyUSB0 and plug in a usb to serial adapter (where the kernel has the driver built-in), I will see all of the kernel messages (KERN_EMERG to whatever loglevel= is set to or KERN_WARNING/KERN_DEFAULT) up until init. Init has to have an inittab entry to redirect /dev/console to the usb serial line.

I've noticed on android, specifically with galaxy s phones, that with the usb uart you don't get all of the kernel messages.

For instance, I enabled the mtd onenand(audi) driver for my phone. I can see the kernel messages in dmesg, but not on usb uart.

I was wondering if there is something I have to do to get all kernel messages on usb uart, and then it would also be nice to get init to redirect the console to the usb uart.

Is this possible?
[Hardware Hacking General] m4xm4n:
From http://xdaforums.com/showthread.php?t=1065318 :

It references the Captivate, but it's the SBL so it should work the same on the SGS4G.

EDIT: Also try:

setenv PHONE_DEBUG_ON 1
[Hardware Hacking General] bhundven:
I realize that the sbl is a cut down u-boot. So...

setenv SWITCH_SEL 765431

setenv PHONE_DEBUG_ON 1

saveenv

...is what I use (for some reason SWITCH_SEL 2 does not work on this bootloader). But I still do not get all of the kernel messages. Sorry. I should have been more specific.

As a trivial side note, the eraseall command erases everything but the sbl/sbl2 and reservoir. So the pbl, pit, param, kernel, recovery, factoryfs, data, cache, and modem get wiped. This is handy if you are having problems porting to/from mtd from bml. ;)
[Hardware Hacking General] AdamOutler:
AOSP blocks UART with the silly FIQ debugger. Is this the possibly? I haven't played too much with UART since I switched to ICS. I also have no idea how to use the FIQ debugger.

Try internal UART.

The console is ttySAC2 not usb0

A 150kOhm resistor is used on the usb port for kernel only... this may or may not help.
[Hardware Hacking General] E:V:A:
Hey! I have been going to hell and back trying to figure out a similar problem on the SGS2, over here, but involving getting (AT) console on the modem. Any clues would be very much appreciated!

Also I don't know what the exact definitions are for the SWITCH_SEL variable. I asked about that some time ago, but I can't recall getting a useful answer. I don't these kind of variables, because they don't tell you whose actually pulling the strings... (unless you happen to know what file/device/process its connected to?)

Regarding more debug output, I believe you have a few things to check. First some of the properties and then also make sure you have enabled every damn possible debug option in the "secret" menus. [Are those available to you?] I have an entire thread about this over here.

But the first thing that come to my mind, is trying to set: debuglevel=7 in the /init.rc file. [Or do you need it at an even earlier stage?]

Also I suppose you need to enable:

ro.debuggable [0]
ro.factorytest [0]

But they are both read-only, but can probably (?) be made persistent by writing them in the /init.rc file. But I'm not sure if that is overwritten with flash data in during bootup... Alternatively, I suspect the ServiceMenu knows how to do it. [Would have been great if someone could pull that service menu apart, to find out whats happening behind the scenes. It is modem dependable though!]

Can you do this:

1) Could you post your censored output from getprop?

2) Try to enable as many "hidden menu" debug options as possible.

3) If you use adb, try:

$ adb shell stop
$ adb shell setprop log.redirect-stdio true
$ adb shell start

4) Post the output of:

# cat /proc/sys/kernel/printk
4 4 1 7

Each of these values defines a different rule for dealing with error messages.
The first value, called the console loglevel, defines the lowest priority of
messages printed to the console. (Note that, the lower the priority, the
higher the loglevel number.) The second value sets the default loglevel for
messages without an explicit loglevel attached to them. The third value sets
the lowest possible loglevel configuration for the console loglevel. The
last value sets the default value for the console loglevel.
where:
0 — Kernel emergency. The system is unusable.
1 — Kernel alert. Action must be taken immediately.
2 — Condition of the kernel is considered critical.
3 — General kernel error condition.
4 — General kernel warning condition.
5 — Kernel notice of a normal but significant condition.
6 — Kernel informational message.
7 — Kernel debug-level messages.

However, I'm not sure if its possible to write to that file...but you could try.

5) Find out what modem you have in there and try to play with the MUX setting from AT command interface (if you can get one).

I have another question for you. Is this debug console available for you when using a native/local shell your phone or only from outside (PC connected) terminal?

Could you remind us what this FIQ thing is again? I remember seeing it somewhere, but not more than that...

How do you get to it?
[Hardware Hacking General] bhundven:
After a lot of looking around, I think I need the internal uart.

Maybe I'd be willing to risk danger to send my phone to Adam again to see if he can do it.
[Hardware Hacking General] AdamOutler:
I can do it.. but it does not come out pretty.. I melt solid core wire into the back case then solder the back side to the board via very tiny wires... however, between that and UnBrickable Mod, there can be no better development device.

When viewing on UART the kernel starts, here's what you see:

<hit enter to activate fiq debugger>

I have no idea how to use it... I hit enter and it just sits there.
[Hardware Hacking General] bhundven:
I'm not really worried about the visual aesthetics of the phone. I will be switching to a different phone soon, and this phone (SGH-T959V) will be a full time dev phone.

From usb-uart, that 'hit enter to activate fiq debugger' does not respond, which makes me think I need the jtag uart.

Might also need jtag pins for bootloader development. Not sure if it is possible to just solder the wires in and cover the leads, and let them hang out behind the battery cover until I can buy a bdi3000.

I'm still reading through the kernel-sec-debug code (its in assorted spots, but it's entry point is in kernel/kernel_sec_debug.c) that controls fiq debugger in the kernel, to try to understand it more, but I haven't had time lately.

I'm going to spend a few hours today reading through this some more, and I'll update on my findings.

I've found many bugs in the kernel source drop we got for this phone from samsung, and it might also be possible that fiq debugger for our kernel is crippled. I will also look at some other s5pc110/exynos3110 source drops to verify this.

I know that the 'drivers/misc/level' driver controls the debug level for kernel-sec-debug. In our source drop there are two 'level' drivers. One in 'drivers/misc/level' and one in 'drivers/level'... kinda strange.
[Hardware Hacking General] Fire39:
Thanks... :D
[Hardware Hacking General] E:V:A:
Do you have some link to these sources? I'd like to have a look as well...
[Hardware Hacking General] bhundven:
https://github.com/teamacid/android_kernel_galaxys4gmtd
[Hardware Hacking General] E:V:A:
The "hit enter to activate fiq debugger" message come from "fiq_debugger.c". This code is found here and here, but seem to have an issue as mentioned here. In any case, also try to send a <CTRL-Break> and/or <CTRL-SysRequest>, at least twice. To summarize enormously, FIQ is one of 7 ARM processor modes. These modes are:

-------------------------------------------------------------------------------
Vector Exception Mode Description
-------------------------------------------------------------------------------
0x10/0c Abort ABT - is used when there is a failed attempt to access memory.
0x1c FIQ FIQ - Fast Interrupt Request Mode, usually used with device drivers like UARTs.
0x18 IRQ IRQ - Interrupt Request Mode is used for all other interrupts.
0x00/08 Supervisor SVC - Standard OS Kernel execution mode and the processor state after a RESET.
0x04 Undefined UND - When the processor encounters an undefined instruction, like an illegal opcode.
-- System SYS - Allows full read\write access to CPSR. It is also targeted for supervisory applications.
-- User USR - Used by normal programs and applications. Once in user mode, the CPSR cannot be written to and modes can only be changed when an exception is generated.
-------------------------------------------------------------------------------

"The difference between IRQ and FIQ is with FIQ you have to process your

stuff as quickly as possible and then get the .... out of there. An IRQ

may be interrupted by an FIQ but an IRQ cannot interrupt an FIQ. To make

FIQs faster, they have more shadow registers. FIQs cannot call SWIs. FIQs

must also disable interrupts. If it becomes necessary for an FIQ routine

to re-enable interrupts, it's too slow and should be IRQ not FIQ."

Sources:

http://www.botskool.com/user-pages/tutorials/electronics/arm-7-tutorial-part-2

http://www.heyrick.co.uk/assembler/regs.html

But the best descriptions are found here:

http://www.eetimes.com/design/embedded/4006695/How-to-use-ARM-s-data-abort-exception

http://aelmahmoudy.users.sourceforge.net/electronix/arm/chapter3.htm

http://osdevnotes.blogspot.com/2011/03/fiq-debugger-kgdb-support.html
[Motorola Droid X2] litetaker:
This is happening on CM7DX2. Never happened before, but it is very annoying and can potential cause me minor trouble in class. I will test it again to check if it is still doing it.

What a piece of turd. This phone should get an award or something for the worst piece of ****ty tech in the whole wide world. Unless there is a setting somewhere that I set incorrectly. But why would such a setting exist? It is useless and I think my phone is misbehaving here..

Any help will be greatly appreciated.
[Motorola Droid X2] kenjesse:
I use silent mode 2-3 times per week while in meetings that can last up to 3 hours and have never had this problem. And those times when I forget to turn it off it stays silent. I also don't have it set to vibrate at any time so if you have that on it may be part of the "scenario" that causes your problem. Sorry i don't have any more info to offer.

Sent via Tapatalk on my CM7'ed DX2
[Motorola Droid X2] ComputerNmyPocket:
I've had that problem for a long time. I'm on stock 2.4. Seems to go out of silen mode most often when the battery is drained to less than 70%. I have a habit now of double-checking every now and then that it's not slipped out of silent mode. It makes for some embarrassing situations when it does. It's also against company policy where I work to let your cell phone be heard during meetings.
[Motorola Droid X2] Travisdroidx2:
I have only had that issue at work a couple of times but I think it happens when I hit the volume button by mistake. I keep my volume off while at work since I am in and out of meetings all day.
[Motorola Droid X2] LordRalh3:
Im on cm7dx2, my phone is on silent /vibrate 85% of the time, ive never had this issue.

from my X2 roaming the north
[Motorola Droid X2] ComputerNmyPocket:
Hmm I'll check it. Next time it does it I'll push the volume button once up, then if this is the cause, it should be on the second volume increment.
[HTC Sensation] nick315ny:
does anyone have the stock 2.3.4 rom for the t mobile sensation. im on 4.0.3 and sense 3.6. and my phone sucks compaired to befor. thought i backed up original rom but i guess i didnt. please help.
[HTC Sensation] dislplin01:
What's wrong with your phone my phone kicks as way better than my stock Tmobile ROM with sense ics or stock aosp