yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] mikaaa6:
I have Build.prop file :(

Already selected each folder and have selected only the system folder with all included files and folders and the error continues. :(
[Galaxy S 5 General] :
Try select it again with all files included. Make sure your java is working too

Edit I see you didn't select any folder you wanted to deodex make sure to tick thus as well.

Also in framework folder make sure you have

Arm

Or

Arm64

If you don't there is one reason why you get this error.

Can you screen shot you folder

And framework?
[Galaxy S 5 General] tdunham:
Correct. Java jdk must be installed and path entered into window environment manually.
[Galaxy S 5 General] :
However judging by the Screenshot none was selected. (App or framework)

I need Screenshot folder of framework in order to help more.

Seems like it might be deodex already?

Or the build prop might be broken
[Galaxy S 5 General] mikaaa6:
I have java installed.

Here are the pictures.

I can not select any of the options in the program as soon as I select the system folder appears to me that error.
[Galaxy S 5 General] :
Try copy paste the path from your directory.
[Galaxy S 5 General] mikaaa6:
Does not also does not allow me to put a check in any of the folders in the program, and so I carry on me run appears again the error.

---------- Post added at 12:21 AM ---------- Previous post was at 12:02 AM ----------

How did you solve this problem?

Also happens to me the same, but with version 4.1
[Galaxy S 5 General] starbucks2010:
Do you have any build.prop file in that system folder (besides framework, app and priv-app folders) ?
[Galaxy S 5 General] BurSoft:
Hi guys.

For deodex Android N you can use my tool Batch Apktool.

I am new on the XDA, so I can not give a direct link to download :(. Just google "Batch Apktool 4pda".

Best Regards.
[Galaxy S 5 General] bunnys7679:
Work this also with Android M ?

Gesendet von meinem SM-G925F mit Tapatalk
[Galaxy S 5 General] BurSoft:
yes, works with all previous android versions

just change api level (option [84])
[Galaxy S 5 General] bunnys7679:
How to install at the tool, the framework and framework?
[Galaxy S 5 General] :
4pda must be registered to download if you wanna share you can pm the link regards

Edit I see you link to ya disk. Also I've used your tool it's awesome! It's a while ago but still.
[Galaxy S 5 General] edzamber:
https://yadi.sk/d/AmVk9KBNqhaPx
[Galaxy S 5 General] :
Already got it but still good to have a link here :)
[Galaxy S 5 General] anjelz2012:
error boot.oat MM .185 Z5

View attachment 3721800
[Galaxy S 5 General] :
Remove the spaces in your folder name and try again.

Even apktool has issues to work with projects with space in it
[Galaxy S 5 General] anjelz2012:
Thank you for your attention, I made the suggestions given and continues to release me another error

View attachment 3722300
[Galaxy S 5 General] remzej:
Great tool! But I have one issue after deodexing ROM phone cannot recieve any text messages from any contacts. But sending text messages works. Any idea what files that need to be excluded fro deodexing?
[Galaxy S 5 General] darangel212:
Nothing happens when I select app, priv-app & framework folder inside system folder C drive like this> C:\12\system

I have Galaxy S5 G900H with official ROM files from the above mentioned three folders. Any help?
[Galaxy S 5 General] tdunham:
Did you include the build.prop file?

It needs to see it to read the configuration.
[Galaxy S 5 General] darangel212:
No. Could you please tell at which exact location should I keep buil.prop file?

C:\123\system....... ?????
[Galaxy S 5 General] :
Should be same structure as in /system folder

If you have a folder with app & framework

It should be in root of that folder where app & framework is

So you should have

Build.prop

Framework

App

In a single folder.
[Galaxy S 5 General] dkionline:
Try newest 4.1 version, then it should work.
[Galaxy S 5 General] darangel212:
I have successfully deodexed my S5 G900H Official LP Rom with your tool and copied files & folders (system/app, priv-app & framework) to their respective locations and booted successfully. As I talked to you earlier, I was facing issue of installing Xpose Framework but luckily, after booting, I have overcome this issue.

Now, I am facing another issue. First, getting Samsung Link Plateform FC issue. This appears at each startup and whenever I open Gallary (attaching screenshot). Plus, when I touch OK button so the Gallary closes itself (seen in screenshot).

Secondly, some other apps either not working. I mean, like I open Google Drive & Doc so Its logo appears but nothing happen and the app closes itself.

Third, When ever I open an app with "Open with" dialogue box, the phone restarts.

Any solution?? Waiting for response....
[Galaxy S 5 General] :
Did you install xposed before first start? I've seen installing xposed before first boot (after install) can cause issues. Specially if you install stock Rom with Odin > install recovery without boot. Boot to recovery and install xposed. It caused lots of force closes. Try boot it once and install xposed.

Also if Google Apps crashes just remove them from package and install separately from Google. ;)
[Galaxy S 5 General] darangel212:
Hmm. I am suspicious about recovery, I think I installed it beofore first boot. Let me install ROM via odin again and see if the problem persist.
[Galaxy S 5 General] darangel212:
Bro, as I talked to you yesterday about Samsung Link, Gallary & other app FC issue and you said I could have probably installed Recovery before first boot. After that, I re-installed the ROM via odin and used it for few hours without installing recovery & it worked fine.

After that I installed recovery, booted phone and saw that all apps incl Gallary, Drive & Doc works like a charm. But when I came into recovery and copied the deodexed files & folders (system/app, priv-app & framework) to their respective locations, the phone booted successfully but came up with the same issue i.e. FC Samsung Link Plateform, Gallary, Drive, Doc etc.

Note: I didn't install any app including Xposed Framework or rooting phone etc.

Now what do you say? Is there any solution ? Waiting for response
[Galaxy S 5 General] ninestarkoko:
It works fine also for Xperia Z5 line Marshmallow firmwares. Thank you!
[Galaxy S 5 General] skeleton1911:
[MENTION=6242674]svadev[/MENTION]

please take a look and maybe update your great tool

https://github.com/testwhat/SmaliEx
[Galaxy S 5 General] svadev:
If you want update oat2dex - no need update SVADeodexerForArt, you can update only oat2dex.jar in SVADeodexerForArt folder.
[Galaxy S 5 General] mie_shariff:
I have followed exactly the steps.

But still end up in the bootloops infinitely.

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

Any help for me please? :(

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

Thank you.
[Galaxy S 5 General] petrutms:
Generated files must be copied back to the system with root explorer, without delete anything (old odex files)? Thank you!
[Galaxy S 5 General] Nilakshanjayasekera:
Deodexing error

Can someone help me..
[Galaxy S 5 General] starbucks2010:
Use a folder without spaces in the name.
[Galaxy S 5 General] dr.ketan:
Instead of long path of system folder on F drive simply copy system folder on desktop or root of f drive if space is issue on c and try again

Btw java don't like space :p
[Galaxy S 5 General] dr.ketan:
Java cause error if you keep space in folder name in path of system

Just attache one showing your path on F with one space at duos folder

And attached log showing path D with folder Android Custom, in both case you have space in name that can throw error
[Galaxy S 5 General] dr.ketan:
I mean there shouldn't have space in folder name either on path of system folder or on path of Tool
[Galaxy S 5 General] dr.ketan:
Can you first show me screenshot of system folder?
[Galaxy S 5 General] dr.ketan:
Now once attach screenshot of framework folder (seeing in above screenshot) as well attach last log line
[Galaxy S 5 General] dr.ketan:
Where is your deodex Tool folder located?

Simply extract and copy all files and copy on desktop with a folder name that should not have space in name
[Galaxy S 5 General] dr.ketan:
Yes. What I meant on your last log I can see path of Tool is

D:\Android Custom Roms\SVADeodexerForArtx64

What I mean you have space in folder name (Android Custom Roms) can cause issue

Simply copy SVADeodexerForArtx64 on desktop and try
[Galaxy S 5 General] dr.ketan:
Make sure java version is updated. And your machine is 64 bit os as you are using 64bit Tool
[Galaxy S 5 General] dr.ketan:
No don't move any file that is just created

Do this last time before trying anything

Delete all folders except system which you have extracted

Download Tool again and extract to SVADeodexerForArtx64 folder on desktop

Open Tool bat file and link to system folder

Check all three options app priv app and framework and start deodex process
[Galaxy S 5 General] tdunham:
I'm not exactly keeping up but did you go back in and re-edit your environment variables to reflect the new path to the java sdk you just installed?

If you have not already done so, just google how to add java to the environment path for you version of windows.
[Galaxy S 5 General] tdunham:
It might. Reboot the pc to set the environment and try again.
[Galaxy S 5 General] Astrubale:
Java not installed, but I have java. Any idea?
[Galaxy S 5 General] Battlehero:
If you are using a 64 bit OS with the 64 bit version of the deodexer then did you install the 64 Bit version of the latest Java?
[Galaxy S 5 General] Slim2none4u:
This is what I get when I try the tool.

Any idea why?
[Galaxy S 5 General] KbaB.BroS:
Do you have build.prop in the same folder?
[Galaxy S 5 General] a.raul:
Good morning

for deodex just you have to copy the folder SVADeodexerForArtx64_v4.1 system folder.

Do not copy anything else ... No META-INF, etc ..

Sorry for my English.

Regards
[Galaxy S 5 General] pmterp:
Thanks for the great tool svadev! I'm hoping to get a little guidance here. I'm working with the Verizon Galaxy Note Edge (similar to the Note 4) which took over a year to get an unlocked bootloader so I'll the real devs have understandably moved on. Anyway, I'm using Superrs kitchen and was able to make a stock based, rooted, debloated ROM that works but I want to take things farther. I found an awesome guide from tdunham with lots of TW Rom mods but as far as I can tell it needs to be deodexed first. Superr's kitchen is having issues deodexing Samsung based ROMs so I found this tool. I was able to get /system from the ROM's working directory and used this tool to deodex it without any errors (hooray!) BUT I'm not sure what to do next. I tried just taking the system/app system/priv-app and system/framework and sticking them back into the ROM's working directory and then using the kitchen to turn it back into a flashable ROM. It installs fine with TWRP but then stuck on the Verizon splash screen for 30 minutes (I actually timed it and decided it had gotten too hot to leave longer). I read some other posts here that say to put the modified files back into the ROM's zip but once my ROM is flashable, there isn't a system directory (there is a system.new.dat file). Any guidance or recommendations that can be made would be greatly appreciated.
[Galaxy S 5 General] tdunham:
So you're using Superr's kitchen to create the installer script and also setting it to root the rom so it can inject systemless root into the kernel and rom during install?

The Rom wont boot unless the kernel gets modified and systemless root is the simplest way to get there. Also, if only the provider splash screen is showing and not the bootanimation, there is no point in waiting it out, there's something else wrong.

That is an awesome tool. Have you tried just creating a stock odexed build that you can flash before deodexing? I ALWAYS build an odexed flashable version first, then add the deodexed files to it later. This way you know if your installer script is intact and working properly. Plus, the odexed build (if its working) usually will boot right up in just a few minutes so there's no guessing or waiting for it while deodexed roms take a long time to build cache on first boot.
[Galaxy S 5 General] pmterp:
Thank you for responding, yes, this is an awesome tool. I did make an odexed ROM first from my stock image and it boots fine. So that is the point I'm at. I have an odexed ROM, I have the deodexed version of apps priv-apps and framework. I'm just really not sure how to introduce the deodexed files into the ROM.

Are you saying I should boot the ROM and then use adb to replace the odexed files with the deodexed files while it is booted? Sorry if that's noobish, but I am a noob when it comes to developing.
[Galaxy S 5 General] tdunham:
Ok, using the working odexed_rom.zip, I just delete the entire system/app, system/priv-app and framework folders COMPLETELY out of the working zip, and replace with their deodexed counterparts. If still having an issue, try just replacing framework only to see if maybe a framework file didn't get converted properly or something.
[Galaxy S 5 General] pmterp:
Oh, okay, that's my problem. I don't have a system file in my working ROM. When I unzip my flashable ROM I have /install /META-INF boot.img file_context system.new.dat system.patch.dat system.transfer.list. system.new.dat is 2.8G so I'm guessing that is where these files go but I'm not sure how to turn it into a directory.
[Galaxy S 5 General] tdunham:
If you want the folders to show in the zip, you need to change the options in the kitchen to use old meta data format, I think he calls it legacy kitkat or something, instead of sparse (or whatever the 'recommended' method is).

Personally, I prefer it that way because you can easily modify the flashable rom as you go by just manipulating the flashable zip than having to rebuild it with the kitchen everytime you make a change to rebuid the system.new.dat file.

Still I would stick with getting the odexed version running first from the kitchen, then go with what I posted above.
[Galaxy S 5 General] pmterp:
Great. Thank you. I'll give that a shot.
[Galaxy S 5 General] yash92duster:
Hello [MENTION=6242674]svadev[/MENTION]

I have successfully deodexed my S5 G900H MM 6.0.1 Firmware

(app, priv-app and framework )

Edit:

I made a script and flashed zip,

Everything works great

Thanks a lot

:)
[Galaxy S 5 General] apung:
Hi all dev

i dexodex not success stock rom SM-N9100,

64-bit Deodexer for Android Runtime (Version 4.1 ?? 09/03/2016) © Valery Studenikin, 2016

Path to stock /system directory: D:\SVADeodexerForArtx64\system

Android 5.1.1: SM-N9100, LMY47X.N9100ZHS1CPE1, changelist 7762617, Tue May 3 21:32:41 KST 2016

Processor architecture: \arm\

Files deodexed succesfully: 370, with errors: 2. CPU time: 03:46:33 (13593,127 sec.)

Extacting and de-optimizing was terminated with errors for:

D:\SVADeodexerForArtx64\KnoxSetupWizardClient.odex

D:\SVADeodexerForArtx64\SBrowser.odex

Finded errors saved to file: D:\SVADeodexerForArtx64\LogLines.log

=============================> begin errors for D:\SVADeodexerForArtx64\KnoxSetupWizardClient.odex

06-08 12:48:55:379 Wrong string section e_shstrndx=8

Exception in thread "main" java.lang.NullPointerException

at org.rh.smaliex.reader.Elf.getString(Elf.java:571)

at org.rh.smaliex.reader.Elf.getSection(Elf.java:545)

at org.rh.smaliex.OatUtil.getOat(OatUtil.java:141)

at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:130)

at org.rh.smaliex.Main.mainImpl(Main.java:128)

at org.rh.smaliex.Main.main(Main.java:54)

=============================> end errors for D:\SVADeodexerForArtx64\KnoxSetupWizardClient.odex

=============================> begin errors for D:\SVADeodexerForArtx64\SBrowser.odex

Unhandled IOException: null

=============================> end errors for D:\SVADeodexerForArtx64\SBrowser.odex

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

/system/framework/cneapiclient.jar

/system/framework/com.dropboxpartner.jar

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

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

/system/framework/com.qti.dpmframework.jar

/system/framework/com.quicinc.cne.jar

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

/system/framework/dpmapi.jar

/system/framework/MaximBioUVLib.jar

/system/framework/qmapbridge.jar

/system/framework/rcsimssettings.jar

/system/framework/rcsservice.jar

/system/app/DriveLink.apk

/system/app/FactoryCamera_FB.apk

/system/app/minimode-res.apk

/system/app/SCParser.apk

/system/app/SecFactoryPhoneTest.apk

/system/app/SecurityLogAgent.apk

/system/app/SNote4.1Preload.apk

/system/app/Videos.apk

/system/priv-app/AutoPreconfig.apk

/system/priv-app/ContextProvider.apk

/system/priv-app/DocumentService.apk

/system/priv-app/GmsCore.apk

/system/priv-app/HealthService.apk

/system/priv-app/PersonalPageService.apk

/system/priv-app/SecGallery2014L.apk

please any solution ?
[Galaxy S 5 General] note4me:
[MENTION=1042140]tdunham[/MENTION]: I got the deodex rom to boot, but I get FC's on Google Play services ,Gallery and Messages app. This is on a Note 4 (N910W8) Marshmallow build... Any pointers on what i can do resolve it.
[Galaxy S 5 General] tdunham:
I see some files don't deodex properly sometimes and google apps are prone to have issues in some cases.

Did you happen to try the same exact way in kitchen but just leaving it odexed?

Flash just stock odexed and if you don't have any issues, then deodex. If proplems come back then check your logs for a file that didn't deodex properly. I think gmscore (google services) is the likely place to start if deodex is the problem. See if you can find a rom with the same build as yours you might be able to pull a good copy from if necessary if that's the case there too.
[Galaxy S 5 General] pmterp:
Thanks for the tips. I was able to use the kitchen to change it to meta so there were the folders I needed and the ROM booted without issue. I then used this tool to deodex and got 0 errors, all were successful. Then, using 7zip I deleted everything in the zip in the system/framework directory and then copied in the deodexed /framework files that were output from the tool. The ROM flashed in TWRP without issue but then it stuck on the boot animation again. I again let it sit there for 30 minutes because I know a deodex ROM's initial boot takes longer (the odex version boots after 6 minutes of the boot animation). Is there anyway to troubleshoot or log what is happening at that point that's keeping it from completing the boot. Thanks again for the help.
[Galaxy S 5 General] trungqbbn123:
Finded errors saved to file: c:\documents and settings\admin\desktop\new folder\LogLines.log

=============================> begin errors for c:\documents and settings\admin\desktop\new folder\AASAservice.odex

Error: Unable to access jarfile c:\documents

In the course of work I encountered a problem like this, how to overcome?
[Galaxy S 5 General] tdunham:
Do not work in folder name with space in them.
[Galaxy S 5 General] asc1977:
I deodexed s6edge 6.0.1 rom without errors but its not sorted in folders. Only apk and dex files in one folder. What did i am wrong?

---------- Post added at 14:46 ---------- Previous post was at 14:18 ----------

I think i solved by myself

I renamed system_ to system

And folders appears

---------- Post added at 15:26 ---------- Previous post was at 14:46 ----------

No sorry it didnt work and i didnt know why and didnt find solution in thread.

Any help please
[Galaxy S 5 General] asc1977:
Yes i know that but after deodex the tool writes cant find framework/classes.dex and stop. So in the three folders only apk and dex and nothing works. Dont know why
[Galaxy S 5 General] boostermbkking:
why I have this error?

Error occurred during initialization of VM

Could not reserve enough space for 1048576KB object heap
[Galaxy S 5 General] nick.sam368:
I had problems when I selected the folder System

Checks my problem in this video: https://youtu.be/u7h30XEu304

[IMG="http://xdaforums.com/attachment.php?attachmentid=3806038&stc=1&d=1467906745"]http://xdaforums.com/attachment.php?attachmentid=3806038&stc=1&d=1467906745[/IMG]
[Galaxy S 5 General] nick.sam368:
Problems when I Deodex for Note4 N910C :rolleyes:

32-bit Deodexer for Android Runtime (Version 4.1 ?? 09/03/2016) © Valery Studenikin, 2016

Path to stock /system directory: C:\Users\Nick SAM\Desktop\Deodexed\system
Android 6.0.1: SM-N910C, MMB29K.N910CXXU2DPFA, changelist 7328708, Thu Jun 23 16:04:24 KST 2016
Processor architecture: \oat\arm\
Files deodexed succesfully: 0, with errors: 320. CPU time: 00:01:55 (115.312 sec.)

Extacting and de-optimizing was terminated with errors for:
[Galaxy S 5 General] nick.sam368:
thanks bro. perfect :D

so how to replace deodexed folders on the phone?

How to create .ZIP flashing ?
[Galaxy S 5 General] yash92duster:
hello

symlinks are needed

so you must add them in your updater-script of your flashable zip

If you dont know then get META-INF folder of your model from any custom rom

now make a flashable zip of the system folder including boot.img

Goto twrp and flash the zip

------------- ------------------------

-------------------------------------

I will tell another way to flash your deodex app, priv-app, framework

I will upload the flashable zip to you

Here is another way to flash deodex folders

I have attached two zip files

one is for deleting old odex folders in system

second to install the deodex system folders

In the zip " Install DeOdex app,priv-app,framework.zip " add the folders which you have deodexed using sva tool - like app, priv-app, framework

Dont extract the zip, just drag and drop the new deodexed app , priv-app, framework folders into the zip file inside system folder

Follow the steps:

1. First flash the stock rom via odin

2. goto stock recovery and clear cache partition & data

3. Restart device, let device boot up

4.when device shows welcome screen shutdown device

5 now flash TWRP recovery in download mode

6. now enter TWRP recovery and install the zip " Delete odex app,priv-app,framework.zip "

7. then install the zip " Install DeOdex app,priv-app,framework.zip "

8. restart device, It will take sometime to boot up

enjoy:):laugh::D

Make backup of old rom and store it in sd card or pc f anything goes wrong
[Galaxy S 5 General] Denverfan9:
32/64bit download refering to PC or android device processor??
[Galaxy S 5 General] tx_dbs_tx:
PC architecture.
[Galaxy S 5 General] Denverfan9:
Thanks....If i do a factory reset will I loose all the deodex progress? did for a friend on a new tab A T350 and used my info (google play store sign in) and need to transfer that back over to him....or do you know of a way to transfer to a new account without factory reset
[Galaxy S 5 General] friozi:
i will try in 4 hours cant do now thanks anyway :D back with results...

one more question.. after the deodex process i need to create a tar.md5 file and flash with odin right?
[Galaxy S 5 General] yash92duster:
no need to flash via odin

you can make a flashable zip and install TWRP recovery and

flash the rom zip via TWRP

Foolow this

link

http://xdaforums.com/showpost.php?p=67900498&postcount=697
[Galaxy S 5 General] friozi:
[MENTION=6377149]yash92duster[/MENTION]

i already have root and TWRP on my device.

I tried as you said with no spaces but got the same problem.

tried on my notebook and my desktop.

OS#1: Win10 x64 (not worked)

OS#2: Win7 x64 (not worked)

i dont know if this help but this is the link to this rom.

G900MD 6.0.1 STOCK

https://mega.nz/#!ZxtB0LCJ!KfrUsnzcwBo-7RjFwobWsEQ-LU-vmgEAmJjcgWdHwrs

sorry for my english mate.

thanks !!!
[Galaxy S 5 General] yash92duster:
Download Firmware from sammobile or samsung-updates site for your device and try again

It will work

I deodexed my rom on win7 64bit it works perfectly

And check whether you installed jdk and jre on your system

Edit: Op said to ignore it so it should not be a problem:)

Good luck
[Galaxy S 5 General] svadev:
Read carefully:

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