1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/lib
Simon Rothen 0b5ad60c26 Introducing Targets iBasso DX50 & iBasso DX90
The port to for this two targets has been entirely developped by Ilia Sergachev (alias Il or xzcc). His source
can be found at https://bitbucket.org/isergachev/rockbox . The few necesary modifications for the DX90 port
was done by headwhacker form head-fi.org. Unfortunately i could not try out the final state of the DX90 port.
The port is hosted on android (without java) as standalone app. The official Firmware is required to run this port.
Ilia did modify the source files for the "android" target in the rockbox source to make the DX port work. The work I did
was to separate the code for DX50 (&DX90) from the android target.
On this Target Ilia used source from tinyalsa from AOSP. I did not touch that part of the code because I do not understand it.
What else I changed from Ilias sources besides the separation from the target "android":
* removed a dirty hack to keep backlight off
* changed value battery meter to voltage battery meter
* made all plugins compile (named target as "standalone") and added keymaps
* i added the graphics for the manual but did not do anything else for the manual yet
* minor optimizations

known bugs:
* timers are slowed donw when playback is active (tinyalsa related?)
* some minor bugs

Things to do:
* The main prolem will be how to install the app correctly. A guy called DOC2008 added a CWM (by androtab.info) to the
  official firmware and Ilia made a CWM installation script and a dualboot selector (rbutils/ibassoboot, build with
  ndk-build). We will have to find a way to install rockbox in a proper way without breaking any copyrights.
  Maybe ADB is an option but it is not enable with OF by default. Patching the OF is probably the way to go.
* All the wiki and manual

to build:
needed: android ndk installed, android sdk installed with additional build-tools 19.1.0 installed

./tools/configure
select iBasso DX50 or iBasso DX90
make -j apk

the content of rockbox.zip/.rockbox needs to be copied to /system/rockbox/app_rockbox/rockbox/ (rockbox app not needed)
the content of libs/armeabi to /system/rockbox/lib/ (rockbox app needed)

The boot selector is needed as /system/bin/MangoPlayer and the iBasso app as /system/bin/MangoPlayer_original. There
is also the "vold" file. The one from OF does not work with DX50 rockbox (DX90 works!?), the one from Ilia is necessary.

Until we have found a proper way to install it, it can only be installed following the instructions of Ilia on his
bitbucket page, using the CWM-OF and his installation script package.

Change-Id: Ic4faaf84824c162aabcc08e492cee6e0068719d0
Reviewed-on: http://gerrit.rockbox.org/941
Tested: Chiwen Chang <rock1104.tw@yahoo.com.tw>
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
2014-09-18 18:19:01 +02:00
..
bmp_smooth_scale.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
checkbox.c Remove a bunch of build conditions inside .c files 2010-08-25 19:14:02 +00:00
checkbox.h
configfile.c RaaA: Fix write locations of plugins 2011-03-02 23:43:54 +00:00
configfile.h correct comment in configfile.h, FS#11292 by Chris Savery. 2010-10-10 14:34:07 +00:00
display_text.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
display_text.h some changes to use of display_text. 2010-02-22 07:17:15 +00:00
feature_wrappers.h
gcc-support.c Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
grey.h lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_coldfire.S
grey_core.c Consolidate identical fixedpoint exp and ln functions. 2013-04-09 19:07:35 -04:00
grey_draw.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_parm.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_scroll.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_sh.S Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors. 2011-11-09 19:20:33 +00:00
helper.c * Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does. 2011-01-24 12:29:16 +00:00
helper.h * Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does. 2011-01-24 12:29:16 +00:00
highscore.c plugins: use lcd_putsf/lcd_putsxyf 2010-08-28 21:46:45 +00:00
highscore.h plugin: implement highscore_show for player and use it in rockblox. 2010-02-22 13:45:24 +00:00
jhash.c Add Bob Jenkins' lookup3 32-bit and 64-bit hashes to pluginlib. 2009-06-01 13:40:30 +00:00
jhash.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
jpeg_mem.h
md5.c
md5.h Set svn:keywords property on .c and .h files that didn't already have it. Correct svn:executable property on some files. 2010-01-03 14:28:09 +00:00
mylcd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
osd.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
osd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
overlay.c load_code/overlay: Don't close plugin handle before calling the plugin. 2012-05-26 22:57:21 +02:00
overlay.h
picture.c Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
picture.h Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
playback_control.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playback_control.h plugins/lib: remove out-dated comments about plugin api. 2010-02-25 12:14:36 +00:00
playergfx.c Remove a bunch of build conditions inside .c files 2010-08-25 19:14:02 +00:00
playergfx.h
pluginlib_actions.c Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
pluginlib_actions.h S#10387 - Rework pluginlib actions 2010-05-20 17:41:28 +00:00
pluginlib_albumart.c
pluginlib_bmp.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
pluginlib_bmp.h use different function to resize bitmap for greylib. 2010-10-10 14:24:11 +00:00
pluginlib_exit.h Fix building simulator plugins on Cygwin. A DLL stub containing atexit is linked to the plugins, so give our version a prefix. 2010-08-26 15:44:32 +00:00
pluginlib_jpeg_idct_arm.S Core JPEG decoder improvements: 2009-06-19 02:56:00 +00:00
pluginlib_jpeg_load.c Hopefully all green now 2011-02-09 20:51:11 +00:00
pluginlib_jpeg_mem.c Add include to pluginlib_jpeg_mem.c to prevent warning noise with -Wmissing-prototypes. 2009-05-16 08:20:41 +00:00
pluginlib_resize.c
pluginlib_touchscreen.c lcd-common: Remove support for custom line heights from viewport. 2014-01-07 14:13:48 +01:00
pluginlib_touchscreen.h pluginlib_touchscreen: Rework API to offer wait-for-button APIs. 2012-01-27 09:15:05 +01:00
profile_plugin.c
profile_plugin.h
read_image.c FS#10496: remove function read_image_file_offset, it had a bug and is not used anyway. 2009-08-09 22:20:14 +00:00
read_image.h FS#10496: remove function read_image_file_offset, it had a bug and is not used anyway. 2009-08-09 22:20:14 +00:00
rgb_hsv.c
rgb_hsv.h
simple_viewer.c Initial commit of the Samsung YP-R0 port. 2011-12-24 11:56:46 +00:00
simple_viewer.h add simple text viewer to pluginlib and use this for dict to show description. 2010-06-08 11:07:36 +00:00
SOURCES Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
strncpy.c strncpy.c / assert.h : need to include _ansi.h 2010-07-25 14:53:06 +00:00
wrappers.h Hopefully all green now 2011-02-09 20:51:11 +00:00
xlcd.h
xlcd_core.c
xlcd_draw.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
xlcd_scroll.c Also fix uninitialized variables in xlcd_scroll_up()/xlcd_scroll_down() 2011-08-25 20:47:44 +00:00