New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
adrynalyne
Old
#1  
adrynalyne's Avatar
Recognized Developer - OP
Thanks Meter 5600
Posts: 9,605
Join Date: Dec 2008
Angry How to make custom Odin images

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:
 dd if=/dev/block/bml7 of=/sdcard/kernel bs=4096
To backup recovery partition (probably the same as the kernel):

Code:
 dd if=/dev/block/bml8 of=/sdcard/kernel bs=4096
To backup system:
Code:
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:
$ 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:
$ md5sum -t your_odin_package.tar >> your_odin_package.tar
$ 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.
If you like what I do, buy me a brew!
The Following 2 Users Say Thank You to adrynalyne For This Useful Post: [ Click to Expand ]
 
bubby323
Old
#2  
Account currently disabled
Thanks Meter 1481
Posts: 1,603
Join Date: Jul 2010
Location: Michigan City, IN

 
DONATE TO ME
I have the images and they have been restored onyo 3 devices without flaw. Ill release them tomorrow.

Sent from my SCH-I400 using XDA App
 
pastorbennett
Old
#3  
Senior Member
Thanks Meter 35
Posts: 180
Join Date: Mar 2010
It's not my intention to resurrect such an old thread, but here's a little more info about this method.

If you're using Mac OS, the commands are a bit different.

Instead of:
tar -H ustar -c image_1 [image_2 ...] > your_odin_package.tar
tar --format ustar -c image_1 [image_2 ...] > your_odin_package.tar

Instead of:
md5sum -t your_odin_package.tar >> your_odin_package.tar
md5 -r your_odin_package.tar >> your_odin_package.tar
The Following User Says Thank You to pastorbennett For This Useful Post: [ Click to Expand ]
 
joshkoss
Old
#4  
joshkoss's Avatar
Senior Moderator
Thanks Meter 487
Posts: 5,119
Join Date: Nov 2007
Location: CT, USA
Pastor! thanks for the info, how do i convert the rom cwm zip i have to a flashable tar?
My Roms: HERMES|KAISER|RAPHAEL|TP2|HD2|CONTINUUM

My Kitchens: Hermes|Kaiser|TP2|H2D


Fools! What you sow is not made alive unless it dies.
 
mai77
Old
#5  
mai77's Avatar
Senior Member
Thanks Meter 451
Posts: 1,112
Join Date: Nov 2011
Quote:
Originally Posted by joshkoss View Post
Pastor! thanks for the info, how do i convert the rom cwm zip i have to a flashable tar?
put boot.img in that tar. it is said to flash like a charm.

If you want to create flashhable kernel tar file, then download the attached tar template, and using Total Commander, copy your kernel into it. This file is OK with Odin Attached Files kernel_base.tar
 
imnuts
Old
#6  
imnuts's Avatar
Recognized Developer
Thanks Meter 2470
Posts: 3,136
Join Date: Jul 2007
Location: West Chester

 
DONATE TO ME
Quote:
Originally Posted by mai77 View Post
put boot.img in that tar. it is said to flash like a charm.
Put boot.img into the odin, and it will almost certainly fail. And way to bump a dead thread

Setup a Development Environment
Setup and Use the Android SDK
Stock Odin Restore files

You can find the answer to all of your questions right here. If that doesn't work, then try this or this
 
trailblazer101
Old
#7  
trailblazer101's Avatar
Senior Member
Thanks Meter 286
Posts: 777
Join Date: Dec 2010
Location: Pennsylvania

 
DONATE TO ME
Lol, ^
Well since this thread is bumped anyways, I guess it's as good as place as any to ask; Imnuts, do you think there is a possibility you could work your kernel magic and maybe make us one now that we have source? thanks in advance, lol

Sent from my SCH-I400 using xda premium
Samsung Continuum, The Phone That Could-- With a Community To Match.
The Following User Says Thank You to trailblazer101 For This Useful Post: [ Click to Expand ]
 
abby_nitewolf
Old
#8  
abby_nitewolf's Avatar
Senior Member
Thanks Meter 114
Posts: 403
Join Date: Aug 2011
Peanut butter jelly time!

Sent from my ADR6425LVW using Tapatalk
Sent from a PokeBall
Bricked HTC REZOUND
 
ciscogee
Old
#9  
ciscogee's Avatar
Senior Member
Thanks Meter 191
Posts: 866
Join Date: Aug 2011
Location: Wa State

 
DONATE TO ME
Quote:
Originally Posted by trailblazer101 View Post
Lol, ^
Well since this thread is bumped anyways, I guess it's as good as place as any to ask; Imnuts, do you think there is a possibility you could work your kernel magic and maybe make us one now that we have source? thanks in advance, lol

Sent from my SCH-I400 using xda premium
now i only downloaded sources and took a look at txt files. kernel sources state "HOW TO BUILD KERNEL 2.6.35 FOR SCH-I400" now i looked at imnuts kernel building guide and seen that we would need the correct initramfs for it to boot correctly? and isnt 2.6.35 a GB kernel so maybe we can do something. I will be working on BRICKYOURPHONE.tars when i get my pc back in the same town as i. I might just rent a laptop if it doesnt happen soon lol

pretty sure imnuts knows something about this... (what we would need for custom kernel and GB ASOP?)

update on me:
PC still packed, finals over, and should be grabbing my pc in a week or so before spring quarter starts ive been missing thememing and posting more relevant things lol.
posted via esp with help from fingers


XDA PORTAL POSTS

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more