yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pabloc97:
Great work, i'm trying to deodex a mm lg g3 .. Isn't possible ? I think no.. I get this.. A long timr

Enviado desde mi LG-D855 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
it's possible ,I tested it on mm official roms for nexus ,can you please show me a list of files under the system folder you are trying to deodex ?

do this open a "cmd" navigate to your system folder on PC and tape tree than right click and choose "select text" select the output and past it to a text file then send me the text file ,or point me the the rom so I can download it and test on it

now that I am looking to the codes I see that an infinite tmr can happend only if boot.oat couldn't be find (somehow between the first check and when the deodex thread is launched because of an IOException or couldn't be deodexed send me the list of files or the rom link so i can test ,thanks in advance
[Android Software/Hacking General [Developers Only]] pabloc97:
I'm uploading the rom, when i finish i send you the downloads links
[Android Software/Hacking General [Developers Only]] andy_zhang:
[IMG="http://www.yupoo.com/photos/qzone3817087660/95617271/"]http://www.yupoo.com/photos/qzone3817087660/95617271/[/IMG]

i cannot deodex in android mm.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
what rom is that one ? is it really odexed ? when you go under framework do you see .odex files ? and ander framework/your_arch/ do you see a boot.oat file ? that error means that the rom is already deodexed
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
the file structure seems fine ,I don't know if the "cmd" tree doesn't return the files it returns only the folders in the output you showed me ,it should work normaly , I will wait for the link to be up ,please let me know when the upload is done so I can test

PS: new beta will be up shortly with lots of more optimisation and with a command line implementation of the tool like

java -jar lordroid-ODTRTA.jar <systemFolder> [Options]
Options : -z to zipalign and -s to resign
[Android Software/Hacking General [Developers Only]] rafi_android:
ok ,you have adb under c:/adb right ? copy the files from that folder to bins/native/adb/windows in the tools folder and try again[/QUOTE]

Ok I've tried it.

It working, it pulling the system but there is no framework folder, priv-app folder, and app folder got like 2 folder in it.

So when i try to deodex from folder it's not working.

And last question, when deodex from device and after it pull the system, what is the next step? Thank you. ?
[Android Software/Hacking General [Developers Only]] juanpirulo:
[MENTION=4769531]lord-ralf-adolf[/MENTION] Hi again and thanks for your work. Still we have some errors on beta mm for sony z3. Still Teleservices.jar and Settings.jar needs to deodex two times to get deodexed. Support.apk isnt deodex properly (at the moment is the only one is given fcc) and there is some apps on etc/product that also dont get deodexed the file " orig.applications.sqsh " with the original odex are inside this folder. I add the full log. thanks in advance
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
for the Settings.jar and Teleservice.jar I am well aware and am working on that ,on the other hand never heard of orig.applications.sqsh before ,I will add support for it thanks for reporting ,please if there is more device specific stuff let me know :D

note : the problem with those jars not deodexing is related to java not handling well the symlinks ,I am working on a fix for that please be patient guys thanks for understanding
[Android Software/Hacking General [Developers Only]] juanpirulo:
Take your time mate, we all know this is cuestion of time and we have private lifes. cheers
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Thanks man, new version will roll out tomorrow night cheers
[Android Software/Hacking General [Developers Only]] wertzPH:
im excited everytime this app updates...
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
I didn't forget about you man, it's just too hard for me to put my finger on your Rom 's problem :D

edit :

new version available use ota to update or grab it from github :D cheers guys

let me now if sony problems are fixed
[Android Software/Hacking General [Developers Only]] juanpirulo:
everything except support.apk seems fine now on sony z3, but this apk gives fc when deodex. I tried to deodex this one with sva deodexer but still crashed. i dont know if you can have a look on the last log i sent you. cheers.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
to track that fc you gonna need the roms logs not the tool logs
[Android Software/Hacking General [Developers Only]] juanpirulo:
here you have the log for that app. cheers
[Android Software/Hacking General [Developers Only]] Marília de Oliveira:
See my attached picture, showing two mistakes ... and normal? or you need some adjustment in the program?
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Please update to latest version that problem was fixed in 1.27
[Android Software/Hacking General [Developers Only]] Marília de Oliveira:
Okay, sorry bro... nice work ! :D
[Android Software/Hacking General [Developers Only]] elesbb:
Using above version, fails to deodex Sprint Galaxy S6 services.jar. Upon using manual baksmali to decompile, I get an error that "core.jar" was not in bootclasspath dir. I check /system/framework and no core.jar.. Anyone have a clue?
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
The bootclasspath is the output of deoptimized boot.oat
[Android Software/Hacking General [Developers Only]] elesbb:
Thanks I figured that's what it was. So by using oat2dex on the boot.oat file should give me the stuff I need.

I'm also having issues with signatures not holding after deoptimizing the apks.

Anyone know how to fix that? Could I resign them all? I always thought this caused more issues because it's not Samsung generated signature.
[Android Software/Hacking General [Developers Only]] juanpirulo:
If you mean after decompile the apk you should open as zip the original file and drop , the build files (except manifiest.xml) that are inside compiled folder. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] elesbb:
Still no "core.jar" or "core.dex" file output..

I know that, but its breaking signatures and many apps are force closing.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
any deodexing will break signature ,I have to put the dex file back in the apk so signature will be broken

and for the trouble you are having can you send full log and the rom log ? I can't help you otherwise
[Android Software/Hacking General [Developers Only]] chuyennho184:
[MENTION=4769531]lord-ralf-adolf[/MENTION]: Are you owe me a answer for my problem? I can't deodex 3 these apps like LGWeather, LGWeatherServices & LGWeatherTheme. I'm using LG G3 with stock rom MM. See my post on #113 or below link

http://xdaforums.com/showpost.php?p=65922045&postcount=113

Please to help me to fix them. Thanks!
[Android Software/Hacking General [Developers Only]] VICosPhi:
What an awesome tool...wow! Thank you for making this and making our life so much easier :)
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Sorry I thought I answered that

Those 3 apks have encrypted or some new kind of odex files and they can't be deodexed with smali baksmali or oat2dex there is no thing I can do for you sorry
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Thanks for your feedback and the compliment, I am glad you're enjoying my software :)
[Android Software/Hacking General [Developers Only]] elesbb:
Nevermind. I'm an idiot :) The force close was due to many lib files missing. And I assumed they were missing because signatures were broke, and thus the apk wasn't getting "installed". But it was because I would rm -r * inside the /system/app and system/priv-app directory thus deleting the symlinks of the native libraries. Pushing the apks back without deleting the contents, then executing rm -r */oat/ got rid of all the dex files. Its all good now :)

The only thing is, your tool cannot deodex my services.jar, I simply used a kitchen inside of Ubuntu to do it, and it works that way. Not sure why yours can't deodex services.jar.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Send me a log file of the tool so I can fix this services.jar problem
[Android Software/Hacking General [Developers Only]] elesbb:
Can you upload those 3 apks please?

This is interesting, I like interesting. And challenges. :) You may be onto something about encryption, but android classes.dex can't be encrypted. my guess is that they may be xz compressed files. Or if they are encrypted, something else in the ROM decrypts them first. Either way, I am eager to take a look at this for him.

---------- Post added at 11:27 PM ---------- Previous post was at 11:26 PM ----------

EDIT: Here are all the logs.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
the services.jar didn't deodex because of the heapsize ,please go to settings > performance and change the heapsize to something higher than 512 like 1024 or even 2048 you have plenty of ram ;)

[15:43:56][stdError] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
[15:43:56][stdError]	at java.util.TreeMap.put(Unknown Source)
[15:43:56][stdError]	at java.util.TreeSet.add(Unknown Source)
[15:43:56][stdError]	at org.jf.dexlib2.analysis.AnalyzedInstruction.addPredecessor(AnalyzedInstruction.java:105)
[15:43:56][stdError]	at org.jf.dexlib2.analysis.MethodAnalyzer.addPredecessorSuccessor(MethodAnalyzer.java:628)
[15:43:56][stdError]	at org.jf.dexlib2.analysis.MethodAnalyzer.addPredecessorSuccessor(MethodAnalyzer.java:613)
[15:43:56][stdError]	at org.jf.dexlib2.analysis.MethodAnalyzer.buildInstructionList(MethodAnalyzer.java:583)
[15:43:56][stdError]	at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:162)
[15:43:56][stdError]	at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:403)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethodImplementation.of(ImmutableMethodImplementation.java:84)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethod.<init>(ImmutableMethod.java:72)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethod.of(ImmutableMethod.java:102)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:129)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethod$1.makeImmutable(ImmutableMethod.java:120)
[15:43:56][stdError]	at org.jf.util.ImmutableConverter$3.next(ImmutableConverter.java:139)
[15:43:56][stdError]	at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:301)
[15:43:56][stdError]	at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522)
[15:43:56][stdError]	at com.google.common.collect.ImmutableSortedSet$Builder.addAll(ImmutableSortedSet.java:551)
[15:43:56][stdError]	at com.google.common.collect.ImmutableSortedSet.copyOf(ImmutableSortedSet.java:326)
[15:43:56][stdError]	at org.jf.util.ImmutableConverter.toSortedSet(ImmutableConverter.java:137)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableMethod.immutableSetOf(ImmutableMethod.java:116)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableClassDef.<init>(ImmutableClassDef.java:109)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableClassDef.of(ImmutableClassDef.java:149)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:210)
[15:43:56][stdError]	at org.jf.dexlib2.immutable.ImmutableClassDef$3.makeImmutable(ImmutableClassDef.java:201)
[15:43:56]It's exit value was : 1

edit :

to delete the odex files use find and piped command something like this

find -type f -name '*.odex' | xargs rm -f
[Android Software/Hacking General [Developers Only]] chuyennho184:
[MENTION=4769531]lord-ralf-adolf[/MENTION]: Here are 3 apps can't deodex.

https://drive.google.com/file/d/0B4FoLWZ0e4kmVVJNb2VubDFGT00/view
[Android Software/Hacking General [Developers Only]] juanpirulo:
[quote name="lord-ralf-adolf" post=66213802]to track that fc you gonna need the roms logs not the tool logs[/QUOTE]

here you have the log for that app. cheers

Did you have a look to this?

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

Enviado desde mi D6603 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] ingbrzy:
Hello [MENTION=4769531]lord-ralf-adolf[/MENTION]

I have in deodexing log errors like:

Problem reading stream stdError... :java.io.IOException: Stream closed
Problem reading stream stdIn... :java.io.IOException: Stream closed

is it ok..?

ROM Download

thank you for fixing it... you made an awesome powerful tool..!
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
the error reading input stream is a normal thing it happens when the tool is trying to read data from a closed stream (stream closed by native OS and not by JAVA) and the error is catched and handled it doesn't affect the deodexing process
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
there is the AndroidRuntime complaining about classes not found ,this can be either a jar not deodexed at all ,missing or didn't deodex quite well ,ask a question in your device forum and I on my side I will dig some more about this and see where the problem came from

as I already said to other users those three apks will not be supported as they are not standard odex files sorry but there is no thing I can do for you as my knowlege is limited
[Android Software/Hacking General [Developers Only]] elesbb:
I had asked for these. Sorry [MENTION=4769531]lord-ralf-adolf[/MENTION]
[Android Software/Hacking General [Developers Only]] 1mouse3:
I am getting a crash of the program when running a pull off the phone, are the vendor libs even needed to deodex the phone. I am not sure if this is a issue with the program, my distro or the fact that the phone uses ta keys for the camera. It is one of these two errors I get:

[10:30:23]pull: /system/vendor/lib/libmmcamera2_imglib_modules.so -> /home/mouse/deodexer/extracted_system_folders/13++/vendor/lib/libmmcamera2_imglib_modules.so
[10:14:19]running command : unsquashfs -h
[10:14:19]It's exit value was : 1
[10:14:20]Problem reading stream stdError... :java.io.IOException: Stream closed
[10:14:20][SessionCfg][I] setting sdk level to : 23

[10:50:49]pull: /system/vendor/lib/libmmcamera2_pproc_modules.so -> /home/mouse/deodexer/extracted_system_folders/1-3/vendor/lib/libmmcamera2_pproc_modules.so
[10:50:49]running command : unsquashfs -h
[10:50:49][stdError] SYNTAX: unsquashfs [options] filesystem [directories or files to extract]
[10:50:49][stdError]	-v[ersion]	print version, licence and copyright information
[10:50:49]It's exit value was : 1
[10:50:49][stdError]	-d[est] <pathname>	unsquash to <pathname>, default "squashfs-root"
[10:50:49][stdError]	-n[o-progress]	don't display the progress bar
[10:50:49][stdError]	-no[-xattrs]	don't extract xattrs in file system
[10:50:49][stdError]	-x[attrs]	extract xattrs in file system (default)
[10:50:49][stdError]	-u[ser-xattrs]	only extract user xattrs in file system.
[10:50:49][stdError]	Enables extracting xattrs
[10:50:49][stdError]	-p[rocessors] <number>	use <number> processors. By default will use
[10:50:49][stdError]	number of processors available
[10:50:49][stdError]	-i[nfo]	print files as they are unsquashed
[10:50:49][stdError]	-li[nfo]	print files as they are unsquashed with file
[10:50:49][stdError]	attributes (like ls -l output)
[10:50:49][stdError]	-l[s]	list filesystem, but don't unsquash
[10:50:49][stdError]	-ll[s]	list filesystem with file attributes (like
[10:50:49][stdError]	ls -l output), but don't unsquash
[10:50:49][stdError]	-f[orce]	if file already exists then overwrite
[10:50:49][stdError]	-s[tat]	display filesystem superblock information
[10:50:49][stdError]	-e[f] <extract file>	list of directories or files to extract.
[10:50:49][stdError]	One per line
[10:50:49][stdError]	-da[ta-queue] <size>	Set data queue to <size> Mbytes. Default 256
[10:50:49][stdError]	Mbytes
[10:50:49][stdError]	-fr[ag-queue] <size>	Set fragment queue to <size> Mbytes. Default
[10:50:49][stdError]	256 Mbytes
[10:50:49][stdError]	-r[egex]	treat extract names as POSIX regular expressions
[10:50:49][stdError]	rather than use the default shell wildcard
[10:50:49][stdError]	expansion (globbing)
[10:50:49][stdError]
[10:50:49][stdError] Decompressors available:
[10:50:49][stdError]	gzip
[10:50:49][stdError]	lzma
[10:50:49][stdError]	lzo
[10:50:49][stdError]	lz4
[10:50:49][stdError]	xz
[10:50:49][SessionCfg][I] setting sdk level to : 23
[10:50:49]Problem reading stream stdError... :java.io.IOException: Stream closed
[Android Software/Hacking General [Developers Only]] levone1:
Stopped at 84% total progress, (64% complete apks, 100% jars). I left it for a while, but it never continued. I figured I would just try again, but not tonight... Any ideas?
[Android Software/Hacking General [Developers Only]] Micheal86:
@ lord-ralf-adolf

Thanks for your hard work. I`ve used your Deodexer to deodexe Stock 5.1.1 rom of Samsung Galaxy A800I. I`ve chosen From Device option and everything was fine. But after pulling all the required files from the device, It stoped with a message - [12:27:32][ INFO ]No odex files were found can't deodex or is the rom already deodexed ? I`ve Samsung Stock Rom (originally comes with the device) and all the apps folder contains with an arm folder and with the Example.odex.xposed files. Is it a Deodexed or Odexed Stock Rom ? I`m really confused. Would you please help me.
[Android Software/Hacking General [Developers Only]] levone1:
Tried again and it picked up right where it left off, and finished with no problem. Only thing is that the 'delete.sh' file didn't work, like last time, so I just replaced it with the one you gave me before, and success. Just curious about that - is the success of the 'delete.sh' file dependant on the rom, (do you need to make different ones for different roms), or is the one that the program creates just not created properly?

Thanks
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
all those are just informations and warnings no thing fatal is logged here ,please provide the full logs and describe a little more so I can help you ,the vendor libs are not required but I have to pull the system folder from device recursively because it's safer than pulling files one by one

please post me the delete.sh I created specificly for you because I don't remember it (my bad :D) ,I will be happy to add it in future builds
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
if there is no odex files the rom is already odexed ,but may be the odex files in your rom are with some new extension or new compression ,send me the full logs and if possible a zip file of your system files so i can check closely
[Android Software/Hacking General [Developers Only]] levone1:
Post 81 - http://xdaforums.com/showpost.php?p=65790388&postcount=81

Thanks
[Android Software/Hacking General [Developers Only]] 1mouse3:
here is the log of the 2 runs

https://www.dropbox.com/s/lgczvek24mh4sze/1-3log.txt?dl=0

https://www.dropbox.com/s/htode13qi35nbay/13%2B%2Blog.txt?dl=0
[Android Software/Hacking General [Developers Only]] Mortifix:
Wow awesome tool! I was finally able to deodex my SM-G925T 6.0.1 stock rom! I do have a question though... how long do you think it should take for my phone to boot up? Should it take more than 10 minutes? I was able to create a flashable zip with no errors. I flashed the zip with no errors either, I wiped cache & dalvik then reboot. I have been staring at the T-mobile logo for quite some time now. I am going to let it sit for awhile. Do you have any recommendations of what to try? Actually, there was one file that did not deodex sucessfully and that was services.jar. Would this cause any issues?

It looks like my phone is disconnecting and reconnecting. I just plugged it up to my PC and I see it appear under My Computer but only through DroidExplorer. I don't see the normal Galaxy S6 Edge icon appearing. It will disconnect then reconnect about every 5 minutes or so. I don't think it's something with your tool because I built a deodexed custom ROM using SuperR's kitchen and just copied system/apps and system/framework to my phone and it seemed to do the same thing.
[Android Software/Hacking General [Developers Only]] Micheal86:
Thank you so much.

please check your PM.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Services.jar is needed may be it's the one making the problem with the booting thing, please try again and send me a log file so I can check closely
[Android Software/Hacking General [Developers Only]] devilmaycry2020:
First of all i want to thank owner thread cause his hard work for the great tool.

Second if yes you can make the script to delete all redundant arm64 folder in system/app

when flash deodexed rom.

thank you very much.
[Android Software/Hacking General [Developers Only]] khanhesham:
tried deodexing xperia z3 23.5.A.0.570 indian (D6653) fw and ended up with a bootloop..

just tried to create a flashable deodexed zip with ur tool and after the bootloop error i reverted to 4.4.4 with root and recovery..

[MENTION=2822871]Wolfbreak[/MENTION] is also not helping in this case, so [MENTION=4769531]lord-ralf-adolf[/MENTION] help me deal with it..

thanks..
[Android Software/Hacking General [Developers Only]] juanpirulo:
You shouldnt blame anyone for not helping you. First you should learn how to deodex a rom and how to make the changes in your system. You even have explained what steps you did with the process, so first try to explain this in order to try to help you. Cheers

Enviado desde mi D6603 mediante Tapatalk
[Android Software/Hacking General [Developers Only]] jazzespresso:
[MENTION=4769531]lord-ralf-adolf[/MENTION]

what a wonderful too, finally able to deodex stock firmware without worrying if it is 5.02 or android 6.0.1, or it is Samsung or any other device, and top of it you can run this on Windows 10!!

two thumbs up!
[Android Software/Hacking General [Developers Only]] devilmaycry2020:
HI all

After created flashable deodexed ROM zip file and flash it. First times the phone boot up ok. Later time i replace Xperia HOme launcher with newer version and reboot. the phone got bootloop after sonly logo display. So i've decided to replace the old one but didn't fix the bootloop.Please help. I'm using Z5D Lollipop.152

p/s: i think this tool have problem cause phone book, contact got error when someone call to.
[Android Software/Hacking General [Developers Only]] khanhesham:
[MENTION=3979060]juanpirulo[/MENTION] i'm deodexing roms from xperia 2011 phones, i used kamome tool for ics, jb & kk, used joeldroid tool for both lp,

i deodexed 4.0.4 till 5.1.1 with no fc in apps but i'm confused with this tool coz other deodex tool can't be used coz their compression level or parameters are incorrect what xperia devices use...

i'm using this tool on windows 7 sp1 64bit with jdk 8u74 64bit.. and everything is configured correctly

so rather bashing me for blaming anyone to help plz try to know what error i'm goin' through..

if everyone will act ignorant like you then how could devs help each other ??

what can i expect from devs if they can't even reply in pm.. unlike you talking non sense over technical thread...