Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Bootloader
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.6
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by jdgordon - 2010-08-08
Last edited by jdgordon - 2010-09-07

FS#11525 - [RaaA] load librockbox.so from sdcard

This patch is a WIP to load librockbox and libmisc from the sdcard instead of the application dir and apk.
The point of this is so we can have one apk which is tiny and works on all android devices which then downloads the build for that screen size (and to make updating easier for users)

This version just looks for librockbox.so in the /sdrcard/rockbox dir and loads it if found, otherwise it loads the one from the .apk Ideally it will look for a rockbox.zip which gets extracted instead.

This obviously isnt ready, only putting it up so I dont lose it

Closed by  jdgordon
2010-09-07 13:26
Reason for closing:  Rejected

This isnt quite working but alot closer to what I’d like…

if /sdcard/rockbox/rockbox.zip exists and is newer than the extracted files it will ask if you want to unzip it before starting the service. It will also ask on first install if you want to “download” the files (which right now does nothing).

rockbox.zip is the zip from make zip (which now has librockbox.so in it)

The splash screen system is all wierd (blame android!) I’m not having much luck stopping rockbox loading untill the user answers the dialog. Also it isnt crashing when I expect it to (i.e first load with no rockbox.zip file) and amazingly loads rockbox! (from where? NFI!)

ALMOST working properly.
The attached apk hopefully works… apply the patch and do a build for your target, do make zip then copy that zip to /sdcard/rockbox then run the apk

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing