[KERNEL][N920P/R4][AOJ6] UniKernel v9 120615 - Sprint Samsung Galaxy Note5

Features
Interactive governor as default
CFQ I/O scheduler as default
bic TCP congestion scheduler
Full init.d scripting support
SE Linux set to permissive (will prevent private mode from working and other items depending on kernel needing to be set to Enforced)
Fully working Auto-Root for all 5.1.1 roms
THIS WILL TRIP KNOX
Thanks to the S6 Overload, @g.lewarne and his UniKernel...
v9 initial - 120615
No longer beta! Yay!...
Based off of G928PVPU2AOJ6 source...
Disabled selinux and auditd...
Reverted to UniKernel v8 Interactive and VM settings...
v9 beta - 120315
Ramdisk now being lzma compressed...did not boot on previous release due to the boot.img being too large...
Disabled VM and interactive tweaks for now...
More importantly, it boots!
v9 beta - 120215
Based on AOJ6
Added ROW scheduler
Implementation of /system/unikernel.prop (more about this, below, in the second post)
selinux: Do not allow mode changes [HACK]
sd: Avoid sending medium write commands if device is write protected
binfmt_elf.c: use get_random_int() to fix entropy depleting
arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
Revert "staging: binder: Change binder mutex to rtmutex."
Usb: Gadget: Add DriveDroid support
Compressor: Add lz4 modules, Speedup lz0
GPU: Mali: Rework Throttling and DVFS control
Block: Add BFQ and FIOPS Schedulers, Optimize Deadline
cpufreq: exynos-mp-cpufreq: Add calibrated power coefficients
Squash of AndreiLux's power efficiency patch set
cfq-iosched: fix the setting of IOPS mode on SSDs
block: Make CFQ default to IOPS mode on SSDs
writeback: Fix occasional slow sync(1)
fs/sync: Make sync() satisfy many requests with one invocation.
block: Reserve only one queue tag for sync IO if only 3 tags are available
block_dev: implement readpages() to optimize sequential read
jiffies conversions: Use compile time constants when possible
readahead: make context readahead more conservative
sync: don't block the flusher thread waiting on IO
writeback: fix writeback cache thrashing
Make sure you have OEM Unlocking enabled in Developer Options before flashing kernel...
No, seriously...go to Settings > Developer Options > OEM Unlocking...On? Good...continue...
Downloads
N920P - https://www.androidfilehost.com/?w=files&flid=44927
N920R4 - in search of AOJ5 boot.img...or try the P version and let me know if it boots...
Source
https://github.com/djvoleur/G_N92XP-R4_AOJ6

/system/unikernel.prop
Below are the lines added to unikernel.prop and their default settings...
kernel.turbo=false (default) or true
kernel.interactive=battery (default) performance Disabled for now...
kernel.scheduler=cfq (default) noop deadline fiops bfq row
kernel.vm=tuned (default) or stock Disabled for now...
kernel.gapps=true (default) or false
kernel.initd=true (default) or false
If you want to what they exactly do, click here
For now, you will need a file explorer (with root access) to make changes to the file...just make sure that it keeps the permssions rw-r--r-- (or 644) and you will have to reboot for the changes to take effect...
Project
Here is what I have so far with the app...
View attachment 3501423
It will be able to apply the settings dynamically without having to reboot the phone and save the settings to the unikernel.prop file...I'll let everyone know once this has been completed...

Please let me know if this boots...I don't have the device and blind building...

djvoleur said:
Please let me know if this boots...I don't have the device and blind building...
Click to expand...
Click to collapse
Are you around now?

millerboy3 said:
Are you around now?
Click to expand...
Click to collapse
Yep...

djvoleur said:
Yep...
Click to expand...
Click to collapse
Will test immediately for you, also have some questions for you? Do you have hangouts/whatsapp or would you mind going to pm?

millerboy3 said:
Will test immediately for you, also have some questions for you? Do you have hangouts/whatsapp or would you mind going to pm?
Click to expand...
Click to collapse
Check your PM

djvoleur said:
Please let me know if this boots...I don't have the device and blind building...
Click to expand...
Click to collapse
No worries.
No luck with the zip, it just hangs on the Samsung logo so I tried the tar and it fails to flash altogether with odin.
Partition info for boot.img looks good in the flashable zip too.

tdunham said:
No worries.
No luck with the zip, it just hangs on the Samsung logo so I tried the tar and it fails to flash altogether with odin.
Partition info for boot.img looks good in the flashable zip too.
Click to expand...
Click to collapse
Thanks! Gonna recheck everything and send an update later on this evening...

Updated! Check OP for download link....thanks to @millerboy3 for testing...

Great job I know me and my sprint note 5 appreciates your hard work very much. @djvoleur for the kernel @tdunham for the rom

Is this better than 1.3 roar kernal?

djhulk2 said:
Is this better than 1.3 roar kernal?
Click to expand...
Click to collapse
Try it out and see!

I already saw some 1 tried a new kernal on the 1.3 moar rom, performance great but battery drained so fast he said. And..i really dont know what a kernal is or how it works

Updated! Check OP for download link!

can you explain why when you open the OCULUS app it lags like crazy when I flash this?

djvoleur said:
Below are the lines added to unikernel.prop and their default settings...
kernel.turbo=false (default) or true
kernel.interactive=battery (default) performance Disabled for now...
kernel.scheduler=cfq (default) noop deadline fiops bfq row
kernel.vm=tuned (default) or stock Disabled for now...
kernel.gapps=true (default) or false
kernel.initd=true (default) or false
If you want to what they exactly do, click here
For now, you will need a file explorer (with root access) to make changes to the file...just make sure that it keeps the permssions rw-r--r-- (or 644) and you will have to reboot for the changes to take effect...
Project
Here is what I have so far with the app...
View attachment 3501423
It will be able to apply the settings dynamically without having to reboot the phone and save the settings to the unikernel.prop file...I'll let everyone know once this has been completed...
Click to expand...
Click to collapse
Cam you tell.me what app is that to change unikernel settings????

Any update soon ?

y u no add R4
I'm testing P, but so far it is stuck on the "Galaxy Note5 Powered By Android" screen with "Kernel Is Not SEAndroid Enforcing" at the top-left corner

Bumping a OLD, almost 2 year old thread...

Related

[KERNEL][Huawei U8150] Noma - experimental Froyo hotness [20120514][GPL]

Noma kernel for Huawei U8150​
I'm introducing my custom kernel for Huawei U8150 IDEOS phones. In Kenyan Swahili noma usually means "tight," as in: "That music is tight!" It can be used in other ways too, but I like this connotation the best.
Goals​My aim is to learn about Linux kernel internals, practice software development using git, and to share with the community. In addition to that, I want to explore and test tweaks which lead to increased/optimized performance on this bargain phone (it's very popular in Kenya). Some of the areas of improvement I have in mind are:
CPU scheduling (UI responsiveness, reducing lag)
CPU frequency scaling governors (smartass? ondemandX? interactiveX?)
I/O scheduling and filesystems (flash disk performance, throughput, latency, maybe simpleio scheduler?)
Security (network, local)
Newer drivers (mainstream, community kernel sources)
Newer GCC compilers (CodeSourcery, Linaro)
Easy rooting
Integrate ClockWorkMod Recovery
Integrate busybox
Explore different compression algorithms (LZO, gzip, LZF, etc) for zImage...
Compcache (zram) (info, announcement)
SLOB memory allocator for better memory allocation? (info)
Current features​
Code:
- multi-touch gestures (on devices with [url=http://mjanja.co.ke/2011/08/does-your-huawei-u8150-support-multi-touch-gestures/]supported hardware[/url])
- over/under clocking of CPU frequencies
- Tiny RCU ([url=https://lwn.net/Articles/323929/]info[/url])
- BFQ I/O scheduler ([url=http://algo.ing.unimo.it/people/paolo/disk_sched/]info[/url])
- simpleio scheduler ([url=https://github.com/erasmux/hero-2.6.29-flykernel/wiki/Smartass]info[/url])
- "ck" patch set, including the Brain **** CPU scheduler (BFS) ([url=http://www.kernel.org/pub/linux/kernel/people/ck/patches/2.6/2.6.32/2.6.32-ck2/]info[/url])
- optimized memcopy/memmove ([url=https://github.com/alanorth/kernel_huawei_u8150/commit/871656cbba8ee70d0896ac5cae35a31c2e0873e3]info[/url])
Downloads​fastboot-flashable boot images:
20120514v1: info, download
20110903v83: info, download
20110827v56: info, download
20110824v49: info, download
20110823v47: info, download
noma_20110711v26_boot.img (the "oops, I messed up my phone" kernel... safe, stable defaults; close to "stock" Huawei)
Possibly more here (on github)
Change log​Change logs are a pain in the ass to keep up to date, but you can see changes live in the git repository itself. See the commit history of the below branches if you're curious:
froyo-noma-dev commits (dev, bleeding edge)
froyo-noma commits (stable)
Source code​
I respect the GPL (the license covering the Linux kernel), so all the up-to-date source code for this kernel is available on github. My kernel is, in turn, based on the publicly-avaiable Froyo kernel sources from Huawei. You're free to fork, modify, and re-release the code as your own, but you must provide the source code for your resulting work. Doing so ensures you honor the terms of the license, but you're also giving back to the community. Basically, don't be a ****.
Credits​
I've written zero lines of C code for this kernel. My work is merely to search for interesting modifications to the Linux kernel and add them to a git repository. The real work has been put in by the following people:
Linus Torvalds and all the other Linux kernel hackers around the world
tj_style (multi-touch gesture support)
Stefano Viola (over/underclock)
Renaud Allard for his Galaxy S awesome sauce (kernel, initramfs, etc)
Erasmux (smartassV2)
Let me know if I've left you out.
Donations​
Hahaha! No seriously, save your money; I am gainfully employed and I just do this for fun (and lulz)! Instead, just hit "thanks" on this thread. Or, if you're ever in Nairobi you could always buy me a cup of coffee.
Reserved for flashing instructions...
Could you please post fashing instructions via custom recovery?
Im a bit of a noob.
Thanks.
Use fastboot!
Antownee said:
Could you please post fashing instructions via custom recovery?
Click to expand...
Click to collapse
I usually just flash from fastboot lately, as I'm between ROMs too much and I don't bother installing a custom recovery. I suppose I should modify my build scripts to make recovery-flashable zips... hang tight!
... or, if you can't wait, check out my in-depth blog post about compiling and flashing custom kernels on Huawei 8150. I wrote it a few weeks ago when I was a U8150 n00b.
v47 (20110823)
Changes in 20110823v47 (from the git commit log):
Add new, lookup3-based jhash. See: http://burtleburtle.net/bob/hash/doobs.html
pids: fix a race in pid generation that causes pids to be reused immediately
lib/decompress_bunzip2.c: fix checkstack warning
kbuild: drop unifdef-y support
net sched: fix some kernel memory leaks
net/ipv4: Eliminate kstrdup memory leak
Add noma_defconfig. `ARCH=arm make noma_defconfig` to use.
Mostly security and memory leak fixes. The new jhash implementation is based on lookup3.c, a newer, more-efficient implementation (more info here). It's mainly used in the kernel's ipv4 and ipv6 stacks, so don't expect revolutionary performance increases, but it's backwards compatible with the old implementation, so it couldn't hurt to include it.
Default IO scheduler is now deadline (the same as stock Huawei) until I can do some performance tests of other schedulers on this device. Note: I've included BFQ, Anticipatory, CFQ, and noop as well, so you can use those if you like!
Download: noma_20110823v47_boot.img
v49 (20110824)
Changes in 20110824v49 (from the git commit log):
Default to ZLO compression of kernel and ramdisk. LZO has roughly the same (but worse) compression, but is much faster to decompress.
Add LZO compression support for initramfs and old-style initrd
Add support for LZO-compressed kernels on x86
Add support for LZO-compressed kernels for ARM
Add support for LZO-compressed kernels
LZO compression is not as efficient but should be faster than the default compression (gzip), which should improve boot time. See: http://free-electrons.com/blog/lzo-kernel-compression/.
Download: noma_20110824v49_boot.img
Why are you working on Froyo and not on Gigerbread?
Why I'm still working on Froyo
unknhawk said:
Why are you working on Froyo and not on Gigerbread?
Click to expand...
Click to collapse
As this is basically a research project (for both me and the community), the primary reason I'm still "working" on Froyo is that most U8150s are still running Froyo. It's an incredibly popular phone in Kenya (maybe 250,000 - 500,000 units sold?), but I have a hunch very few of them are running non-stock ROMs. Sure, CyanogenMod 7 has a fairly-active U8150 port in progress, but it's not widely used yet.
Like I said, this is primarily a research project, so I'm experimenting for my own curiosity. A part of that is to help people get into Linux kernel, Android, and open-source software development. I want to help set an example of openness, collaboration, documentation, etc.
Also, a lot of the mods I'm making can just as well apply to Gingerbread when we finally get there.
Custom kernel booting on U8150 CM7
unknhawk said:
Why are you working on Froyo and not on Gigerbread?
Click to expand...
Click to collapse
Fun times... I just got a custom kernel to boot on CM7. It's nowhere near as usable as tilal's kernel, but it is a good exercise. More info here on my blog.
I suppose that whenever I get bored enough with Froyo I could always hop over to CM7. AOSP is where my heart is anyways.
v56 (20110827)
Changes (from the git commit history):
Add su, Superuser.apk, and busybox. This kernel/boot.img will now actively root Huawei stock ROMs.
Remove pre-zipped ramdisks as they are now generated on the fly from the compile scripts.
Correct the name of the compressed ramdisk (mkbootfs technically creates a cpio archive, which I then zip).
Make sure `make clean` doesn't delete our pre-compiled wireless module.
Add mkbootfs for creating ramdisks, and update compile.sh to create ramdisks on the fly instead of using a pre-zipped one.
Add ramdisk from U8150 V100R001C18B842
The build system is now a little more flexible and generates ramdisks on the fly. This should make it more powerful and complete. I've also included su, Superuser.apk, and busybox to enable a very cool new feature: rooting! If you haven't forked or cloned my kernel repository yet, what are you waiting for?
Regarding "rooting," forget what you've heard (it's probably wrong). Here's what it actually means:
Copying the su binary to /system/bin/su
Copying the Superuser.apk application to Superuser.apk
Period. What this means is that Android applications can call on the su binary whenever they want to do perform system administration actions (ie, not normal user actions), such as removing system applications with Titanium Backup. The Superuser.apk application is simply a frontend for su; whenever an application tries to execute su, a Superuser dialog pops up asking you to allow or deny the request. This notion, known as "privilege separation," is a common one in all operating systems.
Download: noma_20110827v56_boot.img
v83 (20110903)
Changes (from the git commit history):
sched: export nr_running symbol for use by smartassV2 CPU governor.
config: sync with latest config
sched_fair: Restore less extereme latency values (latency of 6ms)
sched: enable HRTICK
sched_fair: Enable HRTICK
cpufreq: add smartassV2 governor
Switch busybox, older version (1.18.4) but slimmer, more appropriate for our needs (from https://faramir.eriador.org/r/).
Minimum frequency to 122MHz at boot, as well as smartassV2 governor.
Optimized ARM RWSEM algorithm
Cleanup after installation of su stuff. We're on a ramdisk after all, we need to conserve memory.
Change location of root stuff so it isn't in the $PATH
Add Simple I/O Scheduler
Add V(R) i/o scheduler
Update to latest Linaro GCC 4.6 compiler.
Two major changes are the addition of the simpleio IO scheduler and the smartassV2 CPU governor. The simpleio scheduler is based on/around the noop and deadline schedulers, designed specifically with non-rotating media in mind (flash disks, hello!). The smartassv2 CPU governor controls how your CPU switches between frequencies (from 122MHz at idle to 672MHz when in use). I haven't done any benchmarks, but these should improve responsiveness and battery life (in theory at least!).
Other than that, the latest Linaro GCC 4.6 compiler, some small optimizations to ARM-specific functions, and ramdisk/boot cleanups. If you're curious about smartassV2 there's more info here, on erasmux's github page here.
Download: noma_20110903v83_boot.img
cm7 nightly bugged one ?????? i dnt like it iz there iz n e fixed cm7 for ideos ????
btw your kernel doesnt works with cm7 and can u please make a kernel for samsung galaxy gio with smartass v2 ??
Aorth, I tried flashing you kernal, and unfortunately there is one error when flashing with the latest CM7.1. After the flash, the phone will be stuck at the boot screen. I was wondering if you can get this fixed, that'll be great
This kernel is meant for stock ROMs
Den15 said:
Aorth, I tried flashing you kernal, and unfortunately there is one error when flashing with the latest CM7.1. After the flash, the phone will be stuck at the boot screen. I was wondering if you can get this fixed, that'll be great
Click to expand...
Click to collapse
Yeah, this kernel was really meant for Froyo stock ROMs. It won't work on CyanogenMod builds because the ramdisk's init scripts are not compatible.
My U8160 kernel repo has a kernel which works on CM7... but you'll have to compile it yourself
nice kernel ........... working fine on ideos u8150-B .... I flash it with stock rom ................. battry becomes efficient ...
Good Job!
Hello aorth,
I'm now using the LEANdroidMOD 5 based on your kernel and I have to say the name NOMA suits it to a tee. It's my default ROM now when I'm not testing your or tilal6991's builds. Thanks and you have yourself a happy holiday season!
hello,
will there be any update of your noma kernel? this is my fav because all roms out there eat my battery like mad, so i just use your kernel and i'm happy with it
greetings
oh man please update, this is one nice kernel!
CM7 u8150 april 5th
IS this already built in to your CM7 last updated april 5th rom or is that a diffrent kernel? which one is better? would it be hard to install it on that rom? whats the advantages over the built in cm7 rom? Thanks sounds awsome anything to make that baby faster is great. Good work
SU Binary Outdated notification
flasehd v83 on the stock 2.2.1 kenya 1 mutli touch rom all went good but whenever i restart the phone su binary shows the notifications bout su binary being outdated which i updated , i did it multiplie times but it comes up everytime the phone is rebooted , other than that su binary working ok ,
dont know how to fix it , other than that the phone is working so responsive , enjoying it
when i flashed the kernel , the phone was already rooted
cheeeeeeeeeeers

[KERNEL & CF-root][GB][LE4/Universal] Bam Custom Kernel: BCK beta 15 [07.02.13]

BCK - Bam Custom Kernel for i9003 / Galaxy SL
This Kernel is based on the Chinese GB source, released by Samsung on the 18th of November. Last changes to the source were made by Samsung on November 15th. If you still have questions after reading this post, look at the FAQs (including a list of requested features and known issues).
Kernel features:
No SOD
Bugfixes:
~ Sync bug fixed. Notifications for new mails and messages should arrive within one minute under all circumstances
~ Bluetooth problems fixed. Your phone now should play nice with bluetooth hosts, i.e. your car audio system
~ Micro stutters nearly completely gone thanks to lowered processor transition latency. It's smooooooooth
~ Home button double presses exterminated
Governors:
~ smartassV2 governor by erasmux (default)
~ interactive governor by Mike Chan
IO scheduler:
~ SIO IO scheduler by Miguel Boton (default)
~ BFQ IO scheduler by Paolo Valente and Fabio Checconi
~ deadline IO scheduler
Extended features:
~ ro.secure=0 (root acces through adb shell - to root the 'clean flavour' of BCK, please follow the instructions)
~ EXT4 support (to convert your file system, use amit.bagaria's ext4 add-on .apk) (Only in CF-Root .tar)
~ Support for init.d scripts (to use scripts, please follow the instructions) (Only in CF-Root .tar)
~ BLN support (to use BLN, please follow the instructions)
~ TUN support for VPN networks built-in (no module needed)
~ Increased SD-card read ahead of 768 kb for improved read speed
~ Available with universal CF-root ramdisk based on amit.bagaria's version, improved by loSconosciuto (Only in CF-Root .tar)
~ Available with universal CWM ramdisk (rooted) based on universal CF-root, but 'tweakless' (Only in CWM .tar)
Overclocking and Voltage:
~ Evolved sysfs interface for variable overclock or underclock (all operating points [OPPs] can be adjusted seperately)
~ Fifth OPP (1.2 GHz) available, device booting up at stock speed (1 GHz)
~ Total frequency control. The device will never run at higher speeds than defined by you, not even on WiFi.
~ sysfs interface for voltages (read only at the moment)
~ Slight undervolt (3%) on all OPPs
Flashing , settings and compatibility:
If you want to use BCK, please flash it on a clean stock ROM. If you want to go back to stock, repartition and reflash the full firmware with ODIN. This kernel will not work on CM or MIUI.
The CF-root and CWM versions (PDA_BCK_CF-root_universal_***.tar / PDA_BCK_CWM_universal_***.tar) can be flashed on any recent Gingerbread firmware. These versions are pre-rooted, which means they include Superuser.
The non-CF-root "clean" version (PDA_BCK_XXKPQ_***.tar / PDA_BCK_XXLE4_***.tar) will only work on XXKPQ / XXLE4. Do not flash this version on anything other ROM than the one indicated in the file name. This will break your WiFi. It's especially risky to flash the clean version of BCK after flashing any CF-root kernel before. Don't do it. This version does not include Superuser, but it is prepared to be rooted. Follow the instructions to do this.
After a kernel update, please wait for the device to boot up and reboot once. There is generally no need for cache cleaning or a full reset. To change the governor and IO scheduler, I use NoFrills CPU Control from the market. It's free and reliable.
I recommend to use the clean XXKPQ version. If you want / need to have root, try the CWM version. If you want the 'full package' with FuGu-Mod and more, use the CF-root. I recommend that you do not apply any further tweaks and use a stock ROM.
>>> Warning: Overclocking may damage your device. <<<​
Overclocking instructions:
For overclocking, you will need a shell on your phone, or adb access. I use Android Terminal Emulator. Overclocking is currently limited to certain frequencies (see below) and all operationg points will be set with the stock voltage of the corresponding stock frequency. The frequencies you set have to be within the following ranges:
Code:
OPP1: 100 - 500 MHz, stock 300 MHz
OPP2: 501 - 700 MHz, stock 600 MHz
OPP3: 701 - 900 MHz, stock 800 MHz
OPP4: 901 - 1100 MHz, stock 1000 MHz
OPP5: 1101 - 1500 MHz, stock 1200 MHz, not used by default
Remember that your phone uses all operating points depending on the current load. Anything more than 10% higher than the highest stock frequency is likely to be unstable, but you are free to try it. To change the clocks, open Terminal Emulator (or type 'adb shell') and hack in
Code:
su
echo "1100" > /sys/power/overclock_opp4
as an example. The others are opp5, opp3, opp2 and opp1. That's it.
Settings will be lost at reboot, unless you add them to your init.d scripts. I do not recommend this, as this may cause boot loops if the settings are to high! Be advised that NoFrills CPU Control, SetCPU, or whatever app you use that may adjust clock settings interfers with this. You may wanna update their settings after this. I do not recommend using them to set anything at boot if you overclock any OPP, because they might save the wrong frequencies and crash or do worse.
Changelog:
beta 1:
Added cpufreq governors
beta 2:
Changed smartassV2 settings to fit i9003
Added EXT4 support
Smaller zImage due to .config changes
beta 3 (not released):
Experimented with overclocking (not working, yet)
beta 4:
Finetuned smartassV2 settings
Made smartassV2 governor default
Reverted: Smaller zImage due to .config changes
Switched to linaro 4.6.2 toolchain (also used for ICS)
Activated new, aggressive compiler optimizations (-O3)
Added deadline IO scheduler
Added BFQ IO scheduler (10% higher performance than CFQ in Antutu Database IO Benchmark. This does not mean, that the maximum read or write speed increase! It just means that the throughput under heavy load is higher.)
Made BFQ IO scheduler default
Updated all modules
beta 5:
Variable overclock. Loosely based on the modifications of the Nook Color sources by dalingrin and of course with help from amit.bagaria and DooMLoRD.
beta 6:
Variable overclock for all operating points
beta 7:
Switched to universal CF-Root by amit.bagaria (BCK now should run on every recent GB ROM)
Added correct version information in settings menu, credits to DooMLoRD
Fixed cpufreq stats to correctly reflect frequency changes
Increased SD-card read ahead to 768 KBytes. This results in higher SD-card read speeds.
Major simplifications in overclocking code. Works more robust, now.
Added sysfs interface to show voltages. See /sys/power/overclock_vdd_oppX
Changed all voltages to the mainline Linux kernel defaults. This results in a slight 3% undervolt for each OPP, which saves about 5% power and should have no impact on stability whatsoever. Below you will find an overview of the exact voltages.
Code:
stock BCK
OPP1: 1.0250 V 1.0000 V
OPP2: 1.2000 V 1.1625 V
OPP3: 1.3300 V 1.3000 V
OPP4: 1.3875 V 1.3500 V
OPP5: not def. 1.3800 V
beta 8:
OPP5 (1.2 GHz) now enabled in _1200 version of kernel. Thanks to knzo for pointing me to the right patch.
Fixed video recording bug when running at 1.2 GHz
Fixed power management issues at 1.2 GHz
Small changes to smartassV2 and interactiveX settings
beta 9:
Added simple IO ('SIO') scheduler
Only one kernel version now, which includes OPP5 (1.2 GHz) but boots up at 1 GHz. Be advised that your device may nevertheless be running at 1.2 GHz for five to ten seconds at boot because of software limitations.
Changes in PM to always respect cpufreq policy limits. From now on, the device will never run at higher speeds than defined by you, not even on WiFi. Based on an omapzoom.org patch.
Changes to OPP switching code. May lead to less 'hickups'. Based on an omapzoom.org patch.
Bugfix for framebuffer code. Based on an omapzoom.org patch.
Reduced IVA / DSP frequency when on OPP5 to be on the safe side.
beta 9fix:
Reverted: Changes to OPP switching code. May lead to less 'hickups'. (Patch caused random freezes using WiFi.)
Reverted: Bugfix for framebuffer code. (Patch showed no noticeable benefits.)
beta 10:
Fix for sync bug applied. If you still have problems, please report.
This version is identical to beta 10rc14. No need to flash again, if you already are on that version.
beta 11:
Updated universal CF-Root by amit.bagaria to version 9 (released 1st of February 2012), but NO touch recovery
Slight increase in OPP5 voltage (1.38 V -> 1.40 V), may prevent some reported reboots on 1.2GHz
Code:
stock BCK
OPP5: not def. 1.4000 V
Changes in overclocking code to play nice with your frequency settings. If you overclock OPP5 but have restricted freqs to 300 - 1000 MHz, it won't automatically activate OPP5 anymore. The same is true for the lowest OPP.
If you overclock OPP4 above 1000 MHz and have restricted freqs to 300 - 1000 MHz, it will update the upper boundary to the new frequency of OPP4 so it doesn't get deactivated.
beta 12:
Fixed bluetooth problem with car audio systems (Based on omapzoom patches [1], [2] and [3]). Might resolve other bluetooth issues, too.
Universal CF-Root: Fixed bootanimation. Thanks to loSconosciuto.
Universal CF-Root: Fixed install procedure. It will check the actual kernel version, now. Thanks to loSconosciuto.
Universal CF-Root: Fixed fix_permissions script to work on our device. Thanks to loSconosciuto.
Switched to user_defconfig, to avoid unnecessary debug lines in dmesg.
beta 13:
Updated sources to GT-I9003_SWA_GB_Opensource_Update1 from the 30th of March. This also enables TUN support by default. You do not need any modules for this - it works "out of the box" with any VPN client.
Universal CF-Root: Backup is not failing anymore when started from CWM. Thanks to loSconosciuto.
Universal CF-Root: Some small improvements to multiple scripts.
Home button double press issue fixed. There should be no more unwanted double selections in CWM and you can now reliably long press the home button to bring up the list of previously used apps. Idea and timer function taken from a patch by Tegrak.
Fixed priority class for CONTENT_PROVIDER not being set, which may have caused apps of this class to be ignored by the autokiller, resulting in less free RAM.
Lowered OMAP processor transition latency to the value recommended by TI. Subjectively, this brought huge improvements in terms of reducing micro stutters.
Lowered CFS scheduler latency and granularity to values very close to mainline kernel defaults. This could reduce lags in some critical situations, but it doesn't do wonders.
Switched to SIO as default IO scheduler.
beta 14:
Universal CF-Root: Replaced CWMManager and TweakManager with zipaligned files. Thanks to loSconosciuto.
Universal CF-Root: The TweakManager is not replaced on install if it didn't change to preserve it's settings. Thanks to loSconosciuto.
Universal CF-Root: Corrected problems because of too little free space in /system when converting to ext4 by permanently moving InfoAlarm.apk from /system/app to /data/app. Thanks to loSconosciuto.
Universal CF-Root: Fixed the non-working WiFi on XXLE4 and prevented future problems. Instead of patching the WiFi modules, they are now replaced. Thanks to loSconosciuto.
Universal CF-Root: Fixed some small mistakes in the CF-root install procedure.
Switched the compression of ramdisk and kernel from gzip to lzma. This makes the files much smaller and allows us to include more 'stuff'.
Changed smartassV2 settings to wake up at lower frequencies. Further, it is not locked at 300 MHz anymore when the screen is off. Tests showed that free scaling is more battery friendly.
Removed InteractiveX and OndemandX governors and added the Interactive governor by Mike Chan (Source: CyanogenMod Crespo kernel). Since free scaling proved to be more battery friendly, the screen off profiles in InteractiveX and OndemandX made them superfluous.
The device will not scale above 1 GHz for some seconds when booting anymore. It's now safe to use BCK even if your device can't handle 1.2 GHz. Based on a patch by dalingrin.
Changes in PM to respect cpufreq policy limits when playing or recording video. The device should respect your wishes under all circumstances, now
Fixed the SmartReflex voltage calibration of the OMAP SoC for OPP5. This could lower power consumption as soon as OPP5 (1.2 GHz) is activated for the first time.
Slight increase in the OPP5 nominal voltage (1.40 V -> 1.42 V) to allow for some adjustment by SmartReflex (now that it's working...), if necessary. The actual voltage when the device is running will not change for most users! Based on patches by dalingrin and Sanjeev Premi.
Code:
stock BCK
OPP5: not def. 1.4200 V
beta 14 fix:
Universal CF-Root: Fixed the non-ending row of force closes after flashing the Universal flavour of BCK. The clean XXKPQ version did not show these problems and didn't need a 'fix'.
beta 15:
Universal CF-Root: Modified some permissions to bring it closer to the stock ramdisk
Universal CWM: Created a CWM ramdisk based on CF-root, without most tweaks. You now have three BCK flavours to choose from
Updated to newest UPDATE2 sources by Samsung
Sync bug fix reworked to use new Samsung method from UPDATE2. This may lead to slightly lower standby battery consumption.
Fixed accidental front camera mirroring
Editing smartassV2 settings with busybox 1.20.x and newer no longer leads to reboots. Thanks to loSconosciuto for pointing me to the patch.
Fixed complete crash of WiFi driver when activating WiFi by adapting smartassv2 thresholds
Reverted to the original Google Android toolchain using gcc 4.4.3
Because of the toolchain-switch, the compiler optimizations are now back to -O2 instead of -O3
Credits:
Credits go to the mentioned developers of the cpufreq governors, ganeshbiyer, skin1980 and amit.bagaria for the CF-Root and skin1980 for his repack script. Many thanks to DooMLoRD, amit.bagaria, knzo and loSconosciuto for their help! BCK sources are available on GitHub.
Files:
Attached files:
ODIN-flashable PDA_BCK_XXKPQ_***.tar with stock Samsung ramdisk ('Clean flavour'). Only for XXKPQ ROMs.
ODIN-flashable PDA_BCK_XXLE4_***.tar with stock Samsung ramdisk ('Clean flavour'). Only for XXLE4 ROMs.
ODIN-flashable PDA_BCK_CF-root_universal_***.tar with CF-root ramdisk ('Universal CF-root flavour'). For all current Gingerbread ROMs.
ODIN-flashable PDA_BCK_CWM_universal_***.tar with CWM (rooted) ramdisk ('Universal CWM flavour'). For all current Gingerbread ROMs.
Other files (not attached):
Old releases and release candidates can be found on Dev-Host. Use these with caution!
MD5 sum:
Code:
PDA_BCK_XXKPQ_beta10.tar: 83013b2d54c52dddb72deec46b5471de
PDA_BCK_CF-root_universal_beta10.tar: e1e8bcc28c878095618413141b642ec1
PDA_BCK_XXKPQ_beta11.tar: 9eaa6d080f3409c4822e38602bad8efb
PDA_BCK_CF-root_universal_beta11.tar: 93437cf26699dfe595881941b13a6a83
PDA_BCK_XXKPQ_beta12.tar: d9849ae7d9587402aa6465081b4c65a1
PDA_BCK_CF-root_universal_beta12.tar: 2107dfbf33b2838e66007f4319bee14e
PDA_BCK_XXKPQ_beta13.tar: bff3112d3249e951a569148d79643744
PDA_BCK_CF-root_universal_beta13.tar: 1fab51d641a8914e11a81781683d7d7d
PDA_BCK_XXKPQ_beta14.tar: 08cd77964c3d8b54b4c97e59500a0b96
PDA_BCK_CF-root_universal_beta14fix.tar: 6a2cda17362f5a2e6aac7e78dbe94089
PDA_BCK_XXLE4_beta15.tar: 7159e6cd5f2b71bebffcb4d86201b6cf
PDA_BCK_CF-root_universal_beta15.tar: ecfa46b8aec239f1ac246df61dc63477
PDA_BCK_CWM_universal_beta15.tar: 765a5253b0313d41399ea86822cf5f80
Nice i'll try it out ! but m not on clean kpq :\ oh well its worth the shot for thse governors and can u please provide the link to the new source ?
phone boots but the boot animation keeps on repeating ! cf root problem !clean kpq did the trick m in !
Oh!very nice
shriomman said:
Nice i'll try it out ! but m not on clean kpq :\ oh well its worth the shot for thse governors and can u please provide the link to the new source ?
phone boots but the boot animation keeps on repeating ! cf root problem !clean kpq did the trick m in ! but how to root it now ? :\
edit- rooted with soc with psnuter had to instal busybox from stricson and all working just fine
Click to expand...
Click to collapse
Thanks bro for your feedback.
Sent from my GT-I9003 using Tapatalk
over clock to ? ghz?
leongwenjun said:
over clock to ? ghz?
Click to expand...
Click to collapse
it doesnt have oc ! it has special cpu governors which are efficient and fast
tough luck for me mate....
i compile a vanilla kernel which is ~200 kb larger than stock zImage and it doesnt even boot!
also,even i want to update to 2.6.35.14,,,,,,,,,,,,,,how u did it without source?
also(2)lz open an acc. on github!
@sakindia123: Take a look here, update your sources to the new version, and get the new toolchain they use (see readme in the sources).
i followed that link before......
ok i will try with new source
what will happen if we use this ? are there any good feautures ?
it has special cpu governors which are efficient and fast
Now just wait for some days guys. Doomlord, bam, sakindia will show u real power of our device.
This is great! Just one little question, you said this is for a chinese firmware, but you mention KPQ, so it can be put in XXKPQ or not? Anyway sorry for my noob question
vishal24387 said:
Now just wait for some days guys. Doomlord, bam, sakindia will show u real power of our device.
Click to expand...
Click to collapse
U forgot To mention "fuss" dude...
Sent from my GT-I9003 using XDA Premium App
Slynightdark said:
This is great! Just one little question, you said this is for a chinese firmware, but you mention KPQ, so it can be put in XXKPQ or not? Anyway sorry for my noob question
Click to expand...
Click to collapse
It is based on the Chinese source - this includes kernel and android system source. But the kernel is universal (not language specific), and I applied all necessary settings for XXKPQ. Therefore you can flash it on KPQ.
what does a kernel do??
it is the main driving force of a phone that i know.
does it make our phone fast??
how to flash it as i would like to give it a try right away!!
can i roll back to stock kernel after this??
sorry for thr noob question as im new to all this.
---------- Post added at 08:45 PM ---------- Previous post was at 08:40 PM ----------
also do we need to have CWM recovery for this????
or we can do it with the stock recovery menu??
i was just doing some testing and the kernel is stuck at "SAMSUNG" bootanimation after a FRESH FLASH...
any idea?
used on XXKPQ FW
I flash your kernel. From last 5hours no SOD ISSUE. I'm using smartass v2 let's see how will battery I will get from it.
Sent from my GT-I9003 using Tapatalk
Fresh flash of what PDA? Yours, mine, GitHub?
@manrock111: smartassv2 gives me slightly higher battery usage than stock. I want to tweak it, but have problems with my sources at the moment.
XDA_Bam said:
Fresh flash of what PDA? Yours, mine, GitHub?
@manrock111: smartassv2 gives me slightly higher battery usage than stock. I want to tweak it, but have problems with my sources at the moment.
Click to expand...
Click to collapse
sorry... did a fresh install of full XXKPQ FW and now its booting
ok now this is weird... suddenly all of my test kernels have started booting

[Kernel][Liquid Glow] Lupo's kernel[v1]

hi guys...Greets from Italy! i've builded this kernel for getting optimal performances with my acer liquid glow. This can be used with Stock rom and with Vache's glowing liquid rom.
HOWEWER , SINCE THAT SOME USERS REPORTED THAT VACHE'S KERNEL(LIKE ME) DOESNT' WORK ON SOME DEVICES, DO A NANDROID BACKUP WITH CWM RECOVERY FIRST.
Flash this .zip with recovery
This is the changelog
V1:
Added lazy, smartassv2, intellidemand, lagfree governor (change that with nofrills or setcpu)
Added Sio and vr I/O schedulers (change with nofrills or setcpu also that)
Added a Cortex A5 optimization
fixed wrong format for Adreno200 (first was RGBA_8888 now it's RGB565 that's is handled well with this GPU)
increased read-ahead values
new memory allocator : SLUB
improved the performances of memcpy and memmove of the general version
Click to expand...
Click to collapse
Download Link: https://hotfile.com/...nel_v1.zip.html
Sources are here: https://github.com/l...uid_Glow_Kernel
I also want to thanks Vache for his hints and porting recovery to this device. Without his help this couldn't be possible.I'm also starting to work to jelly bean update but i have no time for now
Links are not good with the '...'
[EDIT] Found correct link in other forum, will try it soon
Some random reboot, directly in fastboot mode, but very rare and less than Vache's kernel. If I do a clean cache and dalvik, it's ok for 3 weeks, and boom, reboot.
New Edit: I found this thread with V3 version, will try it soon:

[Experimental] U8150 Gingerbread Kernel and Tweaks

I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 9 (New & Final Version):
http://d-h.st/SGx
Download Test 8:
http://d-h.st/gSD
Download Test 7:
http://d-h.st/72f
Download Test 6:
http://d-h.st/oFd
Download Test 5:
http://d-h.st/pO8
Download Test 4:
http://d-h.st/3bA
Download Test 3:
http://d-h.st/Q1k
Download Test 2:
http://d-h.st/gOu
Log Test 9:
- Fix USB Tethering (need change dnsmasq_dhcp patch & make run dnsmasq_dhcp when USB Tethering running)
- Fix segment fault when zipalign script execute
- Add dnsc binary to ping url address and this binary function to know when you online or not. If you online crossbreeder script run/execute
- Remove sqlite3 and system server binary (not stable and broken something)
- Change value of scripts
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Recommend kernel and everything look like stable for me. May be this final version if i don't found any bugs again
Log Test 8:
- Fix dnsmasq dhcp only need 1 process and previously version i got trouble connection issue while tethering
- Change path dnsmasq_dhcp binary to crossbreeder folder (from /system/bin/* change to /system/etc/CrossBreeder/*)
- Fix Clean Dalvik script and now work with schedule
- Add dalvikvm binary and system_server binary from jellybean (may be can boost performance)
- Use some value of tweak from ThunderBolt/Pikachu01
- Change some value of tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 7:
- Fix crossbreeder (low RAM because duplicate dnrd process and dnsmasq_dhcp process. Fix in this version)
- Fix haveged script (need link /dev/random to /dev/urandom). Entropy always stay in 4096. To check this you can type in terminal emulator
Code:
su
entro
- Remove extendedmenu and rngd
- Use only two dnsmasq_dhcp/dnsmasq process. If you check in terminal emulator with
Code:
su
ps | pgrep dnsmasq_dhcp
or
Code:
su
ps | pgrep dnsmasq
You'll found only 2 process running and always got 2 dnsmasq process everytime (in other version you'll get many dnsmasq and make low RAM).
- Fix build.prop tweak
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store.
Log Test 6:
- In this version you can choose use haveged or rngd (default use haveged)
- Add build.prop tweak in init.d (can disable in extended menu)
- Tweak now 80% complete for get maximal performance for this phone (i don't have any idea again to get more better than this. Thank you )
**) For flash this need clean rom and this kernel CAN'T update from previously kernel. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 5:
- Fix script init.d
- Fix Crossbreeder more better and less aggressive to check DNS and IP Address
- Fix hosts and save more memory
**) For flash this need clean rom and this kernel CAN update from previously kernel test 4. If you have issue with wifi tether, you can use app Barnacle Wifi Tether from play store
Log Test 4:
- Use GCC 4.4.3 to compiler kernel (much more stable)
- Remove unnecessary module
- Add random optimize in kernel (3 commit github)
- Remove haveged and use rngd
- Combine crond script to one script and run every 45 minutes. Save more ram for this (script are Fast Engine Flush, Fast Engine Swap and Reduce Wifi TX Power)
- Add script Read Write Partition tweak and I/O Scheduler Tweak
- Update CrossBreeder. Much more save ram and now use blank gif for ADBlock (every things work).
- Boot more faster than before (optimize script more efficient) and more performance
**) For flash this need clean rom and can't update from previously kernel test (a lot of difference things)
Log Test 3:
- Fix All CPU Governors source code (i hope it)
- Try with difference egl.cfg value
- Change Fast Engine Flush script run every 60 minutes
- Change Fast Engine Swap script run every 45 minutes
- Change Haveged script run every 20 minutes
- Add Reduce TX Power script and this script run 30 minutes after you turn on your wifi/wifi tethering
- Add CrossBreeder script and script little difference with original (give me more ram with all feature from CrossBreeder work and run without problem).
And you can use AdAway apps to enable or disable hosts file (It will be work together with AdBlock CrossBreeder)
- Add Audio Lag Reduction in huawei extended menu :laugh:
- Fix huawei extended menu and make all feature can be enable or disable it
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Pikachu01
Other???
FAQ
How to know my script in init.d work?
You can see all log in /data/*.log
Why first boot so long?
Be patient. Because 3 script do it a job first time (SQLite database vaccum Script, Automatic ZipAlign Script and Clean Dalvik Cache and Cache Script).
The second boot will fast.
How to know rngd or haveged run?
You can type in terminal
Code:
su
extendedmenu
How to make/create Odexed framework file?
You can type in terminal, use adb or qtadb
Code:
su
dexo
And your phone will reboot if the script finish do a job
How to know CrossBreeder AdBlock work?
You can try to view file /system/etc/hosts and try one url in that file. Try it in your internet browser and you can get [ADBLOCK] (in NEW VERSION you'll got blank gif).
Can I disable ADBLOCK CrossBreeder?
Yes, you can. Try to enable or disable with huawei extended menu or use AdAway apps to disable hosts file and reboot to see result
Can I enable or disable feature of this all tweaks?
Yes, you can. Try to enable or disable with huawei extended menu
reserved
You should probably provide a link to your kernel source.
tulangabol said:
I'm compiler kernel and need tester. The kernel compatible only with Gingerbread Rom and can flash with CWM.
And may be this flashable will conflict with another mods/script in init.d (stuck in splash screen or bootloop)
Please nandroid backup before use it. Because use it at your risk.
Download Test 2:
http://d-h.st/gOu
Log Test 2:
- Revert back with linaro toolchain => android ndk result is random reboot and kernel panic for me
- Revert back with haveged binary, remove rngd & problem solved now
- Add Haveged Script => Entropy Lag reduction and this script run every 5 minutes with crond style (script are difference with idcrisis/crossbreeder because use crond to execute)
Log Test 1:
- Cpu Governors: Virtuous, AssWax, Superbad, Brazilianwax, Lagfree, Minmax, Smoothass, SavagedZen, InteractiveX, Interactive, SmartassV2, Conservative, Ondemand, Userspace, Powersave, Scary and Performance => Default CPU Governors use Scary
- I/O Scheduler: Noop, Anticipatory, Deadline, cfq, Sio, bfq, vr and Zen => Default I/O Scheduler use Zen
- Min-Max CPU Default: 61MHz-600Mhz
- Add experimental module
- Add new egl.cfg and libGLES_qcom.so
- Add KickAssKernel Script
- Add SQLite database vaccum Script => this script run every 1 week
- Add Automatic ZipAlign Script => this script run every 1 week
- Add Clean Dalvik Cache and Cache Script => this script run every 1 week
- Add Crond Script
- Add Fast Engine Flush Script => drop caches script and this script run every 45 minutes with crond style
- Add Fast Engine Swap Script => drop swap script and this script run every 30 minutes with crond style
- Add RNGD/Seeder Script => Entropy Lag reduction
- Add Dexo Script => Create Odexed framework file (please read post 2 for instruction)
Credit:
All Huawei Dev
Zeppelinrox
McByte jkSGS3
Ryuinferno
tommytomatoe
idcrisis
Other???
Click to expand...
Click to collapse
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
aorth said:
You should probably provide a link to your kernel source.
Click to expand...
Click to collapse
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
ep690d said:
Hi,
thank's a lot for new U8150 gingerbread kernel, i'm testing it on official cm 7.2, but only a question:
why isn't possible to use frequency 30 and 49 whit scary governor?
Sorry for my (and google translate) english.
Bye
Click to expand...
Click to collapse
I'll try to fix it :fingers-crossed: and add more feature :laugh:
Sorry for my poor English
tulangabol said:
Sorry i don't have github and don't have enough bandwidth to upload it :angel:
This kernel not enough good. But i'll share my kernel with other
Click to expand...
Click to collapse
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
psyke83 said:
You have a responsibility to upload the source after releasing your compiled kernel to the public. If you don't, your thread will be locked. Learn more about the GPL license and how it impacts your activity on XDA here: http://forum.xda-developers.com/showthread.php?t=1993721
Click to expand...
Click to collapse
That truely i don't have enough bandwith to upload.
I don't have enough knowledge about kernel too. I'm learning alone to compiler that and my teacher is google
My Thread may be close i think
I'll learn more about that. Thank you

[Kernel][26/11/14][LG][D850]Rin Kernel 1.8.5[KITKAT]

RIN Kernel for D850
Close to stock with some sugar added ... delicous!
Hey guys and girls,
you may have seen my unified stock kernel thread already (or may not, but doesn't matter). This kernel is my attempt to build up on the fixed source and add some additional features for us mod lovers to thinker with and to personalize your device to your usage. For now, I'll keep it close to my stock source and just pull some additional features and fixes in, but not to much. That may change in the future (maybe even soon), but for now, I'll stick to that paradigm.
First of, DISCLAIMER, I'm not responsible for bricked devices, dead unicorns, rainbows with missing colors, world war, nose bleed, void warranty (you know that already, don't you? your warranty is void now and it's your fault ) or any other harm happening to your device, you or people around you!
What does it serve? (Features)
Built with sabermod 4.9 toolchain
IO Schedulers
BFQ
CFQ
DEADLINE
FIFO
FIOPS
NOOP
ROW (default)
SIO
TRIPNDROID
VR
ZEN
Governors
Adaptive
Conservative
DanceDance
IntelliActive
IntelliDemand
Interactive (default)
Lagfree
Lionheart
OnDemand
Performance
Powersave
SmartassV2
Userspace
Wheatley
Smartmax
TCP Congestion Algorithms
BIC
Westwood
Vegas
Veno
Yeah
HTCP
Cubic (default)
Reno
init.d support
intelliplug
intelli thermal v2
Memutil optimizations
Voltage control
SoundControl
OC to 2.7GHz and UC support
Cpu limiter
2-Way Call Recording support
Simple GPU Algorithm
Simple_ondemand GPU Governor fixed
exFat support
ntfs support (bugged)
Oversharpening fix
DriveDroid support
android logger sysfs toggle (disabled by default)
high priority workqueue
Many under the hood fixes
Stability
More to come
How to apply it? (Installation)
IMPORTANT: Read through all the requirements, steps and warnings before you do anything, if any requirement doesn't match or you don't know what one or more of the steps below mean or do, ask before you do any of them, if you don't know how all the steps can be done, let it be, I warned you, if you don't do and something bad happens, I'll just laugh at you!!
Requirements? Yes!
D850
Custom Recovery
Stock or Stock Based ROM (no AOSP)
How to flash the kernel?
Download zip
Place on internal or external SD
Reboot to recovery
Choose install zip
Search for the downloaded zip
Confirm flashing
Wipe cache
Reboot
Have fun
How to boot unbumped kernels?
Only needed for the img files prior version 1.7
Plugin your device to the PC
Open a terminal and execute
Code:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of=/storage/external_SD/stock-laf.img # backup the stock download mode to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-laf.img . # backup the download mode image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf # remove the stock download mode
BEWARE, THIS WILL REMOVE YOUR DOWNLOAD MODE!!! YOU WON'T BE ABLE TO FLASH KDZ FILES BEFORE YOU RESTORED IT!!!!
Turn off the device completely, plug in the USB-cable, if you pulled it out and start the device by holding vol up + power till you see some white text on the screen, fastboot should be written somewhere on the screen, afterwards execute the following command on the PC (while in the directory you've downloaded the kernel image to).
D850:
Code:
fastboot boot D850-rin-1.6.img # boot the kernel
BEWARE, NEVER USE FLASH AT FASTBOOT ONLY BOOT, IT WILL TRIGGER SECURITY OF THE LOCKED BOOTLOADER AND YOU WON'T BE ABLE TO BOOT ANYMORE!!!!
You're done now and booted to the custom kernel!
How to make sure you're running the kernel?
To check if you properly booted into the kernel execute this in the command line (terminal emulater or through adb shell):
Code:
cat /proc/version
it should show
Code:
Linux version 3.4.0-rin-g58903a9-dirty ([email protected]) (gcc version 4.9.1 20140710 (prerelease) (crosstool-NG linaro-1.13.1+bzr2673 - Linaro GCC 2014.07 - Cortex-A15) ) #53 SMP PREEMPT Thu Aug 14 13:26:42 CEST 2014
Once more a warning READ IT!!:
BEWARE, when you reboot you'll boot to the stock kernel, you'll have to boot the custom kernel over fastboot every time, when you boot normally, you'll be on the stock kernel, this won't lead to issues, but you'll miss the benefits of this kernel, I know that's not optimal, but the best we can get with the locked bootloader.
How to restore Download mode?
Code:
adb shell # open a shell over adb
su # change to superuser
dd if=/storage/external_SD/stock-laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf # restore the stock download mode from the backup on your external sd
Changes? (Changelog)
26.11.2014/1.8.5
Less frequency steps to UC (better performance for governors hitting each step)
Oversharpening fix (Credits to @Skin1980)
Kernel now flashed with dd within recovery
Added external radio-iris-transport module to fix fm radio
20.11.2014/1.8
build with sabermod 4.9
Graphite build flags
NTFS support
sysfs interface for android logger (Logger disabled by default)
TCP cong algorithms (BIC, Westwood, HTCP, Vegas, Veno, Yeah)
More frequency steps between 300Mhz and 2.7Ghz
17.11.2014/1.7.2
Raise max microvolt at cpu for pm8941 and pma8084 (Possible Green Screen Fix)
Additional warnings fixed
12.11.2014/1.7
images bumped
flashable zip
init.d support (busybox needed)
AIO optmimizations enabled
intelli plug added (credits to @faux123)
****load of warnings fixed
23.10.2014/1.6
D850 support added
Simple GPU Algorithm Support
Overclocking up to 2.76 Ghz
exfat support
intelli-thermal v2 added
smartmax governor added
memutil optimizations
build with NEON kernel mode
2-way call recording patch
DriveDroid cdrom emulation support
Faux SoundControl
Simple-OnDemand fixed
Cpu Freq Limiter
some small fixes and enhancements
14.08.2014/1.0.1
net/ipv4|include/asm-generic: Enhancement of out of bounds fix
14.08.2014
Initial release
Full list of commits can be found here
Where to get it from? (Downloads)
AndroidFileHost | xda | dev host | google drive | trialsrider1
Let me test!! (Beta Testing Community)
Google+ LG G3 Beta Testing Community
Show me the so(u)rce(ry)! (Source Code)
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-kitkat
Donators (huge thanks, you're simply great )
@Toneman07
@Helloworld294
@shaarky
@Dreamxtreme
@guyd
@mosincredible
@tobitege
@AndroidUzer
Credits
XDA
Google
LG
@HolyAngel
@faux123
@KAsp3rd
@myfluxi
@trialsrider1
@Skin1980
@Lord Boeffla
@GuneetAtwal
@DooMLoRD
If you like my work, please show your appreciation by pressing the thanks button, if you want to do more, i've nothing against a little donation, but I'm as happy when you just thank me by pressing the button
XDA:DevDB Information
Rin Kernel, Kernel for the AT&T LG G3
Contributors
Tectas
Source Code: https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-kitkat
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8.5
Stable Release Date: 2014-11-26
Created 2014-10-24
Last Updated 2015-01-09
Any questions? (FAQ)
How can I toggle the android logger?
File Explorer Method:
Go with a root explorer to /sys/kernel/logger_mode and open the logger_mode file.
Remove everything inside that file and put the number 1 to enable and 0 to disable the logger into it and save the file.
Terminal Method:
Enable the logger
Code:
echo 1 > /sys/kernel/logger_mode/logger_mode
Disable the logger
Code:
echo 0 > /sys/kernel/logger_mode/logger_mode
My internal sd is not working, what to do?
Open adb shell or a terminal emulator and type
Code:
su
restorecon -v -R /data/media
Cool. I am not into kernels UT that KS for extending support to the D850.
Wow nice congrats
Will this be easier to use once the Bump! Support is added?!
I will try it out now, but it will be able to be permanent once it is able to be Bump!'ed right?
Sent from my LG-D850 using XDA Free mobile app
sublimejosh2000 said:
Will this be easier to use once the Bump! Support is added?!
I will try it out now, but it will be able to be permanent once it is able to be Bump!'ed right?
Sent from my LG-D850 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, as soon as the bump method is released I can build a flashable and you can flash it through recovery like usual and don't have to worry about booting it through fastboot.
Sent from my LG-D855
Thanks for brining your kernel to us. This is a great day for AT&T!!!
Would flash image gui tool be able to flash this for us? I used it before on other devices
Sent from my LG-D850
traesnaidensdad said:
Would flash image gui tool be able to flash this for us? I used it before on other devices
Sent from my LG-D850
Click to expand...
Click to collapse
Not till the bump tool is released.
Sent from my LG-D855
When I flash this one, I end up going to a green screen saying HW Reset. I got options to go into Download Mode or reboot. If I reboot, the Kernel doesn't get booted.
17akota said:
When I flash this one, I end up going to a green screen saying HW Reset. I got options to go into Download Mode or reboot. If I reboot, the Kernel doesn't get booted.
Click to expand...
Click to collapse
Interesting, just out of interest, to which version did you update through ota?
Could you try to remove the laf partition to get to fastboot mode and boot to it?
(just replace recovery with laf at the steps to remove the recovery, to boot to it, shut the device down completely, plug in the USB and boot the device through holding vol up + power)
Sent from my LG-D855
The D850 never got any official OTAs that I'm aware of, but I'm on AndroidNow 1.6.
That's what I did initially, but this time I flashed it by removing Recovery. I'll try the LAF fastboot though.
Great work on this.....
Personally I am going to wait for a bumped version - just to make sure I don't screw something up when trying to flash this.....
On that note, have you tried to reach out to the bump team? Perhaps if you explain that you have a kernel waiting to be bumped, they might manually bump the image for you. I know they are trying to work out a method to automate this process, but they have the ability to manually bump stuff right now!
can we get a flashable zip of this please
bkeaver said:
can we get a flashable zip of this please
Click to expand...
Click to collapse
We cannot get a flashable zip until team codefire gets the bump site up and can bump the kernel! The same thing that is holding up a slew of custom romz. This almost reminds me of a Geico commercial and a caveman being under a rock lol.
Deadly venom rom will posted soon. If you want to check it out when the link is up.
Sent from my LG-D850 using XDA Free mobile app
Would love to use this kernel
Sent from my LG-D850 using Tapatalk
So I can flash this with flashify?
Until some sort of twrp zip is made?
I don't really understand the whole is it bump'd or not thing :-/
Granted I did it. I have twrp
Could you give steps if you successfully flashed it plz?
Sent from my LG-D850 using XDA Free mobile app
jaladhjin said:
So I can flash this with flashify?
Until some sort of twrp zip is made?
I don't really understand the whole is it bump'd or not thing :-/
Granted I did it. I have twrp
Click to expand...
Click to collapse
No, sorry, not yet, the problem is, there is a tool needed (not completely true though, it could be signed without the tool as well, but it'd need the fitting certificate, which has only team codefire) to sign not stock kernel images and make them flash and bootable, this tool is the bump tool, which is not released yet.
Sent from my LG-D855

Categories

Resources