[Q] How To Create ODIN ROMs. - Samsung Galaxy S (4G Model)

I would like to learn how to create my own ODIN files for the SGS4G. I have a few of these phones and think it would be easier to put my own custom ROM on them, rather than to delete things one by one for each phone.

I asked the same question some time back... Takes a lot of reading.... but this is a good start
http://forum.xda-developers.com/showthread.php?t=1125240&highlight=create+odin+rom
Htc Rom creation ... http://forum.xda-developers.com/showthread.php?t=633246
Also do a search under android dev
Good Luck

Thanks...I'll try to read that when I get a minute.

Nobody ever replied for me when I was asking about CWM and Odin formats. It took me a while to find info, but I'll write a guide soon. This is part of what I used.
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
I found that it's best to create an Odin rom under Linux since you can add the md5 signature at the end of the file, and create a proper tar format.
Read the whole post, and feel free to PM me if you have any questions. Again, I only recommend doing this on Linux. If you're on windows you can download both Virtualbox and Ubuntu for free.

Related

Need Kitchen Help

Ok I need a few opinions.
I am wanting to find out who has the easy and the best Kitchen.
I want to take a "nk.nbf" and edit it.
I want to remove packages that are in there and add others.
I have "TNT.1933_Professional___HTC_Home_Wizard" Rom I have tryed to use "HyperCore Kitchen" but could not get the rom to work.
I took the original ron, extracted it and then re made it (With out changing anything) to see if I was doing it the correct way, but after I loaded the rom it locks up after it posts the ver screen.
Is this the rom I am using or the way I am using it. Or is it the kitchen.
I really want to learn to make my own. So if some one has time to walk me though it I would be ever so greatfull.
I have searched and search the site and most walkthroughs apply to old vers of kitchens. I still tryed to follow them but cant get a rom to work. I know I must be missing something somewhere.
- Albert
I don't think you have the .rgu's
If the chef deletes the .rgu files you can't rebuild his rom the easy way. You should either seek a rom that has all the files or ask the maker to share them.
Ok thank you
Yep, a lot of the roms have the .rgu files removed. You can use my cooking pack or I recall that there was a Lite version of TNT that was meant for cooking that would still ahve the .rgu files (but then you'll have to get the packages to put in it what you want). Then of course there is theloon's kitchen stuff which has tons of packages and all.

Extracting cab files from ROMs

Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Be not afraid of the new ways...
Steel77 said:
Hi,
I have tried a few ROMs and I need a combination of them when it comes to built in application!
I tried to serach and research this but still could not understand how you can extract CAB files from an existing Kaiser ROM if I have the ROM in .nbh format.
I am new to Kaiser and never used the ROM Kitchen before. I used to have HTC Prophet before so I am still used to the old ways of changging "Extended Memory" contents and the config file for it.
Thanks for your help.
Click to expand...
Click to collapse
A couple of suggestions....
1) Read slowly, deliberately, an multiple times to ensure you are not missing details.
2) If you don't understand something specific, ask the specific question on this forum and we are better armed to assist.
3) Don't be afraid to just try and run the SW after reading carefully. It's not painful or anything just to jump in and run the software (just don't load it on your phone until you are confident in the results). The worse that happens is you run it over. Since you are extracting for the 1st time, I suggest you follow the instructions EXACTLY. I don't care if it tells you to lift your leg and bark like a dog, just do it! Also, to get a feel for the quality of your results, extract a cab that you already have and compare after you're done.
Cheers and good luck!

[Q] where can I find the PDA file for odin to bring my phone back to stock?

Does anybody know where I can find the PDA file for odin to bring my SGS4G back to stock. I have been searching everywhere and cannot find it. Thanks
You haven't been searching everywhere. search for the bible thread and look at the guides section. The first one is the noobs guide to odin. Follow that and you should be good.
Sent from my SGH-T959V using XDA Premium App
Yea I've been looking in the bible and have read that post and downloaded the file. My comp kept seeing it as a .rar file and realized that was the problem. Appreciate the reply even though the solution has been right in front of me the whole time.
Watching some videos on 0din and a lot of people are saying to use a .pit file.. Is that not needed?
A pit gile is not needed just fladh the pda file a.d make sure re-partition is unchecked also what browser are you using also extract it and open odin click pda and locate file where it says browse if it finds it the file should look like a piece of paper In a something .md5.tar and hit start shiuld take 2-3 mins
If I helped you dont forget to hit the tnanks button
Sent from my SGH-T959V using XDA Premium App
using windows 7 ultimate
Thanks to you both... worked like a charm
Found the Bible thread:
http://forum.xda-developers.com/showthread.php?t=668090
But can't find the PDA file. Any ideas?
---------- Post added at 01:56 AM ---------- Previous post was at 01:49 AM ----------
Reason I'm looking for this file here is because the PDA file in this zip package:
http://www.darkyrom.com/community/index.php?threads/odin-darkyrom-10-2-resurrection-gt-i9000.4272/
is corrupted. Tried unzipping with Winrar, Winzip, 7zip, disabled my anti-virus, nothing works. Keep getting a 'CRC check failed' error.
Nick:
Based on this post by you:
http://forum.xda-developers.com/showpost.php?p=19012178&postcount=1
And the darkyrom link you listed above, you do not have a Galaxy S 4G.
The bible thread you posted was for the HTC Dream: G1.
I think you need to take caution and READ before you start flashing your phone. It looks to me you thought recently you hard bricked your phone. You need to educate yourself before you turn your phone into a paperweight.
I saw somebody had already directed you to the correct forum:
http://forum.xda-developers.com/forumdisplay.php?f=656
Yet you still posted here and found a bible in the HTC Dream: G1 section. Paying attention will help. Good luck!
Help!
I tried to flash Jellyblast v3 custom ROM on my Samsung Galaxy Y s5360l but its stuck at boot now. i have Odin downloaded and i downloaded the necessary files from hotfile to flash the stock rom back on my phone but when i click PDA on odin and search for the file, it is not appearing. Help would be greatly appreaciated. Thank you.
I would recommend searching the proper forum for your phone.
Maybe, http://forum.xda-developers.com/showthread.php?t=2298737 for starters. Or,
http://forum.xda-developers.com/showthread.php?t=1465800&page=140.
Help!....Again
I dont know if i have the newest firmware updated but does that make a difference? My only problem is that when I open Odin and click PDA and search for the files they do not appear. Can anyone give me instructions to fix this?
Steps to fix:
1) Follow champ1919's directions and go to the right forum.
2) Read. Someone else might have a solution for you.
3) Don't necropost, if nothing seems similar to your question then make a new thread. Necroposting will make people want to ignore you.
4) Ask your question there, where the people actually know your phone.
5) Follow the directions in that post. Don't keep making new threads just because people aren't answering you fast enough.

Create own Rom

It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Its way over your head! But even devs had to start somewhere. Guys like JT learned everything he knows thru google fu and he actually got the fascinate recognized cyanogen. So don't give up!
Sent from my Gummy Charged GBE 2.0 using XDA App
I would love to start to learn how to dev.
Any one could point me in the right direction?
Lol Yeah I figured it was above me but will keep reading, ask some questions and see what happens.
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Look up harvard's cs50 course.. Its free and online and will get you started.. Ide post a, link.. But I'm lazy so google it
Sent from my SCH-I510 using XDA App
ty ace
i'll look into it, I've been looking for info for awhile, and was wondering where to start reading up on a "how to"!

[Q]: How to convert .img to .tar (recovery image)

Hello,
So I wanted to manually install recovery clockwork touch recovery 5.8.1.3 for the skyrocket, so I went to http://www.clockworkmod.com/rommanager and downloaded it the only problem is that is a .img file and not a .tar file that I could flash it via odin...
I would like to know the steps to make a .tar file that will flash via odin successfully.
If someone knowledgeable can help me that would be greatly appreciated it.
Thanks again!
Name it recovery.img and tar it up on a Linux box, windows built tars don't seem too work well, then flashed away.
cschmitt said:
Name it recovery.img and tar it up on a Linux box, windows built tars don't seem too work well, then flashed away.
Click to expand...
Click to collapse
Forgive my ignorance but when you refer to a linux box, what do you exactly mean by that?
I run windows 7...
r3dp0is0n2012 said:
Forgive my ignorance but when you refer to a linux box, what do you exactly mean by that?
I run windows 7...
Click to expand...
Click to collapse
Actually, stay away from the ROM Manager version, flash this one instead, it's already in a tar: http://forum.xda-developers.com/showpost.php?p=22004305&postcount=1
Look for the 'ODIN install' version.
r3dp0is0n2012 said:
Forgive my ignorance but when you refer to a linux box, what do you exactly mean by that?
I run windows 7...
Click to expand...
Click to collapse
He means do it on a machine running linux, not windoze.
Ubuntu is easy to install on your windows box with the wubi installer and pretty easy for linux noobs.
Time to do some research
www.ubuntu.com
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php
mindmajick said:
He means do it on a machine running linux, not windoze.
Ubuntu is easy to install on your windows box with the wubi installer and pretty easy for linux noobs.
Time to do some research
www.ubuntu.com
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php
Click to expand...
Click to collapse
Oh Ubuntu yes... love and hate relationship we have... lol
Sent from my SAMSUNG-SGH-I727 using xda premium
mindmajick said:
He means do it on a machine running linux, not windoze.
Ubuntu is easy to install on your windows box with the wubi installer and pretty easy for linux noobs.
Time to do some research
www.ubuntu.com
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php
Click to expand...
Click to collapse
Okay downloading Ubuntu and installing... so exactly can I convert to .tar on a Linux box? lol
Sent from my SAMSUNG-SGH-I727 using xda premium
r3dp0is0n2012 said:
Okay downloading Ubuntu and installing... so exactly can I convert to .tar on a Linux box? lol
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Did you not see that cschmitt gave you a link to a tar? It's for v5.5.0.4. There's also already a thread here for v5.8.1.3 in an Odin flashable tar. Didn't you search? Unless this is more of a practice exercise for you, which is totally understandable.
http://forum.xda-developers.com/showthread.php?t=1566613
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
The question is not where to find it or how to flash it...(I know that) Te question is (how to) convert the file downloaded from http://www.clockworkmod.com/rommanager and make/convert it to a .tar file that odin can find and flash... This question is for future reference and for everyone out there that is interested in learning (how-to) like me.
The thing is that when I download the touch recovery image from http://www.clockworkmod.com/rommanager is not being detected by odin my guess is because is a .img file so the question I have beem asking since day one is does anyone out there know how to convert it so it can work via odin... either on linux or windoze... and I mean the how-to instructions step by step.
Well thank you so much.
r3dp0is0n2012 said:
The question is not where to find it or how to flash it...(I know that) Te question is (how to) convert the file downloaded from http://www.clockworkmod.com/rommanager and make/convert it to a .tar file that odin can find and flash... This question is for future reference and for everyone out there that is interested in learning (how-to) like me.
The thing is that when I download the touch recovery image from http://www.clockworkmod.com/rommanager is not being detected by odin my guess is because is a .img file so the question I have beem asking since day one is does anyone out there know how to convert it so it can work via odin... either on linux or windoze... and I mean the how-to instructions step by step.
Well thank you so much.
Click to expand...
Click to collapse
ODIN flashable files must be in the tar format. Information on the tar command can be found here: http://en.wikipedia.org/wiki/Tar_(file_format)
Each file in the tar must have a specific file name which is resolved against the pit file stored in the phone to determine which partition it will be flashed to.
A reference of the partition to ODIN file mappings for the 727 can be found here: http://forum.xda-developers.com/showpost.php?p=25536393&postcount=1
In general, the tar file needs to be created on a machine running a version of Linux operating system. Ubuntu is a good place to start as there is an installer called Wubi that will allow you to install it into a file-based partition of an existing windows system. Information on installing Ubuntu via Wubi can be found here: https://wiki.ubuntu.com/WubiGuide/
So, assuming that you have installed Ubuntu linux and you have your recovery.img in the home directory of that installation, the command to package recovery into an ODIN flashable tar would be:
Code:
tar -cf recovery-image.tar recovery.img
Take the recovery-image.tar file and flash it in ODIN (place it in the PDA section.)
----------
Now, a word of advice: Nobody is going to hold your hand around here, we are all big boys and girls and those who are most successful have put in the time to figure things out for themselves. If, after exhausting every possible Google search known to man (Google is your friend) , you still can't figure something out-- then ask your question, and not something like 'how do I create a .tar ?'
Explain what you have tried so far, what worked, and what didn't and ask very specific questions-- you will find that the dev's and long time contributors will sense that you're giving it your best shot and jump right in to help get you rolling again.
If you've done much reading on these forums over time you'll begin to notice that the same 10 or 12 questions get asked over, and over, and over and that gets really old, especially when most, if not all of these questions, have been answered numerous times and compiled into stickies that mysteriously hang at the top of every forum.
<soap_box>stepping down now</soap_box>
cschmitt said:
ODIN flashable files must be in the tar format. Information on the tar command can be found here: http://en.wikipedia.org/wiki/Tar_(file_format)
Each file in the tar must have a specific file name which is resolved against the pit file stored in the phone to determine which partition it will be flashed to.
A reference of the partition to ODIN file mappings for the 727 can be found here: http://forum.xda-developers.com/showpost.php?p=25536393&postcount=1
In general, the tar file needs to be created on a machine running a version of Linux operating system. Ubuntu is a good place to start as there is an installer called Wubi that will allow you to install it into a file-based partition of an existing windows system. Information on installing Ubuntu via Wubi can be found here: https://wiki.ubuntu.com/WubiGuide/
So, assuming that you have installed Ubuntu linux and you have your recovery.img in the home directory of that installation, the command to package recovery into an ODIN flashable tar would be:
Code:
tar -cf recovery-image.tar recovery.img
Take the recovery-image.tar file and flash it in ODIN (place it in the PDA section.)
----------
Now, a word of advice: Nobody is going to hold your hand around here, we are all big boys and girls and those who are most successful have put in the time to figure things out for themselves. If, after exhausting every possible Google search known to man (Google is your friend) , you still can't figure something out-- then ask your question, and not something like 'how do I create a .tar ?'
Explain what you have tried so far, what worked, and what didn't and ask very specific questions-- you will find that the dev's and long time contributors will sense that you're giving it your best shot and jump right in to help get you rolling again.
If you've done much reading on these forums over time you'll begin to notice that the same 10 or 12 questions get asked over, and over, and over and that gets really old, especially when most, if not all of these questions, have been answered numerous times and compiled into stickies that mysteriously hang at the top of every forum.
<soap_box>stepping down now</soap_box>
Click to expand...
Click to collapse
Thank you very much, I will try to make it odin flashable and will get back to you with more detail information about my progress.
thanks again cschmitt.
Here you go
http://forum.xda-developers.com/showthread.php?p=22250312
Don't forget to drop a thanks bomb on sk8
Edit: The post above answers it. My bad did no read. (Too big a post for my lazy eyes.. )
Sent from my SAMSUNG-SGH-I727 using XDA
Thanks also for this exceptional peace of information, I also spent like 2h to figure out why all the downloads on the cwm website are .img files even in the SGS3 box, when you basically cannot use them except if you learn how to use Linux and archive them to .tar Now I have to install a linux distro and give it a try,
Thanks again

Categories

Resources