[Q] How can I view and edit .rfs and .img files(Android)? - General Questions and Answers

Hi all,
Is it possible to edit an .rfs or .img file?
I downloaded a ROM for my Samsung Galaxy S from samfirmware, I extracted the file and I found inside 6-7 files like boot.bin, factoryfs.rfs, cache.rfs, param.lfs etc.
Also some ROMs I downloaded doesn't have .rfs files, instead they have .img files.
Im using Ubuntu and Windows 7.
How can I access and edit those files?
Thanks!

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Anyone? Im sure someone knows!

kalpet89 said:
Hi all,
Is it possible to edit an .rfs or .img file?
I downloaded a ROM for my Samsung Galaxy S from samfirmware, I extracted the file and I found inside 6-7 files like boot.bin, factoryfs.rfs, cache.rfs, param.lfs etc.
Also some ROMs I downloaded doesn't have .rfs files, instead they have .img files.
Im using Ubuntu and Windows 7.
How can I access and edit those files?
Thanks!
Click to expand...
Click to collapse
I use MagicISO to view/extract .rfs files.

Magic ISO works only on 'untouched' RFS images.
If the FS get defragmented, it will not works anymore...
...that's why you cant read /data and /cache rfs images (they got written and writtena nd written...)
There is a solution ALWAYS working ?

Related

[Q] XXKG5 files for ODIN

Hi,
I need help from kind heart people in this forum if they can help to re-packaged the XXKG5 files from xda-developer into ODIN flashable files like example
CODE_I9100XXKG5_xxxxxx.tar.m d5
MODEM_I9100XXKG5_xxxxxx.tar.md5
GT-I9100-CSC-xxxxxx.tar.md5
I have downloaded the XXKG5 files from xda-developer BUT the package contains files like boot, cache, factoryfs, hidden, modem, param.lfs, sbl and zImage of which I cannot flash with ODIN.
Any help would be greatly appreciated as I would like to have XXKG5 on my SGS2.
Thanks.
i guess you extract the .tar file don't you? just double click 7e file that you originally download and use the extracted file as it is. do not need to extract once again.
prydoxs said:
i guess you extract the .tar file don't you? just double click 7e file that you originally download and use the extracted file as it is. do not need to extract once again.
Click to expand...
Click to collapse
I didn't. Yes I extracted the first compressed file dowloaded. Then all I get are the files like in Image 1. Since Odin cannot flash the compressed file in Image 1....IF I extracted the compressed file in Image 1 then all I get are the files like in Image 2...
As you can see, either way I can't flash with Odin.
If you downloaded from xda it shouldntt look like that.You only need to double click on the file and it extracts.if you didn't download from here then here it is
http://forum.xda-developers.com/showthread.php?t=1075278
Read the first notice part about extracting the file to make sure you understand clearly.

[Q] Problem with flashtool extracting firmware?

Hello! Before posting, i search this forum but not found nothing understandable. I wont to modify .ftf file of sony xperia e single sim, edit some apps and repack in fleshable ftf again, but i have some problems. Ok i'm doo next:
1. Extract flashtool via winrar.
2. Copy system.sin to flashtool directory and extract with sin editor, and get 2 files system.ext4 and system.partinfo, but with flashtool only possible to extract yaffs2 files. 3. Here is big problem, i tryed menny softwares for opening ext4 images in windows, but only ext2 exploer can modify this files, but totaly inaccesible with screen readers like as jaws.
4. I found some tutoryals for mounting in linux but i can not understand linux commands as well, for example did i must know exactly syze of system partition to mount ext4 image, maby exist some gui program for linux from wich can mount end edit ext4 images?
Finally, does possible making flashable img or ftf file for sonny phones for custom roms? For example, easyer to me is flashing custom roms via fastboot, because in some situations for cm recovery i need sited assistance.
Thanks, and best regards.
iksi said:
Hello! Before posting, i search this forum but not found nothing understandable. I wont to modify .ftf file of sony xperia e single sim, edit some apps and repack in fleshable ftf again, but i have some problems. Ok i'm doo next:
1. Extract flashtool via winrar.
2. Copy system.sin to flashtool directory and extract with sin editor, and get 2 files system.ext4 and system.partinfo, but with flashtool only possible to extract yaffs2 files. 3. Here is big problem, i tryed menny softwares for opening ext4 images in windows, but only ext2 exploer can modify this files, but totaly inaccesible with screen readers like as jaws.
4. I found some tutoryals for mounting in linux but i can not understand linux commands as well, for example did i must know exactly syze of system partition to mount ext4 image, maby exist some gui program for linux from wich can mount end edit ext4 images?
Finally, does possible making flashable img or ftf file for sonny phones for custom roms? For example, easyer to me is flashing custom roms via fastboot, because in some situations for cm recovery i need sited assistance.
Thanks, and best regards.
Click to expand...
Click to collapse
I have looked around to repack an extacted system.sin but never found how to do it. To dump the ext4 img just use ext2 explorer after it has finished extracting & loading click save in the toolbar and choose the folder where you want to save it.
gavster26 said:
I have looked around to repack an extacted system.sin but never found how to do it. To dump the ext4 img just use ext2 explorer after it has finished extracting & loading click save in the toolbar and choose the folder where you want to save it.
Click to expand...
Click to collapse
hello! I can't found ext2 explorer, i only found ext2explore, but this software is totaly unusable for me, don't works with screen readers.
P. s. whats your problem when you try making system.sin?
iksi said:
hello! I can't found ext2 explorer, i only found ext2explore, but this software is totaly unusable for me, don't works with screen readers.
P. s. whats your problem when you try making system.sin?
Click to expand...
Click to collapse
There's no tutorial on how to build one or a tool. Not for windows anyway.

Need N8000 Multiple files

Hi all,
Can anyone pls point me to download N8000 Factory Firmware with all files:
CSC, CODE, MODEM (and maybe BOOTLOADER also) and PIT.
Possibly also that of i8190 - Galaxy S3 mini
Thanks in advance
http://samsung-updates.com/device/?id=GT-N8000
http://samsung-updates.com/device/?id=GT-I8190
Which file?
There are too many files on those links and im sure most of them will be 1 single file (md5 or tar)
But what I need is the complete 3 or 4 files with PIT.
Do you know which ?
Sammobile.com have a look also look at the PIT file post here some place .
Your post should be in Q&A its not development .
dannyogolo said:
There are too many files on those links and im sure most of them will be 1 single file (md5 or tar)
But what I need is the complete 3 or 4 files with PIT.
Do you know which ?
Click to expand...
Click to collapse
You can use Heimdall to extract your PIT, just put your device in download mode and go to utilities -> detect; then press download.
For the files, just extract your .zip file, rename the .tar.md5 as .tar, and if you have 7z installed you can extract this file.
You'll find the files you need.

[Q] How to extract build.prop from system.img

I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
Try the tools in this thread . I used them last week to extract a build prop.
Just load up the system.IMG and drag the file from the system folder to your desktop.
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
The tar file for Cricket has already been posted in the general section of ATT
Sent from my SAMSUNG-SM-G920AZ
daniel4653 said:
The tar file for Cricket has already been posted in the general section of ATT
Sent from my SAMSUNG-SM-G920AZ
Click to expand...
Click to collapse
I already downloaded that file.... I just need to extract the build.prop from the system.img which I already have. The thing is I am having trouble getting the build.prop
Sent from my SAMSUNG-SM-G920AZ
gmx1994 said:
I have the stock rom for the Galaxy S6 Cricket variant... I am having trouble in getting the build.prop from the system.img. I have tired many methods from other threads but none seem to work. Any suggestions or working ways to extract the build.prop from the system.img or any way to open up the .img file.
I am doing this to post the rom in the ROM WIP section for the root.
Click to expand...
Click to collapse
I got your PM. Sorry for the late reply. I'm posting here in case someone else needs the info.
Download Ext2explore.
Extract to your PC.
Run as administrator.
In app: go to file - open image - (find your system image) and open
It will display your image in tree and folder view
Use either one (depending on your preference) (but your build.prop will be in the first view as its in the root of the system).
Right click the file/s you want to extract
Select save
Save your file.......profit
Hope this helps
tiboric said:
I got your PM. Sorry for the late reply. I'm posting here in case someone else needs the info.
Download Ext2explore.
Extract to your PC.
Run as administrator.
In app: go to file - open image - (find your system image) and open
It will display your image in tree and folder view
Use either one (depending on your preference) (but your build.prop will be in the first view as its in the root of the system).
Right click the file/s you want to extract
Select save
Save your file.......profit
Hope this helps
Click to expand...
Click to collapse
When I try to open the file the program just closes and i go to the log and this is what it says.
Error Opening \\.\PhysicalDrive1. Error Code 2
No of disks 1
Scanning \\.\PhysicalDrive0
index 0 ID 7 size 976769024
Partition Table Error on C:/Users/giovany/Desktop/New folder (2)/system.img
Invalid End of sector markerBad Super Block. The drive is not ext2 formatted.
Drive is not right formatted.
solution for img extraction/fix here

how to unpack and repack files android.img

i want to edit android .img but i do not know what tools used i've tried some tools but can not for repack if for unpack it can
and I also want to edit some bin files in the fimware folder that I downloaded
is there any application to edit android.img file and .bin file?
or is there a way to edit the file?
Thank you in advance
lutfi53 said:
i want to edit android .img but i do not know what tools used i've tried some tools but can not for repack if for unpack it can
and I also want to edit some bin files in the fimware folder that I downloaded
is there any application to edit android.img file and .bin file?
or is there a way to edit the file?
Thank you in advance
Click to expand...
Click to collapse
Same problem here, the tool I use easily unpacks .dat file but can't repack .img to .dat! So wierd but the problem is with nougat/oreo. You found any solution?

Categories

Resources