nvllsvm / emby-unlocked

Emby with the premium Emby Premiere features unlocked.
GNU General Public License v2.0
271 stars 61 forks source link

[Guide] Android apk patch #15

Closed joern-h closed 6 years ago

joern-h commented 6 years ago
  1. install apktool sudo apt install apktool
  2. download apk file
  3. apktool d -r .apk
  4. sudo npm install -g js-beautify
  5. cd /assets/www
  6. js-beautify -r scripts/supporterkeypage.js
  7. Download patches and apply: https://github.com/Joern2410/emby-android-patches

patch -N -p1 -r - scripts/supporterkeypage.js < ~/Downloads/supporterkeypage.patch

  1. js-beautify -r bower_components/emby-apiclient/connectionmanager.js
  2. patch -N -p1 -r - bower_components/emby-apiclient/connectionmanager.js < ~/Downloads/connectionmanager.patch
  3. cd ./../..
  4. apktool b -o .apk
  5. Sign apk https://shatter-box.com/knowledgebase/android-apk-signing-tool-apk-signer/
  6. copy apk signed and aligned to device, install and enjoy premier features

Worked for 2.9.67

nvllsvm commented 6 years ago

Neat and thanks. I won't be including this in the Emby Unlocked project since the result modified apk cannot be distributed legally. Correct me if I'm wrong on that.

FYI - here's the latest source code of the app before going closed source. I wasn't able to get it working. https://github.com/nvllsvm/emby-android

joern-h commented 6 years ago

Yes its no longer legal, because the app is closed source now. But its not illegal to modify it, unless you are distribute the modified apk