yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] darangel212:
I used Tickle My Android tool to get these files but dont know how to put it back there and remove old odex files in the folders (app, priv-app & framework). It is funny to hear it but plz help me :D
[Android Software/Hacking General [Developers Only]] Micheal86:
Hi Everyone, I Need Help. After deodexing the Stock 5.1.1 rom (Samsung Galaxy A800I), I`ve got Only the framework folder`s 30 files as deodexed and the app and the priv-app folder as untouched (all apps of both folders are with their arm folders with odex files). I`ve tried several times , but results are remains the same. Would anybody please help me to find out solutions. Thanks in advance.
[Android Software/Hacking General [Developers Only]] :
Lol you can do it with twrp

In some ways
[Android Software/Hacking General [Developers Only]] darangel212:
Bro i googled about it and did it with twrp recovery which i had already installed but got bootloop. Any help?
[Android Software/Hacking General [Developers Only]] mie_shariff:
I have followed exactly the steps.

But still end up in the bootloops infinitely.

I am using SM-N9005 with stock firmware - 2015-11-19	Malaysia	5.0	N9005DXUGBOK1	N9005OLBGBOK1	YES

Any help for me please? :(

Actually even the Deodex system itself cause the bootloops although all files and app have been deodexed successfully.

Thank you.
[Android Software/Hacking General [Developers Only]] dibnah:
Brilliant thanks for this, I had spent three days getting no where, all I had to do was add the "program files" path and all was good no more errors.
[Android Software/Hacking General [Developers Only]] MaDaLiNoSt:
WTF

idk what is wrong with this. please help me.
[Android Software/Hacking General [Developers Only]] MaDaLiNoSt:
Still no help from dev ? I found this tool to be buggy with touchwiz roms. On newer PDA it only deodex framework and says Deodex complette. Nice..

Sent from galaxy J5. [SM-J500F/DS] . Please quote/mention me when reply to me.
[Android Software/Hacking General [Developers Only]] devondale16:
Hello I've looked everywhere (I'm sure its somewhere) and I can't find it but I'm looking for a detailed tutorial for this as I am not very smart. Thanks so much. (BTW its for my rooted s5 running stock lollipop.)
[Android Software/Hacking General [Developers Only]] Mohitash:
Hello every one,

[MENTION=4482551]joeldroid[/MENTION] thanks for the tool and your time. And of course i tried this tool.

Users that are still not able to deodex marshmallow rom. (missing classes.dex from apk files or other issue)

Check this new guide - http://xdaforums.com/android/general/guide-deodex-marshmallow-6-0-completely-t3403544 (specially for Sony Xperia firmwares)

Regards

Mohitash
[Android Software/Hacking General [Developers Only]] lukiboss:
Okey i got deodexed folders : app/priv-app/modules but what now? I cant delete old folders in my phone and i cant replace old one with new one...
[Android Software/Hacking General [Developers Only]] hataw:
any video tutorial
[Android Software/Hacking General [Developers Only]] Azhero:
I deodexed Touchwiz 5.1.1 firmware using that tool. ..It was successful. . Then I wrote the updater-script and created flashable zip. .I flashed the zip via latest TWRP 3.0.2 and restarted the device. . After "Android is Upgrading" my device went into bootloop. . .What's wrong guys? pls help. . .My device is Galaxy J2. .

---------- Post added at 09:45 AM ---------- Previous post was at 09:43 AM ----------

Same problem for Galaxy J2 with 5.1.1
[Android Software/Hacking General [Developers Only]] Azhero:
[MENTION=1612028]mie_shariff[/MENTION], use version 2.4
[Android Software/Hacking General [Developers Only]] zuziemanis:
Thank dev _riddle

Becouse tools from mr joildroid not work in my xp s3 im try use your update oatdex2.jar in my debian 64 bit and all successfully deodek my rom in 5.0.1 s4 stock that any failed before.

But still have exceptionaly one apk that have configuration like this.

https://mega.nz/#!bcIg0TpZ!uwf1rPmDXRn_qVon69XqbswH6eEqo2ppecjEnQeSmzk

Looks like no any odex.xz in there but just .odex in arm.

Hope can be addjusment included in next realese oatdex2.jar that you build.

Or any suggestions to me to solved this.

Thank you very much.
[Android Software/Hacking General [Developers Only]] Azhero:
For 5.1.1 Lollipop, replace oat2dex.jar with this https://github.com/testwhat/SmaliEx/releases/download/0.86/oat2dex.jar . .No more bootloop
[Android Software/Hacking General [Developers Only]] dan83m:
Hi guys, I really need help here, tried many times but it come always with gmscore failed to deodex! It's the only one i got problem to convert, someone can help me plz.

device S5
[Android Software/Hacking General [Developers Only]] mayank22:
May be its already deodexed.. .
[Android Software/Hacking General [Developers Only]] pritamdutt:
I tried your tool to deodex my touchwiz lollipop SM-J200G, everything showed success, but when I try to boot, It stucks at optimizing apps and reboots again in bootloop. please advice.

---------- Post added at 03:01 PM ---------- Previous post was at 03:00 PM ----------

google apps dont work well in deodexing part. thats why i prefer leaving them aside.

---------- Post added at 03:03 PM ---------- Previous post was at 03:01 PM ----------

same problem with me

POST #753 solved the problem.

---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------

replace the files by any custom recovery and set permissions.
[Android Software/Hacking General [Developers Only]] :
Use svadex deodex tool for Samsung 5.1.1 devices it'll work had same problem but switched to it and it worked
[Android Software/Hacking General [Developers Only]] pritamdutt:
POST #753 solved the problem.
[Android Software/Hacking General [Developers Only]] levone1:
Any help? -

Xperia Z1c, Jaguar LP, (AOSP). Newest build has odex files zipped in gz files in arm folder. I have always used Lordroid for deodexing, but doesn't see odex files that are zipped, nor does any other deodexer I've tried. I tried manually copying every odex out of the zip and into the arm folder, but get error - 'failed, unable to add classes dex' - on every app and priv-app apk. Joeldroid and Lordroid both can handle framework files fine. Any way I can get it to work?
[Android Software/Hacking General [Developers Only]] anees02:
I have TW MM ROM and joel deodexer batch tool just de-optimized boot.oat file and deodexed core jar files only. But all other stuff like other jar files in framework folder and all apks in app and priv-app folders are still odexed.

So why this tool doesn't deodex all apps and jars?
[Android Software/Hacking General [Developers Only]] chocolote4444:
After it deodexes the rom, Where is the location of the deodexed rom? I deodexed my rom from C:\desktop\system.
[Android Software/Hacking General [Developers Only]] :
Repacking to system.img.ext4

I have successfully De-Odexed my Samsung stock rom, I extracted from the tar.md5 and got system.img.ext4 and used ext4 unpacker to unpack and imported the folder to the application to de odex but now I do not know how to make it system.img.ext4 back again in order to flash odin file.
[Android Software/Hacking General [Developers Only]] basem_ym:
Oh never mind, it was stupid :eek:
[Android Software/Hacking General [Developers Only]] cobra1111new:
Not working deodek sdk22 lollipop 5.1. Firmware is bootlop
[Android Software/Hacking General [Developers Only]] Little Rooster:
When I extract the orig SGS4 Lollipop Rom, there are no Subfolders. So I can not choose a "System" Folder to deodex.

Where can I find instructions how to deodex the Rom??

What must I do??

Is there a step by step manual somewhere?

Can I deodex a Nandroid backup of my rom? Or must I deodex the original Lollipop rom and then install everything again?

Thanx for infos,

Foh
[Android Software/Hacking General [Developers Only]] Ticklefish:
This is really meant to deodex the system folders that will be on your phone once you've flashed/installed/whatever your rom. There are three main ones: "/system/framework/", "/system/app/" and "/system/priv-app/". These need to be copied into a particular folder on your computer, which you'll point this tool to.

You can either get those folders from your phone or you'll need to find them in whatever file you're flashing. In your case I suspect you'll find them inside "system.img.ext4". Have a look here to see one way to do that: https://www.theandroidsoul.com/extract-system-img-windows-pc/.

I haven't used any of the tools mentioned on that link so, as always when using unknown software, make sure you take it carefully.

Best of luck!
[Android Software/Hacking General [Developers Only]] Little Rooster:
Thanx for explaining. But I am afraid it will still leave some difficulties, and leaks of understanding for me.

The manual says "unzip the rom". I think I must do it on the PC?

You say, "install on phone, and copy the files to the computer, then deodex"

Do I understand right?

I think when I deodex the files on the conputer, and then copy them back to the phone, I am awaiting lots of trouble with permissions.

Anyway ...

Meanwhile I found out, that it's maybe more clever to install Magisk, and then install the exposed framework via Magisk. I think it will not be not neccessary to deodex this way?! I hope this will work out ...

ps: I forgot to mention, that I wanted to deodex the rom only to use the Xposed Frmework, because the framework doesn't work on odexed roms with my S4. That's the only reason.
[Android Software/Hacking General [Developers Only]] Ticklefish:
I've just sent you a PM about deodexing.

I don't know much about Magisk or Xposed though, sorry. I've never used either of them.
[Android Software/Hacking General [Developers Only]] mrjaydee82:
The classes that didn't get automatically pushed from boot.oat...I just went into working folder and manually pushed the classes into the framework files...deleted boot.oat and the other junk 1 and was good to go.

There are already many ways to decompile for jellybean ...tools and kitchens for that
[Android Software/Hacking General [Developers Only]] joeldroid:
Can you please explain your steps in detail please? So that I can implement it? did the rom boot? what is your device?
[Android Software/Hacking General [Developers Only]] mrjaydee82:
I use the nexus 6. The dex files from boot.oat didn't seem to place the classes.dex into the jars...so all I did was take the dex folder classes from the working folder (since those are the deodex files) and used winrar to open the jars and place the classes in there and renamed correctly to classes.dex. As for the framework.jar renamed the classes to classes.dex and classes2.dex. Then I deleted the 2 files left over in the framework arm folder. Boots up like a charm after that
[Android Software/Hacking General [Developers Only]] joeldroid:
awesome, thanks for the heads up. I will implement that right away.

Cheers bro.
[Android Software/Hacking General [Developers Only]] mrjaydee82:
NP at all. If you need anything or to test hit me up on hangouts Jason Slapp
[Android Software/Hacking General [Developers Only]] joeldroid:
sure man. Will do.

Cheers
[Android Software/Hacking General [Developers Only]] Golv:
[MENTION=4482551]joeldroid[/MENTION]

The algorithm is following:

java -Xmx512m -jar oat2dex.jar" boot \framework\arm\boot.oat

For apps from \system\priv-app\ or \system\app\ :

java -jar oat2dex.jar \priv-app(or app)\name_app\arm\name_app.odex odex
java -Xmx512m -jar baksmali.jar -a 21 -x name_app.dex -o \DEODEX\name_app
java -Xmx512m -jar smali.jar -a 21 \DEODEX\name_app -o \name_app\classes.dex
7za u -tzip \priv-app(or app)\name_app\name_app.apk \name_app\classes.dex

Done!

If the application from framework and its *.odex contained in boot.oat (for example android.policy.jar), then we take recieved * .dex from dex folder (after java -Xmx512m -jar oat2dex.jar" boot \framework\arm\boot.oat ) and then parse it with baksmali, collect with smali and the resulting classes.dex we pack into jar.

If this framework.jar from \framework, then it has framework-classes2.dex. This .dex we parse with baksmali, collect with smali and resulting - classes2.dex we pack into jar with 7za together with classes.dex.
[Android Software/Hacking General [Developers Only]] joeldroid:
[MENTION=3986004]civato[/MENTION] your issue is fixed, get the latest version (2.2) from the First post.
[Android Software/Hacking General [Developers Only]] joeldroid:
Awesome, that confirms my logic. Thanks for sharing man, btw with the latest oat2dex that you shared with me baksmali and smali is not needed.
[Android Software/Hacking General [Developers Only]] joeldroid:
Version 2.2 released

Version 2.2 released, with FULL deodexing support. Now it deodexes all framework files.

Thanks to [MENTION=2477527]mrjaydee82[/MENTION] and [MENTION=4445238]Golv[/MENTION] for the help and support.

Any bugs, please let me know
[Android Software/Hacking General [Developers Only]] civato:
Thanks , I will report back later if all went well.
[Android Software/Hacking General [Developers Only]] hanidib:
Dear JoelDroid

I am still getting: Boot.oat extraction failed.

thanks for all the good work so far.
[Android Software/Hacking General [Developers Only]] joeldroid:
send me a screenshot and logs if u can, as well as your boot oat file.... I will look into this
[Android Software/Hacking General [Developers Only]] hanidib:
Version 2.3 is working fine. I will flash tomorrow to test. thank you!
[Android Software/Hacking General [Developers Only]] hanidib:
it worked except annoying FC on NFC, bluetooth and Samsung platform link. May be it is not related to the deodexing ...

anyway thanks a lot for your efforts.
[Android Software/Hacking General [Developers Only]] joeldroid:
well it is not, coz I use a Samsung Galaxy S5 and I deodexed it, works perfect, no fc at all. What is your Samsung Device?

I got confirmation today from another Rom Chef that it works perfect on S4. I can confirm 100% that it works on S5.

let me know

Cheers
[Android Software/Hacking General [Developers Only]] hanidib:
Update: i have redone it - did a complete wipe, flashed it and everything is working fine now - thank you!
[Android Software/Hacking General [Developers Only]] joeldroid:
Glad to hear it :) Happy Modding
[Android Software/Hacking General [Developers Only]] tamirda:
Hi there

First, thank you very much for the Auto-tool, will save for devs alot of pain and time :)

I have several questions, since I am in the army and can not investigate it, maybe you can answer them.

1. What is boot.oat and boot.arm? What are their job in the system?

2. Where is the working folder? Since it is not in the tool folder nor in the system folder(according to my friend ...)

Thank you very much :)
[Android Software/Hacking General [Developers Only]] Scott:
Worked great! Thanks for this!
[Android Software/Hacking General [Developers Only]] Scott:
Ok, the rom de-odexed ok however I get a ton of Gapps / Play services F/C.

ROM is Google Stock LRX22C for Nexus 6

Any thoughts on how to resolve?
[Android Software/Hacking General [Developers Only]] asmanao:
could you tell me where wrong with java? thanks :)
[Android Software/Hacking General [Developers Only]] joeldroid:
Well I got confirmation from a XDA member [MENTION=2477527]mrjaydee82[/MENTION] that it works perfectly with Nexus 6 LRX22C,

I do not own a Nexus device. I have a Galaxy S5.
[Android Software/Hacking General [Developers Only]] joeldroid:
boot oat has some framework files within it, boot.arm is the art precompiled binary of boot.oat.

Working folder is my app's temp folder where it does the work of deodexing.
[Android Software/Hacking General [Developers Only]] joeldroid:
sure your java path should look like C:\Program Files\Java\jdk1.7.0_71\bin or C:\Program Files\Java\jre7\bin
[Android Software/Hacking General [Developers Only]] Scott:
I talked with Jason yesterday and he said it worked with version 2.1 (and some manual editing) on the Nexus 6 LRX22C. He has sent me that version and I will try with that and let you know.
[Android Software/Hacking General [Developers Only]] asmanao:
thanks solved with the path C: \ Program Files \ Java \ jre1.8.0_25 \ bin
[Android Software/Hacking General [Developers Only]] asmanao:
deodexed [ROM][5.0.2] NightOwl BETA 4 [CM12] by bauner device n7000 works fine thanks
[Android Software/Hacking General [Developers Only]] Golv:
Also you can try to use full auto deodex tool for Lollipop of my collegue: http://xdaforums.com/showpost.php?p=57471606&postcount=1
[Android Software/Hacking General [Developers Only]] Scott:
Does not work for me. I mean it does not do anything. Says it does but doesnt.

I am testing out ver 2.1 and will report back my results.

But I appreciate the suggestion!
[Android Software/Hacking General [Developers Only]] joeldroid:
Please let me know about the results and also let me know what manual patching you need to do so that I can automate it

Cheers.
[Android Software/Hacking General [Developers Only]] Scott:
Figured it out...

There are three files on Shamu that simply cannot be de-odexed; Maps, PreBuiltGMSCore, PlusOne.

After replacing those with the updated pre-de-odexed versions all worked well!

Your Tool is great!

EDIT: Add to the list of files: Drive, Docs, Sheets, and Slides.
[Android Software/Hacking General [Developers Only]] Scott:
Tried to donate to you but your country does not allow? If you have a charity or some other good cause to donate too then let me know. I will send money that way! :highfive:

I rated your thread 5 stars! Everyone should do the same!
[Android Software/Hacking General [Developers Only]] joeldroid:
Thanks for the encouraging words bro. Yeah I put in a lot of effort. Also I figured out the issue of not being able to deodex those files. I'm working on a new version which will fix those issues. But you gotta wait. As I'm shifting houses. Cheers.
[Android Software/Hacking General [Developers Only]] Scott:
No worries. I have used de-odex version of those files right from play store updates.
[Android Software/Hacking General [Developers Only]] AxAtAx:
Unreal, awesome work, I am serious, this tool worked like a champ. Thank you sir very much for this tool!!!!!!!!!!!!!:good::good:

Update: fixed!
[Android Software/Hacking General [Developers Only]] AxAtAx:
I am still having the same issue with the google files, google process and app f/c error, can you tell what files it is looking for? I can fix if I knew the files involved, can you help with the file names....

Thank you sir, serious....:good::good:
[Android Software/Hacking General [Developers Only]] Scott:
I listed each file here:
[Android Software/Hacking General [Developers Only]] AxAtAx:
lol, thank you sir, I saw those, I thought there were a couple more. Let me roll with these and see whats up.

During the process, it didn't show errors in the convert...hmm
[Android Software/Hacking General [Developers Only]] Scott:
Yep, same here...

But after trial and error I figured that those were the apps not deodexing

If you have more post the issue and I will try to help
[Android Software/Hacking General [Developers Only]] The Sickness:
[MENTION=4482551]joeldroid[/MENTION].....awesome work bro. Thank you very much for your time in building this tool for us. I really appreciate it. Works like a champ..............................:)
[Android Software/Hacking General [Developers Only]] kpirnie:
I'm so brain fried, can someone help me out here.

I'm getting "Java Check: Failed"

http://prntscr.com/5udpzx

Yet, my path is set:

http://prntscr.com/5udqew
[Android Software/Hacking General [Developers Only]] :
mayve net framework related
[Android Software/Hacking General [Developers Only]] kpirnie:
Have 4.5.2 installed (update went out last week to me)
[Android Software/Hacking General [Developers Only]] Carotix:
[MENTION=4482551]joeldroid[/MENTION] you are greattttttttt !!! thank a lot for this tool !! You are our savior :good:
[Android Software/Hacking General [Developers Only]] :
sorry to ask how you got it working :eek:
[Android Software/Hacking General [Developers Only]] Carotix:
following the instructions in the first post .... i select system from browse and started ... with java check : ok

19-01-2015:23-18-30 => Framework Folder Exists

19-01-2015:23-18-30 => boot.oat Exists

19-01-2015:23-18-30 => App Folder Exists

19-01-2015:23-18-30 => Priv-App Folder Exists

19-01-2015:23-18-30 => Deodexing Started

19-01-2015:23-18-30 => Extracting Boot.oat

19-01-2015:23-18-30 => Copying Boot.oat to Working Directory - SUCCESS

19-01-2015:23-19-09 => Boot.oat Extraction Complete

19-01-2015:23-19-09 => Odexed System Apps Count: 95

19-01-2015:23-19-09 => Deodexing System Apps

19-01-2015:23-19-17 => 1 of 95 - AccessControl - SUCCESS

19-01-2015:23-19-21 => 2 of 95 - AirMotionTryActually - SUCCESS

19-01-2015:23-19-23 => 3 of 95 - AllShareCastPlayer - SUCCESS

and other
[Android Software/Hacking General [Developers Only]] Y3dx:
Thanks
[Android Software/Hacking General [Developers Only]] :
ment with the java but i'll try one thing
[Android Software/Hacking General [Developers Only]] Geris:
flashable cwm

need flashable update script cwm
[Android Software/Hacking General [Developers Only]] bobfrantic:
Boot.oat Extraction Failed

First of all this is exciting to be able to deodex Lollipop. Thanks to [MENTION=4482551]joeldroid[/MENTION] for making this. I have read the entire thread, and haven't found answer for my problem. Have seen others having this issue but no explanation how they got around it other than to use the latest verion of this tool. I have v2.3. My java checks ok. I have no spaces in any of the folder paths. Yet I get the boot.oat extraction failing. I have latest java also and path is good along with the latest .Net framework. I run win 8.1 on my puter. Helpful suggestions are appreciated. I've attached the log.

View attachment 3127704

Thanks in advance...
[Android Software/Hacking General [Developers Only]] dongfangri:
It's strange. Maybe you can try to extract the ROM odin files with android kitchen one more time.
[Android Software/Hacking General [Developers Only]] bobfrantic:
I may try that. Also I think because it is the leaked firmware for the S4 from China that may cause a problem. Curious which kitchen you use btw. I think I will download an S5 firmware and try again too. Thanks for your answer.

Edit: I did need to update java to build 31 and all worked fine. Both on an S5 rom and the Chinese leaked rom for the S4 I9500. Great tool indeed and looking forward to the upates for the S4 when they come out. Thanks [MENTION=4482551]joeldroid[/MENTION] for this, it's wonderful!!!! :D
[Android Software/Hacking General [Developers Only]] hlxanthus:
Anyone have any luck re-odexing?
[Android Software/Hacking General [Developers Only]] Alan-B:
Hi For Win7 64 (FR) path is:

JAVA_HOME C:\Programmes\jre1.8.0_31

Path C:\Programmes\Java\jre1.8.0_31\bin\java.exe

;)
[Android Software/Hacking General [Developers Only]] DoctorStrange96:
I'm getting "Java Check: Failed" here. I've got both JDK and JRE installed and set up. I'm using Windows 8.1 x64.

Reinstalling Java did help once, but now the error's back. On my laptop, which uses the same OS and Java version, the Java check doesn't fail.
[Android Software/Hacking General [Developers Only]] blueberry6401:
Me too.
[Android Software/Hacking General [Developers Only]] prdog1:
Same here Java Fail. Win 8.1 x64. Path works for all other dev tools and command prompt. Latest .net framework. :cool:
[Android Software/Hacking General [Developers Only]] DoctorStrange96:
Installed Windows 7 here on my desktop, along with latest Java JDK and .NET Framework. And guess what: Java check still fails. What the f**k is wrong? [MENTION=4482551]joeldroid[/MENTION], can you please explain how is this Java check done?
[Android Software/Hacking General [Developers Only]] ghoster76:
For anyone who's using x64 bit has to install jre or jdk for x86
[Android Software/Hacking General [Developers Only]] joeldroid:
Java check is done using passing a command called java -version,

try doing that in command prompt. If it fails then, you haven't set up environment variables in your system. It does not get set up automatically. you have to do it by yourself.