FORUMS
Remove All Ads from XDA

 View Poll Results: Which touchscreen driver should be supported?

default
 
81 Vote(s)
36.99%
caveman
 
123 Vote(s)
56.16%
other (please post)
 
23 Vote(s)
10.50%

[KERNEL] candied(Ice) (2.6.35) | candiedIce V3 (3.0.8)

1,119 posts
Thanks Meter: 6,281
 
Post Reply Email Thread
Hello and welcome

candied(Ice) (2.6.35):
This kernel is created for the LGE p500 familie by using the official cyanogen kernel for LGE msm7x27(T) as base.
Since I started my work there are lots of modifications implemented, for example:
  • kernel source is updated (2.6.35.10 -> 2.6.35.13 -> 2.6.35.14)
  • back ported driver from later kernel sources (2.6.36 and 3.x)
  • improved battery life
  • changes to improve stability and performance
  • modules compiled into kernel: cifs, tun, advanced routing, fuse, ppp
candiedIce V3 (3.0.8) (Alpha):
This kernel is based of 3.0.31 kernel by team androidarmv6 for the LGE p500 famile. It's still a very early version.
As most of you know, I'm a member of team androidarmv6. So maybe you ask why do you create a second version of it?
Easy answer:
- At the moment for testing commits before pushing to the team kernel.
- In the future I maybe will add code that won't be part of the team kernel


Warning
I'm not responsible if you brick your device by heavy OC, flashing ...
Using using very high frequencies (> 729Mhz) is dangerous and can melt your phone main board!

Attention: Before flashing this kernel
Using the correct kernel version is important. That means:
candied-kernel (2.6.35): only use with gingerbread android (2.3)
candiedIce-kernel (2.6.35): only use with ICS/JB android (4.x)
candiedIce-kernel V3 (3.0.31): only use with ICS/JB android (4.x) -> keep in mind its alpha release and at the moment only for testing

Older android versions (2.2 and older) are not compatible.
The 2.6.35.14 kernel is based on cyanogen kernel. If you have problems with other roms than cyanogen (or cyanogen based), this kernel is maybe not 100% compatible with your rom.


The latest cm7 nightly builds (20121104 nightly or later) are having problems with the updated display driver in my kernel. You will get a green screen, so you can't use your phone. To get cm7 working again with my kernel, replace the gpu libs with newer ones (see below). Please report if later nighly's will work again, without replacing the gpu libs. Thanks.


Howto use the latest kernel(s) with stock rom (or custom roms based on it)(thanks to FitAmp for his tutorial and tachtunganh for his idea)
tachtunganh idea was to upgrade the gpu (adreno) libs to newer ones.
Here is what FitAmp has done to exchange the libs.
Quote:
Originally Posted by FirAmp

The gpu libs I used were obtained from here http://forum.xda-developers.com/show....php?t=1582243
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What I did was booted into my stock rom, used a root browser to get to build.prop and added the following lines to the bottom

Code:
debug.performance.tuning=1
video.accelerate.hw=1
persist.sys.use_16bpp_alpha=1 
persist.sampling_profiler=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
persist.sys.shutdown.mode=hibernate
windowsmgr.support_rotation_270=true
debug.composition.type=gpu
windowsmgr.max_events_per_sec=400
dalvik.vm.verify-bytecode=false
iro.min_pointer_dur=1
After which I booted into recovery, and flashed this http://www.mediafire.com/?2go947rxb1anei1 (mirror) ( New Adreno Libs )
Then of course finally flashing your great kernel.
First boot went flawlessly!

Test-Builds (no support)
made with jenkins build-server (also including 3.0.31 kernel builds)
for changes take a look at github:
2.6.35: github commit history (RSS)
3.0.31: github commit history (RSS)
downloads

Download locations
Downloads can be found at:
- sourceforge (all)
- below (only latest / selected)
- RomManager (since 2.5.5)

Credits:
thachtunganh: Thanks for helping me and for sharing your knowledge with me
Arjen, Aspee, neko95: Thanks for your help
Fserve, Hephappy, PaoloM70, Roqu3, Der_Caveman, Mik_os, Franco Francisco and all I forgot: Thanks for sharing your kernel improvements
Cyanogenmod Team, Code Aurora Forum: Thanks for sharing you kernel kernel sources and all the patches
Everyone I forgot: Thanks for your help
And you: Thanks for testing, using my kernel, for telling me what can be improved and telling me the bugs
The Following 163 Users Say Thank You to DJNoXD For This Useful Post: [ View ] Gift DJNoXD Ad-Free
 
 
7th April 2012, 05:24 PM |#2  
DJNoXD's Avatar
OP Senior Member
Thanks Meter: 6,281
 
Donate to Me
More
Info 2 FAQs
FAQs:

Howto use the latest kernel(s) with stock rom (or custom roms based on it) (thanks to FitAmp for his tutorial and tachtunganh for his idea)?
tachtunganh idea was to upgrade the gpu (adreno) libs to newer ones.
Here is what FitAmp has done to exchange the libs.
Quote:
Originally Posted by FirAmp

The gpu libs I used were obtained from here http://forum.xda-developers.com/show....php?t=1582243
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What I did was booted into my stock rom, used a root browser to get to build.prop and added the following lines to the bottom

Code:
debug.performance.tuning=1
video.accelerate.hw=1
persist.sys.use_16bpp_alpha=1 
persist.sampling_profiler=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
persist.sys.shutdown.mode=hibernate
windowsmgr.support_rotation_270=true
debug.composition.type=gpu
windowsmgr.max_events_per_sec=400
dalvik.vm.verify-bytecode=false
iro.min_pointer_dur=1
After which I booted into recovery, and flashed this http://www.mediafire.com/?2go947rxb1anei1 ( New Adreno Libs )
Then of course finally flashing your great kernel.
First boot went flawlessly!

Where can I find the Changelog?
Here or below
  • debugging disabled again (does not help, but increases kernel size)
  • mmc: use really long write timeout to deal with crappy cards (Paul Walmsley) thanks go to oldslowdiver for telling me
  • Hack for CRT animations fix (rashed97)
  • apply some PM patches (thachtunganh)
  • enable UID_STAT
  • using linaro toolchain (gcc4.6)
  • changes from 2.5.8 above
  • Revert "more FS tweaks (umaro)"
  • Revert "Disable fsync() (franciscofranco)"
  • some debuging enabled
  • Revert "bcm4325: disable wakeup irq when device sleeps @mik9"
  • SIO tweak
  • Fix kernel opps: Key xxxxxx not in data @wingrime
  • XZ compressions
  • first changes for thunderc support
  • experimental: p506 support
  • changes from 2.5.7 above
  • staging: Add Snappy compression support to zram
  • smartassv2: optimisation
  • hung_task: fix false positive during vfork
  • vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL
  • ima: free duplicate measurement memory
  • changes from 2.5.6 above
  • qdsp5: Incall recording pcm driver @androidmeda
  • Enabled: PPPoE
  • changes from 2.5.5 above
  • ICS version Fix: USB Mass Storage for ICS @androidmeda
  • Fix proximity sensor @androidmeda
  • bcm4325: Force powersave mode
  • bcm4325: disable wakeup irq when device sleeps
  • disabled: IR
  • changes from 2.5.4 above
  • add: sfb (Stochastic Fair Blue)
  • optimize some build flags
  • changes from 2.5.3 above
  • fix: white noise
  • merge latest cm kernel sources
  • changes from 2.5.2 above
  • Modules: now included in kernel (no longer .ko modules) (decrease kernel file size)
  • sched: Fix struct autogroup memory leak
  • sched_fair: Remove cpu from nohz idle set if not active
  • sched_autogroup: enabled
  • sched_autogroup: added
  • enabled: fuse (Filesystem in Userspace)
  • governor: intellidemand added
  • compiler code optimisation set to -O3 (makes kernel a little bit faster)
  • vsyncOn compile switch fixed
  • changes from 2.5.1 above
  • Some things I maybe forgot
  • TS driver from @roqu3 included
  • Fix null reference which causes rebooting when AP/WIFI mode changed @androidmeda
  • updated vidc/camera headers for compatibility
  • net: Reorder incoming packets in PPPoLAC and PPPoPNS
  • msm: camera: Free buffers from frame queue at open
  • Update: SIO 0.2
  • msm: vidc: Remove vcd restriction of duplicate input buffer queue
  • Little performance improvement for slub memory allocator @franciscofranco
  • CONFIG_STACKTRACE disabled
  • Use compiler code optimisation -> faster (CONFIG_CC_OPTIMIZE_FOR_SIZE has to be disabled)
  • Add and enable frontswap
  • Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch)
  • Update: MDP header to latest version
  • Update: msm_fb : Add support for Yamato format (our adreno200 gpu)
  • Update: KGSL drivers
  • Update: genlock from msm-3.0
  • Update: kernel source 2.6.35.13 > 2.6.35.14
  • Revert: merge latest cm kernel sources
  • changes from 2.5 above
  • merge latest cm kernel sources
  • USB write performance: f_mass_storage: Disable write cache support
  • Recent LCD Patch
  • changes from 2.4.2 above
  • bluesleep: Fix wakeup
  • tun and cifs build build as modules
  • changes from 2.4.1 above
  • bluesleep: Disable the forceful usage of H4_LPM
  • disabled: file system cache
  • debuging completely disabled
  • giving the kernel a name
  • touchscreen driver: using defaults -> no changes
  • governor added: minmax
  • Higher OC values enabled
  • changes from 2.4 above
  • Enabled SCHED_DEBUG for better control of CPU scheduler
  • CFQ Group Scheduling support and hierarchical scheduling support in BFQ enabled
  • max_axi_khz set to 422400
  • vfs_cache_pressure = 100
  • cfs task (block) schedular enabled
  • noop scheduler enabled
  • tried something to about "white noise if display is enabled"
  • some more debugging disabled
  • changes from 2.3 above
  • Advanced Routing enabled
  • tun and cifs build into kernel (no longer provided as module)
  • changes from 2.2.2 above
  • new default governor interactiveX
  • lionheart governor removed (use conservative instead)
  • max_axi_khz = 200000
  • Revert "Wifi set to FAST (roqu3)"
  • -> because phone gets hot when using Wifi Teathering
  • Revert "gpu: msm: Update GPU drivers from 3.0 kernel"
  • -> old version feels smoother
  • ADD: new workqueue code from 2.6.36.1 (umaro) (+ code patched e.g. smartassv2)
  • vfs_cache_pressure = 25 (more free ram)
  • init: calibrate: Backported from 3.0 kernel.
  • using high priority (non-delayed) workqueue for TS driver (better response)
  • -> this maybe solves TS problem for some people (please test)
  • CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
  • more FS tweaks (umaro)
  • power-supply: Limit the duration of psy_changed wakelocks
  • msm: cpufreq: Create cpufreq workqueue for freq changes
  • ADD + enabled: dm-cache
  • back to franoc's conservative OC
  • more unused drivers disabled
  • changes from 2.2 above
  • reverted: try to fix "white noise"
  • changes from 2.1.1 above
  • try to fix "white noise" (still there, but only very short time)
  • some patches about speed
  • more debugs disabled
  • fix cpu load 100%
  • backported binder from 3.0 kernel (lupohirp)
  • BUS freq OC
  • GPU freq OC
  • GPU drivers from 3.0 kernel
  • genlock enabled
  • axi OC
  • bcm4325: MAX_STATIC_PKT_NUM patch (HepHappy)
  • LZMA compression (best compression -> testing about speed)
  • ARM: decompressor: use better output sections
  • changes from 2.1 above
  • default governor set to lionheart
  • lulzactive governor removed (does not work)
  • clean up: governors and schedulers
  • axis inverse workaround (waleedq)
  • VM tweaks
  • Claim more free ram (lupohirp)
  • grants system server access to oom_adj for applications (lupohirp)
  • remount with noatime and nodiratime (cresqo)
  • cgroup: fix cpuset permission check (thachtunganh)
  • msm: cpufreq: Do not call a cpu transition if selecting the same speed (LorDClockaN)
  • cgroup: speed up access to cgroupfs mounted entries in /proc/mounts (franciscofranco)
  • Fix memory leaks from the wifi drivers (franciscofranco)
  • staging: android: lowmemorykiller: minfree values added
  • msm cpufreq Improve initial frequency selection - CodeAurora
  • fs: simple fsync race fix ()
  • ashmem: fix deadlock when system is low on memory
  • Wifi set to FAST (roqu3)
  • Set correct divx codec type (francisofranco)
  • Fast Sleep, wake lock timer change. (wistilt2)
  • lionheart (implementation from roqu3) done to 3.0.8 conservative governor
  • file system cache enabled
  • Lower radio/event log for more ram (wingrime)
  • Increase readahead to some more reasonable values (franciscofranco)
  • New battery driver courtesy of thachtunganh
  • net: wireless: bcm4325: Convert kmalloc() + bzero() to kzalloc() (franciscofranco)
  • Fix camera flicker (Turducken)
  • Set axi freq to max possible (clk_get_max_axi_khz())
  • CPUFREQ_ondemand code from 3.0.8 kernel
  • CPUFREQ code from 3.0.8 kernel
  • Using OC settings from franciscofranco (higher OC?)
  • Update: Linux upstream 2.6.35.10 > 2.6.35.13
  • vm_swappiness = 1 (performance is a little bit better than 0)
  • Erase memory pages as soon as they are freed to prevent new processes getting old information (franciscofranco)
  • writes_starved = 1
  • added tun.ko
  • added cifs.ko
  • lzo kernel compression (larger file, but faster boot time)
  • debugging disabled for performace and smaller kernel
  • unecessary SCSI drivers removed
  • all changes from v2 above (started again from clean sources)
Which kernel version should I choose?
vsyncOff
If you always want the highest possible frame rate, you should take this one.
(Disadvantage tearing)

vsync
No tearing, constant frame rate (60fps)
If the frame rate (60fps) isn't possible, the fps is divided by two (30fps -> 15fps and so on)
What are meanings of the used abbreviations?
vsync = vsync enabled
vsyncOff = vsync disabled
default = default touchsreen driver
cv = caveman's touchsreen driver
ta = thachtunganh's touchsreen driver
roqu = roqu's touchscreen driver
xz = XZ compression
When will you release a new version?
New versions are released if changes are implemented, tested and if I think its good enough to be released.
Successful implemented changes of an unreleased version can be found i my changelog (post 2).
Will this kernel work with rom xyz?
This kernel is based on cyanogen kernel. If the ROM you use is cyanogen 7 or based on it there should be no problems.
I guess it should work with every gb rom, but there is no guarantee.

If you use a gingerbread ROM which is not based on cyanogen, feel free to test yourself (create a backup, flash kernel and test it) and share your result with us.
How do I install the kernel?
  • Reboot to Recovery
  • Choose: install zip from sdcard -> choose zip from sdcard
  • Select the kernel zip file
  • wipe cache and dalvik cache (not a must but I recommend)
  • Reboot (if kernel is successful installed)
Could you include ...?
Tell me what you like to see and if possible the sources.
I will take a look at and decide if it can be included. (and if I want to )
I found an error. / I have a problem. What can I do?
Post your problem. I (and maybe someone else) will check and try to reproduce.
If you are using my kernels on other ROMs than cyanogen, please keep in mind that your ROM is maybe incompatible with this kernel.
The Following 59 Users Say Thank You to DJNoXD For This Useful Post: [ View ] Gift DJNoXD Ad-Free
7th April 2012, 05:29 PM |#3  
aspee's Avatar
Senior Member
Flag mumbai
Thanks Meter: 1,054
 
More
Please also upload on mediafire

Sent from my LG-P500 using xda premium
The Following 3 Users Say Thank You to aspee For This Useful Post: [ View ] Gift aspee Ad-Free
7th April 2012, 05:40 PM |#4  
neko95's Avatar
Recognized Themer
Thanks Meter: 4,807
 
More
> wow another mod kernel

> Did you also include smartassv2?
7th April 2012, 06:00 PM |#5  
DJNoXD's Avatar
OP Senior Member
Thanks Meter: 6,281
 
Donate to Me
More
Smartassv2 is not included.
But in the next release I can include it.

Edit: Have made a version with smartass2

@aspee
You can also download it from github.
I added the link to the first post.
The Following 5 Users Say Thank You to DJNoXD For This Useful Post: [ View ] Gift DJNoXD Ad-Free
7th April 2012, 08:55 PM |#6  
Human_dude_007's Avatar
Senior Member
chennai
Thanks Meter: 718
 
More
Testing

Sent from my LG-P500 using Tapatalk
7th April 2012, 08:59 PM |#7  
mDroidd's Avatar
Senior Member
Thanks Meter: 1,389
 
Donate to Me
More
Creating kernel is getting to easy obviously.

Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
7th April 2012, 10:31 PM |#8  
DJNoXD's Avatar
OP Senior Member
Thanks Meter: 6,281
 
Donate to Me
More
I think compiling a Kernel was easy all Time.
Getting as good as lupo, Franco, ... is the hard thing. But starting to work on kernel and getting it better is the only way how to learn.
Sharing the work with other and getting feedback is also important to learn.
At the moment I am learning to understand how the kernel works. Than I can find out what can be improoved.

Sent from my LG-P500 using xda premium
The Following 14 Users Say Thank You to DJNoXD For This Useful Post: [ View ] Gift DJNoXD Ad-Free
8th April 2012, 04:51 AM |#9  
deniso177's Avatar
Senior Member
Thanks Meter: 148
 
More
Quote:
Originally Posted by DJNoXD

Hello together

I have started modding the Cyanogen 2.6.35.10 kernel to my needs.
The kernel is tested with the last cyanogen nightly rom.

Changelog:
Before flashing it:
It's only for CM7 Rom's. Other ROMs may not work correctly after flashing it.

DJNoXDv1-1-signed.zip (@github)
DJNoXDv1-signed.zip (@github)

github: http://github.com/DJNoXD

You dont have SIO present on your kernel at all,and you Have NOOP set as default.

Make sure you check what you compile next time mate. Other than that good job so far
8th April 2012, 09:37 AM |#10  
danielcr12's Avatar
Senior Member
Flag Nueva Esparta
Thanks Meter: 57
 
Donate to Me
More
kernel has flickering on cam, can you guys confirm?
8th April 2012, 09:42 AM |#11  
aspee's Avatar
Senior Member
Flag mumbai
Thanks Meter: 1,054
 
More
Tested for one day.it is good till now

Sent from my LG-P500 using xda premium
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes