xuban
08/09/11, 22:29:31
Hilo original: http://forum.xda-developers.com/showthread.php?t=1158197
Copied from Chainfire post (http://forum.xda-developers.com/showpost.php?p=8238938&postcount=1):
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 (S5830: compiled ext4 as module with ext2, ext3 and ext4 support), and just adds root, busybox, and (unprotected recovery and CWM compatibility) OR (CWM3). S5830: using a modified official CWM4 for Samsung Galaxy Ace.
If you are looking for highly optimized kernels or kernels that perform specific functions, look elsewhere. All CF-Root's are based on original Samsung kernels, they are NOT recompiled, and thus ensure maximum compatibility. S5830: have a kernel version compiled from Samsung original kernel source using a config file extracted from device.
THIS IS NOT A ROM - it is only a kernel (S5830: boot and recovery image). You need to have a firmware already on your device (S5830: tested on stock Gingerbread XXKPH, XWKPN, and DXKPB). You do NOT need to wipe anything for this patch. You DO need to read the instructions.
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 (1700+ for CF-Root-S5830 b80), and many more if you include ROMs, kernels, etc that use it. Don't be a leech, buy Chainfire a beer (http://www.jongma.org/dx.php) (and use the "Thanks" button!)
Features
Some binary files added:
-- Root, su binary v2.3.2-efgh
-- Superuser v2.3.6.3
-- Busybox v1.17.2 for the boot image and v1.16.2androidminimal for the recovery image (from CWM)
-- A modified CWM
Instructions (short)
- Boot into recovery and flash CF-Root-S5830-v3.7-b82.zip. Done.
Instructions (long)
ClockworkMod
- Booting into recovery will immediately give you CWM4! The standard recovery is completely gone.
- ADB is functional in recovery.
- When connected to ADB in recovery, you will get root directly.
- If you wonder where your bootup sounds have gone, CF-Root probably renamed them.
CWM Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108)
Features:
- Boot to CWM
- Backup firmware
- Restore backups (S5830: Do not use CWM Manager to restore any backup for now, use CWM Advance Backup directly!)
- Delete backups
- Install APKs
- Flash CWM update.zip's
- Flash kernels (zImage, zImage in TAR, zImage in ZIP, zImage in TAR in ZIP) (S5830: you have to rename boot.img to zImage)
Tweak Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108), except:
- Kernel: Scheduler option always disabled on boot. Kernel scheduler tweak not working on S5830.
- Now have "DT: Auto start" option to turn on/off Darktremor a2sd script on boot. Don't worry, Darktremor apps2sd setting is persistent, event you turn off the auto start script. It's safer to turn a2sd auto start off!
Ext4 Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108).
Obviously you should revert back to rfs before flashing a new stock/modified ROM!
S5830: No need to revert back to rfs before flashing a new stock Gingerbread ROM! Tested using XXKPH, XWKPN, and DXKPB.
Custom boot / init scripts
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108).
Mount /dev/block/mmcblk0p2 to /system/sd if the microSD second partition present (ext2, ext3, or ext4), do not remove the microSD while S5830 ON (event after unmounted from "SD card and phone storage settings"), turn off your phone first before eject the microSD! It's safe to connect your phone to PC and mount the first partition (FAT/FAT32) in mass storage mode.
Custom boot animations and binaries
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108). S5830: DXKPB have a bug (or Samsung made it), bootanimation not closed when boot complete, CF-Root fix it!
Dark Tremor apps2sd:
A modified DT's apps2sd to guarantee no longer interfere Wi-Fi, BT, GPS, etc. Flash it using CWM recovery or CWM Manager - Flash update.
CF-Root by default not automatically start DT a2sd script on boot. Run Tweak Manager and select "DT: Auto start" option, then "Apply changes" to reboot your phone. When booting, bootloop will occur several times during DT apps2sd activation for the first time.
Installing busybox over the included version
Don't do it!
How ?
- Base on Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108), used a modified mkbootfs in order files in /sbin have the appropriate permissions.
- A modified CWM4 package to make sure ext4 Manager conversion scripts working as expected.
- Boot logo modification, references from here (http://www.androidtablets.net/forum/android-tablet-hacking/438-how-setup-static-bootlogo-before-animated-boot-animation.html#post1895) and here (http://forum.xda-developers.com/showpost.php?p=6775233&postcount=5).
The original post (in Indonesian): CF-Root-S5830XXKPH (http://www.kaskus.us/showpost.php?p=459171105&postcount=2996).
UPDATE: CF-Root-S5830 v3.7 b82
The original update (in Indonesian): CF-Root-S5830-v3.7-b82 (http://www.kaskus.us/showpost.php?p=505627797&postcount=8026)
Single *.zip for both boot and CWM recovery image. Flashable using stock or CWM recovery!
Using Samsung Galaxy Ace DXKPB stock kernel (2.6.35.7-perf-CL514579), don't blame me if you got SOD
ext4 as a module
wifi module (ar6000.ko) included, so this version of CF-Root-S5830 will work on all versions of Gingerbread
Busybox installed in /system/xbin
Need the new CF-Root-S5830_ext4-v1.3u3.apk for rfs and ext4 filesystem conversion
Bootanimation fix, kill bootanimation when boot done (DXKPB bugfix?). Android Scribble as demo bootanimation, delete /data/local/bootanimation.zip if you don't like it
cifs.ko and tun.ko included, no need separate package
Since using the stock kernel, have no BLN and swap support
Small size boot and recovery image, ~5MB each http://media.xda-developers.com/images/smilies/biggrin.gif
UPDATE: CF-Root-S5830 v3.7 b80
kernel compiled using gcc version 4.5.2 (Sourcery G++ Lite 2011.03-42)
swap support
ext3, ext4 filesystem support
lzma initramfs support
kernel log buffer size: 12 -> 4KB
small-memory-footprint RCU -> Tiny RCU
default kernel command string: mem=330M console=NULL hw=5 fbaddr=0xf6000 quiet
printk without timing information
debug info disabled
alsa debug disabled
unnecessary LCD and battery printk removed
BLN kernel support, modified liblights.msm7k.so
wifi module taken from XWKPN to make a single distribution for both KPH and KPN
recovery b79: fix CSC flashing error
Single distribution for both KPN and KPH. For full BLN support, you have to install KPH/KPN services on deodexed framework. Backup your /system/framework/services.jar first!
UPDATE: CF-Root-S5830 v3.7 b78
Using only 1 system property from the previous 21 (CF-Root + DT apps2sd). Now is guaranteed CF-Root no longer interfere Wi-Fi, BT, GPS, etc. It's a big problem if Android system property reach the 247 limit. You can use "getprop | grep -c ]" to count registered system property.
The tweak script in /system/etc/init.d, it allows advanced users to do further tweaking
New icon for CWM, Tweak, and ext4 Manager. Thanks to moemooo (http://www.kaskus.us/member.php?u=3094351).
Using CWM4 recovery. CWM4 re-packaged to ensure the ext4 Manager script working as expected. The ext4 script also improved, check SD card second partition also.
Modified Darktremor apps2sd to use the CF-Root busybox. Reducing system property need to 0. Method of mounting SD card second partition fixed, false filesystem type detection will not happen.
Turn the button backlight when the CF-Root script starts executed and turn it off upon completion. This could be an indicator of a problem and inform the user how long the CF-Root script is executed. Apparently fast so the already b78 user was not aware of this new feature http://media.xda-developers.com/images/smilies/tongue.gif
Tweaks LCD in Tweak Manager changed as a switch for toggling a2sd script execution when booting.
DOWNLOAD:
CF-Root-S5830-v3.7-b82.zip (11.95 MB) (http://www.multiupload.com/S1RZLFLKLM)
Don't use the older version of CF-Root-S5830, I leave the attachments here since like to see the comparison between the number of downloads and the thanks list http://media.xda-developers.com/images/smilies/wink.gif
CF-Root-S5830-v3.7-b82-ex.zip (11.83 MB) (http://www.multiupload.com/MGTL5WTVOE)
The -ex version have swap and BLN support. This version using a kernel compiled from source, the config file extracted from DXKPB device (/proc/config.gz) without alot modification. Need a patched Service Manager (services.jar) for fully working BLN. Only DXKPB Service Manager attached here (CF-Root-S5830_DXKPB-services.zip) for now. You can patch your deodexed services.jar base on neldar's patch (https://github.com/neldar/backlightnotification/blob/master/framework_patches/i9000-jvh/bln-i9000-jvh-services.patch) or ask me to do it.
A modified ext4 Manager to make it work on Galaxy Ace. Need a modified CWM4 recovery, not sure will work on official CWM4 from illarain/koush. This version show /system/sd partition size.
A reference multi CSC, taken from XWKPN (Europe?) and DXKC1 (Asia?). Default CSC: Indonesia http://media.xda-developers.com/images/smilies/wink.gif . A good reference for ROM cooker http://media.xda-developers.com/images/smilies/biggrin.gif
sec_csc.zip (3.69 MB) (http://www.multiupload.com/9FQWN1B050)
DOWNLOAD RECORD:
CF-Root-S5830-v3.7-b80_cifs_tun.zip: 493 downloads
CF-Root-S5830-v3.7-b80_boot.zip: 1777 downloads
CF-Root-S5830-v3.7-b79_recovery.zip: 1556 downloads
CF-Root-S5830_tweaks-jrs.zip: 284 downloads
CF-Root-S5830_tweaks-default.zip: 151 downloads
Users Say Thank You: 28 http://media.xda-developers.com/images/smilies/rolleyes.gif Chainfire said, "Don't be a leech".
Attached Files http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_KPH-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=676866&d=1312445134) - [Click for QR Code] (840.8 KB, 568 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_KPN-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=676867&d=1312445134) - [Click for QR Code] (834.0 KB, 381 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_DXKPB-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=714284&d=1315543900) - [Click for QR Code] (847.9 KB, 902 views) http://media.xda-developers.com/images/attach/apk.gif CF-Root-S5830_ext4-v1.3u3.apk (http://forum.xda-developers.com/attachment.php?attachmentid=714285&d=1315543936) - [Click for QR Code] (1.44 MB, 272 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_dtapps2sd-v1.2.zip (http://forum.xda-developers.com/attachment.php?attachmentid=714457&d=1315567145) - [Click for QR Code] (1.08 MB, 248 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_XWKPO-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=715242&d=1315631439) - [Click for QR Code] (835.6 KB, 212 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_DDKQ5-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=715336&d=1315642535) - [Click for QR Code] (850.4 KB, 56 views)
Copied from Chainfire post (http://forum.xda-developers.com/showpost.php?p=8238938&postcount=1):
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 (S5830: compiled ext4 as module with ext2, ext3 and ext4 support), and just adds root, busybox, and (unprotected recovery and CWM compatibility) OR (CWM3). S5830: using a modified official CWM4 for Samsung Galaxy Ace.
If you are looking for highly optimized kernels or kernels that perform specific functions, look elsewhere. All CF-Root's are based on original Samsung kernels, they are NOT recompiled, and thus ensure maximum compatibility. S5830: have a kernel version compiled from Samsung original kernel source using a config file extracted from device.
THIS IS NOT A ROM - it is only a kernel (S5830: boot and recovery image). You need to have a firmware already on your device (S5830: tested on stock Gingerbread XXKPH, XWKPN, and DXKPB). You do NOT need to wipe anything for this patch. You DO need to read the instructions.
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 (1700+ for CF-Root-S5830 b80), and many more if you include ROMs, kernels, etc that use it. Don't be a leech, buy Chainfire a beer (http://www.jongma.org/dx.php) (and use the "Thanks" button!)
Features
Some binary files added:
-- Root, su binary v2.3.2-efgh
-- Superuser v2.3.6.3
-- Busybox v1.17.2 for the boot image and v1.16.2androidminimal for the recovery image (from CWM)
-- A modified CWM
Instructions (short)
- Boot into recovery and flash CF-Root-S5830-v3.7-b82.zip. Done.
Instructions (long)
ClockworkMod
- Booting into recovery will immediately give you CWM4! The standard recovery is completely gone.
- ADB is functional in recovery.
- When connected to ADB in recovery, you will get root directly.
- If you wonder where your bootup sounds have gone, CF-Root probably renamed them.
CWM Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108)
Features:
- Boot to CWM
- Backup firmware
- Restore backups (S5830: Do not use CWM Manager to restore any backup for now, use CWM Advance Backup directly!)
- Delete backups
- Install APKs
- Flash CWM update.zip's
- Flash kernels (zImage, zImage in TAR, zImage in ZIP, zImage in TAR in ZIP) (S5830: you have to rename boot.img to zImage)
Tweak Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108), except:
- Kernel: Scheduler option always disabled on boot. Kernel scheduler tweak not working on S5830.
- Now have "DT: Auto start" option to turn on/off Darktremor a2sd script on boot. Don't worry, Darktremor apps2sd setting is persistent, event you turn off the auto start script. It's safer to turn a2sd auto start off!
Ext4 Manager
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108).
Obviously you should revert back to rfs before flashing a new stock/modified ROM!
S5830: No need to revert back to rfs before flashing a new stock Gingerbread ROM! Tested using XXKPH, XWKPN, and DXKPB.
Custom boot / init scripts
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108).
Mount /dev/block/mmcblk0p2 to /system/sd if the microSD second partition present (ext2, ext3, or ext4), do not remove the microSD while S5830 ON (event after unmounted from "SD card and phone storage settings"), turn off your phone first before eject the microSD! It's safe to connect your phone to PC and mount the first partition (FAT/FAT32) in mass storage mode.
Custom boot animations and binaries
Same as Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108). S5830: DXKPB have a bug (or Samsung made it), bootanimation not closed when boot complete, CF-Root fix it!
Dark Tremor apps2sd:
A modified DT's apps2sd to guarantee no longer interfere Wi-Fi, BT, GPS, etc. Flash it using CWM recovery or CWM Manager - Flash update.
CF-Root by default not automatically start DT a2sd script on boot. Run Tweak Manager and select "DT: Auto start" option, then "Apply changes" to reboot your phone. When booting, bootloop will occur several times during DT apps2sd activation for the first time.
Installing busybox over the included version
Don't do it!
How ?
- Base on Chainfire's CF-Root (http://forum.xda-developers.com/showthread.php?t=788108), used a modified mkbootfs in order files in /sbin have the appropriate permissions.
- A modified CWM4 package to make sure ext4 Manager conversion scripts working as expected.
- Boot logo modification, references from here (http://www.androidtablets.net/forum/android-tablet-hacking/438-how-setup-static-bootlogo-before-animated-boot-animation.html#post1895) and here (http://forum.xda-developers.com/showpost.php?p=6775233&postcount=5).
The original post (in Indonesian): CF-Root-S5830XXKPH (http://www.kaskus.us/showpost.php?p=459171105&postcount=2996).
UPDATE: CF-Root-S5830 v3.7 b82
The original update (in Indonesian): CF-Root-S5830-v3.7-b82 (http://www.kaskus.us/showpost.php?p=505627797&postcount=8026)
Single *.zip for both boot and CWM recovery image. Flashable using stock or CWM recovery!
Using Samsung Galaxy Ace DXKPB stock kernel (2.6.35.7-perf-CL514579), don't blame me if you got SOD
ext4 as a module
wifi module (ar6000.ko) included, so this version of CF-Root-S5830 will work on all versions of Gingerbread
Busybox installed in /system/xbin
Need the new CF-Root-S5830_ext4-v1.3u3.apk for rfs and ext4 filesystem conversion
Bootanimation fix, kill bootanimation when boot done (DXKPB bugfix?). Android Scribble as demo bootanimation, delete /data/local/bootanimation.zip if you don't like it
cifs.ko and tun.ko included, no need separate package
Since using the stock kernel, have no BLN and swap support
Small size boot and recovery image, ~5MB each http://media.xda-developers.com/images/smilies/biggrin.gif
UPDATE: CF-Root-S5830 v3.7 b80
kernel compiled using gcc version 4.5.2 (Sourcery G++ Lite 2011.03-42)
swap support
ext3, ext4 filesystem support
lzma initramfs support
kernel log buffer size: 12 -> 4KB
small-memory-footprint RCU -> Tiny RCU
default kernel command string: mem=330M console=NULL hw=5 fbaddr=0xf6000 quiet
printk without timing information
debug info disabled
alsa debug disabled
unnecessary LCD and battery printk removed
BLN kernel support, modified liblights.msm7k.so
wifi module taken from XWKPN to make a single distribution for both KPH and KPN
recovery b79: fix CSC flashing error
Single distribution for both KPN and KPH. For full BLN support, you have to install KPH/KPN services on deodexed framework. Backup your /system/framework/services.jar first!
UPDATE: CF-Root-S5830 v3.7 b78
Using only 1 system property from the previous 21 (CF-Root + DT apps2sd). Now is guaranteed CF-Root no longer interfere Wi-Fi, BT, GPS, etc. It's a big problem if Android system property reach the 247 limit. You can use "getprop | grep -c ]" to count registered system property.
The tweak script in /system/etc/init.d, it allows advanced users to do further tweaking
New icon for CWM, Tweak, and ext4 Manager. Thanks to moemooo (http://www.kaskus.us/member.php?u=3094351).
Using CWM4 recovery. CWM4 re-packaged to ensure the ext4 Manager script working as expected. The ext4 script also improved, check SD card second partition also.
Modified Darktremor apps2sd to use the CF-Root busybox. Reducing system property need to 0. Method of mounting SD card second partition fixed, false filesystem type detection will not happen.
Turn the button backlight when the CF-Root script starts executed and turn it off upon completion. This could be an indicator of a problem and inform the user how long the CF-Root script is executed. Apparently fast so the already b78 user was not aware of this new feature http://media.xda-developers.com/images/smilies/tongue.gif
Tweaks LCD in Tweak Manager changed as a switch for toggling a2sd script execution when booting.
DOWNLOAD:
CF-Root-S5830-v3.7-b82.zip (11.95 MB) (http://www.multiupload.com/S1RZLFLKLM)
Don't use the older version of CF-Root-S5830, I leave the attachments here since like to see the comparison between the number of downloads and the thanks list http://media.xda-developers.com/images/smilies/wink.gif
CF-Root-S5830-v3.7-b82-ex.zip (11.83 MB) (http://www.multiupload.com/MGTL5WTVOE)
The -ex version have swap and BLN support. This version using a kernel compiled from source, the config file extracted from DXKPB device (/proc/config.gz) without alot modification. Need a patched Service Manager (services.jar) for fully working BLN. Only DXKPB Service Manager attached here (CF-Root-S5830_DXKPB-services.zip) for now. You can patch your deodexed services.jar base on neldar's patch (https://github.com/neldar/backlightnotification/blob/master/framework_patches/i9000-jvh/bln-i9000-jvh-services.patch) or ask me to do it.
A modified ext4 Manager to make it work on Galaxy Ace. Need a modified CWM4 recovery, not sure will work on official CWM4 from illarain/koush. This version show /system/sd partition size.
A reference multi CSC, taken from XWKPN (Europe?) and DXKC1 (Asia?). Default CSC: Indonesia http://media.xda-developers.com/images/smilies/wink.gif . A good reference for ROM cooker http://media.xda-developers.com/images/smilies/biggrin.gif
sec_csc.zip (3.69 MB) (http://www.multiupload.com/9FQWN1B050)
DOWNLOAD RECORD:
CF-Root-S5830-v3.7-b80_cifs_tun.zip: 493 downloads
CF-Root-S5830-v3.7-b80_boot.zip: 1777 downloads
CF-Root-S5830-v3.7-b79_recovery.zip: 1556 downloads
CF-Root-S5830_tweaks-jrs.zip: 284 downloads
CF-Root-S5830_tweaks-default.zip: 151 downloads
Users Say Thank You: 28 http://media.xda-developers.com/images/smilies/rolleyes.gif Chainfire said, "Don't be a leech".
Attached Files http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_KPH-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=676866&d=1312445134) - [Click for QR Code] (840.8 KB, 568 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_KPN-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=676867&d=1312445134) - [Click for QR Code] (834.0 KB, 381 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_DXKPB-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=714284&d=1315543900) - [Click for QR Code] (847.9 KB, 902 views) http://media.xda-developers.com/images/attach/apk.gif CF-Root-S5830_ext4-v1.3u3.apk (http://forum.xda-developers.com/attachment.php?attachmentid=714285&d=1315543936) - [Click for QR Code] (1.44 MB, 272 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_dtapps2sd-v1.2.zip (http://forum.xda-developers.com/attachment.php?attachmentid=714457&d=1315567145) - [Click for QR Code] (1.08 MB, 248 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_XWKPO-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=715242&d=1315631439) - [Click for QR Code] (835.6 KB, 212 views) http://media.xda-developers.com/images/attach/zip.gif CF-Root-S5830_DDKQ5-services.zip (http://forum.xda-developers.com/attachment.php?attachmentid=715336&d=1315642535) - [Click for QR Code] (850.4 KB, 56 views)