[Galaxy Tab  Android Development] Chainfire:
This rooted kernel is for the "rooting beginners" and those who want to keep as close to stock as possible. CF-Root takes the kernel from an original Samsung firmware, and just adds root, busybox, and ClockWorkMod (CWM3) recovery

(1) THIS IS NOT A ROM - it is only a modified kernel. You need to have the relevant firmware already on your device. You do NOT need to wipe anything for this patch. You DO need to read the instructions. PLEASE READ THIS ENTIRE POST!

(2) THIS IS ONLY FOR

GSM

TAB. IT MAY WORK ON OTHERS VARIANTS, BUT YOU'RE ON YOUR OWN THERE !

(3) I have moved the description for the old FROYO CF-Root's to the next post, but the downloads for the FROYO CF-Root's are still attached to THIS post. The contents of THIS post however are about the GINGERBREAD CF-Root's

(4) MAKE SURE YOUR PHONE CAN ENTER DOWNLOAD MODE USING THE KEYCOMBINATION WHILE BOOTING BEFORE FLASHING CF-ROOT (or anything, really)

Donate

There have now been over 200.000 downloads of CF-Root for various devices, and many more if you include ROMs, kernels, etc that use it. Don't be a leech, buy me a beer (and use the "Thanks" button!)

Features

- The kernel is fully stock and taken from the original firmware, with just the following added:

- Root

- Superuser 2.3.6.1

- Busybox v1.16.2androidminimal (from CWM)

- Integrated CWM 3.0.0.5 / RFS

Instructions (short)

- Flash CF-Root-xxx-vX.X.tar (from the attached zip) as PDA in ODIN, without repartition. Done.

Instructions (long)

- Follow these instructions to the letter. Do not touch any buttons or checkboxes that are not listed below to touch!

- Unzip the attached CF-Root-xxx-vX.X.zip

- (USB) Disconnect your phone from your computer

- Start ODIN

- Click the PDA button, and select CF-Root-xxx-vX.X.tar

- Put your phone in download mode

- (USB) Connect the phone to your computer

- Make sure repartition is NOT checked

- Click the START button

- Wait for the phone to reboot

- Done (if it took you more than 30 seconds, you need practise!)

Instructions (alternative if you are already running CF-Root 2.5 or newer)

- Copy the zip file to your SD card

- Stop sharing SD card with computer over USB, unplug the cable, etc

- Applications -> CWM -> Flash kernel. Select the ZIP file on your SD card.

- Done

Other kernels

Replacing CF-Root with other kernels and vice-versa sometimes works, sometimes it doesn't. I don't have a list.

When going from CF-Root to another kernel, root will usually stay, while CWM will be lost (unless the other kernel also includes it), but there should not be issues. The CWM Manager and Tweak Manager apps may remain, but they probably won't do anything useful.

CF-Root is made to be applied on a stock kernel. Going from a lagfixed kernel to CF-Root usually does not work. Unlagfix first.

ClockworkMod

CF-Root includes a special version of CWM3, modified to work with RFS. CWM3 by default does not support RFS, koush' versions are all based on ext4. The RFS compatibility is done with heavy scripting. CWM3 is also recompiled from source with some slight modifications to handle key input correctly.

CF-Root/CWM3 is NOT compatible with ROM Manager! Manage/perform your backup/restores from CWM directly or using the CWM Manager application included with CF-Root

- Booting into recovery will immediately give you CWM. The standard recovery will only be started if a Samsung package is detected.

- ADB is functional in recovery, however it may take up to a minute for it to start up after booting into recovery.

- When connected to ADB in recovery, you need to use "rootsh" command to get root, instead of "su". This will not prompt you, it will just give you root. Obviously the "rootsh" command does not work when booted normally.

CWM Manager

Because of incompatibility with ROM Manager, I wrote and included "CWM Manager". This is a new app (as of March 30, 2011) and beta. You can find it under Applications -> CWM. It is much faster to use than manually booting into CWM and selecting these options.

Features:

- Boot to CWM

- Backup firmware

- Restore backups

- Delete backups

- Install APKs

- Flash CWM3 update.zip's

- Flash kernels (zImage, zImage in TAR, zImage in ZIP, zImage in TAR in ZIP)

Note:

If you flash a different kernel, CWM Manager may remain installed. However, functions may not work, because they need kernel compatibility ! At this version of CWM Manager this does not produce errors, it just doesn't do what you expect it to :)

Tweak Manager

CF-Root includes a number of tweaks that are applied on startup. A "Tweaks" application is included you can use to select which tweaks to apply.

Ext4 Manager

Ext4 is currently NOT supported on Gingerbread for the Galaxy Tab, unlike CF-Root for the Galaxy S.

Custom boot / init scripts

CF-Root will execute the following scripts if present, in the order listed:

- /system/etc/init.d/* (there can be many files here, no extensions! use #!)

- /system/bin/customboot.sh (busybox sh)

- /system/xbin/customboot.sh (busybox sh)

- /data/local/customboot.sh (busybox sh)

Please make sure you chown / chmod the scripts correctly so they can be executed.

Custom boot animations and binaries (note: broken in 3.2, fixed in 3.3)

CF-Root also supports custom boot animations:

- /system/media/bootanimation.zip

- /data/local/bootanimation.zip

And custom boot binaries:

- /data/local/bootanimation.bin

Installing busybox over the included version

It is possible to install a custom busybox over CF-Root v3.0 and newer. However, this is not without risk. CF-Root makes heavy use of scripting, and many CF-Root scripts rely on the internal busybox version. If you do install a seperate busybox version (always use "stericson" installer!), install it to /system/

x

bin. Installing it to /system/bin will mess things up for sure. Even if you do that part right, it may still break CF-Root, so make sure to make a backup before trying.

How ?

I wrote my own toolchain to ease patching of initramfs, and that is what all this is based on. Took me a few days to get it to this state. If this works right, however, next time it will probably take me a few hours tops :)

Download

LOOK WELL AT THE FILENAMES, MAKE SURE YOU ARE GETTING THE RIGHT VERSION !

CF-Root-TAB-KA1-v2.2.zip

CF-Root-TAB-JME-v2.2.zip

CF-Root-TAB-JJ7-v2.2.zip

CF-Root-TAB-JMG-v2.3.zip

CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.zip