So, as many of you have probably seen, Sony is using a new file that stores all odex files, called "odex.sqsh".
The files in the "arm" folders of the apps are actually just symbolic links to the odex files that are in the mounted folder "odex" in system's root.
So, we must replace those symlinks with their target files. But how to extract those odex files from "odex.sqsh"?
Here's how:
SquashFS (extension "sqsh") is a compressed read-only file system for Linux, which supports file/folder permissions and is SELinux-compatible.
To extract it, you need a special tool, called SquashFS Tools.
WINDOWS:
1) Download SquashFS Tools 4.3
2) Extract the ZIP to any folder; browse to the extracted "squashfs_tools" folder.
3) Move "odex.sqsh" to the "squashfs_tools" folder.
4) Inside that folder, SHIFT + Right-click. Select the "Open command window here" option from the menu.
5) In the Command Line, write:
6) All the odex files will be inside the "squashfs-root" folder; just move them to the "system" folder and replace the existing files.
7) Use a batch deodexer to quickly deodex the ROM, like JoelDroid Lollipop Batch Deodexer.
Done!
LINUX:
1) Move "odex.sqsh" to Home folder.
2) Open Terminal.
3) Write.
4) All the odex files will be inside the "squashfs-root" folder; just move them to the "system" folder and replace the existing files.
5) Use a batch deodexer to quickly deodex the ROM (personally I don't know about available Linux tools).
Done!
NOTE: Some apps might fail deodexing (about 2 apps) but that's a problem with oat2dex implementation.
The files in the "arm" folders of the apps are actually just symbolic links to the odex files that are in the mounted folder "odex" in system's root.
So, we must replace those symlinks with their target files. But how to extract those odex files from "odex.sqsh"?
Here's how:
SquashFS (extension "sqsh") is a compressed read-only file system for Linux, which supports file/folder permissions and is SELinux-compatible.
To extract it, you need a special tool, called SquashFS Tools.
WINDOWS:
1) Download SquashFS Tools 4.3
2) Extract the ZIP to any folder; browse to the extracted "squashfs_tools" folder.
3) Move "odex.sqsh" to the "squashfs_tools" folder.
4) Inside that folder, SHIFT + Right-click. Select the "Open command window here" option from the menu.
5) In the Command Line, write:
Code:
unsquashfs -no-xattrs odex.sqsh
7) Use a batch deodexer to quickly deodex the ROM, like JoelDroid Lollipop Batch Deodexer.
Done!
LINUX:
1) Move "odex.sqsh" to Home folder.
2) Open Terminal.
3) Write.
Code:
sudo apt-get install squashfs-tools
unsquashfs -no-xattrs ~/odex.sqsh
5) Use a batch deodexer to quickly deodex the ROM (personally I don't know about available Linux tools).
Done!
NOTE: Some apps might fail deodexing (about 2 apps) but that's a problem with oat2dex implementation.
Last edited: