icedream / denon-prime4

Fork of @ghuntley's Denon Prime 4 firmware research repository for experimental purposes.
MIT License
14 stars 1 forks source link

internals of prime4 firmware #12

Closed ghuntley closed 2 years ago

ghuntley commented 2 years ago

icmyi - https://github.com/ghuntley/denon-prime4

icedream commented 2 years ago

I did indeed miss it, thank you very much for the link! Very awesome stuff which I'll have to take a look at later.

dzelionis commented 2 years ago

few months ago, i have managed to extract and modify and flash back primes firmware ( including uboot configuration to use uboot script from tftp server, in that case, if i need to change something in uboot, i don't need to reflash firmware). I did about 20 customer flashes...with no issues at all... the risk is really minimal as it uses "fast boot" protocol underhood (same as on android). As "fast boot" is a plain text with no encryption, you can Wireshark it on USB connection.

Also, @icedream, i guess you know that we have managed to reverse engineer Beatinfo protocol..as i think you was planning to do that too.... more info on that is here: https://github.com/MarByteBeep/StageLinq/discussions/12#discussioncomment-2900260

If you have any questions, let me know... Thanks dzelionis

ghuntley commented 2 years ago

Heads up that we have been able to create a SSH firmware for the Prime4 so exploration is much easier now. See https://github.com/icedream/denon-prime4 (and the releases section for the actual firmware)

ghuntley commented 2 years ago

@dzelionis

including uboot configuration to use uboot script from tftp server

Can you please share this?

icedream commented 2 years ago

including uboot configuration to use uboot script from tftp server, in that case, if i need to change something in uboot, i don't need to reflash firmware

That's amazing and I would love to have that, too, for working on the firmware stuff in the denon-prime4 repo. If you can please share, that would be awesome.

the risk is really minimal as it uses "fast boot" protocol underhood (same as on android)

I already found someone mentioning that via Google a few days ago (though for slightly different hardware). I tried to use fastboot with the recovery mode that the Prime 4 can boot into and somehow for me it didn't even want to detect the connection via USB. That's why so far I've basically just used Denon's original flashing tool but with my own firmware instead.

i guess you know that we have managed to reverse engineer Beatinfo protocol..as i think you was planning to do that too.... more info on that is here: MarByteBeep/StageLinq#12 (reply in thread)

I did not know about this yet either! Didn't have time to keep up to date with all the progress that was happening everywhere at all. Once I find time I shall implement this in go-stagelinq then.