yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 General] friozi:
[MENTION=6377149]yash92duster[/MENTION]

Sorry bro english its not my main langue sometime i cant understand 100%.

and sorry for taking your time for helping me.

so its all good? i will do the zip method that you sent to me. right?

:good: :good:
[Galaxy S 5 General] yash92duster:
:svetius:take backup of current rom in twrp to SD card

And then try flashing new rom :svetius:
[Galaxy S 5 General] friozi:
:good:

i will follow this sequence right?

1- Flash stock rom with TWRP

2-follow your thread http://xdaforums.com/showpost.php?p=67900498&postcount=697

3- done

:good:

EDIT:::

everything explained here:

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
[Galaxy S 5 General] yash92duster:
:good:

i will follow this sequence right?

1- Flash stock rom with TWRP

2-follow your thread http://xdaforums.com/showpost.php?p=67900498&postcount=697

3- done

:good:

EDIT:::

everything explained here:

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

Test it out bro

First time i did that steps and flashed successfully

if not im sorry :)
[Galaxy S 5 General] friozi:
i will test it tonight and back with results thanks :fingers-crossed: :good: :good: :good: :good:
[Galaxy S 5 General] friozi:
[MENTION=6377149]yash92duster[/MENTION]

Did everything as you thread said but got stuck at SAMSUNG logo.

any ideas? there is anyway to find where is the problem?
[Galaxy S 5 General] yash92duster:
It worked for me bro, it took around 15 - 20 minutes for booting up

wait for sometime and check, if not deodex again and try from scratch.

did you try second method? if so now try

1)create a flashable zip with updater script and boot image and whole system folder and flash and check
[Galaxy S 5 General] tx_dbs_tx:
Guys this discussion is out of the scope of this thread. But i will tell you that the script MUST also adhere to the folder structure as well as the architecture and permissions will need to match the system apps in the rom being flashed. This is not something you can just slap another rom's script into your zip and it will just work. That is foolish. You can do it if your rom is the same base rom with the same exact kernel dev block, etc. but if flashing the kernel within the rom zip then the kernel must be flashed to the correct dev block (hence the script needs to be edited correctly) or it will not flash to the phone. Let's not discuss this stuff here. If anybody needs help you can always PM me or another knowledgeable member.
[Galaxy S 5 General] genuine55:
Thanks for the info bro
[Galaxy S 5 General] moman2000:
Problems with boot.oat and several other files. (Sony Xperia Z2)

Rom I am deodexing: 23.5.A.1.291 FOR Z2

ERROR LOG: https://drive.google.com/open?id=0B6aEcBP7FwsWSlZtRmUyQXhUMGs

I don't know what the issue is, apparently there is a problem with being "unable to access jar file"

I really need help with this, also my thread is : http://xdaforums.com/xperia-z2/general/stock-root-xposed-twrp-ub-lb-d6503-mm-t3433442

Files with issues: FOLDER ON GOOGLE DRIVE https://drive.google.com/open?id=0B6aEcBP7FwsWX1pqc3BEcWliQVk

Regards,

Mohamed
[Galaxy S 5 General] acabreram:
hi I´m trying to deodex my rom with your tool but i gettin this error could you help me?
[Galaxy S 5 General] starbucks2010:
As far as I can see, this can happen from 3 reasons:

1. You are quoting an entire long post without any relevance to your question

2. You don't bother to read few pages before your post and see if you can find a possible answer

3. You have a space in your odex rom location path
[Galaxy S 5 General] Nadeem1122:
Hi can i deodex Galaxy E5 5.1.1

E5 StockRom...
[Galaxy S 5 General] shahram Ali:
[MENTION=6377149]yash92duster[/MENTION] dude i get near 300 error log :/ as u know what is wrong
[Galaxy S 5 General] yash92duster:
Change this

E:\S6 EDGE\New folder\system

to

E:\S6EDGE\Newfolder\system

dont keep space in folder name

and always keep updated your jre & jdk
[Galaxy S 5 General] shahram Ali:
same problem :/
[Galaxy S 5 General] :
Did you close the app and opened it
[Galaxy S 5 General] shahram Ali:
Ensured all things java etc same problem even with s5 rom same i have apktool everything that required java working perfectly but idk this app got this proble. :/
[Galaxy S 5 General] AnonVendetta:
Does this tool also zipalign APKs and JARs for best performance? I ask because I can't find the zipalign binary in your tool. Do you plan to add it?

I recently tried deodexing a CM13 ROM with another tool. It appears to have worked and there are no odexes left in /system. I wiped cache/dalvik in recovery before booting. Everything works but now I get a Bluetooth Share force-close every time I boot up. BT works fine if ROM is odexed. I need to apply a signature spoofing patch (to get MicroG working) into my framework.jar but the patch doesn't work on odexed JARs. Is it likely that the other tool deodexed incorrectly? Would using this tool solve the problem?

Edit: I forgot to mention that I have an LG v10, not a Galaxy S5. But this seems like a general tool for all devices.

Thanks!
[Galaxy S 5 General] :
Doesn't zip align files only deodex I think if it would zip alignit be mentionedg
[Galaxy S 5 General] Rodger_Rulez:
[MENTION=6242674]svadev[/MENTION] will you plan to update app for Android N 7.0?)
[Galaxy S 5 General] svadev:
May be ...

But now, - i have no plans.
[Galaxy S 5 General] cesarandres_8911:
Error processor architecture (arm, arm64, x86, x64, mips, mips64) not defined

Hi, I downloaded the version SVADeodexerForArtx64.zip, unzip the file, run the application and to seek my system folder, the following error message appears (image attached to the post): "processor architecture (arm, arm64, x86, x64, mips, mips64) not defined"

Not have spaces in the path where is / system, I have Java last version installed, Windows 10 x64, the rom that I try to deodexed is a stock rom downloaded from official source for the variant D851 (LG G3). I appreciate the help you can provide me.
[Galaxy S 5 General] :
Try the 32 bit variant. Or place also bin folder maybe
[Galaxy S 5 General] cesarandres_8911:
Thank you for your response. I have jdk of 64 bit, I've tested both versions of the tool (x32 and x64) and I get the same error. Also I tried uncompressing the /system in its entirety but the error persists. From where is retrieved this data ("processor architecture") in the tool?, from the build.prop file?
[Galaxy S 5 General] :
Both build prop and framework if I'm not wrong or maybe just only build.prop also make sure you got no spaces in your path
[Galaxy S 5 General] cesarandres_8911:
In fact I made sure that not had space the path. I see different is that within of the app and priv-app folder, I cannot find file *.odex but I haven't deodexed the rom. I just extracted the .dz file from a kdz file and then extracted the system.img since the .dz file. When deodexed rom in lollipop, these .odex files were visible.
[Galaxy S 5 General] :
Some apps are pre deodexed and some isn't
[Galaxy S 5 General] cesarandres_8911:
Reviewing in the /system folder, there is not *.odex file. When using this tool (http://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296) indicates that the Rom is already deodexed but I have not deoxaded, It is strange.
[Galaxy S 5 General] cesarandres_8911:
OK, apparently this rom comes preodexed. Download another version of marshmallow for lg g3 (D95530A) and to review the app and priv-app folders I found the files .odex and in this case the tool already works. Apparently the error is that the Rom has no files .odex and possibly was already deodexed from T-Mobile.
[Galaxy S 5 General] Hamidreza2010:
[MENTION=6242674]svadev[/MENTION] i deodex my xperia z5 on 6.0.1 but for now how can i sign and ziplign these apks?
[Galaxy S 5 General] :
Download advanced apktool here on xda it has this option
[Galaxy S 5 General] Hamidreza2010:
Yes i know that but its very difficult to do this with advanced apktool ( should put one by one all apk in advanced apktool and ...... )

[MENTION=6242674]svadev[/MENTION] can you provide these option in your tool ( sign and zip align ) ?

thanks a lot
[Galaxy S 5 General] svadev:
Where did you get that APK not zipaligned after deodex?

- After deodex with SVADeodexerForArt all apks and jars is zipaligned and signed (you can test it)
[Galaxy S 5 General] elkinguerrabarreto:
[MENTION=6242674]svadev[/MENTION] any fix error

Finded errors saved to file: C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\LogLines.log

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\boot.oat

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\boot.oat

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\allshare.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\allshare.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\am.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\am.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\android.policy.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\android.policy.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\android.test.runner.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\android.test.runner.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\appops.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\appops.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\appwidget.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\appwidget.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\bmgr.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\bmgr.odex

=============================> begin errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\bu.odex

Error: Unable to access jarfile C:\Users\elkin\Downloads\S6

=============================> end errors for C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\bu.odex

.......

and all are
[Galaxy S 5 General] yash92duster:
[MENTION=5455025]elkinguerrabarreto[/MENTION]

Rename the folder name S6 Edge to S6Edge

Don't leave space on folder name

C:\Users\elkin\Downloads\S6 Edge\SVADeodexerForArtx64\

To

C:\Users\elkin\Downloads\S6Edge\SVADeodexerForArtx64\
[Galaxy S 5 General] KingRaheel:
That's because you didn't run the tool as administrator ...even I had got those sort of errors .

After running as admin, they got fixed
[Galaxy S 5 General] elkinguerrabarreto:
THXmen
[Galaxy S 5 General] 00ehsan00:
thanks a lot bro.

your post rescue me from a lot of fc. :D

thanks a lot again:laugh::laugh::laugh:
[Galaxy S 5 General] ninestarkoko:
after deodexing use Tickle my android http://xdaforums.com/showthread.php?t=1633333

and "Recompile with original signature". Easier and faster than any other tool. Read the guide and remember to install the correct framework files before decompiling (1) framework-res and 2) the other suggested file for Xperia phones ).

Works amazingly for me with Xperia Z5c MM 6.0.1
[Galaxy S 5 General] gAracUh:
why still i can't able to select three boxes? i already changed my os to 64bit and i downloaded and installed latest java which is 64bit also. anyone here tell me how to fix this :(
[Galaxy S 5 General] wellaflex:
[MENTION=6242674]svadev[/MENTION] update for Nougat mate ?
[Galaxy S 5 General] nguyentankiet:
+1
[Galaxy S 5 General] svadev:
for Nougat

I'm sorry, but I have no time and desire to do it. And please - don't make me.

You may think consider that the project is closed.

I'm very, very sorry...
[Galaxy S 5 General] wellaflex:
No problem mate...Cheers :good:
[Galaxy S 5 General] anees02:
I tried to deodex my TW stock 6.0.1 with this tool,the deodex process completed successfully with 0 errors but stuck on kernel screen and couldn;t boot.

May anyone help me?
[Galaxy S 5 General] tdunham:
Are you patching the kernel with superSU before first boot? The Rom probably won't run with stock kernel.
[Galaxy S 5 General] anees02:
My stock kernel already patched before deodexing.

I flashed the stock rom,then rooted it with superSU and then pull apps,framework and priv-app folders using adb.

I tried stock kernel and permissive kernel with the same result.
[Galaxy S 5 General] tdunham:
I'm not sure how you're implementing. Most of us prefer full install from a rom.zip with an installer script that sets meta data and symlinks and such.

If that's how you're doing it, then maybe its something in the script. I really recommend using one of the rom kitchens to get a fully working rom built as it takes all the guesswork out of everything. I only use superr kitchen but I know there is a windows version available here too.
[Galaxy S 5 General] anees02:
My implementing is as follows

First deleting the 3 folder via adb from twrp recovery

adb shell rm -rf /system/app

adb shell rm -rf /system/framework

adb shell rm -rf /system/priv-app

Then

Using adb from twrp recovery I pushed the 3 folders after deodexing

adb push app /system

adb push framework /system

adb push priv-app /system

Is this process true?

Because I pushed specific apps by the same method and they works fine.

If there are any mistakes I have done by this method just tell me?
[Galaxy S 5 General] tdunham:
I've never attempted pushing. I've heard of it, just never tried. Maybe you also need to set permissions for all the folders recursively too. Maybe someone who still subscribes here can say for sure how pushing works for replacing system folders.
[Galaxy S 5 General] anees02:
I think pushing should work because when I pushing the same stock folders (app,framework and priv-app) with the same method the phone boots successfully.

But with deodexed folders doesn't work.

Maybe the tool can't deodex correctly or I missed something.
[Galaxy S 5 General] tdunham:
Do you have custom recovery like twrp for the phone?

Try only doing framework, then wipe both cache's with recovery.

If you want full flashable version (and have custom recovery, or know that flashfire works) send me a link to full stock factory tar and I can create a full deodexed flashable rom easily enough.
[Galaxy S 5 General] anees02:
Yes I have TWRP recovery and I tried to push folders like this

1) pushing 3 deodexed folders = stucks on kernel black screen with LED light.

2) pushing stock odexed framework folder=passes the kernel screen but stucks on bootloop (Samsung logo animation ) more than 20 minutes with no boot.

3) pushing app stock odexed folder = stucks on bootloop like step 2

4) pushing priv-app stock odexed folder = phone can boot successfully.

For the device I have there is already a stock deodexed rom link ,but I want to do it myself that I could debloating and deodexing my own rom.

Debloating is Done.

Deodexing is awaiting....

So I need help in deodexing.
[Galaxy S 5 General] Ticklefish:
This sounds intriguing. I have a tool that can, in theory, deodex things. If you're able to share your app, priv-app and framework folders as well as your build.prop I can take a look and see what's going on.
[Galaxy S 5 General] anees02:
[MENTION=1042140]tdunham[/MENTION] & [MENTION=4315551]Ticklefish[/MENTION]

Thank you very much for your help.

Finally After a lot of searching I could fix this thing but I don't know how?

After grabbing the downloaded stock ROM I used this Kitchen it is amazing and works with windows 10 64-bit without problem and has a lot of choices

http://xdaforums.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545

I found when I pull system apps (app,framework and priv-app) & deodexed them ,then pushing them again to the device,this doesn't work because there is something in system partition refuses the new deodexed apps.

BUT when I use the kitchen it deals with the whole system partition and fix this issue by making compatibility between system partition and new deodexed system apps.

I don't know what happened?

If I use adb push to replace some system apps (Odexed) by others (Deodexed Ones) it works without any problem.

but when I make the same thing for all folders (app,framework and priv-app),then deodex all theses folders and push them all , it doesn't work.

I don't know why this thing happens?
[Galaxy S 5 General] tx_dbs_tx:
ART (Android Runtime)

You must wipe dalvic- cache if you're going to adb system apps and framework like you're doing. ADB push then reboot to recovery and wipe cache and dalvic cache or do a factory reset. Then it will boot as long as there's no bad deodexed files.
[Galaxy S 5 General] Kezatic:
I'm also facing the same error here, unfortunately I tried all of the solutions and nothing worked. Tried running it as administrator, renaming the file but it still doesn't work. Spent two hours finding a solution but still no success. I'm trying to extract the stock OnePlus 2 firmware Oxygen OS version 3.5.5. I have attached my error file below. Any help is very appreciated.
[Galaxy S 5 General] Yuu(ゆう):
ãƒ•ã‚©ãƒ«ãƒ€ã‚’é¸æŠžã—ã¦ã‚‚é¸æŠžã™ã‚‰å‡ºæ¥ãšdeodexå‡ºæ¥ã¾ã›ã‚“ã€‚systemã®ä¸­ã«appã¨frameworkã¨priv-appã¨build.propã‚’ã¡ã‚ƒã‚“ã¨å…¥ã‚Œã¦ã„ã¾ã™ã€‚
[Galaxy S 5 General] tx_dbs_tx:
I looked at your error log and I can see the problem. You need to use a directory structure that has NO spaces in the folders' names.

Your trying to run the deodexer on your rom files that are in the user directory which does have spaces in the folders' names. This will not work.

My advice is to setup new working directories for your rom projects and extract your rom tar packages to these new working directories then launch SVA

and point it to the folder that contains your extracted rom's system.

Like this...

C:\Users\txdbstx\Downloads\SAMSUNG_GALAXY_NOTE_7\ROMS\STOCK\SM-N930P_1_20160718104140_n3mi2pj3er_fac\AP_N930PVPU1APGC_CL8706608_QB10377011_REV00_user_low_ship_MULTI_CERT_meta

Notice that my folder structure has NO spaces in the folders' names OR the names of the files. Another tip... The shorter the folder structure the better. Use the root directory and create device specific folders and sub-folders for each software version. this is how I organize my projects and believe me I have a lot of different tar projects on my pc so have to have it all organized in order to be productive without issues like this. It's a good habit to start naming your files and folders WITHOUT spaces in the folder/file names, including your profile on your PC which can't be changed without a reformat unfortunately. So in your case you must use a different directory other than a sub-directory under your profile name since it has a space between your first and last name.

Good luck.
[Galaxy S 5 General] anees02:
Then from your reply I understand that the tool couldn't deodex some apps because :

I already wiped dalvik cache and cache several times but no success.

The SVA tool said the deodex finished with 0 errors.

But couldn't boot.

Then after using the kitchen mentioned above I could deodex and boot successfully.
[Galaxy S 5 General] tx_dbs_tx:
SVA had been very consistent until MM. I had a few instances where a fully deodexed rom wouldn't boot. It turned out to be a bad deodex of one or two framework files. I used a different deodexing tool and used those deodexed framework files and the rom would then boot. So this goes to show that it has been proven in my usage that SVA can completely deodex a rom with no errors yet in reality some files may not have successfully deodexed and will result in a no boot situation. It has happened to me. Reliability is very important for me and when I use SVA and it doesn't boot I immediately abandon those deodexed files and use a different tool which in my opinion has been great. It was mentioned a few posts above actually.

If you are curious to know exactly which files are causing the rom to not boot, start by replacing framework-res, framework.jar, twframework-res and twframework.jar with those from another deodexed set of files and see if it then boots. My bet is framework-res or framework.jar because those are the ones that caused my no boot back then on more than one occasion.
[Galaxy S 5 General] elesbb:
The download links are broken. It downloads to a 1 KB size file, that when opened gives an error, using notepad++ to open yields an HTML type file stating the following:

<html>

<head><title>301 Moved Permanently</title></head>

<body bgcolor="white">

<center><h1>301 Moved Permanently</h1></center>

<hr><center>nginx</center>

</body>

</html>
[Galaxy S 5 General] tx_dbs_tx:
[MENTION=6242674]svadev[/MENTION] Thank you for your awesome deodexing tool. It has been my go-to deodexer for a long time and it has always been THE most reliable tool other than a few rare occasions that I mentioned earlier.
[Galaxy S 5 General] kistigun:
download links for version 5 are broken
[Galaxy S 5 General] Svan987:
Hi,

I am using version 4.1 (x64) with jdk-8u112. Deodexing samsung galaxy tab s2 stock rom 6.0.1 got 0 errors in "Loglines.log"

The matter is nearly at the end of the process i got a pop up when it's working on file "system\framework\qcnvitems.jar" and the pop up says :

"Can't add the file <classes.dex> to file C:\SVADeodexerForArtx64\framework\qcom.fmradio.jar"

Update : Tested with 5.0 same problem

If someone can give some help thanx in advance.

Cheers.
[Galaxy S 5 General] svadev:
I am very sorry, - it is uBlock addon in my Firefox browser error...

Now links ok - re-uploaded in original post: https://xdaforums.com/showpost.php?p=70336141&postcount=772
[Galaxy S 5 General] haifish9999:
Thanks... But you need take a look again, coz both download link just the same, only 64bit version.
[Galaxy S 5 General] svadev:
Now links is ok - tested again.

Refresh browser cache and then try again.
[Galaxy S 5 General] KingRaheel:
Thank u so much bro :highfive: . You are great
[Galaxy S 5 General] yash92duster:
[MENTION=6242674]svadev[/MENTION]

Thanks for update
[Galaxy S 5 General] dkionline:
[MENTION=6242674]svadev[/MENTION], i deodexed successfully the framework folder. On the other day, i want to deodex app and priv-app, but the tool says "Process architecture not defined", how that was comming, if it worked before?

My device is a Huawei P9 with Android 7.0
[Galaxy S 5 General] svadev:
I'm just surprised such questions...

And for me (in such cases) there is a dilemma - does it make sense at all to say? ...

To start deodexing you must specify the ORIGINAL DIRECTORY /SYSTEM