yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Themes and Apps] Jasand:
thank you and apologies for goin off topic :o

to be honest i dont think we can give anymore input until we have tried the program and then add comments as it seem you are fully on top of this.

How much drain would the battery have do you think if the LEDs glow blue constantly if the bluetooth is always enabled? or other modes.

would it be possible to add a timer function i.e. on connecting to wifi the LEDs will act for a certain amount of time before being disabled.
[XPERIA X1 Themes and Apps] Angelusz:
The LEDs used aren't very powerful ones, thus shouldn't use too much power. Theoretically it's possible to "call" the LED patterns, if we can find the LED controller. I guess that's what we're looking for at the moment.
[XPERIA X1 Themes and Apps] Nippero:
Already have it installed and im trying it right now.

So far, I have one big suggestion. Change the highlight color in the menu. Its nearly impossible for me to tell what i currently have selected. Gray on darker gray isnt very visible lol.

Also, can you add an option to test the patterns?

EDIT: It definitely does work though.. Just made my phone display the rainbow pattern when I open the keyboard. Awesome. :D

EDIT2: It seems like it can only change one thing at a time. If I change multiple things, nothing happens...

Just tested this with the QWERTY Close and On functions. changed both and then restarted, nothing got changed. Changed only close and restarted, that worked.

EDIT3: Standby and QWERTY_ON doesnt seem to do anything.
[XPERIA X1 Themes and Apps] slipudatung:
Error

Usine itjes 6.5 latest build I cannot set an illumination. I get nullexception and a message to send an email with the log created in the Program Directory.

I was looking forward to my little disco too :(
[XPERIA X1 Themes and Apps] gundamboy:
yeah, multiple changes don't seem to work. I thought it wasn't working at all, but I gave it another go one by one. Nice job =D
[XPERIA X1 Themes and Apps] Kid_DC:
This would be awesome =)

+1 from me for this idea
[XPERIA X1 Themes and Apps] mobz:
Agree with the flashing-with-music stuff, if possible..
[XPERIA X1 Themes and Apps] Angelusz:
Stop asking for the music BPM support. He'll make it if he can, but it's not possible right now and it's already been asked several times now.

Downloading! Feedback inc.

EDIT:

Hmm, not much avail:

New Error Log: 7-4-09 9:07:47
NullReferenceException
bij Brins0net_Illumineria.EventEditWindow.acceptButton_Click(Object sender, EventArgs e)
bij System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bij System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bij Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)
bij System.Windows.Forms.Form.ShowDialog()
bij Brins0net_Illumineria.EventListWindow.event_List_ItemActivate(Object sender, EventArgs e)
bij System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
bij System.Windows.Forms.ListView.HandleItemActivate(Int32 iItem)
bij System.Windows.Forms.ListView.WnProc(WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bij Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
bij System.Windows.Forms.Application.Run(Form fm)
bij Brins0net_Illumineria.Program.Main()

New Error Log: 7-4-09 9:13:53
NullReferenceException
bij Brins0net_Illumineria.EventEditWindow.acceptButton_Click(Object sender, EventArgs e)
bij System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bij System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bij Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)
bij System.Windows.Forms.Form.ShowDialog()
bij Brins0net_Illumineria.EventListWindow.event_List_ItemActivate(Object sender, EventArgs e)
bij System.Windows.Forms.ListView.OnItemActivate(EventArgs e)
bij System.Windows.Forms.ListView.HandleItemActivate(Int32 iItem)
bij System.Windows.Forms.ListView.WnProc(WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bij Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
bij System.Windows.Forms.Application.Run(Form fm)
bij Brins0net_Illumineria.Program.Main()
[XPERIA X1 Themes and Apps] Nippero:
Ive noticed that I get that error when i try to assign an event to a LED sequence that was already assigned to something else by the program.

So lets say I already have OWERTY Close set to blue flash and I had Qwerty open set to red pulse. I then go in and try to swap them. I get that error when I change the second event. Order of changing doesnt matter.
[XPERIA X1 Themes and Apps] brins0:
The highlight colour is specific to the theme you currently have set. I will most likely invert the colour scheme for the next version, as i've grown tired of it already, lol...

Currently I don't know of a way to invoke a pattern to be played i've stated this in the first post.

Some of the events never seem to fire, even when they are enabled elsewhere in the registry. I had noticed this. Other than trial and error, it's hard to work out which will and which won't fire.

A NullReferenceException usually means that the registry entry it is trying to set does not exist. I'd suggest looking through the registry manually to check they do actually exist. I have not tested it with 6.5, there may be changes. Do you at least get a list of events to modify?

I hadn't noticed this error, but i've managed to reproduce it on my device, so i'll look into it later on. I think I have spotted the problem, and it seems like a simple oversight on my side, not setting a variable when the edit window is created. If you try and set the same event again, be sure to make sure you ahve tapped on the event and that it has changed in the bottom. Should be quite a simple fix, so i'll do that first.

Could you tell me what you were trying to do at the time, that log only means so much from what it'll provide.
[XPERIA X1 Themes and Apps] Soyish:
You may have some preview to play the leds before we apply them. Sorry for my bad english.
[XPERIA X1 Themes and Apps] brins0:
New Version: v2009.04.07.1

New version released

Changes:

» Fixed the NullReferenceException people were getting, was a simple fault on my behalf. I suggest you update, but the old version won't cause any damage to your device.

» Changed the colour scheme to make it easier to read.
[XPERIA X1 Themes and Apps] Redferne:
Here is my attempt to decode the LED sequence. Colors, banks and stepping of sequence are proven. Now go ahead and create something wonderful and share with us! :D

/Redferne
[XPERIA X1 Themes and Apps] norti:
Wow, thanks! This is the only option I'm missing since XperiaTweak is not working on newer roms :)
[XPERIA X1 Themes and Apps] madxtreme:
wow i tried it :D its very col :D now my LED´s are pulsing if i open my keyboard and close it :cool:

i hope you will find more Colours and options to connect with the LED patterns :D
[XPERIA X1 Themes and Apps] brins0:
I've had a close look at this, and I think you may very well be on to something there...

I've applied your theory to the charging pattern, a more complex one...

00,00, 1E,3C, 3C,00, 55,35, 6E,00, B4,00, B5,00, B6,00, B7,00, B8,00,
00,00, 1E,24, 3C,00, 55,48, 6E,00, B4,00, B5,00, B6,00, B7,00, B8,00,
00,00, 1E,00, 3C,00, 55,35, 6E,00, B4,00, B5,00, B6,00, B7,00, B8,00,
0A, 02, 02, 0D, 0D, 00, 00, 01, 01, 00,

00,00, 0C,00, 19,00, 32,00, 4B,00 ,4C,00, 4D,00, 4E,00, 4F,00, 54,00,

FC,
08

...This starts with the 0A you suggested, then has a single LED lit (the one by the USB port) for to frames, then the other 3 afterwards. however, i'm not quite sure how the colour is decided with your system, as the LEDs light up in the same fashion, so there should be similarities between frames 1-2 and 3-4. Both frames end in 00 so I think we can assume that the "00,xx" is the brightness (where xx is a hex number between FF and 00 most likely).

I'll keep looking at it and may experiment later on. We really need for someone to find a way to invoke patterns really, would make testing much simpler, as I could write a simple testing application...

Thanks very much for your input, you've given me alot to think about...
[XPERIA X1 Themes and Apps] brins0:
Eeeeeee, the rom master himself :3. Your light roms are awesome!

Consider this a donation then, lol...

Also, which parts of the XperiaTweak program don't work?
[XPERIA X1 Themes and Apps] Redferne:
My findings suggests that the color coding are set by combining the RGB leds.

As below, RR = amount of Red, GG = amount of green.

Remember that there are 3 leds per bank, 12 in total.

00,00, 1E,RR, 3C,RR, 55,RR, 6E,RR, B4,RR, B5,RR, B6,RR, B7,RR, B8,00,
00,00, 1E,GG, 3C,GG, 55,GG, 6E,GG, B4,GG, B5,GG, B6,GG, B7,GG, B8,00,
00,00, 1E,BB, 3C,BB, 55,BB, 6E,BB, B4,BB, B5,BB, B6,BB, B7,BB, B8,00,
0A, 02, 02, 0D, 0D, 00, 00, 01, 01, 00,

00,00, 0C,00, 19,00, 32,00, 4B,00 ,4C,00, 4D,00, 4E,00, 4F,00, 54,00,

FC,
08

However, I do not think it is possible to set different color pattern for each bank, same color setting applies to all banks selected in a frame. You need to change the color pattern in the next frame for the color fade effects.

I wish there was a way to test new patterns without having to perform the softreset every time :confused:

We could have figured out all the parameters within a few hours without having to softreset...
[XPERIA X1 Themes and Apps] brins0:
Having looked at the charging pattern more closely, the initial LED that lights up is actually a different colour, but the change is so small, that it looks the same, so it seems that your system fits everything...

Also, I think you were right with the timing too. If you look at the patterns below:

Charging animation:

00,00, 1E,RR, 3C,RR, 55,RR, 6E,RR, B4,RR, B5,RR, B6,RR, B7,RR, B8,00,
00,00, 1E,GG, 3C,GG, 55,GG, 6E,GG, B4,GG, B5,GG, B6,GG, B7,GG, B8,00,
00,00, 1E,BB, 3C,BB, 55,BB, 6E,BB, B4,BB, B5,BB, B6,BB, B7,BB, B8,00,
0A, 02, 02, 0D, 0D, 00, 00, 01, 01, 00,

00,00, 0C,00, 19,00, 32,00, 4B,00 ,4C,00, 4D,00, 4E,00, 4F,00, 54,00,

FC,
08

White flash:

00,00, 01,30, 02,00, 5D,00, 5E,00, 5F,00, 60,00, 61,00, 62,00, 63,00,
00,00, 01,30, 02,00, 5D,00, 5E,00, 5F,00, 60,00, 61,00, 62,00, 63,00,
00,00, 01,30, 02,00, 5D,00, 5E,00, 5F,00, 60,00, 61,00, 62,00, 63,00,
0A, 0F, 00, 00, 00, 00, 00, 00, 00, 00,

00,00, 19,00, 32,00, 4B,00, 64,00, 7D,00, 7E,00, 7F,00, 80,00, AF,00,

FC,
04

...notice how the number before the colour is alot shorter for the white flash. I've had a look through each of the patterns and the numbers are always the same down the 3 colour columns, so this would fit. I don't think it's a delay as such, I think it's a frame count, meaning an animation can last for up to FF (255) frames. On frame one turn them on, frame two, turn them off again, then do nothing.

I still can't confirm what the single row is though, I think it's safe to assume that is is indeed there to control fading.

I still don't have a clue what the very last byte is at the end of the pattern, it may be tied in with the repeat. The larger the number, the larger the delay before repeating the sequence perhaps... I'll look into it further.

I'm gonna have a look for the driver controlling the LEDs now, and see what it can tell us about talking to the lights directly, or perhaps being able to give it a sequence to play for us.
[XPERIA X1 Themes and Apps] dogans:
Thank you for putting effort into this, brins0.

I'm following the development with great interest :)
[XPERIA X1 Themes and Apps] Jasand:
wwwwhhhhoooooosssshhhhhh :confused:

ever get that feeling when something goes straight over your head and you have no clue :p

Im so glad brins0 knows what the hall all these numbers mean, im trying to follow and then

wwwwhhhhoooooosssshhhhhh !

no lost me :D

loving your work tho
[XPERIA X1 Themes and Apps] dancemacabre:
I'll try this out when i get back my phone :D Hope it will work for itje's wm6.5 rom..

Good luck on making it better! :)
[XPERIA X1 Themes and Apps] brins0:
New Version: v2009.04.09.1

New version released

Changes:

» Added the ability to view and customise patterns with a simple to use GUI.

» Patterns are now stored as individual files in the "My Documents\Illumineria_Patterns" folder, but can be placed almost anywhere on your device

» Patterns are now assigned to events with a single action without the need for a second form.

Note: There is still an unknown variable which seems related to the fading from what Redferne has calculated. Since i've put alot of hard work into this, i'd appreciate it if people would test out the editor, and post any interesting patterns they come up with.

To upload your pattern, simply upload the "*.pat" file from your device to the forum. It would be nice if you could also write a brief explanation of what it should look like so people know beforehand.

Thanks alot for your help, and patience...
[XPERIA X1 Themes and Apps] brins0:
I'm using a 6.5 rom from the kitchen, and it works fine you'll be glad to know... :)
[XPERIA X1 Themes and Apps] brins0:
New Version: v2009.04.09.1

New version released

Changes:

» Updated the LED mapping information so it's correct

» Worked out what the unknown is, so added that in and updated the GUI accordingly

Sorry for the rapid re-release folks, but I wanted to get it out so badly, that I overlooked the above...
[XPERIA X1 Themes and Apps] gundamboy:
IT's great brins0, now I can see all the choices xD.

However it's better if you post the updates within your first post,

that way everyone doesn't have to go to the last page to find out what's new!
[XPERIA X1 Themes and Apps] dancemacabre:
That's very good !! Have been quite bothered with the rom because some programs are not working well with wm6.5

Im looking forward for it !!! :D

Yeap I agree with him. Heheheheh
[XPERIA X1 Themes and Apps] on8a:
Hi,

I just noticed this thread. I was looking at this in the X-mas holliday, but really never got to the programming point. This looks very nice. :D

I haven't really digged into all the posts in the thread to see exactly whats discovered, but here is what I found out when I was investigating the patterns, hope it can help (copied from an older message):
[XPERIA X1 Themes and Apps] on8a:
I think the N5LedMgr.dll is responsible for the LED handling. Maybe by doing a DLL forwarding it´s possible to catch the events for controlling the LEDs. Here's the functions for the dll:

Though it's the low level functions and has nothing to do with the registry entries. But the dll has references to these entries as well, so I guess it is this file that's the mother of the LEDs flashing. :p
[XPERIA X1 Themes and Apps] guap:
great appz but I don't understand how to edit my patterns... what are all these numbers/indicators in edit pattern screen?
[XPERIA X1 Themes and Apps] calistob:
Great application! Been waiting for something like this for a long time. But could we have some instructions on the settings in the edit pattern screen?

Cheers :D
[XPERIA X1 Themes and Apps] Angelusz:
That, is a good find. Perhaps Brins0 can work with it.
[XPERIA X1 Themes and Apps] brins0:
I'll be taking some screenhsots later on when I find out which program I used for Gyrator, so i'll label them and write a quick guide.

If you want to see what's new, you could always check the history on the Illumineria website:

http://illumineria.brins0.net/?page=history

That's a little bit beyond my understanding really, lol. I'm still only really upto p/invoke as far as messing with dll's go, but i'm learning. Although I might not know how to work it out, someone else may find your information invaluable, so thanks!
[XPERIA X1 Themes and Apps] brins0:
As promised, I've taken some screenshots of Illumineria and annotated them to make it easier for people to work out how to use the editor. They can be found below:

Pattern Editor

Event Editor

Apologies for the nasty looking scroll bars. The ones in WM6.5 arn't too pretty. I will most likely be making some new ones for my device, that mimic the old WM6.1 ones, as they look cleaner.
[XPERIA X1 Themes and Apps] dancemacabre:
Maybe you can make a video tutorial on how to use Illumineria.. I cant figure out how to make it work... Hahaha...
[XPERIA X1 Themes and Apps] kmunz:
Hi to all bro,

I got one question. I am trying to make a custom LED blink. How do i make it if I wan it to keep on repeating the blink?

like when charging the phone
[XPERIA X1 Themes and Apps] brins0:
http://illumineria.brins0.net/?page=pattern_editor - Item 10

In the options menu there is an option which sets the loop tag to the highest value, but I don't think it will loop indefinitely. So far it seems to loop endlessly, so it may be "infinite" for a certain value. The value it is set to is the same as the charging LED animation one...
[XPERIA X1 Themes and Apps] kmunz:
hmmm.. thats weird, I have checked on the loop option but it doesn't seem to repeating.

Eg : LED when charging. I try to custom one, but it won't repeat. but if i select on one of ur prefix, it will repeat. Any idea?
[XPERIA X1 Themes and Apps] madxtreme:
hmmm....i like it to make some other illumination...but testing sucks^^ everytime making a soft reset^^

if you go to the settings you can test the SE illumination...without a soft reset^^ can you find out how they do it?^^

it would be great to test while creating a illumination :D

for example: i did a illumination with all 8 patterns...but it doesnt do all the 8 and it doesnt loops :S
[XPERIA X1 Themes and Apps] kmunz:
yup.. thats a good idea. I notice that there is a preview button now but unfortunately is it not activated.

I think u have the same situation that I am facing now (doesn't loop)
[XPERIA X1 Themes and Apps] madxtreme:
oh xD you say it xD there is a deactivated preview button^^ so he is on the way to find out how to make a preview^^
[XPERIA X1 Themes and Apps] anothadave:
would be handy if when you clicked on an event it showed the pattern already associated with it rather than going straight to replacing it. i think the early versions did this doesnt seem to do it anymore
[XPERIA X1 Themes and Apps] madxtreme:
yes in the older version it was so, that the illumination was focused which was associated with :)
[XPERIA X1 Themes and Apps] brins0:
Because of how earlier versions worked, it was quite simple to work out which pattern was currently assigned to the event. Because the patterns are now stored as individual files, it would require opening each and every .pat file to see if the pattern matched the event. It's possible to do this, but it would take a long time to process, and would ahve to be done each and every time you open an event for change.

I wanted to keep the program quite simple and quick so it made it as fast as possible to make changes, as there's nothing I hate more than a slow application...

Rest assured however, I will look into it when I get back home next week...
[XPERIA X1 Themes and Apps] madxtreme:
ah ok :)

maybe you can write it in the registry under your programm which pattern is linked to which event :) so the program doesnt have to check all the files :) or in a other file, where you can write the events and patterns which are assigned :) so it loads only one time by program start the file and got it all^^
[XPERIA X1 Themes and Apps] madxtreme:
i would like to ask how far you are now?^^

did you find anything or so?^^ or forgott the app?^^

or someone else? discovered something new?^^
[XPERIA X1 Themes and Apps] maedox:
Touch-X 6.1 ROM (CE OS 5.2.21041 (Build 21042.1.6.1))

When clicking "Loop" on an empty event, the application crashes. Log file attached.
[XPERIA X1 Themes and Apps] Dandalf:
Can't start app, error System.Drawing.Bitmap

Anyone else get this? Plz help, want to use awesome program :(
[XPERIA X1 Themes and Apps] mymio:
Every time i want to "modify pattern" e.g. "QWERTY_CLOSE" I can not click anything in this programm. theres no button i can use.. they are alls just light grey.. something like inactiv.

anyone an indea ?

sry 4 my bad englisch"
[XPERIA X1 Themes and Apps] dancemacabre:
Seriously, i need tutorial on how to make this thing works. Im clueless, i tried to play with it then soft reset but nothing happens.

Any instruction how it works/ setting..?
[XPERIA X1 Themes and Apps] brins0:
Sorry about the long delays, i've becomd kind of hooked into Second Life recently, and other things ahve been put on hold. I've still been looking through here, but I dind't see any major things that needed attending.

You need to give the registry time to be written to the memory before resetting when yu have changed events... You'll also need to make sure you ahve enabled the hidden events in the left menu on the main menu...

Thanks for pointing that out, a very simple fix to make.

I would suggest that you re-install the program, and check that you have the latest .NET CF v3.5 framework installed.

You need to tap twice on an event to open up the configuration screen. Alternatively you can press the "action" button in (the one in the middle of the directional keys) when the one you want is selected...
[XPERIA X1 Themes and Apps] camous:
Hi,

(first post on XDA).

I wanted to help brins0 for solving the System.Drawing.Bitmap error (I get the lastest version of CF 3.5 and I got this problem) by giving you the backtrace :

at System.Resources.ResourceReader.LoadObjectV2()
at System.Resources.ResourceReader.LoadObject()
at System.Resources.RuntimeResourceSet.GetObject()
at System.Resources.ResourceManager.GetObject()
at System.Resources.ResourceManager.GetObject()
at Brins0net_Illumineria.DisclaimerWindows.InitializeComponent()
at Brins0net_Illumineria.DisclaimerWindows.ctor()
at Brins0net_Illumineria.Program.Main()

Hope it will help.
[XPERIA X1 Themes and Apps] brins0:
I know what's causing the error to ocurr, but I cna't see how to fix it myself, as the problem never shows itself on my device. It's simply caused by an embedded resource in the application not being available (namely, the logo on the disclaimer screen). Reinstalling the application should fix the problem, but i'd reccomend removing it, and re-downloading it so there's no chance of it being the installer causing the issues.
[XPERIA X1 Themes and Apps] camous:
Indeed you were right, downloading again + clean reinstall worked fine.

thank
[XPERIA X1 Themes and Apps] madxtreme:
hmm....nice to hear about you^^

i got some problems(actually i´m confused) to making patterns...if i want to make a red pattern i make 255,0,0 but SE makes in their patterns 49,0,0...and the Start and Endings are Confusing me a lot more :s What SE is using in their Patterns is Confusing too...if i think i know what it means and look then in a SE pattern and then in a another pattern then i am Confused about what i was thinking it were right :S

the last pattern i did had all 8 slots filled with colors...but the first one(red) lights much more then the other ones...but i wanted to make a pattern were all main colours + cyan etc. shoud light and everyone should light short time...oh man i am confused by making patterns^^(i looked into the SE patterns how they do if they want to make everyone as same as long as the other ones...i did the same but hmmpf...only the last ones where same short^^)

the colores were:

red, blue, green, yellow, orange, cyan, orange and another one xD....of course some of them didnt work and there came mixed colors like purple+green or what i have forgott^^

öhm...and i´m sorry for my bad english :(
[XPERIA X1 Themes and Apps] :
very cool app. :)

i have 2 simple patters for opening and closing the slide.

for opening i use a green light that lights up for 2 seconds.

and for closing the slide a red light that lights up for 2 seconds.
[XPERIA X1 Themes and Apps] mobz:
Hi, is it possible to make the LED blink on normal status?

Like HTC phones have green lights that blinks every few seconds, can it be done here?

Thanks and sorry for re-asking if it is..