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

ERROR: No dex file(s) found, probably your file is odexed. #10

Open
port3306 opened this issue Sep 3, 2016 · 19 comments
Open

ERROR: No dex file(s) found, probably your file is odexed. #10

port3306 opened this issue Sep 3, 2016 · 19 comments

Comments

@port3306
Copy link

port3306 commented Sep 3, 2016

I become the following error, can you help me?

    1 - From the device (adb)
    2 - From the input folder

1

*** OS: Windows 10 (win32)
*** Mode: 1
*** Selected device: TAXXXXFKP1
*** Working dir: c:\users\user\appdata\local\temp\tmpazekga
*** Pulling framework from device...
100 KB/s (310 bytes in 0.003s)
*** Disassembling framework...

ERROR: No dex file(s) found, probably your file is odexed.

ERROR CODE: 86

I have Install cm13 nightly for falcon device


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ale5000-git
Copy link
Owner

ale5000-git commented Sep 4, 2016

Hi,
unfortunately currently Tingle doesn't support odexed ROMs directly.

But it should work correctly if you deodex your ROM before using Tingle.
There is a tool for this here: Universal Deodexer

@ale5000-git
Copy link
Owner

@port3306: Have you been able to patch?

For any problem just ask :)

@pejakm
Copy link

pejakm commented Nov 12, 2016

Will Tingle work if I deodex only relevant file? content.jar, for example?

@ale5000-git
Copy link
Owner

@pejakm: Tingle works also if you only deodex the framework.jar but I'm not sure if the signature spoofing will work in this case, I haven't tested it.

@ArchangeGabriel
Copy link

I’m having the same issue with CyanogenMod 14.1. How can I deodex it (I’m running Linux, your link above is for Windows)? Will it be odexed again after patching?

@ale5000-git
Copy link
Owner

ale5000-git commented Nov 27, 2016

Tingle will just patch a deodexed framework.jar and the file remains deodexed.
To be sure to make it working you have to deodex the entire ROM.
I will create a tool to deodex the entire ROM in the future but there isn't an ETA yet.

Maybe there are other ways to make it working but I don't know enough about this and I cannot guarantee it will work.

@ArchangeGabriel
Copy link

OK, waiting for your tool then. So, is it something new that CM is odexing their ROMs?

@ale5000-git
Copy link
Owner

They have started at some point, not really new.
But there are also custom CM that aren't odexed at XDA forums.

@xenithorb
Copy link

Could it be that it expects the user to have booted and passed optimization before patching? Could it be that these failures to patch are because it can't find the dex file because it hasn't been generated yet (That's how it works right?). Seeing similar reports here

AFAIK this is the only working option to use signature-spoofing on Android 7+ (LO 14.1) at the moment, so thanks for that. I'm using bacon's build which is deodexed and it works great.

@ale5000-git
Copy link
Owner

@xenithorb: This tool is currently only for patching deodexed files, so before using you have to deodex your ROM.
I plan to simplify things in the future but currently there isn't any other way.

@xenithorb
Copy link

This tool is currently only for patching deodexed files, so before using you have to deodex your ROM.

I totally understand that but it's not what I'm asking.

How does this tool work on a freshly flashed /system (from a deodexed rom) that hasn't been booted yet? Presumably dex files wouldn't exist yet, right?

@Lanchon
Copy link

Lanchon commented Jan 28, 2017

Could it be that it expects the user to have booted and passed optimization before patching?

Presumably dex files wouldn't exist yet, right?

nope. wrong.

tingle patches dex files, not the ART cache. dex files are what is shipped in a deodexed rom.

@Lanchon
Copy link

Lanchon commented Jan 28, 2017

AFAIK this is the only working option to use signature-spoofing on Android 7+ (LO 14.1) at the moment

doesnt my tool haystack support 7? dont remember, but i think it does.

@ale5000-git
Copy link
Owner

ale5000-git commented Jan 28, 2017

@xenithorb: A deodexed ROM (the one that take longer on the first start to optimize) have all dex directly while an odexed ROM have files already optimized (and they cannot be patched unless "deoptimized aka deodexed").

@xenithorb
Copy link

xenithorb commented Jan 28, 2017

OK. I'll just have to wait and see what build those people are using and for what device to tell if it's odexed. I wasn't aware that they were... for whatever reason being a bacon user for 3 years on CM It was always deodexed, so I was trying to think of other possibilities of why it would fail to work. Thanks for the input!

(It was my misunderstanding that .dex was what was generated by optimizing on an deodexed rom on first-boot)

@kevinkvothe
Copy link

Sorry but, may I ask for ETA for this tool you mentioned about odexed roms, @ale5000-git ?

@anonimou0
Copy link

So, I'm on Z00L. After a comment from another user that this ROM was similar to Z00T, I've tried to patch using tingle again. No luck..
Navigating on folders, I see no *.odex files (was I supposed to see?)... Also, I've tried using the Universal Deodexer cited by @ale5000-git a few comments before.
It simply deleted the files that was supposed to deodex. I assumed that Universal Deodexer assumed that those files were already deodexed and had nothing to do with it. Not sure if my assumption is right.

@chrisvella
Copy link

I also had no luck with Universal Deodexer or other similar windows tools. They all seem to fail for lineage os 14.

@rasos
Copy link

rasos commented Dec 26, 2018

No luck either with LineageOS 15.1 for Le Pro3 https://www.lineageoslog.com/15.1/zl1 and de-odexing framework and apps with the 3C Toolbox App. Still getting ERROR: No dex file(s) found, probably the ROM is odexed.

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

10 participants