Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SAMSUNG YH-920
« previous next »
  • Print
Pages: 1 [2] 3 4 ... 16

Author Topic: SAMSUNG YH-920  (Read 126833 times)

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #15 on: October 29, 2008, 06:52:05 PM »
"The build" being what build? You mean the output from a Rockbox H10 bootloader build?

Did you then decrypt that and re-encrypt it with the YH920 key?

You may need to pay some attention to these facts:

#1 - the only YH920 mi4 file I've dissected used the older and smaller mi4 header so you may need to do that too (with "mi4code build -2")

#2 - the YH920 has a minor difference in the mi4 file mentioned on the mi4 file format page that might have significance (or not). It has not been that thoroughly investigated since you're about the first one trying anything on such a device!
« Last Edit: October 29, 2008, 06:53:41 PM by Bagder »
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #16 on: October 29, 2008, 07:04:58 PM »
Quote from: Bagder on October 29, 2008, 06:52:05 PM
"The build" being what build? You mean the output from a Rockbox H10 bootloader build?

Oh yes sorry. I took the rockbox.mi4 file that comes out of the H10 build.

Quote from: Bagder on October 29, 2008, 06:52:05 PM
Did you then decrypt that and re-encrypt it with the YH920 key?

No but i will do so later.

/EDIT: The key is always the same. It takes always the default key.
Code: [Select]
mi4code decrypt rockbox.mi4 rockbox-enc.mi4
mi4code v1.1.2-DSA (c) by MrH 2008
Secondary label end offset 'default' (0xec)
Decrypted ok with key 'default' (20d36cc0 10e8c07d c0e7dcaa 107eb080)
Is that the right way or is there a misstake in my acting?


Quote from: Bagder on October 29, 2008, 06:52:05 PM
#1 - the only YH920 mi4 file I've dissected used the older and smaller mi4 header so you may need to do that too (with "mi4code build -2")

Ok that later, too. I will post all results of that.

/EDIT: What should i do with that header?


Quote from: Bagder on October 29, 2008, 06:52:05 PM
#2 - the YH920 has a minor difference in the mi4 file mentioned on the mi4 file format page that might have significance (or not). It has not been that thoroughly investigated since you're about the first one trying anything on such a device!

That looked different to me because i've found some posts here, so i thought there were some other tryings. Maybe with your help i can get a running version. I really like to learn it.  
« Last Edit: October 29, 2008, 07:22:50 PM by pyro_maniac »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #17 on: October 29, 2008, 07:12:30 PM »
Quote
Maybe with your help i can get a running version.

I'm only helping you trying to get the H10 version adapted to get accepted by the YH920.

There's really only a very very slim chance that it'll actually show or do anything on the target as I doubt they are that identical hw-wise.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #18 on: October 29, 2008, 07:27:31 PM »
Is there any possibility to raise the chance?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #19 on: October 30, 2008, 02:20:48 AM »
Quote from: pyro_maniac on October 29, 2008, 07:27:31 PM
Is there any possibility to raise the chance?

As you must've seen on the NewPort wiki page, the taking apart, scanning pcb and identifying hw steps are all prior to writing a bootloader...
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #20 on: October 30, 2008, 06:28:31 AM »
Yes i ve read that wiki. I thought that scanning the pcb is through. I m not that good in reverse engineering but i will try to learn it. Are there any hints for getting started at reversing the firmware?

Should i stop modifying the firmware to get it load at the original bootloader?

What should i do with the header that i generated with mi4code build -2?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #21 on: October 30, 2008, 07:48:24 AM »
Quote from: pyro_maniac on October 30, 2008, 06:28:31 AM
What should i do with the header that i generated with mi4code build -2?

You can use "mi4code build -2" to create an mi4 file with the old smaller header that the original yh920 file we've seen has.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #22 on: October 30, 2008, 08:22:24 AM »
i am confused. What are the next steps?

Should i move on in modifying the mi4 file or should i try to reverse it?
« Last Edit: October 30, 2008, 08:24:59 AM by pyro_maniac »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #23 on: October 30, 2008, 08:56:04 AM »
Quote from: pyro_maniac on October 30, 2008, 08:22:24 AM
i am confused. What are the next steps?

Should i move on in modifying the mi4 file or should i try to reverse it?

If you want to try the h10 mi4 file on your yh920 you can try the mi4code trick. That  has a very small chance of doing anything fun.

If you want to actually make Rockbox progress towards a true port for the yh920 then you follow the NewPort wiki page steps.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #24 on: October 30, 2008, 09:01:35 AM »
Ok then i will try to help porting it. I will try to reverse the firmware but i am not very good at it. Or are there other jobs left? The wiki looks very far.
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #25 on: October 30, 2008, 09:11:17 AM »
You are the first and only person showing interest in this device. Thus all jobs are yours...
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #26 on: October 30, 2008, 09:14:48 AM »
Oh.... that sounds tricky.
But there are so many informations in the wiki. Pictures of the PCB and so on!? That work is done already or have i do remake it?
My options are limited by my know how.

Are there any hints from other mi4 reverse engeneerings? I ve never done something like that befor.
« Last Edit: October 30, 2008, 09:24:32 AM by pyro_maniac »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #27 on: October 30, 2008, 09:33:31 AM »
There's no need to redo what's already done, no.

And for reverse engineering you need to learn how to disassemble the decrypted mi4 file and then read and understand the output. It is ARM code.

That might require more than just an afternoon or two.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #28 on: October 30, 2008, 09:48:12 AM »
I will try it. I work in a company that is developing a arm handy so maybe i can  get some help here.

But that looks like a really big work for me. I am surprised that nobody else is working on that because i m not the first naming that device,

/EDIT: I could not find the bootloader. It seems to be on an extra flash or something like that.
« Last Edit: October 30, 2008, 06:46:45 PM by pyro_maniac »
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #29 on: November 03, 2008, 08:26:09 AM »
I ve made an objdump but i m not good in assembler! Should i post it or what should i do?
Logged

  • Print
Pages: 1 [2] 3 4 ... 16
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SAMSUNG YH-920
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.111 seconds with 17 queries.