yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachukaki:
just now...but i have try with this too...wait to finish to see the log!

02-01-2016:23-44-56 => Framework Folder Exists
02-01-2016:23-44-56 => boot.oat Exists
02-01-2016:23-44-56 => App Folder Exists
02-01-2016:23-44-56 => Priv-App Folder Exists
02-01-2016:23-44-56 => Deodexing Started
02-01-2016:23-44-56 => Extracting Boot.oat
02-01-2016:23-44-56 => Copying Boot.oat to Working Directory - SUCCESS
02-01-2016:23-44-56 => Boot.oat Extraction Failed
02-01-2016:23-44-56 => Deodexing Failed
02-01-2016:23-46-24 => Framework Folder Exists
02-01-2016:23-46-24 => boot.oat Exists
02-01-2016:23-46-24 => App Folder Exists
02-01-2016:23-46-24 => Priv-App Folder Exists
02-01-2016:23-46-24 => Deodexing Started
02-01-2016:23-46-24 => Extracting Boot.oat
02-01-2016:23-46-24 => Copying Boot.oat to Working Directory - SUCCESS
02-01-2016:23-46-48 => Boot.oat Extraction Complete
02-01-2016:23-46-49 => Odexed Boot Framework Apps Count: 22
02-01-2016:23-46-49 => Deodexing Boot Framework Apps
02-01-2016:23-46-49 => 1 of 22 - apache-xml - SUCCESS
02-01-2016:23-46-49 => 2 of 22 - aspectjrt - SUCCESS
02-01-2016:23-46-50 => 3 of 22 - bc-fips - SUCCESS
02-01-2016:23-46-50 => 4 of 22 - bouncycastle - SUCCESS
02-01-2016:23-46-50 => 5 of 22 - com.lge.frameworks - SUCCESS
02-01-2016:23-46-51 => 6 of 22 - com.lge.osf.framework - SUCCESS
02-01-2016:23-46-51 => 7 of 22 - com.lge.osf.opt - SUCCESS
02-01-2016:23-46-51 => 8 of 22 - com.qti.location.sdk - SUCCESS
02-01-2016:23-46-51 => 9 of 22 - conscrypt - SUCCESS
02-01-2016:23-46-51 => 10 of 22 - core-junit - SUCCESS
02-01-2016:23-46-52 => 11 of 22 - core-libart - SUCCESS
02-01-2016:23-46-52 => 12 of 22 - ext - SUCCESS
02-01-2016:23-46-54 => 13 of 22 - framework - SUCCESS
02-01-2016:23-46-54 => 14 of 22 - ims-common - SUCCESS
02-01-2016:23-46-54 => 15 of 22 - oem-services - SUCCESS
02-01-2016:23-46-54 => 16 of 22 - okhttp - SUCCESS
02-01-2016:23-46-54 => 17 of 22 - org.apache.http.legacy.boot - SUCCESS
02-01-2016:23-46-54 => 18 of 22 - qcom.fmradio - SUCCESS
02-01-2016:23-46-54 => 19 of 22 - tcmiface - SUCCESS
02-01-2016:23-46-55 => 20 of 22 - telephony-common - SUCCESS
02-01-2016:23-46-55 => 21 of 22 - voip-common - SUCCESS
02-01-2016:23-46-55 => 22 of 22 - WfdCommon - SUCCESS
02-01-2016:23-46-56 => Deodexing Classes2 - SUCCESS
02-01-2016:23-46-56 => Deodexing Completed

it deodex only framework so see the app folder still has oat folder!
[Android Software/Hacking General [Developers Only]] bdorr1105:
Just noticed this, you do not use the x86 version, you need to use the arm version, I know the LG G3 is not 64bit, but it is a Qualcom ARM architecture processor

Use this version -> xposed-v79-sdk23-arm.zip - [Click for QR Code] (4.64 MB, 119758 views)
[Android Software/Hacking General [Developers Only]] pikachukaki:
i use the single arm but i wrote x86 to get you to understand that im not a x64 device :P
[Android Software/Hacking General [Developers Only]] bdorr1105:
lol ok well I thought you were talking about the LG G4, which is why I thought 64 bit, no I understand, x86 is intel
[Android Software/Hacking General [Developers Only]] pikachukaki:
Im still with arm device...i think i reach me limit of trying and flashing and trying again...for the day i flash MM i didnt enjoy my phone..and i saw some other users have manage to flash xposed and working...so im gonna stop here...thanks for your help!!! :)
[Android Software/Hacking General [Developers Only]] pikachukaki:
what app?
[Android Software/Hacking General [Developers Only]] bdorr1105:
It Works Great, i was able to fully deodex except for the LG G3 Weather, Everything else is deodexed...That zip you gave earlier, was that flashable, because I just created a system.img with everything deodexed, not sure if it will work or not, but I have it and can share

Go Here for Deodex tool
[Android Software/Hacking General [Developers Only]] pikachukaki:
Yeah I'm trying everything.... I use this tool too...but the phone didn't boot at all.. I can get it...
[Android Software/Hacking General [Developers Only]] bdorr1105:
Here, I posted this, I left the framework odexed, all the system/apps, and priv-apps are deodexed except the 3 Apks for LGWeather in the system/app folder...I packed it as a system.img

D85530B_deodexed_Test.zip
[Android Software/Hacking General [Developers Only]] pikachukaki:
Thanks man I will try it...
[Android Software/Hacking General [Developers Only]] bdorr1105:
I pray it does man, we shall see...I am sure you probably will want to call it quits after that, I would totally understand as well, I had a good time trying and a good time trying to learn. Good luck bro
[Android Software/Hacking General [Developers Only]] pikachukaki:
That's why I'm trying to make it...
[Android Software/Hacking General [Developers Only]] arismelachrinos:
i successfully deodexed my rom with this tool , but one question though.on some apps , there is an arm folder , and inside there is a .odex file. should i delete it now that i deodexed the apps?
[Android Software/Hacking General [Developers Only]] :
Look inside the apk if it has a classes.dex inside first. If it doesn't it have failed to deodex.

Common on some OEM systems where they might encrypt their apps such as LG and maybe some more

---------- Post added at 02:11 AM ---------- Previous post was at 02:09 AM ----------

LG weather fails to deodex due to encryption. Look at LG cover should get same issue. It's not a tool issue
[Android Software/Hacking General [Developers Only]] arismelachrinos:
it does have .dex file inside apks.should i delete the .odex files that are on the same folder with the apks? or it doesnt matter?
[Android Software/Hacking General [Developers Only]] bdorr1105:
Never said it was a tool issue, just said what I could not deodex... If I thought it was a tool issue I would have said I think their is an issue with the tool... I know about the encryption.. That's why I said this tool is great. Thanks for the feedback
[Android Software/Hacking General [Developers Only]] :
Ah my bad. I thought someone took a look into it but it wouldn't be necessary since you must decode the apps
[Android Software/Hacking General [Developers Only]] Maurizio1953:
How to deodex my tw stock rom 5.0 directly from the phone? Or am I forced to extract the rom, deodex it and then reflash into the device?

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
You're not forced to extract a system you can pull all files from the phone if you want to. Don't think you can deodex on the phone. Will most likely cause bootloop unless you do it on internal storage.
[Android Software/Hacking General [Developers Only]] Maurizio1953:
Sorry, but i don't understand what you mean... Must I pull the /system directory out of the phone inside a directory in the PC, run the tool and then push inside the phone again? Some users told me I can do it just connecting the phone to the PC and run the app... Sorry again but I am a real newbie...

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
My point was you don't need to extract a firmware to deodex you can pull files from your phone to PC to deodex.

As far as I know you "can't" deodex on your phone. There is pretty much a possibility since you can use Linux stuff on android. So I bet deodex scripts can be run on android. But you must then use it on /sdcard/ to prevent bootloop.
[Android Software/Hacking General [Developers Only]] Maurizio1953:
Will you be so gentle to tell me step by step what to do to deodex my rom with the Joel droid batch? I downloaded and installed Java jdk, adb and SDK tools as described in the op.

Inviato dal mio Nexus 7 utilizzando Tapatalk

---------- Post added at 06:13 PM ---------- Previous post was at 05:32 PM ----------

I pulled all the system folder into a folder on my PC. Now I run the batch and deodex the rom. After this how to push again the deodexed files into the phone? Always with adb commands push?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] Geoz:
Yes with adb
[Android Software/Hacking General [Developers Only]] Maurizio1953:
So I am doing all right? Only \system folder needs to be pulled out? And after deodexed which is the right command to push all files into the phone? But in this way the process is not automatic with the Joel tool as I must always do by hand...

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
To be exact.

App

Bin

Framework

Priv-app

Build.prop needs to be pulled.

Then select the folder with Joel Droid batch deodex and select start
[Android Software/Hacking General [Developers Only]] Maurizio1953:
So I need to pull into d:\myrom folder only those folders, run the tool and then? Which folders I must push into the device at the end of the process? Which adb command I must use? I need to reboot the device at the end of the process?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
Usually all files you deodexed.

But if you have a custom recovery you should use it to flash the files instead
[Android Software/Hacking General [Developers Only]] Maurizio1953:
Sorry... Always more confused... How to know which files are deodexed? Yes I have twrp recovery but which files to flash? And how if they are not zipped? Sorry for all those questions but really I am confused...

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
If the arm folder or odex file with same name as the apk is removed then you succeeded. You flash all files you want if you want to have complete deodex you flash all files.
[Android Software/Hacking General [Developers Only]] Maurizio1953:
OK now after knowing which files are deodexed may i push them with adb command into the phone? Is it safe? And then must I reboot the device?

Inviato dal mio Nexus 7 utilizzando Tapatalk

---------- Post added at 08:18 PM ---------- Previous post was at 08:14 PM ----------

I notice that on my device the arm folder is still present. Id I push the deodexed files I must delete all the arm folders inside system folder of the phone. If I push the deodexed files the arm folder will be deleted automatically? And the adb push command will overwrite safely the odexed ones?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
Check the apk if it has dex files in it

If not it have failed.

If you push all files with adb all files will be replaced and arm folder will still be present.
[Android Software/Hacking General [Developers Only]] Maurizio1953:
I mean in phone system folder I still have arm folder. So before pushing the already deodexed files I must delete all the arm folders inside phone? And if I want to flash instead using adb how to do this? Must I zip all the files deodexed and the flash from recovery? It's a very complicated process to deodex a rom..... I was thinking that with the tool it was simplier.....

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
As said you still don't need to delete arm folder but it's usually done this way. Backup your device and then you can push the files to the phone.

You can have arm folder left. My s5 neo is deodexed this way. All apps still have arm folder except in framework. So it isn't a must. But if you don't remove it it will only take extra space
[Android Software/Hacking General [Developers Only]] Maurizio1953:
OK now it begins to be clearer.. So if I push all the files previously pulled and deodexed the process will be safe and I will have the rom completely deodexed? There will be no change on the phone? After this I will reboot and all will be OK?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
Yes process will be safe you basically just push deodexed files to your phone.

But still do a backup of your phone. The only change will be that you will have deodexed apps instead of odex
[Android Software/Hacking General [Developers Only]] Maurizio1953:
I did all but the device is stuck on Samsung logo since more than 15 minutes... I also put the battery out but nothing to do... Where I was wrong?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] :
Don't know maybe something went corrupt can't tell without any logs :/
[Android Software/Hacking General [Developers Only]] Maurizio1953:
The deodex process was succesfull except about webmanual with copy error. From the twrp recovery I deleted the folders and replaced with the three deodexed and chmod 755 them. Only strange thing I noticed was, always in recovery the system folder was not mounted. Maybe I must mount it before reboot?

Inviato dal mio SM-N9005 utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] katodragon:
Deleted
[Android Software/Hacking General [Developers Only]] kwasi101:
Wifi issues

after deodexing my wifi refuses to connect. its stuck at obtaining IP address. Can anyone help me fix it.

N900XXUEBOK7_N900OJVEBOK1_KSA
[Android Software/Hacking General [Developers Only]] Harry_ET:
Thanks
[Android Software/Hacking General [Developers Only]] and2:
I could solve this issue by changing the permission of

"system/etc/dhcpcd/dhcpcd-run-hooks"

to rwxr-xr-x (755).

May be it can solve also your issue.
[Android Software/Hacking General [Developers Only]] kwasi101:
still broken i had to revert back to odexed
[Android Software/Hacking General [Developers Only]] andy_zhang:
HOPE to add support MM.
[Android Software/Hacking General [Developers Only]] xLoveHateLegend:
^ I did exactly this, on 64bit windows 10.

For some reason, it says java path variable: not setup.

I set the variable to that exact folder after installing java 8 sdk, so I'm not sure why it says it's not setup still. Anyone? (Btw path has no spaces whatsoever)
[Android Software/Hacking General [Developers Only]] carl1961:
make sure that your java is in that folder, also make sure semi colin is there in path separating each path from each other

;C:\ProgramData\Oracle\Java\javapath;

it is possible it may be in

C:\Program Files\Java\jdk1.8.0_20\bin
[Android Software/Hacking General [Developers Only]] xLoveHateLegend:
You're awesome dude, thank you! That should be in the main post, this could have saved me hours of searching haha.
[Android Software/Hacking General [Developers Only]] skynews47:
how can i set Java Path Variable in my windows 7?

would you help me pls
[Android Software/Hacking General [Developers Only]] killdozer56:
Hi,

I think it's very similar to win 10:

Right click on computer ->property->advanced system parameter->environment variables->edit the path variable and enter the path (mine on win10 64bits is C:\progamData\oracle\java\javapath and d:\java\jdk1.8.0_45\bin)

Or try: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx
[Android Software/Hacking General [Developers Only]] PnPZik:
I'm having this when trying to deodex the camera app: Boot.oat Extraction Failed

Does anyone know how to solve it :confused:
[Android Software/Hacking General [Developers Only]] neelsolanki:
may be u r trying mm rom
[Android Software/Hacking General [Developers Only]] alich345:
i get "Copy Failed" error while Tool is deodexing

how can i get rid of it?
[Android Software/Hacking General [Developers Only]] :
Try rename the arm to something else

If you wanna Deodex arm64 folder and do the same procedure to Deodex arm folder
[Android Software/Hacking General [Developers Only]] edzamber:
Sure !

Need to update jdk in v8u74 too...

JDK 6.x doesn't working with api up to 19
[Android Software/Hacking General [Developers Only]] :
I always get latest but you can try with your current version, if it doesn't work you can update your version :)
[Android Software/Hacking General [Developers Only]] PnPZik:
Turns out it's just a problem with Java. Although I've installed both Java 7 and Java 8 but it appeared the version 6 in the software. So I fully removed all version of Java, reinstall the 7 version and now it works.
[Android Software/Hacking General [Developers Only]] :
Ah yes but you'll have to Deodex two times since it will first Deodex arm64 but not arm"32"
[Android Software/Hacking General [Developers Only]] PnPZik:
What do you mean two times :( I've follow this thread and done everything as guided but my camera still gave me "Unfortunately, Camera has stopped."

Could you show me how to solve this please ?
[Android Software/Hacking General [Developers Only]] gencho81:
Hello guys , I need some help here.

Ok now i have N9005 running stock rooted 5.0.1

I have downloaded the tool and extracted the folders : app,priv-app,framework.

Put them in tool "tools" folder and run the tool.

Deodexed completed without errors.Only one left for YahooStocks so i have removed the folder.

I put the files in already created flashable zip with ZipMe app and flash the zip.

Result - bootloop.

So i have flashed the zip with original odexed files and phone boot and running.

What i have done wrong ?

Thanks for help.
[Android Software/Hacking General [Developers Only]] RubbaBand:
You need to make script to replace the apps,

If you want one send me pm.
[Android Software/Hacking General [Developers Only]] :
Well let's say.

Some phones use both arm64 and arm folder structure. This Deodex tool only takes one structure at time,

Doesn't jump from arm64 to arm just because the folder has only arm64 then the other has arm.

Did http://xdaforums.com/showthread.php?p=64923249

Work?
[Android Software/Hacking General [Developers Only]] gencho81:
ZipMe app from market generate the script alone.i have two zips with it.one is original with odexed files and second is after deodex.in second after mounting system I have added "delete_recruisive" or something like that for the 3 folders so they must deleted before .and script works .in Twrp file manager I have checked if files where flashed and they are.no odex files .but phone stuck on Samsung logo.

After this when I flash the odexed zip phone boot normal.
[Android Software/Hacking General [Developers Only]] PnPZik:
No, unfortunately, it didn't work. I've done it like this:

1. Rename CameraCommon.apk in \system\priv-app\CameraCommon to [old]CameraCommon.apk

2. Put deodexed 32.0.A.6.200-CameraCommon.apk into \system\priv-app\CameraCommon and rename it to CameraCommon.apk

3. Change chmod of CameraCommon.apk to 644

4. Remove folder arm64 and arm in \system\priv-app\CameraCommon

5. Rename SemcAlbum-albumLive-release.apk in \system\priv-app\SemcAlbum-albumLive-release to [old]SemcAlbum-albumLive-release.apk

6. Put deodexed 32.0.A.6.200-renameItAsOriginal-SemcAlbum-albumLive-release.apk into \system\priv-app\SemcAlbum-albumLive-release and rename it to SemcAlbum-albumLive-release.apk

7. Change chmod of SemcAlbum-albumLive-release.apk to 644

8. Remove folder and arm in \system\priv-app\SemcAlbum-albumLive-release\lib (there are no arm64)

Then I've tried to deodex the file myself but this happen:

23-02-2016:11-45-03 => Odexed Private Apps Count: 1
23-02-2016:11-45-03 => Deodexing Private Apps
23-02-2016:11-45-03 => 1 of 1 - CameraCommon - FAILED - Copy Error

There're actually 3 different CameraCommon.apk. One in \system\priv-app\CameraCommon, each folder arm and arm64 has one too:

What should I do :eek::eek::eek:
[Android Software/Hacking General [Developers Only]] RubbaBand:
Send me your script
[Android Software/Hacking General [Developers Only]] thereassaad:
Don't use those apps its always ended u in bootloop mate try to make one manually ok
[Android Software/Hacking General [Developers Only]] :
I see. If your phone doesn't support arm64 I'd advice you to remove the arm64 folder.

If it does. Remove the arm folder. It fails to copy due to two arm** folder in same folder as the apk is.
[Android Software/Hacking General [Developers Only]] gencho81:
I have used so many times this app for flashing so many deferent things and never have problems with it.

I flash frameworks,libs,system apps and always no problem.

Don't know why I have problems now.and as i said only when I flash the deodexed files zip.

When I flash zip with odexed files I have make with same problem phone boot without any problem .

I will upload what I have used here later .
[Android Software/Hacking General [Developers Only]] nathankaunang:
Not work on xperia c3,m2,t2ultra running lolipop 5.1.1
[Android Software/Hacking General [Developers Only]] pritamdutt:
I cannot understand how to set the java path thing. please can u explain a bit briefly.
[Android Software/Hacking General [Developers Only]] gencho81:
[MENTION=5405448]thereassaad[/MENTION] and [MENTION=5788859]RubbaBand[/MENTION]

In attached files you will find updater_scripts i have try

1.From ZipMe app -generated during creating flashable zip for those 3 folders

2.From InstalerTemplate.zip i have found in here : link

Thanks for the help mates.
[Android Software/Hacking General [Developers Only]] RubbaBand:
They are missed up especially the second one,

Take this one here and follow the steps.

Download

1- Extract the zip.

2- Put your deodexed app, framework, priv-app folders inside system folder.

3- compress the Meta-inf and system together.

4- Make sure there is only Meta-inf and system folder inside the root of zip.

5- Flash the zip.
[Android Software/Hacking General [Developers Only]] gencho81:
There is no setting permissions in your script??? Is it suppose to be like this ?
[Android Software/Hacking General [Developers Only]] RubbaBand:
Yes they are like this,

Don't worry i used them by my self to deodex my rom.
[Android Software/Hacking General [Developers Only]] gencho81:
ok . BTW used your script and again - stuck on Samsung logo.
[Android Software/Hacking General [Developers Only]] RubbaBand:
I was on S6 port and changed to stock 5.0.1 took the 3 folders into the zip and flashed them,

Automatically the dalvik was cleared and the phone booted fine.

Btw: i used philz touch
[Android Software/Hacking General [Developers Only]] gencho81:
i am with TWRP 2.8.7 . Will leave it odex for now . Thanks anyway. When i have time will contact you on PM
[Android Software/Hacking General [Developers Only]] PnPZik:
Thanks to your advice I've successfully deodexed the file.

24-02-2016:08-27-39 => Odexed Private Apps Count: 1
24-02-2016:08-27-39 => Deodexing Private Apps
24-02-2016:08-27-43 => 1 of 1 - CameraCommon - SUCCESS

Then as guided, I copied the file and put it into \system\priv-app\CameraCommon, set it's permissions to 644, the arm and arm64 no longer here since I recently deleted them. Reboot the device and it still "Unfortunately, Camera has stopped".

The file deodexing has succeeded so there is no problem with the deodexed file. Right ? What did I do wrong ?
[Android Software/Hacking General [Developers Only]] :
Try clear the data of the app. Can sometimes be causing force close
[Android Software/Hacking General [Developers Only]] root-61:
Hi ; This tool is working perfectly. Actually I want to edit the .odex file. How Can I do it ? or Can I found the deodex to odex tool?
[Android Software/Hacking General [Developers Only]] levone1:
Think this will work for AOSP marshmallow? Thanks
[Android Software/Hacking General [Developers Only]] ramyanihh:
Sorry for the noob question. where can i find the deodex file?
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
http://xdaforums.com/android/software-hacking/tool-batch-deodex-rom-t3313150
[Android Software/Hacking General [Developers Only]] levone1:
Thanks. I found that shortly after posting my question, and have since successfully deodexed my rom, (see my several posts in the lordroid thread around that time). It took a few updates/bug fixes, but it worked in the end.
[Android Software/Hacking General [Developers Only]] darangel212:
I successfully deodexed my all APKs and Jars. Now how can I transfer it to the system/ folder?
[Android Software/Hacking General [Developers Only]] elliwigy:
lol you can try to copy paste back into the system folder/rom.zip?

how did you get them out of the system folder?