Giter Club home page Giter Club logo

removebooksdrm's Introduction

RemoveBooksDRM

Apple Books DRM Removal Proof-of-Concept

How to Build

  • Disable SIP
  • Enable the arm64e preview ABI in your boot args.
  • Run build.sh

How to Use

  • build the dylib (see above steps)
  • disable library validation...
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true
  • run decrypt.sh

Tested Apple Books Versions

  • Version 6.2
    • 6024
    • 6030
  • Version 6.3
    • 6040
  • Version 6.4
    • 6070.12.11

Legal Use Disclaimer

This software is intended for lawful purposes only, specifically to enable eBook compatibility between different devices. It is not designed for, nor should it be used for, any form of copyright infringement or illegal activity.

ReverseApple claims no responsibility for any damage caused by using this software.

removebooksdrm's People

Contributors

angelod2022 avatar gergelyzsolt89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

removebooksdrm's Issues

suggestion

Works perfectly (Books version 6.4, 6070.12.11), thanks a lot!

A tiny suggestion: It didn't work right away, until I realized I had to quit the Books app first; maybe worth having decrypt.sh run a check or mentioning it in the README.

Failed to extract itemName

Some days it works well, but other days it just doesn't work at all with this error
the error i get with decrypt.sh

kim@kim-MacBookPro RemoveBooksDRM-main % ./decrypt.sh
mkdir: /Users/kim/Library/Containers/com.apple.iBooksX/Data/tmp: File exists
mkdir: ./decrypted_books: File exists
Failed to extract itemName from /Users/kim/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/1234567890.epub

There's a file (1234567890.epub) that can only be opened in Apple Books app located at '/Users/kim/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/' btw

Build warnings / Failed to extract itemName | Apple M1 Pro | macOS Sonoma 14.5

I get the following warnings when I run build.sh

injected.m:152:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] NSLog(baseDirectory); ^~~~~~~~~~~~~ injected.m:152:11: note: treat the string as an argument to avoid this NSLog(baseDirectory); ^ @"%@", injected.m:221:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] }

When I run decrypt.sh I get:

Failed to extract itemName from /Users/XXXXXX/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/XXXXX.epub

Tried on:

  • Apple M1 Pro | macOS Sonoma 14.5 | Books Version 6.4 (6070.12.11)
  • Apple M2 | macOS Sonoma 14.5 | Books Version 6.4 (6070.12.11)

Cannot Build on x86_64

the error i get with build.sh

injected.m:152:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
NSLog(baseDirectory);
^~~~~~~~~~~~~
injected.m:152:11: note: treat the string as an argument to avoid this
NSLog(baseDirectory);
^
@"%@",
injected.m:221:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
2 warnings generated.

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.