yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] onimorza:
EDIT: all working now, don't know how those extra folders got in there in the first place, but re-extracted them from my phone and they weren't in there; re-deodexed and flashed and everything works fine now!

Hello,

Like said, I'm having some doubts about the deodexed folders which I want to clear out before I go flash.

I had no errors (anymore) with JoelDroid batch decoding my 5.0.2, all stated success.

In the APP and PRIV-APP folder I have all app folders with their respective .apk, but in the APP and PRIV-APP folder I have another APP resp. PRIV-APP folder with again all .apk's but also an ARM folder with an .odex.xz file.

It looks like this example:

Deodexed APP folder:

Deodex/system/app/AASAservice/AASAservice.apk
Deodex/system/app/AccessControl/AccessControl.apk
...

… All folders like this with .apk files, except there is another “app” folder inside with again ALL app folders and inside those an .apk and .odex.xz file:

Deodex/system/app/app/AASAservice/AASAservice.apk
Deodex/system/app/app/AASAservice/arm/AASAservice.odex.xz
Deodex/system/app/app/AccessControl/AccessControl.apk
Deodex/system/app/app/AccessControl/arm/AccessControl.odex.xz
...

Deodexed FRAMEWORK folder:

Deodex/system/framework/allshare.jar
Deodex/system/framework/am.jar
...

… all .jar files, except 2x .apk:

Deodex/system/framework/framework-res.apk
Deodex/system/framework/Twframework-res.apk
...

Deodexed PRIV-APP folder (same structure as APP folder):

Deodex/system/priv-app/CloudAgent/CloudAgent.apk
Deodex/system/priv-app/CSC/CSC.apk
...

… All folders like this with .apk files, except there is another “priv-app” folder inside with again ALL app folders and inside those an .apk and .odex.xz file:

Deodex/system/priv-app/priv-app/CloudAgent/CloudAgent.apk
Deodex/system/priv-app/priv-app/CloudAgent/arm/CloudAgent.odex.xz
Deodex/system/priv-app/priv-app/CSC/CSC.apk
Deodex/system/priv-app/priv-app/CSC/arm/CSC.odex.xz
...

Is this correct?
[Android Software/Hacking General [Developers Only]] sieuan:
Hi sir!

I'm trying to deodex my rom system by your tool. Everythings deodexed sucessfully, except "services.jar" and "services.odex" file, the tool said: services - FAILED - Oat2Dex Conversion Failed

How can i deodex this services.jar sir? Could i update the oat2dex on your tool by the latest oat2dex? Thanks sir!

Edit: I've tried with oat2dex ver 0.85, 0.83, 0.8, but the tool said:

15-12-2015:20-25-19 => Framework Folder Exists

15-12-2015:20-25-19 => boot.oat Exists

15-12-2015:20-25-19 => App Folder Exists

15-12-2015:20-25-19 => Priv-App Folder Exists

15-12-2015:20-25-19 => Deodexing Started

15-12-2015:20-25-19 => Extracting Boot.oat

15-12-2015:20-25-20 => Copying Boot.oat to Working Directory - SUCCESS

15-12-2015:20-25-22 => Boot.oat Extraction Failed

15-12-2015:20-25-22 => Deodexing Failed

When i tried with the original oat2dex in your tool, it said: services - FAILED - Oat2Dex Conversion Failed

Can anyone help me deodex services.jar? Thanks!
[Android Software/Hacking General [Developers Only]] onimorza:
I finally managed to get everything right and now I'm running xposed thanks to you joeldroid!

You should play around with different Java versions and the 2 Joeldroid versions; me personally I had errors with JDK 7.80 and 8.60 with both Joeldroid 2.4 & 2.5, but none with JDK 8.66 & Joeldroid 2.4.

Also when you have gotten an error, you need to redo it (with another Java version) everytime on a fresh copy of your folders, so not on the same folders you have gotten the error on as the Boot.oat has been changed or something else in that folder.
[Android Software/Hacking General [Developers Only]] sirs2k:
Hey guys, really trying to wrap my head around this but I can't.

When I unzip the zip file downloaded from sammobile I get the .md5 of course, now when I unzip the md5 uzing 7zip I get a bunch of files but no folders like "system" or "framework"

What am I doing wrong?
[Android Software/Hacking General [Developers Only]] metalfan78:
You should get a system.img.ext4 file, then you need to use a program like disk internals Linux reader to extract the rest.
[Android Software/Hacking General [Developers Only]] sirs2k:
Thank you, would this tutorial do?

https://www.youtube.com/watch?v=yU1MFYUj6zc&feature=player_embedded

Edit: Scrap that, the ext4_unpacker does not work with lollipop ext4, can you recommend one please?
[Android Software/Hacking General [Developers Only]] metalfan78:
I used DiskInternals Linux Reader, after using 7zip to unzip the tar.
[Android Software/Hacking General [Developers Only]] sirs2k:
Thank you.

So I open the image with DiskInternals Linux Reader by double clicking the "system.img.ext4" and a new window pops up with only one option "Save Files"

I click next, pick location and leave "Save Directory Structure" ticked.

It goes through the whole process only to leave me with another system.img.ext4 img.

It's not unpacking anything, what am I doing wrong?
[Android Software/Hacking General [Developers Only]] sieuan:
I've tried with Joelroid 2.4 and sucessfully[emoji12]
[Android Software/Hacking General [Developers Only]] mrjaydee82:
You're the ****ing man!!!! Gonna try it out right now...this will make modding much easier
[Android Software/Hacking General [Developers Only]] joeldroid:
Cheers mate. Enjoy :)
[Android Software/Hacking General [Developers Only]] Shawn5162:
[MENTION=4482551]joeldroid[/MENTION] I can confirm v2 of your batch deodexer does work...My ROM is now deodexed and my device boots flawlessly
[Android Software/Hacking General [Developers Only]] mrjaydee82:
[MENTION=631411]Jole[/MENTION]droid right when I hit start process I get a boot.oat extraction failed...can't figure out why it's doing that... Ty
[Android Software/Hacking General [Developers Only]] mrjaydee82:
Never mind I got it to work...my java was jacked up from trying different stuff lop
[Android Software/Hacking General [Developers Only]] joeldroid:
boot.oat decoding might also fail if you run the app from a folder with spaces, for example D:\My App, better run it in a folder without spaces like D:\MyApp
[Android Software/Hacking General [Developers Only]] raynan:
I'm getting an issue while trying to decode the boot.oat file; I have no spaces in my path and java checks out fine. Any ideas. If there are logs or if screenshots help, I can provide them for you. I am trying to deodex a Samsung Lollipop leak for the Note 3 if it still matters.
[Android Software/Hacking General [Developers Only]] joeldroid:
well I deodexed my Galaxy S5 Samsung rom without an issue.

Can you provide a screenshot?

Better, can you upload the oat file and send me the link?
[Android Software/Hacking General [Developers Only]] raynan:
I can do both; I'll pm you the link with both.
[Android Software/Hacking General [Developers Only]] joeldroid:
It decodes fine, maybe something wrong with your env? check your Inbox.
[Android Software/Hacking General [Developers Only]] DoctorStrange96:
I'm the one who wants to say thanks here, man. Thanks for finally fixing it. I can confirm it works and my rom boots without any issue now. Oh, and I'm writing this from my phone right now :p

Happy New Year for you too, and also for the rest of you guys!
[Android Software/Hacking General [Developers Only]] civato:
I still got a problem to report on the note3 Lollipop rom.

The framework is not correctly deodexed, example the android.policy.jar is still 1kB and no dex file in it.

This tool does deodex the framework correctly. With this tool the android.policy.jar is 285kB and got a dex file.

Hope you get it fixed.
[Android Software/Hacking General [Developers Only]] bluflight:
I tryed several times, but script report me every time same error: Boot.oat Extraction Failed

I tryed with leaked L fw of samsung note 3. what i miss to do?

Thanks in advantage
[Android Software/Hacking General [Developers Only]] Golv:
[MENTION=1367408]bluflight[/MENTION]

Please upload your boot.oat and I'll try to check it with my deodex tool...
[Android Software/Hacking General [Developers Only]] raynan:
Ignore... I can't read :p
[Android Software/Hacking General [Developers Only]] joeldroid:
[MENTION=1367408]bluflight[/MENTION] try removing the spces, the oat extraction tool fails if there any spaces in where you run the app from and the rom folder.

try this

Where you run the app from C:\MyApp

Rom folder D:\MyRom

something similar to that without spaces. This is a limitation of oat2dex.jar (which is the tool used to decode the oat file)
[Android Software/Hacking General [Developers Only]] joeldroid:
Thanks for reporting, I will add a fix
[Android Software/Hacking General [Developers Only]] bluflight:
I tryed it but still same error.. I did:

c:\MyApp

c:\MyRom and pushed inside here system folder (with inside app, priv-app and framework folders)

I checked but now no spaces in name folders.. This my boot oat https://www.dropbox.com/s/nhe7ye66ce3wa7p/boot.oat?dl=0 if someone can check it
[Android Software/Hacking General [Developers Only]] joeldroid:
Ok I investigated the issue, android.policy.jar is part of boot.oat

and If all the files are moved from boot.oat and boot.oat removed, the rom fails to boot

hece it cannot be done right now until someone comes up with an alternate method or a workaround
[Android Software/Hacking General [Developers Only]] Minimalistk0:
Will be great have a tool like this for jelly bean
[Android Software/Hacking General [Developers Only]] rwilco12:
There are a couple of steps you are missing. You can find my write-up on how to do it here http://forum.rwilco12.com/showthread.php?tid=1012 and here http://forum.rwilco12.com/showthread.php?tid=71. The method may be a little bit different depending on your device but the concept is pretty basic and close to the same for any device that uses the ext4 type.

Good luck!
[Android Software/Hacking General [Developers Only]] kenzukie:
Awesome tools . btw I'm. Getting gapps force close after deodexing .. Any idea ?

-regards
[Android Software/Hacking General [Developers Only]] Carotix:
[MENTION=4482551]joeldroid[/MENTION] any news to deodex marshmallow?

thanks :)
[Android Software/Hacking General [Developers Only]] pikachukaki:
im also waiting for MM cause xposed can't work with odex roms :(((
[Android Software/Hacking General [Developers Only]] omikron20:
I don't understand. You think is not possible or something else ?

For deodex MM I use tools what I use for Lollipop.

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Android Software/Hacking General [Developers Only]] bdorr1105:
Who has not deodexed Marshmallow, The Nexus 6, Nexus 6P are already deodexed
[Android Software/Hacking General [Developers Only]] pikachukaki:
Yeah but with what tools m8
[Android Software/Hacking General [Developers Only]] bdorr1105:
I used this tool for marshmallow, not the whole rom though I never needed to do the whole rom
[Android Software/Hacking General [Developers Only]] pikachukaki:
You succeed? Also do you try Xposed? If it work then be a lad and share your work m8
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yes I use xposed...

What are you trying to accomplish? I may be able to help. Xposed is working fine right now
[Android Software/Hacking General [Developers Only]] pikachukaki:
Have Xposed working... Share your zip if you want..
[Android Software/Hacking General [Developers Only]] bdorr1105:
Well that depends on the device you have, version of Android and if you have a deodexed or odexed rom?
[Android Software/Hacking General [Developers Only]] pikachukaki:
oh...i have LG G3 did you use tools at windows??cause i dont have linux installed
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yes I do everything from Windows, from Windows it's easier because most tools are developed on Windows, Linux tho is more stable and it's better
[Android Software/Hacking General [Developers Only]] pikachukaki:
so what tool did you use??and how?im talking about stock LG rom 6.0 not an aosp!!!
[Android Software/Hacking General [Developers Only]] bdorr1105:
I used this tool, my lg is on lollipop though, but it is a similar process..

Like I said, I didn't do the whole ROM, just the SystemUi.apk
[Android Software/Hacking General [Developers Only]] pikachukaki:
im not sure what apps xposed need to be deodex....also some apps have an oat file inside not sure whats this is....but even with this app and the newer oat2deox it didnt work.... :(
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yea because you have to move the files around, Marshmallow is different, the whole process is a pain, I am going to reach out see what Nexus 6P Devs use
[Android Software/Hacking General [Developers Only]] pikachukaki:
Why one simply doesnt deodex!!!LOL!!thanks for your help!!
[Android Software/Hacking General [Developers Only]] bdorr1105:
I found a possible tool, works on linux though, what ROM are you running?
[Android Software/Hacking General [Developers Only]] pikachukaki:
stock lg mm rom..released last night!!
[Android Software/Hacking General [Developers Only]] bdorr1105:
So it is stock and unrooted? Is their a link to download the ROM??

If not, I would have to have the system/app, system/framework, and system/priv-app folders
[Android Software/Hacking General [Developers Only]] pikachukaki:
stock but rooted heres the link for system.img by autoprime http://downloads.codefi.re/autoprim...artitions/30B/LG-D85530B-Flashable.System.zip
[Android Software/Hacking General [Developers Only]] bdorr1105:
I will give it a go and see if I can use this Linux tool I found, never done it, but might as well see if it is possible
[Android Software/Hacking General [Developers Only]] pikachukaki:
ok thanks i will wait to test it!! ;)
[Android Software/Hacking General [Developers Only]] bdorr1105:
That link, says 3hrs to download, my internet is blazing fast, i usually pull 6-9 mb/s on download, this says 3hrs, server must be slow
[Android Software/Hacking General [Developers Only]] pikachukaki:
you can try this but its the whole rom zip https://mega.nz/#!OINCkDxZ!AcGrjxytbMVAjFFAh9y8uUP6jFvLKqqQmmDJGZRTTa4

As you can see in left its the G4 deodex zip that someone posted to make xposed work the in the left my system folder the whole point is that oat folder...
[Android Software/Hacking General [Developers Only]] bdorr1105:
well, the LG Apps, some need to be left odexed because they cause issues, look in the non LG Apps in system and see if that oat folder still exists
[Android Software/Hacking General [Developers Only]] pikachukaki:
every (at least the ones i look) Lg app still have the oat folder only google apps doesn't have it!
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yep that's what I expected

---------- Post added at 03:56 PM ---------- Previous post was at 03:19 PM ----------

do you have the recovery.img for that phone?
[Android Software/Hacking General [Developers Only]] pikachukaki:
Stock? Nope sorry I'm using twrp from day 1
[Android Software/Hacking General [Developers Only]] bdorr1105:
Hey, I deodexed using a linux Kitchen

This is not a flashable zip, but it contains the system/app, system/priv-app, system/framework - Maybe you can work with it

D88530B_Deodexed-NOT Flashable.zip
[Android Software/Hacking General [Developers Only]] pikachukaki:
I'm out not celebrating the new years eve s9 tommorow but thanks for your work let's hope it will work...
[Android Software/Hacking General [Developers Only]] bdorr1105:
no problem
[Android Software/Hacking General [Developers Only]] pikachukaki:
it seems that after i edit the update-script to delete app / framework and priv-app the oat files are still in there....even that after i flash xposed still stuck at bootanimation..maybe i made something wrong with the update-script not sure!!!
[Android Software/Hacking General [Developers Only]] bdorr1105:
sorry man wish I could help
[Android Software/Hacking General [Developers Only]] pikachukaki:
you've done your best and i thank you for that....i will play with the files now to try to make it work!!!thanks man and have a nice year!!!
[Android Software/Hacking General [Developers Only]] bdorr1105:
You are welcome thanks for working with me and have a great new year yourself
[Android Software/Hacking General [Developers Only]] carl1961:
[MENTION=4462941]pikachukaki[/MENTION]

I deodex MM by doing what was posted on XDA either here or on the other deodexing thread

you do this

for example in app folder atfwd there is a folder oat

in that folder is a folder named arm copy that folder to app folder

then after copy is done delete the oat folder

app folder should look like this

do this also for priv-app

Note some apk folders have a lib folder, leave that there these lib file get symbolic linked with your updater-script at rom install

for framework there is also a oat with a arm folder,

copy all the files from that arm folder

and copy them to the current arm folder in the framework folder that already has two files in it

now delete the oat folder your framework folder should look like this
[Android Software/Hacking General [Developers Only]] pikachukaki:
can you please fix the pictures....
[Android Software/Hacking General [Developers Only]] carl1961:
done
[Android Software/Hacking General [Developers Only]] pikachukaki:
Lets try this to see if its gonna work...
[Android Software/Hacking General [Developers Only]] bdorr1105:
To individually do that for every app would take years
[Android Software/Hacking General [Developers Only]] pikachukaki:
hahaha i just finish it...after the first 50 folders i simply do it without thinking.....
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yea that is really rough I have been there and done that before
[Android Software/Hacking General [Developers Only]] pikachukaki:
if it will work and make xposed worked the difficult will add more satisfaction :P
[Android Software/Hacking General [Developers Only]] bdorr1105:
Good luck man
[Android Software/Hacking General [Developers Only]] pikachukaki:
Nope.....reboot loop...not even going through the bootanimation :////

im wondering with my existing zip after i flash the zip and boot into the rom the oat folder is still there....im not sure why!
[Android Software/Hacking General [Developers Only]] bdorr1105:
Flash the Xposed uninstaller, then run the deodexed zip, let it boot deodexed, then flash xposed after everything, dont wipe dalvick cache and cache when installing xposed
[Android Software/Hacking General [Developers Only]] pikachukaki:
i try this too stuck at bootanimation but im not be able to take logcat...im not sure if its my drivers or i the kernel isnt debuggable....not sure!
[Android Software/Hacking General [Developers Only]] bdorr1105:
What Device are you on again? LG G?, American Version?

http://xdaforums.com/showpost.php?p=59929667&postcount=5122

I think it will work on the LG oDexed
[Android Software/Hacking General [Developers Only]] pikachukaki:
g3 international...and this is working at 5.0
[Android Software/Hacking General [Developers Only]] bdorr1105:
What is the Device name like D855 20A for the Firmware?
[Android Software/Hacking General [Developers Only]] pikachukaki:
D855 30A
[Android Software/Hacking General [Developers Only]] carl1961:
did

JoelDroid Lollipop Batch Deodexer V 2.5 deodex without complaining?

I have already deodexed the latest MM for nexus 6 and been running it just fine there was just a couple non inportant apps that complained.

also can you upload your META-INF from your deodexed rom you made and I will look at it.
[Android Software/Hacking General [Developers Only]] pikachukaki:
If I run this app here nothing happens the oat files still exist... I'm trying now with superrs kitchen...
[Android Software/Hacking General [Developers Only]] carl1961:
you have to do as I posted with all the pictures and move the arm folder out of oat folder, this deodexer is for lolipop and not MM, but it will deodex MM if you do the folder swapping around.
[Android Software/Hacking General [Developers Only]] pikachukaki:
I've done it... Took the arm outside of the oat and delete the oat.. Done it at app priv-apps and framework...
[Android Software/Hacking General [Developers Only]] bdorr1105:
http://xdaforums.com/showthread.php?p=64610681

Check this xposed works on lg g4 odexed
[Android Software/Hacking General [Developers Only]] pikachukaki:
http://xdaforums.com/verizon-g4/gen...verizon-g4-t3182267/post62406565#post62406565 this???
[Android Software/Hacking General [Developers Only]] bdorr1105:
Yes, as in you should be fine just getting root and installing xposed. No need to go crazy over deodexing.. Hopefully it is helpful
[Android Software/Hacking General [Developers Only]] pikachukaki:
this just use FlashFire insted of rebooting into recovery not sure what the difference..and if so i can't make FlashFire work...stuck at "Enumerating Partitions"
[Android Software/Hacking General [Developers Only]] bdorr1105:
Ignore the flashfire, I sent it to point out that xposed runs on odex... Forget the rest
[Android Software/Hacking General [Developers Only]] pikachukaki:
yeah if i flash my versions xposed (cause G4 is arm64) im getting to bootloop...the thread you send me flashes his version of xposed but with flashfire...he didnt do anything special...
[Android Software/Hacking General [Developers Only]] bdorr1105:
All lg g4 is arm64, if it works on one it should work on them all
[Android Software/Hacking General [Developers Only]] pikachukaki:
im having G3 x86 :P
[Android Software/Hacking General [Developers Only]] bdorr1105:
It worked on my lg v10 which is arm64 when I was odexed

---------- Post added at 04:44 PM ---------- Previous post was at 04:43 PM ----------

Lol awwwww my bad man
[Android Software/Hacking General [Developers Only]] pikachukaki:
With this app here im getting this

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
[Android Software/Hacking General [Developers Only]] bdorr1105:
Did you get the latest oat2dex?