Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Thumbs up [10/10/13]neXusKERNEL v4.0 with Sweep2Wake ALPHA [JB]

OP neXus PRIME

27th February 2013, 05:50 PM   |  #1  
neXus PRIME's Avatar
OP Recognized Contributor
Flag Lahore, Pakistan
Thanks Meter: 4,278
 
3,306 posts
Join Date:Joined: Nov 2011
More
Presenting...
neXusKERNEL
with SWEEP2WAKE (alpha)
by neXusPRIME





CHANGELOG:
Quote:

V4.0

Quote:

1. Sweep2Wake........ do you want anything else???
It is in alpha mode, so dont blame me for bugs, use v3.

V3.0
Quote:

1. USB Fast Charge. For details see: http://forum.xda-developers.com/show...5&postcount=65

V2.0
Quote:

1. Added "BFQ Scheduler", my favourite
2. Added experimental GPU OC

V1.0
Quote:

1. HTC Write protection disabled.
2. Enabled swap support.*
3. Added scheduler "sio"
4. Added Smartassv2 governor
5. HTC perflock disabled
6. Enable KSM support (Flash zip in link to enable KSM http://forum.xda-developers.com/show...36&postcount=8)
7. No modules needed, everything inside boot.img
8. Init.d supported. Use app in link to verify init.d support http://forum.xda-developers.com/show....php?t=1933849


DOWNLOADS (JB):
Quote:

V4:
http://d-h.st/j9E its ALPHA, you have been warned

V3:
http://d-h.st/84i

V2:
http://d-h.st/zuB

V1:
http://d-h.st/3UP

OLD ICS VERSIONS:

V3: http://d-h.st/7C6
OLD VERSION: V2: http://d-h.st/HcS
OLD VERSION: V1: http://d-h.st/dOq


SOURCE:


CREDITS
Quote:

atis112 - for My 1st ClassRoom
cybojenix - for S2W
galaxyfreak - for S2W
helicopter88 - for S2W
zarboz - for S2W
franco-c - for USB Fast Charge
cute_prince - for OC attempts, not final yet
KonstaT - for general performance patches
and maybe a few others

Last edited by neXus PRIME; 10th October 2013 at 05:16 PM.
The Following 41 Users Say Thank You to neXus PRIME For This Useful Post: [ View ]
27th February 2013, 06:45 PM   |  #2  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 9,829
 
7,528 posts
Join Date:Joined: Feb 2008
Donate to Me
More
@neXus PRIME

Thanks for your great effort.

Here is my findings :

Features:

1. HTC Write protection disabled.
This works great Removed both wp_mod2.ko & init.d script to load it... I can confirm the HTC write protection now disabled.
Updating busybox with no problem

2. Enabled swap support. (if you make a swap partition, it should get used. But need testers)
I don't need this feature, so I don't test it.

3. Default scheduler "noop" (I've always liked noop better then all others)
"noop" as default is shown in the attached screenshot

4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)
No idea how to test this

5. Default Min set to 245 Mhz (My liking)
I like 245 Mhz too but I don't see it in both No Frill and CPU Spy (see attached screenshot)

6. Enable KSM support
Don't really need it but will test later with my old KSM init.d script

7. Default governor "ondemand" (later you can select whatever you like e.g
smartassv2)

"ondemand" is shown as default.

8. Ext2/ext3 file system support. (testers needed)
Don't need this so I do not test

9. Aren't above enough ???
Well... it's enough for now... maybe later s2w feature ? Maybe you can contact maxwen (One V kernel dev) for assistance.

I maybe wrong but I see that the init.d support is not enabled in your kernel. All the above test I ran it with my own ramdisk.
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013-02-28_01-26-13.jpg
Views:	3089
Size:	22.9 KB
ID:	1765980   Click image for larger version

Name:	screenshot_2013-02-28_01-26-29.jpg
Views:	2756
Size:	26.6 KB
ID:	1765981   Click image for larger version

Name:	screenshot_2013-02-28_01-26-49.jpg
Views:	2502
Size:	34.5 KB
ID:	1765982   Click image for larger version

Name:	screenshot_2013-02-28_02-02-09.jpg
Views:	2265
Size:	26.5 KB
ID:	1766019  
Last edited by ckpv5; 27th February 2013 at 07:03 PM.
The Following 4 Users Say Thank You to ckpv5 For This Useful Post: [ View ]
27th February 2013, 07:24 PM   |  #3  
neXus PRIME's Avatar
OP Recognized Contributor
Flag Lahore, Pakistan
Thanks Meter: 4,278
 
3,306 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by ckpv5

@neXus PRIME

Thanks for your great effort.

Here is my findings :

Features:

1. HTC Write protection disabled.
This works great Removed both wp_mod2.ko & init.d script to load it... I can confirm the HTC write protection now disabled.
Updating busybox with no problem

2. Enabled swap support. (if you make a swap partition, it should get used. But need testers)
I don't need this feature, so I don't test it.

3. Default scheduler "noop" (I've always liked noop better then all others)
"noop" as default is shown in the attached screenshot

4. HTC perflock disabled (SetCPU does some magic when perf lock is disabled. Test n report)
No idea how to test this

5. Default Min set to 245 Mhz (My liking)
I like 245 Mhz too but I don't see it in both No Frill and CPU Spy (see attached screenshot)

6. Enable KSM support
Don't really need it but will test later with my old KSM init.d script

7. Default governor "ondemand" (later you can select whatever you like e.g
smartassv2)

"ondemand" is shown as default.

8. Ext2/ext3 file system support. (testers needed)
Don't need this so I do not test

9. Aren't above enough ???
Well... it's enough for now... maybe later s2w feature ? Maybe you can contact maxwen (One V kernel dev) for assistance.

I maybe wrong but I see that the init.d support is not enabled in your kernel. All the above test I ran it with my own ramdisk.

The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.

Regards
27th February 2013, 09:46 PM   |  #4  
atis112's Avatar
Recognized Developer
Thanks Meter: 2,603
 
745 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by neXus PRIME

The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.

Regards

If you used my sources for smartass it becames default because i add it as a default governor. You can modify it in the config. Just use "make menuconfig" and set the default things what you would like. (but first load the original config). Your new modified configuration will saved to "kerneldir/.config"
The Following 2 Users Say Thank You to atis112 For This Useful Post: [ View ]
27th February 2013, 10:01 PM   |  #5  
flar2's Avatar
Recognized Developer
Flag Ottawa
Thanks Meter: 32,203
 
6,373 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Just cause I saw your post in the atis's thread, I thought I'd check this out. I have a suggestion for you, instead of using swap, try zram. zram uses part of ram as a compressed swap device. You can get about a 3 to 1 compression ratio and it's much, much faster than swap on a disk. It can be enabled in menuconfig under drivers/staging/zram. Download any of my kernels (in my signature) if you need an example of an init script to start zram.
The Following 2 Users Say Thank You to flar2 For This Useful Post: [ View ]
27th February 2013, 10:17 PM   |  #6  
nlooooo's Avatar
Senior Member
Flag Nis
Thanks Meter: 615
 
2,078 posts
Join Date:Joined: Oct 2011
More
And, once more, added to Index.

Keep up the good work.
27th February 2013, 11:28 PM   |  #7  
Member
Thanks Meter: 3
 
51 posts
Join Date:Joined: Feb 2013
Re: [Kernel/modded] neXusKERNEL v1.0
Who has atis112 kernel can flash this other kernel safely ?

It should work right ?
28th February 2013, 02:58 AM   |  #8  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 9,829
 
7,528 posts
Join Date:Joined: Feb 2008
Donate to Me
More
Quote:
Originally Posted by neXus PRIME

The default min freq is 245 but.... i forgot to modify CPU freq tables so once you try to move the slider, the 245 Mhz freq is lost. And also, smartassv2 somehow becomes default. Maybe i'll fix, maybe not. Coz atis is already hard at CM work, so thought maybe ppl could test the ksm/ext2/3/swap features.

Regards

Maybe a fix to 245 Mhz is great. The governor not necessary to fix as user can choose what they prefer.

Tested the KMS support... it runs great. With KMS enabled, I have more free RAM available at anytime with no performance decrease.

Anyone want to try, you need init.d script with below command

Code:
echo "1" > /sys/kernel/mm/ksm/run
Or just flash attached kms script that I'm using

Good job neXus PRIME
Attached Files
File Type: zip ksm.zip - [Click for QR Code] (142.9 KB, 380 views)
Last edited by ckpv5; 28th February 2013 at 04:38 AM.
The Following 5 Users Say Thank You to ckpv5 For This Useful Post: [ View ]
28th February 2013, 03:32 PM   |  #9  
neXus PRIME's Avatar
OP Recognized Contributor
Flag Lahore, Pakistan
Thanks Meter: 4,278
 
3,306 posts
Join Date:Joined: Nov 2011
More
Smile
Quote:
Originally Posted by ckpv5

Maybe a fix to 245 Mhz is great. The governor not necessary to fix as user can choose what they prefer.

Tested the KMS support... it runs great. With KMS enabled, I have more free RAM available at anytime with no performance decrease.

Anyone want to try, you need init.d script with below command

Code:
echo "1" > /sys/kernel/mm/ksm/run
Or just flash attached kms script that I'm using

Good job neXus PRIME

Linked your KSM script post to OP. Plus, im doing the 245 Mhz fix right now.

Regards
The Following 3 Users Say Thank You to neXus PRIME For This Useful Post: [ View ]
28th February 2013, 04:18 PM   |  #10  
neXus PRIME's Avatar
OP Recognized Contributor
Flag Lahore, Pakistan
Thanks Meter: 4,278
 
3,306 posts
Join Date:Joined: Nov 2011
More
Updated. Changelog in OP.

The Following 3 Users Say Thank You to neXus PRIME For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes