yashsingh1/xdaforums huggingface dataset:
[Android Software Development] TheWhiteChallenger:
kool

so i posted my framework file a while back with some issues with deodex the framework-ext.jar, it seems a few otheres were have the same issues of other devices, did anyone ever come up with a soulution?
[Android Software Development] chaoslimits:
What Android version/compression did you use?

Thanks
[Android Software Development] Spannaa:
Default & 5 - I simply unzipped the download and dropped in my framework & apks.
[Android Software Development] chaoslimits:
Thanks. Those settings are what I tried and they worked out just fine.
[Android Software Development] chrisn91:
worked great on my Note 8
[Android Software Development] Daniel D.:
Two things I've to ask:

- Would you agree to remove the automatic changing of the colored buttons? It's very confusing.

- Is it possible to change the "appearance" of the command line windows? They're popping up on every file and I can't work with the computer during a deodex-session.
[Android Software Development] YOSEFE:
Thank you for this tool and thread OP and everyone here.

This is the first time I am attempting to deodex my rom.

I have a question about the deodexed files in the deodexed folder. Where on my phone should I copy the files?

Do they all go to: /system/apps? I ask these because some files are from framework.

Lastly, is there a way to by-pass the confirmations after each file is completed? The tool is great, but takes a bit longer to confirm and exit each completed deodexed file.

Thank you all, and to those who celebrate Christmas, may I wish you a very happy and healthy Christmas and New Years 2014.

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

Thank you for this tool and thread OP and everyone here.

This is the first time I am attempting to deodex my rom.

I have a question about the deodexed files in the deodexed folder. Where on my phone should I copy the files?

Do they all go to: /system/apps? I ask these because some files are from framework.

Lastly, is there a way to by-pass the confirmations after each file is completed? The tool is great, but takes a bit longer to confirm and exit each completed deodexed file.

Thank you all, and to those who celebrate Christmas, may I wish you a very happy and healthy Christmas and New Years 2014.
[Android Software Development] Maurice5813:
any plans for android 4.4?
[Android Software Development] Spannaa:
The tool already works for 4.4 - I've deodexed both 4.4 KRT16S and 4.4.2 KOT49H using it set at Android Version: Default and Compression Level: 5
[Android Software Development] YOSEFE:
What do you do with Deodexed apk files? I need to confirm this.
[Android Software Development] Maurice5813:
yep, no apks are working:(
[Android Software Development] Spannaa:
Replace the odexed apks and delete the coresponding.odex

All work fine for me.
[Android Software Development] YOSEFE:
Thanks.
[Android Software Development] YOSEFE:
Hi,

I just found out that the ability to bypass confirmations is already in this deodexing software.

Thank you OP.
[Android Software Development] YOSEFE:
Can someone please tell me if when the Universal Deodexer pulls framework jars to pc it deodexes them on the fly?

---------- Post added at 01:40 PM ---------- Previous post was at 01:25 PM ----------

Did OP's advice work for you? I am also having the 0 file issue with framework files.

Cheers.
[Android Software Development] Spannaa:
From the first post:

So, copy the contents of your app folder and the contents of your framework folder into the apks folder of Universal Deodexer V4 and then hit the "1. Deodex All APKs" button.

When the apks have all been deodexed, hit the "2. Deodex All JARs" button

When this is completed, all of the deodexed apks and jars will be in the deodexed folder.

Simple ;)
[Android Software Development] YOSEFE:
Cheers. You are very clear.

One more question though, if the files from apk and from framework go in the deodexed folder, how do I know which ones to move back to phone /system/apks and to /system/framework?
[Android Software Development] Spannaa:
It's not difficult to work out - jars & framework-res.apk go in framework, the rest go in app (unless you're deodexing a kitkat rom and then some apks go into priv-app)

If in doubt, just go through your current app & framework folders, replace them one by one and delete all of the *.odex files in both folders ;)
[Android Software Development] YOSEFE:
Thank you very much.

I have now made two zip files. One for apks and another for framework which I will extract to the two corresponding folders on my phone.

Thank you for tutoring me.
[Android Software Development] abcdjdj:
Hi,

Glad to see that you got it working. Thanks a lot bro [MENTION=2948558]Spannaa[/MENTION]

I couldn't reply earlier because my exams are currently going on. If you experience any other problems then please let me know.

Regards,

abcdjdj
[Android Software Development] Diego910:
It's not possible to use the command in cmd because it has spaces in the jar name, it should be j"ava -jar UniversalDeodexerV4.jar"
[Android Software Development] abcdjdj:
Agreed that it should be in quotes and the command written in the FAQ does have the name enclosed in double quotes.:good:
[Android Software Development] diablo009:
Thanks a bunch... Really! Want to thank in a post, since the work you did deserves more than just clicking thanks.
[Android Software Development] pyrorob:
so, i might be wrong here, but some observations i made.. i was having a heck of a time trying to get this to work and noticed a few things.. going over your bat files i noticed that your adbpull.bat pulls the framework files to \framework\ but your deodex_jar.bat states on line 18: xcopy "apks\%x%.jar" "%cd%\working\" and your "Universal Deodexer V4.jar" only looks for .jars in \apks, basically it puts the files in framework but the main .jar and .bat files look for them in \apks.

not to mention that it totally broke after updating the adb files (needed to communicate with my gs3 running 4.3) and baksmali and smali jars (better quicker decompile/recompile, v.2.0.2 btw) figured out that its the newer jars causing the issue and just needed a extra command line to work: -d .\ (to point to the framework bootclass files in the same directory) after that and some extra modifications to the bats, everything's cherry..

i'll post the bats and new files here so you can look over.

all in all thou, very nice, makes it easy to deodex, only other changes id suggest are,

need to modify the "Universal Deodexer V4.jar" to look for .jar files in "framework" and not "apks" at the moment

you need to copy the framework files in both \framework and \apks.

to figure out a way to keep the baksmali and smali files in there own directory separate from the framework files, since they might get accidently deleted when cleaning..

and to maybe have 2 directories under deodexed, one for framework files to be extracted into and one for apk's.

and lastly, maybe an option for it to use one window continuously, instead of opening and closing multiple ones..

you can just overwrite your original extracted directory with this one and it will update all the files.. just make sure it overwrites.

View attachment 2519268

Thanks for your time.
[Android Software Development] Nicotino33:
I saw that someone had the same problem as me, but I can not find the video tutorial, I'm not endow perhaps.

But I put the screenshot to show you in detail, I strongly hope that you will help me for deodex my ROM. :/

Can you send me the link of the video, thank you in advance.:laugh::laugh::laugh:

My Apologize (Google Translation) :)
[Android Software Development] abcdjdj:
Hi,

Can you please open the framework folder and check if the 2 jar files are there? Btw here's the video - http://www.youtube.com/watch?v=aZLf6Dj_gPI

It is of an older version though. The only difference in the procedure is that the framework files must now be kept in the "framework" folder. Rest all is the same:)
[Android Software Development] Nicotino33:
I don't have class.dex file :confused:

P.S : If you do not mind I can possibly give you the access via Teamviewer one day you are available and I also, by being against French must be used Google Translate.

EDIT : And xUltimate is good but after that my device is detected it should show me the page with multiple choice which is not the case, I'm waiting it does not move as it should, possibly be a problem with a USB cable (this cable is not a Samsung)
[Android Software Development] yousefageaz:
Sorry for the silly question

But I have a stock 4.3 JB ROM official from samsung

I downloaded it from sammobile

The problem is that the ROM extension is .tar.md5 which is flashed via Odin

So how can deodex it and push it back to my phone ??

Or should I flash it then deodex it ?? ( and how to do this as if I connected the phone to the computer I can't reach to folder "system"

please clear it to me :)
[Android Software Development] abcdjdj:
You can use adb pull like this:-

adb pull /system/app/*.*

This will pull all the system apks and odex files. Then you can use the pull framework option to get the framework files:)
[Android Software Development] Mawe79:
[MENTION=4663391]abcdjdj[/MENTION]

hi first I want to thank you for this tool :)

My problem is in first case offtopic, but maybe you can help me.

I want to install an new System App.

So i copied the apk and the odex to system/app and changed permissions to 644

after restart the app still isn't available :(

so i thought it might be the case because it has an odex, so o tried your tool.

I copied the both files (apk + odex) to the apks folder and used the "deodex all apk" button.

It worked and finally i found the deodexed files in folder "deodexed" and copy this file again to system/app and changed permission to 644

but still doesn't work :(

have any clue? Maybe i did something wrong? Must i fill in the framwork files? Because these step i bypassed!

And for other selections...

my system is 4.2.2 so i checked Android 4.2, Compression LEvel 5 and checked Debug Mode...

Did i something wrong?

When i use point 3 (pull framework files from phone) will the files be copied to your tool or will they moved?

sorry for noob questions, but i am not so firm in it.

Hope you can help me getting this (system) app work.
[Android Software Development] abcdjdj:
Hi,

Yes, you will definitely need the framework files from the ROM of THAT apk only. Not from your phone. The pull from phone option will automatically place the framework files in the correct dir (it is being copied from your connected phone to the dir of the tool). In your case, I am assuming that you are trying to use an apk from another device's ROM so you will need the framework files from that ROM only.:)
[Android Software Development] Mawe79:
hey thx for your fast response and sorry for this (stupid) question.

You saif i need the framework files from the Rom of THAT apk only. How does I know which one is the correct file? Or doesn't matter if i will copy complete framework files?

Sorry for the question :D but i don't know how to identify which framework files are needed for apk xy, hope you understand what I mean :)

And thx a lot for your help!
[Android Software Development] abcdjdj:
Um actually only the bootclasspath files are requires (in simple words, a list of framework files) but it is safer if you get all the files in /system/framework of that rom. Also, to know the bootclasspath files, you will have to check the init.rc file in the ramdisk of that device which could get difficult to get hold of. So in short, it is safer and easier to just get all framework files:)
[Android Software Development] Mawe79:
now it worked perfectly....many thx again :)
[Android Software Development] tazlooney89:
with this software I can deodexar kitkat 4.4.2 roms?

if you can, to open the menu which is the version of android I should choose as only appears to 4.3?

and what is the level of compression I should choose?
[Android Software Development] abcdjdj:
Yes, select 4.3 and try it with the default compression level. If you experience any problems then try selecting a lower compression level
[Android Software Development] phositadc:
How long does it take

I'm trying to deodex the SystemUI.apk from the 4.4.2 update to the Moto X. How long does it take? I choose Android 4.3, and I leave compression on default. It starts to Deodex, opens the deodex_apk.bat, gives the following output:

WELCOME!

Deodexing apk..

Compression=5

API=18

apks\SystemUI.odex

1 File(s) copied

framework\classes.dex

1 File(s) copied

apks\SystemUI.apk

1 File(s) copied

And then it just sits there and does nothing.

I've got all of the files from framework pasted into the Universal Deodexer\Framework. I've got both the SystemUI.apk and SystemUI.odex in the \apks folder. Any ideas?
[Android Software Development] santacruzdz:
Hi,

I tried to install your program but I can't have access to universal v4 window, when I open a command and type what you wrote, I get this error:

Error: Unable to access jarfile Universal

any clue???

I have Java already installed and checked it in the path.
[Android Software Development] editheraven:
Can this deodex 4.4.2?
[Android Software Development] Spannaa:
Try reading three posts above yours!
[Android Software Development] santacruzdz:
no one to answer my question???......
[Android Software Development] abcdjdj:
Hi,

Sorry for the delay. Did you put the file name in double quotes?
[Android Software Development] abcdjdj:
Can you please re download the tool and try it again? If it still gets stuck then kindly upload the framework files and the apk+odex files.
[Android Software Development] santacruzdz:
No, I did without, exactly as you wrote in your explanation in the first page..is it wrong?

I also tried your older version V3 (fixed) it works on my computer but I encountered a lot of problems trying to deodex the frame...
[Android Software Development] abcdjdj:
Really sorry.. My fault. Updated it. :o
[Android Software Development] santacruzdz:
yesssss....now it works :)

so I succefully deodexed the system framework but not the system apks, I could only deodex 7 apks of a total of 139 and I get the following error:

Error: Unable to access jarfile baksmali.jar

Error: Unable to access jarfile smali.jar

File not found - classes.dex

0 file(s) copied

Any clue please?? I'm running android version 4.2.2. stock rom lg G2
[Android Software Development] dugeriss:
awesome :sir :)
[Android Software Development] abcdjdj:
Go to the framework folder and look for baksmali and smali.jar. If you can't see it, then redownload the tool.
[Android Software Development] santacruzdz:
Yes they are there...but I get that message still:

Deodexing apk..

Compression=5

API=17

apks\DirectBeam.odex

1 fichier(s) copié(s)

Error occurred while loading boot class path files. Aborting.

org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/fra

mework/core.odex

at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:2

17)

at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)

at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:67)

at org.jf.baksmali.main.main(main.java:280)

UNEXPECTED TOP-LEVEL EXCEPTION:

java.lang.RuntimeException: Cannot find file or directory "out/"

at org.jf.smali.main.main(main.java:174)

Fichier introuvable - classes.dex

0 file(s) copied

apks\DirectBeam.apk

1 file(s) copied
[Android Software Development] abcdjdj:
Boot class path files are your framework files. Please make sure that they are there in the framework folder..
[Android Software Development] santacruzdz:
Thank you ;)
[Android Software Development] Gio_ital:
I used this tool to deodex a stock 4.3 rom for my Xperia Z. Everything goes fine, I made a flashable zip, installed and stuck in a bootloop.I don't know what was wrong
[Android Software Development] abcdjdj:
Try using a lower compression value
[Android Software Development] Gio_ital:
Thanks, I'll try that
[Android Software Development] bubba949:
Hi, After pulling system framework and moving the files across to the apk folder to deodex jar I get the error:

error: unable to access jarfile baksmali.jar

error: unable to access jarfilesmali.jar

File not found - Classes.dex

Compression - 5

API - 18

Stock 4.3

What am I doing wrong?
[Android Software Development] dandyqb:
why i can't deodex all my jars?pull it from my phone but nothing happens when you press deodex all jars...

xperia z utra 4.3
[Android Software Development] abcdjdj:
Check #434 above.

Kindly read the instructions again.
[Android Software Development] bubba949:
I read through the forum and have already done that, even tried replacing with different versions of smali and baksmali with no luck.
[Android Software Development] dicksteele:
Check your private messages
[Android Software Development] abcdjdj:
This error usually occurs when the incorrect api level value is selected. But it seems that you have selected the correct one and still the error pops up. I'll look into it and get back to you
[Android Software Development] Prashantthemusicvirus:
What to do after deodexing rom ??

Do I need to copy/paste some folders.. tell me the steps (I want to deodex my stock ROM)
[Android Software Development] somboons:
what's wrong

C:\mobiles\Universal Deodexer V4\Universal Deodexer V4>java -jar "Universal Deod

exer V4.jar"

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n

umber in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12

4)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

C:\mobiles\Universal Deodexer V4\Universal Deodexer V4>java -version

java version "1.5.0_11"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)

Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
[Android Software Development] abcdjdj:
Kindly update your java to the latest version. Lol 1.5 is ancient now:p
[Android Software Development] datas0ft:
Did you forgot me ;)
[Android Software Development] abcdjdj:
Sorry:o

Anyway, I will have to download your device's stock rom and check it out. I won't be able to do it today but I will be able to it tomorrow.
[Android Software Development] abcdjdj:
I downloaded your device's ftf thrice but it just keeps on failing at 99% :(

Can you please upload the entire /system/framework folder?
[Android Software Development] datas0ft:
Here you go: [LINK REMOVED].

Its on my own home server, i remove it tomorrow.
[Android Software Development] abcdjdj:
The framework files got deodexed perfectly. I don't know why the apks should cause any trouble in that case then.. Here's the deodexed framework - https://www.dropbox.com/s/4iyqqz57xw1l2da/framework-deodexed.zip

Can you please upload around 3-4 apks along with their odex files?
[Android Software Development] datas0ft:
To get all things right i uploaded full app folder: [LINK REMOVED]
[Android Software Development] abcdjdj:
Here you go - https://www.mediafire.com/?n91jt171e1bea1f

For some reason, manually deodexing the problematic apks did the job.
[Android Software Development] biobio76:
Help please...

https://mega.co.nz/#!Bw41zDyA!VpFH6kIG6p07_Vu1zRAJI11FtZ057EwBV24S-rVt9rk

Dear abcdjdj

I'm having huge issue in deodexing the very last stock rom

Of new huawei phone model honor 3x

Tried several ways.... Your great tool seems to do the job,

But when I try later to compile the apps I realize the deodexing was

Not really done properly.....

Please be so kind to have a look... Don't know what else to try...

Above the system, the boot and the recovery from original stock

Rom..

G
[Android Software Development] abcdjdj:
Can you please enable debugging mode and give me the log of the deodexing procedure?
[Android Software Development] abcdjdj:
Please update your Java to the latest version and then try again. It will surely work
[Android Software Development] biobio76:
Having everything updated was the thing I did prior to start

this 'challenge' in deodexing this rom....

99% is smali /baksmali fault.... Updated also those two on your tool but nothing..

Do you mind to pull down the rom (link posted above) and give it a try yourself.... If

You fail that are our master.... Then I can avoid to spend nights behind that.. :)

Thanks
[Android Software Development] abcdjdj:
Man it's 600mb.. It'll take a lot of time to download that. Can you please upload only the /system/framework folder?
[Android Software Development] datas0ft:
Actually i wanted to do this itself (deodexing), but your work is appreciated too ;) Thanks

Hope this case helps you get this tool better.

---------- Post added at 11:25 PM ---------- Previous post was at 10:46 PM ----------

Seems see uploaded rar is broken. I downloaded it twice. Even ubuntu 12.04 LTS tells that its not rar file. Portable winrar did the job, all is OK.
[Android Software Development] biobio76:
Here you go, only the system app folder and the

Framework folder...

App_framework.rar*(281.5 MB)

https://mega.co.nz/#!0gxRwR6L!3UsfSqdSJqPmsLbaeDR4SAlO_iYBDR7XnMLptJuy_nc

really appreciate whatever help you can bring me in trying to deodex this stock rom....

cheers
[Android Software Development] spiderio:
Hi... after updating latest java version

suddenly It's stop working

here is the debug says

'7za' is not recognized as an internal or external command,
operable program or batch file.
File not found - 7za.exe
[Android Software Development] biobio76:
Hi,

This is exactly my same error.... Anybody knows what's wrong

And how to solve?
[Android Software Development] jamorOO7:
there were some errors but the process was completed. zip, flashed, success, reboot, freezes when animation is about to finish. by the way, i did wipe cache and dalvik. any suggestion guys.
[Android Software Development] abcdjdj:
You have not kept the framework files in the "framework" folder of the tool.

I tried deodexing your uploaded files. Most of them got deodexed but a few of them require some inlining.txt from your phone which is a custom inline method table of your ROM. At the moment I'm busy with my exams. I'll get back to you as soon as possible.

Kindly post the log after enabling debugging mode.
[Android Software Development] biobio76:
Thanks so much for have tried and discovered this...

Ok man, take your time but please don't forget me....

I'm able to send you whatever additional info you need

To complete the deodexing process.... Especially the Framework is

hard to get deodexed....

Thanks
[Android Software Development] jamorOO7:
alright bro. will try to upload the log. hopefully i can still retrieved it.
[Android Software Development] mikk_11:
Does it also work with Android 4.4?
[Android Software Development] Spannaa:
Yes
[Android Software Development] mikk_11:
Ok thanks. I'll try.

What do I wrong. It always deodexed just one apk.
[Android Software Development] abcdjdj:
Kindly read the instructions in the first post again. All the apks which need to be deodexed, must be kept in the "apks" folder along with their respective odex file.
[Android Software Development] mikk_11:
I've done this!!
[Android Software Development] abcdjdj:
Um then there is no reason why it shouldn't work. :rolleyes:

Can you please try re-downloading the tool and trying it from scratch again?
[Android Software Development] mikk_11:
I've managed it.

I thought you mean with "framework fileS" the whole files of the framework folder.

Edit: I hope I don't ask this question a second time but what is the difference between the compression values?