The Motorola Development Community


Go Back   MotorolaFans.com Forums > Developments > Development
Notices

Development Hacking, development, scripts etc

Reply

Moto Fans SENR

Join Date: Sep 2005
Posts: 1,091
Thanks: 0
Thanked 132 Times in 67 Posts
Location: Jakarta, Indonesia

Quote  
#1
07-16-2007
Default Rockbox for E680i/A780

I am trying to make rockbox Rockbox - Open Source Jukebox Firmware to run on my e680i. Using ipodvideo setting (320x240), successfuly run it on my device with poor sound quality. I made some performance tweak but now rockboxui always raise seg. fault and I forgot to save previous working setup I think it's nice if we can make e680i/a780 as a multimedia jukebox. Have an ipod on e680i/a780

Don't worry about firmware mod, this version using rockbox sdl simulator for arm cpu target.

update:

Installation instructions for rockbox-bleeding-20070909

1. Download unzip utility from here and Rockbox from RapidShare
2. Copy extracted unzip utility and still compressed Rockbox to your memory card.
3. Using eKonsole or over telnet:

Code:
# cd /mmc/mmca1
# ./unzip rockbox-bleeding-20070909.zip
4. For A1200/E6 user:

Code:
# cd /mmc/mmca1
# ./unzip rockbox/qt-2.3.10-a1200.zip
5. Install appropriate package for specific device from rockbox directory on your memory card.

Update 20071125:
Please download rockbox-common-20071125.rar and the appropriate package for your
device (rockbox-[device]-20071125.rar), extract and copy to /mmc/mmca1/rockbox folder.
rockbox-a1200-20071125.rar contains both rockbox-a1200.pkg and rockbox-rokr_e6.pkg.
rockbox-e680i-20071125.rar contains both rockbox-e680i.mpkg and rockbox-a780.mpkg.
For E680g user, you can try rockbox for E680i package. ROKR E2 package not
tested yet since I have no E2 device.

Update:
- Native SDL library (no need qte-2.3.10 anymore), disabling screen update when LCD off, and efficient rotation code. The result: less CPU power usage = less battery usage but faster
- Can hide to background, very important for A1200 and A780 user
- Support --flipscreen option, you have to edit rockbox.sh manually

Known problems:
- FM radio on E680i sometimes not working, I don't know why.
- FM radio on another device not working yet
- fire, mosaique, plasma, midiplay, mp3_encoder, mpegplayer make Rockbox crash

NOTE:
Since *.rar extension not supported by MotorolaFans.com, all my latest attachments in zipped rar format. You must unzip and then unrar these files

Update 20071215:
rockbox-20071215-common.rar
rockbox-20071215-e680-e680i-e680g-a780.rar
rockbox-20071215-e2.rar
rockbox-20071215-a1200-e6.rar

README.txt:

Code:
             __________               __   ___.                  
   Open      ______    ____   ____ |  | __ |__   _______  ___  
   Source     |       _//  _ _/ ___|  |/ /| __  /  _   /  /  
   Jukebox    |    |   (  <_> )  ___|    < | _ (  <_> > <  <   
   Firmware   |____|_  /____/ ___  >__|_ |___  /____/__/_   
                     /            /     /    /            / 

All files in this archive are subject to the GNU General Public License.
See the file COPYING.txt in the tree root for full license agreement.

This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
KIND, either express or implied.

This is Rockbox SDL simulator compiled for Motorola EZX platform by
Ketut P. Kumajaya <kumajaya@bluebottle.com> base on ipod video configuration.
You can download ipod video documentation from Rockbox - Open Source Jukebox Firmware

Please download rockbox-common.rar and the appropriate package for your
device (rockbox-[device].rar), extract and copy to /mmc/mmca1/rockbox folder.

Device specific note:
1. A1200 and ROKR E6:
   rockbox-a1200-e6.rar contains rockbox-a1200-e6.pkg for both A1200 and E6.

2. E680, E680i, E680g and A780:
   rockbox-e680-e680i-e680g-a780.rar contains rockbox-e680.pkg,
   rockbox-e680i.mpkg and rockbox-a780.mpkg.

   For E680 user, please do not install the *.mpkg packages for E680i/A780
   but 2 specific packages for E680 device (rockbox-e680.pkg and
   rockbox.portrait-e680.pkg).

   For A780 user, please do not install the *.mpkg/*.pkg packages for
   E680i/E680 but 2 specific packages for A780 device (rockbox-a780.mpkg
   and rockbox.portrait-a780.mpkg).

   For E680g user, you can use rockbox for E680i packages.

4. ROKR E2
   You can try, but I can't promise it's works since I have no access to
   E2 device.

To show an album art in while playing screen, you have to prepare 100x100
pixel bitmap image (*.bmp) and save it as cover.bmp. Copy the image to the
appropriate album directory.

To show a song lyric in sncviewer plugin, rename *.lrc file to *.lrc8 and
then copy the file to a directory same as the song directory. The *.lrc8 file
and the song file must have a same name (except the file extension of course!).

Rockbox have many options, if something goes wrong and have no idea how to
fix manually, just run clearconfig.sh script over telnet, console (eKonsole),
or linloader.

Touchscreen support:
- Click on menu list to select a list
- If the list have a header, click on the header back to the list root menu
- If the list have no list header, click on the status bar back to the list root menu

To catch your device SDL key value, you can run rockbox with --debugwps option 
over telnet on console:

# cd /mmc/mmca1/rockbox
# . /mmc/mmca1/rockbox/setenv.sh
# rockboxui --debugwps

BUG:
If you need to flip the screen upside down (exist only on landscape mode) over
Settings - General Settings - Display - LCD Settings - Upside Down, do not use
RIGHT button to change the value (Yes/No) but SELECT button. If you use the
RIGHT button, all button will stop responding until you press the RIGHT button
once again.

For any suggestions, comments, or bug reports, please do not send me an email
directly but please go to MotorolaFans.com .

E680i key mapping:
Button		  Standard KB	  SDL   Rockbox
Joystick Center	= Enter		= 271 = SELECT
Joystick Left	= Left		= 276 = LEFT
Joystick Right	= Right		= 275 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Real Player	= F9		= 290 = MENU
FM Radio	= F10		= 291 = PLAY
Camera		= F2		= 283 = QUIT
Volume Up	= F11		= 292 = HOLD
Volume Down	= F12		= 293 = SCREEN_DUMP
Send		= F6		= 287 = Not used
End		= F7		= 288 = Not used

E680 key mapping:
Joystick Center	= Return	= 013 = SELECT
Joystick Left	= PageUp	= 280 = LEFT
Joystick Right	= PageDown	= 281 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Real Player	= F9		= 290 = MENU
FM Radio	= F10		= 291 = PLAY
Camera		= F2		= 283 = QUIT
Volume Up	= F7		= 288 = HOLD
Volume Down	= F8		= 289 = SCREEN_DUMP
Send		= F6		= 287 = Not used
End		= F4		= 285 = Not used

A780 key mapping:
Joystick Center	= Enter		= 271 = SELECT
Joystick Left	= Left		= 276 = LEFT
Joystick Right	= Right		= 275 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Volume Down	= PageDown	= 281 = MENU
Home		= F4		= 285 = PLAY
Camera		= F2		= 283 = QUIT
Volume Up	= PageUp	= 280 = HOLD
Volume Center	= Return	= 013 = SCREEN_DUMP

A1200 key mapping:
Joystick Center	= Return	= 013 = SELECT
Joystick Left	= Left		= 276 = LEFT
Joystick Right	= Right		= 275 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Send		= F1		= 282 = HOLD
End		= F2		= 283 = Not used
Volume Up	= PageUp	= 280 = MENU
Volume Down	= PageDown	= 281 = PLAY
Volume Center	= Enter		= 271 = SCREEN_DUMP
Camera		= F5		= 286 = QUIT

ROKR E6 key mapping:
Joystick Center	= Return	= 013 = SELECT
Joystick Left	= Left		= 276 = LEFT
Joystick Right	= Right		= 275 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Send		= F1		= 282 = HOLD
End		= F2		= 283 = Not used
Volume Up	= PageUp	= 280 = MENU
Volume Down	= PageDown	= 281 = PLAY
Volume Center	= Enter		= 271 = SCREEN_DUMP
Camera		= F5		= 286 = QUIT

Play/Pause	= F26		= N/A = Not used
Stop		= F27		= N/A = Not used
Previous Track	= F28		= N/A = Not used
Next Track	= F29		= N/A = Not used
Left Shortcut	= F4		= 285 = Not used
Right Shortcut	= F30		= N/A = Not used

N/A: Not mapped yet in SDL, I have to update my SDL to emulate
above buttons. Please wait on the next release :(

ROKR E2 key mapping:
Joystick Center	= Return	= 013 = SELECT
Joystick Left	= Left		= 276 = LEFT
Joystick Right	= Right		= 275 = RIGHT
Joystick Up	= Up		= 273 = SCROLL_BACK
Joystick Down	= Down		= 274 = SCROLL_FWD
Left Shorcut	= F9		= 290 = PLAY
Right Shorcut	= F11		= 292 = MENU
Volume Up	= PageUp	= 280 = HOLD
Volume Down	= PageDown	= 281 = SCREEN_DUMP
Hang Up		= F2		= 283 = QUIT
Attached Files
File Type: zip rockbox_20070804_151.zip (4.55 MB, 36288 views)
File Type: pdf rockbox_ipodvideo_640.pdf (1.08 MB, 2200 views)
File Type: zip rockbox_bleeding_20070909_117.zip (6.15 MB, 16015 views)
File Type: zip rockbox_bleeding_20070818_ezxpatch_203.zip (99.4 KB, 1097 views)
File Type: zip unzip_105.zip (57.3 KB, 591 views)
File Type: zip rockbox_bleeding_20070909_update_458.zip (330.7 KB, 1123 views)
File Type: zip rockbox-common-20071125.zip (2.30 MB, 4411 views)
File Type: zip rockbox-a1200-20071125.zip (319.3 KB, 1851 views)
File Type: zip rockbox-e680i-20071125.zip (315.7 KB, 3120 views)
File Type: zip rockbox-rokr_e2-20071125.zip (319.7 KB, 1676 views)
File Type: zip rockbox-20071215-common.rar.zip (3.61 MB, 315 views)
__________________
eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

Last edited by swifty; 11-24-2008 at 08:24 AM.
Reply With Quote


User Information
Current Phone: Motorola E680i and A1200
Location: Jakarta, Indonesia

blackhawk is offlineReport Post
The Following 16 Users Say Thank You to blackhawk For This Useful Post:
anatanimation (1 Week Ago), bedy6 (11-26-2007), digitalD (11-26-2007), g4m3rz (11-25-2007), gumpxxxx (11-13-2008), koala (12-24-2007), kunal007 (06-03-2008), lavelas (11-25-2007), lisnam (12-24-2007), Marecki (01-03-2008), naset (11-26-2007), pakure (12-23-2007), swifty (12-05-2007), vanhieumai (10-25-2007), vinhlehoang (11-07-2007), xtomash (12-14-2007)
MotoFans XPRT

sialkoti100's Avatar

Join Date: Oct 2005
Posts: 434
Thanks: 0
Thanked 0 Times in 0 Posts
Quote  
#2
07-16-2007
Default

awsome stuff yet again. u rock man
damn good thing!!!!!!!!
good luck bro
Reply With Quote


User Information
sialkoti100 is offlineReport Post
based on a true rumor

naset's Avatar

Join Date: Jan 2006
Posts: 2,293
Thanks: 48
Thanked 148 Times in 102 Posts
Location: Alor Star, Kedah, Malaysia

Send a message via MSN to naset Send a message via Yahoo to naset
Quote  
#3
07-17-2007
Default

rockbox!!!u hav rock the world blackhawk!!!gosh!i hope this thing can record our fm radio because in archos they can record the fm radio.

blackhawk,keep it up!
__________________




Your Open Source Community
Reply With Quote


User Information
Current Phone: Motorola E680i
Firmware: E680G 009
Location: Alor Star, Kedah, Malaysia

naset is online nowReport Post
MotoFans MODR

luks's Avatar

Join Date: May 2006
Posts: 135
Thanks: 2
Thanked 0 Times in 0 Posts
Location: Surabaya (Indonesia)

Send a message via Yahoo to luks
Quote  
#4
07-17-2007
Default

record the fmradio..? things i need long2 time...
wish the development will make the phone always new....
Reply With Quote


User Information
Location: Surabaya (Indonesia)

luks is offlineReport Post
Moto Fans SENR

Join Date: Sep 2005
Posts: 1,091
Thanks: 0
Thanked 132 Times in 67 Posts
Location: Jakarta, Indonesia

Quote  
#5
07-18-2007
Default

Rockbox back working on my E680i! Better speed but audio realtime playback still not acceptable. Next working is enable arm specific code on dsp and equalizer. For now, you can download rockbox ipod video simulator for windows (without sound) or linux from the net. Download your favourite theme too
__________________
eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6
Reply With Quote


User Information
Current Phone: Motorola E680i and A1200
Location: Jakarta, Indonesia

blackhawk is offlineReport Post
based on a true rumor

naset's Avatar

Join Date: Jan 2006
Posts: 2,293
Thanks: 48
Thanked 148 Times in 102 Posts
Location: Alor Star, Kedah, Malaysia

Send a message via MSN to naset Send a message via Yahoo to naset
Quote  
#6
07-18-2007
Default

very2 good news from the great blackhawk!blackhawk,can we record fm radio from using this rockbox?any possibilities?

I like this themes.very nice.hahaha




gosh!too many beautiful themes!!!

p/s:CANT WAIT FOR UR RELEASE! TEN THUMBS UP!
__________________




Your Open Source Community
Reply With Quote


User Information
Current Phone: Motorola E680i
Firmware: E680G 009
Location: Alor Star, Kedah, Malaysia

naset is online nowReport Post
MotoFans JUNR

enigma2s's Avatar

Join Date: Jan 2007
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Location: Poland

Quote  
#7
07-18-2007
Default

somebody can upload some files??
__________________
www.ebooks4mobile.cba.pl

very sorry for my English
I'm continually learn them
Reply With Quote


User Information
Current Phone: A780
Location: Poland

enigma2s is offlineReport Post
based on a true rumor

naset's Avatar

Join Date: Jan 2006
Posts: 2,293
Thanks: 48
Thanked 148 Times in 102 Posts
Location: Alor Star, Kedah, Malaysia

Send a message via MSN to naset Send a message via Yahoo to naset
Quote  
#8
07-18-2007
Default

it is not release yet.must wait blackhawk to finish it.
__________________




Your Open Source Community
Reply With Quote


User Information
Current Phone: Motorola E680i
Firmware: E680G 009
Location: Alor Star, Kedah, Malaysia

naset is online nowReport Post
Moto Fans SENR

Join Date: Sep 2005
Posts: 1,091
Thanks: 0
Thanked 132 Times in 67 Posts
Location: Jakarta, Indonesia

Quote  
#9
07-18-2007
Default

With arm optimizition, now sound quality much better. Crossfeed, equalizer and dithering seem work! Realtime playback problems maybe related to system memory limitation because I have allocated 16M as rockbox buffer memory. Maybe swap memory and CPU overclock can help. Next work, enable E680i bass boster and sound mixer. But now I got a new problem, mp3 codec fail loaded About FM radio, maybe I can make it work but not promise for recording. Be patient, I have no much time to do this project.
__________________
eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6
Reply With Quote


User Information
Current Phone: Motorola E680i and A1200
Location: Jakarta, Indonesia

blackhawk is offlineReport Post
based on a true rumor

naset's Avatar

Join Date: Jan 2006
Posts: 2,293
Thanks: 48
Thanked 148 Times in 102 Posts
Location: Alor Star, Kedah, Malaysia

Send a message via MSN to naset Send a message via Yahoo to naset
Quote  
#10
07-18-2007
Default

take ur time blackhawk.about the fm radio,i can wait if it takes a year or more.hehehe.juz keep it up!yeah!!!
__________________




Your Open Source Community
Reply With Quote


User Information
Current Phone: Motorola E680i
Firmware: E680G 009
Location: Alor Star, Kedah, Malaysia

naset is online nowReport Post
Reply

Tags
e680i or a780, rockbox

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:41 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.