Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 17th January 2012 at 04:43 PM.) Reason: b84 bug fix!
#1  
Senior Member - OP
Thanks Meter 3016
Posts: 1,318
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Exclamation [CF-Root-S5830 3.7] CF-Root adaptation for Gingerbread

Copied from Chainfire post:
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 (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
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, 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.

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.

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. 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, 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 and here.

The original post (in Indonesian): CF-Root-S5830XXKPH.

BUGFIX: b82-ex-fixed
Fix for following bugs:
  1. Auto boot when plugged into the charger/USB from off state or turned off when the device connected to charger/USB
  2. Gallery3D freeze after browsing some pictures, and then fail to display 3D textures in all 3D app
Copy b82-ex-fixed.zip to SD card and then install it via "CWM Manager - Flash kernel"!

UPDATE: CF-Root-S5830 v3.7 b82-ex
  • swap and BLN support
  • Using a kernel compiled from source, the config file extracted from DXKPB device (/proc/config.gz) with small modification
  • Need a patched Service Manager (services.jar) installed on deodexed framework for fully working BLN. Backup your /system/framework/services.jar first!

UPDATE: CF-Root-S5830 v3.7 b82
The original update (in Indonesian): CF-Root-S5830-v3.7-b82
  • 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

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
  1. 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.
  2. The tweak script in /system/etc/init.d, it allows advanced users to do further tweaking
  3. New icon for CWM, Tweak, and ext4 Manager. Thanks to moemooo.
  4. 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.
  5. 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.
  6. 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
  7. Tweaks LCD in Tweak Manager changed as a switch for toggling a2sd script execution when booting.

DOWNLOAD:
CF-Root-S5830-v3.7-b84.zip (12.55 MB)
BUGFIX: Invisible boot animation.
Install CF-Root-S5830-v3.7-b84.zip via "CWM recovery" first and then install b84-fixed.zip via "CWM Manager - Flash kernel"!

CF-Root-S5830-v3.7-b83.zip (12.38 MB)
- Untested since on CyanogenMod 7.2 firmware for now
- Using b82 recovery image
- CPU and system bus overclock enabled
- GPU driver backported from 2.6.35-11 kernel source
- interactive, interactiveX, smart*ss, and smart*ssV2 governor
- Samsung on the fly governor setting disabled
- WiFi driver taken from DXKPD

CF-Root-S5830-v3.7-b82.zip (11.95 MB)
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

CF-Root-S5830-v3.7-b82-ex.zip (11.83 MB)
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 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 . A good reference for ROM cooker
sec_csc.zip (3.69 MB)

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 Chainfire said, "Don't be a leech".
The Following 243 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
autotomy
Old
#2  
Member
Thanks Meter 1
Posts: 38
Join Date: Jul 2011
Location: Bandung
ganas gan.. porting dari ROM org luar negeri punya yah?
ada yg ditambahin ga asli dari ente?

(wicked cool bro... so you ported the existing ROM from abroad? is there any original mods made by you?)
The Following User Says Thank You to autotomy For This Useful Post: [ Click to Expand ]
 
adil_
Old
#3  
Senior Member
Thanks Meter 107
Posts: 466
Join Date: Jun 2011
Location: Bagalkot, India.
Can you please explain in short what this is & how this will improve the performance of my ace? I already use the new kernel by coolya & cwm...

Don't Forget to hit Thanks if I helped you!
Sent from my Galaxy Ace.
Nexus 4 : ParanoidAndroid3+, franco.kernel.
Galaxy Ace : Cyanogenmod10.1.
Funbook : Stock
The Following User Says Thank You to adil_ For This Useful Post: [ Click to Expand ]
 
Tib44
Old
#4  
Member
Thanks Meter 6
Posts: 71
Join Date: May 2011
Does it work for ace European (France) ?
 
ushama
Old
#5  
ushama's Avatar
Member
Thanks Meter 5
Posts: 48
Join Date: Mar 2011
Quote:
Originally Posted by Tib44 View Post
Does it work for ace European (France) ?
I think it will work if ur firmware based on kph
 
skynet28
Old
#6  
skynet28's Avatar
Recognized Contributor
Thanks Meter 455
Posts: 311
Join Date: Mar 2011
Location: Bhubaneswar

 
DONATE TO ME
Yes it works on stock european kph.
App2sd working and my quadrant benchmark shows 1468.Thanks.
 
Thief777
Old
(Last edited by Thief777; 8th July 2011 at 11:41 AM.)
#7  
Thief777's Avatar
Senior Member
Thanks Meter 26
Posts: 286
Join Date: Sep 2010
Location: Mogilev
ketut.kumajaya
Programs on a SDcard do not work - after reboot(((
 
wanam
Old
#8  
wanam's Avatar
Recognized Developer
Thanks Meter 13845
Posts: 3,493
Join Date: Jan 2011
Location: Temara
Quote:
Originally Posted by Thief777 View Post
ketut.kumajaya
Programs on a SDcard do not work - after reboot(((
Same here!!!
WanamLite Roms :
Adam Kernel :
App : Language Enabler
Blog : WanamLite.com
Follow : GooglePlus, FaceBook - Twitter

 
tesna
Old
#9  
Senior Member
Thanks Meter 7
Posts: 102
Join Date: Oct 2006
I can't use wifi connection anymore if I installed this kernel. I tried it several times, with custom rom as base, then stock KPH as per instruction, the result all same. I can't use wifi to connect to the internet as soon I flashed this kernel. The wifi says connected, but can't connect to the internet. Using 3G works fine though.

Apart from that I love it! when converting the rfs to ext4 I can feel the device feels more responsive than ever! I can also use recovery mode to backup/restore ROM! I'm impressed! the only negative thing is the wifi
 
ketut.kumajaya
Old
#10  
Senior Member - OP
Thanks Meter 3016
Posts: 1,318
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Found a bug! Remove any application installed on SD card. I will fix this ASAP. About the WiFi, I will try to find the problem, working on me.

The Following 2 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...