yashsingh1/xdaforums huggingface dataset:
[Android Software Development] abcdjdj:
Can you upload the framework files and the apks?
[Android Software Development] Lord AJ:
Very very sorry friend. I know I'm being uncooperative but I can't help it. I'm using my mobile EDGE connection to do all this posting and it won't be possible for me to upload these files. I'm really sorry but I can't help it. I've been bothering u for the last 2 days and then this. Is there any other way ??
[Android Software Development] abcdjdj:
Try using the reset tool option. If it gives an error then re-extract the tool.
[Android Software Development] Lord AJ:
I did this and repeated the process but this time the failed message came back again. Find the log in the attachments. Then I again reset the tool and this tine tried using the option to pull framework files but that stuck. forever on daemon started successfully even though I have all drivers properly installed. I can use the adb commands manually very well but not here. The same was happening when I used xultimate before I came across this tool.
[Android Software Development] abcdjdj:
Good at least baksmali and smali are being executed properly now. But it seems that you haven't placed the framework files in the "framework" folder of the tool. After resetting it, all files which you placed earlier get deleted.
[Android Software Development] wertzPH:
quick question. deodexing android 4.2.2, compression level 9 does it suppose not to deodex framework files? also, i have errors after deodexing, FAILED : Calendar,Filemanager,Phone,Settings.apks, but they are on the done folder together with the newly deodexed files but without their .odex. am i suppose to delete these before merging the folder to rom?

just needing some clarifications. thanks.
[Android Software Development] Lord AJ:
I did place the framework files in the correct folder. As I said the pull framework files function didn't work but I manually placed those files there.
[Android Software Development] abcdjdj:
I have no idea what the error is without the log. Please post it. Level 9 will mostly cause fc's. It is highly recommended to leave it on the default one.

Can you please upload it man? It will seriously be much easier.
[Android Software Development] Lord AJ:
Bravo I finally did it. I tried the whole thing all over again. Copied the framework files, put them in the correct folder, pasted the files in the source folder, crossed fingers and ran the tool. This time it worked well and I didn't get any of the earlier errors. Succesfully transferred the files to the phone. Now off to theming. Thanks a LOT abcdjdj

I could never have been successful without your help.
[Android Software Development] abcdjdj:
You have to place the jar files in the apk folder. Also do one thing just open all the batch files and add this line at the end - [MENTION=607132]pause[/MENTION]

Then you will be able to see the errors.
[Android Software Development] Graffiti Exploit:
It works but it gets a TOP LEVEL EXECUTION thing going on but at the end it says DEODEXED SUCCESSFUL.

And will the deodexed apks and jar files be automatically copied to the phone or should I manually copy them myself? I'm sorry I'm not familiar with this things.
[Android Software Development] abcdjdj:
Could you please post a screenshot? And you will have to copy them yourself. Sorry:(

You can download Root Browser from Play store. It is free and allows you to delete and copy multiple files at one time.
[Android Software Development] Graffiti Exploit:
And would you mind telling me where to copy the apks and jars? Each for the filetype. I'm very sorry for this noobish questions, I just wanna make sure I'm doing this right. Restoring a backup is very tedious. Lol. Thanks!

Anyways here is the screenshot:

Note: The Deodexed Jars already exist in the folder. That is why the overwrite thing appeared. If it wasn't it says deodexed successfully.
[Android Software Development] abcdjdj:
It seems that you have copied all apks and placed them in the "apks" folder. Actually, only apks which have corresponding odex files are supposed to be placed along with the odex files. Also, please clear the deodexed folder if there are any files inside it.
[Android Software Development] Graffiti Exploit:
I only copied the jars pulled by the script to the apk folder. Nothing else.

And is it okay to delete the .odex files in system/app after copying the deodexed apks?

Also here is a better view of it without the overwrite thing:
[Android Software Development] abcdjdj:
You have to copy the jar file along with the respective odex file, both together kept in the apks folder. If you find a jar file without an odex file then that means that it is already deodexed. So for example if you have am.jar then you must look for am.odex. If you have both the jar and odex files then copy both to the apks folder. But if you have only the jar file and no odex file then leave that jar file as it is already deodexed. This same logic applies even to apks.

Hope you understand:)

Btw, you have to copy deodexed apks to /system/app and deodexed jar files to /system/framework
[Android Software Development] Graffiti Exploit:
I did as you told me, and it seems to get worse. Lol

Please be patient with me. I deeply apologize for the inconvenience.

By the way, is it safe to delete the .odex files on my phone? in the /system/app after copying the deodexed apks?
[Android Software Development] abcdjdj:
No it is not worse. Now, it seems that you have not installed the framework correctly. Please delete the entire kit and re-download a fresh copy and follow the video and read the instructions carefully and I am sure that you will get it;)
[Android Software Development] Surpass:
Thanks for the program. But I'm getting problems with it. :(

Everything went smoothly till I tried opening Main.bat; whenever I tried opening it it would instantly close. So I followed the directions you wrote in an earlier post to edit the file and change 'exit' to 'pause'. Now, when I open it, it doesn't instantly close, but instead it says:

'java' is not recognized as an internal or external command, operable program or batch file.

Press any key to continue . . .

So, I press a key, and it instantly closes. Urgh. :eek: Any idea why? I've got JDK and standard Java Runtime installed... is there another Java I need to install or something?

Thanks! ;)
[Android Software Development] abcdjdj:
Uninstall all the previous java jdk/sdk/jre or whatever is installed and get the latest java jdk from here - http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Be sure to chose the correct version according to you operating system.:)
[Android Software Development] Surpass:
Nope. :confused:

I uninstalled all Javas, uninstalled your program, deleted the ROM, reinstalled x64 Windows version of Java JDK, reinstalled your program, extracted the ROM again, copied them over like in the directions, and even still I'm running into problems. I still got the insta-close with Main.bat, so I edited it to state 'pause' at the end, but it still states,

'java' is not recognized as an internal or external command, operable program or batch file.

Press any key to continue . . .

And sure enough if I press a key it closes.

Unusually, if I run Main.bat as Administrator, it states this instead,

Error: Could not find or load main class Control

Press any key to continue . . .

And if I press a key it closes.

Any ideas? :eek:
[Android Software Development] mattsm:
Do a search of what is highlighted in red, your path is corrupt, there are a few reasons why that could happen. You may have java installed, but your pc does not know the path to it. Therefore giving you that error of not being recognized.
[Android Software Development] TarekElsakka:
Thanks for your work! What happens after the files are in the deodexed folder? How do I know which files to move to the system/app and which files to move to the system/framework? Thanks
[Android Software Development] mattsm:
They go back to the folder location in which they originally came from, of course removing the originals, or overwriting them as well as removing the original odex files as well.

Example, you pulled the apks and corresponding odex files from system/app, after you have deodexed, those that were in system/app can be removed and replaced with the deodexed files, you will no longer have odex files in system/app.
[Android Software Development] TarekElsakka:
Thank you for your quick and helpful reply. I am going to do that now.

One last question.. after I am done moving deodexed apks to the system/app in my device, should I put the odexed jars in system/framework in the "apk" folder in your tool and then choose "Deodex all jars" and then after they're done take them from deodexed folder and put them in system/framework? Sorry for the silly questions I just don't want to screw things up.
[Android Software Development] mattsm:
Sounds like you understand it, treat the framework same way you did the app. This is not MY tool by the way, I had no part in it.
[Android Software Development] TarekElsakka:
Thank you. By the way, there are two files from the framework folder that are different from the rest, which are "twframework-res" and "framework-res", should I just put them in the apks folder and attempt to deodex them anyway?

---------- Post added at 04:16 PM ---------- Previous post was at 04:07 PM ----------

I put them inside the apks folder and ran the "deodex all jars" command and then the two files I was talking about were removed, meaning they are not in the deodexed folder. They are APK files if I am not mistaken. Are they necessary?
[Android Software Development] mattsm:
If a file does not have a corresponding .odex, then there is no need to attempt anything. It will be left in framework as is. You can not deodex an apk or jar that does not have an .odex to go with it. For better understanding what the odex vers. deodex do a google search and see what is actually happening.
[Android Software Development] TarekElsakka:
When I deleted all the framework files using AndroidCommander, the device just kind of froze and started vibrating as though it is giving errors but it wasn't responding at all. I then copied all the framework files from deodexed folders to system/framework but the problem persisted. I rebooted the device but it still kept vibrating as though it was giving errors and didn't even boot inside the ROM. Would you have any idea what went wrong? I did not actually copy the framework-res and tframework-res apks to the framework folder.
[Android Software Development] knljndl:
The process is stuck after deodexing just one apk.......

My device is grouper 4.4.2 miui rom

Please help
[Android Software Development] abcdjdj:
Can you open the apk with winrar and look for a classes.dex file? In short, if the apk contains a classes.dex file as well as a corresponding odex file then my tool won't be able to deodex it.
[Android Software Development] hoops04:
i have tried deodexer on gingerbread 2.3.6 but it seem not work :(:(:(
[Android Software Development] abcdjdj:
Open up deodex.bat and go to line 22. The original line looks like this -

java -jar baksmali.jar -a %api% -x %filename%.odex -d %cd% 2> error.log

Replace the %cd% with a single . (dot) so that it looks like this -

java -jar baksmali.jar -a %api% -x %filename%.odex -d . 2> error.log
[Android Software Development] hoops04:
still faild, and what android version i had to choose???
[Android Software Development] abcdjdj:
Is it giving the same error? Log please.
[Android Software Development] hoops04:
here you are
[Android Software Development] abcdjdj:
You haven't placed the framework files (files of /system/framework) in the tool's "framework" folder.
[Android Software Development] hoops04:
Framework.jar right? or Framework-res.apk ??? i have put framework.jar in the tool's "framework" folder
[Android Software Development] Spannaa:
Like it says in the first post:

Meaning the full contents of the \system\framework folder from your rom
[Android Software Development] John98Zakaria:
Can't Deodex anything

Can't deodex any file on xperia ZR 4.3 all have the failed result at the end

Log

https://www.mediafire.com/?ulcpdu4p15z5p2d
[Android Software Development] abcdjdj:
Try this - http://xdaforums.com/showpost.php?p=52566861&postcount=584
[Android Software Development] John98Zakaria:
Thanks But where is the output of the framework ?

Update Now I see that the framework still odex
[Android Software Development] abcdjdj:
It's in the done folder
[Android Software Development] sayujnair:
I followed your methods. I downloaded Root Browser to delete /system/app APK files and their odex files and replaced it with the deodexded files copied from 'Done' directory. I rebooted my phone. Now my phone doesn't have launcher. All I can access is status bar. "Unfortunately, Phone has stopped" warning keeps popping up every second. What to do ? :-/

And I'm a noob. Excuse me :-|
[Android Software Development] Abhinav_Rocks:
Thanks mate..:) Awesome guide.. You deserve so many thanks for it..:) Really great hard work..:)

One query bro can you please tell me how to convert apps folder odex into deodex..?? Framework working awesome by this guide..:)
[Android Software Development] abcdjdj:
Just place the apks along with their odex files in the source folder as you did earlier.
[Android Software Development] Abhinav_Rocks:
Okk sir.. Thanks a ton.. Now doing same..:) Thanks again..:) Hats off..:):svetius::victory::good:

---------- Post added at 03:08 AM ---------- Previous post was at 02:12 AM ----------

I tried framework files convert odex into deodex.. After copy all the files in framework folder and source folder will start launcher.bat and when i click on deodex all files, then source folder is automatically empty..:( See screen of error after click..
[Android Software Development] Abhinav_Rocks:
What hppn.. Please Reply..:(
[Android Software Development] abcdjdj:
Delete the entire tool's folder and re-download it. Place the files of /system/framework in the "framework" folder of the tool, all your apks in the "source" folder of the tool and then click on the deodex option. It's as simple as that;)
[Android Software Development] mukeshpacheria:
sorry for nobies question

deodexing sucessfull

and done folder have apk

now what is do

how to push all apks in my device

and one more question done folder only have apk and framework folder have odex file till now

sorry for my bad english
[Android Software Development] Calimero Oeuf:
Does it work for Android version 4.4.2 for my SM-T900 Tab Pro 12.2

There are :

system\framework folder

system\app folder

system\priv-app folder

What should I do after deodexing file ?

Thanks
[Android Software Development] dnkncht:
One problem, in every single deodexed apk is not a single classes.dex.

Log says this after deodexing:

Creating classes.dex file..

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:174)
1 Datei(en) verschoben.

[FULL LOG]

And at the end of the log:

================COMPLETED DEODEXING===============
===================DEODEXED 17 of 17===============
Done checking 5%
Done checking 11%
Done checking 17%
Done checking 23%
Done checking 29%
Done checking 35%
Done checking 41%
Done checking 47%
Done checking 52%
Done checking 58%
Done checking 64%
Done checking 70%
Done checking 76%
Done checking 82%
Done checking 88%
Done checking 94%
Done checking 100%
FAILED : Amigo_Browser.apk
FAILED : Amigo_Calculator.apk
FAILED : Amigo_Calendar.apk
FAILED : Amigo_Camera.apk
FAILED : Amigo_Changer.apk
FAILED : Amigo_Compass.apk
FAILED : Amigo_DeskClock.apk
FAILED : Amigo_DynamicWeather.apk
FAILED : Amigo_GameHall.apk
FAILED : Amigo_Music.apk
FAILED : Amigo_Navi_Launcher.apk
FAILED : Amigo_NewGallery.apk
FAILED : Amigo_Note.apk
FAILED : Email.apk
FAILED : Galaxy4.apk
FAILED : HoloSpiralWallpaper.apk
FAILED : LiveWallpapers.apk

(Trying to deodex AmigoOS from system dump, 4.2.2, mediatek apk's)
[Android Software Development] brandonhatty:
Thank you for this great tool. I used the tool and it worked first time as described. Flashed done files in twrp successfully. Tried to use an exposed theme engine and is still saying rom is not deodexed. Don't know what I may have missed. I copied my system/framework for framework folder and system/app to source folder. Selected my version of android and left compression at 5. Cmd window finished with no errors. I'm stumped.
[Android Software Development] droopyar:
sony

Is this tool ONLY for sony devices??

As i try it with my i9190 s4mini phone, and seems NOT working. Shows error.

My framework is odexed. Someone from the forum has test it with samsung devices? any help?

regards
[Android Software Development] Spannaa:
It deodexed 4.1.2, 4.3 and 4.4.2 stock roms for my I9100 and I9300 without any problems.

I just followed the instructions in the first post.

Sent from my GT-I9300...
[Android Software Development] houngyai:
When I hit the "deodex all" button, it deodexes everything without the command line appearing, so I can't check whether there was any error or not. The deodexing procedure seems to be succesfull (I get all of the apks and jars deodexed), but after putting back the files, my phone won't boot anymore (sticks on the boot logo). I wrote the deodexed things back via adb shell, from an sd card. What else should I try?

My phone is a lenovo A269i with android 2.3.6
[Android Software Development] mastaan:
Cannot find file or directory "out/"
[Android Software Development] alvareo:
On the Moto G with stock 4.4.2 I get "0 file(s) copied." for every file. What could be the issue?
[Android Software Development] nic.stl:
Hi

after deodex the files with the universal deodexer, how do you transfer them to the phone ?

Thanks in advance

Envoyé de mon GT-N8010 en utilisant Tapatalk
[Android Software Development] Spannaa:
Putting them all into a flashable zip is probably the easiest way...

Sent from my GT-I9300...
[Android Software Development] nic.stl:
Thank you

But i don't know how to make this flashable zip [emoji20]

Envoyé de mon GT-N8010 en utilisant Tapatalk
[Android Software Development] Spannaa:
Then start searching ;)

You'll find that XDA has guides on how to do this. You could also look in the themes and apps forum for your device and modify an existing flashable zip.

Sent from my GT-I9300...
[Android Software Development] nic.stl:
Thanx [emoji4]

I'll search [emoji6]

Envoyé de mon GT-N8010 en utilisant Tapatalk
[Android Software Development] jayOOMjay:
The latest V5 is superb :good:
[Android Software Development] alvareo:
Anyone?
[Android Software Development] bekasulaberidze:
Stuck on this, what to do ?
[Android Software Development] bekasulaberidze:
is here anybody ? :/
[Android Software Development] abcdjdj:
Open that particular apk on which it is stuck (in the "source" folder). Open it with winrar and check if you see a classes.dex file inside it. If you see it inside the apk, then my tool can't deodex it.
[Android Software Development] bekasulaberidze:
yes there is classes.dex file, I want to deodex my rom for a long time :D but unfortunately I can't thank you my friend for the answer...
[Android Software Development] Hamidreza2010:
hi

i cant deodex my odex apk in pc

and get error.its my log:

http://p30up.ir/images/95cm6t70wj0rk6zd19ba.rar

what do i do?

android 4.3 build 205 - xperia sp

Edit: solved
[Android Software Development] Hamidreza2010:
thanks my problem is solved.just 2 thing:

1- all my app is 22 mb.its tru? dont be more? for sp 4.3

2- what the best compression level?

thanks
[Android Software Development] mor_1228:
i have java installed but still it shows java missing :
[Android Software Development] ggow:
Works on wine

I can confirm this works perfectly using wine on ubuntu 13.10 :)

Just install java 7 and then run the Launcher.bat using wine application loader.
[Android Software Development] Calimero Oeuf:
my rom is kitkat 4.4.2 stock rooted and my tab is Tab Pro 12.2 SM-T900

I successfully deodexed all apk and jar files from system/app and system/priv-app and system/frameworks

The 3 folders of deodexed files are in my computer now. how do I import them to my tab ?

Can I copy them to SD card and then overwrite with Root Explorer and delete all file.odex?
[Android Software Development] Spannaa:
It'd be much better to make a flashable zip to do this.

Search XDA for guides ;)

You'd need to build the zip with your three filled folders and then write an updater-script for the zip that deletes the current content of the three folders on your device, extracts the new files from the zip to their respective folders and then sets their permissions to rw-r--r--

Sent from my GT-I9300...
[Android Software Development] Calimero Oeuf:
I totally don't understand how to make a flashable zip

For a test, How I can do to upload deodexed systemui.apk (with some modified png in it) to see if deodexing worked ?

Via TWRP Recovery, I renamed

system\priv-app\SystemUI.apk to SystemUI.apkORIGINAL

system\priv-app\SystemUI.apk to SystemUI.odexORIGINAL

and imported my deodexed SystemUI.apk to system\priv-app\ then wipe dalvik-cache and cache then reboot

but nothing, I didn't see any change, the png I modified stayed like original ones
[Android Software Development] Spannaa:
Don't know why you didn't see a change (nothing to do with this tool) but if you have a status bar & notification pull down then deodexing worked!

Sent from my GT-I9300...
[Android Software Development] Calimero Oeuf:
I only put my new systemui.apk with all battery images modified in systemui.apk + some other but all I can see are original images.
[Android Software Development] Spannaa:
Yes but that's a theming issue - it's got nothing to do with this thread ;)
[Android Software Development] JekaPinsk:
Why there are no odexing function?
[Android Software Development] Spannaa:
Probably because it's deodexing software...

Sent from my GT-I9300...
[Android Software Development] JekaPinsk:
Yeah my question was stupid, but it will be not bad if you add this feature :good:
[Android Software Development] Calimero Oeuf:
sorry it's not a theme issue

I don't understand why after copied all deodexed files in framworks folder and priv-app folder there is no change

I also did a wipe dalvik-cache and wipe cache but nothing

It seems that the tab always load some original odexed file somewhere but I have not anymore odexed files

After copied all deodexed files in each folder and rebooted, I got 332 software updated instead of 180... are there other odexed files somewhere ?

OK I found something... some icons inside apk have changed folder so I can say deodex worked.

Now I am looking for all icons I want to modify

Thanks
[Android Software Development] Ducatuca:
I have a problem with deodex files. After finishing with deodexing the rom, without any failed line, when I open any apk with 7zip, I don't have "res folder". Also of course I can't decompile in apk manager. I have 2 framework folders on my phone. 1 is normal framework folder and the other one is in custom folder. I've tried to deodex with both framework folders but it's the same situation. I have Alcatel Idol 2 which is mt6582. Please help anyone! I want to deodex the rom and to make it looks like I want to :)

Thanks in advance guys!
[Android Software Development] MEHRDAD595:
@abcdjdj

i cant deodex my rom with your tool

what should i do to give u more info!?

i cant even deodex my framework folder!!!!

my rom is KK4.4.2 and device is asus fonepad7 me372cg

tnx