yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Naw man... I'm trying to figure out why a native file system isn't recognized using this kernel, as well as others. Do a search... It makes no sense that ext4 isn't supported by all kernels out of the box. Unfortunately, I spent my time making gargantuan TC themes instead of learning how to develop kernels, so to get answers, I post in the kernel thread, and since this is the only TW kernel, I gotta ask here. imnuts got it going on his VZW kernel, but what I'm hoping for is to cut out the Fat32 filesystem bull**** for switching between AOSP and TW. It's slow, old, and useless. It also has a file-size limitation, whereas EXT4 is native, insanely fast and has no file size limitation. That being said, it's clearly the best format for your SDcard, and since most (if not all) AOSP kernels support EXT4, it would stand to reason that a TW kernel should follow suit.

If you're not familiar with why this is a big deal, check the original android development section and the top roms. If you don't format your card to Fat32, you're gonna corrupt your card and deal with a ridiculous error after fixing it, at which point, you'll STILL have to format to Fat32...

I can't see this being the case with EXT4. I picked up a 64GB card and a cheap 8GB card for testing. I figure, this is Andrei's kernel and he's gone through quite a few rev's to get it where it is. Truth be told, great battery life. If he doesn't want to do anything to enable to the EXT4 module, sobeit. That means I'll take it to LOTK and for imnuts' build and hope he can direct me on what I need to do to enable EXT4 support on that.

I get it, not alot of people here run linux, but it's not too hard to set up a VM and unless your rig is old as ****, it supports virtualization. Even then, all you really need to format your card to ext4 is a bootable linux disk with a disk manager, or Gparted live. This is cakework for someone with the source built. I'm just kinda hoping he'll throwing in the next build... ****, I'll test a kernel, cuz... It's a kernel. The test card was a whopping $5 dollars so I'm more than happy to go between roms risking corruption to see if it will work. If so, EVERYONE will reap the benefits.

And for the record, regarding my previous post, I flashed carbon, and it is pretty much identical so there's more to it than simply editing the text file.
[Sprint Samsung Galaxy Note II] AndreiLux:
What the hell is this stupid drama.

ext4 is supported by the kernel, you posted the screenshot of /proc/filesystems your own self. It's actually even mounted and you're using it right now on your phone.
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Sigh... I'm sure it's on the internal, but can't be read when the sdcard is formatted as ext4. it's one of the module options man. Gotta check that ext4 box. Otherwise it shows as "unsupported file type".

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] AndreiLux:
It's built into the kernel, there is no module, so I have no idea what you're talking about.
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Gimme 2 minutes and I'll slap in the ext4 card and show you

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Having task Jen screens, it should have created the folder no?

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] DoUevenRoot:
I just played a bit more and was able to create a folder after changing the SD card to R/W, but after rebooting, the folder was gone and the card was blank. Seriously dude, I'm not sure why you'd think I'd bother posting nonsense. The last device I was on is now like 4 years old and every kernel supported the SD Card being formatted as EXT4, which is why I'm super confused as to why I'm having so much trouble here. I know imnuts has this going on his vzw kernel and am looking at compiling it for the sprint version, but from what another kernel dev was saying, it's a matter of checking the ext4 support box.

I'm just digging into this so you'll have to forgive me if I'm missing something here.
[Sprint Samsung Galaxy Note II] stoopkid:
Re: [Kernel][Mar 03] Perseus

Thanks for this great kernel. What are the changes in the new update on march 3? I didn't see a change log on the main page for this kernel.
[Sprint Samsung Galaxy Note II] ffolkes:
Re: [Kernel][Mar 03] Perseus

I believe it was just an adjustment to the color settings, which he mentions in a reply on the main thread.
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Damn dude... How many devices did you port this to?

I mean, wow...
[Sprint Samsung Galaxy Note II] ffolkes:
And 9 defconfig's I do count. :P
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

That screen looks terrible, but they're all defconfigs man, that's the point...

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] :
Re: [Kernel][Mar 03] Perseus

Damn, I bet after it settles more and I tweak a few things I can go an hr or two more! Using your latest kernel w/Synergy rom. Huge tks sir for your work here on this device!!!!!! I cant stand using a stock kernel and not being able to tweak things and experiment with it a lil. :):thumbup:

Edit: Battery must have not been calibrated ...
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Something has to be wrong here...

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] :
Re: [Kernel][Mar 03] Perseus

More stats. https://www.dropbox.com/sh/gkvw4m4fawjn2qe/NXGSYy5srh

Been at home sick and just got my note a few days ago.. This was using row scheduler @1300 max and a great signal...I have an airave and been home. :)

Sorry guys I guess my battery was not calibrated right or something. I had just gotten my device and didn't know what battery was really like. Watched movies and used the crap outa my device on these stats. Guess I should have known. :rolleyes: Still rake in 5-6.

(Edit)
[Sprint Samsung Galaxy Note II] XPinochitoX:
Re: [Kernel][Mar 03] Perseus

Only 12 hours on Perseus 33.4

I was getting 20+ hours same use on Perseus 32.1 is it me or does this kernal drain more battery

Sent from my SPH-L900 using JellyBombed Tapatalk 2
[Sprint Samsung Galaxy Note II] Skripka:
Pandora is a wakelock hog. Simply having it idle in the background eats lots of battery.

But there's no way of knowing what is going on with your battery with that one screenshot.
[Sprint Samsung Galaxy Note II] MikeyLee:
Re: [Kernel][Mar 03] Perseus

How's is everyone's battery life and which rom are you on?
[Sprint Samsung Galaxy Note II] swalter718:
Re: [Kernel][Mar 03] Perseus

I'm getting excellent battery life after tweaking CPU & GPU speeds and voltages, and minfree settings. Perseus is, hands down, the best kernel I know of for the Note 2, and the developer is always refining his work.

I'm currently running my own custom ROM based on MA7, and have had comparable results using JellyBomb, stock MA7, and NoWizMod.

* I'm Rick James, *****! *
[Sprint Samsung Galaxy Note II] MikeyLee:
Re: [Kernel][Mar 03] Perseus

Nice. Would you mind sharing the settings?
[Sprint Samsung Galaxy Note II] MikeyLee:
Re: [Kernel][Mar 03] Perseus
[Sprint Samsung Galaxy Note II] XPinochitoX:
Re: [Kernel][Mar 03] Perseus

So in your opinion its recommend to have 33.4 I know I had Pandora on all day

Sent from my SPH-L900 using JellyBombed Tapatalk 2
[Sprint Samsung Galaxy Note II] stoopkid:
Re: [Kernel][Mar 03] Perseus

+1
[Sprint Samsung Galaxy Note II] rogerandgina:
Do you mind sharing your settings?
[Sprint Samsung Galaxy Note II] swalter718:
STweaks

-CPU

1704/200MHz

1704 Step: 1350000

1600 Step: 1262500

1500 Step: 1212500

1400 Step: 1175000

1300 Step: 1125000

1200 Step: 1087500

1100 Step: 1050000

1000 Step: 1025000

900 Step: 1000000

800 Step: 1000000

700 Step: 950000

600 Step: 950000

500 Step: 925000

400 Step: 925000

300 Step: 925000

200 Step: 912500

-CPU Scaling

up threshold: 75%

-GPU

733/266

up threshold: 70%

733 Step: 1150

640 Step: 1100

533 Step: 1100

440 Step: 1050

350 Step: 1000

266 Step: 963

-I/O

deadline/deadline

internal read-ahead: 384kB

SD card read-ahead: 2048kB

+dynamic FSync

minfree values

Hidden: 53760 pages

Content: 62720 pages

Empty: 71680 pages

I use AutoKiller Memory Optimizer Pro to manage the minfree settings, but ROM Toolbox can do the same. All the other settings are in STweaks and, unless specified, the default values are used.
[Sprint Samsung Galaxy Note II] mr pnut:
Re: [Kernel][Mar 03] Perseus

Never mind....I got it
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

No problems here... trying to run to 0 to finish calibration too... maybe I'll start a movie or something.

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] Skripka:
Run the OS VPN client. It'll burn your battery a fair bit faster.

Since taking to always VPNing on my phone, I can usually run down the battery within a day.
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Imma dodat

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] DoUevenRoot:
Re: [Kernel][Mar 03] Perseus

Took this long to kill it, set at 1.8, gov on performance, running vpn, Pandora and running gl benchmark over and over from 38%

Sent from a computer masquerading as a phone
[Sprint Samsung Galaxy Note II] swalter718:
Re: [Kernel][Mar 03] Perseus

You don't normally run the "performance" governor, do you? It should only be run for benchmarking and battery tests, as it pegs your CPU speed to the max frequency. I apologize in advance if I'm telling you something you already know. I'd just hate to hear about someone frying their CPU :P

* I'm Rick James, *****! *
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

This might be a long shot and will probably get shot down but anyway you could please add Smartass V2 governor? I really like that one and kinda miss it lol. Thanks.
[Sprint Samsung Galaxy Note II] sleshepic:
Not gonna shoot ya down, but I will say it's hard to focus too much on governors other than Pegasusq sometimes. Most other Governors will all but break your scaling in comparison. Smartass2 may have been great, but i'm sure your missing it from a dif device? I have it on my kernel (which is in huge part around because of Anrei, thank you again), and I still always end up using Pegasusq. just my two cents
[Sprint Samsung Galaxy Note II] Skripka:
Thanks for the input. In the never ending quest for better battery life, some of us are curious how good PegasusQ actually is compared to some of the older standby governors from other devices. :)
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Yeah I'm not sure what good it would do for us really but it was cool. Garwynn added 6 custom governors to his kernel but I'm not sure if that's one of them. Haven't tried it yet because I really like this one and want the overclocking. I'm actually overclocking the pegasus governor and running all cores together with min max scaling and memory tweaks and getting awesome performance. Definitely happy.
[Sprint Samsung Galaxy Note II] AndreiLux:
Re: [Kernel][Mar 03] Perseus

People running other governors on this phone are misinformed, it will disable hotplug and gimp your phone. There are adapted governors out there but I won't include them either because they have no use. I specifically removed everything else so that users don't **** up their CPU scaling.

I believe in giving the users options, but only as far as they understand them. This case it's a stupid development habit XDA and the user community has picked up, where kernels throw in 10 different governors each with a single configuration altered and its name completely changed so that the devs can leave their "mark" on it.

In the end what a governor does is to change the scaling logic. If you want to do that then feel free to use pegasusq's configurables to mimic whatever governor you like.
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Never looked at it that way but it makes sense. I'm doing just that with Pegasusq and is working out great so far. Thanks.
[Sprint Samsung Galaxy Note II] jeffokada81:
Is there a repository for previous builds? Looking for build 30. Thanks.
[Sprint Samsung Galaxy Note II] budde2:
Re: [Kernel][Mar 03] Perseus

Sure this has been asked a few times but I'm not in the mood to read through the hole thread. But does this kernel help improve battery on stock rom. I used to get 18+hrs amd 7+ screen time until the Ma7 update now I get like 12 with 3hrs screen time. I love stock look feel and features and dont want to lose any of them. So im hoping this will be what im looking for. I know the only way to find out is to flash my self im just looking for other experience with it
[Sprint Samsung Galaxy Note II] budde2:
Re: [Kernel][Mar 03] Perseus

Ok I'm running this kernel and So far jt's so Smooth I hope battery is better than Stock
[Sprint Samsung Galaxy Note II] mr pnut:
Re: [Kernel][Mar 03] Perseus

Im running this kernel with stock deox rom and im getting pretty good battery life
[Sprint Samsung Galaxy Note II] jfin79:
Re: [Kernel][Mar 03] Perseus

Hey guys is there a kernel repository so I can dl the previous kernel 33.2 I believe that was the previous version for the sprint variant or does anyone have it if so could or would someone upload it or send me a pm with a link so I dl it thanks in advance
[Sprint Samsung Galaxy Note II] budde2:
Re: [Kernel][Mar 03] Perseus

So far this kernel has help my battery dramatically so im at 17 hrs with 5+ screen time with 40% battery left thanks to the dev and thoughs that help me out
[Sprint Samsung Galaxy Note II] beehiveblack:
Re: [Kernel][Mar 03] Perseus

Twice, on two separate occasions with two different downloads, this has caused me to have black screen on reboot from recovery. Any one else getting this or have any insight?
[Sprint Samsung Galaxy Note II] swalter718:
Re: [Kernel][Mar 03] Perseus

Are you using a TW-based ROM? And did you wipe the cache & dalvik BEFORE flashing the kernel?

Sent from my SPH-L900
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

S3 Perseus kernel users got an update to incorporate swap and zram. Hopefully we'll see the same. He's usually very good about everyone getting the updates.
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Cool story bro. But people in the s3 thread are saying it's enabled by default on 34.1. Plus there were audio updates as well as other new stuff on 34.1. All I was saying was it would be cool to to get the update.That's all. Which we should anyway as he usually keeps all devices up to date. Man some people.

Edit: Look I wasn't trying to be a **** or nothing so I don't want this to be taken the wrong way. I'm just an end user trying out new things to see what works best with my device. Honestly you could've written all that in Chinese and it would look the same to me lol. I understood none of that. Just hoping for an update to an already awesome kernel. My device works great with this kernel and couldn't be happier but new stuff to tinker with is always cool.
[Sprint Samsung Galaxy Note II] tpeef:
If anyone wants to play with it, I packaged the kernel I'm running with a diddled perseus.sh, which sets the inital zramdisk to 100MB and turns it on.

Download

A word of warning: This is the kernel my phone is running. It is made with a custom toolchain, many options are different than the stock perseus kernel, and there are some source code modifications in the kernel. It was not especially intended for public release. If it melts your phone, it's not my problem; however it works fine for me.

If you want to change the size of the RAM disk:

/system/xbin/busybox swapoff /dev/block/zram0

echo 1 >/sys/block/zram0/reset

# replace disk_size_in_bytes with disk size in bytes :P

echo disk_size_in_bytes >/sys/block/zram0/disksize

/system/xbin/busybox mkswap /dev/block/zram0

/system/xbin/busybox swapon /dev/block/zram0
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Thanks but I'll probably just wait for this. However do you use STweaks with yours? What do you set things with and was Perseus a base?
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Well I tried the kernel but it seems wifi got borked somehow and I couldn't get it to turn back on so that was kinda the end of it. Went back to Perseus.
[Sprint Samsung Galaxy Note II] tpeef:
Yep. Right now it's got the latest Whompasaurus flashed to it, but I've been building several kernels a day, so the kernel version is never the same for long. I do use stweaks.

I use the stweaks app to set those settings, though you can do it on the command line if you want.

Perseus isn't a "base" for this kernel- this kernel is a git clone of Perseus from a couple days ago. I patched in a few things (cherrypicked some fixes I wanted from the Linux 3.0 kernel, which is up to 3.0.70 now), but that doesn't make it a different kernel. :) If you look at the commits on the git repository for this project, you'll see that the Perseus guys have done a tremendous amount of work on this kernel, which does make it a different kernel than the Samsung release.

The zram settings on this kernel are set at the end of perseus.sh, right before it remounts / ro. The Perseus guys set this up to be called by init, so it runs at boot time (and whenever else init passes that init stage).

Presumably if the Perseus guys decide to release zram as a feature, they'll either make a pretty GUI for changing the settings (or put it on a tab in stweaks), or just make it invisible to the user by setting up an arbitrary-sized zramdisk and putting swap on it (which is what the file above does).

---------- Post added at 09:27 PM ---------- Previous post was at 09:18 PM ----------

Huh, I had that too, the first time I booted it, but now I can't reproduce the problem. Not sure what caused it.

This (and the above-mentioned change to perseus.sh) are the only changes between the previous no-problems kernel and this one. Same toolchain was used to build it.

me@ubuntu:~/kernel/Perseus-S3/config$ diff config.Perseus-S3_2013-03-21.Speef.01.01 config.Perseus-S3_2013-03-21.Speef.01.03

40c40

< CONFIG_LOCALVERSION="-Perseus-S3_2013-03-21.Speef.01.01"

---

> CONFIG_LOCALVERSION="-Perseus-S3_2013-03-21.Speef.01.03"

2866,2867c2866,2869

< # CONFIG_XVMALLOC is not set

< # CONFIG_ZRAM is not set

---

> CONFIG_XVMALLOC=y

> CONFIG_ZRAM=m

> # CONFIG_ZRAM_DEBUG is not set

> CONFIG_ZRAM_FOR_ANDROID=y

3279a3282,3283

> CONFIG_LZO_COMPRESS=m

> CONFIG_LZO_DECOMPRESS=m
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

I wonder what borked my wifi though.
[Sprint Samsung Galaxy Note II] tpeef:
Your wifi got borked because of an error in my packaging script. That's also why the ramdisk didn't get initialized. Use this one. I need to work out why the kernel isn't seeking its modules correctly, but it's kludged around for now (by having two copies of the modules in the modules tree, so the package is a little larger).

New version fixing both problems-> Download

Edit: I think the reason it was not finding modules is that I was assuming that I knew how modprobe works based on prior experience with modprobe; however, I am using busybox's implementation of modprobe, which is a little different! My busybox was compiled with MODPROBE_SMALL, which changes its behavior a bit. It may actually be a lot more portable to include two copies of the modules, so people with linux modprobe, busybox standard modprobe, and busybox modprobe_small can all use it. Maybe I'll call my kludge a "portability feature" now. ;)
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Yeah it's good now. Thanks. I was gonna say you should start a thread for it but then you'd have hundreds of people up your but with questions about it lol. Nonetheless good work.
[Sprint Samsung Galaxy Note II] tpeef:
This really isn't my work except for handpatching in a couple commits out of the linux 3.0 patch tree- I didn't even add zram support, the Perseus team did.

And thank you!
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Geez!
[Sprint Samsung Galaxy Note II] AndreiLux:
Re: [Kernel][Mar 03] Perseus

Not to sound snarky, but a team usually consists of more than one person :)

Well I don't mind people forking the kernel but you should at least point out who you are on Github so the sources are public, else the GPL monsters will come after you too eat you up.
[Sprint Samsung Galaxy Note II] tpeef:
Ha ha, sorry. I said "Perseus team" based on the number of people who had commits. Thank you for a neato kernel, by the way- it is running verra nicely.

I made it for private use, so I wasn't thinking of it as a fork... but now that there's a download link, I guess it is :p. There's nothing in that "fork" that isn't Perseus with commits from linux-kernel though.

If you would use the pushes, I might grab a fresh clone and start submitting pushes to patch the whole tree up to 3.0.37....38....39...and eventually 70 :P It's a PITA because it's got to be hand-patched, and so many of the patches are not relevant to our hardware platform. This would eventually square me with the GPL gods and then some though, hehe. :)
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Do you guys think our device could handle more than 1.8ghz? Not that it really even needs it. Just wondering it it could be pushed a little further. :D
[Sprint Samsung Galaxy Note II] tpeef:
It would not be hard to add that support to the kernel.

Whether the hardware is able to obey is another question (need to look at the Samsung data sheets and then actually try it).

Whether the hardware will be stable at higher speeds is a third question.

Whether you could actually melt anything is a fourth question... Given our dynamic CPU frequencies, you could in theory successfully overclock way past the safe point, since your software governor only has the CPU running on the top notches for short time periods. You test it, it works, you declare success, and then you get a buggy app (or a benchmark app) that pegs all 4 CPU's for 5 minutes, and your phone actually sustains heat damage before it locks up.

The numbers needed to try this appear to be on page 5-5 of the Samsung datasheet.
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 03] Perseus

Sounds dangerous lol. Maybe we should leave it alone. Also on your kernel version the flexrate settings under cpu scaling on stweaks doesn't seem to stick when you set it. Which is probably not a big deal. Just thought you should know.
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 24] Perseus

Thanks. Working nice!
[Sprint Samsung Galaxy Note II] Chaz187:
Re: [Kernel][Mar 24] Perseus

Thanks for such a great kernel.....

Sent from my SPH-L900 using Xparent Green Tapatalk 2
[Sprint Samsung Galaxy Note II] MikeyLee:
Re: [Kernel][Mar 24] Perseus

Is the update to the TW kernel?
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 24] Perseus

Yes but there will likely be a 34.2 to address eq issues that users were having on the other notes.
[Sprint Samsung Galaxy Note II] swalter718:
Re: [Kernel][Mar 24] Perseus

There's a lot more to improving the performance of your device than clock speed. You're just asking for a brick by trying to push the processor past its limits.

Sent from my SPH-L900
[Sprint Samsung Galaxy Note II] t4d73:
Re: [Kernel][Mar 24] Perseus

Nah I'm good lol! This thing doesn't need anymore speed at all imo.
[Sprint Samsung Galaxy Note II] tpeef:
Samsung originally released that chip for use at 1400 MHz, too. I don't doubt that we could get it to do more, but "could" and "should" diverge here.

(Based on thermal levels at 1800, I may try 1900 on my phone, but I am not going to release code or compiled kernels for that side-project due to the danger to peoples' hardware.)
[Sprint Samsung Galaxy Note II] spotopolis:
Oh man! This latest update is awesome! "Applied a requested patch which allows PCs to be booted off from the phone storage.".

Going to put that to use!