- Status Closed
- Percent Complete
- 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
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
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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