Squashfs Utils for Xperia ROMs

olympusandy

Member
Sep 26, 2015
16
4
0
I have been looking to free up space in the ROM by reducing the size of the squashfs files in the System partition. These files contain ODEX files for some of the ROM packages. When pruning out some of these packages, the squashfs files are usually untouched, leading to wasted space. I have compiled the squashfs tools (a regular linux package) with the correct compression method for the xperia ROMs ('xz') in cygwin, together with a couple of cmd files with the correct parameters included for ease of use and the relevant cygwin support DLLs. These are latest versions as of 5th October 2016 and uses v4.3 of squashfs tools. This will allow you to:

1. Unpack the odex.app.sqsh, odex.priv-app.sqsh and odex.framework.sqsh files
- e.g. type: "unsq odex.app" to unpack odex.app.sqsh to a subdirectory called odex.app
2. Prune or add files to the folders (ensure you don't disturb the directory structure)
3. Repack the sqsh files
- e.g. type: "mksq odex.app" to pack file odex.app.sqsh from a subdirectory called odex.app

Download and extract the files from the following archive: https://drive.google.com/open?id=0B1H2QbfukxKxQmt1Umd3ZDc1elU
 

haonan12300

Member
Feb 15, 2019
12
3
0
Xi'an
hey bro,im using Z3C stock rom based android 6.0.
i repacked and replaced sqsh file(changed own 644) ,when i make factory reset,it cant boot up again(after boot animation,show a black screen,after a while,it restart automaticly...finally,i got any FC stopped...) ......canyou help me to solove this ?(im sorry for my poor english)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone