YP-R1 Modded Firmware 4.00
Lorenzo and me are pleased to announce that the 1st modded firmware for the YP-R1 is now released. We hope you'll enjoy it as it took us long time to develop it and write the long readme below. Moreover Lorenzo worked on that project whereas he doesn't even own a R1 so you can really thank him. :)
Alternative Download Link
YP-R1 firmware mod
- just some fixes and improvements for our beloved player -
Latest Version: v4.00
Based on firmware: v3.07
NOTE: this firmware is as stable as the official firmware 3.07.
#### Changelog ####
** Version: 4.00 - 12/09/2011 **
- Safe Mode (the R1 can be connected to the computer in any situation, even when the device is bricked - also gives access to the hidden memory)
- CPU downclocking tool (downclock the CPU frequency from 532 MHz to 200 MHz to improve a bit battery life)
- DRK (Device Rescue Kit - Easily unbrick a R1)
- Sysdata customization possible (the user can customize the interface pictures, language files, sounds and fonts himself!)
- Translation improved in French language (NOTE: please give us an hand with translations in other languages!!)
#### How to install firmware 4.00 ? ####
Like for any official firmware, just put the R1.ROM file at the root of the R1. At next startup it will automatically update the firmware.
#### DRK aka Device Rescue Kit ####
This framework works on the R1's internal memory. It allows a normal user to unbrick a bricked R1 or simply save his settings before a firmware update and restoring them after.
1. Using pre-made files
That's the best and easiest way to use the DRK for most users. In the firmware 4.00 archive file you downloaded, there is a DRK folder. Just copy & paste it at the root (main directory) of the R1.
Inside this DRK folder you can see 5 files. These files are already provided WITH "_DONE" extension. This keeps them from executing automatically, it's like the OFF position. When you want to use a feature, just delete _DONE from the file name to turn it ON. After the selected feature ran on device, the file is automatically renamed with the _DONE extension.
2. Creating one's own files
This way is only recommended for advanced users.
Create a folder called "DRK" in the root (main) directory of the R1.
Into this folder create an empty file (using Notepad for example) and name it according to the feature you want to enable (see the 5 possibilities below)
NOTE: case sensitive!!
NOTE: please remember NOT to add any extension to file name. By default Windows hides file extensions. Please enable them to be able to delete the potential extension coming when you create the file.
When the feature ran on device the file is automatically renamed with a "_DONE" extension to keep it from executing automatically. Just delete this extension to execute the feature again.
Backup_settings -> saves the current settings to an automatically-created SETTINGS folder at the root.
Restore_settings -> restores the settings contained in the SETTINGS folder (you can restore only RadioApp.ini too, for example. In this case you just have to remove the other settings files)
Delete_settings -> removes the settings from the player
Clean_database -> deletes the library database from the player (WARN: That way it may have some problems to boot. Just retry booting it for a few times ;))
Nand_Killer -> WARN: this erases nand content (format). Removes eveything from the user memory (4-8-16-32 GB storage). Use it as last resort solution!! As you run this feature from the internal memory, the R1 may get stuck on the boot screen. In this case wait a little (1 min for instance) then press reset and start the device.
The Nand_Killer feature formats the device using the 8192 bytes allocation unit size instead of the default 4096 bytes. This may cause slower transfer rates. That is why, after using this feature you should reformat the device from the R1's settings or from your computer.
Please DO NOT use/try NTFS or other filesystems than FAT32: they aren't supported by the kernel, thus bricking the device again.
Using several features at the same time is allowed. Just don't use strange mix like backup_settings and restore_settings ;)
After a process has run, please note that the file is renamed to _DONE. This prevents a second call to the same function ("dangerous" hehe). To reuse it, simply delete the _DONE extension.
After putting the DRK folder and the desired feature file(s) inside on the R1, please turn off the device and reset it.
Turning on the device starts the selected process(es). Some of them need reboot so the device will automatically shut down. Simply restart it to see the result :)
NOTE: a file called DRK_debug.txt is created at the root everytime you use DRK tool.
It is not directly necessary, but it can contain useful informations to analyze problems (I hope none for the moment)
#### Safe Mode ####
The Safe Mode allows a normal USB connection to the computer in any situation, even when the R1 is bricked and not normally recognized by the computer anymore. Indeed, the Safe Mode starts even before the R1 application is loaded! That way you can easily unbrick the device (see "How to unbrick a R1?" below).
Moreover it gives you access to the hidden memory of the R1 containing the settings and some data. That's useful for the Sysdata customization (see "Sysdata customization" below).
How to enter the Safe Mode? Make sure the R1 is fully off (press reset). Then connect it to the computer. As soon as you see the Samsung boot screen, press and hold the "volume up" key until you see the Safe Mode screen on the R1.
Now in "My Computer" or in your drives manager you should see 2 volumes: the usual R1 internal memory AND the "NEO-GHOST" (sometimes also called "Samsung microSD") volume (hidden memory).
As written on the Safe Mode screen, "after editing system files, unmount the volumes (=safely remove the device) before disconnecting the USB cable!"
Once you disconnected the USB cable, press reset to turn off the device.
NOTE: in this mode, the battery is charging as usual. There isn't just any indicator.
#### How to unbrick a R1 ? ####
If your R1 is stuck on the boot screen at startup and is not recognized by the computer anymore, don't worry. With this modded firmware you can unbrick it!
Of course your R1 has to be in firmware 4.00. If it is in the official firmware (from 1.xx to 3.xx) you cannot unbrick the device yourself, you have to send it back to the Samsung after-sales service center.
There are 2 different ways to unbrick the device:
1) Using the DRK
You have to connect your R1 to the computer in Safe Mode (read the Safe Mode instructions above). Then run the DRK's Clean_database feature following the DRK instructions above. It will rebuild the database at next startup. In most cases that should be enough to unbrick the player.
However, if the R1 still doesn't boot, use the Delete_settings feature and as last resort solution the Nand_Killer feature.
2) Deleting manually the problematic files - for advanced users only -
If you don't want to use the DRK, you can delete the problematic files yourself.
For that you have to connect your R1 to the computer in Safe mode (read the Safe Mode instructions above). Then go to the hidden memory ("NEO-GHOST") and delete the "Db" folder and the "EntryList.ent" file at root.
At next startup it will rebuild the database. In most cases that should be enough to unbrick the player. However, if the R1 still doesn't boot, format the memory.
#### CPU Downclocking tool ####
By default the R1 CPU (=processor) frequency is set at 532 MHz. It is possible to downclock it to 200 MHz to improve a bit battery life. By how much depends on what you do with the player.
With continuous music playback and display off the battery life is not really better but for a mixed-use (if you use several features, navigate on the player with display on etc...) you should notice an improvement.
However at 200 MHz the User Interface is much slower and laggy and the DNSe effects are not usable anymore (jerky sound playback when display is OFF).
To activate the downclocking tool make sure the R1 is fully off (press reset), then turn it on and as soon as you see the Samsung boot screen, press and hold the "volume down" key until you see the home menu.
To disactivate the dowclocking tool and then come back to 532 MHz, just repeat the previous operation (press the "volume down" button at startup) or delete the "cpu_downclock.on" file from the "NEO-GHOST" memory (see the Safe Mode instructions above)
NOTE: This is still experimental. Please give us your feedback about the battery life improvement you measured.
#### Sysdata customization ####
The Sysdata folder (into the Mods folder) provided in the firmware 4.00 archive is fully customizable. Below are the main things you can change and customize.
But first you have to put this Sysdata folder at the root of the "NEO-GHOST" memory (see the Safe Mode instuctions above). The R1 first checks if a Sysdata folder is present in the "NEO-GHOST" memory. If yes, it will load this one. If no, it will load the default hidden Sysdata folder.
Thus if you want to cancel all your modifications, you just have to delete your Sysdata folder from the "NEO-GHOST" memory.
1. Startup and Shutdown sounds
You can replace the default startup and shutdown sounds in the "Auidata" folder. They have to be in WAV format and the file names have to be "power_on.wav" and "power_off.wav".
If you want the startup and shutdown sounds to be removed, you can replace the default files by the empty files in the "No Startup & Shutdown Sounds Mod" folder of the Firmware 4.00 archive.
Actually you are obliged to replace the files, you cannot just delete them. If there is no file in the Auidata folder, the R1 will make a terrible noise at startup.
NOTE: The default files properties are WAV PCM 16 bit 352 kbps 11 KHz. Other audio properties may work but not guaranteed
2. Language files
Firmware 4.00 and the provided Sysdata folder already contains improved translation in French language.
But if you are not satisfied with this translation or want to improve the translation in another language, you can edit the TXT files in the "UniArray" folder.
Don't remove strings and make sure there is not twice the same string in your new translation otherwise the R1 won't read the TXT file properly.
The best way to edit the file is to check on the R1 what word or sentence you want to improve and then to look for the related string in the TXT file.
Translate every string of the TXT file without checking on the R1 is useless as many strings don't concern the R1 (it's the same file for R0, R1, M1 and other players)
You cannot add a 4th font but you can replace the 3 default ones (Candy, Gothic & Jumok). They are in the "Font" folder.
For the replacement, most TrueType fonts should work properly.
For example if you want to replace the Candy font by let's say Arial, just delete AV_candy_kr_v.ttf, put arial.ttf in the folder and rename this file to AV_candy_kr_v.ttf.
The only thing you must bear in mind is that there always has to be 4 files named "AV_Big_gothic_kr.ttf", "AV_candy_kr_v.ttf", "AV_gothic_kr_v.ttf" and "AV_jumok_kr_v.ttf" in the "Font" folder.
4. Interface Customization
If you are motivated enough you can even customize the interface. Indeed, the "Image" folder contains the different pictures the interface is made of.
Some of them are in JPG, BMP, GIF or PNG format. Thus, it's easy to edit or replace them, you just have to use the same resolution and format.
But as you can see, many others are in QWG format. Unfortunately this is a proprietary format and there is no editor available as of today.
#### Credits ####
__ Lead developer, System Mods __
<Lorenzo92 aka MemoryN70 - memoryS60 at gmail dot com>
__ Community Manager, beta tester, (ugly) Safe Mode screen and French Language __
...Finally thanks to abi forum too!!
"Kristen ITC Normal" Font
I saw this thread on bbs.imp3.net
Thank you very much for doing this.
I'm translating this passage into Chinese. Still need some time as it's to long. As soon as I finish it, please post it on bbs.imp3.net to instead the English version~ So many Chinese fan can enjoy and understand this poject better~
All right, waiting for mine.
Indeed I noticed most people on bbs.imp3.net don't really understand English. Maybe that's why my threads in English are not so successful there hihi :D
I've translated this passage into Chinese. The content is in the attachment. I'm really appreciate you, the two masters' work. So I'm glad to do this job to let more Chinese fans to understand this project better. I hope you will continue the job to give us more surprise~;)
PS.you can use this chinese post title: 修改版YP-R1固件，一起DIY你的R1
I just needed to change the encoding language in my notepad. I convert it to simplified Chinese.
If I have any question, I will put them on here~
Anyway, thanks for doing this project again;)
Actually participating in foreign and particularly English web forums is not allowed by the Chinese government. They believe you are a spy from the CIA so they decided to ban you from bbs.imp3.net :D
Can you access this page: http://zh.wikipedia.org/wiki/%E4%B8%...AE%A1%E6%9F%A5 ?:D
No,I can't. Access restricted.I used to it.
But we can browse these by special methods~:D
Chinese are clever enough to avoid these restricts legally~
After somedays test, I found that the DRK didn't work. I just put the file 'Backup_settings' at the root of my R1 then reboot it. But there's no change. No new floder called SETTINGS was created at the main directory. Is it a bug or something I did was wrong?
Besides, for example, when I just need to change the font, I have to copy the whole Sysdata floder at the root of the "NEO-GHOST" memory. Could it be more convenient that just put the floder I want to change to customize the function I need?
At last, I test to replace the audio files. I found that the player only work properly when I replace the audio files with the same properties.(WAV PCM 16 bit 352 kbps 11 KHz) Others may cause the noise.
PS. the "EntryList.ent" isn't at the root of R1. It's in the folder called "Record"? or something like that?
-"Backup_settings" has to be in a "DRK" folder, not directly at the root of the R1.
-Hum I don't know if it would be really more convenient and if it is possible to change that. I let Lorenzo reply
-Maybe I did a mistake in the readme file, on the R1 the "EntryList.ent" file seems to be in the "RecordedList" folder
- I don't really know if that works, most probably don't. Beacause I don't think the R0 is so clever that makes a "partial" mount of sysdata.bin....
Anyway, once copied you can mess it without restrictions hehe
- For this I cannot say anything. Maybe if someone attaches me the content of media1...I don't own a R1 :(
I have tried to install this firmware.
I put the ROM file into the root of the R1 and the player showed as Updaing Firmware.
However when I switched back on, the player get stucks on the R1 screen and won't start up.
My PC also doesn't recognise the R1 when I connect.
If the firmware has been correctly upgraded, you should be able to fix that issue easily.
Check the "#### How to unbrick a R1 ? ####" part of the readme file.
Does it show Library updating or something similar?
If you cannot unbrick it, simply copy the original rom using the Safe Mode (maybe wait a little - 30,60 minutes- into this mode to charge the battery)
I's a pity I don't own it so tests are quite difficult for me to be done...
I'll contact lebellium for more informations, meanwhile try all the above solutions!
EDIT: if yours was a battery low during update, we must hope that at least CRAMFS was written. So Safe Mode will be still available!
Otherwise...is your R1 on warranty? Because if it is, don't worry! No Samsung Center has the tools to extract the firmware, nor to restore it in order to check its version (repair centers specialists don't care about hacks etc at least for these models!!) - 99,999% your player will be fixed for free...You can just tell them that you were uploading some music while it shutted down automaticly becoming dead ;)
Don't tell them about software upgrade, or at least tell that you were updating it with the firmware 3.0X (latest) of samsung.
I can get it into Safe Mode.
I've tried Cleaning Database, Deleting Settings and also copying the ROM file. All have failed so far.
I'm gonna try my usual method of unbricking i.e. running the battery down to empty.
This is time consuming. so I won't post again for a few days.
(Also no warranty)
Ah are you able correctly to read/write from memories in the safe mode?
If the "nand" (in other words, the yp-r0 internal storage) won't work for pc I guess it has serious physical problems, not related to my mod.
AH! It's not that perphaps you putted on a malformed Sysdata folder?
Get into media1 (showed up in pc as neo-ghost or samsung microsd) and delete the sysdata folder, if any.
EDIT: DON'T try, for now, to restore the original firmware, because mine has safe mode. The original NOT!!!!
!!!! WARNING !!!!
Another try is to delete everything from media1 (neo-ghost or samsung microsd in "my computer"). Maybe it's better to copy these files to the pc firstly.
I have run the battery down and yes it did not work.
I did not have a sysdata folder and I have also tried to delete everything from media1.
I was going to try and install 3.07 again - but a good job I read your post first!
Do you have any other suggestions?
Maybe, if you want, we can try something other before you downgrade to original firmware, because I'm worried that after the original firmware will be installed, you will still face the problem - this time but without safe mode -.
Can you access to the nand of the player (internal storage) correctly?
If yes I'll pass you a script to run on it to see what's the fault.
Otherwise, well, try to format it! But for this it's better to have your email (can you send it via PM?)
Thanks for your tests, these will be very useful to understand why this bad fault.
|All times are GMT -5. The time now is 12:40 PM.|