yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy Note II] imnuts:
Here is a custom kernel based on the latest GT-N7100 sources for the Note 2. I've taken a lot of stuff out, so if you like playing around with changing 500 things on the kernel before you start using your phone, look somewhere else. It pulls in Beoffla Sound and Simple IO Scheduler and removes as much debugging stuff as possible, non-default CPU and IO schedulers, and Ext2 Support (Ext4 handles Ext2/3). I've also gotten rid of recovery over-write on boot and enabled adb root by default.

There is no overclocking support, overclocking is useless unless you're pumping up your e-peen. There is no undervolting support as it hasn't been shown to do anything useful on multi-core systems from everything I've seen. There is no init.d support as 90% of the init.d scripts are useless. It will continue using stock boot animations as well, though I'm sure it wouldn't be to difficult to make stock android boot animations work. That may even be possible without any kernel changes anyway.

The only issue I've run into is that exFAT SDcards may not work with it. I've been trying to figure out why, but it is slow going when I don't have an exFAT card to test with. If anyone would like to help fix it, flash and get me full dmesg and logcats. If you don't know how to get those, but still want to help, see my SDK Guide for a general overview of what to do.

This kernel is built for TouchWiz ROMs, and should work on any available VZW ROM currently available. It works for VRALJB, VRALL4, and VRAMC3 from my own testing, let me know if you have issues on a TW ROM and I may be able to fix it. For a download, see below. I also am not posting in original development because IMO, that entire forum is useless and confusing.

[size=+2]

Change log

[/size]

0218

Initial Release

0304

XZ Compression

No worrying about exFAT (for now)

Attempt to get rid of hot boots or full reboots that some people experience.

0330

Drop Voodoo Sound, go to Boeffla Sound

Increased SD Card read ahead for better performance

Enabled Car Dock Charger support

0404

Actually enable the car dock charging support this time

Try and fix the lockups after long (>2 day) uptimes

0408

Insignificant Config Change

Build for many new models

0418

Color Control

0419

Make it so STweaks works, so you can use the new color controls

0519

Update sources and ramdisk

0726

exFAT support

[size=+2]

Known Issues

[/size]

My Bank Account Balance

XDA:DevDB Information

PeanutButta Jelly, a Kernel for the Verizon Samsung Galaxy Note II

Contributors

imnuts, Samsung

Kernel Special Features: Bare Bones, No Frills, Set it and Forget it

Version Information

Status: Stable

Stable Release Date: 2013-07-26

Created 2013-07-30

Last Updated 2013-07-30
[Verizon Samsung Galaxy Note II] imnuts:
[size=+2]

FAQ

[/size]

I get a "Status 7" error when trying to install, WTF?

Update your recovery. TWRP that is flashed via the unlock method does not process asserts properly (it was compiled for a different Note 2 model). This is meant to keep people from flashing this to the wrong device.

My exFAT SDcard isn't working :(

See the OP, I need info to get exFAT to work properly. Until then, format your SDCard to FAT32

Where are all the options?

You can't read, I already said there are none. This is flash and forget it.

This is the best thing since sliced bread, can I make it rain?

Click the DONATE TO ME button to the left, or click here, it's appreciated, but not expected. Clicking thanks on the posts also works.

This thing is worse than Tub Girl, how do I go back to what I had before?

Just reflash your old kernel. If you were on stock before, I've posted the stock kernels at the end of this post.

I'm having a problem, FIX IT NAO!!!1!

Send me both the output from dmesg and logcat as well as details of what you do when you see the problem. Otherwise, the source is linked to below, fix it yourself.

Can we get XYZ feature added?

Link to it, and I'll think about it.

[size=+2]

Download

[/size]

0726 Build

0519 Build

0419 Build

0408 Build

0404 Build

0330 Build

0304 Build

Original Release

[size=+1]

Downloads for Other Carriers

[/size]

AT&T Note 2 (SGH-I317)

International Note 2 (GT-N7100)

International Note 2 LTE (GT-N7105)

Sprint Note 2 (SPH-L900)

T-Mobile Note 2 (SGH-T889)

US Cellular Note 2 (SCH-R950)

[size=+2]

Source

[/size]

Github

[size=+2]

Stock Kernels

[/size]

VRALJB

VRALL4

VRAMC3
[Verizon Samsung Galaxy Note II] ahjee:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Dude no lie...I was thinking to myself last night that I wish this kernel was available for our phone. Your kernel for the GNex was the best thing to have been on my GNEX. Downloading then flashing immediately. Thanks imnuts
[Verizon Samsung Galaxy Note II] hopesrequiem:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I'm on stock deodex vrll4 and flashing this right now. I trust your work. Finally someone who agrees that overclocking is useless.
[Verizon Samsung Galaxy Note II] don juan's:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Downloading now
[Verizon Samsung Galaxy Note II] hopesrequiem:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Flashed fine. Charging to 100% then ill report back once I drain it. Feels nice and smooth though. Better then straight stock from what I see thus far
[Verizon Samsung Galaxy Note II] kintwofan:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Yes! Peanut Butter jelly time. ... I've missed this since the charge days!
[Verizon Samsung Galaxy Note II] toby1064:
Creamy, not chunky. Aw yeah.

Like a boss.
[Verizon Samsung Galaxy Note II] BeansTown106:
looks pretty good would u mind if i modify the ramdisk and add init.d/bootanim support and have it as an option in my rom?
[Verizon Samsung Galaxy Note II] imnuts:
Go for it
[Verizon Samsung Galaxy Note II] JetBlue:
After flashing I no longer have haptic feedback? I checked my settings and it's enabled yet nothing happens.
[Verizon Samsung Galaxy Note II] kintwofan:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Did you wipe cache abs dalvik cache and fix permission? My hepatic is working great oh and by I missed voodoo. ... my funk station sounds amazing
[Verizon Samsung Galaxy Note II] WizeGuyDezignz:
Hopefully this isn't a sore subject, but will this work fine on the Jedi ROM which is built on an international base?
[Verizon Samsung Galaxy Note II] imnuts:
I would think that it should work on any 4.1.x TW ROM, but I haven't tested it out. Do you know what kernel is used on that ROM?
[Verizon Samsung Galaxy Note II] kintwofan:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

He uses his saber kernel which is built off the International as well
[Verizon Samsung Galaxy Note II] imnuts:
Well, this is built off of the N7100 sources, so I would think it would work.
[Verizon Samsung Galaxy Note II] BeansTown106:
thanks bud
[Verizon Samsung Galaxy Note II] evolishesh:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Why I keep getting failed when I try install this kernel with twrp? I downloaded the kernel twice, and still same error
[Verizon Samsung Galaxy Note II] kintwofan:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I bet it says status 7. If You read the OP it says you need to update your recovery.
[Verizon Samsung Galaxy Note II] evolishesh:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

In have the latest twrp. Well I think! Let me update. Thanks
[Verizon Samsung Galaxy Note II] chakra:
Um you should be thanking Imnuts this is his thread.
[Verizon Samsung Galaxy Note II] runandhide05:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Does this kernel support otg
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I'm having problems with voodoo sound on this kernel. The headphone amplifier slider is not working with or without smart amplifier enabled. But it's working if I use Saber kernel or Perseus (using stweaks settings). I had to switch to Saber since I need the amplifier setting to make the volume lower than the default allows.
[Verizon Samsung Galaxy Note II] jdmoorman:
status of exfat support?

I'm confused about the status of exfat support.

Does the current version support exfat or not?
[Verizon Samsung Galaxy Note II] droidstyle:
no its not...you need to format to fat32.
[Verizon Samsung Galaxy Note II] ffuser1:
kernel is great with battery life. similar to when i used apps like juice defender / deep sleep battery saver, but without the hiccups. i keep checking this thread for updates but it works perfectly as is. keep up the good work.
[Verizon Samsung Galaxy Note II] trapperjohn:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Hi,

Curious in the op it says exfat does not work. So would you not have to format to fat32?

Thanks,

Bryan
[Verizon Samsung Galaxy Note II] droidstyle:
if exfat does not work then you have to format to fat32. sorry if my last post was confusing...thats what happens when i type on the fly.
[Verizon Samsung Galaxy Note II] trapperjohn:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Not a problem. ..

Thanks,

Bryan
[Verizon Samsung Galaxy Note II] imnuts:
I've been meaning to look at the code for Saber and Perseus and compare it to mine for Voodoo Sound, just haven't had a chance to do so yet.
[Verizon Samsung Galaxy Note II] droidstyle:
hey just wanted to report that there may be a memory leak in the kernel. My device will almost max at 1.72gb of ram usage after 200hrs of up time. Now Im in no way complaining, but I wanted to see how long I can go before the device locks up. it was exactly 236 hrs of up time then the device locked up, ram usage was almost maxed. tried pulling a kmsg and same thing as last time. so yea this probably means nothing. However if I flash back to the stock kernel the ram usage never exceeds 1.2gb after 200hrs up time. wish I could get ya some useful info...I don't think anybody else has mentioned anything because most reboot or flash something well before 200hrs. Also I believe that's when my sod happened. Its not really a big deal as I don't have a problem rebooting every couple days, just thought you might find this interesting.
[Verizon Samsung Galaxy Note II] imnuts:
I'll see what I can do to replicate this. I was at about 3 days a little bit ago, but just flashed my ROM update.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I appreciate the follow-up knowing how busy you stay trying to keep up with all your threads.

By default the Note has only 8 steps in the volume making the changes in volume pretty big. If I use a sound app from the play store it changes to 15 steps which is better. I looked into mods to make more steps, say to 30, but the one I found doesn't work on the Note. Smart Amplifier in voodoo sound pretty much gives infinite steps. But it needs the amplifier to work, to enable the Smart Amplifier feature. Not trying to make this a big deal, it's not. Just giving some background on it.

I'll do a little more testing to see what does and doesn't work with Voodoo Sound.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once

---------- Post added at 11:39 PM ---------- Previous post was at 10:58 PM ----------

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Ok I'm officially frustrated (with myself)

I went to test voodoo sound and everything was working, headphone, amplifier, smart amplifier, bass boost, etc. I looked in trickster to make sure I was on this kernel and I was. But to be double/double sure I flashed it again with a freshly downloaded file, and now it's not working again.

Based on this I have to say it's not the kernel but something kooky with my setup.

Just for reference this is all with Clean ROM ACE. Guess I'll try a clean install of something.

---------- Post added at 07:28 PM ---------- Previous post was at 06:47 PM ----------

One more thing. The N2 has 8 volume steps for notifications and 15 steps for media playback.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Hate to keep replying to myself but...

I installed TWZ Tweaked after a full wipe (cache data system) and flashed PBJ. No restore from backup of anything. Only a couple things installed from market. Pandora, Voodoo Sound, Apex launcher. No sound apps installed besides Voodoo Sound.

I'll leave out the little side trip down getting stuck in 'reboot from hell' and jump to Voodoo Sound didn't work. Flashed Saber kernel and it works. Flash PBJ and doesn't work. I tried some other things to try to isolate the issue but in the end it was works with Saber, doesn't work with this kernel.

It's now happened on both Clean ACE, and now on TWZ Tweaked. It also happens in both Pandora and in Play Google app.
[Verizon Samsung Galaxy Note II] nnnnr14:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

PBJ kernel doesnt support voodoo sound.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Actually it does. It's in the first paragraph of Imnuts 1st post.

Posted by imnuts on the 20th:

"I've been meaning to look at the code for Saber and Perseus and compare it to mine for Voodoo Sound, just haven't had a chance to do so yet."

======================

Also if you open voodoo sound it shows that it's a supported kernel.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

Read twice, flash once
[Verizon Samsung Galaxy Note II] jdmoorman:
Voodoo Sound works for me

Voodoo Sound works for me on PBJ, CleanROM VZW SE 1.5

Neutron Music Player also works very nicely, playing 24/192 HD FLAC files.

Voodoo Louder does not work, however.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

If you change the headphone amplifier slider does the sound get louder/softer? That's what it's broken for me.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once
[Verizon Samsung Galaxy Note II] jdmoorman:
With headphones plugged in, moving the headphone amplifier slider has NO effect.
[Verizon Samsung Galaxy Note II] littleguevara:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I know your gpu took a sh*t on you nuts but I wondered if you planned to fix battery stats resetting after a reboot?
[Verizon Samsung Galaxy Note II] imnuts:
No idea what you're talking about here. The battery stats aren't kernel controlled, and I've rebooted several times on my ROM/Kernel without the stats being reset. I'm going to need more info before I can even begin to try and "fix" the problem
[Verizon Samsung Galaxy Note II] littleguevara:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Maybe I'm just crazy, but I get a hot reboot when I get this call from 1 certain number. From there the "gsiff daemon" starts going haywire. I've noticed the battery stats get reset that way. I apologize if it's not kernel related at all. I just have no idea how to pinpoint it.

I've downloaded a logcat app but like I said its only happened when I get a call from 1 number. Once I've pulled the log I'll upload it. Thanks for even looking into it if you can
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Then Voodoo Sound (at least that part of it) is not working.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once
[Verizon Samsung Galaxy Note II] BennyJr:
A hot reboot will mess with the stats sometimes.
[Verizon Samsung Galaxy Note II] auzzybear31:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

It says extFAT cards wont work, is that the same ad FAT32 cards?
[Verizon Samsung Galaxy Note II] nnnnr14:
no
[Verizon Samsung Galaxy Note II] hugeyeti:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I come from jellybeans ROM v.12. I have TWRP already installed; if applicable, how do I avoid a "Status 7" error if I install this pjb kernel? I plan to use the Meanbean ROM with pjb so any input is greatly appreciated from veterans and expert integrators. :)
[Verizon Samsung Galaxy Note II] kintwofan:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Be in the latest TWRP
[Verizon Samsung Galaxy Note II] bulabone:
It does work dude.. just give it time, it will start working on its own... i have no idea what makes it start working but all i know after a fresh flash, its working within 24 hours:good:
[Verizon Samsung Galaxy Note II] littleguevara:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Post #2 man
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

I'll test this on mine, see what result I get.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once
[Verizon Samsung Galaxy Note II] imnuts:
I compared all of the sound related files between my source and Saber Kernel, and while there were a couple differences, there wasn't anything that should be causing Voodoo Sound to not work. I need to look at it closer then. I'm also going to compare it with some other sources then as well, see if I can find something.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Thanks for working on this.

I flashed PBJ to see if voodoo will start working on its own per bulabone's post above. If you need me to try anything let me know.
[Verizon Samsung Galaxy Note II] dawiseguy77:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Was wondering if you were considering adding this boeffla sound that other kernels are implementing over voodoo? :D
[Verizon Samsung Galaxy Note II] imnuts:
I made one change to Voodoo Sound, looks like headphone detection may have been messed up. Changed it to the same as Saber kernel. It looks like Boeffla Sound may replace Voodoo Sound then as well. Has similar features but is newer and seems to have a nicer configuration app. AFAIK, all Voodoo Sound code is at least a year old.
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][2-18-13]PeanutButta Jelly

Took a quick look at the features of boeffla. Looks good.

Active development = good

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

<><><><><><><><><><>

Read twice, flash once
[Verizon Samsung Galaxy Note II] imnuts:
New build up, change log is in the OP. I tried to update the toolchain I compile with as well, and everything worked great except for the camera. Going to try again later, but you can enjoy the other changes now.
[Verizon Samsung Galaxy Note II] DroidOnRoids:
Thanks for the new release, imnuts. Question though. MeanBean uses init.d for his CPU/wakelock control and your kernel does not support init.d. Is it safe to say your kernel will not cooperate with MeanBean? Thanks.
[Verizon Samsung Galaxy Note II] imnuts:
That would be correct. You'd need to repack the kernel with init.d support added.
[Verizon Samsung Galaxy Note II] DroidOnRoids:
Okay, thanks. Unfortunately, I'm still learning Linux so that procedure is far beyond my level of tech skill. But I did find on XDA a thread that adds init.d support using apk's, etc. for any phone. Is it safe to use on your kernel? I assume so, but I want to make extra sure.

Thread link: http://xdaforums.com/showthread.php?t=1933849
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Imnuts did you ever compile a kernel with the changes you found for voodoo sound?

I've spent some time with the boeffla sound control app. The volume gain features work but others do not. Mono down-mix, speaker tuning, the EQ, and bass frequency tuning, don't appear to work. (For me) Stereo Expansion does work as do the DAC control features.

I'm really supposed to being doing something else so I will have to come back to this later.
[Verizon Samsung Galaxy Note II] DroidOnRoids:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Okay the app did give this kernel initd support. Everything is functioning properly. Glad to be back on tasty PB&J.

Sent From My Galaxy Note 2
[Verizon Samsung Galaxy Note II] imnuts:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Yeah, but it didn't do anything. I haven't played around much with Boeffla much yet, so I'm not sure what works and what doesn't. I do know that with voodoo sound, it could do anything for the speaker, so I don't know if this is the same or not.

Sent from my Galaxy Note 2
[Verizon Samsung Galaxy Note II] ezas:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

I think I'm going to do a clean install of a new ROM (meanbeans) today so I'll give boeffla another whirl.

Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate

Read twice, flash once
[Verizon Samsung Galaxy Note II] DroidOnRoids:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Remember this kernel does not have initd support. You need to add it in so MeanBean can function properly with this.

Sent From A 5.5 Incher
[Verizon Samsung Galaxy Note II] ahjee:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

What doesn't function with it? I haven't noticed any features not working but maybe I just haven't noticed lol
[Verizon Samsung Galaxy Note II] DroidOnRoids:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Mike's script controls the CPU onscreen and offscreen and other various things.

Sent From A 5.5 Incher
[Verizon Samsung Galaxy Note II] ahjee:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Hmm I haven't noticed a difference since flashing the kernel. I need to add init...
[Verizon Samsung Galaxy Note II] stueycaster:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Thanks for posting the stock kernel on the OP Imnuts. I've discovered it's the only one that doesn't freak me out. Voodoo Sound bass boost still doesn't work for me (it never has), the Boeffla equalizer doesn't work and I don't feel a need for overclocking or undervolting. I guess I'm just a stock kinda guy.

I use Poweramp and find that it works flawlessly. Using it I can make music from my phone sound awesome.
[Verizon Samsung Galaxy Note II] imnuts:
I looked at the script that is included, and it does next to nothing. The few changes meant to affect battery life won't do much of anything, and IMO, the only time you'd see a difference is if something was screwed up anyway.

You can just leave Boeffla off and that will have the audio output be the same as stock. Also, Voodoo Sound won't do anything with the latest version seeing as none of the code is in place anymore for it.
[Verizon Samsung Galaxy Note II] stueycaster:
I tried the 3-04 kernel and some of the Voodoo settings worked. It's just the bass boost has never worked on Voodoo Sound for me. I tried the 3-30 kernel and some Boeffla settings worked except the equalizer.

I have an equalizer called AnEq that's ok to use with Pandora. It's only 5 band though and has no wide stereo setting. I've never found a good system wide music enhancer that really works.
[Verizon Samsung Galaxy Note II] icedventimocha:
Re: [KERNEL][TW][3-30-13]PeanutButta Jelly

Equalizer is working just fine for me. You have to select where you want them, and then set them. It doesn't adjust the eq until you back out of the settings.

If you want major audio controls try JetAudio. Free version has a 10 band eq, paid has 20. Plus preamp and other effects.

Sent from my Galaxy Note II