android
  #321  
Old 10-25-2011, 06:57 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

http://www.rockbox.org/tracker/task/12348

Here you can find the patch to compile a YPR0 rockbox.
Of course you won't be able to compile it sucessfully now: you need the SDL lib for R0 (well it's just a normal sdl cross compilation, just disabling some options + static link to libasound of cramfs)
And moreover, to run it you need a script that set up some environment sdl vars + enables sound (an hack till as3543 audio part will be ready)



EDIT: now that I see a sooo buggy and uncomplete kernel, please lebellium, remove Android from the title
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by Lorenz092; 10-28-2011 at 06:48 AM.
Reply With Quote

Advertisement [Remove Advertisement]

  #322  
Old 10-28-2011, 01:45 PM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,611
Default

Some pics about what you'll get soon *hopefully* on your R0

My R0 theme


Rockboy !!!
(on the pics the screen size is scaled without maintaining the ratio but it's possible to maintain the ratio and even rotate the screen!)

Mario Tennis powaa


The Legend of Zelda, Oracle of Ages


Super Mario Land


edit Mario Tennis:
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*

Last edited by lebellium; 10-28-2011 at 06:50 PM.
Reply With Quote

  #323  
Old 10-28-2011, 06:36 PM
MrVibrating MrVibrating is offline
Junior Member
 
Join Date: Jan 2011
Posts: 23
Default

Et voila! C'est magnifique..!
Reply With Quote

  #324  
Old 10-28-2011, 07:01 PM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,611
Default

Natürlich this is magnifique

Thread renamed as Lorenzo requested. Indeed nobody cares about a Android port, this wouldn't be usable, that would just be for "fun" (who would use Android on a device with a 532Mhz CPU, a 2.6" non-touch screen and no Wifi chipset...).
The Rockbox port may be really usable and may replace the original Samsung firmware in our daily use.
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*

Last edited by lebellium; 10-28-2011 at 07:27 PM.
Reply With Quote

  #325  
Old 10-29-2011, 06:09 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Thanks you all!

Indeed Android is crap for a device like this, moreover our kernel is locked to the original one because recompiling it makes a lot of strange bugs (I'm 99% sure they didn't share with us right code or they used a special toolchain).

So now I(or someone who wants to help because I'm still a novice in C hehe) need to write the framebuffer use in rockbox.

In this way, to test rockbox you won't need to flash anything but my modded firmware.
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!
Reply With Quote

  #326  
Old 10-29-2011, 07:57 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Okay!!!

Great. Now RockBox runs directly using my modded OF
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!
Reply With Quote

  #327  
Old 10-29-2011, 03:15 PM
Appick's Avatar
Appick Appick is offline
Junior Member
 
Join Date: Mar 2011
Location: France
Posts: 83
Default

This sounds great - I think (to paraphrase lebellium from another post).
__________________
Appick
Reply With Quote

  #328  
Old 10-29-2011, 05:37 PM
snowolf11 snowolf11 is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
Thumb Up

Quote:
Originally Posted by lebellium View Post
Some pics about what you'll get soon *hopefully* on your R0

My R0 theme


Rockboy !!!
(on the pics the screen size is scaled without maintaining the ratio but it's possible to maintain the ratio and even rotate the screen!)

Mario Tennis powaa


The Legend of Zelda, Oracle of Ages


Super Mario Land


edit Mario Tennis:
lebellium: please give me your theme for r0.
Reply With Quote

  #329  
Old 10-29-2011, 08:14 PM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,611
Default

My theme is not finished yet and anyways you can't use it yet except if you have a Rockboxed Toshiba Gigabeat. R0 users still have to wait a bit for the release of the beta version of RB. Then I'll share the theme of course.

After hours of work today:

Samsung-like Theme

Main Menu




Mini-player displaying at the bottom when you navigate through the menus with music playback on play or pause.




While Playing Screen (with repeat, shuffle and hold mode enabled)




WPS when no album art




Graphic bar displaying when adjusting the volume like in the official firmware (+ numeric volume always visible in the top bar. here: -28dB)

__________________
I'm French^^ *GenerationMP3 Samsung Moderator*

Last edited by lebellium; 10-29-2011 at 08:24 PM.
Reply With Quote

  #330  
Old 10-30-2011, 06:14 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

hoho nice lebellium.

You exploited the hour-change to work 1 hour more in the night

Anyway yes we will release a beta, but before that there are still something to fix, to say:

- fix some graphical glitch after my SDL removal to framebuffer conversion
- implement ascodec volume management, as well as mute and power save
- fix hold button
- display battery %

not necessary for the beta

- prepare a nice loader (ie with a button hold at boot, you return to original r0 app)
- radio
- etc etc etc etc x 100
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by Lorenz092; 11-01-2011 at 02:20 PM.
Reply With Quote

  #331  
Old 11-01-2011, 01:51 PM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Okay. Just implemented AS3543 for the volume part.
Rockbox is rocking always better and better hehe.

So THE feature inserted (dfkt I know you will love it ) it's BALANCING!!!

Needs still proper tuning (mute doesn't seem to work) but we are closer.
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by Lorenz092; 11-01-2011 at 02:34 PM.
Reply With Quote

  #332  
Old 11-01-2011, 02:21 PM
dfkt's Avatar
dfkt dfkt is offline
Ultra Senior Member
 
Join Date: May 2006
Location: Vienna, Austria
Posts: 15,330
Default

Quote:
Originally Posted by Lorenz092 View Post
So THE feature inserted (dfkt I know you will love it ) it's BALANCING!!!
Seems it's about time to get an R0. Great job, Lorenzo.
Reply With Quote

  #333  
Old 11-03-2011, 04:40 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by dfkt View Post
Seems it's about time to get an R0. Great job, Lorenzo.
Hehehe. First of all thanks
Secondly, yes, R0 is now a good player hihi. But there is still lots to do indeed.

Yesterday I tried to enable AS3543 powermanagement throug the rb driver but I ended messing up the code
I'll do it later. But I've added the RTC driver: seconds and time are working but the time isn't stored at shutoff (turning on, always ::/::/2019 lol)

@lebellium: just seen that there is no more need of the hack to enable audio (./aplay test.wav....)
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by Lorenz092; 11-03-2011 at 08:09 AM.
Reply With Quote

  #334  
Old 11-09-2011, 10:58 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Okay guys. In this period I'm a bit busy and time isn't easy to find....
So in a couple of days, I will release a very first beta (alpha? ). At least to show you all what's the progress. A clean patch will be also shipped, so developers could (should xD) help me fixing/improving/adding features to our rockbox that's still a baby.

i just need to fix a bit my modded firmware to make rockbox loading with a simple key holding on startup (for now RB will not be the default application).

I will write what's done and what doesn't work/is missing. Every other bug (please don't tell me that the battery indicator doesn't work if in the know todos list there is "still to fix bla bla" )

It will be totally safe to test it, I've used rockbox since I began to port it. More or less more than 30 hrs, no problems (I mean, my R0 hasn't blown up haha, you don't immagine how many test/flashes etc...still alive).

USB isn't available in rockbox: use safe mode or original application. Charging works because is mainly HW, but rockbox will shutdown after inactivity etc. So please use the original app.

This only a few notes, stay tuned

EDIT: the rom is quite ready. First test is fine: rockbox loads from NAND correctly while holding "Center" key at startup. Need still to see if original app works 100%, then it's ready to be shown to the public
Then I need to think about a way to make rockbox working in any place you put it (not only /mnt/media0/rockbox or /mnt/mmc/ in my developement tests).
I guess the easies way is to create an empty folder in the cramfs like /rockbox, then in the script that launches RB do a simple mount of the current directory to /rockbox. But still to verify if that could work.

EDIT2: @ lebellium...In this quick rockbox test on NAND I had no stereo image reversing issue (but yeah needs to be fully tested)
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by Lorenz092; 11-10-2011 at 07:37 AM.
Reply With Quote

  #335  
Old 11-10-2011, 01:23 PM
Appick's Avatar
Appick Appick is offline
Junior Member
 
Join Date: Mar 2011
Location: France
Posts: 83
Default

Sounds as if Christmas is coming early Big Grin
__________________
Appick
Reply With Quote

  #336  
Old 11-10-2011, 04:21 PM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by Appick View Post
Sounds as if Christmas is coming early Big Grin

Anyway here it is. Wait for lebellium for more mirrors, but don't know if it is really necessary as it is an early beta!!!
Soon I will finally clean my patches and release them on the patch site...

PLEASE READ ALL THE THINGS WRITTEN DOWN HERE!!!
just to avoid stupid questions, although this readme has been written in 2 seconds. Feel free to report ANYTHING strange, problems, issues etc...

### RockBox for Samsung YP-R0 ###
- get rid of the original firmware -
< beta 1, based on one of the latest rockbox svn version >
port by Lorenzo92 aka Memory [november 2011]
Of course the biggest thanks to all the RockBox community

Still unofficial (code not merged into official SVN)
Port page (still to improve etc etc): http://www.rockbox.org/wiki/SamsungYP
Patch pages (still to update them, so don't expect to compile with these): http://www.rockbox.org/tracker/task/12348

What's working:

- backlight + lcd sleeping
- audio (still some issues with volume control and other small glitches)
- themes, plugins (games, apps...), filemanager etc as it is supposed to be
- time (but then in original R0 application it will be messed, to be fixed indeed)
- keymapping is done, but in some occasions is not correct or could be heavily improved -> need users feedback to help this process

What should be still implemented and fixed (in order of priority):

- fix some graphical glitches after my "SDL to direct framebuffer" patch
- power management (battery indicator, charging indicator, auto shutdown proper control...)
- usb handling
- microSD mount/unmount on the fly (it works only if inserted from startup for now)
- radio
- remove completely SDL audio part in favour of using ALSA directly
- more powersaving options
- > enable ARM audio processing optimizations
- improve debug menu for our device printing RAM, CPU etc
- other goodies

<< How to install RockBox >>

First of all you need to flash the modified rom, based on modded ROM v2.20 (thus containing all the goodies like safe mode and DRK). You can find it in the installation package. Put it in the root and restart player.
Then you just need to copy rockbox_starter.sh into player's root and copy the "rockbox" folder, always in the root. You can find this folder extracting rockbox.zip. Note that you must only place rockbox folder, not mnt/mmc.
Now remove the cable and see << How to Start RockBox >>.

How must your storage look like
<ROOT>
->rockbox_loader.sh
->rockbox [the folder unzipped]
(->R0.ROM when installing the new firmware)

<< How to Start RockBox >>

Simply turn on R0 and then quickly (super fast isn't necessary, as check is done some seconds later ^^) press and hold "Center" key of the D-Pad. When you see the screen going black, just release the key and enjoy this great piece of software!!!

<< Where is my music? >>

Hey, we are running linux
Thus, you can find all the mounted drives under mnt folder. media0 is your internal memory. media1 is the "hidden" memory with settings of R0 application. mmc is your microSD. ram_disk is nothing (present in case of mounting a ram disk )

<< Battery life and consideration >>

To charge the battery, is possible to simply connect usb or power cable. But I don't advise to leave the player without listening music, as rockbox will shutdown itself after some X minutes. So then charging won't continue.
For now use default R0 application, also for USB transfers too.
Battery life is shorter for now I guess (no benchmarks made) but that's normal, since lots of optimizations could be still done.
There is no indicator and now auto shutdown in case of undervoltage. Be careful so, take a look a this file (uisng filenamanager and enabling all files)
/sys/devices/platform/afe.0/adc and open it using the text editor (menu->open with).
Here you can see all the voltages, if ADC_SRC_BAT is lower than 3.450, please shutdown and charge the player.


Download Rockbox beta 1 for R0
Alternative Download Link
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!

Last edited by lebellium; 11-11-2011 at 01:57 AM.
Reply With Quote

  #337  
Old 11-11-2011, 01:59 AM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,611
Default

Good job

I added a download link.
Please guys use the main download link in priority. I need it for statistics

My theme is coming tonight
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*
Reply With Quote

  #338  
Old 11-11-2011, 12:40 PM
dimonp dimonp is offline
Junior Member
 
Join Date: Oct 2011
Posts: 5
Default

Ok,thanks
Reply With Quote

  #339  
Old 11-11-2011, 12:50 PM
5TORM's Avatar
5TORM 5TORM is offline
Junior Member
 
Join Date: Jul 2011
Location: RUSSIA
Posts: 22
Default

Thank you, it's great)

But rockbox does not run. When I hold the button, the screen goes black for a split second, white, and then the player is shut down.

Yes, yes. I did everything like in instructions)
Attached Files
File Type: txt Rockbox_log.txt (2.1 KB, 16 views)
Reply With Quote

  #340  
Old 11-11-2011, 01:54 PM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by 5TORM View Post
Thank you, it's great)

But rockbox does not run. When I hold the button, the screen goes black for a split second, white, and then the player is shut down.

Yes, yes. I did everything like in instructions)
oh! no good....uhm in the log there isn't anything useful.
Try to recopy rockbox folder to the memory, be sure it's like: <your memory>/rockbox
Otherwise, try to redo the process and resend me the log.

really

EDIT: for lebellium worked. So chances are high that you missed to copy something, or you copied that badly (ie not safe removed etc)
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!
Reply With Quote

Reply

Tags
r0, rockbox, samsung yp-r0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:04 AM.