[Kernel][N8000 Beta][OC][TW][Linaro][23 Dec]Xcstacy Kernel Linaro v2.0

Search This thread

xcstacy

Senior Member
Oct 8, 2012
236
587
Hi all,

I am quite new to this forum and I haven't found a decent kernel in this forum so I've decided to make one myself for daily use.
I am not a professional coder but I do know the basics of Github and all other necessary things to make this kernel work.

Please look here for current build.

This is a kernel for N8000/N8010/N8013. I might add support to N8013 variant if the kernel is overall stable.

I will try my best to bring patches from great kernel devs e.g. Faux, Gokhanmoral, Franco and many more to our Note 10.1.

This kernel is working on latest OMEGA, Redemption and ARHD ROM.

Initd is finally fixed.

This kernel is currently compiled with Linaro Toolchain(cfx toolchain) 4.7.3 from codefirex.

To enable cifs, type these in terminal
su
insmod lib/modules/cifs.ko

Disclaimer:
Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!


CHANGELOG
N8000
Build 5.1
- More fixes for hard reboots
- updated zzmoove
- reverted interactive governor
View attachment xcstacy_build_5.1_n8000.zip

Build 5
- Added zzmoove governor and sync dorimanx interactive governor
- Updated to latest 3.0.x upstream
- Backported some 3.1.x files
- Fixed hard reboots occurred in build 4
- Disabled JIT NET filter due to complaints on slow network speed
- Updated RCU hopefully will help with performance
- Added Adaptive Body Bias from I9500 (Credits to AndreiLux) More info here (ABB)
- Added various optimizations. Please refer to my Github for more information.
- Added ramdisk scripts (Credits to NEAK)
View attachment xcstacy_build_5_n8000.zip

Build 4
- Updated wifi module to Linux 3.4.x
- Added missing PM_SUSPEND wakelock
- Enabled AIO, KSM and UKSM (hope to get better performance)
- TCP congestion default now is westwood
- Backport SMP from Linux 3.5
- Fixed cifs.ko loading error
- Turned on more optimization flags
- Removed 1.8GHz (not stable) and added 1.664GHz
- Interactive is the default governor and row is the default i/o scheduler (thanks kcrudup)
- Added intelliplug by Faux
- Google MTP instead of Samsung MTP
- Initd is finally fixed!
- Youtube streaming fix by kcrudup
- Many more optimizations (check out my source)
View attachment xcstacy_build_4_n8000_initd.zip

Build 3
- Changed source link (for better history log)
- Removed Hyper governor
- updated Pegasusq
- Pegasusq as default governor. Added lulzactiveq by GM (highly recommended to try) and smartassH3.
- Added dynamic fsync
- Included cifs.ko
- Added PM_SUSPEND_FREEZE by faux (testing phase: hope to achieve better battery life)
- Refactored UV ( thanks to GM)
- Turned on various optimization flags
View attachment xcstacy_build_3_OC_n8000.zip (Please let me know if your device crashes at 1.8GHz) | View attachment xcstacy_build_3_n8000.zip

Build 2
- 2 versions: OC to 1800MHz or normal 1600MHz
- Added HYPER governor (testing phase)
- Tuned Deadline
- Applied patches for interactive from latest Google upstream
- Added 50MHz as the lowest frequency for testing (might add lower frequencies if stable)
- Added Multicore Power Saving (Recommended settings: 1)
- Init.d support
- Reverted MMC_CAP_ERASE removal (thanks kcrudup)
- Various optimizations
View attachment xcstacy_build_2_n8000.zip | View attachment xcstacy_build_2_OC_n8000.zip
Build 1
First build. Added various optimization, Added SIO and ROW scheduler and UC 100MHz, OC 1800MHZ.
View attachment xcstacy_build_1.zip

N8010/N8013
Build 5.1
- Same as N8000 changelog
View attachment xcstacy_build_5.1_n8013.zip

Build 5
- Refer to N8000 build 5 changelog or my source.
View attachment xcstacy_build_5_n8013.zip

Build 4
- OC to 1.7GHz
- Please refer to N8000 build 4 changelog
View attachment xcstacy_build_4_n8013_initd.zip

Build 3
- Please refer to N8000 build 3 changelog
View attachment xcstacy_build_3_n8013.zip

Build 2
- Test build for N8013. Will be pulled back if its not working.
- Same as N8000 build 2 but no OC available for N8013
View attachment xcstacy_build_2_n8013.zip

Source: Github

Credits goes to the respective developers in my commits.
Credits for codefirex for cfx-toolchain
 
Last edited:

csec

Senior Member
Feb 19, 2013
786
683
28
Installation Guide:

Note: First of all BACKUP your current kernel! See the backup section of this post,

A. Using Recovery:
1. Reboot into recovery.
2. Flash the zip file of the kernel.
3. Clear Dalvik Cache to be sure (Not obligatory, but recommended).
4. Reboot.

B. Using Mobile Odin:
1. Extract boot.img from the zip file of the kernel.
2. In MobileOdin under kernel section select the boot.img file.
3. Hit 'flash firmware'.

NOTE: If you flash any ROM, the boot.img of that ROM will be flashed. So if you flash Stock ROM or restore your Stock Backup your kernel will be STOCK. If you want to use this kernel you have to flash again after doing those things.

Reverting back:
A. If you have boot.img and Mobile Odin:
1. Fire up MobileOdin and under kernel section, select the backedUp boot.img of yours.
2. Hit 'flash firmware'.

B. Using TWRP recovery:
1. Restore the backup you performed before you flash this kernel.

C. If you don't have any of those backups:
1. You can always try the boot.img which is in the ROM zip of the custom ROM you're using. If you're stock and you don't have the ROM zip you can ask in the Q&A thread for the users to upload the one for you. Just mention the base of your Stock rom (ex. CMD1) and they would help you. After you obtained boot.img you may use A of this guide to flash it using mobileOdin.

Backing up your Currect Kernel:
A. If you have ROM zip of the custom ROM you're using:
For example you're using ARHD 7.0:
1. Open ARHD 7.0 zip file (The rom zip file you flashed in order to install ARHD 7.0) and extract boot.img.
2. This would be the boot.img of your current rom. So keep it safe in case you wanted to revert.

B. If you don't have ROM zip or you're stock:
You will need TWRP recovery to perform this.
1. Reboot into recovery.
2. Select backup.
3. Only Check boot.
4. Perfrom backup.
5. Keep the backup files safe.

Known Issues:
Some people are experiencing hard reboots with build 5. Use build 4, Xcstacy is working hard to fix the issue.

Useful Programs:
- MobileOdin: To flash firmwares, kernels, and other stuff. Very useful app for samsung devices.
- TricksterMod: A powerful app to change kernel features/parameters.

Starter Guide about kernel parameters/features:
If you are new to custom kernels and want to know why should you go into the trouble of flashing one, or/and you want to learn how to start visit this guide.
 
Last edited:

Rongogo

Senior Member
Jan 30, 2010
167
53
48
Limbo
Nice we need this one :)


Sent from my GT-N8000 using XDA Premium HD app
 

Attachments

  • uploadfromtaptalk1365795198346.jpg
    uploadfromtaptalk1365795198346.jpg
    28.5 KB · Views: 3,271
Last edited:

csec

Senior Member
Feb 19, 2013
786
683
28
I'm going to optimize the governors and add Hyper governor. Hopefully to see better battery performance without compromising the performance.

Great. A governor like that is really needed.
For best performance, interactive or on demand?

Sent from my GT-N8000 using Tapatalk HD
 

aalupatti

Senior Member
Feb 20, 2011
2,871
700
Just wanted to say thank you for working on a new kernel.
Am never a big fan of over clocking but Note10.1 is missing some great features like usb mount and others due to lack of kernel support. Hope you will be able to bring in more features.

Sent from my GT-N8013
 

xcstacy

Senior Member
Oct 8, 2012
236
587
Great. A governor like that is really needed.
For best performance, interactive or on demand?

Sent from my GT-N8000 using Tapatalk HD

I like interactive better for performance. It feels snappier.

The current ondemand is not very optimized for our device and that's why we have pegasus governor.
 

kcrudup

Senior Member
Mar 27, 2007
1,517
748
San Francisco Bay Area
I've noticed that in commit 10d28c0 you've removed "MMC_CAP_ERASE" from the MMC host driver. This is called the "EMMC Brickbug Fix"- but it's not necessary on the Galaxy Note as they don't use the same EMMC as the SGS3.

Having this "fix" in will break "discard" functionality, eventually slowing down the tablet as the I/O stalls during EMMC write-block reclaims when the Flash memory fills up.

FYI
 
  • Like
Reactions: xcstacy

csec

Senior Member
Feb 19, 2013
786
683
28
Quick Questions:

1. init.d support?
2. Pegasus is the same as the tweaked one (pegasusq) down at s3/note 2 forums?
3. How about tweaked deadline?
4. Undervolt?
5. Boot at 1.4Ghz?

Thanks in advance!

Sent from my GT-N8000 using Tapatalk HD
 

xcstacy

Senior Member
Oct 8, 2012
236
587
I've noticed that in commit 10d28c0 you've removed "MMC_CAP_ERASE" from the MMC host driver. This is called the "EMMC Brickbug Fix"- but it's not necessary on the Galaxy Note as they don't use the same EMMC as the SGS3.

Having this "fix" in will break "discard" functionality, eventually slowing down the tablet as the I/O stalls during EMMC write-block reclaims when the Flash memory fills up.

FYI

Hmm it makes sense. I learned something new today. Will revert the commit in my next build.

Cheers! :)
 
  • Like
Reactions: NadMaj

xcstacy

Senior Member
Oct 8, 2012
236
587
Quick Questions:

1. init.d support?
2. Pegasus is the same as the tweaked one (pegasusq) down at s3/note 2 forums?
3. How about tweaked deadline?
4. Undervolt?
5. Boot at 1.4Ghz?

Thanks in advance!

Sent from my GT-N8000 using Tapatalk HD

1,2 & 3 are on my to-do-list. Yes to 4 and 5.
 
  • Like
Reactions: csec

Top Liked Posts

  • There are no posts matching your filters.
  • 54
    Hi all,

    I am quite new to this forum and I haven't found a decent kernel in this forum so I've decided to make one myself for daily use.
    I am not a professional coder but I do know the basics of Github and all other necessary things to make this kernel work.

    Please look here for current build.

    This is a kernel for N8000/N8010/N8013. I might add support to N8013 variant if the kernel is overall stable.

    I will try my best to bring patches from great kernel devs e.g. Faux, Gokhanmoral, Franco and many more to our Note 10.1.

    This kernel is working on latest OMEGA, Redemption and ARHD ROM.

    Initd is finally fixed.

    This kernel is currently compiled with Linaro Toolchain(cfx toolchain) 4.7.3 from codefirex.

    To enable cifs, type these in terminal
    su
    insmod lib/modules/cifs.ko

    Disclaimer:
    Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!


    CHANGELOG
    N8000
    Build 5.1
    - More fixes for hard reboots
    - updated zzmoove
    - reverted interactive governor
    View attachment xcstacy_build_5.1_n8000.zip

    Build 5
    - Added zzmoove governor and sync dorimanx interactive governor
    - Updated to latest 3.0.x upstream
    - Backported some 3.1.x files
    - Fixed hard reboots occurred in build 4
    - Disabled JIT NET filter due to complaints on slow network speed
    - Updated RCU hopefully will help with performance
    - Added Adaptive Body Bias from I9500 (Credits to AndreiLux) More info here (ABB)
    - Added various optimizations. Please refer to my Github for more information.
    - Added ramdisk scripts (Credits to NEAK)
    View attachment xcstacy_build_5_n8000.zip

    Build 4
    - Updated wifi module to Linux 3.4.x
    - Added missing PM_SUSPEND wakelock
    - Enabled AIO, KSM and UKSM (hope to get better performance)
    - TCP congestion default now is westwood
    - Backport SMP from Linux 3.5
    - Fixed cifs.ko loading error
    - Turned on more optimization flags
    - Removed 1.8GHz (not stable) and added 1.664GHz
    - Interactive is the default governor and row is the default i/o scheduler (thanks kcrudup)
    - Added intelliplug by Faux
    - Google MTP instead of Samsung MTP
    - Initd is finally fixed!
    - Youtube streaming fix by kcrudup
    - Many more optimizations (check out my source)
    View attachment xcstacy_build_4_n8000_initd.zip

    Build 3
    - Changed source link (for better history log)
    - Removed Hyper governor
    - updated Pegasusq
    - Pegasusq as default governor. Added lulzactiveq by GM (highly recommended to try) and smartassH3.
    - Added dynamic fsync
    - Included cifs.ko
    - Added PM_SUSPEND_FREEZE by faux (testing phase: hope to achieve better battery life)
    - Refactored UV ( thanks to GM)
    - Turned on various optimization flags
    View attachment xcstacy_build_3_OC_n8000.zip (Please let me know if your device crashes at 1.8GHz) | View attachment xcstacy_build_3_n8000.zip

    Build 2
    - 2 versions: OC to 1800MHz or normal 1600MHz
    - Added HYPER governor (testing phase)
    - Tuned Deadline
    - Applied patches for interactive from latest Google upstream
    - Added 50MHz as the lowest frequency for testing (might add lower frequencies if stable)
    - Added Multicore Power Saving (Recommended settings: 1)
    - Init.d support
    - Reverted MMC_CAP_ERASE removal (thanks kcrudup)
    - Various optimizations
    View attachment xcstacy_build_2_n8000.zip | View attachment xcstacy_build_2_OC_n8000.zip
    Build 1
    First build. Added various optimization, Added SIO and ROW scheduler and UC 100MHz, OC 1800MHZ.
    View attachment xcstacy_build_1.zip

    N8010/N8013
    Build 5.1
    - Same as N8000 changelog
    View attachment xcstacy_build_5.1_n8013.zip

    Build 5
    - Refer to N8000 build 5 changelog or my source.
    View attachment xcstacy_build_5_n8013.zip

    Build 4
    - OC to 1.7GHz
    - Please refer to N8000 build 4 changelog
    View attachment xcstacy_build_4_n8013_initd.zip

    Build 3
    - Please refer to N8000 build 3 changelog
    View attachment xcstacy_build_3_n8013.zip

    Build 2
    - Test build for N8013. Will be pulled back if its not working.
    - Same as N8000 build 2 but no OC available for N8013
    View attachment xcstacy_build_2_n8013.zip

    Source: Github

    Credits goes to the respective developers in my commits.
    Credits for codefirex for cfx-toolchain
    21
    Good news guys! I'm done with my exams and I will continue the kernel development!

    Sent from my Nexus 4 using xda premium
    12
    Build 5 is almost ready for release. More performance patches!
    10
    Sorry for not being active for the past few days. I was trying to identify the underlying issue that has been causing reboots on many users of this kernel. Currently I have yet to come out with a solution so please bear with me for a few more days while I work on a fix.

    Thank you so much for your supports!

    :good:
    6
    Installation Guide:

    Note: First of all BACKUP your current kernel! See the backup section of this post,

    A. Using Recovery:
    1. Reboot into recovery.
    2. Flash the zip file of the kernel.
    3. Clear Dalvik Cache to be sure (Not obligatory, but recommended).
    4. Reboot.

    B. Using Mobile Odin:
    1. Extract boot.img from the zip file of the kernel.
    2. In MobileOdin under kernel section select the boot.img file.
    3. Hit 'flash firmware'.

    NOTE: If you flash any ROM, the boot.img of that ROM will be flashed. So if you flash Stock ROM or restore your Stock Backup your kernel will be STOCK. If you want to use this kernel you have to flash again after doing those things.

    Reverting back:
    A. If you have boot.img and Mobile Odin:
    1. Fire up MobileOdin and under kernel section, select the backedUp boot.img of yours.
    2. Hit 'flash firmware'.

    B. Using TWRP recovery:
    1. Restore the backup you performed before you flash this kernel.

    C. If you don't have any of those backups:
    1. You can always try the boot.img which is in the ROM zip of the custom ROM you're using. If you're stock and you don't have the ROM zip you can ask in the Q&A thread for the users to upload the one for you. Just mention the base of your Stock rom (ex. CMD1) and they would help you. After you obtained boot.img you may use A of this guide to flash it using mobileOdin.

    Backing up your Currect Kernel:
    A. If you have ROM zip of the custom ROM you're using:
    For example you're using ARHD 7.0:
    1. Open ARHD 7.0 zip file (The rom zip file you flashed in order to install ARHD 7.0) and extract boot.img.
    2. This would be the boot.img of your current rom. So keep it safe in case you wanted to revert.

    B. If you don't have ROM zip or you're stock:
    You will need TWRP recovery to perform this.
    1. Reboot into recovery.
    2. Select backup.
    3. Only Check boot.
    4. Perfrom backup.
    5. Keep the backup files safe.

    Known Issues:
    Some people are experiencing hard reboots with build 5. Use build 4, Xcstacy is working hard to fix the issue.

    Useful Programs:
    - MobileOdin: To flash firmwares, kernels, and other stuff. Very useful app for samsung devices.
    - TricksterMod: A powerful app to change kernel features/parameters.

    Starter Guide about kernel parameters/features:
    If you are new to custom kernels and want to know why should you go into the trouble of flashing one, or/and you want to learn how to start visit this guide.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone