The Myth ACE
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Latest topics
» Introduce Vagex
by Admin 22/2/2012, 12:00 am

» Mới mua GA ko biết cài theme. Mong giúp đỡ
by justin.2o11 27/10/2011, 8:42 pm

» Bản Update biểu tượng bin và icon cho TheMythAce KS2 v1.0
by mrlacloi 18/10/2011, 8:20 pm

» [ROM] The Myth KS2 2.3.5 for Galaxy ACE
by vietquangkt 18/10/2011, 7:52 pm

» Xin file update biểu tượng pin và hỏi về cách sử dụng UOT kitchen phiên bản mới cho GA
by juno 18/10/2011, 7:48 pm

» Xin hướng dẫn cách thay đổi giao diện tin nhắn.
by nqduy1984 18/10/2011, 9:31 am

» Hướng dẫn cách lấy lại dung lượng thẻ nhớ khi phân vùng bằng CVM ???
by langtudongnai 18/10/2011, 8:53 am

» [ROM] S5830XXKPO 2.3.5
by Admin 17/10/2011, 8:49 pm

» Xin cách khôi phục biểu tượng pin, status về mặc định của ROM?
by nqduy1984 17/10/2011, 5:09 pm

» Mọi thắc mắc về galaxy ace
by playboyxbvt 17/10/2011, 3:39 pm

» [ROM] S5830XWKS2 [17.09.2011][Android 2.3.5]
by Admin 16/10/2011, 6:35 pm

» [Rom] The Myth KPD Roms
by Admin 13/10/2011, 9:04 pm

» [guide] Hướng dẫn cách move toàn bộ app lên thẻ nhớ
by Admin 12/10/2011, 9:46 pm

» [Guide] Bản đồ modding toàn tập cho Galaxy ACE
by duyanh203 10/10/2011, 3:49 pm

» [Patch] DK Icons Patch 1 & 2
by Admin 6/10/2011, 12:19 pm

» Game cho galaxy ace
by juno 6/10/2011, 12:00 pm

» [App-Mod] Transparent Touchwiz 3.0 for KPB & KPD
by thedung85 6/10/2011, 11:43 am

» [Rom][Stock] S5830DXKPD
by Admin 5/10/2011, 12:41 pm

» [guide] QtADB - Quản lí SGA cực dễ dàng
by [K]en_Pro 2/10/2011, 7:33 pm

» [Guide] Connect Wifi Dạng Adhoc (share từ máy tính/laptop)
by playboyxbvt 2/10/2011, 11:20 am


[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel

Go down

[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Empty [guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel

Post by Admin 27/9/2011, 8:29 am

Phần 3: Cài đặt CFroot Kernel

Cài đặt kernel sẽ giúp chiếc SGA có nhiều tính năng hơn:
- kích hoạt swap
- hỗ trợ bln control (với 1 số rom nhất định)
- Hỗ trợ thay đổi bootanimation
- Hỗ trợ Cifs, vpn
- Hỗ trợ ext4
- Hỗ trợ a2sd


Cách cài đặt: Flash qua CWM (xem phần 2)
- CFroot Kernel cho ROM 2.2 Froyo:
update.zip (19.61 MB)
- CFroot Kernel cho ROM 2.3 Gingerbread: CF-Root-S5830-v3.7-b82-ex.zip (11.83 MB)
-
Bản update cho CFroot 3.7-b82-ex: (riêng phần này bạn vào CWM manager > Flash a kernel r chọn file để update): [guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip
b82-ex-fixed.zip

Extra: Kích hoạt BLN Control (sáng đèn phím menu và back khi có tin
nhắn lúc đèn màn hình đã tắt) - Chọn file dưới đây tương ứng cho từng
rom

Note: phần này chỉ dùng cho rom đã deodex (xem phần 6)
[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip CF-Root-S5830_KPH-services.zip
[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip CF-Root-S5830_KPN-services.zip
[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip CF-Root-S5830_DXKPB-services.zip
[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip CF-Root-S5830_XWKPO-services.zip
[guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Zip CF-Root-S5830_DDKQ5-services.zip

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 [guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Biggrin

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 [guide] [phần 3] Modding SGA - Cài đặt CFroot Kernel Tongue

  7. Tweaks LCD in Tweak Manager changed as a switch for toggling a2sd script execution when booting.
Admin
Admin
Admin

Tổng số bài gửi : 89
Points : 161
Join date : 2011-09-26
Age : 33
Đến từ : Hà Nội

https://themythace.forumvi.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum