Giter Club home page Giter Club logo

Comments (9)

deltazefiro avatar deltazefiro commented on August 22, 2024

Can I assume that you are using Amarok v0.8.1b3 and enabled the Obfuscate File Header [Experimental] function?
Possibly the same bug: #16
I failed to reproduce this bug. It seems to happen occasionally ๐Ÿค”
If you can find a way to reproduce this bug consistently, it would greatly aid in resolving the issue.

Recover the Corrupted files

  1. Download and install this Special version of Amarok (v0.8.1b3-sp-e57eb09).
  2. In More Settings -> Switch FileHider Workmode of that special Amarok, make sure the Obfuscate File Header [Experimental] switch is toggled to OFF.
  3. Put the corrupted files into a directory, and add the directory to the hide list in Set Hide Files.
  4. Press the Hide button in the main activity.
  5. In More Settings -> Switch FileHider Workmode, toggle Obfuscate File Header [Experimental] to ON.
    (In the normal version this switch is unavailable and a note says Options are unavailable until Unhide.)
  6. Press the Unhide button in the main activity.

Hopefully, your corrupted files (images) will be recovered.

from amarok-hider.

xMostafax avatar xMostafax commented on August 22, 2024

Can I assume that you are using Amarok v0.8.1b3 and enabled the Obfuscate File Header [Experimental] function? Possibly the same bug: #16 I failed to reproduce this bug. It seems to happen occasionally ๐Ÿค” If you can find a way to reproduce this bug consistently, it would greatly aid in resolving the issue.

Recover the Corrupted files

  1. Download and install this Special version of Amarok (v0.8.1b3-sp-e57eb09).
  2. In More Settings -> Switch FileHider Workmode of that special Amarok, make sure the Obfuscate File Header [Experimental] switch is toggled to OFF.
  3. Put the corrupted files into a directory, and add the directory to the hide list in Set Hide Files.
  4. Press the Hide button in the main activity.
  5. In More Settings -> Switch FileHider Workmode, toggle Obfuscate File Header [Experimental] to ON.
    (In the normal version this switch is unavailable and a note says Options are unavailable until Unhide.)
  6. Press the Unhide button in the main activity.

Hopefully, your corrupted files (images) will be recovered.

Thank you some pictures are back but not all, and it's my fault from first i killed the app from background while the app hiding files because i select pictures file by mistake thanks.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Thank you some pictures are back but not all

Sorry to hear that. Perhaps you can try the recovery process again.
If still without luck and the images are really important to you, you can try recovering the images manually:

  • Amarok only read the first 8 bytes of each file, calculates their ones' complement and writes the result back.
  • As Amarok reads and writes files sequentially, theoretically will be only one file is "real" damaged, while others are just not reverted.
  • Fixing them manually: Open the image with a hex editor, replace the first 8 bytes with their ones' complement โ€” e.x. 1 to F, 2 to E and so on.

it's my fault from first i killed the app from background while the app hiding files because i select pictures file by mistake thanks.

To avoid it happening again, I've refactored the FileHider and added some insurance work during the process. 8261481

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

Fixing them manually: Open the image with a hex editor, replace the first 8 bytes with their ones' complement โ€” e.x. 1 to F, 2 to E and so on.

Well, I wrote a simple script to do this. Python3 is required.

from amarok-hider.

xMostafax avatar xMostafax commented on August 22, 2024

Thank you some pictures are back but not all

Sorry to hear that. Perhaps you can try the recovery process again. If still without luck and the images are really important to you, you can try recovering the images manually:

  • Amarok only read the first 8 bytes of each file, calculates their ones' complement and writes the result back.
  • As Amarok reads and writes files sequentially, theoretically will be only one file is "real" damaged, while others are just not reverted.
  • Fixing them manually: Open the image with a hex editor, replace the first 8 bytes with their ones' complement โ€” e.x. 1 to F, 2 to E and so on.

it's my fault from first i killed the app from background while the app hiding files because i select pictures file by mistake thanks.

To avoid it happening again, I've refactored the FileHider and added some insurance work during the process. 8261481

I tried the first process again and it's works thank you again.

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

I tried the first process again and it's works thank you again.

Cool! Let me close this issue then.

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

To avoid it happening again, I've refactored the FileHider and added some insurance work during the process. 8261481

I'm waiting for you to add it to the release

from amarok-hider.

deltazefiro avatar deltazefiro commented on August 22, 2024

I'm waiting for you to add it to the release

already here ๐Ÿค”

from amarok-hider.

Wjxfi avatar Wjxfi commented on August 22, 2024

I'm waiting for you to add it to the release

already here ๐Ÿค”

sorry, I didn't see it before

from amarok-hider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.