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 Android 7.1 (CM 14.1) #36

Closed
Nutomic opened this issue Nov 29, 2016 · 3 comments
Closed

Not working on Android 7.1 (CM 14.1) #36

Nutomic opened this issue Nov 29, 2016 · 3 comments

Comments

@Nutomic
Copy link

Nutomic commented Nov 29, 2016

Tried to apply latest master to Cyanogenmod 14.1 running on an LG G4. Output:

 *** Selected device LGH81539e3a2ee
 *** Device detected! proceeding...
 *** Working dir: /tmp/tmpJJWFep
 *** Rooting adbd...
remount succeeded
 *** Pulling framework from device...
 *** Disassembling framework...
Exception in thread "main" org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Invalid magic value: 64 65 78 0a 30 33 37 00
        at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(DexBackedDexFile.java:151)
        at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:70)
        at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:96)
        at org.jf.dexlib2.DexFileFactory.loadDexFiles(DexFileFactory.java:109)
        at org.jf.dexlib2.DexFileFactory.loadDexFiles(DexFileFactory.java:81)
        at org.jf.baksmali.main.main(main.java:259)
Traceback (most recent call last):
  File "patch.py", line 67, in <module>
    subprocess.check_call(["java", "-jar", os.path.join(SCRIPT_DIR, "tools", "baksmali.jar"), "framework.jar", "-o", "classes", "-ls"])
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', '/home/felix/software/Needle/tools/baksmali.jar', 'framework.jar', '-o', 'classes', '-ls']' returned non-zero exit status 1

Happy to help.

@ale5000-git
Copy link
Contributor

ale5000-git commented Nov 29, 2016

Duplicate of #35.

PS: Tingle shouldn't have this problem, in case you need it now.

@Nutomic
Copy link
Author

Nutomic commented Nov 29, 2016

Sorry I didn't notice that issue, because there is no mention of Android 7.

Thanks for mentioning Tingle, didn't know that. For some reason, Tingle did a bootloop (or at least a really slow boot), but after rebooting again it worked fine.

@Nutomic Nutomic closed this as completed Nov 29, 2016
@ale5000-git
Copy link
Contributor

ale5000-git commented Nov 29, 2016

A slow boot (only the first reboot after patching) is normal since it has to rebuild the cache, just wait until it finish.

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