Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Patch procedure not working #15

Open
felipecrs opened this issue Aug 17, 2021 · 0 comments
Open

Patch procedure not working #15

felipecrs opened this issue Aug 17, 2021 · 0 comments

Comments

@felipecrs
Copy link

felipecrs commented Aug 17, 2021

Hello, I'm sorry to bother and I saw that some other people were not able to patch as well. I'm having the following error:

wget https://netflixhelp.s3.amazonaws.com/netflix-4.16-15235-release.apk -O netflix.apk
--2021-08-17 17:38:03--  https://netflixhelp.s3.amazonaws.com/netflix-4.16-15235-release.apk
Resolving netflixhelp.s3.amazonaws.com (netflixhelp.s3.amazonaws.com)... 52.217.80.148
Connecting to netflixhelp.s3.amazonaws.com (netflixhelp.s3.amazonaws.com)|52.217.80.148|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26708229 (25M) [application/vnd.android.package-archive]
Saving to: ‘netflix.apk’

netflix.apk                                100%[=======================================================================================>]  25.47M  5.05MB/s    in 16s

2021-08-17 17:38:20 (1.57 MB/s) - ‘netflix.apk’ saved [26708229/26708229]apktool d -r -f netflix.apk
I: Using Apktool 2.5.0 on netflix.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directorypatch -p0 -i ./netflix.patch
patching file netflix/smali/com/netflix/mediaclient/android/activity/NetflixActivity.smali
Hunk #1 FAILED at 4332.
1 out of 1 hunk FAILED -- saving rejects to file netflix/smali/com/netflix/mediaclient/android/activity/NetflixActivity.smali.rej
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur netflix/smali/com/netflix/mediaclient/service/NetflixService.smali netflix_patched/smali/com/netflix/mediaclient/service/NetflixService.smali
|--- netflix/smali/com/netflix/mediaclient/service/NetflixService.smali 2019-09-13 08:42:01.000000000 +0700
|+++ netflix_patched/smali/com/netflix/mediaclient/service/NetflixService.smali 2019-09-08 15:37:08.000000000 +0700
--------------------------
File to patch:

It keeps asking me for which file to patch and I'm not sure if it's correct.

Am I doing anything wrong?

Apktool 2.5.0, on Ubuntu 20.04.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant