yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] realtebo:
Please, explain me what aapt is ... I've no idea

I'm unzipping again the rom, then re-launch your tool from gui using j4zip before, and 7zip if unlucky. Then I'll update you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
aapt = Android Asset Packaging Tool ,is part of the android sdk used to package apk files

j4zip = is a java native library that can compress and uncompress and manage zip files

7zip = well I think 7zip is known as a comression software available on pretty much all OS's

just for the sake of test ,remove packageInstaller from the rom ,it's the one causing problems ,just for now remove it and run the tool on the rom and see how it goes
[Android Software/Hacking General [Developers Only]] Sun Shower:
Have you ever seen *.odex.gz files ,this is my first time see this in my xiaomi 2s cm12.1 rom ,but in framework folder,it's common *.odex ,hope U always working on it.Sorry for my bad English
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
No I never heard of it I will add support to it asap ,no big deal it will be supported next thing tomorrow ,but if you want to deodex now ,you have to extract them manually
[Android Software/Hacking General [Developers Only]] Wolfbreak:
[MENTION=4769531]lord-ralf-adolf[/MENTION]

This is what im searching for but unfortunetly it dont work on Android 6.0.1 for Xperia Z3. I use Windows 10

The odex Files in every Folder are stored in oat/arm and are just symlinked to the real odex Files stored in sqsh Files.

Once you boot the Device the sqsh Files gets extraced to Folders named odex.app, odex.priv-app and odex.framework

The sqsh Files still remains in system Folder even after extraction to the respective Folders odex.app, odex.priv-app and odex.framework

If you could fix this that would be great because it would save me alot Time to deodex 6.0.1 ROMs for my Z3. Right now i need to place every extracted odex manually to every single Folder and its like 400-500 Folders.

Regards

Wolfbreak
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
[MENTION=2822871]Wolfbreak[/MENTION]

it's already supported ,squash files are detected and extracted automatically ,read the manual for dependencies needed (linux and mac only windows works out of the box)
[Android Software/Hacking General [Developers Only]] Wolfbreak:
[MENTION=4769531]lord-ralf-adolf[/MENTION]

I ralready read it before i asked, thats why i also wrote Details in my Post of how the system works on Z3 with 6.0.1

Here is the Log of my Deodex i tried with latest 6.0.1 on Xperia Z3.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
[MENTION=2822871]Wolfbreak[/MENTION]

oh I see sorry , so there is a third squash file ? what is it's name and it's location I will add it right away ,and also if it's possible give me a link to this rom so I can test on it
[Android Software/Hacking General [Developers Only]] Wolfbreak:
[MENTION=4769531]lord-ralf-adolf[/MENTION]

Yes its called odex.framework.sqsh

Here is the system dump http://xdaforums.com/crossdevice-dev/sony/beta-mm-dump-t3336694

See my Post for all Informations how the System works. The Problem is almost every Single File gives Error when i try to deodex, see in my LogFile above.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
I got you ,so now the new sqsh file will be in /system/odex.framework and the folder framework have .odex symliks that point to the /system/odex.framework so basically it's the same as odex.app.sqsh and odex.priv-app.sqsh , I will add support for this asap
[Android Software/Hacking General [Developers Only]] Wolfbreak:
I edited my previous Post to give you more Information. Thanks alot for your quick reply and i hope you can solve it because the Deodexer is great!

app, priv-app and framework have all symlinks only in oat/arm Folders. Real odex is stored in sqsh and gets extracted to odex.app, odex.priv-app and odex.framework Folders on Boot.

The Problem is app and priv-app also dont succeed in deodexing.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
[MENTION=2822871]Wolfbreak[/MENTION]

can you please test this pre-release version and tell how it goes ?

https://www.dropbox.com/s/dtga6je2kx2sps8/lordroid_ODTRTA_v1.24-pre-release_ALL.tar.gz?dl=0
[Android Software/Hacking General [Developers Only]] Wolfbreak:
Im sorry but its still the same. I guess the symlink is the Problem. The Progress also stopts at 37% always.

See attachments
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
ok ,I see ,it's not the symlinks ,the files structures is not as it used to be ,it needs more work ,I know where the problem is I will fix it an get back to you as soon as I am done (it's gonna take a while because I need to change a lot )

EDIT :

[MENTION=2822871]Wolfbreak[/MENTION]

replace the launcher.jar you have with this one https://www.dropbox.com/s/weocfjzkt5dyocs/Launcher.jar?dl=0 and give it an other try (I would've tested on my PC but I couldn't download the dump yet )
[Android Software/Hacking General [Developers Only]] Wolfbreak:
I will test it once im home from work. Thanks alot for your Effort.

Regards

Wolfbreak
[Android Software/Hacking General [Developers Only]] Wolfbreak:
Great work!! Really love the Deodexer :)

It works now only 2 Files failed, beside that all was deodexed without errors.

The 2 Files that failed was telecom.jar and settings.jar [both framework] I just manually deodexed them and now all is fine.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
on my pc it deodexed all files without failiure ,can u send the log so I can see why those 2 jars wasn't decompiled ?
[Android Software/Hacking General [Developers Only]] Wolfbreak:
Sure.

https://drive.google.com/open?id=0B3zaZkL_p8vITjFhcmRnck9XU2s
[Android Software/Hacking General [Developers Only]] andy_zhang:
Lgg3 Android mm can't be deodex

https://mega.nz/#!s4pXWbII!9lnGmCgMnWz-M9by5YtGwqf__kNx9TWfdovsU-T4P6k

vs985 China user
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
please provide more details ,why can't you deodex ,what is the error ? and attach fXXXX_full.log file and systeminfo.txt you can find them under logs folder

other wise I can't help you ,I am not a wizard :p
[Android Software/Hacking General [Developers Only]] chuyennho184:
[MENTION=4769531]lord-ralf-adolf[/MENTION]: Your tool can't deodex 3 apps like LGWeather, LGWeatherService & LGWeatherTheme for LG G3. How to fix them? Thanks!

​
[Android Software/Hacking General [Developers Only]] andy_zhang:
vs985 China user

---------- Post added at 09:51 AM ---------- Previous post was at 09:39 AM ----------

Sorry, last version is ok.

vs985 China user
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Those apks have non standard odex there is no way to deodex them (at least that I know of ) I suggest you search for those apks in your phones forum

Ps :I am writing from my phone right now I will get back to you with more details when I am on pc

The screen shots are of a very old version ;)

OK so now it works with the latest version ?
[Android Software/Hacking General [Developers Only]] dancer_69:
I just download it and try to run, but I get an error on manjaro linux:

Exception in thread "main" java.lang.NoClassDefFoundError: com/alee/laf/WebLookAndFeel
at deodex.Main.main(Main.java:162)
Caused by: java.lang.ClassNotFoundException: com.alee.laf.WebLookAndFeel
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more

Is there any solution?
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Did you download the full version or the patch 1.23_to_1.24 ? The libs folder is missing download the big tarball file ,because the other one doesn't contain all files it contain just the changed files between the two last version
[Android Software/Hacking General [Developers Only]] Wolfbreak:
I deodexed manually the 2 Files then it worked fine.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
ok glad to hear that

===========================================================================

New version is here with lots of more optimizations and fail-safes for more scenarios :D
[Android Software/Hacking General [Developers Only]] kingdj:
can you tell me how to deodex a single or few file with this tool,not deodexed full rom?

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
the tool is meant for batch deodexing ,to deodex a single apk use oat2dex or smali/baksmali

the links provided will give you all what you need to know ,if you have further question let me know
[Android Software/Hacking General [Developers Only]] kingdj:
thank you
[Android Software/Hacking General [Developers Only]] andy_zhang:
Hope to add Chinese language, thanx.

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
you are welcome to help with translations :D
[Android Software/Hacking General [Developers Only]] andy_zhang:
Ok, I will try.

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] andy_zhang:
Chinese LANGUAGE LINK

https://mega.nz/#!ItolBTCZ!9zxiQhf3go4qW6bp77MJJZRf2v0rknFCJmbjV63rgWY

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
thank you I will add this in the next buikd ,right now you can put this file under /lang folder chinese will apear in the settings as a language
[Android Software/Hacking General [Developers Only]] andy_zhang:
I have tested, run well.

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] annson08:
I tried to deodex the Galaxy S7 stock 6.0.1 firmware but services.jar seems to fail. I tried it twice, same results.
[Android Software/Hacking General [Developers Only]] wertzPH:
send in the complete log folder. the one you attached dont have needed info.
[Android Software/Hacking General [Developers Only]] annson08:
Here you go, sorry about that.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
you have an outOfmemory when deodexing service.jar ,please go to File > Settings > performance > heap size and change it to something higher than 512mb ,you have 8gb of your pc so use 1024m and every thing will work
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
yes I tested it and it works great ,thanks a lot

ps : you are still under 1.24 ,v1.25 is out 3 days ago ;)
[Android Software/Hacking General [Developers Only]] andy_zhang:
Woooo, I will download It.

通过 VS985 4G 发言

---------- Post added at 01:00 AM ---------- Previous post was at 12:11 AM ----------

Welcome to China.

通过 VS985 4G 发言

---------- Post added at 01:00 AM ---------- Previous post was at 01:00 AM ----------

[emoji2]

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] annson08:
Thanks a lot! It worked.
[Android Software/Hacking General [Developers Only]] andy_zhang:
Chinese language mo8dify version https://mega.nz/#!F4wxgCIA!BNUi9qEbwO8f9KTsNmxObgc2cmk-LwG2BeMRDfbikMc

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Thanks once again ,say hi to China :)

Glad to hear that
[Android Software/Hacking General [Developers Only]] kin201303:
hi:lord-ralf-adolf

i use Chinese language mo8dify version can't run ,my version is v1.25

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Don't use the modified Chinese Lang file it was for 1.24 ,use custom Lang files only if you know what you are doing and the custom Lang file have all the strings needed by the tool
[Android Software/Hacking General [Developers Only]] juanpirulo:
First, Thank you very much for such an amazing tool. I just check it how it works with a sony beta mm. still there is a problem with the two apks mentioned before telecom.jar and Settings.jar which i managed to do it manually. Also when you created a zip there is a missing order on the delete.sh with the vendor/app/ims and chromecustomization to delete odex file and oat folder , also i did it manually on the script. hope you can added to the automatic build of the zip.

I just correct a little bit the spanish translation, and added on attachment. cheers
[Android Software/Hacking General [Developers Only]] kin201303:
can't you make v1.25 Chinese Lang file

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
I don't make translations in Chinese as I don't know any thing about it, translations are provided by the community members, I don't have any lang file for 1.25 right now sorry I will add new ones in next build

Thanks for the feed back and the translation I will add it in next version in the next few days

PS : I didn't build any new version because I am a little busy with life thank you all for your comprehension I will be posting a new version in few days hopefully :)
[Android Software/Hacking General [Developers Only]] kin201303:
dear:lord-ralf-adolf

my e is bad,i try use es.prop change to Chinese can run,thank you very much, good lucky for you

:good:
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
New version ,with all the promised fixes ,updated translations is online ,use auto update or download it manually :D cheers
[Android Software/Hacking General [Developers Only]] kin201303:
hi:lord-ralf-adolf

my english is bad

i test v1.26 have a bug ,i set the language and Performance use 1024m then exit again come in can't save.

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
please elaborate (provide more details ) do you have the lang folder ? send me the full log with system info if available , did you use the tools as is or did you add some new stuff ?

Edit :

never mind ,yes my bad I screwed up I added a fix on github , download this archive and replace Launcher.jar from that archive with the one in the previous tool
[Android Software/Hacking General [Developers Only]] kin201303:
v1.25 work but v1.26 can't save. the setting can work :rolleyes:

do you have the lang folder (have)

did you add some new stuff ?(no)

thank you
[Android Software/Hacking General [Developers Only]] andy_zhang:
Setting Chinese language fail reason is font.

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
sorry ,it was my mistake I provided a fix see my previous edited post or see github release page download the fix and replace it

not really ,it was my mistake I screwed up the code ,I provided a fix see github release page for more details

the release page https://github.com/lord-ralf-adolf/Lordroid_One_Deodexer_To_Rule_Them_ALL/releases/tag/v1.26

PS : I changed the files on the xda download links the fix is included
[Android Software/Hacking General [Developers Only]] kin201303:
v1.26_language_settings_fix (test can't run)

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
YOU replaced the file in the tool ?

Edit : if you need real time assistance join me on freenode http://webchat.freenode.net/?channels=lordroid
[Android Software/Hacking General [Developers Only]] kin201303:
i download this lordroid_ODTRTA_v1.26_ALL_fix_included (ok);)

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
so the problem is fixed or not ?
[Android Software/Hacking General [Developers Only]] kin201303:
i use HK Chinese language please add it in next version

this file is HK Chinese language

thank you
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
what file ?
[Android Software/Hacking General [Developers Only]] kin201303:
pt-BR.prop=hk.prop

now i use in v1.25

please add hk.prop it in next version

thank you

View attachment pt-BR.rar
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
got it ,will be added in next version ,but the translations are not complete
[Android Software/Hacking General [Developers Only]] rafi_android:
why i can't deodexed from the device? i've installed the driver but it still shows offline. please anybody help me.:confused:
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Make sure :

* - You device is authentified with you PC and your PC can access your phone (test in Cmd)

* - the screen is unlocked
[Android Software/Hacking General [Developers Only]] kin201303:
OK i will edit

in v1.25 i try make a file name hk ..prop can't work ,so find you help me

thank you :good:
[Android Software/Hacking General [Developers Only]] kin201303:
OK the problem is fixe

thank you

View attachment 3701743
[Android Software/Hacking General [Developers Only]] xXx:
thanks for the new version. I tried to deodex my S7 MM rom and everything works fine but it's reported that maps.apk and services.jar can't be converted. Is there anything I can do to get them converted as well? I also tried v1.25 but same result. When trying to deodex a S5 rom I get an error converting maps.apk as well.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
Can you provide a full log? I think it might be a heap size being to small

Provide the logs so I can help you

Thank you
[Android Software/Hacking General [Developers Only]] andy_zhang:
Ok.if have any Chinese language issue, Please tell me.

通过 VS985 4G 发言
[Android Software/Hacking General [Developers Only]] rafi_android:
It's not working... How to solve this? Thank you. ?
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
run this command in cmd :

adb shell

what happens ?

also send me a log file please
[Android Software/Hacking General [Developers Only]] xXx:
here you get the logs and you seem to be right that this is a Java heap size error.
[Android Software/Hacking General [Developers Only]] rafi_android:
this happens.

here the log. thank you.:D
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
thanks , yep I was right it's a heap size thing ,go to File >> Settings >> Performance and change the max heap size to a higher value run the tool on the same folder it will resume deodexing

this is strange adb seems to kill and start server normally ,but the log provided you didn't click on the refresh button so I can't know what exactly happens ,please open the tool ,click refresh if the deodex button activates click it too then if the problem is still there provide the new logs

ps : if you need real time assistance and avoid abusive posting to this Thread join me on freenode here
[Android Software/Hacking General [Developers Only]] xXx:
thanks, increasing the max heap size solved the issue. This means the S7 rom deodex fine now but the S5 rom still through one error and couldn't deodex SamsungLinkPlatform.apk. I attached the logs. Anything else I could do to get this rom fully deodexed as well?
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
I am afraid there is no quick fix for that ,as it seems there is a smali/baksmali and oat2dex internal problem ,you can try and deodex it manually ,but I think the specific odex is not a standard odex therefor it's not yet supported by smali and oat2dex ,sorry but there is no thing I can do to fix this right now

errors by oat2dex

[19:36:52]running command : java -Xmx2048m -jar C:\TEMP\lordroid\bins\oat2dex\oat2dex.jar C:\TEMP\system_s5\LOBDTRTA\worker2\SamsungLinkPlatform\SamsungLinkPlatform.odex C:\TEMP\system_s5\LOBDTRTA\boot\dex
[19:36:53][stdIn] 03-30 19:36:53:062 De-optimizing /system/priv-app/SamsungLinkPlatform/SamsungLinkPlatform.apk
[19:36:55][stdIn] 03-30 19:36:55:243 Analysis error in class=Lcom/sec/android/safe/wifiPke/WifiPke; method=<clinit>
[19:36:55][stdIn] Method: Lcom/sec/android/safe/wifiPke/WifiPke;-><clinit>()V
[19:36:55][stdIn] Near line: -1 (address 16)
[19:36:55][stdIn] Instructions:
[19:36:55][stdIn] [8] const/4 regA=1
[19:36:55][stdIn] [9] sput-object regA=1
[19:36:55][stdIn] [10] invoke-virtual-quick regC=0 <-----
[19:36:55][stdIn] [11] goto
[19:36:55][stdIn] [12] move-exception regA=0
[19:36:55][stdIn]
[19:36:55][stdIn] 03-30 19:36:55:244 org.jf.dexlib2.analysis.AnalysisException: Unsupported oat version: 39
[19:36:55][stdIn]	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:2434)
[19:36:55][stdIn]	at org.jf.dexlib2.analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1229)
[19:36:55][stdIn]	at org.jf.dexlib2.analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:262)
[19:36:55][stdIn]	at org.jf.dexlib2.analysis.MethodAnalyzer.<init>(MethodAnalyzer.java:198)
[19:36:55][stdIn]	at org.rh.smaliex.DexUtil$ODexRewriterModule$1$1.getInstructions(DexUtil.java:402)
[19:36:55][stdIn]	...(Skip 23 traces)
[19:36:55][stdIn]	at org.rh.smaliex.DexUtil$ODexRewriter.rewriteDexFile(DexUtil.java:342)
[19:36:55][stdIn]	at org.rh.smaliex.OatUtil.convertToDex(OatUtil.java:312)
[19:36:55][stdIn]	at org.rh.smaliex.OatUtil.oat2dex(OatUtil.java:153)
[19:36:55][stdIn]	at org.rh.smaliex.Main.mainImpl(Main.java:129)
[19:36:55][stdIn]	at org.rh.smaliex.Main.main(Main.java:54)
[19:36:55][stdIn]
[19:36:55][stdIn] 03-30 19:36:55:244 Failed to re-construct dex java.lang.ClassCastException: org.jf.dexlib2.analysis.UnresolvedOdexInstruction cannot be cast to org.jf.dexlib2.iface.instruction.formats.Instruction35ms

errors by baksmali

[19:36:55]running command : java -Xmx2048m -jar C:\TEMP\lordroid\bins\smali_backsmali\baksmali.jar -x -c boot.oat -d C:\TEMP\system_s5\LOBDTRTA\boot C:\TEMP\system_s5\LOBDTRTA\worker2\SamsungLinkPlatform\SamsungLinkPlatform.odex -o C:\TEMP\system_s5\LOBDTRTA\worker2\SamsungLinkPlatform\SamsungLinkPlatform
[19:36:56][stdError] Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException: Unsupported oat version: 39
[19:36:56][stdError]	at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:147)
[19:36:56][stdError]	at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:78)
[19:36:56][stdError]	at org.jf.baksmali.main.main(main.java:292)
[19:36:56][stdError]
[Android Software/Hacking General [Developers Only]] xXx:
never mind. In the meanwhile I tried earlier oat2dex versions and found one which works. Didn't test it on the phone yet but everything looks good so far and I believe this will work.

Anyway, thanks again for your effort and for this awesome tool.
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
if you can tell me which version worked ,may be in next builds I will add option to use more versions of oat2dex and fall to them one on one if one of them fail
[Android Software/Hacking General [Developers Only]] xXx:
I increased the max heap size to 2048 and in order to get the G935F rom fully deodexed I used the latest oat2dex v0.86. With oat2dex v0.83 I could fully deodex the latest G900F rom.

Edit: I forgot to mention that the G935F rom is based on MM 6.0.1 and the G900F rom is based on LP 5.0
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
OK thanks I will add some more options in the next build to automate all this
[Android Software/Hacking General [Developers Only]] rafi_android:
this is strange adb seems to kill and start server normally ,but the log provided you didn't click on the refresh button so I can't know what exactly happens ,please open the tool ,click refresh if the deodex button activates click it too then if the problem is still there provide the new logs

ps : if you need real time assistance and avoid abusive posting to this Thread join me on freenode here[/QUOTE]

it not working too, i've refreshed it and still doesn't work.

thank you. :good:
[Android Software/Hacking General [Developers Only]] m_reyna_16:
same thing happens to me, on your app and on cmd... here is my logs too in case you need them

Device: AT&T LG V10

Rom: Stock Latest Lollipop Rom
[Android Software/Hacking General [Developers Only]] lord-ralf-adolf:
it not working too, i've refreshed it and still doesn't work.

thank you. :good:[/QUOTE]

I am afraid there is no possible quick fix for this now, I will fix it in the next version for know you can try and pull the system folder yourself with the command

adb pull /system path/to/save/on/pc

Let me know how it goes