[Captivate Android Development] atinm:
THIS IS FOR CAPTIVATE ONLY

I am not responsible for any damage caused to your device

BACKUP BACKUP BACKUP with Nandroid and Titanium Backup before installing this.
​

What this is:

Voodoo lagfix beta 4 from supercurio

Backlight notification patches from neldar

Vanilla Captivate kernel built from Samsung sources.
​

What this is *not*:

Unhelpful OC/UV kernel. I did start from his github repository, and cherry picked the changes I wanted while leaving the OC/UV out for now.

Voodoo color fix.
​

How to install

Download captivate-voodoo3.0_bln_v1.10.zip. (You can also install captivate-voodoo_lagfix_3.0_v1.10_nobln.zip if you do not want backlight notification).

Did I say backup first yet? Backup in case something fails and you need to recover!

Rename the downloaded file to update.zip, put it on the root of your built in sd card (not the removable one!), reboot into stock recovery mode, select reinstall packages. The first conversion takes a long time depending on how much data needs to be converted (the white AT&T screen). The phone will tell you as it progresses through the different stages ("please wait", "step 1", "step 2" and if all goes well "conversion successful"). Important: You have to install via recovery using the update.zip if you want the backlights to work because this also needs /system/lib/hw/lights.default.so to be updated for BLN support. Either that, or install the file yourself by pulling it out of the update.zip and putting it in /system/lib/hw, overwriting the stock version. If you do not want backlight notification, install captivate-voodoo_lagfix_3.0_v1.10_nobln.zip instead.

Important

If you have installed v1.2 or below or installed v1.4 or installed v1.5 while I had it up, you need captivate-voodoo-beta4-v1.5a.zip to clean up the sound configuration first. Then install the latest release. You do not need v1.5a if this is the first time you are installing this (or are coming from stock), you just need the latest release.

Nandroid, ClockworkMod

Disable the lagfix as above before using Nandroid, Clockworkmod because they do not understand EXT4 yet and will not backup correctly.

More details on the voodoo lagfix on http://project-voodoo.org/installation as it is basically the same as the Galaxy S (international).

Enjoy!
​

HSUPA (optional, bluetooth mic does not work):

Install Captivate Voodoo+BLN+HSUPA kernel+ I9000 JH2 modem: Before you flash this, first install the Captivate Voodoo+BLN kernel above. Then use ROM Manager to flash i897_hsupa_v1.10.zip. This will install a new Captivate Voodoo+BLN+HSUPA kernel that allows us to use the I9000 JH2 modem that enables HSUPA for us. There is no need to disable-lagfix if you already have Voodoo lagfix working, but it is a good idea to make backups in any case. Note: Bluetooth mic does not work with this yet.

Revert back to Captivate Voodoo+BLN+JH7modem:

Use ROM Manager to flash i897-captivate_v1.10-revert.zip. This will flash back to the Captivate Voodoo+BLN kernel without HSUPA and will also flash the Captivate JH7 modem. No need to disable lagfix if you are already running it.
​

Uninstall:

Disable lagfix

1. Mount phone on computer (connect it so that you see its two card, one internal, one external if you have one).

2. Navigate to the Voodo folder on the internal SDCARD (there should be only one of the two cards that has this folder)

3. Create a file (or folder) named "disable-lagfix", no extensions. (right click -> new-> new file or folder)

4. Unmount your cards from the computer.

5. Shut phone OFF.

6. Turn back on.

You should hear the "Converting EXT4 back to RFS".

Scary way to get original kernel back

If you really really want to go back to the kernel you had before applying the lagfix kernel (why?), first disable the lagfix as explained above. Then you will need to get into adb shell, with root.

thor$ adb shell
$ su
# redbend_ua restore bml7-zImage-kernel-backup.img /dev/block/bml7

Be very very careful with this command. If you make a mistake, you can brick you phone for good.

If *I* wanted my original kernel back, I would just disable-lagfix, make a backup and then use Odin One-click to go to stock and then restore from backup. Much less scary and no danger of killing the phone.
​

Changelog:

1.10 Added backlight notification. Changed to use stock sbin/init because the previous init might have been the cause of some ppl losing sdcard or usb (might have been!). captivate-voodoo3.0_bln_v1.10.zip captivate-voodoo_lagfix_3.0_v1.10_nobln.zip

1.9 Same as 1.8, but with a different method for handling init.d scripts so it uses the standard busybox run-parts. captivate-voodoo_lagfix_3.0_v1.9.zip

1.8 Make sure /data is mounted noatime, nodiratime - better performance and fewer writes to flash. Was an oversight that these were dropped. captivate-voodoo_lagfix_3.0_v1.8.zip

1.7 Cleaned up /system so nothing is left there after the phone comes up fully. No change in behavior. captivate-voodoo_lagfix_3.0_v1.7.zip

1.6 Clean voodoo installation with stock Captivate kernel (actually the same as v1.3, but to avoid confusion for ppl coming to this from stock). captivate-voodoo-beta4-v1.6.zip

1.5a Bugfix release that cleans up the mess from any previous voodoo installs that disabled sound for you. captivate-voodoo-beta4-v1.5a.zip

1.4 There is no 1.4 anymore. If you installed it, you need 1.5a above.

1.3 Fixed headphones problem (configuration problem for sound in general) captivate-voodoo-beta4-1.3.zip

1.2 Added init.d support to allow things like mobileAP etc to work. Do not use.

1.1 Totally vanilla update.zip - has nothing but lagfix. Do not use.

1.0 Left some pieces from my SRE installation on the update.zip - fixed in 1.1
​

Credits:

Francois Simond, supercurio on XDA (Voodoo lagfix)

Neldar@XDA (Backlight notification patch)

Unhelpful@XDA (kernel help)
​

Github repositories:

Voodoo initramfs used to build the kernel initramfs

Linux kernel sources, configs for Captivate to build this release

Toolchain used

Clone the repos, change the CONFIG_INITRAMFS_SOURCE to point to the voodoo initramfs in the i897_defconfig file under arch/arm/configs of the kernel and build with the build_kernel.sh in the top level of the linux kernel directory. The build_kernel.sh has to be edited to change CROSS_COMPILE to point to the toolchain and the AOSP variable has to point to the place where it can find the signing tools under the eclair build from AOSP.
​

Donate:

I am a liver transplant survivor and I would not be here if not for the generosity of the person who was thoughtful enough to have signed up to donate his organs before he passed away.

And if you are feeling cash rich, you could also support supercurio for the voodoo lagfix and support neldar for the backlight notification. :D
​

I have tried to keep the kernel as vanilla as I could so that I could isolate the changes to just the ext4 lagfix. I will include more things as I work on this and if I have the time!

I am putting everything on github so others can continue on this if I am lax :rolleyes:

-Atin:)