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!!
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
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
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)
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)
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...
Very nice! This will save me allot of time . Very nice post again nikagl, you make allot of handy scripts!
Samsung Galaxy S Plus (i9001)
Latest Development:
broodROM Jellybean
- Powerful, smooth, stable, personalized, awesome battery life (1% per hour) and open source
-- Github here
broodKernel (builds on all branches)
- For GB/ICS/JB1/JB2, OC/UV, Added Governors & I/O Schedulers, Optimized, Always latest linux kernel version (on 3.4.x branch)
-- Github here
broodROM Jellybean
- Powerful, smooth, stable, personalized, awesome battery life (1% per hour) and open source
-- Github here
broodKernel (builds on all branches)
- For GB/ICS/JB1/JB2, OC/UV, Added Governors & I/O Schedulers, Optimized, Always latest linux kernel version (on 3.4.x branch)
-- Github here
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
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
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
Changed the updater script to this (commented lines because this is a test)
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)
broodROM Jellybean
- Powerful, smooth, stable, personalized, awesome battery life (1% per hour) and open source
-- Github here
broodKernel (builds on all branches)
- For GB/ICS/JB1/JB2, OC/UV, Added Governors & I/O Schedulers, Optimized, Always latest linux kernel version (on 3.4.x branch)
-- Github here
Current Device: Google Galaxy Nexus GSM i9250, XenonHD JB
Siemens A50 -> Siemens M65 -> Sony Ericsson Z710i -> Sony Ericsson W595 -> HTC Desire (SLCD) -> Palm Pre (Minus) -> Samsung Galaxy S Plus (GT-I9001) -> Huawei Honor U8860 (returned b.c. of bad touchscreen) -> Samsung Galaxy S Plus (GT-I9001) -> Google Galaxy Nexus
broodROM Jellybean
- Powerful, smooth, stable, personalized, awesome battery life (1% per hour) and open source
-- Github here
broodKernel (builds on all branches)
- For GB/ICS/JB1/JB2, OC/UV, Added Governors & I/O Schedulers, Optimized, Always latest linux kernel version (on 3.4.x branch)
-- Github here
Ubuntu has become the most successful *nix distribution for a number of reasons, … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?