yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Darkman:
Thanks for your help!!

Here ist the screen:

u0_a92@android:/ $ echo $BOOTCLASSPATH
/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar:/system/framework/scrollpause.jar:/system/framework/stayrotation.jar:/system/framework/smartfaceservice.jar:/system/framework/abt-persistence.jar:/system/framework/secocsp.jar:/system/framework/sc.jar
u0_a92@android:/ $
[Android Software Development] sachin273:
yes i see classes.dex file in both apk and jar. good or bad?:(

one more thing i noticed worth mentioning here is that when i see deodexed succesfully in the command prompt window it says press any key to continue. but only closing the window works and another window opens. if i press any other key it reads

c\users\diamond\desktop\universal deodexer v4. is this right?
[Android Software Development] abcdjdj:
It is a good thing that the classes.dex file is there in the apk. This means that the file has been deodexed successfully. The windows won't close automatically because you had enabled debug mode . If it closes automatically then we won't be able to read the deodexing process.

Anyway, try deodexing the apks again with the compression level as 0.
[Android Software Development] abcdjdj:
Thanks for the screenshot. All the framework files are present so the problem is something else. Please give me some time, I will get back to you as soon as I find the solution to this problem.
[Android Software Development] Darkman:
Thanks.... all other APKs are deodexed... only this SecEmail_J.apk doesnt deodexed. Hope it helps....
[Android Software Development] Darkman:
I have get a good tip from wanam he found the issues..... if i use the API 16 for this APK it works... all others works with API 17 but this one APK works only with API 16 :silly:
[Android Software Development] ogunja:
I also need such a tool and the one that is ahead this coi even managed to deodex apks in all the jar files but had no success, rode the zip and gave flash stuck on the samsung screen.
[Android Software Development] sachin273:
wow it worked!

reduced compression to zero and flashed to perfect boot and running.

then i noticed the apks were taking to much space in system so i bumped back compression to 5 for all apks except keyboard and flashlight. seems to work flawlessly.

i finaliy have a deodexed rom. thanks very much man.
[Android Software Development] danger_beast:
What you guys say bout this error ??
[Android Software Development] kevinrus123:
Thank you very much for this helpful tool! Needed it to deodex stock ROM to make another good ROM.... thanks very much! :cowboy:
[Android Software Development] abcdjdj:
That regcount error can be fixed by selecting the appropriate android version api level from the box on the right side of the tool window.
[Android Software Development] god_md5:
i have test this software is good de-odex is work for my rom ,and framework is only copy" phone framework folder apk" is ok

phone framework folder jar is copy to apk in gui,and phone app folder apk, i use many time to read the notice

then jar copy back to framework folder .get apk and framework full de-odex
[Android Software Development] kaleys:
Wait Time

Some of my Framework jars take get stuck after the file is copied in the prompt. I noticed that in the framework and apk folder the jar the program was trying to deodex already had a classes.dex inside it but also has a correspondong Odex file on the outside.

I'm guessing its already deodexed and i should end the deodexing of those specific jars? Does this sound right?

Also how do you set permissions when pushing the files back to /system/framework?

Edit: I take it back. Some files even without classes.dex in the jar get stuck after it is copied by the program.

Tried deodexing again but now even the jars that deodexed perferctly before get stuck after being copied. The program seems to stop working right before deodexing com.sonyericsson.colorextraction_impl.jar

So i believe i got everything deodexed with the correct API and compression at 0. Pushed files to system but i get bootloop. Anyone know what i could be missing?
[Android Software Development] rivelta:
what this problem ??

Error occured while loading boot class path files. Aborting.

org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core

.odex

at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav

a:218)

at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14

6)

at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla

ssPath.java:111)

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

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

UNEXPECTED TOP-LEVEL EXCEPTION:

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

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

File not found - classes.dex

0 File(s) copied
[Android Software Development] abcdjdj:
Since you have a Sony phone, there muat be a playstationcertified.odex file which does not have a corresponding jar file. Kindly see if you have included that file too in

the framework.
[Android Software Development] abcdjdj:
This problem indicates that the framework files have not been copied in the "framework" folder of the tool. Kindly place all files which are present in /system/framework in the framework folder and try deodexing it again.
[Android Software Development] kaleys:
Thanks :)

I've deodexed everything again and this time put it on through a flashable Zip and now everything seems to be working Fine. Pushing via adb i guess is where i messed up.

As for the playstationcertified.odex, it seems i have a com.playstation.playstationcertified jar for that in framework as well with the class.dex inside it. Guess i missed that before.

Thanks so much for your help and this awesome tool! ;) now i can get a bunch of honami apps :laugh:
[Android Software Development] Bidyadhar:
Can u pls provide me with a flashable zip!!!pls"!!
[Android Software Development] Ricky Divjakovski:
comeon man, did you forget to add pull support? also you could atleast pack it into a zip and make an ORS...

you did good but theres alot more you could have done...

i think im gonna add deodexing to my tool...

i will make it pull and install framework

i will add an option to pull apps from /system/app

and an option to pull .jars from /system/framework

i will also add the option to make a flashable .zip and an ORS script to automatically flash it for you...
[Android Software Development] abcdjdj:
You can already pull jars from /system/framework. I know that all those other features are missing, it will be there in V5. Due to lack of time I could not update this tool but it will be updated soon.
[Android Software Development] Ricky Divjakovski:
that would be a good idea!
[Android Software Development] Yorgo1982:
help please

im having errors

1rst deodex.jar say 0 file in apks same for .apk

if i click on universal it open a sec and close

if i do it manualy enable to access jar file universal

how can i fix this

thanks

Edit: i used my 2nd computer and it worked well. :) but the prob is when i try to flash it. as soon as i reboot it goes to download mod. so no OS is flash :S
[Android Software Development] abcdjdj:
How exactly are you flashing the deodexed files?
[Android Software Development] Yorgo1982:
i added them in a flashable zip. with the rest of the the files. etc. lib .csc build etc.....
[Android Software Development] abcdjdj:
Could you please post the updater-script here?
[Android Software Development] Yorgo1982:
show_progress(0.1, 0);

mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("system", "/system");

show_progress(0.2, 10);

unmount("/system");

Edit: i was able to flash it was cause of TWRP. i used CWM.

but the prob is not booting it still frozen on samsung logo with soft key lighted and as if its trying to load...

what do you think this could be?

thanks

oh: do you think the compression can do this, if i have the wrong oneÉ
[Android Software Development] abcdjdj:
Well the problem could be that permissions are not set in the updater script. Please go into cwm after flashing the zip and fix permissions. Let me know how it goes:)
[Android Software Development] supergrobi94:
Hello,

I'm currently trying to deodex some System Apps of the Galaxy Note 3, but after doing this, the smali files are disappeared.

Here I've tried it with FlashBarService.apk

WELCOME!
Deodexing apk..
Compression=5
API=14
apks\FlashBarService.odex
1 File copied

Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:218)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
6)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:111)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:94)
at org.jf.baksmali.main.main(main.java:308)

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "out/"
at org.jf.smali.main.main(main.java:180)
File classes.dex not found
0 File copied
apks\FlashBarService.apk
1 File copied
C:7za.exe
1 File copied

What did I wrong?
[Android Software Development] MeZo2013:
This is weird...iam using this tool and finished the deodexing of all apk's from Galaxy Note 3 firmware
[Android Software Development] supergrobi94:
Which values do you have in compression and api?

Edit: Problem solved. I had to add all files from framework to framework folder of Universal Deodexer.

Gesendet vom Galaxy S3 mit Tapatalk 4 ?
[Android Software Development] MeZo2013:
Compression=5

API=18
[Android Software Development] Yorgo1982:
nothing still. not it says no OS. do u mind if i send u an odex rom and u deodex it. i can even donate for you if you want. im trying none stop as u see and not working. i followed all the steps her and to create a flashable zip i also patched a zip file nada. nothing is working. maybe if its made by a pro it will work..
[Android Software Development] abcdjdj:
Lol it's nothing like that. To check if the files are actually getting deodexed properly, can you please deodex only 1-2 apks first and manually place them in /system/app? Be sure to delete the corresponding odex file after that. Then set permissions like this -

XX-

X--

X--

Reboot and see if those deodexed apks are functioning properly.
[Android Software Development] Yorgo1982:
yep i tried: systemui secsontacts sectabletemail and sectabletalarm. and they worked.

when i flash now i it flashing the phone turn on. but i can still see the odes. so hes not deodexing
[Android Software Development] -Ric-:
worked perfect on system apps and framework jar files. (Xperia E Single Sim)

thanks alot
[Android Software Development] TheWhiteChallenger:
v4 download link isnt work can someone plz post a copy of the zip
[Android Software Development] alberan:
I tried and could download file... so it's working... try again.

Here you are:

Universal Deodexer V4.zip (1.8 MB)

https://mega.co.nz/#!IhZFGBya!McWI0AQOzbNSWnMjGQ2igVmgjbU-_urYMq9bRE3seEI
[Android Software Development] TheWhiteChallenger:
Sweet I think Dev host was down
[Android Software Development] alberan:
posted a link to file in MEGA
[Android Software Development] TheWhiteChallenger:
thanks guys dev host is back up so im good but thanks anyway

can sopmeone tell me how to deodex the framework files
[Android Software Development] Yorgo1982:
I flashed it now phone reboots as usual. I deleted manually the odex simce I added manually the apk. All is good. But I wanna know does it mean its deodexed now. Even if I had to remove the odex manually?
[Android Software Development] abcdjdj:
Once you place your framework files in the "framework folder", place those same framework files in the "apks" folder and then chose Deodex Jar files in the main menu. If there are one or two apks then chose the deodex apk files option too.

If you have manually deleted the odex file and the apk is still working then it has been successfully deodexed:)
[Android Software Development] TheWhiteChallenger:
Awesome thanks alot. This is one of the best android programs out there. Make everything super easy.
[Android Software Development] Yorgo1982:
Ok great. Cause the issue was from twrp seems still not working good on note 8.0
[Android Software Development] nak89:
After 6th step, i have 02.apk in DEODEX folder, what do i do with them? Please help me. Thanks so much!
[Android Software Development] TheWhiteChallenger:
hey im having and issue it keeps freezing when it gets the framework.jar
[Android Software Development] abcdjdj:
That's wierd.. Open the apk with Winrar and look for classes.dex. If you find it then the apk has been deodexed properly.

Did you select the correct api level in the list?
[Android Software Development] TheWhiteChallenger:
Yea its 4.2.2 so I used the 4.2 settings. what should the compression level be?
[Android Software Development] TheWhiteChallenger:
Its running right now I used 4.3 api and it got past the framework jar without freezing. Will use of the 4.3 api cause issues for files pulled for 4.2

---------- Post added at 05:18 PM ---------- Previous post was at 05:11 PM ----------

Nvr mind its framework-ext its freezing on and it still dose
[Android Software Development] abcdjdj:
Could you please upload the entire contents of /system/framework? I can check it out over the weekend:)
[Android Software Development] coolprateek.kumar:
I used the v4 version to deodex my system apps and it worked fine.

When I try to deodex my jars, it shows successful on every jar files but when I put either one or all back and set permission, my device doesn't boot.

I even tried with compression level 2 and 0 but of no use.

I used root explorer to put them all/one back and set permission to rw-r-r--

I'm a noob in deodexing cause it's my 1st time. Am I doing it wrong?

Details:

Lava iris 405

Mtk6577

Jb 4.1.2

Odexed stock rom
[Android Software Development] inamie:
What about android 2.3.6..

Which version should be use..
[Android Software Development] abcdjdj:
Hi Prateek,

Could you also upload your framework files?

Use 2.3.3, 2.3.4
[Android Software Development] TheWhiteChallenger:
What's the best free file host?
[Android Software Development] coolprateek.kumar:
O

Full folder... then please wait
[Android Software Development] TheWhiteChallenger:
http://d-h.st/82S

ok so this is it, Droid Maxx running 4.2.2 system/framework/ no mods or changes 100% stock, and its only the framework.jar and framework-ext.jar that cause issues.
[Android Software Development] spdwiz18:
error deodexing?

[MENTION=4663391]abcdjdj[/MENTION]

Im on the new LG-G2 and cant get 4 app to deodex. so I thought I would try your application. I like it and it is very good. Keep up the work.

now on to the real reason y im here, i

WELCOME!

Deodexing apk..

Compression=5

API=17

apks\LGPolarisOffice.odex

1 File(s) copied

UNEXPECTED TOP-LEVEL EXCEPTION:

org.jf.dexlib.Util.ExceptionWithContext: The section size in the header and map

for item type TYPE_PROTO_ID_ITEM do not match

at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont

ext.java:54)

at org.jf.dexlib.Item.addExceptionContext(Item.java:177)

at org.jf.dexlib.Item.readFrom(Item.java:79)

at org.jf.dexlib.DexFile.<init>(DexFile.java:396)

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

Caused by: java.lang.RuntimeException: The section size in the header and map fo

r item type TYPE_PROTO_ID_ITEM do not match

at org.jf.dexlib.ReadContext.addSection(ReadContext.java:152)

at org.jf.dexlib.MapItem.readItem(MapItem.java:78)

at org.jf.dexlib.Item.readFrom(Item.java:77)

... 2 more

map_item

UNEXPECTED TOP-LEVEL EXCEPTION:

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

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

File not found - classes.dex

0 File(s) copied

was woundering if you could help?
[Android Software Development] liesnomore:
Steps I took. Copy /System/Framework folder to my sd card. Copy /System/app folder to sd card. Copy both folders to my computer and the folders. Run the program. Did deodex all apps. What next?. Should I delete all from /system/app folder and copy the deodexed apps?. I was doing good ( I think) until this point. My device: Samsung Galaxy tab7plus. SGH-T869.
[Android Software Development] coolprateek.kumar:
Here it is

http://d-h.st/otw
[Android Software Development] bluechip850:
[MENTION=4663391]abcdjdj[/MENTION],

Have succesfully de-odexed apps but, when i click the "deodex all jar"

it says success and "deodexed 0 jar file(s)" :confused: , did i go wrong somewhere.. ???

Or is this the proper way, that i need only the apps folder.?

how can i deodexise the framework folder?

Ok, if the above all are correct, should i move my de-odexed apps to my phone /system/apps ..?? :confused:
[Android Software Development] macondo62:
+1 I get the same error

Inviato dal mio XT910 con Tapatalk 4
[Android Software Development] dicksteele:
After you guys copied them from device did you put them in apk directory? I downloaded framework files, placed them in apk dir, run deodex jars. The files end up in the deodexed directory.

I copied them to another directory, pulled all the apk out of system/app then ran deodex apks.

I don't know if that's the exact process, instructions were a little vague. But that's what worked for me.

Awesome app !
[Android Software Development] bluechip850:
a what, what... ??

please could you explain through steps what actually you have done.. ;)
[Android Software Development] macondo62:
OK, so for what is worth framework folder ? Practically you say I have always to use app folder

Inviato dal mio XT910 con Tapatalk 4
[Android Software Development] bluechip850:
Yes, what to do with framework files, how to get them deodexed..????

IS ANYBODY LISTENING..????
[Android Software Development] liesnomore:
Do not ask me - I am as much confuse as you are.
[Android Software Development] dicksteele:
The framework folder is where the app stores the jar's that are pulled from /system/framework folder in step 3.

The steps on the app aren't lined up in my opinion. Step 1 should be pull the framework files. Step 2 should be (like xUltimate does) is pull the apps from /system/app and store those in apk directory.

Step 3 deodex apks, Step 4 deodex jars.

After you deodex the apks, you should pull those out of deodexed directory and stash them somewhere.

Then deodex that jars.

Then you need to figure out which method to get them on your phone, and delete the .odex files from /system/app and /system/framework.
[Android Software Development] bluechip850:
Anyway, got mine deodexed, using universal deodexer ;)
[Android Software Development] dicksteele:
But did it boot? Jamming mine into an update.zip to see if it worked.
[Android Software Development] bluechip850:
yes, it did boot, but had many modifications and steps, but as the device became hell slow to use, i reverted to stock :)
[Android Software Development] dicksteele:
Mine booted also. Kept getting FC's on Contacts. Interestingly only when accessed from Phone. Worked fine accessing directly.

I gave up.

I tried this.

http://xdaforums.com/showthread.php?p=44228706

[SCRIPT TO ODEX] Universal Odex Script Version 6.2 (07-08-2013)

Running on my ATT Note 2. Using Xposed framework for theming.

Working pretty sweet.

Now I'm messing with Crossbreed, Fly mod, PimpMyRom to figure out which one make my phone happy.
[Android Software Development] macondo62:
I can' t understand your post, here we try to deodex and you nave linked an odexing zip...

Inviato dal mio XT910 con Tapatalk 4
[Android Software Development] dicksteele:
I understand. My link was simply an option to the deodex, along with the xposed framework. Since most of the reasoning for deodex is for theming.
[Android Software Development] mjz2cool:
link to v4 doesn't work, can you give a proper link? (not shortened)
[Android Software Development] sebasrock156:
A question, is there any way to pass the deodex files from framework folder to a device without Custom Recovery?

Is my Acer Iconia b1 :(
[Android Software Development] mjz2cool:
should be possible using adb, you'll need to have busybox installed on your phone.

just connect your phone to pc, copy the app and framework folders to you phone or sdcard, then enter an adb shell.

su
stop
mount -o remount rw /system
rm /system/app/*.odex
cp (location of your app folder, for example, /mnt/sdcard/app/*.apk) /system/app
rm /system/framework/*.odex
cp (location of your framework folder, for example, /mnt/sdcard/framework/*.*) /system/framework
start (or reboot)
[Android Software Development] grant190492:
Getting stuck at one App

Hi guys, followed the instructions for V4, copied all the system apps and framework over into the folders... and all the apps seem to deodex fine, but when it comes to SecSettings.apk (this is the biggest system apk) it just stops... I checked the log and litterally just stops (see below) I can't post the full log but this is what shows near the end... the Ext just stops.

Extracting res\xml\sync_settings.xml
Extracting res\xml\testing_settings.xml
Extracting res\xml\testing_wifi_settings.xml
Extracting res\xml\tether_prefs.xml
Extracting res\xml\timezones.xml
Extracting res\xml\timezones_mea.xml
Extracting res\xml\tts_engine_settings.xml
Extracting res\xml\tts_settings.xml
Extracting res\xml\usb_settings.xml
Extracting res\xml\user_details.xml
Ext

Now, I tried re-extracting the Universal Deodexer, placing only SecSettings .apk and .odex... same problem

My only thinking is that its too big for the Deodexer to handle... but can't confirm...

Any Ideas?

EDIT

Just to add here... I removed SecSettings apk and odex and re ran the program... and its working fine... for some reason it just won't deodex that App... hmmmm
[Android Software Development] mynote:
thank you. Ill try to modify my current cm now (:
[Android Software Development] Onecton:
so a deodexed rom has nothing in framework folder?

im confused .... i paste my stuff in in the folders .. and in the end i have just the deodexed apks and nothing in Framework? is that correct?

sry .... maximum noobism on my part, but hey everyone has to start somewhere no? :o
[Android Software Development] aldnnnn:
can i just manually put the deodexed framework jar files in system/framework then delete the odex files. and fix permissions in twrp? cause i dunno how to make a flashable zip file.
[Android Software Development] abcdjdj:
A deodexed rom has only jar files and maybe one or two apk files in the framework folder. It won't have any odex files.

Theoretically it should work, but your phone may reboot while replacing the files.

Sorry guys, my exams were going on for the previous 2 weeks so I couldn't spend any time on Xda:(
[Android Software Development] TheWhiteChallenger:
Hey guys this has stopped working for me. Everything I try to deodex just runs through the cmd prompts ridiculously fast then say x number apk deodexed but the deodexed file is empty. Anyone know what's going on?
[Android Software Development] gkillershots:
compression

what is the standard compression of a 4.1.2 android? what happens if i change this? will it make faster or slower? is there any problem on changing this?
[Android Software Development] abcdjdj:
In order to know why the deodex is unsuccessful, enable debug mode and post a screenshot of the cmd screen. After enabling debug mode, the screens won't close unless you manually close them:)

The compression level is for 7zip to repack the contents of the deodexed apk. Normally 5 is used. Selecting a higher compression level will give more free space in /system as the file size of each apk reduces. But if the level is set too high then it causes force closes.
[Android Software Development] TheWhiteChallenger:
K kool I'll post that later today when I get home