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 General
| |-+  Rockbox General Discussion
| | |-+  patch installation
« previous next »
  • Print
Pages: [1]

Author Topic: patch installation  (Read 1616 times)

Offline Njones

  • Member
  • *
  • Posts: 127
patch installation
« on: November 09, 2016, 01:36:27 PM »
How Do you install the Line out- Headphone  patch on Sansa Fuzev2. After updating to the latest build the option to swich between line ot or headphones dissappeared.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: patch installation
« Reply #1 on: November 09, 2016, 02:25:17 PM »
Setup the build tools, check out the source from git, apply the patch, and then build for your target.

See https://www.rockbox.org/wiki/DevelopmentGuide
Logged

Offline Njones

  • Member
  • *
  • Posts: 127
Re: patch installation
« Reply #2 on: November 09, 2016, 05:52:29 PM »
I've downloaded the patch zip file and extracted the patch. Where do I put it on my player?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: patch installation
« Reply #3 on: November 09, 2016, 06:19:30 PM »
Quote from: Njones on November 09, 2016, 05:52:29 PM
I've downloaded the patch zip file and extracted the patch. Where do I put it on my player?

Maybe I wasn't clear above, but a patch is source code.  It doesn't go on the player at all. 
Logged

Offline Njones

  • Member
  • *
  • Posts: 127
Re: patch installation
« Reply #4 on: November 09, 2016, 06:32:14 PM »
Before I switched to the latest dev. build I had installed the patch manually. Do I drag the zip file to the player and then extract it or do I drag the extracted file to the player?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: patch installation
« Reply #5 on: November 09, 2016, 07:45:57 PM »
Quote from: Njones on November 09, 2016, 06:32:14 PM
Before I switched to the latest dev. build I had installed the patch manually. Do I drag the zip file to the player and then extract it or do I drag the extracted file to the player?

You mean the old build?  If you have the .zip for it, just put it back on the player in place of the newer build.
Logged

Offline Njones

  • Member
  • *
  • Posts: 127
Re: patch installation
« Reply #6 on: November 09, 2016, 09:05:18 PM »
Do I unzip it first or unzip it after I drag it to the player.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: patch installation
« Reply #7 on: November 09, 2016, 10:05:57 PM »
Doesn't matter in the end, but unzipping first will be a lot faster.
Logged

Offline Njones

  • Member
  • *
  • Posts: 127
Re: patch installation
« Reply #8 on: November 09, 2016, 10:12:36 PM »
Thanks
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: patch installation
« Reply #9 on: November 10, 2016, 09:01:46 PM »
I feel like there's a lot of confusion here. Perhaps it is my confusion, but I need to make sure everything is crystal clear here so I'll lay it all out.

Quote from: Njones on November 09, 2016, 05:52:29 PM
I've downloaded the patch zip file and extracted the patch. Where do I put it on my player?

You don't. Putting the patch .zip on the device will not achieve anything.

You need to set up a development environment, build the crosscompile toolchain for your target architecture, checkout the Rockbox source code repository, apply the patch to the source, and then finally compile a Rockbox binary for your target.

Then you can copy the patched build that you have compiled to your device, at which point you will lose support (unless you can replicate the issue on an official build) due to having a modified build (as you have now) and in order to receive further updates in future you would need to continue to compile your own binaries as updating to the official builds will remove the patched behavior (as you discovered).

What isn't clear here is if you are talking about a Rockbox binary archive, or a patch archive. If you are indeed talking about an archive that contains the line out patch, then you would need to refer to the beginning of this post.


[Saint]
« Last Edit: November 10, 2016, 09:11:26 PM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  patch installation
 

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

Page created in 0.077 seconds with 16 queries.