[Kernel] Launchpad 1.3.0 Gemini (Updated 7/24/11) - Xoom Android Development

The Launchpad kernel works on both 3G/4G and Wifi Only Xooms​
***This Kernel is for 3.1 and 3.2 Xooms***​
***Forked from AOSP***​
With added overclock, microSD, and other features made possible from the hard work of Bigrushdog, Coolbho3000, Solarnz, Kcrudup, and Cybertronic​
-Launchpad 1.3.0-
-Gemini-​
***1.3.0 Plays Nice With 3.1, 3.2, Tiamat 1.1, and Tiamat 2.0***​
Please see below posts for Special Instructions!!!
As a reminder you must be unlocked and rooted!
Install Instructions:
There are a few different ways to do this, this is what I do-
1) Download ROM Manager (Free or Paid)
2) Download the zip from the link below
3) Move zip to your external SD card
A- Using a file explorer ( ex. Root Explorer), copy and paste the .zip file to your external sdcard (/sdcard/external)
OR
B- Put the zip on your SD card using your PC
4) Open Rom manager
5) Press the second button (Reboot Recovery)
Xoom will boot into recovery
6) Use volume rocker to select install zip from sdcard (Press power button to confirm)
7) Use volume rocker to select choose zip from sdcard
8) Select the zip file placed on the sdcard
9) Select yes
Xoom will flash file and put you back onto recovery screen
10) Select Reboot
11) Sit back and bask in the glory
Download's:
Kernel-
Launchpad 1.3.0 Gemini- http://www.android.net/forum/downloads.php?do=file&id=100
or
Launchpad 1.3.0 N Gemini (Stock clocks for GPU and some other core clocks (sclk, hclk, vde)- http://www.android.net/forum/downloads.php?do=file&id=101
Add On's-
Flash any of these after the kernel
Tun.ko- http://www.android.net/forum/downloads.php?do=file&id=98
USB WWAN- http://www.android.net/forum/downloads.php?do=file&id=99
Big thanks to TDR for all the hard work!!!​
+Source can be found on Github- https://github.com/TDR/Xoom
Follow me on Twitter or Google+ @SteadyHawkin for breaking kernel news, and other Xoom goodness!!!
Link to my OP can be found here- http://www.xoomforums.com/forum/motorola-xoom-kernels/7205-kernel-launchpad-1-2-3-new-7-4-11-a.html

-Special Instructions-​
This version of Launchpad comes packed with a maximum CPU frequency of 1.7GHz and user adjustable voltages for each frequency. Use these features responsibly! Do not select "Set on boot" unless you are confident the settings you chose are stable! Always make backups!
How to use the voltage control:
The stock frequencies and voltages in a kernel are not optimal for everyone. Userspace voltage control lets you either 'undervolt' (to save power) or 'overvolt' (to try and stabilize) any given CPU frequency to meet your needs.
Undervolting-
The easiest way to adjust these voltages is by using the app "Pimp my Cpu", available either from the Market or xda ([APP] 24 June 2011 : Pimp My Cpu 3.0 (OC/UV kernel control tool) - xda-developers). This app will let you to set an undervolt amount for each possible frequency, as well as fill some of the basic overclocking roles of a tool like SetCPU or Droid Overclock.
Note: at this moment, the app "Voltage Control" is not compatible with Launchpad 1.2.0.
Overvolting-
Unfortunately, Pimp my Cpu does not do overvolting, so you need to execute a shell command to set an overvolt amount.
Say for example 1600MHz isn't quite stable, and you want to give it a little help. From either adb shell or Terminal Emulator, execute the following commands:
su
echo "0 -25 0 0 0 0 0 0 0 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
The second line has a series of 13 numbers, mostly zeros. They represent the number of millivolts to subtract from the default voltage of each possible frequency, starting from the higest (1700MHz) to lowest (216MHz). So in the above example, we apply a negative 25 millivolt undervolt ( which transleted to a 25 millivolt overvolt) to the second fastest CPU frequency (1600MHz). Note that the minimum voltage is 770 millivolts and the maximum voltage is 1400 millivolts. If your new voltage exceeds these limits, it will not work.
Here is an example of bumping up 1500, just so you get how its done:
su
echo "0 0 -25 0 0 0 0 0 0 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
In Pimp my CPU, you will see the following as a result of the first command
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

-Partial Changelog-​
1.3.0 'Gemini' rc6 (Official Release)
-Fixed many installer bugs for 3.1 and 3.1-international
-Fixed FC in Storage settings under Tiamat ROM 2.0
1.3.0 'Gemini' rc5 (Test)
-Revamped installer again
-Improved (but still not tested) support for international Xooms
-Improved support for Tiamat ROM 1.x and 2.x
-Packages are now signed properly
1.3.0N 'Gemini' rc4 (Test)
-3.1: Fixed small error in dvfs; problem only in the N kernel for Android 3.1 - all others remain unchanged
1.3.0/N 'Gemini' rc3 (Test)
-Minor fixes for vold (USB OTG mounting works)
*3.2: USB drives mount at /mnt/usbdisk, symlink at /usbdisk
*3.2: Micro SD card symlinked at /sdcard2
*Updated tun and usbwwan add-ons
**Reminder: These add-ons will install drivers, but won't load them automatically. It's up to you to know how to use them
-All new "universal" charging LED disabler, for people who hate that light. v3 now extracts and edits the current ramdisk image in recovery.
1.3.0 'Gemini' rc2 (Test)
-Revamped installation script
**Removed unnecessary feature code (OV) from build string
-(Experimental!) Support for non-US 3.1 Xooms with SD support (e.g. Australian 3G Xooms)
**Requires stock boot and vold. If a US kernel has been flashed (causing FCs in Storage settings), flash stock boot.img and system.img, update again to 3.1 if necessary, then flash this kernel (otherwise it will not work!)
1.3.0 'Gemini' beta10a (Test)
-Now compatible with Android 3.2
-Improvements to installation script
-Upstream patches from android-tegra-2.6.36
-Includes updated kernel for Android 3.1 (without the upstream patches)
*Fixed compatibility (again) with current version of SetCPU
-Added sysfs switch to reverse frequency & voltage tables if needed (set /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table_bigendian to 0)
**Removed unnecessary source tree label (athm1) from build string
1.2.3/N-rev2 (Official Release, minor)
-busybox is back
**Kernel is the same as Launchpad 1.2.3, no need to update if 1.2.3 is working
1.2.3/N-rc3 (Official Release)
-Cleanup after older beta
1.2.3/N-rc2 (Test)
-Fixed broken installer in beta10a
-Fixed incorrect nominal voltage values leading to instability
1.2.3/N-beta10a (Test)
-Yet more alterations to dvfs
1.2.3/N-beta9a (Test)
-Small correction in detectrom script, init.stingray.rc
1.2.3/N-beta9 (Test)
-Now compatible with both stock ROM and Tiamat ROM 1.1
1.2.3/N/T-rc1 (Test)
-Tweaked updater script
-Updated addons
1.2.3/N-beta6 (Test)
-Changed CPU voltage interface to be compatible with SetCPU and Voltage Control (in line with the FakeShmoo Tegra 2 kernels)
**The voltage table is now reversed (Low frequencies first)! The installer will try to remove any saved voltage scripts, but it is recommended to remove any voltage tweaks first and reapply them after installation
1.2.3N-beta5 (Test)
-Stock clocks for GPU and some other core clocks (sclk, hclk, vde)
**Use this if you experience graphical corruption, instability, lockups, heat problems or just want to save some battery
1.2.3-beta5 (Test)
-Added interface to see CPU voltage constraints
-Improved handling of init.d scripts and added support for init.local.rc (thanks to bigrushdog, solarnz, CyanogenMod team)
-Cleaned up dvfs with respect to nvidia's implementation
1.3.0-beta8 (Test)
-Removed NTFS support from kernel (a module will probably be brought back later)
-Added an interface to adjust sclk frequency
*Location: /sys/devices/system/cpu/cpu0/cpufreq/sclk_max_frequency_offset
**For the moment, it will default down to the stock (240MHz, -60 from the overclocked 300MHz).
***This is a temporary interface, subject to change
1.2.2-rc0 (Test)
*Fixed installer to work with Tiamat ROM 1.0
-Upstream patches for Apple Magic Trackpad, mmc power management
*Small tweak to interactive gov
*Updated add-ons
-New add-on: request for alternative micro SD card mount-point at /data/media/DCIM (so camera photos/videos go on the micro SD card)
1.2.1-rc1 (Official Release)
-USB Mass Storage mode (thanks kcrudup)*
*Requires dinomight's USB Mass Storage Tool from the Market- https://market.android.com/details?id=com.skidmrk.umswatcher&feature=search_result
-Some code cleanup
-Updated add-ons
1.2.0-rc1 (Official Release)
-Configured for USB tethering support (thanks solarnz)
*Updated add-ons
1.2.0-rc0 (Test)
-Cleaned up voltage control a little, added some protections
-Debug spam
*New method of disabling the charging LED
1.2.0-beta5 (Test)
-Initial, hacky implementation of user controlled voltage
*This kernel has a lot of debug code, performance may suffer
1.2.0-beta4 (Test)
-Added 1.7GHz CPU step, working this time
-Tweaked dvfs, frequency tables a bit
1.1.0- (Official Release)
-Switched to more stable major.minor.revision-extra versioning system
-Re-enabled HIGHMEM, GPU seems faster this way (at the expense of a little RAM)
-Updated add-on files
1.0.4 (Test)
-Built with updated version of compiler
-Fix for incorrect BogoMIPS value on second CPU core
-Hack for loops_per_jiffy value when overclocked
1.0.3 (Test)
-More adjustments to CFS CPU scheduler, experimenting with different values
1.0.2 (Test)
-Minor tweaks to interactive governor and CFS CPU scheduler
1.0.1 (Test)
-Added support for executing shell scripts on startup from /system/etc/init.d/ (Allows for important changes to be applied at boot e.g. the charging LED can be disabled with a small patch)
-Installer now also includes a compatible version of busybox
1.0 (Official Release)
-New Kernel drops under name
-Fixed installer to correctly clean up old kernel modules from /system/lib/modules before installing new ones
-Fixed issue with selected CPU frequency getting reset to max**
-Extended frequency table to add 1.6GHz CPU
-Fixed lockup/reboot on wake (caused by bad CONFIG_HZ)
-Fixed broken 3G (caused by missing drivers)+
TDR (First 3.1 Kernel)
-Initial un-named release
**When the Xoom goes to sleep, it shuts off the second of its two CPU cores to save power. When it wakes up again, it reloads the previous configuration but the selected frequency gets reset. TDR has patched it to use the same frequency as the first core (which should always be awake).
+If your 3G isn't working before you flash this kernel, please flash another kernel that does have working 3G (or flash BRD's 3G boot image for Tiamat 1.4.2) before flashing this one.

-Default Frequency-Voltage Table-​
216MHz @ 770mV
312MHz @ 770mV
456MHz @ 825mV
608MHz @ 900mV
760MHz @ 975mV
816MHz @ 1000mV
912MHz @ 1050mV
1000MHz @ 1100mV
1200MHz @ 1125mV
1400MHz @ 1225mV
1504MHz @ 1250mV
1600MHz @ 1350mV
1700MHz @ 1400mV

Glad to see this here! Thank you for bringing this over. I can't wait to try the custom OV/UV.

willverduzco said:
Glad to see this here! Thank you for bringing this over. I can't wait to try the custom OV/UV.
Click to expand...
Click to collapse
Thanks bro, enjoy

Would it be possible for you to list the default voltages at each speed so that we know how much we can add or remove before reaching the defined limits?

willverduzco said:
Would it be possible for you to list the default voltages at each speed so that we know how much we can add or remove before reaching the defined limits?
Click to expand...
Click to collapse
I knew I forgot something, got it added.

All right! Giving it a go now. Glad to see that undervolting guide! Let's see how it goes!

I have to say this kernel feels much more smooth than tiamat 1.4.4 kernel.
With tiamat, I would have web browser slow down after a long period of use. Not with this one.

Lolento said:
I have to say this kernel feels much more smooth than tiamat 1.4.4 kernel.
With tiamat, I would have web browser slow down after a long period of use. Not with this one.
Click to expand...
Click to collapse
Thank you for your support. The Tiamat kernel is a Xoom staple and we can't thank BRD and his team enough for all they have done and provided for the Xoom community. Our goal with this kernel is to implement some experimental features and tweaks that we feel can be very useful. Stay on the lookout, good things are coming

i lost sd card support when i flashed launchpad from Tiamat 1.4.4. Any suggestions

maahfu said:
i lost sd card support when i flashed launchpad from Tiamat 1.4.4. Any suggestions
Click to expand...
Click to collapse
You lost the /sdcard/external folder? Did you do anything else?

Steady Hawkin said:
You lost the /sdcard/external folder? Did you do anything else?
Click to expand...
Click to collapse
no the folder is there, but no files appear in it. i flashed the kernel, then light on.zip, and mount audio / video.zip.

maahfu said:
no the folder is there, but no files appear in it. i flashed the kernel, then light on.zip, and mount audio / video.zip.
Click to expand...
Click to collapse
Flash this in recovery and let me know if it works- http://db.tt/9OEIs5m

That worked. Was it the mutimedia mount?
Sent from my Xoom using Tapatalk

maahfu said:
That worked. Was it the mutimedia mount?
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
Yea its an experimental alternative mount for multimedia on the actual sdcard.

Steady Hawkin said:
Thank you for your support. The Tiamat kernel is a Xoom staple and we can't thank BRD and his team enough for all they have done and provided for the Xoom community. Our goal with this kernel is to implement some experimental features and tweaks that we feel can be very useful. Stay on the lookout, good things are coming
Click to expand...
Click to collapse
Feel free to ask TDR to post or do a pull request for the oc / uv mods or any other mods. I got a lot of stuff on my plate and any extra help would be highly appreciated.

Good to see that the Xoom devs have a CyanogenMod style sense of cooperation and mutual respect, sharing the code and the credit. It bodes well for great things in the Xoom community when talented devs aren't wasting their time backbiting, trash-talking and trying to get one another banned.
Here's to the continued success of both Launchpad and Tiamat...two great flavors for one fantastic tablet.
Sent from my GT-I9000 using XDA Premium App

bigrushdog said:
Feel free to ask TDR to post or do a pull request for the oc / uv mods or any other mods. I got a lot of stuff on my plate and any extra help would be highly appreciated.
Click to expand...
Click to collapse
We will work on getting that done within the next couple days. In the meantime if you need anything please let us know, were happy to help however we can

Related

[21 JUN 2012] DORIMANX ICS Kernel 7.3 Linux 2.6.32.59 OC 96/1.62 CFS and OC Stable!

Dorimanx Kernel for HD2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My kernel is based on Tytung Latest ICS, But Tree 2.6.32.59 Main Line! + My Tweaks and install menu.
To use my initrd that included in kernel, you must have 2.3.4 and UP ROM
(Thanks Tytung for your great job on it so far!)
My GIT Repository
HERE
WORK ON ROMS with no changes:
MY ROM
Typhoon ROM
May work for MIUI! use it in install menu.
WILL NOT WORK Unless you use your ROM initrd.gz:
Put your initrd.gz in kernel zip folder initrd-Custom
For ANY 2.3.3 and lower you have to add the initrd.gz
For SENSE ROM you have to add the initrd.gz
For HyperDROID ROM you have to add the initrd.gz
What is included:
​
Default CPU governor: HYPER
This is ICS Tuned Kernel, ICS part by GREAT Developer TYTUNG!!!
AROMA INSTALLER BOOT MENU!
CFS CPU SCHEDULER!
Default CPU frequency: 245-998 MHz (for OC to 1.61, 998Ghz = Normal non OC 1Ghz speed!)
Min CPU frequency can be 96Mhz! default 245Mhz
Support overclocking to 1612 MHz. (via SetCPU or shell script) (Credits: Dorimanx)
Support undervolt/overvolting via sysfs interface. (850-1375mV) (Credits: snq-,Dorimanx)
Default I/O Scheduling: SIO
More I/O Scheduling present in kernel: AS,DEADLINE, VR,
Patched with G-Sensor freeze fix (Credits: mdebeljuh and jdivic)
Patched with Bluetooth 60mA battery drain fix (i.e. support Low-power mode Bluetooth) (Credits: trilu and charansingh)
Patched with wakeup lag fix for AUO panels (Credits: mdebeljuh and jdivic)
Full cLK bootloader support (Credits: cedesmith)
Two-way call recording (Credits: avs333 and snq-)
Mic Gain Fix is included! + script to adjust the gain to best (credits:memin1857, dorimanx)
T-Mobile Wi-Fi Calling (Credits: tytung)
Wi-Fi IEEE 802.1x/EAP authentication (Credits: tytung)
Native USB Tethering + my fix in configs (Credits: tytung , dorimanx)
Native Wi-Fi Tethering + my fix in configs (Credits: tytung, dorimanx)
Real Wi-Fi MAC address (Credits: tytung, rick1995)
Real Bluetooth MAC address (Credits: tytung, rick1995)
Official HTC extended battery support (HTC EB 2300mAh) (Credits: arne)
File systems support: Yaffs2, Ext2/3/4, ReiserFS, (NLS_UTF8 is compiled into the kernel) (Credits: tytung, dorimanx)
ALSA sound driver as kernel modules (alsa-pcm-htc-leo.ko and alsa-mix-htc-leo.ko) (Credits: Cotulla,Tytung!)
Fix to Video Drivers, PFS to max (Credits: 3DAK)
Fix to PPP drivers for full VPN Support (CM7 only) (Credits: 3DAK, Dorimanx, Arne182)
Fixed Proximity sensor wakeup (Credits: 3DAK)
Added Latest SQLB memory scheduler (Credits: 3DAK,Dorimanx)
Added Tiny RCU CPU scheduler
Added tweaks to increase I/O Speed. (Credits: Dorimanx)
Added tweaks to increase CPU speed (Credits: Dorimanx)
Full support for Decoder M4V and H264 Camera recording (3gp + mp4)
Removed all the debuggers to free the kernel from unneeded jobs (Credits: Dorimanx)
Removed lots of unneeded configurations and partitions. (Credits: Dorimanx)
Fixed the color banding issue. (Credit to marc1706)
Added 2 new governors to play with, smoothass and interactiveX (Credits: HierOS)
Updated USB Drivers from Hieros and ACA kernels.
Enable cleancache pseudo-RAM driver to cache clean pages
Run-time PM core functionality
ZRAM XVMALLOCATOR
Compressed in-memory swap device (zram) + activation scripts for CM7 and non CM7 ROMS!
Added extension to 14MB RAM page table! was 2MB!
New Nand Driver that will allow EXT4 on NAND after full testing. (credits to Munjeni)
Added Vdd AVS ( Adaptive Voltage Scaling ) code files! (by Marc1706) (this obsolete undervolt/overvolting via sysfs interface now it's all AUTO! but we still can configure dynamic voltage settings via script, added to init.d with kernel)
Tweak camera (better picks in dark, less greenly) (by Marc1706)
Added Keyboard back light !ON! in DARK, and !OFF! in LIGHT (Mod is DISABLED by default can be ON by Choose in install menu (By Munjeni)
Added ICS HeadSet FIX (Credits: tytung , dorimanx)
Stochastic Fair Blue Net Scheduler (SFB) (all credits to fhasovic)
Added new hyper governor (very strong and fast!) (credits to fhasovic and Dorimanx)
New Video driver from 2.6.28 kernel ported by RICK1995
ZCACHE and CLEANCACHE are ONLINE now!
New WIFI driver + patches.
Plans for next builds:
Debug and find more code errors! (always some thing new )
Click to expand...
Click to collapse
How to install:
Copy Kernel for your ROM to sdcard (CLK / MAG)
Reboot, and enter to CWM (Recovery)
Install kernel via INSTALL ZIP FROM SDCARD
Navigate installer menu!
To Uninstall, reinstall your ROM, or Install your older kernel / other kernel.
Credits: Marc1706, RICK1995, SecureCRT, Munjeni, AmeriCanAndroid, Fhasovic ,Gokhanmoral, Markinus, Cotulla, Tytung, Hastarin, Letama, Rajko, Dan1j3l, Cedesmith, Arne, Trilu, Charansingh, Mdebeljuh, Jdivic, Avs333, Snq-, Savan, Drizztje,3Dak,HierOS, Amarullz, Nixda99, And My ROM Best Team!
Here is something COOL for time that you wait till phone boots!
This was given to me by user XANTHRAX !
​
Change Log:
21/6/12 Time:16:50
New Kernel 7.3 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
*BT driver FIX
*New WIFI driver + lots of patches! (by MARC an ME)
*New CODE for CPU / RAM / SYSTEM / GSENSOR / ZCACHE / ZRAM
*Losts of bug fixing.
*Performance boosted!
*New Ondemand + hyper GOVS merged with kernel 3.0.45!
Ondemand = power save(slow) hyper=performance!
*USB drivers fixes
*Lots of tuning.
Report how it's going!
03/6/12 Time:21:56
New Kernel 7.2 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
Added new WIFI/BT driver fix that will allow us to use our real WIFI and BT MAC address! so from now own, every one have different MAC! so if your router block by MAC, please update for the last time Credits to TYTUNG and RICK1995!
Added new ZRAM compression method: made by google team, it's will reduce the amount of CPU usage while ZRAM compress ram pages to swap! so ZRAM improved allot!
Small changes to USB / WIFI hotspot by Tytung.
Tuned and fixed ondemand and hyper govs, should save more battery now.
New Kernel 7.2 ICS+CM9-HWA (HWA! This is for CM9/AOKP)
All as in above kernel! but with HWA driver! for CM9/AOKP with HWA driver!
Have fun
19/5/12 Time:17:35
New Kernel 7.1A ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
Ported huge amount of new stuff from MARC new HWA merged with 2.3.39 kernel! (without the HWA, we dont need it on CM7!)
Now we have latest video driver for CM7 and lots of new functions and tweaks.
also tweaked config, reduced use of IPV6 it's still needed for some apps but things like VPN via ipv6 we dont need.
Kernel working great for 2 days now!
Added back the 800mv min cpu voltage scale, use with extreme caution.!
Added updated busybox 1.20 use the kernel menu to update, (forgot to change the description in kernel aroma menu )
Have fun
13/5/12 Time:03:00
New Kernel 7.0 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
Compiled with GCC 4.4.5 toolchain
Fixed WIFI Drivers code errors
Added support for VPN in kernel
Switched back to TINY RCU
check that your initrd.gz is not more than 1.8MB, if it's bigger kernel will not boot! we have 5MB boot partition, and kernel already 3.2MB!
Restored full busybox 1.19.4 for now without changes.
Have fun and dont forget about beer for developer
08/5/12 Time:00:20
New Kernel 6.9 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
*Updated lowmemkiller not mess with system and do less noise
*Added new logger code from 3.0.30 kernel
*Tuned kernel build flags
*Added to manual zram, swapon file that will help to enable zram load balance with 3 zrams in sync! (good for any not CM7 roms)
now performance is back as should be!
04/5/12 Time:22:13
New Kernel 6.8A ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
*I have found major bug that existed from 5.6ver and killed it!
It's was responsible for SOD in many cases. (not all of them!)
*Tuned kernel for performance and stability!
*Fixed ZRAM activation
*Added new video driver from 2.6.38 kernel ported and tuned by RICK1995! big thanks to him!
*RICK1995 fixed the logo kernel code! now it's normal!
*Tuned kernel tweaks, removed some things, need to check if notification light is ok.
Have fun!
02/5/12 Time:02:51
New Kernel 6.7 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)
*Tuned for stability
*Removed many addons, that i am not fully understand.
*Added latest code changes that i can port from high kernels.
*Tested on my HD2, all great.
Have fun!
About kernel with HWA i am working on it, and probably will open new Thread!
Here only CM7/MIUI/No HWA ICS
i will keep working till i get it to be masterpiece!
[FONT=&quot]28/10/11 Time:19:25 > TO > 14/4/12 Time:13:30[/FONT][FONT=&quot]
[/FONT]Kernel 1.7 -> 6.5D ULTIMATE
All very important change log!
*Added code fixes from 3.0.12 kernel.
*Updated lots of code from 3.0.28 kernel
*Fixed code for usb tether (for cm7)
*Fixed data stats for ICS ROMS.
*Switched to SLUB with fixed code
*Added new SIO scheduler and switched to it by default.
*Added XZ kernel compression! we lost 100kb and more faster decompression for kernel.
*Fixed the stuck on net apps, found the bug and removed it.
*Fixed charger and usb tether code.
*Fixed standby DRAIN! now 2~6mA
*Added new CPU cache instructions for better cache processing (RAM cache not disk cache)
*I have added new WIFI driver from CM7 kernel, now CH13/14 works!
Tuned the wifi driver, added new code for ROAMING and for wake locks add/remove in need.
Also reduced the voltage that wifi use from 2750mv to 2250mv!
lots of power will be saved!
*Added new ADB driver from 2.3.37 kernel. all cool and one less warning in kernel build.
*I have found out that if i use 3 zram drives each 100MB then system is more stable that way and working better, the work together!
and the process working faster with less ram drive!
So now it's load balanced! this give us 150 more ram!
*Added to install menu some good stuff!
1)you can now install the non CM7 ZRAM from menu.
2)you can now activated the keys light on/off by light, mod!
3)you can choose languages and theme!
4)you can install most advanced busybox 1.19.4 FULL! all included!
Updated and Compiled by me
5)you can safely reboot after all installed.
*Added new boost code to HYPER and to ONDEMAND govs
*Added new USB tether driver
*Fixed the WIFI driver, now channels 13 /14 work
*Added new lowmemorykiller module to help with ram management.
I will contact some active people to test the BETA kernel that i will upload to secret folder. When stability will be OK i will upload for public.
Stable kernels are 4.7, 3.8, 3.2, 5.7
*Added new install menu! AROMA INSTALLER! by great Developer Amarullz from HERE
HUGE Thanks to TYTUNG for his hard work on ICS parts!
*Updated all ICS tweaks from Tytung ICS Kernel to my Kernel!
Included:
Tuned Video Driver
Tuned System parts (system is huge, so to support ICS is had to add some more stuff)
*I have fixed the GPS stuck and hold wakelock,
*I have tuned the DEEP SLEEP, now phone sleep and rest
*Since there is no more bug with BT and 2way recording! now kernel is 2way as default! only one kernel now!
*Added frame buffer fix for camera (credits to fhasovic )
*Added lots of new code for PowerManager! now phone sleep as a baby
*Fixed the file transfer over dual mount apps, i get stable 1.5~2MB write over usb with no lag or delay in phone.
If mounted as normal via usb mount, then close to 5MB write. but no access to sdcard.
*Updated to busybox 1.19.4!
*Tuned the cpu freq to be stable on 1.574, so the danger freq is only 1.62
Many CPU will stuck!(some will work) and lots of apps will crash on 1.62, this is must know info!
*Added Hyper as default governor + fixed it's deep sleep function!
*Added deep sleep function to ondeman governor
*Fixed MMC sdcard, now kernel will not remove it in any condition!
So we will have stable phone, that wake up when we need it, and do it faster.
*Added helper driver for touch screen, it will help to reduce cpu usage when using touch screen.
*Tweaked RCU boost for faster cpu respond.
*Tweaked most governors to be fast as hyper!
*Added new network driver Stochastic Fair Blue Net Scheduler (SFB) (all credits to fhasovic)
*Changed network settings as in CM-KERNEL + light mod.
*Added new hyper governor (very strong and fast!) (All credits to fhasovic)
*Compiled with builder 2010.09 (gcc 4.5.1)
*If strange problems with ROM use your initrd.gz! put it to custom-initd folder before install! (to zip use latest winrar or 7zip)
*Updated to 2.6.32.56!
*Fixed power manager code
*Fixed the WIFI Sleep state,
*Added ICS headset fix. (working for CM7 also with no problem)
*Added new tunned for miui initrd, try to install kernel without adding your miui ROM initrd in custom folder, use miui in kernel install menu.
*Boosted CPU voltage in script, to help with CPU stuck on some ROMS...
*I have merged lots of things from 2.6.37.6 and from 2.6.35.4
NEW Stuff:
*Wifi driver
*G-sensor driver
*Lots of bug fix and cleanups,
*Boosted CPU power
*Added new Power Manager to save more battery power. now i see 2ma and it's jump to 5ma and back... but it's depend on cell towers and running apps.
*Fixed the zram
*Added Ram tweaks for video driver, may improve speed.
*Added cache fixes, boosted the CPU some more!
*Updated kernel to 2.6.32.55 main line!
UPDATE from 50 to 55 from HERE
I have messed allot with power wakelocks, and looks like all cool now, no stuck with 60ma!
performance boosted!
And with my ROM and data to 2 ext ON, i get 3000+ on advanced quadrant
*Added lots of tweaks to boost the sdcard I/O and CPU power
*Updated my kernel builder to GCC 4.5.1 SorceryCode 2010.09
*Faster sleep times and fixed incorrect kernel locking...
*Added VR scheduler!
*Added 96Mhz super low standby frequency with 975mV set to be stable!
*Added Tiny Preemptable RCU CPU scheduler! Now cpu power increased allot!
*Fixed Video driver, now scrolling in all apps and home launcher is much faster!
*Added extension of RAM page table from 2MB to 14MB! More ram for system operations! Greatly increase system performance!
*Added safe Overcharge for battery.
Now it's will be really fully charged and live for longer time.
*Added Power Management tweaks to reduce standby drain.
*Added I/O fix and Manager, now I/O of the sdcard is much faster!
*Added ICS to Kernel Menu! now all ICS users can use my kernel.
*Added lots of cpu governors to play with, most stable and strong is ondemand and smartassv2 all the rest should be tested for long time to see if they good or not..
*I have moved to new GITHAB! Now I host 4 kernels!
Lots of this great addons came from AmeriCanAndroid Kernel!
SO THANK YOU AmeriCanAndroid
*Lots of updates from kernel .35 to .32!
*New Video and audio drivers!
*New decoding driver for movies!
*Lots of bug fix and cleanup
*Added new ZRAM module!
*Tweaked scheduling and wakeup times,
*Added new camera driver
*Tweaked the ondemand governor to have disk IO checks when working on heavy loads..
*Fixed stand alone zram activation script for 357MB! For ROMs that don’t have option in settings for compcache.
*Fixed Network Drivers,
Facebook and droid wall works now.
*Added zram from 2.6.38 kernel and removed old ramzswap
*Replace zram with faux123's files
*Compile zram as module
*Back ported vzalloc to better support zram (faux123)
*Removed obsolete code for msm_clocks
*Fixed remaining issues after getting rid of obsolete msm_clocks
*Fixed hard coded setting of REG_PLL_MULTIPLIER_LSB
*Fixed and cleaned the network drivers, no more delays in apps.
*Razed min voltage to 975mV
*Fixed WIFI bug
*Boosted Volume! in all speakers!
*Tweaked Disk Schedulers and CPU schedulers
*Tweaked System Cache and Ram management
Thanks to Marc1706 and to bananacakes!!! (Kernel Mega DEV)
*Added lots of updates from HERE and lots but not all from HERE
*kernel merged with 2.6.35.x
*Added major fix for Dynamic Voltage MOD in kernel. now it's finally works
*Upgraded regulator core from Kernel 2.5.35.14 to be able to fix the AVS
as should! the 15voltage script is back to init.d!
But this time it's can control the dynamic voltage settings!
example:
echo "499200 1000 1075" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo "537600 1000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
echo "576000 1000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
frequency min voltage max voltage > sent to sysfs interface.
new 15voltage will check if your kernel support vdd_levels_havs if yes activate dynamic settings if no activate static!
Fix was been made by Marc the great kernel DEV from .35 kernel.
*Added fix for auto button on in dark and off in light, now we can switch to old ways, 10 sec on then off till touched, or screen off/on this is the default in ROM if you need to have auto light on /off depend on light, edit the 13_modules script in init.d and look for #KEYBOARDAUTOLIGHTON
Remove the # save (remove the .bkp) and reboot or run this for imitate effect.
echo 1 > /sys/devices/platform/btn_backlight_manager/button_auto
but it will be cleared on next boot, so 13_modules script change is needed.
Fix was been made by Great Kernel Dev Munjeni by my request for you all
*Added new Governor ondemanx it's more battery friendly but not super fast as original tweaked ondemand, best to use it on screen off!
*Added Vdd AVS ( Adaptive Voltage Scaling ) code files! (by Marc1706)
*Tweaked AVS code for HTC Leo (by Marc1706)
*Raise VOLTAGE_MIN_START of AVS to 950 (by Marc1706)
*Use a realtime priority thread for AVS. (by Marc1706)
*Tweaked the AVS to support 1.61Ghz and tweaked Voltage ranges to prevent SOD and over drain. (By dorimanx)
*Tweak camera (better picks in dark, less greeny) (by Marc1706)
*Added Light Sensos Fix (By Munjeni)
*Added Keyboard backligh !ON! in DARK, and !OFF! in LIGHT
(can be tweaked in ROM) (By Munjeni)
*Tweaked Settings and removed all king of stuff that not needed for normal operations. (By dorimanx)
*Added the Colored ADB in initrd.gz, but it's working only in LINUX or in SSH session! not via windows ADB!
Just type logcat -C
And see nice colurs!
*Tweaked kernel to reduce battery drain (removed not needed stuff that sit and eat battery
)
*Added updated interactiveX governor (by Marc1706)
*Added new Governors to play with: Lagfree, SavagedZen, scary, superbad, virtuous. (by Marc1706)
*Changed zram manual activation script to 375MB to reduce the cpu load.
*Reduced zram also in auto script to max of 375MB
*Tweaked the Deadline Scheduler to boost read/write i/o speed.
By request from NuttShell I have added to kernel Step that will allow installing custom mic gain file for MIUI ROM and initd.
Change log only for MIUI:
***Added miui inird.gz
***Added changed mic gain script
***Added custom miui rom default.acdb and htcleo.acdc to reduce calls problems.
***Added my tweaked modules script.
All thanks to NuttShell for supplying files for MIUI rom.
*I have added new NAND driver, + Network, CPU, and system patch by Munjeni Thanks allot for your hard work, and for looking for a way to mount EXT4 on NAND!
*I have patched from 2.6.32.39 to 2.6.32.50 main line!
*Added 6 disk schedulers deadline as default (AS,CFQ,SIO,DEADLINE,VR)
*Tweaked max cpu voltage from 1350 to 1375
*Added max CPU freq to 1.6 with 1375 voltage
*Fixed the CPU settings, so 998000 is really 1Ghz and 1.61 is MAX overclock! It’s slightly faster than Tytung 1.19Ghz because of more voltage!
So to get non overclocked device use 998000 this is also the default!
*Added minor stable tweaks for best kernel support and faster ROM!
see /system/etc/init.d/13_modules (my ROM users have them all in 2.9.9 ROM)
Patch to .50 was from HERE
And patch from .15 to .49 from HERE
*Patched Kernel from 2.6.32.15 to 2.6.32.39!
*Added new SQLB allocator, Thanks 3DAK!
ALSA drivers Disabled! they make Buzz sound, and not really needed for CM7!
only for LINUX ROMS (Ubuntu and others)
*Added new kernel modules:
Enable cleancache pseudo-RAM driver to cache clean pages
Run-time PM core functionality
ZRAM XVMALLOCATOR
Compressed in-memory swap device (zram) + activation scripts for CM7
Page cache compression support
All Run auto! Except the ZRAM swap!
All you need to know is HERE
To activate the ZRAM in CM7
At Kernel Install, choose from menu to install ZRAM SWAP
Go to settings > CyanogenMod > Performance > Compcache RAM usage
Use 26% for 110MB virtual ram swap (best choose)
Or lower, or you can disable it any time.
Reboot needed to apply the change.
After reboot!
You can check the swap load / stats
Here is how to:
Open terminal or connect by ADB SHELL
Code:
su -
free
#This will show you that you have swap! and 0 used!
zram_stats
#this will show you the usage + statistics in KB
Also the compression rate
Short info:
Compression is with LZO algorithm. already in kernel
ZRAM is RAM based SWAP, so it's take 357MB RAM and make them 700! or close to 720MB by compressing the data pages!
CPU will work slightly more, when compressing RAM, but when done, it's will be free as was.
This mod was lost for too long! time to activate it again!
Also the old mod was called ramzswap! This project is closed, now it's new 2011 project in mainline! Now it's ZRAM!
Thanks for all the donations! [IMG]file:///C:/Users/lastman/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif[/IMG]this is really help [IMG]file:///C:/Users/lastman/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif[/IMG]09/11/11 Time:00:05
*Added menu to kernel! now there is only one kernel for all!
Navigate in menu with volume down.
Menu goes only forward. No back choose. (Just start over)
You can choose:
No-2way-REC / 2way-REC ability.
CM7 + others OR sense ROM or MIUI
MAG / CLK
With new busybox 1.19.4 STABLE! / Or without! (Stay with yours form ROM)
*Compressed kernel with LZMA compression! very small image.
*I have added the smartass V2 it's working ok most of the time!
*I have added and fixed the smartass governor!
*Added kernel optimization with new tool-chain 2010 for best compatibility.
*Added RiserFS partition support.
*Added all commits from TYTUNG R13! (new audio driver as module, loaded with script that i have included.)
The END :)
[/QUOTE][COLOR=Red][B][U][SIZE=5]
[/SIZE][/U][/B][/COLOR][/LEFT]
[SIZE=4][B][U]KERNEL 6.7 ULTRA + MY INITRD.GZ [/U][/B][/SIZE]
[SIZE=5][B]
[IMG]http://img840.imageshack.us/img840/2581/dl1copy.png[/IMG]
[URL="http://www.bourseanalyse.fr/dorimanx/"]DOWNLOAD[/URL]
[IMG]http://img811.imageshack.us/img811/9285/dl2.png[/IMG]
[URL="http://www.dorimanx.com/"]DOWNLOAD[/URL]
[/B][/SIZE][U][SIZE=4][B]For older version visit my mirrors in ROM page.[/B][/SIZE][/U]
[LEFT] [CENTER][SIZE=6][COLOR=Red][U][B]Warning!!![/B][/U][/COLOR][/SIZE]
[SIZE=5][B] [SIZE=4][COLOR=Red]If you are using not [U]CM7 ROM[/U] then add your ROM [U]initrd.gz [/U][/COLOR][/SIZE][/B][/SIZE][COLOR=Red][B][SIZE=4]in [/SIZE][SIZE=4][U]initrd-Custom[/U] folder in Kernel zip.[/SIZE][/B][/COLOR]
[/CENTER]
[CENTER][B][SIZE=5][U]Donations are welcome![/U] :)[/SIZE][/B]
[SIZE=4][COLOR=YellowGreen][B][URL="http://forum.xda-developers.com/donatetome.php?u=2376110"]TO DONATE CLICK ME[/URL][/B][/COLOR][/SIZE]
[SIZE=5][U][B]DONATIONS FROM:[/B][/U][/SIZE]
[B][SIZE=5]Bologna[/SIZE][/B]
[B] [B][SIZE=5][B]Jolas[/B][/SIZE][/B][/B][B]
[SIZE=5]Ghenarys[/SIZE][/B]
[SIZE=5][B]Joescian[/B][/SIZE]
[SIZE=5][B]Themadproducer[/B][/SIZE]
[SIZE=5][B]D1wepn[/B][/SIZE][SIZE=5]
[B]Jjmmll
[/B][B]Fire1981[/B][/SIZE]
[B][SIZE=5]Jonas2295[/SIZE][/B]
[SIZE=5][B]N1ghtm4r[/B][/SIZE]
[SIZE=5][B]Johann2204[/B][/SIZE]
[SIZE=5][B]Sonscheiss
Kev007[/B][/SIZE]
[SIZE=5][B]Pirlano[/B][/SIZE]
[SIZE=5][B]THANKS ALLOT FOR DONATIONS!
They really get me going :)
[/B] [/SIZE]
[SIZE=4][B]I am here for you! so ask and comment!
Help me to make this kernel as good as possible!
[/B][/SIZE]
[SIZE=5][COLOR=RoyalBlue][U][B]DORIMANX[/B][/U][/COLOR][/SIZE]
[/CENTER]
[/LEFT]
[/CENTER]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Dorimanx--- Great JOB kernel is fantastic!
All right I'm on board lets have some fun !
BACON, now lets PARTY!
Kickass man, just kickass!
Eagerly await your next release's just like your ROM's to feed my ultimate flashing habit/fantasy!
Can this kernel work on sense 2.3.3 roms?
Sent from my HTC HD2 using XDA App
1st bug report for your new thread!
Dorimanx_v2.9.3-Heavy! Kernel 1.6 Integrated already!
Code:
D/vending ( 1436): [89] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.
I/vending ( 1436): [89] DownloadManagerBroadcastReceiver.startNextDownload(): Found Paused URI null
I/vending ( 1436): [89] DownloadManagerBroadcastReceiver.startNextDownload(): No more paused downloads.
D/vending ( 1436): [89] LocalAssetDatabase.notifyListener(): 5753214359116016719 / null
D/vending ( 1436): [89] DownloadManagerBroadcastReceiver.installFromUri(): Calling install uri=content://downloads/my_downloads/5 src=null asset=5753214359116016719 (com.quoord.tapatalkxdapre.activity:0) [DOWNLOADING] name=XDA Premium last=TRUE
D/vending ( 1436): [89] LocalAssetDatabase.notifyListener(): 5753214359116016719 / INSTALLING
D/vending ( 1436): [89] VendingNotificationManager.showNotification(): Showing notification: [AssetID=5753214359116016719, NotificationID=777166110, Title=XDA Premium, Message=InstallingGǪ]
W/ActivityManager( 770): No content provider found for:
D/VoldCmdListener( 64): asec list
I/PackageHelper( 1612): Size of container 4 MB 2103655 bytes
D/VoldCmdListener( 64): asec create smdl2tmp1 4 fat {} 10009
E/Vold ( 64): Error creating device mapping (Device or resource busy)
E/Vold ( 64): ASEC device mapping failed (Device or resource busy)
E/PackageHelper( 1612): Failed to create secure container smdl2tmp1
E/DefContainer( 1612): Failed to create container smdl2tmp1
W/ActivityManager( 770): No content provider found for:
D/vending ( 1436): [8] LocalAssetDatabase.notifyListener(): 5753214359116016719 / INSTALL_FAILED
I/vending ( 1436): [8] MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/my_downloads/5 failed: Unknown reason -18
This has apparently already been fixed in a refresh of the 1.6 Kernel, Soon as i test, I will edit post just a big 1ST BUG FIXED! (again )
Thank you very much i am downloading. A few questions i wanna ask.
Is this kernel have , fix for low mic issue
Fix for much background noise
And all cm 7 roms are working with that kernel without any buggy ?
Again thank you very much all devs are working very hard and did brilliant.job continue
mmmm10 said:
Thank you very much i am downloading. A few questions i wanna ask.
Is this kernel have , fix for low mic issue
Fix for much background noise
And all cm 7 roms are working with that kernel without any buggy ?
Again thank you very much all devs are working very hard and did brilliant.job continue
Click to expand...
Click to collapse
yes it's has the MIC GAIN FIX + tweaked script to adjust the gain.
so just install and enjoy clear sound and no noise!
and i will add that it's has MIC gain FIX
johnnyham89 said:
Can this kernel work on sense 2.3.3 roms?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
yes but you have to add initrd from your ROM!
or you will lose WIFI!!!
Kernel is awesome, best that I've used. Thanks for your hard work.
Sent from my HD2 using XDA Premium App
dorimanx said:
yes but you have to add initrd from your ROM!
or you will lose WIFI!!!
Click to expand...
Click to collapse
@ Dorimax: Camera and Camcorder already fixed?
kokkok said:
@ Dorimax: Camera and Camcorder already fixed?
Click to expand...
Click to collapse
YES working with H264 + M4V (3gp + mp4)
All cool!
have fun.
Nice Work
Will try it on my SD Build
But scene Your kernel is base on Tytung kernel may i ask how is the Battery Drain when the BT is on ?
And is it paring to BT is more easier to compare with Tytung kernel ?
Thanks
Hammerfest said:
1st bug report for your new thread!
Dorimanx_v2.9.3-Heavy! Kernel 1.6 Integrated already!
Code:
D/vending ( 1436): [89] DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.
I/vending ( 1436): [89] DownloadManagerBroadcastReceiver.startNextDownload(): Found Paused URI null
I/vending ( 1436): [89] DownloadManagerBroadcastReceiver.startNextDownload(): No more paused downloads.
D/vending ( 1436): [89] LocalAssetDatabase.notifyListener(): 5753214359116016719 / null
D/vending ( 1436): [89] DownloadManagerBroadcastReceiver.installFromUri(): Calling install uri=content://downloads/my_downloads/5 src=null asset=5753214359116016719 (com.quoord.tapatalkxdapre.activity:0) [DOWNLOADING] name=XDA Premium last=TRUE
D/vending ( 1436): [89] LocalAssetDatabase.notifyListener(): 5753214359116016719 / INSTALLING
D/vending ( 1436): [89] VendingNotificationManager.showNotification(): Showing notification: [AssetID=5753214359116016719, NotificationID=777166110, Title=XDA Premium, Message=InstallingGǪ]
W/ActivityManager( 770): No content provider found for:
D/VoldCmdListener( 64): asec list
I/PackageHelper( 1612): Size of container 4 MB 2103655 bytes
D/VoldCmdListener( 64): asec create smdl2tmp1 4 fat {} 10009
E/Vold ( 64): Error creating device mapping (Device or resource busy)
E/Vold ( 64): ASEC device mapping failed (Device or resource busy)
E/PackageHelper( 1612): Failed to create secure container smdl2tmp1
E/DefContainer( 1612): Failed to create container smdl2tmp1
W/ActivityManager( 770): No content provider found for:
D/vending ( 1436): [8] LocalAssetDatabase.notifyListener(): 5753214359116016719 / INSTALL_FAILED
I/vending ( 1436): [8] MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/my_downloads/5 failed: Unknown reason -18
This has apparently already been fixed in a refresh of the 1.6 Kernel, Soon as i test, I will edit post just a big 1ST BUG FIXED! (again )
Click to expand...
Click to collapse
Bug fixed when reported
all kernels are patched already.
mccmjoon76 said:
Nice Work
Will try it on my SD Build
But scene Your kernel is base on TY kernel may i ask how is the Battery Drain when the BT is on ?
And is it paring to BT is more easier to compare with TY kernel ?
Thanks
Click to expand...
Click to collapse
I have no idea if it will work on SD build.
but the BT is the same as TY kernel.
But i have added more support for more devices. so it's may fix something that not working with TY kernel.
It's not a copy, it's progressive update
Thank you very much!!! This looks really very well...
Can you add on the first post your fix in config for tethering in order to use in other roms?
I install your new rom 2.9.3 mag
and then flash your new kernel 1.6 with 2 way rec mag
but then i have no wifi
can you tell me why
thx
shendan said:
I install your new rom 2.9.3 mag
and then flash your new kernel 1.6 with 2 way rec mag
but then i have no wifi
can you tell me why
thx
Click to expand...
Click to collapse
I have no data and when I try to connect WIFI I get error
Edit: I re-downloaded rom (mag version) and all is good the problem seems to be with stand alone Kernel
I am sure that DM will be on top of this soon as he can....
Any chance to make in work with Froyo? Sense Froyo? It boots but no wifi.
Miui
Hi,
tried cLK for latest Miui rom and wifi working. feels little smooth. can anyone tell me what to check for improvement and bugs?

[Kernel][JB & ICS] Leankernel: Minimalistic Kernel (ICS 3.10.0, JB 4.2.0 , 7/23/12)

[Kernel][JB & ICS] Leankernel: Minimalistic Kernel (ICS 3.10.0, JB 4.2.0 , 7/23/12)
Mod Type:: Kernel
Difficulty:: Very Easy
Mod Status:: Stable
Apply In:: CWM Recovery
Requires Root:: Yes
Source::
This is a minimalistic Galaxy Nexus kernel. My philosophy is to keep the kernel as lean and stable as possible, at the same time to keep the kernel as modern and close to latest mainstream linux as possible. You will see that my kernels will lack some of the bells and whistles from other kernels.
DOWNLOAD
JB: stable
Terminal Emulator not finding my scripts? Read this post.
Stock JRN84D kernel
JB: experimental builds (4.x and above)
ICS: stable
Experimentals & notrim builds (NOTE: 3.9.0exp6 is the latest and is equivalent to 3.10.0 stable)
all files
commit/change log (always up to date)
FEATURES
Patched to latest in Linux 3.0.x branch: 3.0.38.
All unnecessary kernel components removed to make kernel lean and fast!
OC to 1.65ghz. Boot speed is maxed at 1.2ghz within kernel (in addition to ramdisk) for stability.
User voltage control
InteractiveX V2 (screen-off hotplug of cpu1) added. Select it using setcpu if you want to use it.
Ramdisk tweaks (sysctl, vm, filesystem speed, etc.)
SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.
init.d support in ramdisk.
lk.conf for basic kernel configuration.
HotplugX governor (Hotplug optimized and modified for screen-off suspend).
wakelock tweaks for wlan and lte modem
lkflash - script to flash latest versions of leanKernel from Terminal (type "su" without quotes, hit enter, then type "lkflash" without quotes and then hit enter)
checkv - voltage checking script (for custom undervolting) - detailed at bottom of this post.
checkt - script that displays 1) your current temp, 2) # of times you were throttled due to temp "recently", 3) CPU trim type, and 4) CPU silicon type, etc. (sample output)
Fast USB charge (by chad0982) and "ffc" toggle script by me. (Open terminal, and type "ffc" without quotes then enter)
ColorControl from both CM9 and Ezekeel (compatible with all ROMs). Helpful posts: 1and 2.
TempControl - sysfs interface to control the CPU temp threshold. Read these two posts: 1 and 2.
Variable GPU OC - sysfs interface to select GPU max speed between 307MHz (stock), 384MHz and 512Mhz. The changes take effect immediately. Check FAQ for more info and how to use it.
Custom SR Tuning - override kernel default minimum voltage for SR calibration. More info here and here. V2
SoundControl
Gamma Control
DIRECTIONS
Uh.... flash the zip in clockworkmod.
FAQ
SOURCE
ICS
JB
Thanks to forum member maddler for providing file hosting: http://www.host4droid.com/
Third party mods (not tested by me so use at your own risk)
Jakes lean tweaks.
Donate to your favorite charity, or donate to me.
Anyone flash this yet? I'm only concerned about battery life.
CHANGE LOG JB
v4.0.0 - Initial release (JELLY BEAN ONLY)
v4.1.0 (fefb04211256bd082776fab735acd56b) - change log
v4.2.0 (7ce15474db2baee1ffef86b0a46e4f0a) - change log
CHANGELOG ICS
v1.0.0 - Initial release
v1.0.1 - Fixed power off charging (only upgrade if you care about that).
v1.1.0 - rcu code updated to linux 3.2-rc7, boot speed max forced to 1.2ghz within kernel (stability), hotplug governor should be more stable now, zram enabled including custom enable script (run "zram enable" in terminal), small bug fixed in voltage control code.
v1.2.0 - interactiveX V2 with hotplug support, user undervolting works now, and all speeds undervolted by default (clear setcpu settings before flashing), ALSA SoC driver updated to 3.2-rc7
v1.2.1 - reverted a dep voltage change I made in 1.2.0. Only update if you're experiencing stability issues in 1.2.0 (if your coming directly from a version prior to 1.2.0 make sure you clear custom voltage settings)
v1.3.0 - re-wrote a lot of my user undervolting code (fixed some bugs and probably introduced others - haha), updated dm and futex code to linux 3.2, gpu undervolt at top speed, some code cleanup. (clear setcpu settings before flashing). Oh one more thing: undervolting 1.35ghz and higher is not reliable yet and is not recommended.
v1.4.0 - updated to Linux 3.0.15 (small release), voltage regulator driver from Linux 3.2, omap clock data updated from latest official omap source.
*v1.5.0 - updated to Linux 3.0.16 (big update), more accurate/reliable user voltage control for frequencies less than 1.35ghz.
v1.6.0 - read this post.
v1.6.1 - *battery drain - being fixed*, updated to Linux 3.0.17, fixed potential memleak in slub allocator, small omap4 update from android-omap source.
v1.6.4 (pulled - stay tuned) - moved some of the features off of 1.6.1 (but kept them in experimental) in order to fix/pinpoint potential source of battery drain possibly introduced in 1.6.1. You do not need to upgrade from 1.6.1 if it's working fine for you. Cpufreq updated to Linux 3.3.
v1.6.6 (bd0730ad3f57e050942356b647821256) - Fixed pm_suspend bug introduced by the Linux 3.0.17 patch *this fixes battery drain issue in 1.6.1 and 1.6.4*. Where's 1.6.5?
v1.7.0 (a7f3d241d68fd48c9f216e8399226e9d) - a bunch of fixes and updates from android-omap source including the hotplug fix, deadline scheduler updated to linux 3.2.
v1.7.1 (c2d0d4c59c198bb3f2281f164442ac0f) - removed some omap patches from 1.7.0 that may have been causing issues.
v1.7.3 (049a8ce4be0f0a392d6c0b694de1ad73) - went back to 3.0.16 base as I suspect there were more things in 3.0.17 causing subtle issues in releases newer than 1.5.0. Added a fix to reduce screen unlock lag in interactiveX. Brought back some of the OMAP patches from upstream android-omap source.
*v1.7.4 (3619144bee4cd86883692b48971ee5f8) - applied the rest of OMAP patches from android-omap source. Partially updated to 3.0.17. Wireless ADB support (if ROM has built-in support for it).
*v1.8.0 (7ddb6ac13d01ceaeed25b83ab13afb8c) - Updated to Linux 3.0.18 (big update - lots of fixes/changes). An omap driver fix. A fix for stalling RCU processing. Ramdisk changes for CM9 (or CM9 based ROMs) compatibility. This version should theoretically be smoother than the previous versions.
v1.9.0 (f703a8912d4dd19f82cc4bf17f37f1cd) - detailed log here.
*v1.10.0 (e9f2c4f2b458ddddeebfba842bb51756) - updated to Linux 3.0.20, completely modernized memory management compaction/migration code to Linux 3.3-rc3 (which also includes backporting much of the mm code)
v2.0.0 (a6a518d0a243c071ef6c02445acf2645) - detailed log here.
v2.0.1 (d9457f5fd0d9a74bc1c7fe37e1856907) - custom UV related issues (haptic feedback, volume, etc.) fixed. Custom UV code improved.
v2.1.0 (3362b0879e8a11681dc3e78eef38e4aa) - detailed log here.
v2.2.0(41296a907dd27cbc25593dbbda0e7fe0) - detailed log here.
v2.3.0 (c024897dd55ec4789fb998adb957a855) - detailed log here.
v2.4.0 (6e528aa35a51fc526939be2d51b4c295) - detailed log here.
v2.4.1 (be8d706f851b2700e035b8bd49abe27c) - detailed log here.
*v2.5.0 (793c7be3b35ab35beef3fa1797405378) - ColorControl, TempControl, ext4 optimizations
v2.6.0 (dc015f7c87ac5282ed1693063bd8a24a) - detailed log here.
v2.7.0 (a0a1b5c5de6ae103ce1cbf852fb8990d) - detailed log here.
v2.7.1 (a87b733e31aa9b7a0c447a76f2b5c708) - ColorControl modified to support CM9/AOKP interface as well. (no need to upgrade from 2.7.0 if you don't use colorcontrol)
v2.7.2 (e4d355c0e54ac5c3cbf5b9123e12eb9f) - ramdisk modified for better cm9/aokp compatibility, and better init.d support. Also includes "board" script for detailed board/soc info.
*v2.8.0 (5b3b31519133cebe67348b76ae349bc8) - detailed change log here.
v3.0.0 (0647d8590403eb4921f7f148216841ae) - Merged AOSP 4.0.4 kernel/ramdisk source.
v3.1.0 (7064aec889d9ce92d380090d7ed0b3aa) - changelog
v3.2.0 (8c41c4de4b0a62cdeee89686405401a5) - changelog
v3.2.1 (30190db201f6dcabe318e26c0312c1d2) - reverted omap SR patch that prevented undervolting, interactive (and iX) tuned for extra power saving when screen is off.
v3.2.2 (1d6df86cb5fe6c1644f16d847abdbe85) - reverted a few patches from 3.2.1 to address a few cases of instability, a small colorcontrol fix, small timed_gpio fix.
*v3.3.0 (137955e83ca267b10d2b74dbdf360f99) - changelog
v3.4.0 (9b5f99954de4bbbca01e4701fa04037c) - changelog
v3.5.0 (06ceb50e1155293f86bf4c1e4469fc89) - changelog
*v3.6.0 (3fa30f43a8c0e2439d32b10a0f10f376) - changelog
v3.7.0 (b692a195da6eb929ee9149652528bbf9) - changelog
v3.8.0 (b45b2f01d9c671ff110a6bc7b2d928ad) - changelog
v3.9.0 (c9cc99bb53928f643b04161a5ffedcbe) - changelog
v3.10.0 (1fe588b51f82a18c0d540f9d437287bd) - Updated to Linux 3.0.36, vibe control, notrim frequencies, iX tuned, relevant code from JB source merged. This is likely the final ICS kernel in terms of big features, but bug fixes will continue if necessary.
Just flashed it... and phone is hanging on the google start up screen.. ffuuuuuuuu. running the revolution rom.
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
AcE XBOX said:
Just flashed it... and phone is hanging on the google start up screen.. ffuuuuuuuu. running the revolution rom.
Click to expand...
Click to collapse
That may be because you're running a 4.0.2 ROM and trying to flash a 4.0.3 kernel...
Flashed. And I notice big diff on browsing and tasks like running apps speed...much much faster!
Thank you IMO!
Sent from my Galaxy Nexus using XDA App
Tikerz said:
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
+ 1, I was wondering the same thing, just curious.
Sent from my Gummy Nexus
Tikerz said:
Ever think that imoseyon didn't post his work on XDA for a reason? Did you get his permission to share here?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I have spoke with imoseyon and he is perfectly fine with it.
I will update the thread to make a little more readable later on.
Sent from my Galaxy Nexus using Tapatalk
I've been using IMO's kernel since the 1.5.X series, and the performance and battery life have always been stellar. I've had better results then the franco and faux123 kernels personally.
My undervolts on the stable kernel are:
1350mhz: 1225mV
1200mhz: 1175mv
920mhz: 1050mV
700mhz: 975mV
350mhz: 850mV
I've always run the interactiveX governor on multiple roms and it has always been rock solid.
bencozzy said:
Where's a link to leantweaks?
Click to expand...
Click to collapse
Added I think all the links are current.
theidoctor said:
Added I think all the links are current.
Click to expand...
Click to collapse
Good to see someone w care taking charge of this thread
Sent from my Galaxy Nexus
luckylui said:
Good to see someone w care taking charge of this thread
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
its the least i can do since im no dev and i basically just hit the refresh button every 5 minutes waiting for an update on something around these forums.
theidoctor said:
its the least i can do since im no dev and i basically just hit the refresh button every 5 minutes waiting for an update on something around these forums.
Click to expand...
Click to collapse
Hey aint no complaining from me lol. I totally respect what you doing! Especially asking first. Unlike some ppl just copy n paste to start ****. Good for you tho. I thank you.
Sent from my Galaxy Nexus
Getting pretty good battery life. Pretty decent usage today and most of the day was on either 4G or 3G. Only last hour did I put it on wifi.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nice to see IMO's kernel on xda. I've tried them all but keep coming back to IMOs and this kernel rocks for performance and battery life.
Loving this kernal, running on bugless, getting great battery life, and no problems. CHeers.
Updated thread with latest experimental links!
Also, Check out the screenshot of what i have been getting the last couple days. Amazing!
His kernel is the best out there...I love it: )
Sent from my Galaxy Nexus using XDA App
best kernel!

[ROM][15-08-2012] ~×~ EliteMod & Kernel ICS ~×~ [sd-ext/swap/dataswap]

EliteMod ICS 120728 + EliteKernel ICS 120906
Turbo just got a new meaning.
This mod is a custom ROM based on AOKP ICS ROM and modified CM9 Kernel.
The primary aim is to dramatically increase device speed while also maximizing battery life. Secondary aim is to provide a platform with seamless app2sd integration. The bonus is getting rid of some annoying post-flash steps and settings.
To achieve this required highly experimental steps outside of the scope of Android's security system and direct intervention in userspace.
Be aware that I made this mod primarily for myself, I went to extremes to squeeze the last bit of performance out of my device. Expect no flashy stuff, just raw power and great base for your customization. I guarantee no support whatsoever and any modifications you make to your device are solely your responsibility. It's a good idea to always nandroid backup first!
Warnings - must read:
1) Do a nandroid backup, this ROM is not for everyone.
2) Full /data /cache /sd-ext wipe is mandatory before moving to EliteMod from any other ROM, even from AOKP! Not kidding!
3) This ROM relies heavily on the bundled EliteKernel. Flashing any other kernel unless I explicitly put a link in download area is probably a bad idea.
4) Flashing gApps or any performance-boosting packages is not recommended. Latest gApps are already included and tweak scripts may in some extreme cases break sd-ext support.
5) The ROM requires a manual reboot after account setup, you will see REBOOT REQUIRED on screen. Tap it and reboot the device as usual to apply additional tweaks. Any settings done before this reboot may be lost.
6) If you want to do a "Factory Reset" of this ROM, wiping /data /cache /sd-ext wipe is not enough. You must re-flash the zip to really start clean.
The usual: Do not use TitaniumBackup to restore System components unless you know what you're doing. Restoring Apex user data will forfeit fine-tuned launcher settings. Opera performance tweaks get applied after you first run it and then reboot, so it may not handle so well on first run.
Some screenshots - my customized homescreen, antutu score with this ROM and AOKP settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
Big thanks to all the amazing devs who made this compilation possible.
adamz667 for the base AOKP ROM
jerl92 for the base CM9 Kernel
Cyanogen and crew for their amazing ROM base
Nanling Zheng for the best gallery app
SparksCo for the original sd-ext mounting script
JaeKar99 for the boot anim
Sybregunne for his OC daemon
Andromadus team
...Awesome... for the BEATS module
And many others I'm sure I forgot to mention - thank you and keep it up.
.
Downloads:
High-speed download:
(see THIS for sd-ext and ext4 migration)
http://elite-force.eu/elitemod/EliteModICS120728.zip
Mirrors:
http://www.mediafire.com/?thaqutwrff9jzhu
Standalone ICS Kernel for AOKP-based ROMs and EliteMod (already included, unless this is newer version):
http://elite-force.eu/elitemod/MOD_EliteKernelICS_120906.zip
Standalone ICS Kernel for other ROMs like CM9:
http://elite-force.eu/elitemod/MOD_EliteKernelICS_120815-compatible.zip
(All kernels include sd-ext support! SEE THIS if you have sd-ext or swap partition on your SD card)
Old versions:
I will be triimming old versions soon, here are most mirrors http://www.mediafire.com/?613ufmrzd2ovt
Click to expand...
Click to collapse
Additional mods tested for this ROM and kernel:
DataSwap mod:
- complements sd-ext
- dramatically improves multitasking (please read this)
http://elite-force.eu/elitemod/MOD_DataSwap_64MB.zip (recommended size, flashable)
http://elite-force.eu/elitemod/MOD_DataSwap_96MB.zip (flashable)
http://elite-force.eu/elitemod/MOD_DataSwap_OFF.zip (flashable)
Google Talk:
http://elite-force.eu/elitemod/MOD_GTalkICS.zip
Google Gallery (needed for G+ picture sync):
http://elite-force.eu/elitemod/MOD_GalleryICS.zip
Click to expand...
Click to collapse
Kernel source:
https://github.com/niker/elitekernel-msm7x30
Click to expand...
Click to collapse
Frequently Answered Questions:
- if the phone is not smooth, make sure you only have ONE app that controls CPU active at a time. Daemon OR SetCPU OR System Tuner etc.
- to save even more battery, undervolt your CPU by following the guide below and my easy to use UV TOOLS package. Alternatively use this program to modify your voltages https://market.android.com/details?id=com.incredicontrol .
Click to expand...
Click to collapse
How do I use the kernel modules (USB support, FUSE, NTFS, Network drives etc.)
All available modules are in folder /system/lib/modules/*.ko
As you may have noticed only wi-fi module is enabled automatically. Because with each extra module the kernel can incur tiny performance hit, you need to chose modules you want to use and enable them automatically. To do so I recommend putting the required commands to /data/local/userinit.sh file.
Commands:
lsmod - shows the list of all active modules
insmod /system/lib/modules/xxx.ko - installs a module
Currently available modules:
cachefiles.ko - Filesystem caching on files
cifs.ko - CIFS support (advanced network filesystem)
fscache.ko - General filesystem local caching manager
fuse.ko - FUSE (Filesystem in Userspace) support
ntfs.ko - NTFS file system support (RW enabled)
usbcore.ko - Support for Host-side USB
usbhid.ko - USB Human Interface Device (full HID) support
usbkbd.ko - USB HIDBP Keyboard (simple Boot) support
usbmon.ko - USB Monitor
Click to expand...
Click to collapse
Recommended SetCPU settings (daily driver - EliteKernel only):
P6 (Temp > 46C) @ 122-768 smartassV2
P5 (Screen Off) @ 122-768 smartassV2
P4 (B < 15%) @ 122-844 smartassV2
P3 (B < 30%) @ 122-902 smartassV2
P2 (B < 50%) @ 122-940 smartassV2
P1 (B < 101%) @ 122-1228 smartassV2
Click to expand...
Click to collapse
These settings implement my own "Final Fortress"(tm) philosphy of battery management. The speed will decrease progressively with battery discharge - basically this will make your battery last longer the longer you are not charging. The goal is to save that precious last drop of power you might need in a tight situation at the end of a long day. All that without sacrificing speed when you have plenty of charge left. You should not notice significant speed decrease until you hit the reserve @ 15%.
UV hint: If you've built your own stable undervolting table, you can maximize speed with no impact on battery by aligning the max frequencies to your specific voltage peaks. (example: if there are 3 different frequencies stable on the same voltage, always use only the fastest of the group)
~CHANGELOG:
(changes with ! require full wipe)
120906 (kernel only)
- re-introduced SQLite tweaks
120815 (kernel only)
- performance improvements
- stability improvements
- included latest GPU drivers (removed in revision 2 due to HW overlay problems)
120728
- synced most changes of CM9 RC2 kernel
- minor performance improvements
- less aggressive launcher protection
- 2x faster swap transfers
- zram compiled as module (wasted 0.25% of total RAM even when inactive)
- built-in AGPS fix
- updated to AOKP milestone 6
- updated all apks
- updated su
- added smileys from HTC One X
120706
- fixed app persistence without using sd-ext
- opera tweaked again
- updated vending and gMusic to jelly bean
- update all apks
! improve new user experience (mainly default keyboard language and weather widget)
! enabled scrolling cache by default
120705 (kernel only)
- restored old resolution timer (probable cause of wakelocks and wakeup lags)
- re-added device mapper encryption support (needed for asec)
120704 (kernel only)
- reduce launcher killing without any swap (not very aggressive though, that would slow down loading of heavy apps)
- merge CM9 RC1 changes
- finally fix the ring skipping
- mild performance increase
- possibly less ANRs
- dropped support for legacy apps that control wi-fi
- enabled high-resolution system timer
- experimental audio changes may break some call recording apps (please test)
- added device mapper encryption support as module
- optimized all modules for faster loading
120627
- opera loading mobile versions fixed
- opera blocking /? pages fixed
- general audio skipping greatly reduced
120626
- better opera tweaks
- mild opera ad-blocker
- move Incredicontrol to device so that it can be easily replaced with SetCPU if desired (full ROM only)
- synced to AOKP b40 base
- kernel 120625 without changes
+ added GTalk and Gallery to mods, if you need it - flash it.
120625
- merged CM9b14 changes
- voltage minimum is capped at real hardware minimum - 750mV
- Smartass2 is more conservative to hopefully allow for a bit higher frequency/voltage ranges (expect 100-200MHz improvement tops)
- Optimize swap sweet spot to the 20-40MB range without introducing lags again
- very mild increase of in-call mic gain
120624
- improve network throughput
- 3G tweaks
- fix the random scrolling/pinching bug
- eliminate extreme lags on background app ANRs
- improve memory management when using DataSwap
- fix root always mounting as RW
- include Awesome BEATS
- update all apks
- revert default max freq to 1228800 (some CPUs are bumping to limits on 1248000)
- I/O tweaks for better multitasking, sometimes I have a feeling I'm the only one who actually RTFM
120621 (kernel only)
- more relaxed swapping
? try to reduce lags after apk installation
- faster ramping scary
120620 (kernel only)
- increased smoothness when using DataSwap mods or sd swap
- removed useless OC daemon and replaced it with simple CPU control app
(sleep profile is built into Smartass2, there is no advantage having a daemon sleep profile at all)
- increased CPU throughput slightly (more smoothness)
- fix overlapping shots on camera
120619
- elitekernel tweaks override AOKP Rom Control profiles that affect already tweaked tunables
- better memory management, reduced launcher killing
- better cache management
- custom fast module deployer in the kernel source (sh compile)
- BFS CPU scheduler revamped for better throughput and concurrency
- SIO I/O scheduler revamped for lower latencies and better performance on flash devices
- possible battery improvements
120616
! decrease default trackpad speed
- remove DSP manager until I find one that is working
- remove picoTTS engine
- include K9mail
- improve performance by re-enabling VM registry mapping (my bad)
- improve memory management a bit
- update GPS lib to .19 radio
- fix userspace undervolting
- re-add scary
- revert to slower but safer sqlite3
- improve sd card performance by writing larger blocks
120609-2
- fixed freezing/crashing due to enabled GL tiling
! fixed installation script possibly causing corruption of APKs
- greatly improved sd-ext stability
! disabled automatic creation of widgets and auto-updates without wifi for market
120609
+ first public release (AOKP build38 + CM9b10-based kernel)
Click to expand...
Click to collapse
reserved for future goodies
Waiting....
edit
Downloading...
edit
Installed.
THX
Folks just make sure you always have those backups somewhere, there are bound to be some bugs
Swap is now tested and working. Still can't recommend it though.
just installed
thanks
Superb. Could you see about getting the camera to work for yahoo video call? For me, that's the only thing missing on ICS roms.
Sent from my HTC Vision using XDA
Awesome ROM, as always!
But does anybody else's QuickPic keep crashing on startup?
Reboot might fix that or fix_permissions. The installation script can have a mind of its own Something about how AOKP handles init scripts asynchronously.
Sent from my Desire Z powered by EliteMod
Please if you have problems with some apps not working after installation, tell me if you have sd-ext partition or not, it is important for me to debug at this point.
The problem with PicFolder may be that the file is half-copied to /data and is pulled to /sd-ext by another script mid-copying, corrupting it as a result. But it's just a wild theory based on the fact that it's completely random occurence (I had this happen 1 out of 4 installations).
Scheduled changes for now is to try to time the init scripts properly and disable market auto-creating desktop widgets by default. Any other bugs I should know about?
the_gnome : The first one is that when i open the "messaging" app and click on settings the phone just freezes and i have to remove the battery and reboot. It happens on several other apps as well and the bad part is that it can't reboot, the booting animation just goes on and on, i left it for couple of hours and in the end i just reinstalled the whole rom.
Click to expand...
Click to collapse
Froze for me alright, but reboted well after battery pull. I'll see what can I do about this.
UPDATE: I nailed this down to build.prop, so hopefully it's just one line affecting all those freezes.
TEMP FIX: change"debug.enabletr=true" to false in build.prop. I call this an unforseen side-effect Apex was also returning tiling-related error logs in appdrawer.
Many freezes. For example if I open the menu of Nova Launcher or when I type something into the keyboard (e.g. in Google Play Store or Titanium Backup).
Back to your Gingerbread ROM.
I finally got the init scripts to block properly and wait for each other. Taking down both ROM and kernel for now, revised versions will come up shortly.
Code:
06-09 19:25:50.090: W/log(1321): sd-ext:mountsd: Commencing sd-ext mounting
06-09 19:25:50.110: W/log(1322): sd-ext:mountsd: ensure SD Card is present
06-09 19:25:50.371: W/log(1323): sd-ext:mountsd: Try SD...
06-09 19:25:50.391: W/log(1340): sd-ext:mountsd: SD not present, waiting 1s
06-09 19:25:51.382: W/log(1411): userinit: Start userinit handling
06-09 19:25:51.412: W/log(1416): userinit: SD-ext still running, postponing
06-09 19:25:51.802: W/log(1420): sd-ext:mountsd: SD found
06-09 19:25:51.852: W/log(1421): sd-ext:mountsd: find SD Card now or never
06-09 19:25:51.862: W/log(1423): sd-ext:mountsd: wait for the device to settle
06-09 19:25:51.872: W/log(1424): sd-ext:mountsd: SD card should be settled if present
06-09 19:25:51.882: W/log(1426): sd-ext:mountsd: Check skipped
06-09 19:25:51.892: W/log(1428): sd-ext:mountsd: transfer apks to sd-ext
06-09 19:25:52.373: W/log(1437): sd-ext:mountsd: /sd-ext first created
06-09 19:25:52.373: W/log(1438): sd-ext:mountsd: mount and set perms
06-09 19:25:52.633: W/log(1444): userinit: SD-ext still running, postponing
06-09 19:25:52.863: W/log(1452): sd-ext:mountsd: Mounted, migrating apks
06-09 19:25:53.213: W/log(1465): sd-ext:apps2sd: Commencing sd-ext integration
06-09 19:25:53.213: W/log(1467): sd-ext:apps2sd: create directories if necessary.
06-09 19:25:53.333: W/log(1468): sd-ext:apps2sd: Mounting into system
06-09 19:25:53.333: W/log(1470): sd-ext:apps2sd: /data/app bound!
06-09 19:25:53.414: W/log(1472): sd-ext:apps2sd: /data/app-private bound!
06-09 19:25:53.424: W/log(1474): sd-ext:apps2sd: Apps2SD successfully activated
06-09 19:25:53.884: W/log(1513): userinit: Userinit active!
06-09 19:25:54.034: W/log(1531): complete: Start init completion script
06-09 19:25:54.064: W/log(1533): complete: userinit still running, postponing
06-09 19:25:55.075: W/log(1560): complete: Complete init active!
Can't believe that took me a week to figure out
New version
New version is now released
* Stability improved tenfold
* installation is now safe
* you may experience lags after final boot, this is normal, there is fix_permissions running on background, just let it settle for 2 minutes If you reboot during the fixing, it will start up on every boot until it completes.
Please full-wipe coming from first version, some parts of your ROM might have been corrupted during installation and just updating would not fix all issues.
120609-2
- fixed freezing/crashing due to enabled GL tiling
- fixed installation script possibly causing corruption of APKs
- greatly improved sd-ext stability
- disabled automatic creation of widgets and auto-updates without wifi for market
Is there something that doesn't work? What about camera and camcorder, for example?
Well there's no working FM Tuner for ICS I know of. Camera and camcorder work although only 480p video. Other than that I don't really miss anything
nik3r said:
Well there's no working FM Tuner for ICS I know of. Camera and camcorder work although only 480p video. Other than that I don't really miss anything
Click to expand...
Click to collapse
spirit fm free may25 works in andro/cm9/aokp normally and in yours (already dl your rom i not have time will test in next 2 hours)
1843mhz and 1900mhz makes my phone rebooting and freezing all time. are these speeds experimental?
Anything above 1248MHz should be used with performance governor only (maybe conservative/scary might handle it).
The other governors are too aggressive and you would need to raise the minimum frequency to stabilize them. This is a hardware limitation of voltage switching on our CPU. The cost we have to pay if we want awesome battery life
BTW: is it just me or DSP equalizer has no effect whatsoever? I am certain it was fine few builds ago though
Did a full wipe of all partitions and sd card.. wow this rom is FAST. But unfortunately camera app crashes when I try to record video. Tried fix permissions. Still nothing. I don't see where to change the resolution of the camera? Is it set to 480 by default or do I need to change it
Never mind.. I had external sd turned on in it.. turned that off and it works like a charm.. if I can keep up this level of speed on this rom after a few days I'll be very happy!
Sent from my HTC Vision using xda premium
I loaded my 250+ apps on it, running LWP and it didn't break a sweat
Sent from my Desire Z powered by EliteMod
nik3r said:
Anything above 1248MHz should be used with performance governor only (maybe conservative/scary might handle it).
The other governors are too aggressive and you would need to raise the minimum frequency to stabilize them. This is a hardware limitation of voltage switching on our CPU. The cost we have to pay if we want awesome battery life
BTW: is it just me or DSP equalizer has no effect whatsoever? I am certain it was fine few builds ago though
Click to expand...
Click to collapse
you are wright for the both. only one personal request if you can . crt on

[Android 4.4+] [KERNEL] [OC] Nui kernel for CM ROMs

Hi everyone! After a couple of days working on ubuntu, I have built my own kernel
If you enjoy my work, please buy me a coffee. Thanks: http://nui.pe.hu/donate.html
Download here: https://play.google.com/store/apps/details?id=com.nui.kernel
I AM A STUDENT, NOT A DEVELOPER. I CANNOT FIX ALL ERRORS. SO PLEASE DON'T GIVE MY APP 1 OR 2 STARS.
FAQs
I can't flash zip file!
You must install TWRP. It doesn't work with CM recovery
My phone gets bootloop. What can I do?
You can use fastboot to flash stock kernel. Or just easily re-flash ROM.
This kernel makes my phone runs slow!
I can't help you. It works fine for me. I use CM's source code and I just add some feature.
Can you add/remove/fix blah blah feature?
OK. I'll try. But first I must do my homework. I'm a student, not a developer
Do I need to move data from internal storage to sdcard before disabling it ?
Yes. But if you forgot, don't worry. All your data is still in /data/media/0
See post #2 for more infomation
Changelog:
V6.1
Update FAQs
Update built-in TWRP to 3.0.0 (thanks to cucumber09)
Enable pressure report for touch screen (may not accurate)
Fix delay for guide on boot logo
Sync with newest CM13 kernel source.
V6.0
Re-enable F2FS
Use uncompressed main ramdisk (only gzip TWRP ramdisk)
Sync with CM13 kernel source
Underclock to 192MHz (may increase standby time)
Optimize voltage value for CPU
Increase CPU bus speed
Fix/update extract_elf_ramdisk (thanks to cucumber09)
V5.9
Add fade animation for flash torch on/off (in Tweaks > More)
Fix recording video error
Sync with CyanogenMod kernel source
App: fix FC in screen/brightness settings
V5.8
Add an awesome fade animation for LED notification
Sync with Ron's CM13 kernel source
App: Remove options for KSM and brightness lock
V5.7
Fix some FCs in the app
Disable KSM for fixing random reboot
Update disable internal storage for android 6.0+
Option for offline charging (Tweaks > Boot options)
V5.6
Add loading recovery.cpio from /cache
Add tips in FAQ menu
Add KSM support (Tweaks > RAM tweaks)
Follow Google's guidelines for Low RAM devices
Disable offline charging by default
Edge gesture: Custom action for menu gesture, increase its sensitive
Always enable dt2w/s2w vibration
V5.5
Add earpiece volume gain
Support camera button on selfie stick (in Tweaks > Buttons)
Fix swipe to control music
Fix FM radio
V5.4
Kernel:
Full support for android 6.0 marshmallow
Optimize sensor drivers (gravity, light and compass driver)
Press volume up/down to answer/decline incoming call
Fix swipe to control music
Fix speaker gain being overwritten randomly
App:
Fix sound settings can't be restored on boot
V5.3
Fix Edge gesture
Add function to Backup/Restore settings.
New "Edge gesture" function (see more in Tweak menu)
Add volume control from kernel level (for mic, speaker and headset)
Many optimizations for touch screen driver
Add tweaks for camera
Button: add "recent" button action
App: Rearrange tweaks menu
V5.2
Kernel:
GCC 5.2.0
Removed kexec hard-boot (it's broken and I can't fix)
Tweaked low memory killer module
Workaround for mobile data issue
App:
Allow opening tweak menu without updating to newest version
Rearrange some settings in "More" section in tweak menu
Add tweaks for Android side
V5.1
Now use GCC 5.1.0
Add Croatia translation (Thanks to Petar Cerin)
Improve/fix installer script (compatible with more ROMs)
Improvements for touch screen driver and dt2w/s2w:
+ Optimize code (save CPU cycles)
+ Fix screen freeze issue (for dt2w/s2w)
+ Removed debug code
Workaround for init.d
Disable mpdecision by default
V5.0
FIX SYSTEMUI FCS (tested on Archidroid)
Add Hindi translation (thanks to Garv Maggu)
Fix shortcuts on home screen
Remove many unused built-in drivers (IR control, PS2 mouse, TV tuner,...)
Add interactive GPU governor
Enable H264 High profile codec (Experimental)
Remove debug messages in wlan and LED driver (speed up a bit)
LED blinking for boot decision (can be disabled in tweaks menu)
V4.9
Add Vietnamese translation (thanks to Tuan Loc)
Fix some English grammar error (thanks to Garv Maggu)
Add more shortcut for home screen
Fix mobile signal/SIM card for CM11 (Thanks to PecanCM)
New method to choose boot type
No delay after choosing Recovery boot
Add HYPER cpu governor
"Very dim" brightness now a bit dimmer
Prevent audio glitches for music playback (experimental, enable in accessibility service)
V4.8
Add kexec/MultiROM support (read post #2)
Add swipe to control music playback on screen off
V4.7
Governors: remove NUIOndemand, add intellidemand
Fix forever deep sleep on dt2w/s2w
Add GPU Control
Add CPU control and power menu shortcuts for launcher
V4.6
Built-in No-frills CPU Control (thanks to Sineo)
Add option to control Dynamic Fsync (disabled by default)
SELinux set to default (Enforcing)
Add overclock levels
V4.5
Downgrade to GCC 4.9.3 (to fix dt2w/s2w and some problems with ril)
Add intellimm governor
Set noatime for all partitions (I/O boost)
Fix disable internal storage mod for dual SIM (check post #2 on xda)
Remove automatic install method (we only have to flash ONE zip)
Improve algorithm in tweaks menu
V4.4
Fix touch screen freezing cause by dt2w/s2w
Option to force brightness to a specific value
Improve algorithm in tweaks menu
V4.3
GCC toolchain 4.9.4 linaro
Auto check for update when app is opened
Add swipe to wake (still for testing, sometimes need to swipe twice)
Merge new changes from CM (Except removing logger)
SElinux set to permissive by default
Add some help messages in tweak menu
Add MD5 checker for installer
V4.2
Tweaks for camera and focus button when screen is off
Add zen io scheduler
Update TWRP to 2.8.7.0
Option to change:
+ Sensitive of proximity sensor
+ Intensity of torch LED
+ Disable FOTA recovery
Improve dt2w:
+ Fix forever deep sleep bug (Need to test more)
+ Disable on screen edge (to prevent sliding from edge)
+ Fix some accidentally tapping case
V4.1
Add tweaks for camera and focus button
Add guide text on boot (can be disabled in tweaks menu)
Fix dt2w issue when calling
V4.0
Fix some settings cannot be saved
Fix headset volume button (in kernel level)
Add fiops io scheduler
Built-in frandom (Fast pseudo-random generator)
V3.9
Fix Settings menu can't show correct value
Add option for overclock, disable by default.
Add vibration for dt2w
Add lulzactive governor
Add fifo, tripndroid io scheduler
Hold volume up and press focus key to force reduce brightness (useful when you get "Android is upgrading" for a long time)
Update FAQs
Fix all FCs in Settings
V3.8
Fix lag when CPU goes above 1GHz. You phone will be very smooth.
Re-enable mpdecision (fix problem with sdcard)
Improve double tap to wake:
+ Fix battery drain
+ Add half screen mode
+ Add setting
+ Now can work in deep sleep but sometimes need to tap 4 times
V3.7
Fix sdcard not mounting on some ROMs
Fix Settings menu
Add manually install method
Fix/update NUIondemand
Fix all problem with zip method
Disable normal install method
Clean source code and toolchain (may fix problem with mounting sdcard and random reboot)
V3.6
Option to on/off vibration on boot decision
Fix FC in settings
Add NUIondemand governor (still for testing, read FAQs)
Re-built all kernel object files (may fix problem with mounting sdcard)
V3.5
Add custom vibration intensity for haptic feedback
Re-add CM11 support
Add init.d support
Added installer via zip method
Fixed FC in settings
Add FAQs
Fix install algorithm
Add more information for reporting
V3.4
Remove support for CM11
Add kernel tweaks
Revert adjusting microphone volume
Mount system rw at boot
V3.3
Disable mpdecision by default
Revert using focus button as camera button
Add exFAT and f2fs file system
V3.2
Fix bootloop for update on devices using Disable Internal Storage mod
Optimize init.sh script
Reduce brightness when booting (Save battery)
Built-in undervolt script (set on every boot)
Add Lionheart governor
Add sioplus iosched
Increase microphone volume
V3.1
Fix apk file not recognize Xperia M dual
Fix camera button not working on all CM roms (Open camera app and try it yourself!)
Add sio iosched
Add SmartassV2 governor (UNSTABLE, I need developers to help me)
Merge newest commits from CM
V3.0
Stock boot logo
Build with GCC 4.9.3 linaro
New way to install (via apk file)
New way to reboot: press and hold power button for 8 secs
Re-enable FOTA recovery (read post #2)
Re-enable Dynamic FSync 2.0
Sync with CM's source code
V2.5
Based on CM12.1 branch from CM's source code
New funny boot logo!
Fixed beeeeeeeeeeeep noise when recording audio
Disable intelli plug (to control individual cores)
New boot script (add vibrations for boot decision)
Add 2ndrom function (still for testing)
Add new method for disabling internal storage
V2.0
Use SXD's source code (from here: https://github.com/NoelMacwan/SXDNickiLolly/ )
GCC 4.8
Overclock to 1.7GHz
Fixed dt2w (EXPERIMENTAL, MAY CAUSE BATTERY DRAIN)
Add intelli_plug, fsync, fstrim,...
intelli_plug tweak
Add support for CM12.1
V1.1:
Build with gcc tool 4.8.5 (thanks to @shrisangram )
Add doubletap2wake function (Worked but not stable!)
Disable mpdecision by default
Read ahead cache size to from 128KB to 2048KB
V1.0:
Stock boot logo
Overclocked to 1.6GHz (thanks to @FindYanot )
Added volt control and undervolt (thanks to @icoolguy1995 )
reduced min brightness level
Added TWRP 2.8.3.0 (with MTP support)
Added support for patch.cpio (for cm11 kernel patch)
When boot, blue led for boot decision and white led for TWRP (this is not an extra feature. I added it to test my codes)
Build with gcc tool 4.7 (Sorry, I have problems compiling with 4.8 and 4.9)
XDA:DevDB Information
[Android 4.4+] [KERNEL] [OC] Nui kernel for CM ROMs, Kernel for the Sony Xperia M
Contributors
thichthat, Garv Maggu, ndrancs
Source Code: https://github.com/ngxson/android_kernel_sony_msm8x27
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-06-08
Created 2015-03-30
Last Updated 2016-02-15
Reserved
Useful information:
See 3rd post for disabling internal storage
List of old versions can be found here: https://drive.google.com/folderview?id=0B2-0MyP06DN5LWs1YWZudm5La3M&usp=sharing
Manually install method: If you have problem with installing via apk file, try this method:
- Extract all files zip files from apk file
- In apk/assets/nui you will see a zip file. Extract and copy it to your phone.
- Reboot to recovery and flash method_zip.zip
- Reboot again.
Done!
Recommended setting:
Normal usage:
Use built-in undervolt table
CPU: max=1026MHz
governor=intellidemand
GPU: max=320MHz
io sched=zen
Battery saving:
CPU: max=810MHz
governor=conservative
Hard gaming:
Set all to max. It's easy for you.
MOD: Disable emulated storage (internal storage)
MOD: Disable emulated storage (internal storage)
FOR ANDROID 6.0+: http://forum.xda-developers.com/showpost.php?p=63787343&postcount=845
This mod works on almost roms. I tested it on CM11, CM12, Bliss pop v2.3, AICP, CM12.1 (beta 2 and 3), Flex OS and XenonHD
Update: Maybe not works on CM12.1 nightly
Unlike init.d method, this method is more stable. It will disable the emulated storage and change default storage to your real sdcard.
To use this mod, you must have:
- A computer running Windows
- Java Runtime (jre) installed (to use apktool)
- Your xperia M using NUI kernel
- You have to move ALL data from internal storage to sdcard before using this mod
- Download this file: http://www.mediafire.com/download/rj3vnokcbl8eyit/disable_emulated_storage_20150917_2.zip
Update log:
9/17/2015: Update apktool to v2.0.1. Fix problem on some nightly builds. Add zip align tool.
6/27/2015: Use 7z instead of zip1.exe
7/29/2015: Fix for dual SIM
7/30/2015: Adapted to v4.5
Guide:
Extract files from disable_emulated_storage.zip
Run 1Pulling_Files.bat and follow the instructions
After running 2Patching.bat, 3 files named backup.zip, NUI_MOD.zip and NUI_MOD_1.zip are generated
Flash NUI_MOD.zip
If it doesn't work, flash NUI_MOD_1.zip
If both files don't work, flash backup.zip
Enjoy!
Notice:
If you want to remove your sdcard, turn off phone first.
Wiping dalvik cache is recommend
Pre-built file (just flash it and enjoy):
RazorRC-2.0 (Thanks to @Garv Maggu ):
http://forum.xda-developers.com/showpost.php?p=63414136&postcount=757
Tipsy OS V2.0 (Thanks to @Garv Maggu ):
http://forum.xda-developers.com/showpost.php?p=63359465&postcount=751
For CyanideL RC20.0 (thanks to @Garv Maggu)
http://forum.xda-developers.com/showpost.php?p=63291657&postcount=739
For Archidroid_V3.1.3:
http://www.mediafire.com/download/y7r8zb67iybj0ud/NUI_MOD_Archidroid_3.1.3.zip
For xenonHD stable_2 06-06-2015:
http://www.mediafire.com/download/52wr93mc2z6mdhm/NUI_MOD_xenon_stable2.zip
For AOSP-20151807-DUALSIM:
Link: http://forum.xda-developers.com/showpost.php?p=62119355&postcount=560
ROM info:
allrested said:
AOSP-20151807-DUALSIM
ROM OS Version: 5.1.1 Lollipop
Build Number: LVY48C
Build Date : 2015-07-18
Based On: AOSP
link : [ROM][5.1.1][DUALSIM] The Android Open Source Project by smartAgent47
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Parallax OS 1.0 (thanks to @Garv Maggu )
Garv Maggu said:
XDA link to NUI_MOD.zip and backup.zip for Parallax OS 1.0 :- http://forum.xda-developers.com/showpost.php?p=62308309&postcount=219
Click to expand...
Click to collapse
See screenshots below:
Thanks so much for this kernel!
What's the default voltage for any given CPU frequency and how much can we undervolt safely at 1.3Ghz for instance?
Not sent by me.
BlackArtsInc said:
Thanks so much for this kernel!
What's the default voltage for any given CPU frequency and how much can we undervolt safely at 1.3Ghz for instance?
Not sent by me.
Click to expand...
Click to collapse
You can reboot your phone to have the default voltage value
This is my UV settings. I suggest using Kernel Tuner
From 384MHz to 702MHz I reduce 200mV
From 702 to 1.6GHz I reduce 150mV (Don't reduce more. Otherwise, your phone will reboot immediately)
Code:
384000: 750000
432000: 775000
486000: 775000
540000: 800000
594000: 800000
648000: 825000
702000: 825000
756000: 875000
810000: 875000
864000: 900000
918000: 900000
972000: 925000
1026000: 925000
1080000: 975000
1134000: 975000
1188000: 1000000
1242000: 1000000
1296000: 1025000
1350000: 1025000
1404000: 1037500
1458000: 1037500
1512000: 1050000
1620000: 1100000
Wiil try tonight and post the results.
My ROM at the moment is RR 537 CM12.
N.
Well...as is the case with almost every OC kernel I've tried, the second core is stuck at maximum frequency. Kernel Tuner cannot make the settings stick. Any suggestions?
Not sent by me.
BlackArtsInc said:
Well...as is the case with almost every OC kernel I've tried, the second core is stuck at maximum frequency. Kernel Tuner cannot make the settings stick. Any suggestions?
Not sent by me.
Click to expand...
Click to collapse
That's because of the mpdecision included in almost qcom devices. You can try the newest Kernel Tuner 2015 (with green icon). Or you can use these command in terminal:
Code:
su
stop mpdecision
So I can use Kernel Tuner 2014 and be OK even after a reboot? OK thanks!
Not sent by me.
thichthat said:
That's because of the mpdecision included in almost qcom devices. You can try the newest Kernel Tuner 2015 (with green icon). Or you can use these command in terminal:
Code:
su
stop mpdecision
Click to expand...
Click to collapse
Sir
Thanks for the awesome kernel , everything works fine
Few requests
Can you check out and add commits from this kernel http://forum.xda-developers.com/xpe...rnel-thunderzap-4-1-r2-sound-control-t2390831 if you have time
BlackArtsInc said:
So I can use Kernel Tuner 2014 and be OK even after a reboot? OK thanks!
Not sent by me.
Click to expand...
Click to collapse
Yes. I will include this feature in the 2.0 version. So you can use other apps to set CPU
dastan4eva said:
Sir
Thanks for the awesome kernel , everything works fine
Few requests
Can you check out and add commits from this kernel http://forum.xda-developers.com/xpe...rnel-thunderzap-4-1-r2-sound-control-t2390831 if you have time
Click to expand...
Click to collapse
Almost feature in that kernel was included in my kernel. Just enjoy the smoothness and longer battery life!
SOME REMARKS:
1) Is undervolt is really working? You know i have tried undervolting from inside ACPUCLOCK file but i didn't find any difference.
2) AFAIK mpdecision maintains clock speed disabling it will give you max freqs all the time.
3) Use intelliplug it governs frequency better than mpdecision.
icoolguy1995 said:
SOME REMARKS:
1) Is undervolt is really working? You know i have tried undervolting from inside ACPUCLOCK file but i didn't find any difference.
2) AFAIK mpdecision maintains clock speed disabling it will give you max freqs all the time.
3) Use intelliplug it governs frequency better than mpdecision.
Click to expand...
Click to collapse
There's only one method to make sure UV work: If you under volt more than 250mV and change cpu freq again, your phone will reboot immediately! That because voltage table will be read when cpu freq is changed
About the mpdecision, I've found a way to disable it. I found this code in init.qcom.rc
chown root system /sys/devices/system/cpu/mfreq
chmod 220 /sys/devices/system/cpu/mfreq
chown root system /sys/devices/system/cpu/cpu1/online
chmod 664 /sys/devices/system/cpu/cpu1/online
start mpdecision
service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf
class late_start
user root
group root
Click to expand...
Click to collapse
Just delete this code and you'll have permission to control 2nd core.
Will it improve battery life in cm12?
Cannot download @thichthat
haresh311999 said:
Cannot download @thichthat
Click to expand...
Click to collapse
Links are working fine, there may b server problem... Try again?
KHM90 said:
Links are working fine, there may b server problem... Try again?
Click to expand...
Click to collapse
Ya It was a server problem...now its fine.....anyway thanks[emoji2] [emoji2]
Finally a fully working OC Kernel for CM12!
Been waiting for this for so long. Just installed it moments ago. FindYanot's kernel was working fine except that there was Camera and Flashlight FC issues. But no such issues in this one, so I am delighted. No other feature seems to be broken at the moment.
One question: Where to install Kernel Tuner 2015 from? Kernel Tuner 2014 was updated on Feb 28, 2015 according to Play Store, so is that gonna work as needed? (override mpdecision and set on boot)
manal.21sinha said:
Been waiting for this for so long. Just installed it moments ago. FindYanot's kernel was working fine except that there was Camera and Flashlight FC issues. But no such issues in this one, so I am delighted. No other feature seems to be broken at the moment.
One question: Where to install Kernel Tuner 2015 from? Kernel Tuner 2014 was updated on Feb 28, 2015 according to Play Store, so is that gonna work as needed? (override mpdecision and set on boot)
Click to expand...
Click to collapse
It's KT 2014. Sorry I forgot the version.
Btw, the doubletap2wake function is now working. 2.0 version will be release soon!
thichthat said:
It's KT 2014. Sorry I forgot the version.
Btw, the doubletap2wake function is now working. 2.0 version will be release soon!
Click to expand...
Click to collapse
Dude, can you add intelliplug to v2.0?

[KERNEL][TW][SM-G930F/FD/W8/S/L/K] Primal Kernel v2.3.4 [DQH8][S7 + Ports]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the official thread for Primal Kernel project for the Exynos Galaxy S7 (SM-G930F/FD/W8/S/L/K) running TouchWiz based ROMs (Nougat only currently).
The aim of this project is to provide a rock solid, ready to use tweaked kernel, without useless features.​
Introduction:
Primal Kernel, formerly known as The Outsider Kernel, is the first S7 kernel for TouchWiz based ROMs sporting the AnyKernel2 installation approach.
The most widespread method consists of flashing a complete prebuilt boot image (this means that it will be flashed straight away without any modification).
This is the most practical method for providing a working kernel, but it has disadvantages too:
1) the installation package will be bigger.
2) the developer must keep the ramdisk updated with the newest from stock kernels. This requires rebasing the patches and keeping up with the newest firmwares sometimes with frequent releases.
3) it makes the compatibility with older ROMs a little more complicated as a newer ramdisk could add modifications not supported by the older ROM.
4) for the ported ROMs the developer has to manually patch the ramdisk with the required changes from the ported device's one. So you have to create a different boot.img for every ported device for every S7 variant.
But we have an alternative...
AnyKernel2 is a different approach to the installation of the kernel: the package only contains the prebuilt zImage (the actual kernel), the dtb (basic hardware instructions like reserved memory and so on) and the patches for the stock ramdisk. AnyKernel while installing unpacks the previous kernel and replaces zImage, dtb and, after patching it, the new ramdisk.
This implies various benefits:
1) smaller installation package.
2) you can always have the most updated ramdisk without the need of waiting an update from the developer.
3) better compatibility as you can flash it on top of any stock (or close to) boot image.
4) it makes life a lot easier for the developer with many ready to use patching functions.
5) with some efforts from me, the package can adapt the stock S7 ramdisk to work on any S8 or Note FE ported ROM, making it even more adaptable.
All this sounds great (and it is great) but introduces a problem: you can't flash it on top of another custom kernel. This because custom kernels almost always have scripts and other modifications to the ramdisk, which might not be compatible with my kernel.
Installation instructions:
If you correctly follow these instructions you'll be able to run Primal on any ROM (as above).
If it doesn't work, read twice and try installing again before asking for help.
● Instructions for BatMan ROM (S8 port) users:
1) install the ROM (you can dirty flash if you already have it installed) make sure to choose stock kernel (so it doesn't install the new GPU libs, which aren't supported by Primal).
3) after the ROM flashing process has been completed flash the Primal kernel zip for your device.
4) flash your preferred root method.
5) reboot and be patient as first boot might take a little more time.
● Instructions for any other ROM (any other S8 and Note FE ported ROM and, obviously, any S7 ROM) running a custom kernel:
1) make sure you have the stock S7 kernel zip (or any stock boot.img from any S7 Odin package or ROM zip containing the stock kernel) and Primal Kernel zip.
2) if you have a boot.img flash it to the boot partition using Flashify or TWRP itself.
3) if you have the flashable stock kernel zip and Primal Kernel zip reboot to recovery and flash in this order: stock kernel zip, Primal Kernel zip and then your preferred root method.
● Instructions for any S7 ROM running stock kernel:
1) reboot to recovery and flash in this order Primal Kernel and your root method of choice.
If you get into a bootloop...
● if you're running a port make sure it says dream2lte (if an S8 port) or gracerlte (if a Note FE port) in the build.prop; if there isn't any add a line at the bottom, "primal=dream2lte" for S8 or "primal=gracerlte" for Note FE.
● make sure your ROM doesn't come with the new GPU libs installed, if it does restore the old libs somehow (flashable zip coming soon!).
Thanks and Credits:
● Samsung OSRC for the kernel source code
● @Tkkg1994 and @jesec for their clear and vast source code and scripts
● @flar2, @UpInTheAir, @franciscofranco, @eng.stk, @osm0sis, @andip71 and others for their great contributions to the community and Android
Features:
● based on the latest Samsung kernel source code G935FXXU1DQH8 merged with G935SKSU1DQG1
● always have the latest ramdisk for your specific model and variant, thanks to AnyKernel2
● ported ROMs are supported (like S8 and Note FE based ROMs)
● compiled with custom built Uber Toolchain 6.4.1 (20170826) and optimization flags
● custom scripts with tweaks applied at boot, optimizations and wakelock fixes
● init.d support
● added a few tested and updated CPU governors (blu_active, conservative, ondemand, powersave, interactive, performance).
default: interactive
● added a few tested and updated I/O schedulers (noop, deadline, row, cfq, bfq, zen)
default: cfq with custom parameters
● added a few TCP congestion algorithms (westwood, reno, bic, cubic, htcp, lia, olia, wvegas)
default: westwood
● full f2fs support from jaegeuk's f2fs-stable plus OnePlus improvements
● fstab mount tweaks for both ext4 and f2fs
● fixed various bugs in the Linux code like improved cyptography algorithms, filesystems, network...
● architecture specific fixes
● cpuidle improvements
● random (entropy) generation improvements
● power managemnet, schedulers, governor and memory management improvements
● unlocked lower CPU frequencies with correct voltages and set recommended defaults (312MHz big - 338MHz LITTLE)
● schedule workqueues on awake CPUs enabled
● improved hotplug and idle with interactive governor
● added 112MHz minimum GPU frequency and clock control
● voltage control for GPU
● LED control with fading option
● voltage control for big and LITTLE clusters
● preset I/O scheduler tunables
● disabled SWAP and ZSWAP for best performance
● preset VM tunables
● SELinux permissive
● Knox 0x0, Samsung security checks and SafetyNet spoofed to pass
● Fsync switch added
● Software CRC control switch added
● and many other changes (too many to be listed here)...
Notes:
● If you want root, you need to flash the root zip after flashing this kernel (Magisk is recommended to pass SafetyNet).
● If you want to access the advanced kernel controls MTweaks by @morogoku is the only app which supports all the features (download it here).
Everything has always been stable, and almost bug free, so no notes on that side at the moment :laugh:
Latest stable version is 2.3.4.
If you want to flash an older version see Archive in the download links below.
Source > GitHub
Commits (kind of a changelog) > GitHub
Download:
herolte (S7 SM-G930) > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
TouchWiz Projects by kylothow | Official Group
You're welcome
XDA:DevDB Information
Primal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: https://github.com/kylothow/universal8890-NN-G935
Kernel Special Features: Stable f2fs porting, tweaked with recommended settings, a few but working governors, schedulers and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.3.4
Stable Release Date: 2017-09-13
Created 2017-04-26
Last Updated 2017-09-14
Changelogs:
From version 2.3.3 to 2.3.4:
Code:
● added fstrim on boot
● added Knox and other security check props spoofing inside the kernel
● added Google Play services drains fix
● added custom init.rc with tweaks (cfq with tunables preset, read ahead 128 and 256 for external, rised base CPU frequency a little (you can lower it if you want)
● recent patch to cpufreq added
● updated AnyKernel2 with the latest goodies from osm0sis
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Old changelogs (for The Outsider):
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
Version 2.1.6
Code:
- switched to GCC 6.3.1
- various build flags to optimize building
- enabled a few compression algorithms (GZIP, LZ4, LZMA...)
- enabled cryptographic drivers optimized for 64 bits
- defconfig tunings to reduce debug logging
- updated mcRegistry and ramdisk to DQD9 (for S8Port only the init file)
- drastically changed kernel default tweks/settings
Version 2.1.5
Code:
- fixes regarding stability and speed
- ext4 and fuse fixes
- crypto and drivers built uncompressed
- random numbers generation changes
Version 2.1.4
Code:
- the kernel has been redone from scratch; the features are in pair/more than the previous 1.x.x versions, and gives you an overall way better experience.
Version 1.4.1
Code:
- various bug fixes
- performance/reliability improvements for network, ext4, f2fs and cryptography
- enabled a few kernel modules for ipv6 and a few other optimizations
- trying out higher kernel timings
- set default governor to blu_active
Version 1.4.0
Code:
- first release for xda
How to set up your phone with f2fs:
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.1.1.0 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (All the TouchWiz based ROMs force ext4 and format despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
XDevOS said:
Dishonored reference?
Sent from my Galaxy S7 using XDA Labs
Click to expand...
Click to collapse
Definitely [emoji6]
Sent from my SM-G935F using Tapatalk
kylothow said:
Definitely [emoji6]
Click to expand...
Click to collapse
Love that game :good: Will stay with this kernel as long as I can xD <3
Sent from my Galaxy S7 using XDA Labs
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
At the moment only the stock hotplug. Further developments will need a specific app like Synapse or maybe a custom Kernel Adiutor -- which is the next step in the development.
I'm running latest Helios, the only thing that is preventing me to do my own custom ROM (basically it perfectly fits my needs).
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
ig_df said:
Default settings are the best even for you?
I wanna try your work but don't have enough time for playing games with custom settings.
Thx a lot for you anyway
Click to expand...
Click to collapse
The point of this is to provide a great experience out of the box -- there is a few others helping me to decide which are the best settings, and I update them quite often because it's a continue pursuit of the best everyday settings profile.
The script applies at boot before anything else so you can change them in case you don't like.
The inexperienced user can update the kernel and enjoy always updated settings without even installing a kernel control app or rooting.
Sent from my SM-G935F using Tapatalk
+good kernal antutu 15xxxx
https://www.mx7.com/i/140/F2Pnl9.png
-battery unstable
rom s.....
Calvin.manneson said:
busy man
thanx boss
testing. ..
hotplug?
what Rom you running @kylothow
Click to expand...
Click to collapse
Those scores are with OC ? GPU and CPU?
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
nalas said:
Those scores are with OC ? GPU and CPU?
Click to expand...
Click to collapse
yup,speed up everything for high score
New base D2/3 all score high.
with stock kernel and default settings score 140k.
May give it a try out at some point ATM I'm on superman ROM but curious as if it will break superman control app as I know a version of super kernel broken that app
Sent from my SM-G930F using Tapatalk
king118 said:
Seems smooth even with PowerSaving mode(1.4.1)
Update: Battery is unstable <=60-50%
Click to expand...
Click to collapse
hi
what is battery unstable you mean? it's less time than other kernel? please guide
tranphungan said:
hi
what is battery unstable you mean? it's less time than other kernel? please guide
Click to expand...
Click to collapse
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
kylothow said:
The old 1.x.x version can have every problem imaginable (the only confirmed one is stutters for some users) but no one ever complained about battery.
Users just say things without proof, stats or logs, they don't even mention the settings they're using or which ROM are they on... Definitely not useful.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Thank you.
In my opinion. I can see this kernel make my rom Super Man is smoother than superstock or tgpkernel or superkernel. Absolutely smoothly and not effect to battery much (still not recognize..). I push up all cpu frequency to max. Hehe
New update is available for download. It has been tested and reported to be stable and worth the upgrade from the great 2.1.6.
Here's the changelog:
Version 2.2.1
Code:
- added cleaning scripts at boot (automatic trim, sqlite optimization, cache and leftovers cleaning
- updated ramdisk and mcregistry to DQE7
- updated with latest Samsung changes (DQE7/DQEF)
- disabled swap and zsmalloc
- added row I/O scheduler
- increased default maximum frequency to 2.6GHz
- updated to Linux 3.18.55
- switched to custom built Uber Toolchain 6.3.1 (20170528)
- switched to a whole new overclock/voltage management method based on ASV
- changed frequency policy especially regarding touch boost (for better battery)
- allow to enable Exynos swap
- add unstable power detection and charging/battery controls
- added notifiers for the future addition of CPU governors and removed old/broken implementations
- a few f2fs and other minor fixes to defconfig, schedulers, cpufreq
> https://www.androidfilehost.com/?w=files&flid=171297
thanx for updating dev.
definitely the fastest custom kernel for me...
anyone know why ux score is 'red' in antutu?

Categories

Resources