FS#11525 - [RaaA] load from sdcard

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Sunday, 08 August 2010, 08:03 GMT
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 07 September 2010, 13:26 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


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 in the /sdrcard/rockbox dir and loads it if found, otherwise it loads the one from the .apk Ideally it will look for a which gets extracted instead.

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

Closed by  Jonathan Gordon (jdgordon)
Tuesday, 07 September 2010, 13:26 GMT
Reason for closing:  Rejected
Comment by Jonathan Gordon (jdgordon) - Monday, 09 August 2010, 14:32 GMT
This isnt quite working but alot closer to what I'd like...

if /sdcard/rockbox/ 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). is the zip from make zip (which now has 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 file) and amazingly loads rockbox! (from where? NFI!)
Comment by Jonathan Gordon (jdgordon) - Tuesday, 10 August 2010, 09:37 GMT
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