-
Notifications
You must be signed in to change notification settings - Fork 28
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
Comments
CyanogenMod 12.1 on the device |
It is looking for apktoo.jar in the wrong place. ("Error: Unable to access jarfile /home/dave/apktool.jar") |
Same problem after I cd into Desktop :-/ |
Have you downloaded all the files? Can you paste your whole terminal log when you cd into desktop? |
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. |
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'
The text was updated successfully, but these errors were encountered: