FORUMS
Remove All Ads from XDA

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

3,547 posts
Thanks Meter: 4,544
 
By neXus PRIME, Senior Member on 27th February 2013, 04:50 PM
Post Reply Email Thread
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):
OLD ICS VERSIONS:


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

The Following 41 Users Say Thank You to neXus PRIME For This Useful Post: [ View ] Gift neXus PRIME Ad-Free
27th February 2013, 05:45 PM |#2  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 18,442
 
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:	3709
Size:	22.9 KB
ID:	1765980   Click image for larger version

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

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

Name:	screenshot_2013-02-28_02-02-09.jpg
Views:	2799
Size:	26.5 KB
ID:	1766019  
The Following 4 Users Say Thank You to ckpv5 For This Useful Post: [ View ] Gift ckpv5 Ad-Free
27th February 2013, 06:24 PM |#3  
neXus PRIME's Avatar
OP Senior Member
Flag Lahore, Pakistan
Thanks Meter: 4,544
 
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, 08:46 PM |#4  
atis112's Avatar
Inactive Recognized Developer
Thanks Meter: 2,630
 
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 ] Gift atis112 Ad-Free
27th February 2013, 09:01 PM |#5  
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, 09:17 PM |#6  
nlooooo's Avatar
Senior Member
Flag Nis
Thanks Meter: 730
 
More
And, once more, added to Index.

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

It should work right ?
28th February 2013, 01:58 AM |#8  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 18,442
 
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, 516 views)
The Following 5 Users Say Thank You to ckpv5 For This Useful Post: [ View ] Gift ckpv5 Ad-Free
28th February 2013, 02:32 PM |#9  
neXus PRIME's Avatar
OP Senior Member
Flag Lahore, Pakistan
Thanks Meter: 4,544
 
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 ] Gift neXus PRIME Ad-Free
28th February 2013, 03:18 PM |#10  
neXus PRIME's Avatar
OP Senior Member
Flag Lahore, Pakistan
Thanks Meter: 4,544
 
More
Updated. Changelog in OP.
The Following 3 Users Say Thank You to neXus PRIME For This Useful Post: [ View ] Gift neXus PRIME Ad-Free
28th February 2013, 05:15 PM |#11  
ckpv5's Avatar
Recognized Contributor
Flag Kuala Lumpur
Thanks Meter: 18,442
 
Donate to Me
More
@neXus PRIME

Here my finding so far:

Version 2:
1. Freq Table fixed, (Min 122, then 245 just after it)


2. ZRAM support added. (Testers needed)

With zram support added but not enable at default, I find that my ROM lags a lot.

Code:
C:\Users\ckpv5\Desktop\fastboot>adb shell
[email protected]:/ # busybox free
busybox free
             total         used         free       shared      buffers
Mem:        620984       521988        98996            0        13236
-/+ buffers:             508752       112232
Swap:            0            0            0
[email protected]:/ #
with zram enabled, there is no lag but the smoothness/performance is less compare to v1. Maybe this is due to minfree is default value and cannot be changed with init.d script, will test with lower minfree (as suggested by flar2 in his thread) thru ramdisk change later.

Anyway.. maybe it's my own wrong doing; maybe other user with other ROM can have better result.

Code:
C:\Users\ckpv5\Desktop\fastboot>adb shell
[email protected]:/ # busybox free
busybox free
             total         used         free       shared      buffers
Mem:        620984       523556        97428            0        13576
-/+ buffers:             509980       111004
Swap:       102396        25600        76796
[email protected]:/ #
The Following 2 Users Say Thank You to ckpv5 For This Useful Post: [ View ] Gift ckpv5 Ad-Free
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes