The Kronos Inner Workings - For the brave ones ;-)

Discussion relating to the Korg Kronos Workstation.

Moderators: Sharp, X-Trade, Pepperpotty, karmathanever

Locked
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

All my efforts so far to start telnetd in a running kronos has failed.

All the files I've tampered with (scripts, libs and binaries) are being checked by the loadoa/insmod framework.

I've also tried to start init manually but that fails also :(

Have a great trip in the US. Pay Korg a visit while you're there :P
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

... my 10 minutes break...

Don't worry too much Roblof,

I have nothing to send at the moment for two reasons (A) I have not patched these yet, and (B) I don't have the Kronos with me here to test before sending out anything.

9 days isn't long, I should be back soon, and will pick this up, I might actually complete the Telnet or SSH myself anyway since I'm getting my hands dirty in it. So, we shall see...

Out of interest, do you develop using GCC ? in case we need to re-compile something for testing?

Regards
Heider
Heider Sati
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

I'll pm you.
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

I'm not sure if my pm was ever delivered to you heidar... :?:
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

Hi Roblof,

I have not received any PM emails, however, when logged on to check my inbox, I realised that you sent me your private email address.

Given the fact that the code is very basic and simple, I think I will be patching up the code from within the executable itself without the need to re-compile it using any GCC etc. I have quickly glanced at what's going on, and patching is simple, all I need to do is to return 0x00000000 for the function "ValidateCRC", and then change the file as needed.

I will be relying on myself only for now to do the work when I return, I have to make this clear for legal purposes. Of course I will be in touch if I need anything publically for sure.

I have been very busy at the moment, all I've done was glanced at what I have for about an hour, it should be straight forward.

Once the above is done, the /etc folder would be editable, from that point, I will make changes to allow SSH/Telnet, or ask you to help on that if I was too busy modifying the Kronos screens.

I already got an idea on what's needed to dump all the images and resources, I had a good smile when I saw the Kronos's images on my screen things like the black graph-bar, and also some messages that were drawn (not text), it was very fun to watch.

I will add to these images and hopefully sooner or later I will demo a new screen (new menu options and functionality etc) it all is very close to me now after I extracted all the IMG files.

Having said all the above, I have to thank Korg for their hard work, looking into the code, they really put so much effort into it, even though I am trying to enhance it sooner or later, however, it's a lot of work been done already. I will do my best NOT to harm any of that, and ensure that no one but me have the source code that I managed to extract.

All I will do at the end is deliver something nice (completed), and would take some feedback about what to improve and develop further.

Roblof, sorry if it's not the answer/comment you were looking for, I hope you can appreciate the situation I am in right now. All I can do is to enhance it, I cannot leek anything out because I am a developer myself, and would hate to see the code (hard work) being spread around or falling in the wrong hands.

Once I returned, I will start working on this...

Kind Regards
Heider
Heider Sati
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

No problems.

This just means that I have to work a little bit harder to gain the same info as you have done.

I've ordered two new side panels so that I can add connectors and not ruin the chassis.

Yesterday I got sidetracked and ordered an arduino with usb-host.

This is because I'm also trying to have full low-level control of the presonus studiolive-24. However it might become usefull for adding functionality/io into shark.

Ah, those wet dreams.....

Btw, Isn't the images checked as well?
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

Yes Roblof,

Images are checked. However, why would you want to use them if they are already mounted on the filesystem? The only reason why they are not outside is to hide them from people who can use them into the wrong way. To the Kronos it makes no difference if the FS is mounted or sitting on a remote network even as long as the loader can hand their data over to SHARK.

Having said that, I now think it's best not to release anything unless they are encrypted in the same way (different password/encryption) of course. This ensures that Korg does not suffer any loss of their code because of my work.

Good luck Roblof. I wish you the best of luck,

Kind Regards
Heider
Heider Sati
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

Dear Sir / Madam

I am getting so many requests to send out the decrypted files, which is not something I intend to do, or at least, not the purpose of working on this from the first place.

Sorry to disappoint you, what I've done is only for me to improve the system, sending any "Decrypted/Korg" files to users would harm Korg, and I do NOT intend to do that in any way.

The only item I will be sending out would be an update to the original Kronos (full and final release whichi is open for updates by me for future) with all changes to make live easier for Kronos users after taking wish-lists once I have something working here.

Again, I cannot and will not send any decrypted files out as it's years worth of people's work at Korng and I don't think it's fair for them.

Let's continue this work in the nice way without causing any damage. I hope you can appreicate that.

Kind Regards
Heider
Heider Sati
LivePsy
Senior Member
Posts: 355
Joined: Fri Nov 23, 2007 1:23 am

Post by LivePsy »

You guys are absolutely amazing and I am fascinated to hear the inner secrets in the Kronos without any intention of changing my keyboard. Reverse engineering is a no-no in the commercial world but we went to the moon for no good reason other than going, so what's the harm?

Best wishes,
B
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

I just got myself a bigger ssd-drive so I decided to try and install windows-7 x64 on my kronos before installing the kronos software.

It went like a charm and the shark was detected as an 6ch-usb audio. However there came no sound from it while I did some quick tests. The on-board audio worked well though.

I'm actually thinking of keeping some 5GB for a windows partition.....

Then a bit of caution! I wanted to know what the small pcb was on top of the shark. Since it looked as it was just plugged into connector I tried to pull it of - !!!DON'T EVER DO THIS!!! While it looks like it is inserted in a connector, it isn't and it is easy to destroy it with normal pulling.

I now have some soldering to do :cry:
Cpilot
Senior Member
Posts: 427
Joined: Wed Oct 05, 2011 8:02 pm

Post by Cpilot »

Roblof, you just made my day. Windows 7 on a Kronos! I've just had an operation on the old bod here and needed cheering up. Thanks

Bryan
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

Hi All,...

First day back in the UK now, could not wait to actually try what I was thining about during my trip to the US over the past 10 days.

I can "HAPPILY" say that I have now started to draw graphics on my Kronos's LCD screen, and now (see attached below), just started working on some menu buttons....

I don't think it's going to be a very long time before I have new menus with new options showing up, ...

Just a brief insight in case you wondered; SHARK can be seen from Protected-Mode Segments 0x7B and 0xD8, it's all there baby!, putting things in and out is no longer an issue with the patches I've done to handlers, along with all the 8259 communications to port 43..

Please see below a dump of the kronos screen with my new menu button at the bottom of it, I hope this put's a smile on your face.

Roblof, I told you, please don't remove any chipsets, I hope your SHARK is not damaged with the work you did recently.

Anyway, to all, the new Kronos changes are just a matter of time now, but, they will arrive hopefully soon...

Image

The above image have not been taken with a photo/iphone etc, it's actually the real screen dump showing my new changes with some modifications to the Handlers to make it possible to dump with some tools I wrote and compiled just for this purpose.

By the way, EVA does a lot, I mis-diagnosed it orignally with an earlier post, although it's just a resources file, it however is a crucial element to make up the heart of the Kronos/SHARK... Anyway...

Talk to you later...

Regards
Heider
Heider Sati
Heider
Guest
Posts: 102
Joined: Thu May 17, 2012 1:07 pm
Location: Wimbledon
Contact:

Post by Heider »

Roblof,

Out of interest, when you mentioned that you ran on Windows-7:

1) You only installed the Kronos as a Driver to Windows.
2) Windows see's about 4 USB devices and install 7 drivers for them, whihc is all the audio devices for SHARK
3) I don't know if you have noticed, You might have an "unknown device" or a "kronos" device with no drivers installed, if you do, then this is SHARK itself. There are no drivers yet for this device as this is only embedded in the Kronos itself as Linux modules to load SHARK.

If the above are correct, then you only installed off-line audio-devices (i.e. disabled since they are exclusive to SHARK).

I don't think you have started SHARK (i.e. the Kronos had only the banner that says "loading system files", or "startup failed"), in other words, your Kronos keyboard did not work, it's just drivers you are referring to. Is that correct?

According to the debugging on the compiled modules, SHARK would never load unless all it's USB deivers are loaded, which by default would not work since there are no drivers "yet" for SHARK under anything other than the Kronos itself.

Please confirm.

P.S. If your Kronos is messed up, and need help, please give me a shout to see if I can help you fixing your boards, I hope it's not damaged, I am worried since it's all SMD type. Anyway, good luck and I hope all goes well.

Regards
Heider
Heider Sati
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

Heider wrote:Roblof,

Out of interest, when you mentioned that you ran on Windows-7:

1) You only installed the Kronos as a Driver to Windows.
2) Windows see's about 4 USB devices and install 7 drivers for them, whihc is all the audio devices for SHARK
3) I don't know if you have noticed, You might have an "unknown device" or a "kronos" device with no drivers installed, if you do, then this is SHARK itself. There are no drivers yet for this device as this is only embedded in the Kronos itself as Linux modules to load SHARK.

If the above are correct, then you only installed off-line audio-devices (i.e. disabled since they are exclusive to SHARK).
This is correct. I was just amused about windows actually detecting parts of shark as an windows compliant audio device with 6 channels - All though not sounding....
I don't think you have started SHARK (i.e. the Kronos had only the banner that says "loading system files", or "startup failed"), in other words, your Kronos keyboard did not work, it's just drivers you are referring to. Is that correct?
Also correct. This was just a native windows installation on the intel mobo to see where things went. This because I had the window of opportunity...

Btw, about the mobo - I noticed the other day that the mobo is end-of-life from intel. :(
According to the debugging on the compiled modules, SHARK would never load unless all it's USB deivers are loaded, which by default would not work since there are no drivers "yet" for SHARK under anything other than the Kronos itself.
Yet 8)
P.S. If your Kronos is messed up, and need help, please give me a shout to see if I can help you fixing your boards, I hope it's not damaged, I am worried since it's all SMD type. Anyway, good luck and I hope all goes well.
I think it will be ok in the end. The small pcb is just some extra reset dongle attached onto the jtag.

I'll fix it next week when I have access to a vacuum de-soldering device.
Last edited by roblof on Wed Jun 27, 2012 11:33 am, edited 1 time in total.
roblof
Full Member
Posts: 102
Joined: Fri Dec 12, 2008 7:41 pm

Post by roblof »

I have now investigated the possibility to install the kronos software using an usb-stick.

Due to hard-coded programs and limitations of usb-sticks it isn't possible to do this right away in some easy manner.

I have therefor started to write an installer for usb-sticks.

I will also add the ability to patch a system with it. This is great if Heider releases something cool in the future 8)
Locked

Return to “Korg Kronos”