Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on N9005 #11

Closed
conorohiggins opened this issue Apr 18, 2016 · 5 comments
Closed

Not working on N9005 #11

conorohiggins opened this issue Apr 18, 2016 · 5 comments

Comments

@conorohiggins
Copy link
Contributor

When I try to run the script on my Samsung Galaxy Note 3 LTE (9005), I get this error:

$:~$ sudo /home/dave/Desktop/patch.py *** Selected device 9c939e69 *** Device detected! proceeding... *** Working dir: /tmp/tmpwbx50i7e *** Rooting adbd... adbd is already running as root remount succeeded *** Pulling framework from device... 4018 KB/s (5536211 bytes in 1.345s) *** Disassembling framework... Error: Unable to access jarfile /home/dave/apktool.jar *** Done. Now this won't hurt a bit... Traceback (most recent call last): File "/home/dave/Desktop/patch.py", line 47, in <module> f = open(to_patch, "r") FileNotFoundError: [Errno 2] No such file or directory: 'framework.jar.out/smali/android/content/pm/PackageParser.smali'

@conorohiggins
Copy link
Contributor Author

CyanogenMod 12.1 on the device

@balazsmezei
Copy link

It is looking for apktoo.jar in the wrong place. ("Error: Unable to access jarfile /home/dave/apktool.jar")
Cd into /home/dave/Desktop, and then run ./patch.py.

@conorohiggins
Copy link
Contributor Author

conorohiggins commented Apr 18, 2016

Same problem after I cd into Desktop :-/

@balazsmezei
Copy link

Have you downloaded all the files? Can you paste your whole terminal log when you cd into desktop?

@conorohiggins
Copy link
Contributor Author

I've got it working now, thanks. Your last comment was on the right track - patch.py and apktool weren't in the same folder.

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

No branches or pull requests

2 participants