Mobile Expert
Thanks to ralphreyes *** And of course......(Updated 10/22)Auto-deodexer 1.2.8 for the Captivate (Froyo-Gingerbread)


(^_^) (Updated 10/22)Auto-deodexer 1.2.8 for the Captivate (Froyo-Gingerbread). Thanks to ralphreyes ***
And of course, for KH3 and KI1-KI2 use Boogs kernel available here http://mobile-expert.talkwhat.com/show....php?t=1242533
googletag.cmd.push(function() { googletag.display('div-gpt-ad-2864076999006-7'); });
And Apkmanager is great to decompile and compile apk and jar files - Thanks raziel23x
KERNELS
UPDATE- I'm adding a basic clockworkmod flashable script template that you can pop your system into. There are allot of resources out there to help you accomplish your task. The template will not work with special kernels that have scripting included such as init.d, you will have to flash special MOD kernels that contain scripts, afterwards.
TOOLS
It is beyond the scope of my talents and time to completely teach someone how to do all of this, but google is your friend when it comes to learning this stuff. It includes redbend_ua, wipe, busybox, su and superuser.apk for root. If there is, try running the deodexer again just to make sure it just wasn't a glitch.
It can pull a stock ROM from your phone and deodex it, using adb or you can extract a factoryfs.rfs file and place app and framework folder into the app and framework folders for the script.
***Fixed the Core_ROM.zip so it will install the modem and kernel, plus added the wipe script.***
You have to have the Java sdk and samsung usb drivers installed on your computer for it to work. I'm just merely supplying some basic tools for you.
**NOTICE: due to the nature of DOS (Windows) environmental variables, the deodexer needs to be extracted to the root folder, or any folder it resides in, can't have a space in its name. I assume it will work on XP as well, but haven't tested it.
or flash a kernel tar using odin, that has clockwork mod baked in (Gingerbread), and will need to add a cwm modded kernel to the update folder in the template if you want to keep clockwork mod recovery (Gingerbread). You will have to add a kernel (zImage) and the appropriate modem (modem.bin) to the updates folder.
Plus raziel23x has a new apk multi tool that is still in beta but is worth watching http://apkmultitool.com/
*****CAUTION:This is a full wipe template so be careful and know what you are doing.*****
Thanks and credits goes out to Daneshm90 and crzyruski for the deodexer scripts and JesusFreke for giving us baksmali-smali and not to forget, Igor Pavlov for 7zip.
The script is a windows batch file and was modified on Windows 7.
It also has a batch zipalign tool for when its done deodexing.
Also for those that want a free alternative to Photoshop to modify your graphics, there is a great program called Paint.Net http://paintnet.org/
Pull the system from your phone or add your app and framework folders to the extracted folder for the deodexer.
http://notepad-plus-plus.org/
Just add .apk to the end of the .jar, do your modding, change it back to jar when you're done, works great.
***The script has been updated to include the boot class path as an option, instead of having to copy and paste the whole thing, so the Bootclass_path.txt file is no longer needed... Note: Remember to check the app and framework folders for files that got skipped. e.g.
It deodexes the app and framework folders in three passes, the first pass does the files that don't require a specific boot class path, the second pass deodexes the files that do require a boot class path and the third does a check for any files the for-do loop may have skipped.
http://mobile-expert.talkwhat.com/show...0&postcount=57
I hope someone finds this useful.
It takes approximately 10 to 30 minutes to complete, depending on your computer, but considering that it took me almost a day to deodexed a ROM manually, , thats not so bad..
http://mobile-expert.talkwhat.com/showthread.php?t=598026
http://mobile-expert.talkwhat.com/show....php?t=1227179
You will have to flash an update.zip (Froyo) http://mobile-expert.talkwhat.com/showthread.php?t=734163
I included a Readme file with instructions.
Rogers - KH2
//if (jQuery(window).width() < 1247 || sidebar_cookie == 'false') {
[SCRIPT/TOOL](Updated 10/22)Auto-deodexer 1.2.8 for the Captivate (Froyo-Gingerbread)
***NOW ITS FINAL***
Notepad++ works great at editing the updater-script in the META-INF folder.
var sidebar_cookie = jQuery.cookie('xda_sidebar_visible');
You have the option to select boot class paths for Captivate i897 (gingerbread or froyo), or you can input a custom boot class path string.
For KF1 I found this link for the cog5-beta2-kernel.tar, thanks to designgears. Android SDK as opposed to Android_SDK***

Why would you want to deodex your own ROM when you could download somebody elses? Something to do I guess.
http://mobile-expert.talkwhat.com/showthread.php?t=822311
So I merged what I had with theirs and modified it to work on the Captivate ROM's.
Extract the Deodexer_i897.zip to a folder that does not have spaces in the name.

i897 - KB1, KF1, KH3, KI1, KI2, KJ1, KJ2, KJ3, KK1 and KK2
For KJ1, KJ2 and KJ3 use Boogs kernel here http://mobile-expert.talkwhat.com/show....php?t=1294849
If you are serious about MODDING here is another valuable tool, Beyond Compare available here $$ http://www.scootersoftware.com/
(Remember, stock KH3 - KJ3 do not have any ringtones so you will have to copy them to the media/audio folder from another ROM)
//}
As always, I am not responsible if it messes up your phone. http://ftp.captivate.org.ua/samsung/...M/cognition_5/
I've tested it on:
***I added some minor reliability improvements, by including more error checking, seems to run pretty smooth***
And this is a valuable reference for those interested in Modding
And the smali and xmls in the apks and jars.
Then just doubleclick on deoall.bat and your off and running.
i9000 - JVO, JVR and JVS stock ROMs.
I've been playing around with making a deodexer script and having some issues, did a google search and came across these two posts.
//console.log('Window Width: '+ jQuery(window).width());
I've flashed and tested KF1, KH3, KI2, KJ1, KJ2 and KJ3 on my phone with no problems.
I thought it would be a useful tool to have and thought I would share with anyone interested in deodexing their own stock ROM

What about an odexer?
I would like to odex the ROM on my phone after I get my desired modifications in. Any chance on an odexer script?

crt60,
Didn't get a chance to try this out last weekend. I hope to get to it this Sat. I'll give u some feed back afterwards.
Appreciate the work u are doing and sharing.
Sent from i897uckj3

This is awesome !! Thanks for sharing.
I will have to check this out when I get time this weekend...or sooner.

**NOTICE** I added another deodexer for high performance computers with quad-core or high end dual core processors, even though the original deodexer works fine, because the script would run so fast, it can produce errors, or skip files because of possible memory segment overlap, causing null pointer exceptions, so I added a 3 second pause between each operation to solve this issue. It only adds a minute or two to the deodexing time, but should add reliability and integrity to the deodexed ROM -> Deodexer_i897x.zip
I've been playing around with making a deodexer script and having some issues, did a google search and came across these two posts.
http://mobile-expert.talkwhat.com/showthread.php?t=598026
http://mobile-expert.talkwhat.com/show...0&postcount=57
So I merged what I had with theirs and modified it to work on the Captivate ROM's.
I thought it would be a useful tool to have and thought I would share with anyone interested in deodexing their own stock ROM.
Why would you want to deodex your own ROM when you could download somebody elses? Something to do I guess.
It deodexes the app and framework folders in three passes, the first pass does the files that don't require a specific boot class path, the second pass deodexes the files that do require a boot class path and the third does a check for any files the for-do loop may have skipped.
It takes approximately 10 to 30 minutes to complete, depending on your computer, but considering that it took me almost a day to deodexed a ROM manually, , thats not so bad.
It can pull a stock ROM from your phone and deodex it, using adb or you can extract a factoryfs.rfs file and place app and framework folder into the app and framework folders for the script.
It also has a batch zipalign tool for when its done deodexing.
You have to manually add the boot class paths at the beginning when prompted, but I included a text file that you can just copy and paste the appropriate boot class paths into the script. I did that in case of future or other ROMs, so the boot class paths could be modified.
Just doubleclick on deoall.bat and your off and running.
I included a Readme file with instructions.
You have to have the Java sdk and samsung usb drivers installed on your computer for it to work.
The script is a windows batch file and was modified on Windows 7. I assume it will work on XP as well, but haven't tested it.
I've tested it on KB1, KF1, KH3, KI1-KI2, KJ1, KJ2, KJ3 and Rogers KH2 stock ROMs.
I've flashed and tested KF1, KH3, KI2, KJ1, KJ2 and KJ3 on my phone with no problems.
(Remember, stock KH3 - KJ3 do not have any ringtones so you will have to copy them to the media/audio folder from another ROM)
Note: Remember to check the app and framework folders for files that got skipped. If there is, try running the deodexer again just to make sure it just wasn't a glitch.
Thanks and credits goes out to Daneshm90 and crzyruski for the deodexer scripts and JesusFreke for giving us baksmali-smali and not to forget, Igor Pavlov for 7zip.
UPDATE- I'm adding a basic clockworkmod flashable script template that you can pop your system into. It includes redbend_ua, busybox, su and superuser.apk for root. You will have to add a kernel (zImage) and the appropriate modem (modem.bin) to the updates folder.
You will have to flash an update.zip (Froyo) http://mobile-expert.talkwhat.com/showthread.php?t=734163
or flash a kernel tar using odin, that has clockwork mod baked in (Gingerbread), and will need to add a cwm modded kernel to the update folder in the template if you want to keep clockwork mod recovery (Gingerbread). The template will not work with special kernels that have scripting included such as init.d, you will have to flash special MOD kernels that contain scripts, afterwards.
*****CAUTION:This is a full wipe template so be careful and know what you are doing.*****
It is beyond the scope of my talents and time to completely teach someone how to do all of this, but google is your friend when it comes to learning this stuff. There are allot of resources out there to help you accomplish your task. I'm just merely supplying some basic tools for you.
TOOLS
Notepad++ works great at editing the updater-script in the META-INF folder.
And the smali and xmls in the apks and jars.
http://notepad-plus-plus.org/
And Apkmanager is great to decompile and compile apk and jar files - Thanks raziel23x
http://mobile-expert.talkwhat.com/show....php?t=1227179
Just add .apk to the end of the .jar, do your modding, change it back to jar when you're done, works great.
Also for those that want a free alternative to Photoshop to modify your graphics, there is a great program called Paint.Net http://paintnet.org/
KERNELS
For KF1 I found this link for the cog5-beta2-kernel.tar, thanks to designgears. http://ftp.captivate.org.ua/samsung/...M/cognition_5/
And of course, for KH3 and KI1-KI2 use Boogs kernel available here http://mobile-expert.talkwhat.com/show....php?t=1242533
For KJ1 and KJ2, use Boogs kernel here http://mobile-expert.talkwhat.com/show....php?t=1294849
As always, I am not responsible if it messes up your phone.
I hope someone finds this useful.
***Fixed Root***
thanks for your work ,so i can build my own rom by myself with less work

Nice job on the "Read me".
Will be trying my hand at this asap...
thanks again
Thanks, let me know how it goes. I did three more ROMs after I fixed it and flashed two of them and had no problems. When I get home tonight, was going to add an option to root plus will upload some templates for cwm recovery.
Sent from my SAMSUNG-SGH-I897 using XDA App

var sidebar_cookie = jQuery.cookie('xda_sidebar_visible');
//console.log('Window Width: '+ jQuery(window).width());
//if (jQuery(window).width() < 1247 || sidebar_cookie == 'false') {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-2864076999006-7'); });
//}
[SCRIPT/TOOL](Updated 10/22)Auto-deodexer 1.2.8 for the Captivate (Froyo-Gingerbread)
***I added some minor reliability improvements, by including more error checking, seems to run pretty smooth***
I've been playing around with making a deodexer script and having some issues, did a google search and came across these two posts.
http://mobile-expert.talkwhat.com/showthread.php?t=598026
http://mobile-expert.talkwhat.com/show...0&postcount=57
So I merged what I had with theirs and modified it to work on the Captivate ROM's.
I thought it would be a useful tool to have and thought I would share with anyone interested in deodexing their own stock ROM.
Why would you want to deodex your own ROM when you could download somebody elses? Something to do I guess.
It deodexes the app and framework folders in three passes, the first pass does the files that don't require a specific boot class path, the second pass deodexes the files that do require a boot class path and the third does a check for any files the for-do loop may have skipped.
It takes approximately 10 to 30 minutes to complete, depending on your computer, but considering that it took me almost a day to deodexed a ROM manually, , thats not so bad.
It can pull a stock ROM from your phone and deodex it, using adb or you can extract a factoryfs.rfs file and place app and framework folder into the app and framework folders for the script.
It also has a batch zipalign tool for when its done deodexing.
You have the option to select boot class paths for Captivate i897 (gingerbread or froyo), or you can input a custom boot class path string.
Extract the Deodexer_i897.zip to a folder that does not have spaces in the name.
Pull the system from your phone or add your app and framework folders to the extracted folder for the deodexer.
Then just doubleclick on deoall.bat and your off and running.
I included a Readme file with instructions.
You have to have the Java sdk and samsung usb drivers installed on your computer for it to work.
The script is a windows batch file and was modified on Windows 7. I assume it will work on XP as well, but haven't tested it.
I've tested it on:
i897 - KB1, KF1, KH3, KI1, KI2, KJ1, KJ2, KJ3, KK1 and KK2
Rogers - KH2
i9000 - JVO, JVR and JVS stock ROMs.
I've flashed and tested KF1, KH3, KI2, KJ1, KJ2 and KJ3 on my phone with no problems.
(Remember, stock KH3 - KJ3 do not have any ringtones so you will have to copy them to the media/audio folder from another ROM)
Note: Remember to check the app and framework folders for files that got skipped. If there is, try running the deodexer again just to make sure it just wasn't a glitch.
Thanks and credits goes out to Daneshm90 and crzyruski for the deodexer scripts and JesusFreke for giving us baksmali-smali and not to forget, Igor Pavlov for 7zip.
UPDATE- I'm adding a basic clockworkmod flashable script template that you can pop your system into. It includes redbend_ua, wipe, busybox, su and superuser.apk for root. You will have to add a kernel (zImage) and the appropriate modem (modem.bin) to the updates folder.
You will have to flash an update.zip (Froyo) http://mobile-expert.talkwhat.com/showthread.php?t=734163
or flash a kernel tar using odin, that has clockwork mod baked in (Gingerbread), and will need to add a cwm modded kernel to the update folder in the template if you want to keep clockwork mod recovery (Gingerbread). The template will not work with special kernels that have scripting included such as init.d, you will have to flash special MOD kernels that contain scripts, afterwards.
*****CAUTION:This is a full wipe template so be careful and know what you are doing.*****
***Fixed the Core_ROM.zip so it will install the modem and kernel, plus added the wipe script.***
It is beyond the scope of my talents and time to completely teach someone how to do all of this, but google is your friend when it comes to learning this stuff. There are allot of resources out there to help you accomplish your task. I'm just merely supplying some basic tools for you.
TOOLS
Notepad++ works great at editing the updater-script in the META-INF folder.
And the smali and xmls in the apks and jars.
http://notepad-plus-plus.org/
And Apkmanager is great to decompile and compile apk and jar files - Thanks raziel23x
http://mobile-expert.talkwhat.com/show....php?t=1227179
Just add .apk to the end of the .jar, do your modding, change it back to jar when you're done, works great.
Plus raziel23x has a new apk multi tool that is still in beta but is worth watching http://apkmultitool.com/
Also for those that want a free alternative to Photoshop to modify your graphics, there is a great program called Paint.Net http://paintnet.org/
If you are serious about MODDING here is another valuable tool, Beyond Compare available here $$ http://www.scootersoftware.com/
And this is a valuable reference for those interested in Modding
http://mobile-expert.talkwhat.com/showthread.php?t=822311
KERNELS
For KF1 I found this link for the cog5-beta2-kernel.tar, thanks to designgears. http://ftp.captivate.org.ua/samsung/...M/cognition_5/
And of course, for KH3 and KI1-KI2 use Boogs kernel available here http://mobile-expert.talkwhat.com/show....php?t=1242533
For KJ1, KJ2 and KJ3 use Boogs kernel here http://mobile-expert.talkwhat.com/show....php?t=1294849
***The script has been updated to include the boot class path as an option, instead of having to copy and paste the whole thing, so the Bootclass_path.txt file is no longer needed... Thanks to ralphreyes ***
**NOTICE: due to the nature of DOS (Windows) environmental variables, the deodexer needs to be extracted to the root folder, or any folder it resides in, can't have a space in its name. e.g. Android SDK as opposed to Android_SDK***
As always, I am not responsible if it messes up your phone.
I hope someone finds this useful.
***NOW ITS FINAL***

How can I extract a one-click .exe stock ROM?
Thansk.

Thanks I've been looking for an easy way to deodex my own stock rom. I will put it to good use.
Sent from my SAMSUNG-SGH-I897 using XDA App

Nice job on the "Read me".
Will be trying my hand at this asap...
thanks again

Copyright©2009-2014 Mobile Expert All Rights Reserved Contact Us