Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
LinkBack Thread Tools
Old April 8th, 2012, 08:46 AM   #1 (permalink)
Junior Member
Thread Author (OP)
kalpet89's Avatar
Join Date: Sep 2011
Location: Greece
Posts: 39
Device(s): Samsung Galaxy S
Carrier: Not Provided

Thanks: 5
Thanked 3 Times in 3 Posts
Default How can I view and edit .rfs and .img files?

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?


kalpet89 is offline  
Reply With Quote
sponsored links
Old April 8th, 2012, 09:52 AM   #2 (permalink)
Senior Member
Join Date: Feb 2011
Posts: 2,924
Carrier: Not Provided

Thanks: 486
Thanked 1,868 Times in 1,300 Posts

rfs and img are both system dumps so they make no difference
you cant edit rfs ordinarily .
You can mount as rfs as Fat in ubuntu and read/copy the files
editing them wont work at all .

you will need to compile rfs module in to the ubuntu kernel and then insmod and mount the rfs to edit it properly
in windows ,use Magic ISO to extract data from rfs fi;les (same reason ,rfs files can be mounted as fat )

However,You can edit rfs file in your phone by mounting the files in sd card using busybox( Samsung kernels have rfs module ....)
But instead of doing such a pointless ringamarole just use a CWM Rom and edit it

,much simpler ,more effective .

if the .img file has ext4 file system then you can edit them in ubuntu by loop mounting .
But I dont think samsung use anything but that laggy rfs ...
Tresezk is offline  
Reply With Quote
The Following User Says Thank You to Tresezk For This Useful Post:
kalpet89 (April 8th, 2012)
android, edit, how to, img, linux, rfs, sgs

Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 05:00 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.