yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] nikagl:
Hi all,

Not sure whether anyone ever created this, whether it already exists, or even whether it's useful, but nevertheless I **proudly** present to you:

Building an ODIN package using a cwm-installable script!

If you want to do it using ADB (either through dos or cygwin), please go to this topic:

The making of ... an ODIN installable package

Simple, single step, effective and based on the original files of XXKPS (adsp.mbn, amss.mbn, cache.img.ext4, preload.img.ext4) running this zip will create an Odin package.

It takes only 6 to 7 minutes to build the file! :)

It does not include the cache or preload of your ROM (so your data is safe when distributing these files as far as I know!!).

This way you can easily share any ROM you have created by combining parts of other ROMs. For instance, if you installed Cranium ROM, added Feamod to it, did the 14-button mod and added the ICS mod too - build the Odin md5 zip with this package and share your custom modded ROM with the community!!

Download

XXKPS or XXKPS - thanks broodPlank!

XXKPU - thanks broodPlank!

XXKQ1 - thanks broodPlank!

XXKQ7 - thanks broodPlank!

XXKQB or XXKQB - thanks broodPlank!

XXKQE - thanks broodPlank!

XXKQI - thanks broodPlank!

DXLD3 - thanks [FONT=&quot]somboons!

[/FONT] ** Please upload this file to mirrors and post them when available :)

Instructions

Please make sure you have installed Feamod Recovery

Build your ROM, add all mods, make it the way you want to share it

Check whether the internal sdcard has enough space (at least 2 GB)

Copy the zip to your internal or external sdcard

Reboot into recovery (Poweroff, then press Vol-Up and Poweron)

Select "install zip from sdcard" and browse to the location you used in step 4

Select the zip... it will start building the Odin package immediately

Please allow the system to build the zip in step 7 - this will take several minutes!

Other Stock ROMs

Like broodPlank did, you can also make a CWM installer for Odin packages that create other Stock ROMs:

Download BuildOdinCWM-noBaseRom.zip

Download the Stock ROM of your choice

Extract the following files from the Stock ROM:

Zip all files and folders back up and ready :)

If you want to use another name for your new Odin package, please replace "MyOdinpack" with whatever name you like the following files in the scripts folder:

BuildOdin.sh

MD5Odin.sh
​

(make sure to use a text editor that can handle Unix files like Notepad++ or UltraEdit)

Please share your new creations, like broodPlank did :D

Enjoy!!

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] nikagl:
If anyone has an idea how to check from a shell or cwm script:

* Check for free diskspace

* Check for files already available, to avoid overwrite (preferably with choice to remove or backup files)

It would be much appreciated. If you have seen cwm script on other devices that can do that kind of stuff, just let me know and I'll check them out myself :)

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] rayiskon:
that's very helpful and should save time spent on transferring cwm backup to pc and doing everything manually ;) but u should've just added it to the OP of the other "making of an odin file" thread, we'd still pump up ur thanks meter u don't have to worry . opening new threads for every lil thing just causes pollution :) (no hard feelings)
[Galaxy S Plus I9001 Android Development] nikagl:
I really don't care about the thanks meter, trust me. I decided to do it this way to avoid making the other thread too complex. Will add a reference in the OP of the other thread though :) and one in this to make sure others know where to go if they want to do this through adb...
[Galaxy S Plus I9001 Android Development] broodplank1337:
Very nice! This will save me allot of time :D. Very nice post again nikagl, you make allot of handy scripts!
[Galaxy S Plus I9001 Android Development] broodplank1337:
Hey, I made the XXKPU version (because I'm using XXKPU now for broodROM RC3) of your awesome flashable:

http://www.mediafire.com/?4c7y7p9o43uhj68
[Galaxy S Plus I9001 Android Development] nikagl:
Thanks! Added it to OP. Just wondering, would it make a difference? What are these files for anyway (adsp.mbn, amss.mbn, cache.img.ext4 and preload.img.ext4? There's hardly any difference as far as I can see (mounted ext4)

Still thinking of making a tool that converts the actual cwm files others post (ie. the actual system files) into an Odin package directly but didn't yet find a way to create an ext4 file other than by dd-dumping it :(
[Galaxy S Plus I9001 Android Development] broodplank1337:
I have no clue what adsp.mbn, amss.mbn and preload.img.ext4 are for but I know that cache.img.ext4 has the CSC Configuration inside, I tweaked the sec_csc.zip file and inserted custom apps, it worked :D

Changed the updater script to this (commented lines because this is a test)

Installs CSC and 2 extra apps ;)

I will test it first after a stock install but if it works fine I will integrate it into broodROM RC3, so I can add extra apps without having them to be system apps

And for creating .ext4 files, if you use DiskInternals Linux Reader you can save it as .img but if you just choose .img.ext4 and verify the file afterwards it seems to be an correct file (haven't tested it tho)

Uploading both packages to sourceforge.net

edit:

http://sourceforge.net/projects/bro...ckage in CWM/BuildOdinCWM-nikagl.zip/download

and

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKPU-nikagl.zip/download
[Galaxy S Plus I9001 Android Development] wintel_mac:
Those mbn should be modem binaries.
[Galaxy S Plus I9001 Android Development] broodplank1337:
Made a new one for XXKQ1

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKQ1-nikagl.zip/download

All versions can be found here:

https://sourceforge.net/projects/broodrom/files/Build Odin package in CWM/
[Galaxy S Plus I9001 Android Development] nikagl:
added them :)
[Galaxy S Plus I9001 Android Development] broodplank1337:
Good :) I think sourceforge is a really nice host for such things, always location near you for whole europe ;)
[Galaxy S Plus I9001 Android Development] nikagl:
Agree although i wonder how long they will allow it as these are not really sources...
[Galaxy S Plus I9001 Android Development] broodplank1337:
Yeh, I had that in mind to, but there are many roms and (actually closed source) files hosted on sourceforge. They don't seem to care that much :)
[Galaxy S Plus I9001 Android Development] FlorisNL:
Can't you just create a backup and flash it with odin?
[Galaxy S Plus I9001 Android Development] broodplank1337:
nope it's not that easy, its still easy tho. use the CWM method or dump/tarball/md5sum the partitions yourself
[Galaxy S Plus I9001 Android Development] nikagl:
Well... I guess it should be possible, but it will take just as long and you'll need to move the files, rename them, replace some with the stock (empty) files to avoid data into the odin package, and add the others. Then tar/md5 them and in the end you'd have the Odin package... sounds to me the cwm-method from this thread is much easier :)
[Galaxy S Plus I9001 Android Development] FlorisNL:
Yup, thats true. I will use this method for my Custom Rom :)
[Galaxy S Plus I9001 Android Development] alexis!:
I have deodexed XXQ1 atm, if i follow this post, i can have a md5 Odin file to share XXQ1 Deodexed with others?

PD: The file called "MyOdinpack.tar.md5" into BuildOdin folder, its the md5 image to flash via Odin?
[Galaxy S Plus I9001 Android Development] broodplank1337:
Yep thats the package
[Galaxy S Plus I9001 Android Development] alexis!:
Thanks again Brood, and the .zip in same folder is the CWM flashable then?
[Galaxy S Plus I9001 Android Development] broodplank1337:
No, that is left-over data, you can delete it, the only important thing is the .tar.md5 package
[Galaxy S Plus I9001 Android Development] alexis!:
Okey mate, really thanks!

When put file as One Package, it says "Checksum fail md5" :(

I´m going to make you crazy. I also connecto phone to PC and tried to flash clicking in Checksum Fail. (Sorry for my 0 english or redaction)
[Galaxy S Plus I9001 Android Development] broodplank1337:
Have you changed the name of the package? (this screws up the md5sum)
[Galaxy S Plus I9001 Android Development] alexis!:
Yes, i changed it. But how i can change it then?

Can you give me any reference, or link about zipaling? I´m interested in too.

Thanks again!
[Galaxy S Plus I9001 Android Development] FlorisNL:
... Can I use this for my XXKQ7?
[Galaxy S Plus I9001 Android Development] nikagl:
If you replace the file in the BaseRom folder (adsp.mbn, amss.mbn, cache.img.ext4 and preload.img.ext4) with the ones from XXKP7. See first post, I included a version without BaseRom. I also include some info on how to make an Odin package with another name (to avoid MD5 mismatch) :)
[Galaxy S Plus I9001 Android Development] pyronia:
Can u make one for ace? :D really need this :)

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9

[menulis dari xda app yg cilabi pakop]
[Galaxy S Plus I9001 Android Development] nikagl:
Point me to a stock ROM, let me know what the partitions (ie. location of system, etc. - for SGS+ they are in the wiki, maybe there's a wiki for Ace too) are and I will see :)
[Galaxy S Plus I9001 Android Development] pyronia:
Its on samfirmware.com dude...latest DXKT5 2.3.6 asia firmware :)

Edit: partition are RFS...

regards,

•ƒγяύs ργяσ™• eBuddy XMS pin: A24D43B9

[menulis dari xda app yg cilabi pakop]
[Galaxy S Plus I9001 Android Development] nikagl:
Hmmm... sorry... you'll have to check somewhere else. No idea how to setup Odin packages for RFS. So unless you find us other threads that explain how to make Odin for your device, I won't be able to help you...
[Galaxy S Plus I9001 Android Development] broodplank1337:
Here is the one for XXKQ7 ;)

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKQ7-nikagl.zip/download
[Galaxy S Plus I9001 Android Development] FlorisNL:
Thanks mate ;)
[Galaxy S Plus I9001 Android Development] nikagl:
Added to OP :D
[Galaxy S Plus I9001 Android Development] broodplank1337:
No problem, I will keep updating/uploading them

Thanks ;)
[Galaxy S Plus I9001 Android Development] rykn21x:
hi everyone... by the way nika and brood thank you for this wonderful thread/guide really help us noobs to learn..... by the way... I already tried this and has successfully made a .md5 odin flash rom with no errors in odin as well... now my question is after reading the 1st thread that nikagl made re-making of odin flash rom via PC ([9001][SCRIPTS] The making of ... an ODIN installable package [2011-12-21]) will the .md5 odin rom that I created will ask for the update.zip after installation?

Thanks very much!
[Galaxy S Plus I9001 Android Development] nikagl:
All methods "making Odin package" methods work the same and will have the same result. Afaik none ask for the update.zip?
[Galaxy S Plus I9001 Android Development] broodplank1337:
Here is the new KQB version of the CWM Flashable ;)

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKQB-nikagl.zip/download

or

http://www.mediafire.com/download.php?8bqd5of0evoees3
[Galaxy S Plus I9001 Android Development] nikagl:
Done, added XXKQB and XXKQB - thanks broodPlank!
[Galaxy S Plus I9001 Android Development] FlorisNL:
Uhh when I try to flash the tar.md5 made by this package odin says tar.md5 checksum fail... Can flash it tough,

---------- Post added at 05:28 PM ---------- Previous post was at 05:22 PM ----------

and I get the Android out of the box with an ?... Help??? It is booting but..
[Galaxy S Plus I9001 Android Development] nikagl:
Did you rename it? md5 includes the name when it's created. So if you want to use another name, you will have to change the script...
[Galaxy S Plus I9001 Android Development] nikagl:
Press the select button, and it should reboot?
[Galaxy S Plus I9001 Android Development] broodplank1337:
Because you changed the name of it, change it inside the scripts that build the file ;)
[Galaxy S Plus I9001 Android Development] nikagl:
Haha, I was just a bit quicker :P
[Galaxy S Plus I9001 Android Development] broodplank1337:
hehe idd :P
[Galaxy S Plus I9001 Android Development] FlorisNL:
How do I change the script?
[Galaxy S Plus I9001 Android Development] broodplank1337:
open /scripts/BuildOdin.sh and /scripts/MD5Odin.sh with Notepad ++ (they are inside the zip file). Then rename all the MyOdinPack lines to whatever you want
[Galaxy S Plus I9001 Android Development] nikagl:
See my instructions in step 4 of the orignal post... read and though shall find a solution :
[Galaxy S Plus I9001 Android Development] rykn21x:
hi nikagl... i also get the android with a "?" out of the box after I install the ROM... is this softbricked? can you tell me what caused this? (sorry bro i'm still learning) and anyway I could make my odin rom flash without this error?

Thanks very much!
[Galaxy S Plus I9001 Android Development] nikagl:
So, pressing the menu button (big square) does not work for you? As far as I know all custom ROMs built for Odin have this issue and I don't think there's a solution for that...
[Galaxy S Plus I9001 Android Development] rykn21x:
thanks for the info nikagl... yeah pressing the menu (big square) didn't do anything... I'm actually using a stock (tweaked) rom.... I just wanted to make this so that I could flash it back whenever I try a new rom.... brood how did you do it in your broodrom? thanks very much!
[Galaxy S Plus I9001 Android Development] nikagl:
Did you use the correct baseROM files that belong to the stock ROM you use?

Also, can you check whether the filesize of each file in the md5 is >0?

If you want, you can share the md5 with me (you can also PM) and I'll check what may be wrong.

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] broodplank1337:
What exactly do you mean? You want to get recovery (non bugged) after installing the rom? Then you should add an empty cache.img.ext4 file

Attached it, if this is not what you mean please let me know
[Galaxy S Plus I9001 Android Development] rykn21x:
hi nika, thanks for the reply.. yeah i got the correct base file the KQ1 base file the same as what I am using (KQ1 Stock w/ FeaCore 1.4 non OC + Adrenaline Shot V.13).... by the way how can I check the filesize of each file in my md5?? also I did it using my current configuration (not a fresh installation) coz I want to make a full backup of my configuration and be able to flash it via odin (its hard to re-install everything hehehe)... by the way does this md5 rom save all my info? (UN/PW, email, sms, mms and etc.)

---------- Post added at 09:26 PM ---------- Previous post was at 09:17 PM ----------

hi brood... thanks very much for the reply... really appreciate it.... what I mean't in my question is that when I flash your rom (broodrom rc3 rev. 2) i can flash it just fine meaning it goes straight to the home screen right after flashing it.. but on the md5 that I made it flashes just fine but during the reboot it goes to the android with the question mark..... sorry bro i'm really confused at this :) i'm trying to learn the ropes so that maybe I could help out on development...

Really big thank you to you, nika and all the devs here form helping us noobs...
[Galaxy S Plus I9001 Android Development] nikagl:
Why not just use cwm backup for this purpose? No, the current scripts only dump your system, not your data, they are not for creating a backup of your device, that's why you have cwm backup.

It is possible to modify the scripts for backup too, similar what cynob did in his rom-scripts, but I wouldn't know a reason why you would want to backup this way - again, that's what cwm backup is for...

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] rykn21x:
thanks for the reply nika... well regarding the data i just want to make sure that its not backing up my data thats why I asked :)... actually I wanted to learn how to make an odin flashable rom first just to familiarize myself with the ropes of how things are done then slowly learning my way in developing a rom (thou I think its still very far :) )... I want to make a contribution also and/or help out in a small way in the dev community.... really a big thanks to you, brood and the other devs here in helping out :)
[Galaxy S Plus I9001 Android Development] ramzidjoudi:
thank you it's a great tuto

i made one for me from stock rom (JPKP3) and it's fine

i test it with odin :

Check MD5 ...

Tail MD5 : 310EEA064CF1BE872542EF1F9D09FD8F

Image MD5 : 310EEA064CF1BE872542EF1F9D09FD8F

Check MD5 ... ok

but i can't share wy work in forums because the file is too big i can't upload it looking for my slow internet connection (the file is 549027 Ko ~ 536 Mo)

how can i zipallign it like other CFW in this forum

thank you
[Galaxy S Plus I9001 Android Development] nikagl:
Hi all,

From a PM here's some stuff that might be interesting for others too:

Regards,

Nika.
[Galaxy S Plus I9001 Android Development] broodplank1337:
Here is the one for KQE:

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKQE-nikagl.zip/download
[Galaxy S Plus I9001 Android Development] CodeXpert:
You will able to zipline all applications using kitchen except csc files like android-1414.jni and some arabic application..

Here how to do it..

Move csc folder outside kitchen.

Zipline all files... Then move csc folder back. You're done.

It is also very hard to deodex files like voicesearch and Maps.

Use ignore to deodex them. Then update from kitchen

However you odin package have to be big also even if you zipline ~500 mb
[Galaxy S Plus I9001 Android Development] CodeXpert:
Thank nika...

I think this question was mine :D..

I have fixed CWM backup using cygwin..

Delete nandroid.md5

Rename your backup..

Open cygwin > directory folder> md5sum *.img > nandroid.md5

it works...

---

for odin..

I dumped all partitions in external_sd using adb shell...

But although i have very small user data .. 1 launcher and 2 small applications. The dump of userdata.img.ext4 was very large !! about 890 mb !!?

Which is weired :confused:

then if i want to tar the package the odin force closes when loading package..

----

still fighting to get it work ...

----
[Galaxy S Plus I9001 Android Development] somboons:
Hi nikagl,

I try to create odin file with CWM use stock I9001DXLD3_I9001OLBLD2_XME.

After I create .tar.md5 file and then start flashing with odin when my mobile

reboot it's show as below.something wrong?

-
[Galaxy S Plus I9001 Android Development] broodplank1337:
To solve this issue after flashing you need to add a empty cache.img.ext4 instead of the original one.

Attached it
[Galaxy S Plus I9001 Android Development] somboons:
use attached instead of the cache.img.ext4 of stock rom ,right? before flash by odin
[Galaxy S Plus I9001 Android Development] broodplank1337:
Yes idd:p
[Galaxy S Plus I9001 Android Development] somboons:
Thank you @broodplank1337
[Galaxy S Plus I9001 Android Development] nikagl:
broodPlank rulezzzz! :)
[Galaxy S Plus I9001 Android Development] broodplank1337:
haha, thank you :p, You've also made some great additions for rom-creation,

so.. nikagl rulezzzz! ^^
[Galaxy S Plus I9001 Android Development] somboons:
DXLD3 : http://hotfile.com/dl/161949730/41ba68a/BuildOdinCWM-DXLD3BaseRom.zip.html
[Galaxy S Plus I9001 Android Development] broodplank1337:
As usual, here is the newest package ;)

http://sourceforge.net/projects/bro...in CWM/BuildOdinCWM_XXKQI-nikagl.zip/download
[Galaxy S Plus I9001 Android Development] nikagl:
Lol, back from holiday :)

XXKQI added!
[Galaxy S Plus I9001 Android Development] Jolufa:
I have a Samsung Galaxy S Captivate (I897) with broken internal memory (only download mode will work).

Could anyone tell me how to make a flashable with ODIN using a modified ROM, a zip file that is used from the recovery?

I could load i897uckk4 with Odin One Click, but... I don't like Stock ROMs. :)

I downloaded a jar file with the stock ROM but has only the files:

boot.bin
cache.rfs
dbdata.rfs
factoryfs.rfs
param.lfs
Sbl.bin
zImage

Thank you.
[Galaxy S Plus I9001 Android Development] nikagl:
Sorry, I have no experience with other devices than mentioned in my signature, Acer and Samsung Galaxy S+ (I9001)...
[Samsung Epic 4G Touch] Jess813:
I just got this yesterday and its amazing! I had the black tpu case from Amazon with the S on the back and this one blows that one out of the water!!! And it's cheaper!

http://www.overstock.com/Electronics/Clear-w-Black-Trim-TPU-Rubber-Case-for-Samsung-Epic-Touch-4G-D710/6437758/product.html
[Samsung Epic 4G Touch] jnguyen12:
I have that case! Haha, it is a great case. I just wish the clear back was more transparent..... There is also another thread talking about this case.
[Samsung Epic 4G Touch] EL TEJANO:
I have the exact same one. I paid $4.33 off ebay..free shipping.
[Samsung Epic 4G Touch] stretchwookie:
it is a nice case. we sell these at my store CONSTANTLY. theres also a purpley transparent back (purpley is a word now), and one thats solid pink where the black is, and see through pink on the back. i personally got the carbon fiber one with the kickstand, but now im using a fly grip and friggin love it :D:D
[Samsung Epic 4G Touch] Zexell:
i tried searching but couldnt find the thread, can you link me plz?

i have the glossy black tpu from amazon and was wondering if i should buy this one.
[Samsung Epic 4G Touch] EL TEJANO:
Here's the link for the one I bought off of ebay:

http://www.ebay.com/itm/200694959716?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
[Samsung Epic 4G Touch] Jess813:
I had the same one from Amazon and prefer this HANDS down! Its slimmer and more comfortable.
[Samsung Epic 4G Touch] Zexell:
I saw a video review and it shows the clear part having a purple tint on it?

If someone has any hi-res pics of the case w/ phone, i'd be grateful.
[Samsung Epic 4G Touch] frukyyy:
Thanks for the deal.
[Samsung Epic 4G Touch] EL TEJANO:
There are some which have different tinted colored backs, but the one pictured is clear frosted.
[Samsung Epic 4G Touch] frankquattrone:
I also have the S one and thought it was too thick. Is this one thinner than that one?
[Samsung Epic 4G Touch] kessomatt:
My casemate pop started warping so I got this one. Hands down my favorite case now. Fit is great and the buttons are easy to press.
[Samsung Epic 4G Touch] Twinsen72:
Most plastics will take a tint using that $1 RIT dye just in case anybody wants to customize a clear case.
[Samsung Epic 4G Touch] jnguyen12:
Sorry I don't follow.... How would you do that?
[Samsung Epic 4G Touch] shahran:
Can anyone who has this case post a couple of pictures with the case on their phone?
[Samsung Epic 4G Touch] _MetalHead_:
This is the case I rocked the most when I was using my E4GT. I hated TPU cases but for some reason I friggin' LOVED this one.
[Samsung Epic 4G Touch] EL TEJANO:
Basically you buy the dye used for clothes & soak your case in it for any given amount of time until you achieve the desired depth of color.

It comes in a liquid:

Or a powder:
[Samsung Epic 4G Touch] jnguyen12:
Well I just want to change the back cover of my phone... But thanks for the input.
[Samsung Epic 4G Touch] jfcooley:
Just ordered one from Amazon today. Hopefully I'll like it.
[Samsung Epic 4G Touch] EL TEJANO:
Well a few weeks ago I purchased a Duck Tape Sheet (8.5" x 11") in chrome & attempted to use that to cover my back battery door. Unfortunately my exacto knife was so dull that the edges came out all crappy.

You can find these sheets in various colors and patterns for about $1.99 at Michaels craft store or some office supply stores. just make sure you have a sharp cutting tool lol.

You can also use adhesive drawer liner contact sheets but those come in a whole roll & that may be more then you need.
[Samsung Epic 4G Touch] beezar:
anyone got pics of this case with their phone in it? preferably with different angles.
[Samsung Epic 4G Touch] Zexell:
Theres a thread on this case titled "Bumper Case" or something to that. It had a few pictures.

Just get the case, its $4 on amazon, looks great. How can you go wrong.