How to make custom Odin images


  1. adrynalyne

    adrynalyne Well-Known Member

    Hey folks,

    XDA is down, so I can't tell how much has been done, development wise, but its looking bleak. I'd like to help out, even though I do not have the device.

    First, we need to get some Odin images going. This is BEST done with somebody who has a stock, but rooted, Samsung Continuum.

    This has been adapted from here:
    Creating Custom ROMs/Backups for Odin - Android Forums

    First, you need to root, via either one of the one click methods, or z4root.

    Then, you must setup adb, if you haven't already. Alternatively, you could be a masochist and use the terminal on the device, downloaded from the market.

    As root (#)


    To backup kernel parition:

    Code (Text):
    1.  dd if=/dev/block/bml7 of=/sdcard/kernel bs=4096
    To backup recovery partition (probably the same as the kernel):

    Code (Text):
    1.  dd if=/dev/block/bml8 of=/sdcard/recovery bs=4096
    To backup system:
    Code (Text):
    1. dd if=/dev/block/stl9 of=/sdcard/system bs=4096
    Backup the kernel, system, and recovery images from your sdcard to your computer. Make backups!

    Rename kernel to: zImage
    Rename recovery to recovery.bin
    Rename system to factoryfs.rfs


    The next part requires linux, OS X, or cygwin.
    Cygwin

    If you are using heimdall, the above images are ready for flashing.
    If using Odin, we must still package them.

    Code (Text):
    1. $ tar -H ustar -c image_1 [image_2 ...] > your_odin_package.tar
    If you want an all in one package, put each image name in. if not, make one image per tar file.

    Example: tar -H ustar -c zImage > zImage.tar

    This would give us a zImage.tar file. Now we will turn it into a tar.md5 file, so that Odin can make sure its not corrupt before flashing.

    Code (Text):
    1. $ md5sum -t your_odin_package.tar >> your_odin_package.tar
    2. $ mv your_odin_package.tar your_odin_package.tar.md5

    using the above example, your final file would be zImage.tar.md5.

    This gets used with Odin3 v.1.30, in the PDA section. You need to install Samsung usb drivers prior to, of course, and the phone must be in download mode.

    ALWAYS USE THE PDA SECTION IN ODIN.

    Odin can be found here:
    http://adrynalyne.us/files/odin/Odin3v1.3.exe


    Download mode (on the Fascinate anyway), can be achieved by powering off device, holding DOWN volume, and plugging in the usb cable, or hitting power.

    I plan on posting some other stuff here, so PLEASE, someone make these images for everyone! Its essential to have a fall back. I do not own the device, so I cannot.

    Advertisement
    :
    cynnar and Trailblazer101 like this.
  2. Thank you for this quick guide.. Should help with getting a fully working Recovery Odin file up and working... I had one, but it ruined Modem.... Is there a special procedure in getting that that someone could run and send to me? Bubby323 managed to get me a semi-working modem, but it can't receive or send texts... :| Well, it can send them, but the recipient just gets a blank message...
  3. adrynalyne

    adrynalyne Well-Known Member

    Trailblazer, this is because the modem you installed does not match the ril components of your rom. Samsung apparently puts the sms gateway in the ril and/or the radio. These both need to match, to work. What is the modem/baseband version?
    Trailblazer101 likes this.
  4. You are definitely right.. i just noticed that like 20 minutes ago.. my baseband version is all the way down to S:i400.0.6v.DI01, when it used to be S:i400.0.6v.DJ20

    edit: one of the guys over here on the IRC (which you are welcome on :D) has the modem i would probably need.. How would he go around extracting it though?

    and thanks again for helping! :D
  5. adrynalyne

    adrynalyne Well-Known Member

    Yes that is a Samsung Fascinate modem.

    No bueno...

    I'll see if I can contact some people today and see whats possible....

    dd if=/dev/block/stl9 of=/sdcard/system bs=4096

    Also, now that clockwork is working, I'd like to make a super clean rom, jt1134 style. Could you provide me a system dump, and upload it, with these instructions? I'd like to build it off of DL17.

    Now, I could always have you try ANOTHER, more recent modem, if you think it may help.

    As for extracting the modem, we are unable to on the Fascinate, so I assume the same for the Continuum. Samsung locked us out or something :/
  6. adrynalyne

    adrynalyne Well-Known Member

  7. Oh, alright.. Thank you for figuring that much out :)

    i would if i could man.. But i am not on DL17... Because of the differing modem, it won't let me update... I'll go on the IRC, dfgged might be able to do the dump... Ill ask him now..


    edit: sweet! thank you, i will try now.. :D

    edit(2): is he going to have to do a system wipe before he runs the dd if=/dev/block/stl9 of=/sdcard/system bs=4096 command?
  8. adrynalyne

    adrynalyne Well-Known Member

    See if it will offer you the ota update....I will help you extract it and modify it so you can possibly update.
  9. I can download and start the update, but when it goes into recovery... It freezes at 90%, which is when it is flashing the update for the modem... (which i know from manually installing the update)
    and btw: i have extracted the update.zip from fota.. so i have that.. i can see the modem file in there too....... i just don't know what i can do with it.. :p

    oh, and big problem.. Dfgged tried the command.. it wouldn't work, because once the update is applied, you lose root.........

    edit(2): i flashed the modem :D and it worked! i can now recieve and send texts, thank you so much! i will attempt the update now..
  10. adrynalyne

    adrynalyne Well-Known Member

    The update may not work....upload the file for me and I will remove the modem portions so you can update.

    As for root, trust me, I can get you rooted.
  11. update (2).zip

    There yah go..
    I just tried the update again, and this time i am getting an "update failed" at a different spot :p i will look into it though..

    and lmao, alright sweet :D haha..
  12. adrynalyne

    adrynalyne Well-Known Member

    If you have removed ANY bloat, put it back. Im working on this now, and will make a new thread for you to test.
  13. Nope, haven't removed anything... Now my battery is low, so i can't do the manual method (running install from SDCard:update.zip from recovery) for a little bit >.<
    alright, sounds good!
  14. duddy

    duddy New Member

    I have a rooted non-modified Continuum and will do this tonight after I get off work. Would love to help anyway I can. :)
  15. cynnar

    cynnar New Member

    Nice quick guide. Is the partitions the same for the fascinate? I don't figure that they are but I'm a noob and haven't found much on this yet. If it isn't could someone point me the right way? One more thing how does one determine that STl9 is the system partition and so on? Any help is appreciated.
Loading...

Share This Page