yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] Damian:
So what folder i should put into Path? jre or jdk?

Tried both and still errors.

Used Windows 10 Pro 64 bit, Java 64 bit and this tool for deodexing with 64 bit as well.

Path been added and tried like this:

;C:\Program Files\Java\jdk1.8.0_65\bin

;C:\Program Files\Java\jre1.8.0_65\bin

On both Paths have errors.

Tool was started as Administrator.

All files are on C:\my_specific_folder\

Should i back to Windows 7?
[Galaxy S 5 General] tdunham:
Your path is not program files in your screenshot. As I said, it looks like:

;C:\Pliki programow (x86)\Java\jre1.8.0_60\bin with special character in that I cannot type on my keyboard for programow.
[Galaxy S 5 General] Damian:
Yes i've change it allready and then checked. Still errors.
[Galaxy S 5 General] tdunham:
Editing path requires a reboot of computer too every time.

You still did not post what errors you are getting.
[Galaxy S 5 General] Damian:
I post attachment in previous post with my Path.

Here You have errors.

Also added new Path here... I think it should looks like that, but i'm not 100% sure.
[Galaxy S 5 General] tdunham:
Jre is not jdk package.

Jre folder is for standard java not the suite I think. You need to change path to jdk java suite. Not sure if this is going to fix your problem, it is all I see wrong.
[Galaxy S 5 General] Damian:
Nothing helps. Still same errors. No matters what folder i put on the Path - jre, jdk. System has been restarted every time i had change Path directory.

Will try it with windows 7 later.
[Galaxy S 5 General] starbucks2010:
I had some similar issues when I had more than 1 version of Java installed on my PC.
[Galaxy S 5 General] Damian:
Now i have freshly installed windows 7 64 bit ultimate, fresh java, path done and have same errors and problem.

Don't know what to do... :(
[Galaxy S 5 General] carl1961:
get a command prompt, and type java -version

you should see this,
[Galaxy S 5 General] Damian:
It is there, but different version. Maybe new Java do not work with this tool?
[Galaxy S 5 General] Leftrand:
Sorry for nob question,how to use this tool ?

Any guide please
[Galaxy S 5 General] pvnsai73:
+1
[Galaxy S 5 General] The Sickness:
If you need a guide for this, maybe this isnt for you. Just saying...
[Galaxy S 5 General] Leftrand:
There's always a first time right?
[Galaxy S 5 General] The Sickness:
True.

If you haven't figured it out by tonight I will tell you how it's done. But, you MUST be on 32 bit Java.
[Galaxy S 5 General] Leftrand:
Fine Sir thank you I will learn from the start page, if still not understand I will again ask here please guidance
[Galaxy S 5 General] Damian:
Why Java have to be with 32bit?

And another question.

Can anyone tell us what folder need to be in Path - jdk or jre?
[Galaxy S 5 General] smolchy:
hello

what I'm doing wrong, because I can't deodexed...I get this error, and nowhere to find answer on the net...

i have samsung tab a sm t550

32-bit Deodexer for Android Runtime (Version 3.5 ?? 20/07/2015) © Valery Studenikin, 2015

Path to stock /system directory: C:\deodexer\s\system

Android 5.0.2: SM-T550, LRX22G.T550XXU1AOE9, changelist 4815461, Fri May 22 10:28:55 KST 2015

Processor architecture: \arm\

Files deodexed succesfully: 0, with errors: 219. CPU time: 00:01:25 (84.827 sec.)

Extacting and de-optimizing was terminated with errors for:

C:\deodexer\boot.oat

C:\deodexer\allshare.odex

.

.

.

Finded errors saved to file: C:\deodexer\LogLines.log

=============================> begin errors for C:\deodexer\boot.oat

java.lang.UnsupportedClassVersionError: org/rh/smaliex/Main : Unsupported major.minor version 52.0

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

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

Exception in thread "main" =============================> end errors for C:\deodexer\boot.oat

=============================> begin errors for C:\deodexer\allshare.odex

java.lang.UnsupportedClassVersionError: org/rh/smaliex/Main : Unsupported major.minor version 52.0

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

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

.

.

.

and so on...

any solution for this or is this tab to new and have some protection do deodex?
[Galaxy S 5 General] moonryder:
i got the same errors, but this caused by old oat2dex.jar file

i replaced it in the Program with the latest one and all is fine now.
[Galaxy S 5 General] smolchy:
thank you!
[Galaxy S 5 General] edzamber:
Hi,

I'm trying to deodex 5.1.1 Samsung Rom for S6 Egde.

I use last jdk 8u66 64bits, correct path in Windows, 0 errors, but apps in log FC. Do i need to use 32 bit version of tool and jdk ? I use last oat2dex 0.86 but same issue...

Here is my log :

64-bit Deodexer for Android Runtime (Version 3.5 ?? 20/07/2015) � Valery Studenikin, 2015

Path to stock /system directory: C:\cygwin\home\Sandrine\ArchiKitchen\WORKING_110615_171734\system

Android 5.1.1: SM-G925F, LMY47X.G925FXXU3QOJQ, changelist 5896496, Thu Oct 22 09:21:25 KST 2015

Processor architecture: \arm64\

Files deodexed succesfully: 396, with errors: 0. CPU time: 00:47:40 (2859,635 sec.)

Attention: framework deodexed only for 64-bit (32-bit version not deodexed and not was copied to result)

List of apks that have 32-bit and 64-bit versions (deodexed only for 64-bit):

/system/app/WebViewGoogle.apk

/system/priv-app/GmsCore.apk

List of deodexed apks that have only 32-bit version (don't have 64-bit):

/system/app/AllshareFileShare.apk

/system/app/AllshareFileShareServer.apk

/system/app/AllshareMediaShare.apk

/system/app/Bluetooth.apk

/system/app/Drive.apk

/system/app/Dropbox_zero.apk

/system/app/FBAppManager.apk

/system/app/GoogleTTS.apk

/system/app/Hangouts.apk

/system/app/OneNote_Compact_Samsung.apk

/system/app/Panorama360Viewer_Zero.apk

/system/app/PlusOne.apk

/system/app/QuickConnect_20.apk

/system/app/RootPA.apk

/system/app/SapaMonitor.apk

/system/app/SBrowser_3.0.38.apk

/system/app/SCONE_Android_ProxyService_Lib.apk

/system/app/SecDict2Zero.apk

/system/app/TuiService.apk

/system/app/Videos.apk

/system/priv-app/Excel_SamsungStub.apk

/system/priv-app/OutOfFocusViewer_WQHD_K.apk

/system/priv-app/PowerPoint_SamsungStub.apk

/system/priv-app/S-Voice_Android_phone.apk

/system/priv-app/SVF.apk

/system/priv-app/TouchWizHome_ZERO_MR1.apk

/system/priv-app/VirtualTourViewer_WQHD_lightTheme.apk

/system/priv-app/VoiceNote4Z_32.apk

/system/priv-app/VoiceWakeUp.apk

/system/priv-app/Word_SamsungStub.apk

List of originally deodexed (within stock firmware) files, are left as they were originally:

/system/framework/com.dropboxpartner.jar

/system/framework/com.google.android.maps.jar

/system/framework/com.google.android.media.effects.jar

/system/framework/com.samsung.device.jar

/system/app/FactoryCamera_FB.apk

/system/app/Maps.apk

/system/app/minimode-res.apk

/system/app/MirrorLink.apk

/system/app/SecFactoryPhoneTest.apk

/system/app/secvisualeffect-res.apk

/system/app/YouTube.apk

/system/priv-app/AutoPreconfig.apk

/system/priv-app/DeviceKeystring.apk

/system/priv-app/DeviceTest.apk

/system/priv-app/HwModuleTest.apk

/system/priv-app/serviceModeApp_FB.apk

/system/priv-app/ServiceModeApp_RIL.apk

/system/priv-app/SMCore.apk
[Galaxy S 5 General] ptl4ever:
sir, can you take a minute to explain how to use this tool?

I'll really appreciate the help.
[Galaxy S 5 General] Damian:
Ok guys. Another try on Win 8.1 64 bit with newest Java 1.8.0_66 64 bit.

I was trying to add Patch with:

C:\Program Files\Java\jdk1.8.0_66\bin

after

C:\Program Files\Java\jdk1.8.0_66\bin\

after

C:\Program Files\Java\jre1.8.0_66\bin

and

C:\Program Files\Java\jre1.8.0_66\bin\

After all Path changes i've restart system.

Nothing helps.

Adding logs and cmd screen

If anyone is using this tool with Win8.1 64Bit can You please show me exactly how Path looks like and what Java version are You using?

Also i'm Using Kaspersky Internet Security - it can disturb?
[Galaxy S 5 General] carl1961:
what is in this folder ? C:\Users\damia_000\Downloads\Galaxy_S6\Narzedzie

also try moving your deodexer to root of your drive

example my folder is on my D:\ drive ( I have 2 hardrives) so yours will be c:\

D:\SVADeodexerForArtx64

also at command prompt type java -version and if it works then your java is ok, I do think your java is ok or your log most likly would tell it

also a few post back is posted a updated oat2dex.jar try renaming your original to.bak and try the updated oat2dex.jar

oat2dex.jar will be in your SVADeodexerForArtx64 folder

http://xdaforums.com/showpost.php?p=63688713&postcount=487
[Galaxy S 5 General] Damian:
Ok, so in Path should be:

;C:\Program Files\Java\jre1.8.0_66\bin

You asked about first folder. That is location of deodexer.

Will try to move it to C:\

---------- Post added at 10:17 PM ---------- Previous post was at 10:10 PM ----------

Working now. :)

Big big thanks. :)
[Galaxy S 5 General] edzamber:
Hi,

A little Up if someone can help me :)

Cheers,

Edzamber.
[Galaxy S 5 General] tdunham:
Not sure what you mean. It looks like it is working from log.
[Galaxy S 5 General] xTheOne23:
Deodex my Rom

I have a Mac and I'm trying to deodex my Samsung Galaxy S5 5.0 Stock Rom. I don't know what program to use since every deodexing program is only for Windows. Any ideas?
[Galaxy S 5 General] edzamber:
Yes no errors but all apps into log fc because theses are not deodexed. I have always arm folders with .odex inside. All others app that are not in log are deodexed...
[Galaxy S 5 General] Damian:
Setup virtual machine with Windows and use tool for windows. Or make a Mac as dual boot with MacOS and Windows. I always use ReFit for dual boot.
[Galaxy S 5 General] Androidwizzard:
I expect this great tool to work on Marshmallow too as I can't see any differences so far, any1 already tried?

Thx :highfive: otherwise I'll report asap :fingers-crossed:
[Galaxy S 5 General] dr.ketan:
Require

Oat2dex update with baksmali 2.0.8

Change Path /dex to /oat/dex (as per Marshallow system)
[Galaxy S 5 General] OMJ:
fyi....oat2dex was updated to v0.85...

https://github.com/testwhat/SmaliEx/releases/tag/0.85
[Galaxy S 5 General] L4zyD0g:
how to use this tool ? i cant choose the correct directory , even if i plugged my phone , can somebody help me ?

[MENTION=6242674]svadev[/MENTION]
[Galaxy S 5 General] MANNSAAB:
how to use this tool ?
[Galaxy S 5 General] IET_DEMO:
don't forget to make a backup in twrp before doing any manipulations

or download your original firmware on sammobile before doing anything

if anything happens reflash stock firmware

You need to adb pull /system/app /system/framework /system/priv-app folders from your device.

Create a folder name /system on your desktop if you want.

Then the three folders you pulled from your device put them inside your desktop\system folder

Then start the deodex program from the original post:

Select the working path to your desktop\system folder

Tick the 3 checkboxes -> app,framework,priv-app

Then execute and wait about 10 minutes.

Flash TWRP on your device

Copy the 3 folders app,framework,priv-app from the deodexer folder to your tablet /sdcard/

Reboot your tablet in recovery mode

Mount /system

Advanced Settings:

File Manager

delete /system/app,/system/framework,/system/priv-app folders on your device

finaly copy the three folders from your /sdcard/ to /system and chmod 0755 them after copying

wipe dalvik cache and cache

reboot and cross your fingers.

credits to: http://galaxy-tab-a.proboards.com/thread/42/tut-deodex-samsung-rom
[Galaxy S 5 General] NoobWonder:
How do I use this? I need to Deodex my rom but I'm not sure how.
[Galaxy S 5 General] Carotix:
[MENTION=6242674]svadev[/MENTION] any news to deodex android M ?

thanks
[Galaxy S 5 General] svadev:
View attachment 3594564

Changelog (v4.0) from 23/11/2015:

1. Added full support for Android M

2. More optimizations

1. Download for 32-bit systems (v4.0 from 23-11-2015): View attachment 3594565

2. Download for 64-bit systems (v4.0 from 23-11-2015): View attachment 3594566
[Galaxy S 5 General] Carotix:
it works like a charm :good: :good:

thanks a lot :)
[Galaxy S 5 General] edzamber:
Did you succes with SVAD 64 bit or 32 bit ? Your JDK is 8u66 32 or 8u66 64 ?

Thanks :)
[Galaxy S 5 General] störte:
Cool if we can deodex the beta mm

Transmitted with latest Echoerom
[Galaxy S 5 General] bdorr1105:
Awesome tool, deodexed Nexus 6P Marshmallow with Ease
[Galaxy S 5 General] störte:
Just tried to deodex the Samsung S6 Edge Beta update.zip.

When selecting the system folder i got the message architecture (arm,arm64,misp,misp64) not defined.

Also there are 2 system folder. The normal one and one in the patch folder where the files have a p extension.
[Galaxy S 5 General] carl1961:
as you seen the S6 Edge Beta update.zip is a patch update

you would need a system dump or a backup of the system partition after this patch update has installed to get a full system to deodex
[Galaxy S 5 General] störte:
Thanks. I thought that also but wasnt sure. Will try that or maybe somebody has a systemdump for the 925F
[Galaxy S 5 General] muniz_ri:
Is this new version also backwards compatible with 5.0/5.1?
[Galaxy S 5 General] svadev:
Yes, tool fully compatible with Android L and Android M.

Tool automatically detect Android version (L or M) and works correctly
[Galaxy S 5 General] kinghunki:
HTC Desire 820 Android 5.0.2 system, can not be oat2dex!
[Galaxy S 5 General] svadev:
In log-file all fully written.

Read it carefully.
[Galaxy S 5 General] kinghunki:
I have not found the cause of the problem!
[Galaxy S 5 General] störte:
Tried to deodex the S6 MM Beta. Works so far ok but had on the End 90 Errors.
[Galaxy S 5 General] WILMANS2M:
try to deodex last SM-G903F new rom but got this error : java.lang.UnsupportedClassVersionError for all files.

What do i need to do ?

Thanks.

I updated to jdk-7u80-windows-x64. Says now java not installed....
[Galaxy S 5 General] bdorr1105:
I am using the latest jdk 8u66 and it worked fine for me
[Galaxy S 5 General] titou43:
Hello at all

I'm trying to use the tools "SVADeodexerForArt" for to deodex my Samsung Galaxy S4 GT-I9506

I would like to install Xposed module but it needeed to deodex my phone

But I not understand how to do this ....

Anyone could help me ?

Many thanks at all
[Galaxy S 5 General] SHAWN_FROST:
i an trying to deodex s5 mini rom stock lollipop rom but couldn't get where are the deodexed files after successfull operation
[Galaxy S 5 General] Manh_IT:
[MENTION=6242674]svadev[/MENTION] [MENTION=6258761]_riddle[/MENTION]

Deodex N920TUVU2DOK5-Android M successful, But system not booting, bootloop !!!
[Galaxy S 5 General] :
broken parts or bad flash and symlinks :P
[Galaxy S 5 General] ambasadii:
[MENTION=5116431]Manh_IT[/MENTION] forgot mention i think that he try run it on stock kernel (without permissive selinux patch) , i think that is the problem not deodexed files or bad symlinks.

I try it too with G920F 6.0.1 M and system not booting with stock kernel (odex or deodex files)
[Galaxy S 5 General] :
Shouldn't affect it but I'll try myself
[Galaxy S 5 General] netookska05:
Deodex D855 ported rom for VS985 I receive these errors. Any help?

I have attached my log any help from anyone would be greatly appreciated. Thanks
[Galaxy S 5 General] tdunham:
Hi Tony,

The only problem I see is for those 3 LGweather apps:

C:\Users\TONY\Desktop\SVADeodexerForArtx32_v4\LGWeather.odex

C:\Users\TONY\Desktop\SVADeodexerForArtx32_v4\LGWeatherService.odex

C:\Users\TONY\Desktop\SVADeodexerForArtx32_v4\LGWeatherTheme.odex

I would try to put them back into your deodexed build untouched, leaving the odex files in there and it will probably be fine.

Tnx - Troy
[Galaxy S 5 General] netookska05:
I tried that after it deodexed and the phone would go into a boot loop. Thanks for the response.
[Galaxy S 5 General] tdunham:
And if you leave them out?

Not sure if you did this already but I find its easier to already have a bootable odexed build with the symlinks and everything already established for that specific build and once you deodex, just swap out system/app, system/priv-app & framework folders for the deodexed version.
[Galaxy S 5 General] netookska05:
I didn't try leaving them out. I did however swap out the folders like you suggested with the boot-able odexed build via twrp deleted the odexed folders and added the deodexed ones and setting chmod 0755 permissions. I can try leaving them out and see what that does and report back.
[Galaxy S 5 General] netookska05:
I tried it again and resulted in the same bootloop. The only thing I can think of is maybe I need to set the permissions 0644 for the apk's in the folders. What do you think?
[Galaxy S 5 General] tdunham:
Folder permissions are 755.

All apps and framework files are 644. Post your installer script, I want to see...

This is from another installer script from something else but this is one way to permissions are set globally for the entire folders:

set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/system/priv-app");
set_perm_recursive(0, 0, 0755, 0644, "/system/framework");
[Galaxy S 5 General] netookska05:
I used the one that was shared by another member. Flash-Deodexed-by PIRATA!V1.zip. Unless that's my problem. If there is another can you link it?
[Galaxy S 5 General] tdunham:
Lets start over some.

Explain what you have and what you are trying to do.

First of all, you have a fully flashable rom already or just trying to flash files over top of a running rom in recovery?
[Galaxy S 5 General] netookska05:
Yes you are correct.

I currently have a 6.0 marshmallow odexed rom running and I deodexed it using the SVADeodexerForArt32_v4.

I was trying to make it a deoxed rom so I could mod it. When I deodexed the rom I ran into the errors with the LgWeather.odex and two other odex files that would not deodex. That's when I asked for some help. I used the zip I stated above to remove the 3-folders app,framework, and priv-app folders and flash what I had deodexed.
[Galaxy S 5 General] tdunham:
Ok, gotcha.

Is there already a fully flashable odexed build somewhere that you use or are you just on a stock rom that is rooted right now that you have to flash the full thing with odin?
[Galaxy S 5 General] netookska05:
I have the flashable odexed build zip.
[Galaxy S 5 General] tdunham:
Ok perfect, that makes things so much easier.

You said you were flashing the deodexed stuff with twrp so I was kind of confused.

Did you remove all the files from system/app, system/priv-app & framework folders from the odexed build first, then added in your deodexed files?

I usually take the odexed flashable rom, make a copy of it and work with that to get a fully deodexed flashable build. You're just completely replacing the contents of those 3 folders with the deodexed stuff.

If you're trying to flash your new files over a running rom from recovery, its not going to work.
[Galaxy S 5 General] netookska05:
Ok, In zip there is the System.img. I would need to unpack that right? Then remove the odexed files and replace with the deodexed ones and repack? If that's the case what unpacker do you recommend for windows? If there is another way I can try that. I'm willing to learn all this. Thanks for all the help!!
[Galaxy S 5 General] tdunham:
No, that wont work either. System.img is the packed version that has to be flashed with odin. Do you have a link to the full odin tar for your phone?
[Galaxy S 5 General] netookska05:
NO I dont. All I have is the flashable zip of the rom. My phone is a LG G3. Not familiar with odin?
[Galaxy S 5 General] tdunham:
Where did you get the flashable zip then? Link please.
[Galaxy S 5 General] Shahrokh.KING:
thx for this great tool, a few questions:

1. do i need a "32 bit java" on my 64bit win 8.1 laptop to work on my note 4 firmware which is a 32bit device?

2. should i use java runtime or java sdk?

3. anyone tried this tool for deodexing a 5.1.1 32bit rom?

i asked because i used another tool and afterward i got into a bootloop

thx in advance
[Galaxy S 5 General] netookska05:
Sent you a pm
[Galaxy S 5 General] Hecker Vo_oV:
Please help me!

I'm sorry but I don't exactly understand how to do this but I must because I want Xposed to my Samsung Galaxy S5 SM-G900F mobile :confused:

I've downloaded the tool and red the description but still I don't understand how the phone in my hand become DeOdexed (Maybe this has something to do with my really unperfect english).

So I would appreciate if someone could explain me, how can I DeOdex it (Step by step until it's ready for an Xposed)

I'm rooted and I have TWRP recovery.

Thanks.
[Galaxy S 5 General] asferican20:
You shouldn't need to deodeox your ROM now. See below thread

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

Users below confirmed working on G900F

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

http://xdaforums.com/showthread.php?p=64935009
[Galaxy S 5 General] andriman:
Why do the 32-bit only apks not get deodexed?

I think they should be deodexed as well as 64-bit apks.

Suggestion:

Make the deodexer remember the last selected stock /system folder.
[Galaxy S 5 General] filipelteixeira:
Replace framework

I've deodexed my nexus 6 framework, now i want to rewrite some of the wifi component classes, rebuild it, and replace the files in the rom.

I'm currently doing this in a Nexus 6.0.0 image from the Genymotion emulator.

I'm also trying to recompile the android source tree from AOSP with my changes and replacing the respective framework jars, odexs and .oat.

What do you think is more viable?
[Galaxy S 5 General] Sun Shower:
Thank you for your tool,it helps a looooooot!Would you add auto zipalign support after deodex ?
[Galaxy S 5 General] starbucks2010:
Today I tried also to deodex an MM ROM for G928F and I got the same issues. As an observation, all the missing lib folders were empty in the odex ROM.
[Galaxy S 5 General] thereassaad:
Empty on odex system/files [emoji15] ,?

Here its empty libs folders on deodex folders App/prev so i just copied all libs folder manually as they mentioned on tool logs exactly that symlinks lines so only this way fixed my issues ,

Noted :

This issues happened to me on S6/S7E/N5 firmwares ...
[Galaxy S 5 General] starbucks2010:
Yes, on odex system/files, the majority of the lib/arm(64) folders were empty. Only few of them had .so files inside. In "app": BeaconManager_40, EasySetup, GoogleTTS, Sidesync40 and Videos and in "priv-app": HealthService and SmartManager_v3.

The arm/lib(64) folders that had any .so files were copied in the deodex ROM but the empty /arm/lib(64) were not copied even the lib structure (lib/arm/lib(64)). Is very strange.

I think that if I will build the deodex ROM without these lib files I will have all kind of FCs.

So, can you what do you think that I should do? I copy these lib files from another deodex ROM for S6 Edge+ different version?

What tool do you use for deodexing? I use SVADeodexerforArtx64_v4 but I don't know if besides app, framework and priv-app folders I should copy also lib and lib64 folders (or any other folder) in this tool.

Thank you.