[Galaxy Tab  Android Development] Chainfire:
Old FROYO CF-Root's

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!

THIS IS ONLY FOR

GSM

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

Features

- Root

- Superuser 2.3.6.1

- Busybox 1.16.2 "androidminimal"

- ClockworkMod 3.0.0.0 (RFS) included as standard recovery

- The same Samsung kernel, just with some added files. The kernel is not recompiled.

Instructions (short)

- Make sure, if you just flashed a ROM, to boot this ROM at least once before flashing CF-Root ! (if you don't do this, ROM-based update scripts may not run)

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

Instructions (long)

- Make sure, if you just flashed a ROM, to boot this ROM at least once before flashing CF-Root ! (if you don't do this, ROM-based update scripts may not run)

- 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-.....zip (note: it contains a tar file, WinRAR and WinZIP may also extract these... if you end up with a zImage, you extracted twice, instead of once)

- (USB) Disconnect your phone from your computer

- Start ODIN

- Click the PDA button, and select CF-Root-.....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!)

Must know

- It is possible you have a protected bootloader, see this thread, and check if you have a protected bootloader. CF-Root does NOT work on protected bootloaders.

- This is an RFS version of CF-Root, if you have used Koush' CWM and your filesystems have been converted to Ext4, CF-Root will NOT work. You need to reflash a full stock ROM with RFS filesystem to use CF-Root.

- If you are using a lagfix, CF-Root will NOT work!

Root

As normal, "su" can be used to get root if your device is fully booted. If not, for example in recovery, you can use the "rootsh" command.

BusyBox

The included busybox version is 1.16.2, this comes from CWM3. It is NOT needed to install or upgrade BusyBox from Market. In fact, I strongly advise against it.

ClockworkMod 3 / RFS

CF-Root for the Galaxy Tab actually includes ClockworkMod v3 (unlike CF-Root for the Galaxy S) as the default recovery. Booting into recovery will give you CWM3.

This is a heavily modified version of Koush' original CWM3 for the Tab, which uses RFS and has been extensively tested. This took a LOT of work!

Main features (differences from Koush' version):

- Uses RFS instead of Ext4 - no filesystem conversion needed

- Nandroid is fully operational without file corruption

- Backups are stored on internal SD-card

- .android-secure (apps on external SD-card) is backed up and restored

Controls:

- Volume up/down to scroll through the list of options

- Power button to select an item

From version 2.3, a "CWM" entry is listed under applications to reboot into CWM, for your convenience

Important note

A full nandroid restore also restores the kernel from the backup. This will overwrite the CF-Root kernel, if you've made the backup using a different ROM or kernel. Use "advanced restore" to restore only pieces.

A trick:

When upgrading between ROMs, I usually make a nandroid backup before the upgrade, then after flashing the ROM, use "advanced restore" in CWM3 and restore only "data". This often just works. It can cause issues, but it's a neat trick to keep your data and settings between ROMs.

ROM Manager

This version of CWM3 is NOT fully compatible with ROM Manager.

Some things work, some things don't. Really I'd advise to just use CWM from recovery manually.

First time installing ROM Manager, it'll tell you to flash CWM, just pick one of the Galaxy Tab versions and don't worry, it won't be used.

To get into CWM, just select the "reboot into recovery" option.

None of the commands that actually do something in recovery work. For example, you can manage your backups (rename, delete), but the backup and restore options don't work. They will just boot into CWM, and you still have to select backup or restore manually.

If you've used CF-Root 1.3 and 1.4

Major difference: backups are now stored on internal SD-card. Simply move the "clockworkmod" folder from external SD-card to internal SD-card to get access to your old backups. Keep in mind that a restore overwrites the kernel (CF-Root) again, as stated above.

Donate

Buy me a beer, click here - I appreciate it! If you're not going to donate, at least use the thanks button!

How ?

I wrote my own toolchain to ease patching of initramfs, and that is what all this is based on. This is a continuation of my CF-Root for SGS.

Downloads

You will find several files listed. There are for different ROM families.

Go to Settings -> About phone -> Build number. It should say something like FROYO.xxyyy. yyy will be something like JJ1 or JMA. This is the part we are interested in, and would be the JJ* and JM* "family" of ROMs. From the downloads, simply pick the latest file that matches this!

The actual file name notes which version the kernel was taken from. Different kernels from the same family usually work fine.

Is your family of ROMs not listed ? Post in this thread, maybe I can make you a version. You'll have to guinea-pig for testing, though!

( pre-2.2 : 666 )