FORUMS
Remove All Ads from XDA

[Q] How to make a system folder into a system.img

6 posts
Thanks Meter: 0
 
By matthewtelee, Junior Member on 21st December 2011, 10:12 AM
Post Reply Email Thread
Hello XDA, I'm kind of new to ROMs etc. and would appreciate some help. I am trying to install mikegapinski's 2.3.7 ROM (v5) through fastboot and whereas in the past I have seen a boot.img and a system.img, there is a boot.img and a system folder. Is there a way to make the folder into a system.img file that I could flash onto my GT540?

In short, how do you make a system.img file out of a folder with system files in them?
 
 
21st December 2011, 11:38 AM |#2  
-Grift-'s Avatar
Senior Member
Flag Singapore
Thanks Meter: 2,009
 
More
hey there !

(system.img + boot.img) is for fastboot
fastboot flash boot boot.img
fastboot flash system system.img


and the (system folder + boot.img) is for recovery
use any recovery
select zip from sdcard
select the zip

i dont think you can convert the folder to a .img(or the other way around) . and if the rom you are talking about mike's aosp v5 then i wont recommend it as for now there are problems with the ram and so it becomes very laggy. i would recommend mur4iks swiftdroid asis but the choice is yours
21st December 2011, 09:46 PM |#3  
jhonnyx1000's Avatar
Senior Member
Flag Auckland
Thanks Meter: 84
 
More
I know you can 'extract' images using 'unyaffs' but I never made an image from a folder (except when dumping partitions). I think there is a way though.
22nd December 2011, 08:52 AM |#4  
tejasjadhav's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 292
 
Donate to Me
More
If you have Linux on your PC, then you can use the 'yaffs' tool. Search it on Google.
This is how even AOSP compiles system folder into system.img

Sent from my LG GT540 Swift using XDA App
23rd December 2011, 11:32 PM |#5  
Senior Member
Flag Barrow-in-Furness
Thanks Meter: 164
 
Donate to Me
More
I list found this. Should work!

http://db.tt/ROQSWTW6

Sent from my LG GT540 Swift using Tapatalk
6th September 2012, 03:31 PM |#6  
Junior Member
Thanks Meter: 1
 
More
can someone please help me to make system.img from system extraxted folder.
my phone its dead and i can find right rom for it
allway hang on boot logo
Please
link for download
https://www.dropbox.com/s/c99ashouw0fb4hp/system.rar
PS
will if neeed no problem
6th January 2013, 07:01 PM |#7  
Edu_Renesto's Avatar
Junior Member
Flag Guarulhos
Thanks Meter: 35
 
More
Wink
I got it. If you use Linux, you can create an iso file of the system folder, and then convert it to .img. Just follow it:
In a terminal(CTRL+ALT+T):
Code:
 
mkisofs -o /path/to/the/system/folder ~/system.iso
dd if=~/system.iso of=~/system.img 
rm ~/system.iso
Your system.img will be on your home directory.
7th January 2013, 06:39 PM |#8  
hani93's Avatar
Senior Member
Flag Tartu
Thanks Meter: 22
 
More
and it work's too ? (when you flash it from fastboot)
16th January 2013, 08:22 PM |#9  
Member
Flag Akure
Thanks Meter: 6
 
More
Quote:
Originally Posted by y2yu

can someone please help me to make system.img from system extraxted folder.
my phone its dead and i can find right rom for it
allway hang on boot logo
Please
link for download
https://www.dropbox.com/s/c99ashouw0fb4hp/system.rar
PS
will if neeed no problem

pls if you find a solutuon please pm me. And do you think flashing the system.img will solve booting probz?
22nd July 2013, 02:23 PM |#10  
supermorph's Avatar
Junior Member
Flag widnes
Thanks Meter: 6
 
Donate to Me
More
Thumbs up suggestion
take a look at this url, and examine the zip file contained.

you could boot into cwm and install the zip (not suggesting, its what i did)
if u make a zip file in the same layout you could install your zip and it will update the system partition.

as you have a desire, heres whats required

on phone: place phone into fastboot mode


on computer: unzip to a folder , place the img file in such folder,
open a command prompt, (navigate to folder using the cd command)
and type: fastboot boot bravo-cwm.img

mount sd card, toggle usb storage, place your zip in root of sdcard.
then untoggle, go back, select option to install zip from sdcard.
choose select zip file.
find your zip.
tap on the file, and it will install...

you SHOULD by this point have an updated phone as you desired (lol)

if it does not work as you expected, have a look for a standard system.img for your phone, and put that into a zip
name the zip (i put it in caps, weather needed i dont know) PM99IMG.zip
place it into root of sdcard, and put phone into the first screen of recovery menu, the white screen.
it will analyze your zip and ask you to install, press up to flash and then the required option to reboot when its done to revert your phone back to normal.

hope this helps there buddy,
ill most likley forget to check back, so if u need any help pm me and ill see what i can do,
Attached Files
File Type: zip Fastboot.zip - [Click for QR Code] (404.5 KB, 926 views)
File Type: img bravo-cwm.img - [Click for QR Code] (3.18 MB, 923 views)
22nd September 2013, 04:54 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Is this working
Quote:
Originally Posted by Edu_Renesto

I got it. If you use Linux, you can create an iso file of the system folder, and then convert it to .img. Just follow it:
In a terminal(CTRL+ALT+T):

Code:
 
mkisofs -o /path/to/the/system/folder ~/system.iso
dd if=~/system.iso of=~/system.img 
rm ~/system.iso
Your system.img will be on your home directory.

HI Bro,

Is the output file system.img after flash into the rom?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes