I read somewhere that Google has changed the system used for the standard update zip file.
Therefore you have to convert some .dat files to .img files and .img files to a standard readable folder.
This I understand, however how do I reverse the process above to get back to the .dat file and get a lolipop compatible flashable zip?
Can I create system.img from firmware? I see in the firmware zip there is folder system that contain files and folders like the system.img.
How can I create system.img with that folder in firmware zip?
Sorry for my poor Enfglish.
Hello. I created a backup of my system files in TWRP but when I want to extract them on PC, 7Zip give me this error: "Cannot open output file" and only extract a few files. I tried renaming the files but doesn't works. I have two files, system.ext4.win000 and system.ext4.win001. EXT4 unpacker does not working. Any way to extract them?
I accidentally deleted DefaultContrainerService.apk and now I can't install apps. Can someone tell how can I extract system.img.ext4 to get it back?
I think Android Kitchen can do that.
Sent from my GT-I9060I using Tapatalk
7-Zip
7-Zip cannot read .img.ext4 files. I used program called sgs2toext4 and now the file is .ext4.img and 7-Zip can read it but it can't extract any .so files. I need to get libdefcontrainer_jni.so from /system/priv-app/DefaultContrainerService/lib/arm.
PetteriM said:
I accidentally deleted DefaultContrainerService.apk and now I can't install apps. Can someone tell how can I extract system.img.ext4 to get it back?
Click to expand...
Click to collapse
Use for that the EXT2 unpacker tool,
https://androidfrog.com/5gt67f
Select Package and then the directory where you want to extract it.
Doesn't work. It can't save that .so file.
same problem here, i try to extract cache.img from S8 firmware (G950FXXU1AQJ1/G950FOXM1AQJ1/G950FXXU1AQJ1/G950FXXU1AQJ1 , 20171018104053) . using ImgExtractor 1.3.7 it extracts , but the extracted zip cannot be opened by any program, with ext4_unpacker (after i fix the img header 4 bytes using sgs4ext4fs) it gives 'list index out of bounds' when i try to extract the zip, using CacheRipperUX it extracts the zip from img but when i try to open the zip using 7-zip it only sees a few files, when i try to open with Winrar it sees full list but cannot extract any of them because it give archive corrupted.
i found a solution: convert the original cache.img (samsung sparse ext4) to raw ext4 using simg2img , and the resulted .img file open with 7-zip and extract the content. My zip content was extracted correctly.
Is there any app for android which can extract .img files like system.img?
hello, i used WindowsLGFirmwareExtractor to extract a kdz file to a dz file. then i merged into a system.img file. then opened that file in ext2explore. there is an app folder with all the apps in it. what i would like to know is first, can i delete the apps i dont want, and second, re-create a kdz file and flash that. and how do i make a new file to flash? would i delete the whole folder, or just the apk inside the folder?