FS#11525 - [RaaA] load librockbox.so 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
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
|
DetailsThis 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 |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 07 September 2010, 13:26 GMT
Reason for closing: Rejected
Tuesday, 07 September 2010, 13:26 GMT
Reason for closing: Rejected
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!)
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