yashsingh1/xdaforums huggingface dataset:
[Android General] napolionnardo:
Great, I congratulate you for your great work and I admire your sabet. A pleasure

---------- Post added at 02:16 PM ---------- Previous post was at 02:10 PM ----------

You know one thing and sorry for my ignorance but I can not find the download link
[Android General] Er. Aditya:
does oreo deodex require any specific patch or am i good to go sir ?
[Android General] Ticklefish:
The downloads tab is near the top of the screen, next to the discussion and screenshots tab.

No patch needed. Just add the files and let the program do its thing.
[Android General] Er. Aditya:
deodexing alone is giving me alot of lags on oreo
[Android General] napolionnardo:
The same thing happens to me, what's more, what I did is deodexing everything and integrating it to the rom and installing it from scratch.

---------- Post added at 01:17 PM ---------- Previous post was at 01:11 PM ----------

I think I already found the problem, I think I'm using modified services.jar and not the original deodexing. Could it be that?
[Android General] Er. Aditya:
i have no idea but i know there is some patch that fixes the issue
[Android General] napolionnardo:
And what will that patch be?

---------- Post added at 01:25 PM ---------- Previous post was at 01:24 PM ----------

I am using the ROM of both of them, which is the most stable. My device is a Note 8
[Android General] Er. Aditya:
do u feel lag ?
[Android General] khanhesham:
https://pastebin.com/iEUVp9TG

Sir [MENTION=4315551]Ticklefish[/MENTION] can you point me how to fix these odex and vdex files automatically not being deleted even after deodexing

/app

/framework

/priv-app

/vendor/app

/vendor/framework

please go through the log there are 2 errors, help me fix it

i'm deodexing rom of sony xperia xzs dual oreo 8.0 october patch 2018
[Android General] napolionnardo:
Personally, I do not throw any errors just by integrating it into the ROM or flashing the if created by TOAD makes me totally lags my Note 8
[Android General] ShaDisNX255:
For all saying that there is LAG on Oreo, you can try this:

https://xdaforums.com/showpost.php?p=76579292&postcount=140

Or the way I had fixed it before was, let it boot normally odexed

Flash ZIP with deodex files

Let it boot normally and start noticing the lag

Reboot to recovery and wipe Dalvik cache and cache partitions

Done

This had worked for me before, but I don't know if it will work for everybody
[Android General] Ticklefish:
I've just uploaded a Work-In-Progress copy of version 3.0.0.0. to the downloads tab.

This takes a different approach to deodexing your files and creates a flashable ZIP that only contains the APK's and JAR's that TOAD was able to process. Only those files are copied across when you flash the ZIP, which means any library files are completely untouched.

Which should stop any symlinks from being broken.

Which should help reduce the number of errors experienced when running a deodexed rom.

The ZIP file is also smaller as well, which is never bad. And the deodexing process is now slightly faster, but only slightly so don't get too excited about that part.

This is a work-in-progress because I haven't been able to test this on a device yet. I don't have any rooted devices I can try it on (I'll be upgrading in a few months and I'll get a new handset then). Everything seems to work, I just need a live test.

Or somebody to test it for me...

Version 3.0.0.0 only works on API 23 (Marshmallow 6.0) and up. I'll be adding code for older versions soon - they just take time to do!

Give it a try and let me know what you think!

This may be because a patch is needed, or similar, but it's worth trying something I mentioned just a few sentences ago..

You have one VDEX that is malformed and another that has a bad checksum. There's not much I can do to fix that, sadly. These have been made by Sony themselves, so they're the ones who could fix the issue. But I doubt they will.

You could try building your own versions via AOSP perhaps? I'm not an expert at doing that though, so I can't help much.

I took a quick look at that thread, saw that Samsung are doing strange things to their roms again, and shook my head in despair. Keeping up with that company has been a headache ever since I started modding..
[Android General] ShaDisNX255:
Samsung just want to feel special :3

lol

I know it must be really hard for you, specially because your tools cater to all brands and when one feels like a special little snowflake you have to try to keep up, otherwise you get a whole bunch of "Sir your tool doesn't work sir, please fix"

:rolleyes:
[Android General] napolionnardo:
Will this new version work for deodexed ROM Note 8?
[Android General] kevintm78:
Hey buddy! I think this is the patch from [MENTION=4688377]russel5[/MENTION] that's supposed to fix the lag in oreo.
[Android General] DaRdamnDoG:
I have problem clicking on the answers to reply you in the Command Prompt, are you able to help? I was spamming on the YES but it gave no reaction. TOAD v3.0.0

Here are the screenshots of the log, and the cmd showing; 'mode' is not recognizable as an internal or external command, operable program or batch file.

EDIT: Sorry, didn't see that 3.0 only supports Android MM.

EDIT: I downloaded 2.0 still can't click on the answer :(
[Android General] Ticklefish:
It's tricky but that's the challenge I've set myself. I want TOAD to work on as close to every device and rom as it can, that's why I've designed it the way I have so it can be easily updated. But there'll always be somebody who does things differently and causes trouble..

Should do, yes. Make a backup, give it a try and let me know what happens.

TOAD uses the 'mode' command to display the title..

set Display_Title_temp=%2
set /a Display_Title_temp+=%TOAD_TitleLines%
[color="red"]mode[/color] con:cols=%1 lines=%Display_Title_temp%
echo.
echo. oO^)-. The
echo. /__ _\ Open-Source
echo. \ \^( ^| Android
echo. \__^|\ ^{ Deodexer
echo. ' '--'
echo.
echo.
echo.
exit /b

You should have 'mode.com' in your PATH somewhere. Mine's in the same folder as 'attrib.exe'. I've attached it in a 7z file. If you don't have this file on your PC, you could extract mine and put it in the same folder that you've got TOAD in. That should solve the issue.

And, yes, version 3.0.0.0 only supports MM and above for now, but I'll be adding files for earlier Android versions soon.
[Android General] DaRdamnDoG:
[MENTION=4315551]Ticklefish[/MENTION] i believe the download server for the site is down now, all attempts to download failed.

& yes I do have mode.com in C:\Windows\system32 & x86 folder.
[Android General] Ticklefish:
I've just tried the download link and it works fine for me.

Your PC isn't detecting your mode.com file for some reason. Are those folders in your PATH? It's worth checking your environment variables to be sure.

Or does putting the file I shared into the TOAD folder work?
[Android General] DaRdamnDoG:
I did not download it, the PATH worked after I edit the regedit and reboot my PC. TOAD is back in action. :D Thanks.

EDIT: However, there is an issue, although it does not concern me. The .zip file at the end had no app/app folders in it. There's just META-INF and system.
[Android General] Ticklefish:
Damn. Could you share your files please? I'll try them on my setup and see if I can work out what's going wrong.
[Android General] DaRdamnDoG:
Say what? You mean the whole stack of /system? Thats roughly 800mb, 700mb after deodexed lol.

Atm theres only 2 deodexer thats really working for me, Lordroid's & another on device deodexer. I tried Fulmics, SVA Art Deodexer, Joeldroid & couple more but they dont work.
[Android General] ionutcruso:
i'm on 32 bit and i tried 32 bit version but log said: 'This version of C:\TOAD\Tool_Files\vdexExtractor.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.'
[Android General] Ticklefish:
No, I'd only need the folders that TOAD uses. They would be fairly large, yes.

Can you share your log text please? I can always see if I can download a folder dump from somewhere if needed.

It looks VdexExtractor can be made for 32bit computers. I'm not really sure how to do that though. Anybody here good at building things from GIT?
[Android General] DaRdamnDoG:
Those 3 folders and build.prop itself costed 1.5GB.

EDIT: I had just refix my PC, my registry edit and environment variables were fried. I'll deodex again and attach the log here soon.

View attachment LOG.txt

Here's the log from the session I just managed to make.

___________________________________________________________________

Although I mentioned that SVA and Lordroid's tool were 100% successful in deodexing, as you can notice in my screenshot that there are slight difference in total size with same amount of files. What I suspect is SVA may not have zipalign feature therefore the finished product do have some disadvantages from Lordroid's, however Lordroid's tool is deprecated anyway.
[Android General] Ticklefish:
Which version of TOAD were you using? Is this the latest one?
[Android General] napolionnardo:
Hi how are you? I tell you something that is important to me. I'm tested your program and it's perfect, I'm creating my custom rom and at the time of installation it's perfect but at the very beginning it has a lot of lag, it's just that I stand out as bad as it is root and the other applications work well but with too much lag. Look, for me to have little lag I had to restart the device 3 times and then the lag goes away a little. I hope you can help me. From already thank you very much

---------- Post added at 03:42 AM ---------- Previous post was at 03:41 AM ----------

I am using the new version 3.0.1.0.

---------- Post added at 03:45 AM ---------- Previous post was at 03:42 AM ----------

The previous version, that is, beta 3.0.00, only deodex the framework folder and the others do not, that is, the app and priv-app folder, not the deodex

---------- Post added at 03:46 AM ---------- Previous post was at 03:45 AM ----------

Now I'm going to try the new version you released on the 13th of this month to see deodex all the folders

---------- Post added at 03:48 AM ---------- Previous post was at 03:46 AM ----------

I really love this program, it's the simplest thing I've seen. Thank you very much and if you can help me, I appreciate it. My device is a Samsung Note 8 exynos
[Android General] DaRdamnDoG:
Didnt you tell me latest is for sdk23, mine is 22 so no I was using the earlier one.
[Android General] DaRdamnDoG:
Another attempt earlier

101 failed out of 255, this is using the latest patch 3.0.0, 32 bit.

Here's the log. View attachment LOG.txt

Here in this .zip file there are logs from Lordroid & SVA as well, I used them as well to make comparison. Please have a look, it could be problem on my side (PC probably) for the failure.

View attachment lordroid_sva_logs.zip.

Thanks a million.

EDIT: Here's the log for another version of Lordroid's which I attempted, the only failure was to deoptimize boot.oat.

WEIRD!

View attachment lordroid_v2.zip
[Android General] napolionnardo:
The same thing happens with the latest version and with this version
[Android General] darkvadd7:
Hi, I'm trying to deodex my rom (I'm on /e/), but it doesn't working, here's the log :
[Android General] Ticklefish:
I'm going to take a look at the code tonight in between wrapping presents.
[Android General] DaRdamnDoG:
Sir Tickle, what would be the best method to implement the deodexed rom into device? I used your .zip which removes app/priv-app & framework, soon as the device reboots it keeps getting random app errors "Unfortunately XXX has stopped bla bla". This happens to apps with LIBs & have a GUI like GmsCore, Drive Chrome. Please tell me what to do.

Sorry for interrupting you preparing for Xmas.
[Android General] Ticklefish:
I've just uploaded v3.0.0.2 to the downloads tab. This has improved code for Android API's 26 and 27 (Oreo 8.0 and 8.1). It seems that I'd left in some code for dealing with Pie and that was stopping it from working. Because I'm a genius.. :rolleyes:

I've also updated the code for API's 21 and 22 (Lollipop 5.0 and 5.1). This should hopefully help more APK's deodex.

And I've put a line of code in that display the version number in the log file, which will help if people report a problem.

The latest ZIP files shouldn't delete the app, priv-app or framework folders - they should only delete the ODEX/VDEX files. This should stop issues with broken symlinks.
[Android General] DaRdamnDoG:
I've tried using the latest update, v3.0.02 (32bit) & the outcome is as shown in the screenshot. There were 215 fail counts so I believe there's about 100 files not deodexed. Also, the latest patch failed to detect my boot.oat which you can see in the screenshot below it's definitely there in the right path. Hope you are able to debug the issue. Thanks!

Not forgetting to provide you with the log too. I'm getting really frustrated of not being able to use the deodexed files (from other tools) as the zip flasher keep getting Error 6s, I tried to amend the updater-script but to no success too. I tried replacing the apk 1 by 1 but eventually some random app just happen to **** me up nicely with an FC.

View attachment LOG.txt
[Android General] Captain_code-X:
Question

I will give this tool a try and report back. Using an Oneplus 6T on the latest Oxygen OS (9.0)
[Android General] Ticklefish:
I'm taking a new run at this with a folder dump I found online. Let's see what I can sort out.
[Android General] napolionnardo:
Perfect
[Android General] Ticklefish:
Right, I've fixed the issue with boot.oat not being found. It puzzled me for a while before I realised what was going wrong...TOAD was looking for "boat.oat" instead. Whoops..

22.bat should now deodex as many files as oat2dex can handle. I'm using the most recent version of the tool but there may be files that it struggles with. There's nothing I can do with those files, you'll need to talk to oat2dex's developer here: https://github.com/testwhat/SmaliEx

As for the error 6 messages you're getting, that could be related to a syntax error in the updater-script. If you're still getting it, could you share the file please? This could be just a case of a typo somewhere. A bit of a headache to find, but shouldn't be a problem.
[Android General] DaRdamnDoG:
Merry Xmas sir!

EDIT: Utter devastation.

View attachment LOG.txt
[Android General] edzamber:
[MENTION=4315551]Ticklefish[/MENTION],

Working great on PIE except thèses 2 frameworks files

Processing file 103 of 103 - "Your_Files\framework\arm64\boot.oat\/system/framework/core-oj.jar"

[ERROR] [8148] 2018/12/27 14:46:39 (utils.c:118 utils_init) Couldn't stat the input file/dir 'Your_Files/framework/arm64/boot.vdex': No such file or directory

[FATAL] [8148] 2018/12/27 14:46:39 (vdexExtractor.c:159 main) Couldn't load input files

Processing file 15 of 103 - "Your_Files\priv-app\GoogleExtServices\oat\arm64\GoogleExtServices.vdex"

[INFO] Processing 1 file(s) from Your_Files/priv-app/GoogleExtServices/oat/arm64/GoogleExtServices.vdex

[INFO] 1 out of 1 Vdex files have been processed

[INFO] 0 Dex files have been extracted in total

[INFO] Extracted Dex files are available in 'Tool_Files'
[Android General] Ticklefish:
Thank you! I hope you had a great Xmas day and it wasn't as crazy as mine (3 very excitable children going completely insane).

I'm back at work, during the sale period, but I still have the occasional spare minute or two for xda stuff.

It looks like oat2dex.jar (the program that does all the actual deodexing for 22.bat) is having trouble processing some of the classes in some of your ODEX files.

Unfortunately there isn't much I can do about that. TOAD is using the latest version of oat2dex available from the tool's GitHub (https://github.com/testwhat/SmaliEx). It's not impossible that an older version might have more luck so you're more than welcome to try that.

Interesting. Could you possibly share your framework folder and build.prop please? This may just be a simple typo.

As for your GoogleExtServices.vdex issue, it looks like vdexExtractor wasn't able to extract the relevant information. It may be worth mentioning this to the dev for vdexExtractor here: https://github.com/anestisb/vdexExtractor
[Android General] edzamber:
Here a zip file ?

https://mega.nz/#!fwV2gQTQ!XHBKBSrCcLJfWccTJoq-70-oSpC50kSS7H31AleqzyA

Request

Do you think its possible that TOAD give us symlinks in a text file when deodexing ?
[Android General] Bracher:
Good evening sorry for my question but has anybody managed to extract Toad on a Windows 7 PC, my antivirus program (Avira) does not allow to extract the .exe file I tried several times but without success. What's the problem with this .exe program?
[Android General] dhacke:
Deleted
[Android General] Ticklefish:
Ooookay, that's peculiar. Your boot*.vdex files are all in the framework folder. Normally they're kept in "framework/arm64" (or "framework/arm"), but here they're in just "framework". That's why TOAD can't find them.

I can make TOAD search for the files in the framework folder but that's starting to make things more complex than they need to be.

So I'm going to do a test tomorrow with moving those files manually into the normal folder and seeing if TOAD can process them. Sadly, it'll have to be tomorrow as I am insanely busy at work.

But I work in retail and I get paid commission so busy is good!

That's probably to do with the way the EXE is constructed. There's no malware in it but some antivirus programs don't like batch files being turned into EXE files for some reason. It's a false positive and you just need to tell your antivirus to ignore it.

If you believe me, of course. If I wanted to put malware onto your PC, that's exactly what I would say. If you're concerned, don't take any chances and make sure you backup your important files!
[Android General] edzamber:
No problem bro, take your time and happy New year [emoji4]
[Android General] Ticklefish:
Happy New Year to you too!

I've tried moving all the "boot*.vdex" files into "framework/arm64", which is where they are normally, and TOAD ran without any trouble.

I have made a slight tweak to 28.bat so I've just uploaded a new version to the downloads tab.

Regarding symlinks, from what I understand the library files (in the "app\whatever\lib" folder) are often symlinked to a file in the data partition. What some deodexing tools do, and what TOAD used to do, is delete the entire app folder and replace it with a new, deodexed version. This breaks the symlinks so you have to redo them manually. There's no easy way to automate this because the original files could be anywhere.

So Version 3 of TOAD does things differently. It only deletes the odexed APK file, along with the relevant "arm" or "arm64" folder. The "lib" folder isn't touched, so the symlinks are still intact.

In theory.

If I've understood how symlinks work.

Like I said in the OP, I'm not an expert.

Hopefully this answers your question but if it doesn't, or if I've got things wrong, let me know!
[Android General] napolionnardo:
Hello, and happy new year! I need to ask you something, is there any way you can do with TOAD so that by doing the rom with the files that TOAD deoxi does not have so much lag?

---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------

If he could do it his job would be perfect
[Android General] Ticklefish:
Well, that depends what's causing the lag on your rom. If we know that then I can see if the code can be adjusted to stop it.
[Android General] napolionnardo:
It is that to leave the lag I have to restart it several times
[Android General] DaRdamnDoG:
Here's a really weird scenario I am having, if I flash the stock deodexed rom with full apps as it is it will be able to boot up, however if I move one or few apps away it will get bootloop. Geez.
[Android General] Ticklefish:
When you say you're moving apps away, what precisely are you doing?
[Android General] jesvi:
COOL !!
[Android General] Ticklefish:
Thank you!
[Android General] khanhesham:
all the latest 3.x.x versions of TOAD just gives fc in my windows 10 configured with java sdk 8u191, i don't know how to create fc logs in java

the rom i'm trying to deodex is of xperia xzs 8.0 oreo rom december patch 2018

watch how it force closes down here

https://vimeo.com/user93636610/review/309939077/86e2b59d46
[Android General] Ticklefish:
The link's not working, sorry. Are you able to reupload?
[Android General] meedeetwo:
What does it mean.?
[Android General] Ticklefish:
It means the antivirus thinks there are viruses in the program.

I talked about this a few posts ago here: https://xdaforums.com/showpost.php?p=78559794&postcount=287
[Android General] khanhesham:
https://www.youtube.com/watch?v=mMIbIFzqvAw
[Android General] kevintm78:
Another user submitted Superr's program for being detected as a false positive and it seems to have made a difference in that case. I thought it might be a good idea here too just to ease some worried minds.

From the list in your picture I have submitted reports to avast, avg, and dr. web. Jiangmin apparently no longer has an active website or a way to report false positives. With ikarus, the way I understand it, you have to install that program to submit and I just wasn't really down for that, but if anyone has that program installed it appears to be a simple process. With Cat-quickheal I can get to the proper place to report but my internet keeps timing out when I try to submit. Maybe someone else has better luck with that one.

Contributors List for VirusTotal

CAT-quickheal false positive submission form

Ikarus' FAQ page- This one might be easier then I'm making it out to be but the website is German and my brain can't seem to handle that at the moment.
[Android General] meedeetwo:
I knew that there were no viruses. I just always do it.

Installed your utility. And lo and behold, she deodexed 9 pie. What I have been looking for. Thank you for this wonderful program. :good:
[Android General] khanhesham:
[MENTION=4315551]Ticklefish[/MENTION] ??
[Android General] khanhesham:
the program is working fine with xiaomi redmi note 5 pro rom oreo 8.1 but crashing when any xperia oreo rom is placed in "Your_Files".
[Android General] Ticklefish:
Thank you! I really appreciate your help with this!

That is exactly what I like to hear. It's good to know that this project of mine is working and helping people.

I did reply to your previous post...

If it's crashing when you use files from another rom we'll need to work out what the difference is. If it's an 8.1 rom the code is probably not the problem but there will be something about the rom files.

I have a suspicion about this. Could you share the build.prop file please?
[Android General] vofferz:
[MENTION=4315551]Ticklefish[/MENTION]

I get just ") was unexpected at this time." when I try to run TOAD (both 3.0.0.4 and 3.0.03) with framework and build.prop from Sony Xperia XZ1 Compact, Pie.

Nothing else happens (but the background of the cmd window turns gray).

Also: Microsoft Security Essentials thinks that TOAD.EXE is malware.
[Android General] Ticklefish:
Can you share your framework folder and build.prop please?
[Android General] kevintm78:
Here are the screen shots of the response I got from three of the virus detection services that were flagging TOAD as mal-ware. The results were as expected, but since this topic comes up from time to time I thought it wouldn't hurt to for people to see it for themselves.
[Android General] khanhesham:
here's the build.prop from xperia xzs 8.0 oreo rom

https://pastebin.com/Aje2mhTZ

---------- Post added at 06:11 PM ---------- Previous post was at 06:06 PM ----------

[MENTION=4315551]Ticklefish[/MENTION] i'm using xperia stock rom with no additional files from another rom but it crashes when the original xperia xzs 8.0 rom is placed..