FORUMS
Remove All Ads from XDA

 View Poll Results: What do you are using?

stock kernel with stock rom
 
9 Vote(s)
8.33%
stock kernel with custom rom
 
5 Vote(s)
4.63%
custom kernel with stock rom
 
29 Vote(s)
26.85%
custom kernel with custom rom
 
65 Vote(s)
60.19%

[discontinued][Kernel 2.6.35-7] Rafael.Baugis@xda-developers #201212101860 E3 STABLE

535 posts
Thanks Meter: 1,133
 
Post Reply Email Thread
Quote:



Sorry guys, I bought a new phone and sale the phone S5830C.
I will not go further continue this project!

Now. bieltv3 is the maintainer of the project.

you liked the kernel? hit thanks button!



Samsung Galaxy ACE
Model: GT-S5830C-i-M
CPU: Broadcom 21553 ARM11

Code:
Processor	: ARMv6-compatible processor rev 5 (v6l)
BogoMIPS	: 832.90
Features	: swp half thumb fastmult vfp edsp java 
CPU implementer	: 0x41
CPU architecture: 6TEJ
CPU variant	: 0x1
CPU part	: 0xb36
CPU revision	: 5

Hardware	: BCM21553 ThunderbirdEDN31 platform
Revision	: 0000
Serial		: 0000000000000000

This Kernel version 2.6.35.7 is compiled from Samsung sources, with GCC Ubuntu/Linaro 4.4.7
I changed in sources for add more frequencies to cpu and configured to add features.
The kernel can be used on any rom.



Quote:

ATTENTION:
The friend polaco1782@brasildroid discovered the cause that most try to compile the kernel and fails to load the modules samsung, this is due to vermagic is being written incorrectly in the file "common/include/config/kernel.release", the correct value is "2.6.35.7" not "2.6.35.7+".

Please developers, try to compile now! - My Kernel Source

Quote:

kernel features:

  • vfat, rfs, ext2, ext3, ext4. (What is this?)
  • swap. (What is this?)
  • ramzswap. (What is this?)
  • zRAM. (What is this?)
  • cpu freq with auto undervolt.
    1. 156Mhz 1,16v
    2. 312Mhz 1,20v
    3. 624Mhz 1,24v
    4. 832Mhz 1,26v
  • cpu governor's. (What is this?)
    1. smartassV2
    2. scary
    3. lazy
    4. lagfree
    5. conservative
    6. interactive
    7. ondemand
    8. ondemandx
    9. lionheart
    10. userspace
    11. powersave
    12. bcm21553
    13. performance
  • IO sched. (What is this?)
    1. noop
    2. deadline
    3. cfq
    4. sio
    5. vr
    6. bfq
  • iptables full needed rules. (What is this?)
  • vpn support (What is this?)
  • cifs support
  • init.d
  • auto install su binary and busybox binary if is not installed!
    need to download superuser app in Play Store!
  • E3 Recovery (Stock), CWM Recovery v5.0.2.8-r3 or RZRecovery 2.1.4-Final
Quote:

Note:
BCM21553 governor only works with frequencie range 312~832Mhz is the factory defaults!
To use 156Mhz change governor to Ondemand, OndemandX, Lionheart, Conservative, Interactive or SmartassV2.

Quote:

Known Problems: / Solutions:

  • Bug for read contacts in SIM ( Only for some roms it happens! Kernel read simcard and make calls etc... ).
    1. Flash the stock KL4 "I used VJKL4" rom in odin with this steps:
      Select pit file.
      Tick this box, repartition and update bootloader.
      put the file parts in each part.
      then, hit start!
    2. Flash custom rom RazoDroid 2.5
    3. Flash latest kernel
  • SU problems
    1. enter in Settings > Application Settings > Development and tick this check box "USB debugging" and "allow mock locations"
  • App forces close
    1. Wipe cache, not solved? wipe data/cache
  • I can't restore a backup in rfs format!
    1. look this http://forum.xda-developers.com/show...postcount=1231
  • Flash Player wont work!
    1. This works AFP11-CWM.zip

Quote:


I Recommend E3 version!!!

kernel with CWM and RZR is for:
/system EXT4
/data EXT4
/cache EXT4
/sdcard VFAT
/sd-ext EXT3

kernel with E3 is for:
/system RFS
/data RFS
/cache RFS
/sdcard VFAT
/sd-ext EXT3

Quote:

How to install Kernel with CWM or RZR:

  1. shutdown the phone
  2. hold the keys Vol-Up + Home + Power per 6 seconds
  3. select the option "apply update from sdcard" or "install menu"
  4. select the file ( xxxxxxxxxxxx-XXX-boot.img.zip )
  5. wait the end of process and reboot
  6. hold the keys Vol-Up + Home + Power per 6 seconds
  7. select the option "mounts and storage" or "wipe menu"
  8. format or wipe "/system", "/cache" and "data"
  9. select the option "apply update from sdcard" or "install menu"
  10. select the file ( Select_you_rom_file.zip ) and install
  11. wait the end of process
  12. select the option "apply update from sdcard" or "install menu"
  13. select the file ( xxxxxxxxxxxx-modules.zip ) and install
  14. wait the end of process and reboot

How to install Kernel with E3 Recovery (Stock):
  1. shutdown the phone
  2. hold the keys Vol-Up + Home + Power per 6 seconds
  3. select the option "apply update from sdcard"
  4. select the file ( xxxxxxxxxxxx-XXX-boot.img.zip )
  5. wait the end of process and reboot
  6. hold the keys Vol-Up + Home + Power per 6 seconds
  7. select the option "apply update from sdcard"
  8. select the file ( Select_you_rom_file.zip )
  9. wait the end of process
  10. select the option "apply update from sdcard"
  11. select the file ( xxxxxxxxxxxx-modules.zip )
  12. wait the end of process and reboot

<<< Custom Kernel and Modules >>>
you liked the kernel? hit thanks button!
<<< Stock Kernel and Modules >>>

Quote:

rev - 201212101860

  • revert tweak in battery
rev - 201212091615
  • try to re-scaling the battery percentage
rev - 201212082149
  • tweak in battery driver!
    "more test, need re-scaling the battery percentage"
rev - 201212072031
  • try to correct 156Mhz
rev - 201211201515
  • disable kernel boot logo.
  • correction in ram size.
  • increase voltage to try solve reboot issues.
    156Mhz 1,14v -> 1,16v
    312Mhz 1,18v -> 1,20v
    624Mhz 1,22v -> 1,24v
    832Mhz 1,24v -> 1,26v
rev - 201211131849
  • corrected to reboot into recovery.
rev - 201211112214
  • a lot of tweaks, not remember.
rev - 201210312042
  • add ext4 journaling disabler for "system", "data" and "cache" partitions.
rev - 201210241848
  • Correction for wipe and format partition. "ATT:. RFS is not supported for wipe and format, if add an rfs in recovery.fstab the CWM can't wipe a ext4"
rev - 201210222039
  • correction in backup and restore for boot.img "ATT: on restore a old's backup make a soft brick in your phone, don't restore old's backup with this kernel! or only restore the "system", "data" and "cache" not old's "boot"!"
rev - 201210210105
  • add busybox link in /system/sbin
  • swap gcc from buildroot to ubuntu
rev - 201210191910
  • correction slowdown in recovery.
  • set as default sio BFQ
rev - 201210181830
  • add adbd mod for runing as root
  • correction in sd-ext as ext3
rev - 201210151135
  • correction in adb from recovery mode with the command "ls"
rev - 201210141051
  • add CWM 5.0.2.8-r3 from squadzone@xda
    backup and restore works
    wipe and format is works "format default is ext4"
    sdparted works
  • now ramdisk support mount "ext4" or "rfs"
rev - 201210131109
  • now installation of busybox and su binary is OK on any roms!
rev - 201210112314
  • reupload to add adb shell insecure.
  • swap busybox location from /system/sbin for /system/xbin to solve various issues!
rev - 201210091141
  • reupload again to add compatibility to flash in stock recovery.
  • I made a small mistake in su uninstaller, now corrected!
rev - 201210070934
  • auto install the su binary to folder /system/xbin, for update set the install location to /system/xbin, other location is su automaticaly removed, only need to install superuser or supersu from Play Store!
  • auto install the busybox binary to folder /system/sbin, for update set the install location to /system/sbin, other location is busybox automaticaly removed!
  • back to stock recovery, RZRecovery have problem to wipe system in RFS
rev - 201210051807
  • tweak root instalation
  • more undervolt
    156Mhz 1,16v -> 1,14v
    312Mhz 1,22v -> 1,18v
    624Mhz 1,28v -> 1,22v
    832Mhz 1,34v -> 1,24v
rev - 201210041204
  • removed bad governors lulzactive and minmax.
  • set as default Gov = lionheart and IO = Sio.
  • back old J4FS driver this work!
rev - 201209302122
  • correction in superuser!
    *** superuser and su auto install on boot if is not installed!
rev - 201209301030
  • correction in RZrecovery for backup and restore SD-EXT
  • add new driver J4FS from merruk team.
rev - 201209281131
  • sorry, my error in source, now bug fixed in voltage of 156Mhz
  • more UV
rev - 201209271138
  • busybox and su working from folder /sbin
  • update koneu patch
rev - 201209262029
  • add last koneu patch for frequencies and voltages!
  • posible correction on deep-sleep with A2SD?
rev - 201209251826
  • Correction in recovery file /etc/recovery.fstab when /system is wiped!
rev - 201209232014
  • add RZrecovery
rev - 201209221033
  • only to add build version

----------------------------------------------------------------------------------------------------------------------------
Quote:

Big Thanks to:
Thanks to koneu for patch to fix cpu freq table.
Thanks to vivanco for see how-to disable cpu debugger.
Thanks to squadzone for CWM 5.0.2.8-r3 and RZRecovery 2.1.4.
Thanks to ant1moz for the Kernel Screen.
Thanks to polaco1782 for vermagic mistake. "now anyone can compile kernel"

----------------------------------------------------------------------------------------------------------------------------

you liked the kernel? hit thanks button!
Attached Thumbnails
Click image for larger version

Name:	rafphone.png
Views:	208422
Size:	59.6 KB
ID:	1346508  
Attached Files
File Type: zip AFP11-CWM.zip - [Click for QR Code] (4.64 MB, 26306 views)
File Type: zip 201303051129-E3-boot.img.zip - [Click for QR Code] (4.73 MB, 15659 views)
File Type: zip 201303051129-modules.zip - [Click for QR Code] (4.21 MB, 11390 views)
The Following 384 Users Say Thank You to Rafael.Baugis For This Useful Post: [ View ] Gift Rafael.Baugis Ad-Free
 
 
6th August 2012, 11:04 PM |#2  
Junior Member
Thanks Meter: 22
 
More
Can you overclock the kernel ?
The Following 4 Users Say Thank You to Weretz For This Useful Post: [ View ] Gift Weretz Ad-Free
6th August 2012, 11:18 PM |#3  
OP Senior Member
Flag Salto Grande
Thanks Meter: 1,133
 
More
The zram module creates RAM based block devices named /dev//block/zram<id>
(<id> = 0, 1, ...). Pages written to these disks are compressed and stored
in memory itself. These disks allow very fast I/O and compression provides
good amounts of memory savings. Some of the usecases include /tmp storage,
use as swap disks, various caches under /var and maybe many more

Statistics for individual zram devices are exported through sysfs nodes at
/sys/block/zram<id>/

* Usage

Following shows a typical sequence of steps for using zram.

1) Load Module:
insmod /system/lib/modules/lzo_decompress.ko
insmod /system/lib/modules/lzo_compress.ko
insmod /system/lib/modules/zram.ko

(Optional)
insmod /system/lib/modules/zram.ko num_devices=4
This creates 4 devices: /dev/block/zram{0,1,2,3}
(num_devices parameter is optional. Default: 1)

2) Set Disksize:
# Initialize /dev/block/zram0 with 50MB disksize
echo $((50*1024*1024)) > /sys/block/zram0/disksize

NOTE: disksize cannot be changed if the disk contains any
data. So, for such a disk, you need to issue 'reset' (see below)
before you can change its disksize.

3) Activate:
mkswap /dev/block/zram0
swapon /dev/block/zram0

(Optional)
mkfs.ext4 /dev/block/zram1
mount /dev/block/zram1 /tmp

4) Stats:
Per-device statistics are exported as various nodes under
/sys/block/zram<id>/
disksize
num_reads
num_writes
invalid_io
notify_free
discard
zero_pages
orig_data_size
compr_data_size
mem_used_total

5) Deactivate:
swapoff /dev/block/zram0
umount /dev/block/zram1

6) Reset:
Write any positive value to 'reset' sysfs node
echo 1 > /sys/block/zram0/reset
echo 1 > /sys/block/zram1/reset

(This frees all the memory allocated for the given device).
The Following 50 Users Say Thank You to Rafael.Baugis For This Useful Post: [ View ] Gift Rafael.Baugis Ad-Free
7th August 2012, 05:06 AM |#4  
domnic79's Avatar
Recognized Contributor
Flag Panaji
Thanks Meter: 1,049
 
More
I hv a stock odex rom. Do i need 2 flash a deodex rom to use ur kernel? Wat about rfs to ext convertion?

Sent from my GT-S5830i using xda premium
The Following 8 Users Say Thank You to domnic79 For This Useful Post: [ View ] Gift domnic79 Ad-Free
7th August 2012, 05:23 AM |#5  
Member
Flag Bogota DC
Thanks Meter: 156
 
Donate to Me
More
A lot of thanks Rafael, can i intall it on [ROM]RazoDroiD v1.0 ??
7th August 2012, 05:57 AM |#6  
domnic79's Avatar
Recognized Contributor
Flag Panaji
Thanks Meter: 1,049
 
More
Quote:
Originally Posted by juancambb

A lot of thanks Rafael, can i intall it on [ROM]RazoDroiD v1.0 ??

This kernel comes wit razordroid. U dnt hv 2 install it.

Sent from my GT-S5830i using xda premium
The Following 3 Users Say Thank You to domnic79 For This Useful Post: [ View ] Gift domnic79 Ad-Free
7th August 2012, 06:43 AM |#7  
Member
Flag Bogota DC
Thanks Meter: 156
 
Donate to Me
More
Quote:
Originally Posted by domnic79

This kernel comes wit razordroid. U dnt hv 2 install it.

Sent from my GT-S5830i using xda premium

Razordroid have a old version of kernel no?
The Following 2 Users Say Thank You to juancambb For This Useful Post: [ View ] Gift juancambb Ad-Free
7th August 2012, 07:53 AM |#8  
Prawesome's Avatar
Senior Member
Flag Error 404- Not found
Thanks Meter: 1,737
 
More
Rafael,I noticed that,in the first version of your kernel,you were setting permissions for /system/lib/lmodules....Shouldn't it be modules is there something else?

Sent from the year 3000 using a SGA where sheep's are not present.
The Following 4 Users Say Thank You to Prawesome For This Useful Post: [ View ] Gift Prawesome Ad-Free
7th August 2012, 10:06 AM |#9  
Androidnow's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 439
 
More
Has broadcom released sources?

Sent from my GT-S5830i using Tapatalk 2
The Following 2 Users Say Thank You to Androidnow For This Useful Post: [ View ] Gift Androidnow Ad-Free
7th August 2012, 11:22 AM |#10  
OP Senior Member
Flag Salto Grande
Thanks Meter: 1,133
 
More
Quote:
Originally Posted by Prawesome

Rafael,I noticed that,in the first version of your kernel,you were setting permissions for /system/lib/lmodules....Shouldn't it be modules is there something else?

Sent from the year 3000 using a SGA where sheep's are not present.

I included in this kernel the iptables modules for droidwall, in your rom you haven't the lastest kernel.
in my last kernel i corrected the cpu governors and schedulers and moved the su to /system/xbin.
The Following 12 Users Say Thank You to Rafael.Baugis For This Useful Post: [ View ] Gift Rafael.Baugis Ad-Free
7th August 2012, 11:23 AM |#11  
OP Senior Member
Flag Salto Grande
Thanks Meter: 1,133
 
More
Quote:
Originally Posted by juancambb

Razordroid have a old version of kernel no?

Yes, install the Kernel from first post.
The Following 3 Users Say Thank You to Rafael.Baugis For This Useful Post: [ View ] Gift Rafael.Baugis Ad-Free
Post Reply Subscribe to Thread

Tags
custom kernel s5830c s5830i s5830m

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes