Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: umanzor on August 26, 2006, 05:15:56 PM

Title: SAMSUNG YH-920
Post by: umanzor on August 26, 2006, 05:15:56 PM
Is it possible to install rockbox on this model.

I read they are made by portalplayer, like the ipods and the irivers.

So, if rockbox can be installed on them, is there any way to install it on a YH-920?
Title: Re: SAMSUNG YH-920
Post by: saratoga on August 26, 2006, 05:45:25 PM
http://www.rockbox.org/twiki/bin/view/Main/TargetStatus
Title: Re: SAMSUNG YH-920
Post by: Bagder on August 27, 2006, 05:12:14 AM
It uses the mi4 firmware format. Use mi4code to decrypt and start working on a port. Chances are existing PP/mi4 work are similar.
Title: Re: SAMSUNG YH-920
Post by: umanzor on August 27, 2006, 12:20:17 PM

It uses the mi4 firmware format. Use mi4code to decrypt and start working on a port. Chances are existing PP/mi4 work are similar.


That's what I thought... you mean there are people working on mi4 firmwares for other players?

Hmm, if only I could something about programming.

Well, thanks for the info.
Title: Re: SAMSUNG YH-920
Post by: Bagder on August 27, 2006, 12:57:16 PM
Quote
you mean there are people working on mi4 firmwares for other players?


Yes, the iriver h10 and Sansa e200 both use mi4 files and at least the h10 seems to be progressing nicely.

Still, the file format of the firmware is only a little detail, there are much more than so to figure out before you have a "port".
Title: Re: SAMSUNG YH-920
Post by: dan_a on August 28, 2006, 02:12:30 PM
I have one of these on the desk in front of me.  Now, if I could only figure out how to get the main PCB out without breaking it...
Title: Samsung YH 920
Post by: pyro_maniac on October 28, 2008, 11:05:26 AM
Hi folks,

I have a Samsung YH 920 and i am trying to port the iRiver H10 port for my device. Is that easily possible or completely the wrong way?

My current result is, that the bootloader stops and is warning for a corrupt firmware. I think my operations on the mi4 file were wrong.

Could anybody help me?

I hope this is the right way to ask.
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 28, 2008, 04:08:37 PM
Have you decrypted the yh920 mi4 successfully with mi4code?

Have you tried to re-encrypt such a decrypted mi4 with mi4code and verified that it then works on your target?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 28, 2008, 04:42:32 PM
I only decrypt the original file and tried to encrypt the new file with that key. I will try your way to verify my work.

Have the file to be as big as the original?


/EDIT: I decrypted the original file and tried to encrypt the decrypted file.
It doesn't really work:

Code: [Select]
#mi4code decrypt -s pp5020-org.mi4 pp5020-decrypt.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)

#mi4code encrypt pp5020-decrypt.mi4 pp5020-encrypt.mi4 20d36cc0 10e8c07d c0e7dcaa 107eb080
mi4code v1.1.2-DSA (c) by MrH 2008
Invalid magic in mi4 header (maybe not mi4 file)!

What made i wrong?
Title: Re: SAMSUNG YH-920
Post by: linuxstb on October 28, 2008, 05:36:37 PM
The "-s" option you used with the mi4code decrypt command strips the mi4 header - you don't want to do that.

I can confirm that if I do:

./mi4code decrypt PP5020.mi4 decrypt.mi4

followed by:

./mi4code encrypt decrypt.mi4 encrypt.mi4 20d36cc0 10e8c07d c0e7dcaa 107eb080

then the original file (PP5020.mi4) and the final output file (encrypt.mi4) are identical.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 29, 2008, 08:00:49 AM
Thanks, that problem seems to be fixed. But there is still the problem that the bootloader is warning for a corrupt firmware.

Which step i missed?
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 29, 2008, 08:05:55 AM
Uh, if the two files are identical after this process then the process isn't the one to blame surely?

Then the original mi4 you're playing with is also considered "corrupt", isn't it? Then perhaps you should start researching on getting an mi4 file that works?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 29, 2008, 08:28:23 AM
The encrypted original file works fine. Only the rockbox mi4 file is declared as corrupt.

/EDIT: Is the size of the mi4 file relevant? The rockbox mi4 is much smaller than the original file. The checksum will be edit by mi4code encrypt, right??
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 29, 2008, 04:27:39 PM
Since there's no rockbox support for the yh920 (yet), how are you creating the "rockbox mi4" with the right encryption key?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 29, 2008, 05:22:46 PM
The build got an mi4 file that i tried to encrypt and run on my device.

And as a key i took it form here:
Code: [Select]
#mi4code decrypt -s pp5020-org.mi4 pp5020-decrypt.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)

There is something missing, right?
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 29, 2008, 05: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!
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 29, 2008, 06:04:58 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.

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?


#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?


#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.  
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 29, 2008, 06: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.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 29, 2008, 06:27:31 PM
Is there any possibility to raise the chance?
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 30, 2008, 01:20:48 AM
Is there any possibility to raise the chance?

As you must've seen on the NewPort (http://www.rockbox.org/twiki/bin/view/Main/NewPort) wiki page, the taking apart, scanning pcb and identifying hw steps are all prior to writing a bootloader...
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 30, 2008, 05: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?
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 30, 2008, 06:48:24 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.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 30, 2008, 07: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?
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 30, 2008, 07:56:04 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.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 30, 2008, 08: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.
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 30, 2008, 08:11:17 AM
You are the first and only person showing interest in this device. Thus all jobs are yours...
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 30, 2008, 08: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.
Title: Re: SAMSUNG YH-920
Post by: Bagder on October 30, 2008, 08: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.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 30, 2008, 08: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.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac 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?
Title: Re: SAMSUNG YH-920
Post by: funman on November 03, 2008, 08:54:34 AM
Improve your skills by looking at it !

Nobody will do it for you, so your best bet is take confidence and continue what you started.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on November 04, 2008, 09:26:19 AM
Should it be standard like all PortalPlayers?
Title: Re: SAMSUNG YH-920
Post by: Bagder on November 04, 2008, 03:56:00 PM
Since it uses a portalplayer chip it certainly shares all the portalplayer-specific details with the other portalplayer-based devices. But there's a selection of additional hardware that may or may not be similar to what other Rockbox targets already use.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on November 04, 2008, 06:08:27 PM
But to find that out i need to go on modifying the iriver build to get loaded on my device, right?
Title: Re: SAMSUNG YH-920
Post by: saratoga on November 04, 2008, 06:45:44 PM
But to find that out i need to go on modifying the iriver build to get loaded on my device, right?

I don't think you'll have any use for the iriver build itself, just its source code if it does share some hardware in common.  The first thing to do is begin reverse engineering the hardware, and working on drivers for it.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 03, 2008, 03:37:32 PM
Hi, i m again!

I changed my strategy. i red out the mbr of the player and run objdump on that. Is there an other step that i can make with it or is the assembly the end?

EDIT:

1. I red out the MBR and run arm-elf-objdump on that.
2. I cut off the header of my firmware and run arm-elf-objdump on that too.

Is there a arm disassembler or what can i make with that code?
how did you made it on other devices?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 08, 2008, 11:49:04 AM
No comment?
Title: Re: SAMSUNG YH-920
Post by: funman on December 08, 2008, 12:26:11 PM
2. I cut off the header of my firmware and run arm-elf-objdump on that too.

Is there a arm disassembler or what can i make with that code?

objdump is a dissasembler, you can use the -D flag.

example: arm-elf-objdump -b binary -m arm -D myfile.bin
Title: Re: SAMSUNG YH-920
Post by: Bagder on December 08, 2008, 01:51:59 PM
and there's no point in disassemblying the MBR, you should decrypt the mi4 and disassemble or you should disassemble the bootloader (which usually is unencrypted thumb ARM on the PP devices)
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 03:46:51 AM
objdump is a dissasembler, you can use the -D flag.

example: arm-elf-objdump -b binary -m arm -D myfile.bin

Ok thats the way  i made it. I thought there is an other step to get C code out of that. Is there a datasheet for the commands?

and there's no point in disassemblying the MBR, you should decrypt the mi4 and disassemble or you should disassemble the bootloader (which usually is unencrypted thumb ARM on the PP devices)

I said it befor, i can t find any bootloader. Thats my problem and the reason why i red out the MBR. Also in the other files were no bootloader found. Are there other possibilitys?
Title: Re: SAMSUNG YH-920
Post by: Llorean on December 09, 2008, 03:49:33 AM
On several players the bootloader (or firmware image itself) is stored in a separate flash ROM, and there's no way to access it via the disk.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 03:51:49 AM
That is only accessable in a special player mode or with JTAG?
Title: Re: SAMSUNG YH-920
Post by: Llorean on December 09, 2008, 03:55:32 AM
It depends entirely on how they've designed the hardware. There's no guarantee that it's externally accessible at all without coming up with a way to directly read such a chip yourself.

Or it may just be somewhere you haven't looked yet.

There's really more or less unlimited flexibility in how they can design such a device, so you want to try not to have too many expectations in where you'll find it based on previous devices.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 04:08:14 AM
That sounds very difficult to me. So i have only the chance to run my own firmware with that bootloader. That makes me a very sad.
Title: Re: SAMSUNG YH-920
Post by: funman on December 09, 2008, 05:02:28 AM
That sounds very difficult to me. So i have only the chance to run my own firmware with that bootloader. That makes me a very sad.

That's already a good start !

What do you need to see that is in the bootloader and would not be in the firmware file?

Now I think you must disassemble the firmware and look for known PP registers to find what could be access to the buttons, LCD .. and try to reproduce the behaviour in your own (C / assembly) code.

I'm not familiar with PP, but I would start looking at the files firmware/export/pp*.h
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 05:16:19 AM
Thank you for that hint. But my problem with the original bootloader is the validation, like you can see in the posts befor. I thought i could replace that bootloader with a multibootloader without validation.
So that seems to be impossilble.

Am i right when i say that the pp5020.h defines all codes for the firmware?
I dont understand how can find out that for my device.

EDIT: Sorry that i ask that newbie questions in here. Or should i make a thread in an other place?
Title: Re: SAMSUNG YH-920
Post by: Bagder on December 09, 2008, 05:41:22 AM
I think you're better off learning how the other mi4-based players work.

In Rockbox we typically don't meddle with the original bootloader but simply provide our own mi4 instead, and that mi4 is our bootloader that then can either load and run Rockbox or load and run the OF.

The original bootloader does have a "validation" check of the mi4 file but we've already found out how to circumvent that check and mi4code helps you with that.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 06:05:20 AM
Yes and i also red your page for mi4 files. But the codes you wrote there are quite different to mine.
And in the typical rockbox way i cant make it work, because i cant replace the bootloader.
Title: Re: SAMSUNG YH-920
Post by: Bagder on December 09, 2008, 07:02:20 AM
Then read my text again. I did not suggest you should replace any bootloader.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 09, 2008, 07:27:52 AM
I tried to read the mi4 file header and compared with your example on your mi4 page but my version seems to be different.
Should i post my file or the header?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on December 16, 2008, 10:12:54 AM
pyro_maniac,

as indicated on the wiki page there are at least three different original mi4 firmwares available for the YH-920. Can you tell us which one you use (or otherwise pls upload it to some place and post the link here)? Maybe I can find out some things for us.

Do I understand you correctly that up till now, you have not been able to run any other than the original mi4-firmware on the device because you always get a "corrupt firmware" error?

As mentioned by Bagder and others, we should progress as follows:

1. get any other than the original firmware (initially iRiver H10 port) accepted by the bootloader
2. modify existing H10 port to include hardware components used in the YH-920
3. disassemble / reverse engineer original YH-920 firmware to build new yet unknown hardware drivers
(2+3 iteratively)
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 16, 2008, 02:54:22 PM
thanks wolly-p for your interest.

I am using a YH-920 with a Napster branding and a v1.05 bootloader. Its got a sticker with the name YH-920GS on the back, maybe this is need to know.

I attached a zip file with the complete filesystem of the device after a rebuild with the recovery tool in it. I also made the first steps to reverse engeneer it, as i wrote in the upper part.
I never ran an other firmware on the device. No other original and none of my own.

At the moment i am trying to learn more about the firmware in rockbox and how to get involved in rockbox.

/EDIT: I loaded up the file because its bigger than 256kb. Download here (http://uploaded.to/?id=2daz8q)
Title: Re: SAMSUNG YH-920
Post by: wolly-p on December 17, 2008, 07:17:29 AM
pyro_maniac,

ok then. Do you have time for some trial and error? I don't, unfortunately, but I have uploaded a few mi4-files here (http://uploaded.to/?id=bhaolq) for which we need to check if they will be accepted by the YH920 bootloader, and if so whether they at least create files on the disk (they will crash/freeze, but hopefully it will not matter  :-\). Rename the mi4-files individually to PP5020.mi4, replace the original PP5020.mi4 in the System directory, and let us know what happens.

/EDIT And here (http://uploaded.to/?id=t1aspz) are all the original mi4-firmwares for the YH920 I know of (newer than your version), including the bootloader.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 17, 2008, 03:00:58 PM
OK thank you for your work. I am so happy that somebody is helping my getting on the way.
I have tested all firmware files you uploaded. Here are my results:

Code: [Select]
040731 PP5020.mi4:   - loaded
                     - napster branding
                     - works completly

040810 PP5020.mi4:   - loaded
                     - napster branding
                     - works completly

040924 FW_YH920.mi4: - loaded
                     - plays music
                     - no radio function inside

050128 FW_YH920.mi4: - loaded
                     - displays the samsung logo
                     - warning for currupt font files

105t920n.mi4:        - warning for currupt firmware

H10-5.mi4:           - displays the samsung logo
                     - nothing else happens

H10to920.mi4:        - loaded
                     - clear Screen
                     - backlight on

H10to920n.mi4:       - warning for currupt firmware

rbh10_5.mi4:         - loaded
                     - clear Screen
                     - backlight on


There is something different else but i noticed that to late. There is a "tmp" folder generated automatically. The difference is that the place of this folder is sometimes in the root folder and sometimes in the system folder. Don't now if this is relevant.

What can you see in this results? is there something else i can do?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on December 17, 2008, 04:22:16 PM
sounds promising  :)

To explain shortly:

1. files 1+2 are Napster branded firmwares -> work as expected
2. files 3+4 are Samsung branded firmwares -> work, but probably some problems with built-in bootloader in Napster device (just guessing)
3. files 5+8 fail the bootloader CRC check -> not relevant anymore
4. file 6: original Iriver H10-5GB-version firmware, to see whether it gets loaded -> not relevant anymore
5. file 7: Rockbox build for H10-20GB-version with adapted header -> does it generate /tmp ?
6. file 9: Rockbox build for H10-5GB-version with adapted header -> does it generate /tmp?

For files 7+9, which seem to get loaded, we need to know more what happens. I would suggest to start with H10-5GB-version. Could you put the whole Rockbox build on the disk but with file 9 above as PP5020.mi4 and tell us what happens?

Remember that due to different hardware components in the devices the Rockbox H10 build can only do initial things like (hopefully) recognising PP5020 and ATA interface and writing some files to disk, until it stalls or crashes.

After that, real work begins ...
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 17, 2008, 05:08:32 PM
The rockbox files didn't create a tmp folder.

I copied all files of a H10 5G Build into the system folder and in the root folder, created a tmp folder on both directories and started the player but there happened nothing new.
/EDIT: And i had a file 7 on the device for firmware.

/EDIT2: After this test, i had to rebuild my device completly. I don't know why.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on December 19, 2008, 08:14:07 AM
If you are really serious about porting rockbox to the YH-920, it won't have been the last time you completely re-built your device  :D

You need to put together a new build, starting with an existing one which allows at least harddisk and display access, otherwise it's going to be pretty difficult to get anywhere. The existing H10 build provides a good starting point (PP5020 player), but in my previous thoughts I made a mistake with the display, so you could not see anything. Here are my findings:

1. LCD:
I could find "S4E1 5002" on the plastic stripe, which means that according to this (http://www.rockbox.org/twiki/bin/view/Main/IriverHardwareComponents) it is
identical to the LCD used in Iriver H1xx .

2. Power chip Linear LTC3455
also used in Meizu M6 (http://www.rockbox.org/twiki/bin/view/Main/MeizuM6Port), you might re-use some drivers from there.

3. Audio AKM AK4537VN
I could not find any other player with this component, so here you have to start from zero. Seems to be well documented, however.

4. mi4 format
The header of the two most recent Samsung mi4-firmwares seem to fully comply to the 01020100 "standard" as indicated here (http://daniel.haxx.se/sansa/mi4.html), without the exception at 0x18 , which only existed for the earlier two firmwares.

If you would like to continue (but pls consider if it's worth it, I won't be able to help significantly), read here (http://www.rockbox.org/twiki/bin/view/Main/NewPort) and there (http://www.rockbox.org/twiki/bin/view/Main/PortingHowTo), setup your development environment, start with the H10 5GB port, replace the display driver with (hopefully) an appropriate one from H1x0, and watch, smell, and listen. Good luck!
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 20, 2008, 04:40:19 PM
how can i change the powerchip in a h10 build to a meizu powerchip?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on December 22, 2008, 05:02:00 AM
Did you check what happens in 'config-meizu-m6sl.h' and related files? You can also ask in the Meizu M6 forum thread (http://forums.rockbox.org/index.php?topic=10078.105). For he first tries, just comment it out or leave as it is if you do not find anything particular to the LTC3455.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 22, 2008, 06:36:16 AM
Yes i made a diff of both configurations. After that, i tried to learn something more about the structure. I thought that i only have to change the small part for the power chip but its much more different.Yes i made a diff of both configurations. After that, i tried to learn something more about the structure. I thought that i only have to change the small part for the power chip but in the meizu firmware the powermanagment seems not to be separated.

Maybe i will ask in the meizu thread later on. First i will try on my own.
Title: Re: SAMSUNG YH-920
Post by: saratoga on December 23, 2008, 07:52:27 PM
Does the Meizu port even have code for that chip?  It looks like an analog regulator module.  I'm not sure if its even programmable. 
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 06, 2009, 04:17:07 PM
I again tried to find out, witch testing firmware was able to create a tmp folder. I found out, that the H10-5.mi4 can, but not always and in the system directory. How could that be? 

/EDIT: There seems to be a problem in my results. Some firmware files crashing the filesystem so i can't be sure about my results. I will remake them.

/EDIT2: H10-5.mi4 creates a tmp folder but the filesystem seems to get destroied.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on January 07, 2009, 02:47:56 PM
If H10-5.mi4 creates at least a folder, that's a good sign because it means that the firmware can access IDE and the hard drive. Since the file system might be a bit different to the one Samsung deploys, it could become corrupted.

As mentioned before, I would recommend to set up a build environment, take the H10 (5GB) as a template,  replace only the display driver with the one from H1xx in the configuration files, compile and build and try with the new (encrypted) mi4. With some luck, you will get some output on the screen.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 07, 2009, 04:57:17 PM
Sounds like there is still a chance.

But i have a problem again. Where can i find the displaydriver for the h1xx?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on January 07, 2009, 05:21:33 PM
Where can i find the displaydriver for the h1xx?

That's in the sources already, you have to create a new build target for the YH920 and edit the appropriate configuration files as indicated here. (http://www.rockbox.org/twiki/bin/view/Main/PortingHowTo)
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 14, 2009, 06:27:16 PM
I started my trying on the display change in a short and dirty way. I tried to copy the the code of the lcd files of the h1xx into that of the h10. That seems to be very tricky. I am hanging on the lcd-as file wich seems to be not involved.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on January 15, 2009, 08:38:07 AM
Rather than copying the code, why don't you try to edit the configuration file only? In principal, this should be sufficient for the first shot. If necessary, post your config file here and possibly resulting compiling error messages so that we can help.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 19, 2009, 05:34:38 PM
I changed the config but the result is only a clear LCD with backlight on. I took the #define CONFIG_LCD from the h100 config and wrote it into the h10 one.

Are ther other things i can try?

EDIT: And there is an other problem so i can't reset the device via reset button.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on January 21, 2009, 03:47:16 PM
Hmmm, and after changing the config file, the whole compilation and mi4-scrambling went smoothly, no other error messages, and the newly created mi4-file was accepted immediately by the player?

If you do not see anything on the display, I guess it will be nearly impossible to get anywhere soon. As a last resort, you might want to try another display type (although size and grey-scale should be correct from what we have seen so far).

Since the new build is not adapted to your hardware, it is not surprising that the reset button does not work.

Does anyone have further ideas?
Title: Re: SAMSUNG YH-920
Post by: Bagder on January 21, 2009, 04:54:42 PM
I've already repeatedly mentioned how this has been done on other players in the past, and the fact that this is PP-based and we know the mi4-format already and everything - it is actually far easier than most other new ports are...
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 21, 2009, 05:49:10 PM
Maybe with your knowledgebase i would come to the same conclusion but i m  a newbie and i still don't know enough to get it done alone.

What would you prefer to do? Or is this target not attractive anymore?
Title: Re: SAMSUNG YH-920
Post by: saratoga on January 21, 2009, 09:11:39 PM
Maybe with your knowledgebase i would come to the same conclusion but i m  a newbie and i still don't know enough to get it done alone.

Start reading up.  If you're going to make this work, you'll have to understand how the existing PP code works, the MI4 firmware format, etc.

What would you prefer to do? Or is this target not attractive anymore?

Obviously since you're the one working on the port, it was never all that appealing to most other people.  Fortunately, since you're the one working on the port, it doesn't matter what other people think is appealing.  Just what you're interested in.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on January 22, 2009, 08:32:33 AM
Hmmm, and after changing the config file, the whole compilation and mi4-scrambling went smoothly, no other error messages, and the newly created mi4-file was accepted immediately by the player?

If you do not see anything on the display, I guess it will be nearly impossible to get anywhere soon. As a last resort, you might want to try another display type (although size and grey-scale should be correct from what we have seen so far).

Since the new build is not adapted to your hardware, it is not surprising that the reset button does not work.

Does anyone have further ideas?

There were some warnings only. I think they where in point changing the LCD. Is it useful to make some other tryings with that driver in?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 01, 2009, 03:11:42 PM
There were some warnings only. I think they where in point changing the LCD. Is it useful to make some other tryings with that driver in?

I'm not sure. Take a careful look at the compiler warnings, they might give further hints. Also, it might be worthwile studying the code of other PP-based mi4-players regarding the display drivers.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 04, 2009, 12:18:53 PM
I ve put my eyes on the bootloader again. Is there a known way to put the device into the manufacturing mode and to read out the bootloader?

I ve read it in the IRC at the moment and i am thinking of asking there. But first i ask here.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 05, 2009, 05:13:36 AM
Bootloader is attached
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 05, 2009, 06:03:32 AM
Bootloader is attached

Ok thanks, but how can i get this onto the device? Copy that into the System directory?
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 05, 2009, 04:44:42 PM
It's already flashed into the ROM; at present, I don't see a need to change it. If you really want to do that, you would first have to debug it, next to modify it, finally to flash it back to the ROM, but the flashing method is hardware-dependent. Copying will not work.

However, I do not understand the way you want to proceed. Like other PP-based players, the (fixed) bootloader does the necessary steps to initialise the device (e.g. CPU, ATA-interface and a bit more),  and then reads its main firmware from the encrypted mi4-file. This mi4 file is what you have to build completely new, based partly on the available Rockbox sources, and partly with new modules you have to write on your own, dependent on the YH-920 hardware. In order to understand how the hardware works, it will indeed be helpful to debug the bootloader.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 07, 2009, 05:59:47 PM
I don't know if you have watched into the bootloader but there are some interesting strings in it. I attachted what i have found. Maybe you will take a look and tell me, what you think.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 09, 2009, 06:00:11 AM
Looks like strings of diagnostic tests / error messages. But I don't see how it could be utilised for your intended Rockbox build. BTW, about 2 years ago, I sent various emails to the Samsung guy whose e-mail address can be found in the strings, and the address was existing, but I never got any reply. Seems to be company policy ...
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 09, 2009, 07:11:35 AM
I was wonderung how much this bootloader can do and i thougt it functions could be helpful for developing.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 09, 2009, 08:49:32 AM
Not to get me wrong: for sure it would be helpful to disassemble / debug the bootloader, because it could serve as the valuable source for hardware addresses, initialisations of hardware components etc. But as mentioned before, I expect proper disassembling / debugging the firmware (i.e. mi4-file) to deliver quicker results. Just my guess, since I haven't done it myself. You could browse the other build forums, this could give you an indication how to proceed.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 11, 2009, 05:33:54 PM
I played around with the h10 build again and i found some interessting. the screen is still empty after booting but i connected the device to my windows mashine and that noticed a usb device with the name "Rockbox media player". gevaerts gave me the hint with logf() so i will try this tomorrow.

I hope i can sleep tonight! :-D
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 12, 2009, 04:52:17 AM
That's really interesting. Maybe logf() can also give you hints concerning the display (just a guess).
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 12, 2009, 04:27:12 PM
So now there is a serial connection to the device. But I have to stop here and need to learn what i can do with it and how it works.

I am open for any hints and advices.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 13, 2009, 04:11:33 AM
Can you attach the results of logf (logf.log, logf.txt or whatever it's called) here?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 13, 2009, 04:48:14 AM
Until now there is nothing that came from the device. Thats why i have to leran more about it and i think i have to build in more debug. I try to find some time on the weekend.

/EDIT: The only thing i got was: "Connected,"

/EDIT: I recived a "test" out of the connection from the usb_serial_transfer_complete function. But there seems to be still some issues on in the serial connection. i can't read out the logf buffer, where i wrote my init logs into.
Title: Re: SAMSUNG YH-920
Post by: wolly-p on February 18, 2009, 05:20:24 AM
You still don't have any other log or debug info, i.e. files on the harddisk? It not, it could be worthwile disassembling the bootloader in order to understand why the current ATA routine does not seem to work. Maybe Rockbox stumbles over something which causes it to stop before writing something to the HDD.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on February 19, 2009, 05:13:39 PM
You still don't have any other log or debug info, i.e. files on the harddisk? It not, it could be worthwile disassembling the bootloader in order to understand why the current ATA routine does not seem to work. Maybe Rockbox stumbles over something which causes it to stop before writing something to the HDD.

I don't write to the hdd. I try to recive the data of logf() over the serial usb connection.

I didn't understand the whole functionality yet. I recived a test message via usb serial connection but i wasn't able to read out the logf buffer. To disassemble the bootloader would be a bigger thing to me than to understand and get to work the usb serial thing.

/EDIT: now i have redone my work and i got a connection again. as gevaerts adviced me, i am trying to rearange the init of the components in apps/main.c and to let them wait for a serial usb connection.

/EDIT: i manualy red out old logf entrys but they are very cryptic and to rearange the init seems to be very tricky. i got very often a system freeze on connecting.

/EDIT: i am actually testing the patch FS#9253 to write logf() results into a file. the file was created but nothing in yet. i am working on it. And with the new usb stack i even have access to the hdd after booting rockbox. :-)
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on March 10, 2009, 12:00:00 PM
I need some help in testing my patch in FS#9253 (http://www.rockbox.org/tracker/task/9253) because i have no device rockbox running on.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on March 21, 2009, 01:51:04 PM
The logf output into a file works fine now and i got my first results on my player. I attached the file. Now i try to test more debug for the hardware.

EDIT: I also ran disassembler on my binary files but i don't understand the output yet.
Title: Re: SAMSUNG YH-920
Post by: lowlight on April 06, 2009, 01:10:21 PM
pyro_maniac:
Can you test this Rockbox bootloader?

Rename the original firmware file on the device to OF.mi4.
Rename the attached file to replace the original firmware.

Hopefully something shows up on the screen after it restarts. Let me know what happens.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on April 06, 2009, 01:57:39 PM
i am not sure how the bootloader should get into the flash!?  ??? But i will try it.

EDIT: i tested it but your file is not accepted and declared as corrupt.

EDIT2: Now i got it! Your file has to be named as PP5020.mi4!!

I got screen on the YH 920! \o/ "Rockbox boot loader"
Title: Re: SAMSUNG YH-920
Post by: Chronon on April 06, 2009, 02:02:25 PM
You don't load it to flash.  Just put it on the internal storage with the current name of the firmware file.
Title: Re: SAMSUNG YH-920
Post by: lowlight on April 06, 2009, 02:11:16 PM
pyro_maniac:
Attach the USB, the device should appear as a mass storage drive. In the System\ directory there should be an mi4 file, either PP5020.mi4 or FW_YH920.mi4 (let me know, I'm guessing). That's the original firmware. Rename it to OF.mi4. Then rename the file I posted to the name of the original firmware mi4 file (PP5020.mi4 or FW_YH920.mi4). Note, the file I posted is an mi4 file (not a bin file), but the forum rules don't allow me to upload mi4 files.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on April 06, 2009, 02:13:44 PM
As you can see in my post befor, i had to make some changes to make it work. But now i got a boot screen.
Title: Re: SAMSUNG YH-920
Post by: lowlight on April 06, 2009, 02:54:35 PM
So the original firmware is called PP5020.mi4?

Does the rockbox logo (it should display quickly before the debug info) look right? For example, the greys aren't inverted (light=dark)?

Does the original firmware load? You'll need OF.mi4 in the System\ directory and you'll need to delete or rename any .rockbox directories.

If you switch on the hold switch after the Samsung logo shows, but before the Rockbox logo, does it say "Hold switch on. Shutting down...." and then shut down?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on April 06, 2009, 03:11:33 PM
So the original firmware is called PP5020.mi4?

On the YH 920 PP5020.mi4 and PP5020.bin are the possible names i belive to know.

Does the rockbox logo (it should display quickly before the debug info) look right? For example, the greys aren't inverted (light=dark)?

Yes Rockbox bootloader is shown, some version infos and YH 920 is shown on top. Seems to be the right color for me.

Does the original firmware load? You'll need OF.mi4 in the System\ directory and you'll need to delete or rename any .rockbox directories.

On the test i made there happend nothing after the bootscreen. But there was a .rockbox directory on the device.

If you switch on the hold switch after the Samsung logo shows, but before the Rockbox logo, does it say "Hold switch on. Shutting down...." and then shut down?

I have low battery now but in some minutes i will try again on a clean device and then i will test the hold button.

EDIT: When i press the hold button, no rockbox logo is shown on the display and the rest is still the same. no OF is loading.
And the colour seems to be inverted. the rockbox symbol is dark and the background is light.
Title: Re: SAMSUNG YH-920
Post by: lowlight on April 06, 2009, 04:17:59 PM
Can you take a picture.

On my h140 (with the same lcd as the 920) the text is black on a "white" background. That may be different from the original firmware (I've never seen it). The logo displays exactly as the bmp:
http://svn.rockbox.org/viewvc.cgi/trunk/apps/bitmaps/native/rockboxlogo.160x53x2.bmp?view=log
(well, with the blue being the lcd background).

If the OF isn't loading (making sure System\OF.mi4 is there and there's no .rockbox directory), then what are the debug messages on the screen?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on April 06, 2009, 04:33:53 PM
Sorry for the bad quality but i had only the handy cam.

The text on the screen is "Version: r20399M-090403 Samsung YH-920" and behind it there is the normal boot screen.

There is no rockbox on the device and the OF is named "OF.mi4. OF isn't starting.

EDIT: So why dont't you post some code? kugel is waiting for that, too. And together we come to an end faster.
Title: Re: SAMSUNG YH-920
Post by: kugel. on April 12, 2009, 12:50:46 PM
I received the code from lowlight, tried it out, and created http://www.rockbox.org/twiki/bin/view/Main/SamsungYH92xPort accordingly.
Title: Re: SAMSUNG YH-920
Post by: funman on May 03, 2009, 04:17:16 AM
Could you post the code on flyspray?

My cousin has a YH920 he doesn't use and perhaps I could help you on this port.
Title: Re: SAMSUNG YH-920
Post by: kugel. on May 03, 2009, 06:52:00 AM
Well, we're all waiting for lowlight to commit it, but I think I can give you the code (I'm not sure if it's meant for public).

On my yh-925, the only thing missing seems to be audio playback, btw. USB works nicely, the rest too.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on May 03, 2009, 07:17:14 AM
I think it would be the best way, too. lowlight didn't answer mails again.

For the YH-920 there are some LCD issues and lowlight said, that he had the same thing at the YH-925 and he fixed that on his device already.

EDIT: oh and there are some issues on bootloader and there is no sound, too.

EDIT2: I filed a task on the tracker. FS#10189 (http://www.rockbox.org/tracker/task/10189)
Title: Re: SAMSUNG YH-920
Post by: lowlight on May 25, 2009, 06:42:46 PM
Now officially committed.
Title: Re: SAMSUNG YH-920
Post by: kugel. on May 25, 2009, 06:46:40 PM
Now officially committed.


I tried enabling the RTC and LCD contrast. It seems to work just fine, is there any reason you didn't enable it?

Great work! Really.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on May 27, 2009, 03:23:21 PM
I tried to make the first step in making keymaps for plugins.

See FS#10251 (http://www.rockbox.org/tracker/task/10251).
Title: Re: SAMSUNG YH-920
Post by: kugel. on May 29, 2009, 12:46:48 AM
I tried enabling HAVE_LCD_ENABLE on my 925.

The display went white (not really surprising), but this weird second backlight (the 925 has 2 backlights, one bright one, and one not so bright one which never turns off [neither in the OF]) didn't turn off, so it wasn't really useful.

Do we have any way to turn off the 2nd backlight?

On a related note, the first one doesn't work at all here.
Title: Re: SAMSUNG YH-920
Post by: lowlight on June 02, 2009, 03:51:00 PM
Can someone with a YH-920 tell me the values of GPO32_ENABLE and GPO32_VAL from the Debug>View I/O ports screen.
Title: Re: SAMSUNG YH-920
Post by: funman on June 02, 2009, 05:21:55 PM
GPO32_VAL = GPO32_EN = 0x80000022
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on June 03, 2009, 10:55:02 AM
Is this datasheet (http://www.digchip.com/datasheets/download_datasheet.php?id=127101&part-number=AK4537VN) already known? Or should this be uploaded in the wik?
Title: Re: SAMSUNG YH-920
Post by: funman on June 05, 2009, 07:18:09 AM
extra information can't hurt, so you can upload it.
Title: Re: SAMSUNG YH-920
Post by: lowlight on June 05, 2009, 08:43:34 AM
GPO32_VAL = GPO32_EN = 0x80000022

Same as the 925.  ???

Is this datasheet (http://www.digchip.com/datasheets/download_datasheet.php?id=127101&part-number=AK4537VN) already known? Or should this be uploaded in the wik?

That's what I used for the driver.  ;)
Title: Re: SAMSUNG YH-920
Post by: perfectdrug on June 05, 2009, 08:53:06 AM
hi I started on the SVGs for the manual. For the Samsung YH - 920 and 925.
http://www.rockbox.org/tracker/task/10279
Comments would be welcome.
I also would like to see a higher resolution scan of the pattern below the display of the YH-920, so that I can include it in the picture.
I also may need help with the button placement and labeling.


I just finished Samsung YH - 820 SVG.
http://www.rockbox.org/tracker/task/10286
Comments are welcome.
Title: Re: SAMSUNG YH-920
Post by: Ced_P on June 19, 2009, 12:05:55 PM
Hi,

I have a  Samsung branded YH 920 with a v2.05 bootloader.
The file name of firmware is FW_YH920.mi4.
I tried to make Rockbox run on my player by making a build using code in SVN.
After compilation, i unzipped the rockbox.zip on my player. Then i copied rockbox.mi4 to system directory and renamed it to FW_YH920.mi4

What is working : Display, Internal/External Storage,  Buttons, building music DataBase
What is not working : playing sound, Battery Charging/Monitoring, some freezes during menu navigation

I'm a great newbie, but maybe can i help by testing new build.
Thanks for your work.
Title: Re: SAMSUNG YH-920
Post by: lowlight on June 19, 2009, 12:25:58 PM
You should first compile a "bootloader" build. This replaces the FW_YH920.mi4 firmware file in the System directory (rename the original FW_YH920.mi4 to OF.mi4 if you want dual-boot). Then compile a "normal" build and unzip rockbox.zip onto the device. Keep rockbox.mi4 where it is.
Title: Re: SAMSUNG YH-920
Post by: Ced_P on June 19, 2009, 12:41:57 PM
Ok thank you. I will make a trial in the evening.

New edit :

I created new bootloader and new build. This is my conclusion for my player (YH920-GS1/ELS) :

What is working : Dualboot, Display, Internal/External Storage, building music DataBase
What is not working : playing sound, some freezes during menu navigation, buttons on ears cable.

Buttons seem to work, but there is a problem when i change clock. I can change hour, but when i try to go on minute field, the player go to back menu.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on June 23, 2009, 07:23:16 AM
I started working on the rbutil support: FS#10373 (http://www.rockbox.org/tracker/task/10373)

EDIT: I also opened a task for fm radio support: FS#10480 (http://www.rockbox.org/tracker/task/10480)
I couldn't test it because my YH-920 has still no sound yet. I am not sure if it is just that simple but this is only a first shot. ;)
Title: Re: SAMSUNG YH-920
Post by: funman on September 02, 2009, 05:22:13 AM
lowlight has committed a fix which enables sound output on yh920

I tested the radio patch but it lacks a modification to switch between rockbox codecs and FM output (should be simple)

battery reading works as well, but needs to be calibrated (I'm looking at it, but perhaps lowlight will fix it before I can understand the code :P )
Title: Re: SAMSUNG YH-920
Post by: Ced_P on September 05, 2009, 09:18:37 AM
Hello,

I created new bootloader and new build today. (my player is a YH920-GS1/ELS, european version without FM radio)

Great job, only remote control on ears cable is not working.

thank you!!!! My YH920 is now a new player!!!!
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 07, 2009, 10:45:54 AM
Hi,
I read the whole thread but is there an easy way to try rockbox on a YH-820 for people who are not familiar with SVN? Am I obliged to create my own bootloader and build? Cant' it be shared?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 07, 2009, 11:13:48 AM
Hi,
I read the whole thread but is there an easy way to try rockbox on a YH-820 for people who are not familiar with SVN? Am I obliged to create my own bootloader and build? Cant' it be shared?

You should first try the rbutil. I don't know if binary in the wiki are actual.

EDIT: The wiki page (http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility) lists support for the yh devices.
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 07, 2009, 11:45:35 AM
Yes, it should work but I don'y know how to install the Rbutil patch (http://www.rockbox.org/tracker/task/10373) for YH support  ???
Title: Re: SAMSUNG YH-920
Post by: yapper on September 07, 2009, 11:56:34 AM
The patch you mentioned was closed almost a month ago, so it should be included in the latest version of Rockbox Utility
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 07, 2009, 12:07:52 PM
hmm I use Rbutil v1.2.2 and in the settings I can't select my mp3 player as there is no "Samsung" choice. And Autodetect doesn't work. So what do I have to do?
Title: Re: SAMSUNG YH-920
Post by: saratoga on September 07, 2009, 12:27:57 PM
You can't use rbutil since:

1)  The last release is from June
2)  We haven't released bootloaders so even if you compile an updated version it still won't work.

You need to compile your own bootloader, and then install it manually.  AFAIK the install procedure is identical to the H10 (copy to system folder, rename accordingly).  See the H10 manual if this doesn't make sense.
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 07, 2009, 12:36:48 PM
Ok. And to compile my own bootloader I'm obliged to use SVN, right? I thought that would be easier now since some people have already done it before. I set up SVN on my computer but I can't even execute it... A black window pops up and then nothing...Well using this software is a bit too harder for me.
I'll wait for an easier rockbox install procedure on the YH-820
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 07, 2009, 02:42:08 PM
I tested the latest code abd low_lights fm support patch but i didn't got good results.
There seems to be sound but i can't play files and  i didn't get radio sound.
Title: Re: SAMSUNG YH-920
Post by: kugel. on September 07, 2009, 03:22:24 PM
Does anyone have the link to the paste, or the patch itself, which low_light posted a few days ago in IRC which fixes the screen rotation issues on yh925? I can't seem to find it in the logs.
Title: Re: SAMSUNG YH-920
Post by: lowlight on September 07, 2009, 11:27:10 PM
kugel: It's here: http://drop.io/low_light

lebellium: I've added compiled bootloaders to http://drop.io/low_light. If you test, make sure you get the right one. I suggest you don't overwrite the original firmware file, but rename it to OF.mi4, just in case.

pyro_maniac: You get sound for playback with SVN, right? The radio patch doesn't switch back and forth properly between playback and radio.
Title: Re: SAMSUNG YH-920
Post by: kugel. on September 08, 2009, 09:29:12 AM
kugel: It's here: http://drop.io/low_light

lebellium: I've added compiled bootloaders to http://drop.io/low_light. If you test, make sure you get the right one. I suggest you don't overwrite the original firmware file, but rename it to OF.mi4, just in case.

pyro_maniac: You get sound for playback with SVN, right? The radio patch doesn't switch back and forth properly between playback and radio.


Thanks, I committed it. The PP&AMS bootloader branch holds releasable bootloader now. As soon as someone builds them on the download servers, I'd like to "support" the yh925 at least.

How are the other targets? Are their bootloaders ready to go?
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 08, 2009, 11:54:34 AM
First of all you guys are great!
I thougt that this would bring my YH-925GS to life.
I upgraded my yh-925GS (a long time ago) to the firmware 5.30 US JN.
And the bootloader is 5.01. This caused the losse of FM radia and also theability to transfer whitout an application (MPT mode)
I have tried to downgrade my player via USB mode but all it say is firmware corrupte.
The same thing happens if i try your newly built bootloader.
I am no good at compiling myself, is there a way to solve this?

Best regards Nichlas

BTW: the firmware name is not FW_YH925.mi4 on my player, it is F_YH925J.mi4 (or bootloader, i dont know..)
Title: Re: SAMSUNG YH-920
Post by: saratoga on September 08, 2009, 12:06:31 PM
First of all you guys are great!
I thougt that this would bring my YH-925GS to life.
I upgraded my yh-925GS (a long time ago) to the firmware 5.30 US JN.
And the bootloader is 5.01. This caused the losse of FM radia and also theability to transfer whitout an application (MPT mode)

Rockbox doesn't support MTP, and if you look at the wiki you'll note that FM radio isn't working yet.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 08, 2009, 01:20:15 PM
This caused the losse of FM radia and also theability to transfer whitout an application (MPT mode)
...
BTW: the firmware name is not FW_YH925.mi4 on my player, it is F_YH925J.mi4 (or bootloader, i dont know..)

So this is a 925 with radio hardware. Maybe you can upload your firmware and bootloader file to let us see wich file names are allowed for this bootloader.

@lowlight: yes i had sound on the yh-920 but only with your fm patch. I am wondering because without this patch rockbox gets freezed on playback.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 08, 2009, 03:07:49 PM
I dont know how to upload or accsses the bootloader, but i wish i did. If anyone can help me i would be thankfull.

Anyway, here are the filename and a link to my current firmware that dosent allow FM support:
F_YH925J.mi4
http://rapidshare.com/files/277387558/F_YH925J.mi4.html

Before this firmware i think i had a firmware called FW_YH925.mi4
but i have no idea of the previous bootloaderversion. I updated it years ago.

Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 08, 2009, 03:12:57 PM
I dont know how to upload or accsses the bootloader, but i wish i did. If anyone can help me i would be thankfull.

Anyway, here are the filename and a link to my current firmware that dosent allow FM support:
F_YH925J.mi4
http://rapidshare.com/files/277387558/F_YH925J.mi4.html

Before this firmware i think i had a firmware called FW_YH925.mi4
but i have no idea of the previous bootloaderversion. I updated it years ago.

You have got no rom file?
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 08, 2009, 03:32:14 PM
nope, dosent seem to bee one. If you want i can upload my file library.
The player works tho. Even if it refuses any tampering.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 09, 2009, 02:51:08 AM
nope, dosent seem to bee one. If you want i can upload my file library.
The player works tho. Even if it refuses any tampering.

What revision of bootloader are you using?
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 09, 2009, 03:53:44 AM
It says 5.01 JN
I can connect the divice as UMS by holding FF during poweon, almost as the MPT version of H10.
But i cannot downgrade, or havent succeded yet.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 09, 2009, 04:15:01 AM
Did you tried Rockbox on the device?

Here you get the bootloader from lowlight: klick (http://drop.io/low_light)
Rename your F_YH925J.mi4 to OF.mi4 and lowlights FW_YH925.mi4 to F_YH925J.mi4 and copy it into your SYSTEM directory.
Here your get Rockbox for your device: klick (http://build.rockbox.org/data/rockbox-yh925.zip)
Unpack this on your players root directory.

I know that dualboot will not work for you but we will see if your player loads Rockbox.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 09, 2009, 04:35:42 AM
Sorry, cant get it to work.
I only get the error message:

= FIRMWARE REPAIR =
The divice firmware cant be loaded now.
please, connect to PC and repair firmware
with recovery utility.
It will be turned off

Maybe this Janus bootloader is incompatible with your new one.
If i new how to modify it or downgrade the player i would.
Isn't there a way to flash the internal memory?

Thanks for helping me.

--
OK ihave done some reading. It seems as if my mi4 file uses a different key then the one compiled here.
I tried to get this key with mi4code, i was unsuccessful.
I tried to do the same thing using your firmware and the BL_YH925.ROM as keyfile and that worked fine,
so i know i was doing something right.

I tried to extract the files from the Janus firmware update, in hope of finding my matching bootloader, with little success.
Do anyone have some idea of how to obtain the bootloader for my player in an easy way?
Or are there a way to get the mi4 key without it?
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 10, 2009, 01:14:32 PM
lebellium: I've added compiled bootloaders to http://drop.io/low_light. If you test, make sure you get the right one. I suggest you don't overwrite the original firmware file, but rename it to OF.mi4, just in case.
Thank you so much! I got it! It works!  :o

(http://media.generationmp3.com/lebellium/Rockbox/10092009040.jpg)
(http://media.generationmp3.com/lebellium/Rockbox/10092009041.jpg)
(http://media.generationmp3.com/lebellium/Rockbox/10092009046.jpg)
(http://media.generationmp3.com/lebellium/Rockbox/10092009051.jpg)
(http://media.generationmp3.com/lebellium/Rockbox/10092009052.jpg)
(http://media.generationmp3.com/lebellium/Rockbox/10092009054.jpg)
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on September 10, 2009, 04:03:31 PM
oh wow Rockbox is available for YH-920! Brother will be happy he hates synching with WMP :-D
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 10, 2009, 04:32:47 PM
oh wow Rockbox is available for YH-920! Brother will be happy he hates synching with WMP :-D

Yeah but you need lowlights patch that is linked in a post before.
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on September 10, 2009, 04:40:30 PM
Is there anything I can do to help this along?
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 10, 2009, 04:49:18 PM
Is there anything I can do to help this along?

Keymaps need improvements. The file on the tracker is still open for this.
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 10, 2009, 05:29:09 PM
All is working fine for me. Just one problem: Every time I connect it to the computer as rockboxed, I have to format the device :-\
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on September 11, 2009, 06:45:07 AM
(http://i47.photobucket.com/albums/f184/badbobsausage/samsung-1.jpg)
Awesome  ;D No need for syncing with god awful, slow napster software.

Just one thing that could do with tweaking- volume control. I've plugged IEM's and Grado phones and only can start to hear music when the gradient is quite high up, say last 10% visible actually is the level between no music and loud. I'll get specific -dB values
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 13, 2009, 09:07:35 AM
Great that Rockbox is working fore u guys. And super work from the devs!
I however have not had that much luck.
I have tried to find the bootloader for my F_YH925J.mi4 version of the firmware.
As i can tell it is not easely extracted from the device itself.
I have tried to extract it from the firmwareupgrade_for_MTP.exe.
I think that i have located the file, but it seems to bee encrypted.
If anyone could decrypt it i would be extreamly happy.
Or describe wath encryotion type that is beeing used.

here is the file
http://rapidshare.com/files/279506541/DATAFILES_181.res.html
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 13, 2009, 12:55:08 PM
Great that Rockbox is working fore u guys. And super work from the devs!
I however have not had that much luck.
I have tried to find the bootloader for my F_YH925J.mi4 version of the firmware.
As i can tell it is not easely extracted from the device itself.
I have tried to extract it from the firmwareupgrade_for_MTP.exe.
I think that i have located the file, but it seems to bee encrypted.
If anyone could decrypt it i would be extreamly happy.
Or describe wath encryotion type that is beeing used.

here is the file
http://rapidshare.com/files/279506541/DATAFILES_181.res.html

Maybe you could look here (http://www.samsung.com/download/Model_Select.aspx?type=Digital+Audio+Player&typecode=8&subtype=MP3+HDD&subtypecode=804&model=YH-925GS&filetype=SW&language=) and try the rollback for mtp.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on September 13, 2009, 03:03:02 PM
Sorry i have tried that. It seems as if the device will only be downgraded if it the old bootloader
is in place. It just says, this divice can not be downgraded.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 21, 2009, 04:34:26 AM
What is missing to get "unstable"?
Title: Re: SAMSUNG YH-920
Post by: funman on September 22, 2009, 11:40:34 AM
What is missing to get "unstable"?
bump
Title: Re: SAMSUNG YH-920
Post by: saratoga on September 22, 2009, 12:06:37 PM
Once the front page is in sync with SVN (if its not already), someone with SVN access has to commit an updated front page.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 23, 2009, 07:51:30 AM
hi I started on the SVGs for the manual. For the Samsung YH - 920 and 925.
http://www.rockbox.org/tracker/task/10279
Comments would be welcome.
I also would like to see a higher resolution scan of the pattern below the display of the YH-920, so that I can include it in the picture.
I also may need help with the button placement and labeling.


I just finished Samsung YH - 820 SVG.
http://www.rockbox.org/tracker/task/10286
Comments are welcome.

These tasks are still open.

@lowlight: your fm support patch seems to work for me.
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on September 24, 2009, 03:24:23 PM
Is it possible for Rockbox to turn off that LED?It's bright as the sun 8)
Title: Re: SAMSUNG YH-920
Post by: kugel. on September 24, 2009, 03:46:54 PM
What led?

I'd rather like to have the LED on the yh925 on but it's always off :)
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on September 24, 2009, 03:50:02 PM
(http://i47.photobucket.com/albums/f184/badbobsausage/samsung-1.jpg)

That one, unless that's the backlight LED? Get some black paint out..  ;)
Title: Re: SAMSUNG YH-920
Post by: kugel. on September 24, 2009, 03:50:59 PM
Backlight is something different. I don't think it can be turned off easily.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 25, 2009, 07:23:06 AM
@Mr Whippy: Are you you using the current svn code? I got that device too but not that led on. I use the current svn code plus lowlights fm support patch.

@funman: i definedly can confirm that battery monitoring is working for my yh920. The currently second highest value seems to be near minimum. Maybe you can publsh your battery bench and i will do that on sunday too.
Title: Re: SAMSUNG YH-920
Post by: lebellium on September 28, 2009, 05:47:19 AM
How is dualboot supposed to be working?
On my YH-820 I go to Files>system>OF.mi4 and then I ged ROLO...loading then ROLO...Executing and then nothing. The OF doesn't boot  ???
The second problem is that the battery status indicator shows stange things like 288h left (whouah I'd like to have such a battery life!  ;D )

Could these things be fixed?

Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 28, 2009, 07:47:31 AM
How is dualboot supposed to be working?
On my YH-820 I go to Files>system>OF.mi4 and then I ged ROLO...loading then ROLO...Executing and then nothing. The OF doesn't boot  ???
I don't understand this realy...  :-\


The second problem is that the battery status indicator shows stange things like 288h left (whouah I'd like to have such a battery life!  ;D )
Battery status indicator needs to be calibrated. The same for YH920. There is a battery bench needed for.
Title: Re: SAMSUNG YH-920
Post by: funman on September 28, 2009, 11:07:42 AM
The LED is always on for me

I attach a battery bench I had run some time ago
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on September 28, 2009, 02:19:01 PM
I have to confirm this. On my napster device the led seems to be broken.

I attached my bettery bench too. I will try to get calibration this week.
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on October 02, 2009, 07:29:03 AM
What capacity is the stock YH-920 battery?
Title: Re: SAMSUNG YH-920
Post by: lebellium on October 02, 2009, 04:09:34 PM
Quote
In order to boot the OF, press the left button immediately after the Rockbox bootloader pops up (a half second before may work also, it needs some timing).
Dual boot now works on my YH-820!
Thank you ;D
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on October 03, 2009, 05:54:19 AM
Can rockbox fix the line out noise issue, I remember hearing clicking either from line out or with the dock. I think the noise coincide with the hard drive accessing. My guess is a no.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 03, 2009, 12:16:21 PM
Quote
In order to boot the OF, press the left button immediately after the Rockbox bootloader pops up (a half second before may work also, it needs some timing).
Dual boot now works on my YH-820!
Thank you ;D

Can you confirm that rockbox is completely runnig on your device? Or are there any issues?
Title: Re: SAMSUNG YH-920
Post by: Mr Whippy on October 04, 2009, 03:44:02 AM
Rockbox allows you to set to 1500mah for the battery, but I've done some looking around and it appears the bettery is somewhere around 700-750mah.
Title: Re: SAMSUNG YH-920
Post by: lebellium on October 04, 2009, 04:29:47 PM
Quote
In order to boot the OF, press the left button immediately after the Rockbox bootloader pops up (a half second before may work also, it needs some timing).
Dual boot now works on my YH-820!
Thank you ;D

Can you confirm that rockbox is completely runnig on your device? Or are there any issues?
I don't use the 820 so much because the 3.5mm output has a problem (Only left or right earphone is working) so maybe there are issues I didn't see.
But as far as I know, there are no issues except battery indicator

edit: another serious issue.
I don't remember it did that before but every 2-3second the mp3 player cuts the sound and then get it back 1s later when LCD on. So it's a pain to listen to music. When LCD off there seems to be no problem
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 05, 2009, 01:10:09 AM
edit: another serious issue.
I don't remember it did that before but every 2-3second the mp3 player cuts the sound and then get it back 1s later when LCD on. So it's a pain to listen to music. When LCD off there seems to be no problem

even on the current svn code?
Title: Re: SAMSUNG YH-920
Post by: lebellium on October 05, 2009, 03:01:28 PM
I don't know what is the current svn code. As I can't use SVN on my computer and not familiar with this software anyway, I used lowlight's bootloader (see previous pages) to port Rockbox on my YH-820. I don't know what improvement has been done since then.
I don't know if that can help you but my rockbox version is r22668-090909

edit: okay I set up latest rockbox version (not shown here http://build.rockbox.org/ but I changed the link http://build.rockbox.org/data/rockbox-yh925.zip to http://build.rockbox.org/data/rockbox-yh820.zip and it worked... )
No sound issue anymore. Only battery status issue.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 21, 2009, 02:55:03 PM
I uploaded my battery_bench for napster and yepp version of yh-920.
Title: Re: SAMSUNG YH-920
Post by: kugel. on October 21, 2009, 04:07:40 PM
I uploaded my battery_bench for napster and yepp version of yh-920.

They look both wrong and incomplete.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 21, 2009, 04:19:31 PM
They look both wrong and incomplete.

explain wrong and incomplete! what should i do or make different?
Title: Re: SAMSUNG YH-920
Post by: saratoga on October 21, 2009, 05:23:20 PM
They look both wrong and incomplete.

explain wrong and incomplete! what should i do or make different?

The first one lasts for only 2 hours, and both of them report that the battery is mostly charged when they end.  Either they stopped early or the battery monitoring doesn't actually work correctly. 
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 22, 2009, 01:51:20 AM
Should i try it again?
Title: Re: SAMSUNG YH-920
Post by: dado84 on October 25, 2009, 09:30:23 PM
Hi boys!!

after a lot of try, (hope) I have a good news for you!

I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)

to let it boot it I had to use the Iriver 20 Gb bootloader renamed as YH820_J.mi4
( http://download.rockbox.org/bootloader/iriver/H10_20GC.mi4 )

and now finally it worksss ! :)

hope this is a good news for some of you ;)

byeee !
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 26, 2009, 03:24:46 AM
I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)

What is ment with janus bootloader?
Title: Re: SAMSUNG YH-920
Post by: kugel. on October 26, 2009, 05:29:43 AM
I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)

to let it boot it I had to use the Iriver 20 Gb bootloader renamed as YH820_J.mi4
( http://download.rockbox.org/bootloader/iriver/H10_20GC.mi4 )


The YH820 bootloader renamed to YH820_J.mi4 does not work?
Title: Re: SAMSUNG YH-920
Post by: dado84 on October 26, 2009, 10:59:00 AM
I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)

What is ment with janus bootloader?

Usually the 820 is shipped with 2.10 bootloader or similar;

after the "mtp" update using the "820firmwareupdate_mtp.exe" update file, the original bootloader is overwritten by the v5.00JN version and I haven't found no way to downgrade to the original one.
this update is useful since after that you can use the 820 as a MTP device loading music using a simple copy & paste!

unfortunately with that bootloader no one of the rockbox loader from samsung port was working.

is the same problem posted by the user shadoxx that have the same bootloader.
( http://forums.rockbox.org/index.php?topic=21794.0 )


Quote from: kugel. link=topic=6135.msg157503#msg157503
The YH820 bootloader renamed to YH820_J.mi4 does not work?

Nope.
Unfortunately with all that bootloader the only thing that came out was :
"Connect to PC and repair firmware with recovery utility"

probably the mi4 code for the janus firmware is different from the normal one
the loader I used is 64kb while yh820/920 normal are 47/50 Kb around.

("janus" mean a DRM tech from microsoft , this is what i found reading around )
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 26, 2009, 11:51:24 AM
For the 920 there was a rollback tool for MTP update. Have you found one for the 820? On the global download center there seems to be none but even no MTP upgrade.

Nichlas seems to have the same problem like you with his 925.
Title: Re: SAMSUNG YH-920
Post by: dado84 on October 26, 2009, 11:58:55 AM
nope, i've searched in every samsung download site but for the 820 there isn't a rollback utility, I've found only the one for the 925.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on October 26, 2009, 12:04:11 PM
and where did you find the update?

and rockbox is running now with your h10 bootloader?
Title: Re: SAMSUNG YH-920
Post by: dado84 on October 26, 2009, 04:16:02 PM
and where did you find the update?

and rockbox is running now with your h10 bootloader?

do you mean the Janus update for the 820 ?
you can download it from here: http://rapidshare.com/files/7999029/820firmwareupgrade_for_MTP.exe.html

but be aware that there is no rollback possibility !!!!!!


regarding rockbox; yes. I'm using daily build for the 820 (I trided the 920 one but doesn't start) and I'm using the h10 20gb firmware loader ;)
Title: Re: SAMSUNG YH-920
Post by: ThunderStorm on November 29, 2009, 11:34:04 AM
I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)

to let it boot it I had to use the Iriver 20 Gb bootloader renamed as YH820_J.mi4
( http://download.rockbox.org/bootloader/iriver/H10_20GC.mi4 )


The YH820 bootloader renamed to YH820_J.mi4 does not work?

This does not work if the bootloader is Janus V5 JN

The booting is not successful.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on November 29, 2009, 01:47:51 PM
@ThunderStorm: you missed this

regarding rockbox; yes. I'm using daily build for the 820 (I trided the 920 one but doesn't start) and I'm using the h10 20gb firmware loader ;)
Title: Re: SAMSUNG YH-920
Post by: ThunderStorm on November 29, 2009, 07:27:50 PM
@ThunderStorm: you missed this

regarding rockbox; yes. I'm using daily build for the 820 (I trided the 920 one but doesn't start) and I'm using the h10 20gb firmware loader ;)

I've put rockbox firmware into my YH-820, but it still won't work.
The system hangs at the splash.

So I'm afraid that Janus bootloader is incompatible with our rockbox firmware, but samsung does not provide any tools for writing bootloader area.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on November 30, 2009, 03:08:38 AM
I can confirm that the H10 MTP bootloader does work for the Janus version of the samsung YH-925,booting rockbox.
I have also managed to exchange the hardrive for a 8 GB CF. Will post more in wiki in the future.
However when trying to boot OF i get a strange superimposed upside down message.
Title: Re: SAMSUNG YH-920
Post by: lowlight on December 01, 2009, 12:55:15 PM
I suspect that the Janus versions might require the Rockbox bootloader to be encoded using mi4v3 (like the H10 bootloader). I've made versions of the 820 and 925 bootloaders with this change for someone to verify.

http://drop.io/low_light/asset/fw-yh820-j-mi4
http://drop.io/low_light/asset/fw-yh925-j-mi4

You'll need to rename them appropriately.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on December 01, 2009, 03:56:38 PM
Great job! The bootloader works for rockbox on janus yh-925.
Sadly not with OF. Say's invalid key, and cant load file.
But that's a problem for another day :)

Forgot to try the old OF without Janus.
However it dosent seem to work either.
A screen pops up and says:
"your device is being upgraded for subscription service. Pleas wait until the upgrade is completely finished"
Title: Re: SAMSUNG YH-920
Post by: ThunderStorm on December 02, 2009, 04:59:47 AM
I suspect that the Janus versions might require the Rockbox bootloader to be encoded using mi4v3 (like the H10 bootloader). I've made versions of the 820 and 925 bootloaders with this change for someone to verify.

http://drop.io/low_light/asset/fw-yh820-j-mi4
http://drop.io/low_light/asset/fw-yh925-j-mi4

You'll need to rename them appropriately.


Thanks for your encoded bootloader, it works.

But it says "can't load rockbox.mi4"

I've put rockbox files into correct folders.(/.rockbox)
Title: Re: SAMSUNG YH-920
Post by: lowlight on December 02, 2009, 11:56:19 PM
Thanks for your encoded bootloader, it works.

But it says "can't load rockbox.mi4"

I've put rockbox files into correct folders.(/.rockbox)

Did you catch the error after it says "Can't load rockbox.mi4"?

My svn tree was not clean when I made those bootloaders, but I don't think it should have messed anything up.
Title: Re: SAMSUNG YH-920
Post by: ThunderStorm on December 03, 2009, 08:34:27 AM
Thanks for your encoded bootloader, it works.

But it says "can't load rockbox.mi4"

I've put rockbox files into correct folders.(/.rockbox)

Did you catch the error after it says "Can't load rockbox.mi4"?

My svn tree was not clean when I made those bootloaders, but I don't think it should have messed anything up.


The error message after "Can't load rockbox.mi4" is
"File not found." But I've put rockbox files into my YH-820,into correct paths
Title: Re: SAMSUNG YH-920
Post by: lowlight on December 03, 2009, 05:08:40 PM
If it worked for Nichlas on his yh-925, I can't think of why it wouldn't work on an 820.

Are the Janus versions seen as a USB mass storage device or MTP (you use Windows media player)? It needs to be a mass storage device to save the folder to the right place.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 04, 2009, 04:21:33 AM
@lowlight:
i PMed you some links found by nichlas. Could you have a look?

Are you going to commit your fm support patch soon? For me it worked on both YH-920 models.
Title: Re: SAMSUNG YH-920
Post by: ThunderStorm on December 04, 2009, 07:37:00 AM
If it worked for Nichlas on his yh-925, I can't think of why it wouldn't work on an 820.

Are the Janus versions seen as a USB mass storage device or MTP (you use Windows media player)? It needs to be a mass storage device to save the folder to the right place.

I placed it into my player when the player is recognized as a USB mass storage device. I pressed the forward button when I plugged it onto my computer. But I still don't know why it won't load the rockbox firmware(even if the bootloader works)
Title: Re: SAMSUNG YH-920
Post by: Nichlas on December 21, 2009, 01:50:44 PM
I don't know what difference this may do, but i found out the mi4key for the 925 Janus firmware.
I thought that it might be useful somehow in regards to getting the old OF to boot with the janus bootloader.
I used the dump ROM tool in debug and searched for a key in the file with mi4code.
Maybe its already been done?

Here is the key: 297961d2 ef77b629 2b401fd7 a58e486b

Link to decrypted janus firmware:

http://ul.to/ja8s9x

Merry Christmas

Edit:
I now have dual boot with the janus bootloader in flash and lowlights super bootloader on CF!
AND i got my radio back in OF!
This had nothing to do with the above, i just tried another old firmware file and i got the: database corrupt please connect and run repair util. Then i managed to find a copy of the the old firmwares systemfolder online.
And behold, it works!
Another nice thing is that i dont need to hit reset between OF and Rockbox, i think this is thanks to that the janus bootloader
is running in the background.

Thats all, good night!
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 23, 2009, 06:23:21 AM
I used the dump ROM tool in debug and searched for a key in the file with mi4code.

Which dump tool do you mean? You also have the jasnus bootloader file?
Title: Re: SAMSUNG YH-920
Post by: Nichlas on December 23, 2009, 06:55:03 AM
O sorry forgot to post the rom.
I used the dump rom content in the debugg menu to get to the janus bootloader.
I might be completley off, but the file generated worked to get the key for the firmware.

Here is a link to the rom file:
http://uploaded.to/file/hb0k8t
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 23, 2009, 08:51:11 AM
O sorry forgot to post the rom.
I used the dump rom content in the debugg menu to get to the janus bootloader.
I might be completley off, but the file generated worked to get the key for the firmware.

Here is a link to the rom file:
http://uploaded.to/file/hb0k8t

You talk about the OF debug menu? How did you get access to it?

EDIT: Hmm its a pitty but this bootloader looks only for "SYSTEM\F_YH925J.MI4" nothing else unlike the other ones.
Your dump looks like there are 2 bootloader in the file.

EDIT2: I was right. Your dump seem to include the bootloader and its backup. I attached a .tgz file.
Title: Re: SAMSUNG YH-920
Post by: kugel. on December 23, 2009, 10:13:07 AM
O sorry forgot to post the rom.
I used the dump rom content in the debugg menu to get to the janus bootloader.
I might be completley off, but the file generated worked to get the key for the firmware.

Here is a link to the rom file:
http://uploaded.to/file/hb0k8t

You talk about the OF debug menu? How did you get access to it?

EDIT: Hmm its a pitty but this bootloader looks only for "SYSTEM\F_YH925J.MI4" nothing else unlike the other ones.
Your dump looks like there are 2 bootloader in the file.

EDIT2: I was right. Your dump seem to include the bootloader and its backup. I attached a .tgz file.

He probably means the dump rom function in the Rockbox debug menu.
Title: Re: SAMSUNG YH-920
Post by: pyro_maniac on December 23, 2009, 10:22:40 AM
Ok, i hoped it was the OF debug menu.
Title: Re: SAMSUNG YH-920
Post by: Nichlas on December 27, 2009, 03:01:04 PM
Sorry to say that i did use the Rockbox debug menu, it had been usefull i imagine to uncover the OFs debug mode.

Anyway i hope the key and ROM dump can be of some use, i dont have the knowledge to analyze it, but i figure that the key at least can bed added to mi4code, and the minor version of it used in rockbox source. Then one could build a bootloader supporting the booting of the Janus firmware also (why one would want that i don't know) and maybe use triple booting, OF-Janus, OF and rockbox.
If a uniform format is required for rbutil, an instruction to update to Janus for all players could be used and thus making a rbutil with only one bootloader per samsung player?

Hope you all had a good Christmas.   
Title: Re: SAMSUNG YH-920
Post by: AronVanAmmers on December 28, 2009, 10:32:16 AM
I can confirm the bootloader from Lowlight (http://forums.rockbox.org/index.php?topic=6135.msg158824#msg158824) works on an YH-925GS with the MTP update. The bootloader should be called F_YH925J.mi4.

I've tried booting the different flavours of original firmware:


Personally I'm only interested in the non-MTP OF, because it will re-enable the FM radio which was removed by the MTP upgrade.

Rockbox itself works very well. I didn't encounter any serious issues.

Thanks a lot for this from a new happy Rockbox user :)

Cheers,
Aron
Title: Re: SAMSUNG YH-920
Post by: Nichlas on January 13, 2010, 12:26:49 PM
Got this from AronVanAmmers, after he tried a copy of the system folder from OF:

"Cheers, the OF works! Finally I have my FM radio back. This device has become so much cooler today."

So one more has got their radio back on Janus firmware.

This new bootloader is great!
Title: Rockboy
Post by: AronVanAmmers on January 17, 2010, 10:27:02 AM
Hi,

Indeed I'm a happy Samsung YH-925GS Rockbox user with restored FM radio functionality :)

Now that I've finished most of the Rockbox games (looove MazezaM and codebreaker :)), I've tried running Rockboy on the YH-925GS. I know Rockboy isn't core functionality and results vary, but I want to see what I can get it to do.

Running Rockbox r24117-091226.

Results (on simple greyscale games like Super Mario, Tetris and Prince of Persia):

- games are playable
- Keys work: up/down/left/right, rec=start, fwd=select, play=A, rev=B (or maybe the other way around)
- speed is about 50% of what it should be
- sound is distorted (it seems to play for about half a second, then silence, then play again, etc., with some ticks in between)
- can't reach the Rockboy menu, so can't try things like changing the palette or frameskip. I've tried the hold switch, combinations of keys and holding keys for a longer time.

Anyone tried this and got better results? How can I reach the Rockboy menu?

Cheers,

Aron
Title: Re: SAMSUNG YH-920
Post by: richardash1981 on September 15, 2010, 03:51:37 PM
Is anyone still working on this? I've successfully got my S/H YH-925 running Rockbox following the wiki, but there are a couple of things which wouldn't harm for some attention:

* I can't get the original firmware boot to work, it always loads Rockbox. I'm a bit confused about boot loader vs main firmware, as I get the Samsung "Boot Loader" splash screen followed by Rockbox loading, and I'm not sure when to press left

* This player (a UK-bought YH-925 with Samsung on the case) definitely has an FM radio which works with the v2 firmware (this player has not been updated to Janus and I intend to keep it that way!), I haven't yet tested the patch to see if it can be got to work

* I suspect the backlight of never going out, which eats up the battery. I certainly can't see the screen getting brighter when I press the buttons

If internal voltage traces are needed have a 'scope and can take it apart to find out what the original firmware does (once I get it to boot it). Ditto if the contents of the original 925 SYSTEM directory (Build 2.13?) are useful I can post the tarball somewhere.
Title: Re: SAMSUNG YH-920
Post by: saratoga on September 15, 2010, 04:08:40 PM
Is anyone still working on this?

Since you're the first person to post in this thread in almost a year, probably not. 
Title: Re: SAMSUNG YH-920
Post by: jimbo70 on June 27, 2011, 08:58:47 AM
I own a 820 with janus bootloader, and finally this night I've been booting rockbox !!! :)
to let it boot it I had to use the Iriver 20 Gb bootloader renamed as YH820_J.mi4
( http://download.rockbox.org/bootloader/iriver/H10_20GC.mi4 )
and now finally it worksss ! :)

Dado, you're a damn genius!!!  ;D
It works like a charm!!
I just registered to the forum to thank you for this simple solution!

ps
please developers, clean up the page dedicated to the YH 820 model, there are vague and conflicting instructions, just point them to Dado's workaround.
Title: Re: SAMSUNG YH-920
Post by: saratoga on June 27, 2011, 11:28:06 AM
please developers, clean up the page dedicated to the YH 820 model, there are vague and conflicting instructions, just point them to Dado's workaround.

Its a wiki.  If you know how to improve something, just edit it yourself. 
Title: Re: SAMSUNG YH-920
Post by: Astearon on November 14, 2011, 05:39:11 PM
I don't know if it has been fixed or not but is the backlight working now? I have a build that changes the backlight intensity once i set it to OFF but it's not actually turning off. Is there a build or patch out threre that has the backlight working properly on the YH-925 ?
Title: Re: SAMSUNG YH-920
Post by: kugel. on December 02, 2011, 04:19:39 AM
It's a long time since I used my yh925, but I remember you just couldnt turn off the backlight completely. Neither in the OF nor in Rockbox.
Title: Re: SAMSUNG YH-920
Post by: musicismyname on December 22, 2011, 03:26:43 PM
I have a SAMSUNG YH-820 and I have installed rockbox on it, but when scrolling through menus etc it takes it time to respond, so slow, if I click a setting I have to wait for it to pop up, also same when I hold the play button down which turns it off, I have to wait ages. it plays fine but so slow to do anything on it

EDIT: don't anyone here read the posts any more as would have thought I would of had a reply by now
Title: Re: SAMSUNG YH-920
Post by: saratoga on December 23, 2011, 02:32:25 PM
I have a SAMSUNG YH-820 and I have installed rockbox on it, but when scrolling through menus etc it takes it time to respond, so slow, if I click a setting I have to wait for it to pop up, also same when I hold the play button down which turns it off, I have to wait ages. it plays fine but so slow to do anything on it

EDIT: don't anyone here read the posts any more as would have thought I would of had a reply by now

This is a development forum.  People will reply when you post the solution to the problem :)
Title: Re: SAMSUNG YH-920
Post by: musicismyname on December 23, 2011, 03:37:08 PM
Quote
This is a development forum.  People will reply when you post the solution to the problem :)

so where do you post problems then as I cant see where
Title: Re: SAMSUNG YH-920
Post by: Xorbret on January 02, 2012, 01:13:53 AM
I have a YH-920 running rockbox but can not seem to pause. Anyone else have this problem?
Title: Re: SAMSUNG YH-920
Post by: jimbo70 on April 13, 2012, 05:59:10 PM
I have a SAMSUNG YH-820 and I have installed rockbox on it, but when scrolling through menus etc it takes it time to respond, so slow, if I click a setting I have to wait for it to pop up, also same when I hold the play button down which turns it off, I have to wait ages. it plays fine but so slow to do anything on it
I don't have this problem at all, I use some build from 2011 (I don't have the 820 handy now, so I can't check which exactly), but menus are responding normally and quickly.
Title: Re: SAMSUNG YH-920
Post by: hassawy on April 26, 2012, 07:24:55 AM
Hello, my 820 runs rb for 2 years. It works very well. Thanks for your hard working. Now the only problem is battery monitoring. I scaned some pictures but there are too big. Anybody can tell me how to post them. Maybe it's helpful.
Title: Re: SAMSUNG YH-920
Post by: Chronon on April 28, 2012, 04:04:44 AM
The best thing would be to upload them to the wiki.  Click on the "wiki" link to the left and read the bit at the top on how to register an account.
Title: Re: SAMSUNG YH-920
Post by: bertrik on April 28, 2012, 04:51:48 AM
hassawy, exactly what problem do you have with battery monitoring?
I see we do compile code into the yh820 rockbox image for an analog-to-digital converter (adc), so perhaps it's just a matter of identifying which channel of the adc is used for monitoring the battery voltage.
Title: Re: SAMSUNG YH-920
Post by: hassawy on April 28, 2012, 07:49:54 AM
Remain power always shows 93% on my 820.

Post Merge: April 28, 2012, 08:02:06 AM
I can't register the Wiki, access is denied. I can send an Email, the pictures is 2.42 MB.
Title: Re: SAMSUNG YH-920
Post by: Chronon on April 30, 2012, 10:25:00 AM
Have you asked for write access?
Title: Re: SAMSUNG YH-920
Post by: bertrik on May 14, 2012, 04:35:05 AM
Scans of the PCB are useful, but at this point I think it's probably more likely that we get voltage monitoring working just by trying out all of the different voltage measurement channels of the ADC. I can probably help you with that if you show up on the IRC channel around GMT 18:00 hours (CEST 20:00 hours).
Are you capable of compiling a custom rockbox build (like do you have a linux box with the compilers and tools set up)?
Title: Re: SAMSUNG YH-920
Post by: bertrik on May 20, 2012, 10:30:45 AM
I pushed an experimental patch for YH-820 battery voltage monitoring to gerrit: http://gerrit.rockbox.org/r/#change,243
Title: Re: SAMSUNG YH-920
Post by: hassawy on May 23, 2012, 08:50:12 AM
Thx for your reply. Unfortunately I don't have linux. Could you please compile this RB? I can do this experiment.
Title: Re: SAMSUNG YH-920
Post by: obarriel on June 18, 2012, 09:18:29 PM
I have installed the latest build and playback does not seem to work ok. It takes around 5 seconds  from selecting a song until it starts playing, and then after 5 seconds playing it freezes for 2-3 seconds more.
After that it plays ok. I am using a player modded with a CF if that may have something to do.

Where can I donwload a build from 2011 or 2010 to check if I have the same problem with those?
Title: Re: SAMSUNG YH-920
Post by: saratoga on June 18, 2012, 11:13:37 PM
Where can I donwload a build from 2011 or 2010 to check if I have the same problem with those?

I don't think we save old builds for unstable targets, so you'll probably have to compile from source.
Title: Re: SAMSUNG YH-920
Post by: MeMagus on September 14, 2013, 01:09:49 PM
Hi! Can I get line out from this device? First , I replace hdd to cf 32gb. Second - battery from Nokia (bl - 5b 1500 mah). in the future I want to connect a portable amplifier device. without the dock of course. If the opportunity to modify the cable as the Sansa fuse?
Title: Re: SAMSUNG YH-920
Post by: Astearon on November 26, 2014, 08:05:52 AM
kugel: It's here: http://drop.io/low_light

lebellium: I've added compiled bootloaders to http://drop.io/low_light. If you test, make sure you get the right one. I suggest you don't overwrite the original firmware file, but rename it to OF.mi4, just in case.

pyro_maniac: You get sound for playback with SVN, right? The radio patch doesn't switch back and forth properly between playback and radio.

Anyone still have the YH-925 bootloader for the Janus version ? I am on 5.01JN Bootloader and have not been able to find the right file anywhere :(