[Kernel - .34 & .35-rc1] [21 MB RAM HACK] Termana's Kernel - 07/Jun [OC/UV/Audio] - Nexus One Android Development

This is the result of my long experimental kernel thread. It is a rebase of the cyanogenmod nexus one kernel which is currently .33.1 (or .33.2) to the current mainline .34. I have added pershoot's OC/UV values, 21 MB RAM Hack (from coolbho3000) and audio boost.
Thank you to all my testers, since I don't have my Nexus One yet without them this kernel wouldn't be available!
Although nothing will go wrong, I should tell you, just like everyone else, I take no responsibility for what happens when you flash this kernel.
If you experience jerkiness with this kernel, one tester found it best to do a reboot and clear their cache.
Latest Alpha Build - .35-rc1 Build 1 (07/Jun)
Warning this build may potentiality not boot and has not been tested, please only help test it if you absolutely know what you are doing, otherwise have patience and wait!
For now I have not added the enhancements to this kernel, they will be added if the kernel works.
Kernel: http://www.mediafire.com/?mngdzhnyv0g
bcm4329.ko (wifi module to adb push): http://www.mediafire.com/?ctltd24zmm2
Source: will be pushed to github on confirmation that the kernel works
LATEST BUILD - .34 Build 1 (17/May)
Kernel: http://www.mediafire.com/?aj1wx2anuyj
bcm4329.ko (wifi module to adb push): http://www.mediafire.com/?khjkzuercjz
update.zip for CyanogenMod ROMs: http://www.mediafire.com/?xrm1ymlmm5l
update.zip for Desire ROMs: http://www.mediafire.com/?mkmun2dynzr
thanks to rekrapg for both the 'update.zip's
Source: http://github.com/Termana/nexusone-kernel (use the appropriate branch)
Instructions (from command line):
1.) adb remount
2.) adb push bcm4329.ko /system/lib/modules
3.) adb reboot bootloader
4.) fastboot flash zimage zImage
5.) fastboot reboot
(Instructions copied from intersectRaven's kernel post)
.35-rc1 Build 1
No issues reported yet
.34 Build 1
Seems like video camera issue is definately fixed
Reportedly the unmount/mount issue is fixed
.34-rc7 Build 1
Unmount issues
Kernel: http://www.mediafire.com/?ny5txjz5qma
bcm4329.ko (wifi module to adb push): http://www.mediafire.com/?ydqdzzdmoiz
update.zip (thanks to rekrapg): http://www.mediafire.com/?nkgryjtj1mm
.34-rc6 Build 2
Removed 8MB RAM Hack
Added 21MB RAM Hack (by coolbho3000)
Video camera force close seems to have been fixed.
Kernel: http://www.mediafire.com/?jwmmdmoh3zy
bcm4329.ko (wifi module to adb push): http://www.mediafire.com/?ngz50gnrzjt
.34-rc6 Build 1
Video camera still may force close.
May have slight battery drain.

How sad, I did not make the tester list

jlevy73 said:
How sad, I did not make the tester list
Click to expand...
Click to collapse
I don't understand what you mean, I didn't name anyone as a tester - I said thanks TO ALL testers

Termana said:
I don't understand what you mean, I didn't name anyone as a tester - I said thanks TO ALL testers
Click to expand...
Click to collapse
Lol, sorry, probably should step away from the alcohol for a bit I misunderstood when you made mention about the OC/UV version

whats the difference between .33 and .34

bobdude5 said:
whats the difference between .33 and .34
Click to expand...
Click to collapse
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.34-rc3
have a good read quite long

godsfilth said:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.34-rc3
have a good read quite long
Click to expand...
Click to collapse
Is there a version for humans?

+1 human version would be nice
liam.lah said:
Is there a version for humans?
Click to expand...
Click to collapse

Worked great!!
Thanks dud i flashed according to your instructions kernel is performing amazingly even wifi seems to work better thanks

Support wi-fi tehter ?
This kernel support wi-fi tehter ??

just flashed it and it's working; the other versions would always stay on boot loop
now that you have this working, any way to add some optimizations like the audio hack, undervolted to maybe 800mV or 850mV (intersectRaven got his AVS kernel stable at 800mV and persiansown at 850mV, while pershoot uses 925mV)
looking forward to you expanding on this now
thanks

jblazea50 said:
just flashed it and it's working; the other versions would always stay on boot loop
now that you have this working, any way to add some optimizations like the audio hack, undervolted to maybe 800mV or 850mV (intersectRaven got his AVS kernel stable at 800mV and persiansown at 850mV, while pershoot uses 925mV)
looking forward to you expanding on this now
thanks
Click to expand...
Click to collapse
Look in the experimental thread, he'll be adding UV/OC and other extras son

boot loop!

ralle.gade said:
boot loop!
Click to expand...
Click to collapse
Strange, did you get any error messages?

i found the problem sry

this plus avs, uv and optimizations is actually very nice!

ralle.gade said:
this plus avs, uv and optimizations is actually very nice!
Click to expand...
Click to collapse
wait, did you combine avs/uv/optimizations with .34rc3 kernel?

Are there any significant (*noticeable*) differences between the .34 branch and the .33 branch?

jblazea50 said:
wait, did you combine avs/uv/optimizations with .34rc3 kernel?
Click to expand...
Click to collapse
Audio Mod, 8mb freed up from camera and UV, no AVS as of yet.

intersectRaven said:
Are there any significant (*noticeable*) differences between the .34 branch and the .33 branch?
Click to expand...
Click to collapse
After using this for a few days, yes, it is smoother and faster than .33. It just feels snappier and more responsive.

Related

[MOD] Sweep2Sleep (Marshmallow)

Sweep2Sleep kernel module
This module allows you to sweep across the navigation bar at the bottom of the screen to put the phone to sleep.
This works with the stock kernel and requires SuperSU
The versions for 2.7 and 3.35 bases work with EX Kernel Manager. The settings are located at /sys/sweep2sleep/sweep2sleep
Download:
3.35 base (Marshmallow)
https://www.androidfilehost.com/?fid=24369303960689725
2.7 base
https://www.androidfilehost.com/?fid=24052804347765936
1.32 and 1.40 bases
https://www.androidfilehost.com/?fid=23991606952593922
Installation:
Flash in recovery
Options:
Sweep left, sweep right or sweep either left or right to put the phone to sleep.
Do it the easy way with EX Kernel Manager or edit /system/su.d/40s2s to change sweep settings
Manual usage:
insmod /system/lib/modules/s2s_mod.ko
Source:
https://github.com/flar2/m9-sweep2sleep
XDA:DevDB Information
Sweep2Sleep for HTC One m9, Kernel for the HTC One (M9)
Contributors
flar2
Source Code: https://github.com/flar2/m9-sweep2sleep
Kernel Special Features:
Version Information
Status: Testing
Created 2015-04-29
Last Updated 2016-01-20
Thanks @flar2 much appreciated mate?
Edit: confirmed as working with my kernel
Doesn't work on my att model tried fixing permissions to match other modules .. checked to make sure module was there and script was in init.d.. anything else o could try flar?
I haven't really used this, as I just built it this morning. Let me know about the usability. I may have to adjust the sweep distances and locations.
Johnny424 said:
Doesn't work on my att model tried fixing permissions to match other modules .. checked to make sure module was there and script was in init.d.. anything else o could try flar?
Click to expand...
Click to collapse
There are a couple things.
The module probably only loads with the kernel named 3.10.49-ga24f2d5. I didn't check to see if we need to match the kernel name or modversions. Either way, if there is an error on insmod, the solution is to hexedit the module, or recompile it against the specific source of the running kernel.
To test this, in terminal, type the following:
Code:
su
insmod /system/lib/modules/s2s_mod.ko
If there is an error, look at dmesg to see what the problem is.
The "stock" stock kernel does not have init.d support, so it will not load automatically. If you've verified above that the module loads, you can search around the forums for init.d solutions. Or if you have SuperSu, you can move the script from /etc/init.d/40s2s to /system/su.d/40s2s
Using your latest..will see if it's loading
Johnny424 said:
Using your latest..will see if it's loading
Click to expand...
Click to collapse
It probably doesn't load with my kernel. I installed the stock to test it since I figured most were using stock. I haven't had time to work on my kernel, but I have plans to add complete wake/sleep gesture support to it, hopefully this weekend.
Fair enough .. thanks
Thanks for this mod, and it works for MaximusHD 1.0.0 (3.10.49-g5c16a62)
412070391 said:
Thanks for this mod, and it works for MaximusHD 1.0.0 (3.10.49-g5c16a62)
Click to expand...
Click to collapse
Thanks for the confirmation. This tells me that if kernels are released where this doesn't work, the modversions CRC values will have to be hexedited to match the symbols in the kernel.
flar2 said:
Thanks for the confirmation. This tells me that if kernels are released where this doesn't work, the modversions CRC values will have to be hexedited to match the symbols in the kernel.
Click to expand...
Click to collapse
Confirmed working brilliantly on insert coin using LeeDroids kernel. Thank you immensely
Works great. Thx flar2!
flar2 said:
Sweep2Sleep kernel module
Click to expand...
Click to collapse
Cleverly written, excellently done!
Works just as nice indeed (compiled from your sources -- and a special thank for sharing them)!
Yet you had to strip the release version you supply with the zip, hadn't you?
It'd be 20 times smaller
flar2 said:
It probably doesn't load with my kernel. I installed the stock to test it since I figured most were using stock. I haven't had time to work on my kernel, but I have plans to add complete wake/sleep gesture support to it, hopefully this weekend.
Click to expand...
Click to collapse
Does this work with you 0.2 Kernel? Thanks in advance.
jollywhitefoot said:
Does this work with you 0.2 Kernel? Thanks in advance.
Click to expand...
Click to collapse
No, but 0.3 will have it built in
flar2 said:
No, but 0.3 will have it built in
Click to expand...
Click to collapse
Thanks
nice, this mod also works on 1.40.xxx.x based rom
delete
Check OP for a new module that works with the 2.7 base
The new module is compatible with EX Kernel Manager
New 2.7 base working great on VZW Android 5.1 - 2.6.605.10 base with stock kernel, no init.d support, but simply created the su.d folder and added the module in there and works as should, thank you kindly.

{Kernel} JekkosKrnl msm8960 - 23/01/2016

*Initial version: v0.1*
AOSP m7 cm-12.1
Based on AGK v1.71 (containing all the original wake gestures: sweep2wake, logo2menu, double tap to wake)
F2FS support from latest msm8960 repo on cm-12.1
GCC KBUILD_CFLAGS tweaks from SiliconValley kernel (oodles of optimizations)
Using SiliconValley initrd (ramdisk)
- cpu governors: plenty of them: intellidemand, ondemand, interactive, smartass, smartassV2, ...
- mpdecision, intelliplug, ecomode tweaks
- highest frequency at 2,1Ghz, lowest at 0,081Ghz, good for saving more battery
- gives more than 36 hours of battery life on a moderately used phone with steady mobile signal
install using fastboot: sudo fastboot flash boot jekkoskrnl.img
*21/12/2015: v0.1 Update*
Performance tweaks: disabled GPU underclock.
Min frequency is set to 128Mhz (was 64)
Max frequency is set to 487Mhz (was 450)
download link: bit.ly/1IjAEGw
*23/01/2016: v0.2 Update*
Dissable reboot on mdm start timeout (causing occasional kernel panics)
Improve GPU frequency upscaling to reduce lagging
Merge of upstream Cyanogenmod fixes
Disable htc one wire headset patch (causing occasional kernel panic with alternative earset)
download link: http://bit.ly/1ZU2yRK
github (cm12.1 branch) link: https://github.com/jekkos/android_kernel_htc_msm8960
jekk0s said:
This is a thread containing a link to my kernel build for
AOSP m7 cm-12.1
download link: bit.ly/1IjAEGw
github link: https://github.com/jekkos/android_kernel_htc_msm8960
Click to expand...
Click to collapse
Hey @jekk0s Thanks for that.
Just 1 Q
Is your Git source up to date? I just built your kernel and the version I built has a few less CPU governors then the .img you uploaded
Other then that Kernel works great! Compiled with UberTC-4.9
Thanks again.
Joeisgood99 said:
Hey @jekk0s Thanks for that.
Just 1 Q
Is your Git source up to date? I just built your kernel and the version I built has a few less CPU governors then the .img you uploaded
Other then that Kernel works great! Compiled with UberTC-4.9
Thanks again.
Click to expand...
Click to collapse
Ok I might have forgotten to push those last set of config changes, will have a look later today and get back to you.
jekk0s said:
Ok I might have forgotten to push those last set of config changes, will have a look later today and get back to you.
Click to expand...
Click to collapse
I've updated the github with some more local changes. To enable the governors you'll need to use the m7_defconfig
make m7_defconfig
jekk0s said:
I've updated the github with some more local changes. To enable the governors you'll need to use the m7_defconfig
make m7_defconfig
Click to expand...
Click to collapse
Thanks for that!
Joeisgood99 said:
Thanks for that!
Click to expand...
Click to collapse
Does this work on exodus ROM?
Your kernel is pretty good on batery life but my phone tends to stutter and lag on this kernel.
Sinistersky said:
Does this work on exodus ROM?
Click to expand...
Click to collapse
No, it doesn'twork
crownvn said:
No, it doesn'twork
Click to expand...
Click to collapse
It does for me.
crownvn said:
No, it doesn'twork
Click to expand...
Click to collapse
Neither does it for me
steinsgateislove said:
It does for me.
Click to expand...
Click to collapse
what does rom ?
steinsgateislove said:
Your kernel is pretty good on batery life but my phone tends to stutter and lag on this kernel.
Click to expand...
Click to collapse
Think the default governor might not be the best. I'm using intellidemand which makes the phone work smoothly in most situations.
Works great on CM12.1. Is there anyway that I could set the minimum GPU frequency on boot? Maybe using an init.d script?
Sinistersky said:
Does this work on exodus ROM?
Click to expand...
Click to collapse
Works for me on 'exodus-5.1-20151225-NIGHTLY-m7.zip'
EDIT: I take it back, won't complete booting, just hangs on the boot animation...
jekk0s said:
Think the default governor might not be the best. I'm using intellidemand which makes the phone work smoothly in most situations.
Click to expand...
Click to collapse
will the kernel work with android m, please?
Very VEEEERY good work . Love the overclock 2.1 GHZ !!!!!! i can see the difference in games . work on Exodus 5.1.1 2016 but , lagging on music , unloking or keyboard use . higher GPU frequencies can be use ? Like 500mhz ,or like same sense kernel (587 MHz :0 )
Sorry for my english ^^
which software you guys using for tuning kernel.
I tried several, after restart its resetting some times even after exiting the app. I am encountering frequent restarts and higher temperature.
Tried clean, still issue persists. I can't live without double tap to wake and sweep to sleep.
Device being secondary, not interested in much performance , I just need basic features and stability. I tried under volt the cpu , it didn't boot then.
Was on ARHD and elementalx before. Was going good.
Recently jumped to cm.
Any suggestions?
I use Ex kernel manager for change my CPU and gpu frequencies , active fastcharge , ....
I hope that the next update propose more gpu frequencies , the currents , and more higher really more than 450
On exodus rom the phone seems stable , but lag on internet or music use (unpleasant) :/ I've try differents gorvernor but no real change ...
Do I need to flash it using the command line or can I use Flashify for that? [emoji4]
Stachura5 said:
Do I need to flash it using the command line or can I use Flashify for that? [emoji4]
Click to expand...
Click to collapse
Flashify should work fine. I used it myself.

[Kernel] [UBER6.3] [GRAPHITE optimizations] Custom kernel for Haruhirom

PS: The anime character "Haruhi Suzumiya" is copyright of its owner
PS: arise fix
Open up a file manager and go to the root folder. You need to have SuperSU installed for this
You'll see a folder called su, go to /su/su.d
In this folder create a text file, label it as "permissive.sh" and put the following code in
Code:
supolicy --live "permissive *"
Then save the file and go to recovery and flash arise and Dolby Atmos addons again and then reboot
It should now work
Stop reading my bs! Here's the download link
https://srv1.botstack.host:8000/oneplus/op2/custom-kernel-for-haruhios-v3.8-STABLE.zip
Or
http://srv1.botstack.host:9000/oneplus/op2/custom-kernel-for-haruhios-v3.8-STABLE.zip
This is a project that started as a kernel for my ROM and that is what it's going to be
It can be flashed on other ROMs too and I will gladly provide support however I can't guarantee results
Do note that this is a "secure" kernel. It has many of the security patches merged from CAF and selinux enforcing is forced with no way to go to permissive
What about v4a?
Get SuperSU and input these lines in a terminal
Code:
supolicy --live "allow mediaserver mediaserver_tmpfs:file { read write execute };
allow audioserver audioserver_tmpfs:file { read write execute };"
Wait for a few seconds, swipe away v4a from the recent apps list and launch it again. It should now work
Why isn't a thermal throttling tweak included inside this kernel?
Well in my usage the kernel is so fast that thermal throttling modifications are not needed. You can apply if you want
Currently known bugs?
Nothing
OMG you're copying boeffla!
Relax. I used boeffla's anykernel base as I was in a hurry and didn't have time to make my own zip. Also, boeffla's anykernel zip is one of the best around trust me
What are the features?
Too lazy to write, check back here in a few days but there are quite a lot of features you're gonna like
I'm a nerd, I support the GPL, I'm gonna take you down because you didn't release the source code and neither did you tell me whose toolchain you used!
Bro you need to take it easy
Toolchain: https://bitbucket.org/mdalexca/aarch64-linux-android-6.x
Kernel source: https://github.com/anupritaisno1/android_kernel_oneplus_msm8994_custom
I'll try it when there is ROM with new security patch. Looking forward to it!
NeoVsk said:
I'll try it when there is ROM with new security patch. Looking forward to it!
Click to expand...
Click to collapse
I don't care about other ROMs but I'm actively adding security patches into my kernel's source so relax
uuu, every time i see new thread, and especialy new kernel i'm goign crazy excited thanks and good luck!
btw, so this kernel is same that comes with halogenos?
chxei said:
uuu, every time i see new thread, and especialy new kernel i'm goign crazy excited thanks and good luck!
btw, so this kernel is same that comes with halogenos?
Click to expand...
Click to collapse
Not at all
Anyone else having slow charging speeds with this kernel? Usually I get around 1.9A, here I only get around 0.5A
NeoVsk said:
Anyone else having slow charging speeds with this kernel? Usually I get around 1.9A, here I only get around 0.5A
Click to expand...
Click to collapse
Known issue
anupritaisno1 said:
Known issue
Click to expand...
Click to collapse
Could you include fast charge in following builds?
NeoVsk said:
Could you include fast charge in following builds?
Click to expand...
Click to collapse
That was my mistake. I forked fast charging from halogenos without realizing that it never worked
This is something I sadly can't fix. You'll have to wait for halogenos devs to update this
Fast charge coming in next build like....
Camera bug fixed!
I don't usually gamble but when I do I buy note7
May we have two versions? A reverted version for the camera and the current one...? Some ROMs are behind and are not working properly with the new commits about camera. Sorry if I am saying something wrong. I am a noob on these
xarisCY said:
May we have two versions? A reverted version for the camera and the current one...? Some ROMs are behind and are not working properly with the new commits about camera. Sorry if I am saying something wrong. I am a noob on these
Click to expand...
Click to collapse
If you start the camera, my kernel fails to turn it off so the camera will be unavailable for use after the first time you use it and you'll have to reboot
I'm working on fixing this bug. Why are you interested in this bug?
Sorry, my mistake. I though was something different.. Sorry
Where can i download naruhi ROM?
Kernel has been updated
All known bugs squashed!
Seems cool but an enforcing only kernel has its downside for me. I'm not sure if arise works with an enforcing kernel, would love to see a permissive version as well.
anupritaisno1 said:
Kernel has been updated
All known bugs squashed!
Click to expand...
Click to collapse
Great job! But I'm still getting only about 700mA when charging
Although the Kernel make the ROM very smooth but it's not battery friendly.
playkish said:
Although the Kernel make the ROM very smooth but it's not battery friendly.
Click to expand...
Click to collapse
On my phone I can't find a difference between my kernel and stock
Also this is a cm kernel. Expect some general battery drain
That being said, I've really worked hard on wakelocks and doze
Hi got your quote on bens kernel page @anupritaisno1, could you explain me more about this kernel. I guess it will break the focus of my camera due to some new commits, etc as bens kernel v5 had done the same to me. Also, as im using bens RR Rom, will this have any bugs or side affects with that rom (i had flashed boeffla kernel and had to face a lot of problems on his rom such as the xposed modules becoming inactive or not performing after some time, etc.) and last main thing, idle battery drain

Discontinued - [KERNEL] [7.1.x] BlackScreen for X2

Custom version of Blackscreen Kernel by mosimchah
Check out this thread for info:
https://forum.xda-developers.com/le-pro3/development/kernel-blackscreen-pro3-aka-zl1-x727-t3594976
Read the second and third posts on original thread for more info on the kernel settings, and features, and how to get better performance and battery life and stuff like that
Install instructions:
1. Download : Blackscreen 3 OR: Blackscreen 3.5.i (14/08/2017) OR: 3.5.i with OC (not oc'd by default)
2. Flash in twrp.
3. Reflash Root
4. Use Kernel Adiutor from playstore to change kernel settings or anything else that tickles your fancy.
AICP ROM with black screen built in:
Build 17/11/2017
https://drive.google.com/open?id=1BSB1V6f23I6xabAXXtRXqrz3ISX9pS6H
Build : 27/09/2017
https://drive.google.com/open?id=0B4k5OpXTXcS9MG5pTXlESmp4MU0
Build : 15/09/2017
https://drive.google.com/open?id=0B4k5OpXTXcS9NmZsdzE4bnI4Njg
Older:
https://drive.google.com/open?id=0B4k5OpXTXcS9aGZvLWFTQ1FKZDQ
One more kernel , onemore choose
i flashed it and camera isnt working anymore,pls fix this flashed with rr build
Can you port kernel from mi5 SlimDragons rom ?) they made good kernel )
Thanks, will try it later is it possible to port EAS?
This is the andr68rus link to various extras, included is the link to the flashable remote files
https://drive.google.com/open?id=0B-2l1xmYBAzsa0pReTA0RWZhN1E
binkaa2 said:
i flashed it and camera isnt working anymore,pls fix this flashed with rr build
Click to expand...
Click to collapse
Weird camera works fine for me but I use cm14.
Can you get a logcat?
What camera app and what happens? Just a blank screen?
infrag said:
Weird camera works fine for me but I use cm14.
Can you get a logcat?
What camera app and what happens? Just a blank screen?
Click to expand...
Click to collapse
same here , camera is not working:crying:
sky104hk said:
same here , camera is not working:crying:
Click to expand...
Click to collapse
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
infrag said:
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
Click to expand...
Click to collapse
So, will this change make stock camera fully working?
Also, regarding signal reception
at my desk the signal is weak
any idea if we could make signal reception better,
as per my experience LOS based roms or Mokee feel like does not have stock like signal reception feature,
feels bit unstable(always trying disconnecting/connecting)...
which causes the main battery drainage(dual sim, both weak signals)
infrag said:
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
Click to expand...
Click to collapse
Tks for ur hardwork, hope u can fix this on the next update bro! I really want to use the kernel, or is there any way to fix the camera problem? Also the flashlight cannot turn on, currently im usingI andr68us's DU build
Hi:
Where is the kernel?
Where can I download the kernel?
Thanks for your job
infrag said:
Thanks to @mosimchah for his hard work on Blackscreen kernel. I've just ported it to X2.
BlackScreen is meant to give you great battery life and performance (depending on how you tune it , more on that later in the second post).
Please read original thread for details.
https://forum.xda-developers.com/le-pro3/development/kernel-blackscreen-pro3-aka-zl1-x727-t3594976
Whats working:
this space intentionally left blank
Fixed Ambient Display
Added in stock LeEco charger settings to fix OTG & USB headphones.
Whats not working:
Dodgy camera as every other X2 kernel/rom atm.
I doubt IR works. Someone want to supply me a .zip with it so I can test? (I cant be bothered extracting)
Install instructions:
Download .zip
link removed while i check camera...
Flash in twrp.
Reflash Root?
Use Kernel Adiutor from playstore to change kernel settings or anything else that tickles your fancy.
Here are some of the features
f2fs not working yet as I dont care and havent turned it on.
(check out the third post on original thread for more info)
CPU:
ability to disable all input boosters
darkness governor- credit to @villarleg for porting it to our device
Lionfish governor-credit to @villarleg for porting it to our device
blue_active governor (not for the eas build)
nebula governor
wheatley governor
lionheart governor
bioshock governor
impulse governor
Alucard Hotplug driver
GPU:
Adreno boost
Adreno idler
I/O:
Improved deadline
improved cfq
bfq
sio
fiops
tripndroid
sioplus
zen
Virtual memory:
various optimizations
entropy:
some optimizations
tcp-algorithms:
bic
westwood
htcp
hstcp
vegas
scalable
lp
veno
yeah
illinois
Misc:
fsync toggle
Many more optimizations
Several wakelocks have been blocked
Added the ability to tweak the thermal throttle settings (be very careful with this)
Read the second and third posts on original thread for more info on the kernel settings, and features, and how to get better performance and battery life and stuff like that
Thanks to:
etc
Click to expand...
Click to collapse
Thanks.
Does this kernel has undervolting capability? Le max 2 has very weak battery.
infrag said:
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Click to expand...
Click to collapse
Nice work, thanks I will use LOS naming system next build. I will repack kernel with my ramdisk and put link for < 05/09 RR-N.
PS. Where I can download kernel?
Hope this kernel gets fixed soon, you're doing great work on the Le Max 2, thanks for your contributions!
Also hopefully you and @andr68rus find the naming fix and that this kernel gets integrated into RR, AOKP, DU and the rest of the Nougat roms, I can see it being a great SoT fix for Nougat ROMs.
( for me this kernel is hopeless ((( my problem with camera on nougat roms seems unfixable for now (((
andr68rus said:
Nice work, thanks I will use LOS naming system next build. I will repack kernel with my ramdisk and put link for < 05/09 RR-N.
PS. Where I can download kernel?
Click to expand...
Click to collapse
Thanks.
I pulled the link as it didnt work on Cr3pts Unoffical LAOS cm14.1 either.
However it turns out he hasnt updated his libc shim name either so I've re-added the download link.
Wheres your new link so I can test on RR?
xuser_ said:
So, will this change make stock camera fully working?
Also, regarding signal reception
at my desk the signal is weak
any idea if we could make signal reception better,
as per my experience LOS based roms or Mokee feel like does not have stock like signal reception feature,
feels bit unstable(always trying disconnecting/connecting)...
which causes the main battery drainage(dual sim, both weak signals)
Click to expand...
Click to collapse
No it wont fix stock camera. I didnt imply that so...
As far as signal reception goes I dont have issues with reception.
I do see some stuff in the logs about disconnecting reconnecting and i'll probably have a look at it one of these days. Not sure IF I can do anything but I'll try.
Gnomchar said:
( for me this kernel is hopeless ((( my problem with camera on nougat roms seems unfixable for now (((
Click to expand...
Click to collapse
Whats your problem on Nougat roms?
I think I read something about focusing or something?
If so I have an idea but you will need to pull some logs while camera is semi working for you.
adb logcat > logcat.txt
adb shell dmesg > dmesg.txt
sky104hk said:
Tks for ur hardwork, hope u can fix this on the next update bro! I really want to use the kernel, or is there any way to fix the camera problem? Also the flashlight cannot turn on, currently im usingI andr68us's DU build
Click to expand...
Click to collapse
Flash andr68us's 'fixed' build. (just renamed a file basically)
His future builds should work with this.

[KERNEL][GT-S5282] [CM11] [SlimKat] Modified Kernel

This kernel fixes the TOUCHSCREEN FREEZING bug when playing large games by removing the CGROUPS.
Which also gives us back the RAM it ate (458mb total, now)
Same features with LahKeda's overclocked kernel.
1200mhz Overclock
Kernel Sampage Merging
zRAM
Governors
No bugs.
Source
Credits:
@psych.half for the source
@LahKeda for adding overclock and compiling
(no credit for me. I just found out cgroups is buggy but all the work was from them)
thx so much ive been waiting for this for so long
New Build
Increased zRAM from 92mb to 134mb
Properly enabled KSM (It was included in the previous one but it wasn't enabled by default)
Compressed into boot.img
Set the maximum frequency to 1200mhz by default
Set the minimum frequency to 600mhz by default
Set the governor to "ondemand" by default (If I set "performance", the frequency will only go to 1000mhz even though the script was 1200mhz. I don't know why that happens)
So which kernel is better?... Cm11's default one or this one?
Please provide the sources
RJinxed said:
Tested on SlimKat but it "should" work on cm11 since the source is the same. Try and report back if you can.
Click to expand...
Click to collapse
@RJinxed
Tried it on corpish's last cm 11 build and works fine..
Actually earlier I was using this kernel in slimkat:laugh:
Just bcz of few bug's!!! I reverted to cm 11
Anyway works on CM 11
Thanks again
New Build
Added 1250MHz overclock (no reboots, see uptime)
Enabled memory control cgroups (enabling cgroups fully was causing freeze in playing games so I tried using just the memory resource controller and it works without freezes, cheers)
P.S. Tell me if you guys want governors. I forgot to add it. Only performance is in this kernel.
Nevermind. Here is it. Same as above but with governors.
RJinxed said:
Nevermind. Here is it. Same as above but with governors.
Click to expand...
Click to collapse
Thanks mahn...
It works just fine:good:
Do you think u can upstream our kernel?
Just a thought :silly:
sm_adil said:
Thanks mahn...
It works just fine:good:
Do you think u can upstream our kernel?
Just a thought :silly:
Click to expand...
Click to collapse
To be honest, I don't know. All I do is follow lahkeda/corphish's commits in their github. I just learned to edit defconfigs and compile but aside from that, I don't really know what to do.
RJinxed said:
To be honest, I don't know. All I do is follow lahkeda/corphish's commits in their github. I just learned to edit defconfigs and compile but aside from that, I don't really know what to do.
Click to expand...
Click to collapse
Same here
I've never compiled kernel for star but for my other device I did
I'm happy to learn stuff :laugh:
Anyway I was never successful enough to upstream my kernel hope u'll be able to do it in future:fingers-crossed:
BTW thanks for the kernel
sm_adil said:
Thanks mahn...
It works just fine:good:
Do you think u can upstream our kernel?
Just a thought :silly:
Click to expand...
Click to collapse
upstream the kernel. OMG I tried but it's a nightmare, real nightmare
Hey buddy, I have installed CM 14.1 custom rom. Will this kernel work?
y2knarayan said:
Hey buddy, I have installed CM 14.1 custom rom. Will this kernel work?
Click to expand...
Click to collapse
No, this is only compatible for kitkat roms. Also, don't use cm14.1 yet since it's still really buggy.
RJinxed said:
No, this is only compatible for kitkat roms. Also, don't use cm14.1 yet since it's still really buggy.
Click to expand...
Click to collapse
Can u suggest the best custom rom for this phone?
EDITED: Freezes at 1.3GHz after over 30 hours. If you still wanna try it, I'll keep this here. This build has lowered voltages.
I don't know if I can find a way to get it to work but I'll try anyway.
Final Build
Lowered voltages (Battery life increased)
Updated lowmemorykiller driver (cherry picked from this source)
Unfortunately, 1300MHz was unstable no matter what. Tried different sources, adjusting voltages etc but it seems to be the limit for this device. Also ive noticed some weird artifacts whenever I use it (Which proves that it is unstable since in PC overclocking as well, the cue for unstable overclocking is artifacts)
TLDR; 1250MHz is the farthest we can have.
Deleted. I'm losing my mind.
Try this guys. 1292MHz, Hopefully this would be the last build, After almost 4 days constant, still no reboots.
Edit #1: DO NOT set the governor to ONDEMAND. Performance is perfectly stable but when I set the governor to ondemand, after a couple of hours it rebooted. I don't think this is coincidence with over 100 hours of uptime.
Edit #2: Reuploaded the kernel but this time, performance is the only governor option since it's the only stable one. If you want governors, download the 1250MHz version.
how to overclock
hey buddy,
I have a question, I have rooted my phone it is running android version 4.1.2 and i want to overclock my phone. Can i use this kernel in my existing os version or i have to install cm11 and then overclock it. Please tell me in detail, i am new in rooting and flashing and all that. Please explain in as much detail as possible. Hope a response from you.
Thank u
My model no. GT-S5282

Categories

Resources