Modifying stock rom - Galaxy Ace S5830 General

I am very interested in ROM developing, the problem is i am a beginner. I tried to look for some guides, but they are quite hard to find to be honest. If i would want to modify stock rom what should i do? Although i could not find it i thought this could be an option:
- flash stockrom through odin
- modify stockrom
- make backup and copy system.img
- in a flashable zip you have the system directory, but how do you obtain this directory from system.img, what program do i need? Simple mounting program poweriso didn't recognize the image. I thought it might be possible to directly extract the required files from the odin package, but not find a guide for this?

Use MagicISO to extract system.img
Sent from my GT-S5830 using Tapatalk

Use 7zip to extract system.img from odin's md5 file.
Sent from my GT-S5830 using Tapatalk

how about dsixda kitchen??
you know you are rooted when you use XDA more than FB

Dragonoid said:
how about dsixda kitchen??
you know you are rooted when you use XDA more than FB
Click to expand...
Click to collapse
dsiXDA kitchen should be used only to zip-align, deodex and repack everything to flashable zip. It isnt really good at extracting .img files (personal opinion).
Read ketut's blackhawk rom's 2nd post for more info about dsiXDA kitchen
Sent from my GT-S5830 using Tapatalk

Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.

acceleratus said:
Probably a dump question, but when i extract the md5 file i obtained only a boot.img file and a recovery.img file, system.rfs file and some other files. Where is the system.img file located? I can't load the .img files with magic iso.
Click to expand...
Click to collapse
Open magicISO. Click on open -> navigate to system.rfs. It will load up all folders inside system.rfs. Select all -> right click -> extract all
Sent from my GT-S5830 using Tapatalk

Use my guide to get a better understanding of roms.
Sent from my GT-S5830 using XDA

I'm interested in extracting a stock rom from my s5830i to computer
Can someone help me with that. I'm not a newbie

Related

How to extract .ftf file??

Any one know how? or how to add and remove a file in the .ftf in flashtools?
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
It's not an easy thing to add resources into .ftf file
Actually,Linux enviornment is required to pack the resources into .img file
But you may use Cygwin(HTC [email protected]) to help you do such things.
JasonStein said:
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
Click to expand...
Click to collapse
Thanks, now how do I repack it to .ftf ?
i need the same help
Unless you are modifying the baseband or kernel, it may be easier to make an xrecovery zip from system.img once you unpack and modify it however you want to.
Seems all 2.3.3 SE roms are on the same kernel/BB so if you're on the right ones already all you'll need is an xrec zip to build the rest. If you are on an older/different kernel/BB then Doomlord has an ftf package with just those 2 things & detailed instructions on how to get it going.
mistamikel said:
Thanks, now how do I repack it to .ftf ?
Click to expand...
Click to collapse
how were you able to unpack the .img file
I am able to extract the system.sin
then create a system.img with sin2img.exe, but when I try to unpack the .img file, unyaffs.exe only gives me stackfiles and not a new directory.
can you help with this, am I doing something wrong ?
if having trouble creating ftf try checking this thread out
http://forum.xda-developers.com/showthread.php?t=1363460
lol
why dont use 7zip?
JasonStein said:
1.Unpack .ftf file(as .zip or .rar) to get the file : system.sin
2.Use SIN2IMG.exe to transfer system.sin into system.img
3.Use unyaffs.exe to upack the system.img into resources you need
You can download SIN2IMG & unyaffs from the Internet
Click to expand...
Click to collapse
will this system.img be same as the system.img we get when we backup a stock rom in our phone after a fresh installation?am learning to make my own rom and i need the system.img.But i dont have the stock rom .
And can i create my own rom from system.img of any other custom rom instead of the stock rom itself
The great x10 developer championswimmer has a great set of tools for x10/Xperia kernels
http://forum.xda-developers.com/showthread.php?t=1659584
~Jaramie
from my LT28at rooted & eating an Ice Cream Sandwich
Probably the best guide with video instructions how to make GB ROM from .ftf file. Enjoy.
http://forum.xda-developers.com/showthread.php?t=1661770
neoxx3m said:
Probably the best guide with video instructions how to make GB ROM from .ftf file. Enjoy.
http://forum.xda-developers.com/showthread.php?t=1661770
Click to expand...
Click to collapse
Thanks for the links i already got guides to make my own rom.Am using dsixda' android kitchen and as the per the instruction given.For xperia x10
"First reinstall a Android 2.1.
Then root it.
Install a XRecovery.
Then backup it.
Now you will get system.img in backup folder."
My doubt is wether this backup should be dont with the stock rom itself or can i use an existing custom rom?And if it should be from stock rom then is it enough use the system.img file obtain by extracting ftf and then using sin2img?
VortexDK said:
how were you able to unpack the .img file
I am able to extract the system.sin
then create a system.img with sin2img.exe, but when I try to unpack the .img file, unyaffs.exe only gives me stackfiles and not a new directory.
can you help with this, am I doing something wrong ?
Click to expand...
Click to collapse
Check Out this thread,maybe it will help you
can some one please put a direct link to SIN2IMG & unyaffs, no links online work!!
staking said:
can some one please put a direct link to SIN2IMG & unyaffs, no links online work!!
Click to expand...
Click to collapse
Nobody?
especiallyl SIN2IMG ... the other is in the repository of ubuntu

Flashing zip Rom with Odin.

Hello. Is it possible to flash a zip Rom using Odin? I need to flash a zip.
Sent from my HTC Explorer A310e using XDA
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
a .tar.md5 is just a .zip renamed?
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
I don't understand. How do I create a .tar.md5 file with a flashable zip?
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
zapcow said:
a .tar.md5 is just a .zip renamed?
Click to expand...
Click to collapse
Do I use a program to convert zip to tar.md5 ????
Avilove.Cullen said:
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
Click to expand...
Click to collapse
Recovery or my Rom just isn't reading my zip file!
http://forum.xda-developers.com/showthread.php?t=1750960
This link gives some background to what I've already done...
What do I do after I make the zip into a tar file?
extract the zip via winrar or 7 zip and reveal its contents please sir
ajay8055 said:
extract the zip via winrar or 7 zip and reveal its contents please sir
Click to expand...
Click to collapse
Meta inf, system, boot.img and installbusybox
Sent from my HTC Explorer A310e using xda app-developers app
go to jaggys. rom thread following the tutorial unlock your bootloader and install the recovery after that install this zip via recovery. you can't install this zip via odin and you can't convert it to .tar. ....have a nice day sir any questions fell free to post here or ask Google
---------- Post added at 06:44 PM ---------- Previous post was at 06:37 PM ----------
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
you can't blindly do a .tar file of extracted files coz Odin wouldn't recognize it like Meta inf is a script for cwm not Odin the rom is packed in such a way that cwm installs it not Odin
Could I use fastboot? I am not having a nice day, my phone is not reading the zip file because it thinks it is corrupted.
ri123 said:
Could I use fastboot? I am not having a nice day, my phone is not reading the zip file because it thinks it is corrupted.
Click to expand...
Click to collapse
you need to flash it via recovery...fastboot wont work redownload the file...........
just extract the zip file ,click with right mice button and choos extract,you get a SS_DL.dll document and a tar.MD5 package.
I got this file
http://forum.xda-developers.com/showthread.php?t=2357471
that references odin in the subject of the thread. I tried flashing it via cwm, but kept getting a black screen on boot after the s4 screen.
so I wanted to try odin. but it's a zip. Is there a process to convert to tar.gz? Do I just extract, then recompress to a tar.gz?
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
Ahh, that's because in the \system\etc\terminfo\e\ directory there are two files with the respective names: Eterm and eterm. Linux file names are case-sensitive, Windows file names aren't,so Windows will overwrite one. If you then create a gz file, one of the files is missing.
Avilove.Cullen said:
Lol when your a making .zip then why are you not flashing it directly on your device through cwm??
Edward Cullen
Click to expand...
Click to collapse
what is cwm? i want ot flash my s4, i search and i found this: http://forum.xda-developers.com/wiki/Flashing_Guide_-_Android
but it won't help me, please send me some links
This Is Not Working At All
sebarg said:
yes, just take whats inside the zip and make it into a tar.md5 file and that way you can flash it through odin.
PD: it's better to make it .tar.md5 in a linux machine, don't know why doesn't seem to work on windows.
cheers
Click to expand...
Click to collapse
I have tried this already....
but Odin Pops up a window saying: ".md5 binary is invalid"
tar/tar.gz from zip file
have seen this question a lot.
to create the tar file, you normally have to be in a Unix environment and an app like File-Roller can do the job of compressinf the files you extracted from the original zip file.
Allright, the solution is simple. You don't even need a Linux machine!
First, check your ZIP file. Does it contain a folder only? And are there some files in that folder? Then you have to make a ZIP file, which only contains those files, otherwise Odin cannot flash it. If there are just some files (and folders?) in your ZIP file, you can just leave it as it is.
Then, you have to download this little tool (direct link) and the thread here . Extract it somewhere you like to have it.
Place your ZIP file in the main directory (the folder where Runme.bat is located) and rename it to yourfile.img, then run Runme.bat (as Admin, probably?)
Now you have a TAR file!
Have a nice day,
VengaXDA

Extracting a tar file...

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium

how to unpack livesuit .img

Guy i have download a livesuit image rom but i want to unpack it and i want to create it cwm flashable .zip but i have extracted that image and found some .hrf files.
So guys please help me out in this one i am using windows.
icoolguy1995 said:
Guy i have download a livesuit image rom but i want to unpack it and i want to create it cwm flashable .zip but i have extracted that image and found some .hrf files.
So guys please help me out in this one i am using windows.
Click to expand...
Click to collapse
What tool did you use? I never heard of .hrf files in allwinner's images. You should get .fex files using ImageRepacker
lolet said:
What tool did you use? I never heard of .hrf files in allwinner's images. You should get .fex files using ImageRepacker
Click to expand...
Click to collapse
yup sorry spelling mistake so do have any solution !

How to extract system.img.ext4?

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?

Categories

Resources