Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to include the original theme into rockbox.apk
« previous next »
  • Print
Pages: [1]

Author Topic: how to include the original theme into rockbox.apk  (Read 2228 times)

Offline JapaneseDrunkard

  • Member
  • *
  • Posts: 19
how to include the original theme into rockbox.apk
« on: October 26, 2014, 04:33:49 AM »
I got the source codes from git repository,
and successfully built the latest rockbox for android.

The problem is that the original font is too small and I cannot read the menu entries.
Could anyone let me know how to include the original theme and font into rockbox.apk ?
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: how to include the original theme into rockbox.apk
« Reply #1 on: October 26, 2014, 03:32:21 PM »
Repack the archive to include <whatever_you_want> after the "make zip" step, and before the "make apk" step, finish the build with "make apk", done.

This will only change the font, though. The default theme itself only exists for a specific set of resolutions, and in that case, an adequate font is always included in the build. You must be building for an unsupported resolution.

This is a somewhat odd way to achieve this, though. One can achieve an entirely similar effect by simply modifying the config file to point to a font that isn't tiny, extracted to emulated or external storage as intended.


[Saint]
« Last Edit: October 26, 2014, 03:36:56 PM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JapaneseDrunkard

  • Member
  • *
  • Posts: 19
Re: how to include the original theme into rockbox.apk
« Reply #2 on: October 27, 2014, 06:24:08 AM »
It worked!

Now I can read the menu, though the icons are still small :-)
I can replace a whole theme in the same way.

Thanks!
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: how to include the original theme into rockbox.apk
« Reply #3 on: October 27, 2014, 07:38:40 AM »
If you wanted a much easier way to do this that means you don't need to bugger around like this every time you update your build, read on:

Just place the theme assets in their expected location on the device sdcard (the exact path for this varies wildly by device, but usually boils down to /storage/sdcard0/rockbox), extract a copy of the theme's .cfg, rename this to "fixed.cfg", and place it in the aforementioned assets directory on the sdcard.

This config will be parsed at boot time and will override the corresponding settings in the main config.cfg, the upshot of this being you don't need to repack your own builds and your theme settings will even survive clearing the config entirely.

Sing out if I have been unclear or if you have any further questions.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JapaneseDrunkard

  • Member
  • *
  • Posts: 19
Re: how to include the original theme into rockbox.apk
« Reply #4 on: October 30, 2014, 04:19:56 AM »
Thank you for the great tip.
It is much easier as you said! :-)
Logged

Offline JapaneseDrunkard

  • Member
  • *
  • Posts: 19
Re: how to include the original theme into rockbox.apk
« Reply #5 on: October 30, 2014, 07:48:32 AM »
I found that the file "WPSLIST" in the build tree specified the themes to be included into "rockbox.apk".
But it is a tough task to edit it.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to include the original theme into rockbox.apk
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.065 seconds with 15 queries.