yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] FitAmp:
Re: [KERNEL][N7][4.2.x][15 MAR] DMORE.Kernel #04

Yup :) don't need any more than that.

Also row and deadline i/o schedulers play very well with 1024, so either one of those are good

Press thanks if I helped ~ Nexus7/Rasbeanjelly/FauxKernel
[Nexus 7 Original Development] davidmore:
Build #05 Dmore kernel

New DMORE.Kernel#05 is available

following change logs from build #04

add ARM RWSEM optimization

set as default SLUB managment allocation memory Kernel as default (before was SLAB)

BFQ-v6 IO Scheduler Governor

disable CPU framework quiet governor

set/change the max active cpu cores (use Trickster Mod APP)

IMPORTANT: CPU framework quiet governor has been changed with cpu-tegra3.c hot_plug module.

Please send me feedback if battery drain and performance are improved :o
[Nexus 7 Original Development] frap129:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

I'm getting random reboots on #5.

NEXUS 7:

Unlock/Root

TruSpeed

M-kernel
[Nexus 7 Original Development] davidmore:
could you please send me last /proc/last_kmsg ? (the last info kernel file debug after random reboot)

thanks
[Nexus 7 Original Development] frap129:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

http://db.tt/9C6QYuqB

NEXUS 7:

Unlock/Root

TruSpeed

M-kernel
[Nexus 7 Original Development] gsw5700:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

#5 running well for me, no issues at all so far.
[Nexus 7 Original Development] frap129:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

Maybe I just got a bad download. I'll try again

NEXUS 7:

Unlock/Root

TruSpeed

M-kernel
[Nexus 7 Original Development] gsw5700:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

Guess it wouldn't hurt to clear both caches and fix permissions (shouldn't have to, but worth a try... )
[Nexus 7 Original Development] frap129:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

It was just a bad download, re downloaded and flashed and its working perfectly.

NEXUS 7:

Unlock/Root

TruSpeed

DMORE.Kernel
[Nexus 7 Original Development] airmaxx23:
I'll flash this again tomorrow and grab a last_kmsg, it's locking right and buzzing after a few minutes of gaming.
[Nexus 7 Original Development] gsw5700:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

No issues for me, just played real racing 3 for 30 mins without a hitch, looking great! 5
[Nexus 7 Original Development] Mahdi786:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

Hi David, I was trying to build your kernel yesterday and everything went well but at the end I got an error (bin/sh cannot find lz4), does that mean I don't have lz4 installed on my Ubuntu box and if so how would I get around that, thanks in advanced.
[Nexus 7 Original Development] davidmore:
Yes, you must have installated lz4 script on your PC.

You find lz4 repository here: https://code.google.com/p/lz4/source/checkout

or if you want download each file here: https://code.google.com/p/lz4/source/browse/#svn%2Ftrunk

remember afer compilation rename lz4demo.o in lz4.o and save it on your bin directory on your PC

Attached my precompiled lz4 for debian-squeeze X86 PC
[Nexus 7 Original Development] Mahdi786:
Re: [KERNEL][N7][4.2.x][20 MAR] DMORE.Kernel #05

Thank a lot, I will do that when I get home.

Edit: Worked like a charm, I used your precompiled one although I'm using Ubuntu it still worked, thanks a lot for your help.
[Nexus 7 Original Development] davidmore:
Build #06 DMORE Kernel

Following diff from Build #05

DMORE.kernel #06

add Thalamus Arm generic hotplug (thanks thalamus) (disabled tegra3 auto hotplug)

revert to SLAB allocation memory kernel as default

Actually i'm testing Thalamus Cpu hotplug. In Build #05 i used default auto hotplug CPU cpu-tegra3.c

I saw for example that some kernel'sdevelopers ie FranciscoFranco use Thalamus hotplug while others i.e. Metallice use default cpu-tegra3 module. There is also CPU QUIET governor that i used in the first 3 my builds but looks that battery performance aren't great.

In my tests I see that Thalamus hotplug seem have a good battery life while CPU auto HP have good performance.

If someone can explain me if there are other important differance I would be very happy:confused::confused:: It would be useful for the next build :cool:
[Nexus 7 Original Development] Makxx:
I'll give a noob's try on it. :D Would you include GPU OC in the near (I hope) future?
[Nexus 7 Original Development] frap129:
Re: [KERNEL][N7][4.2.x][24 MAR] DMORE.Kernel #06

It is already included, but David said he's working on locking it as it conflicts with some ROMs.

Nexus 7:

Unlock/Root

TruSpeed

DMORE.KERNEL
[Nexus 7 Original Development] airmaxx23:
As soon as I change the governor to touch demand my device instantly locks up and reboots on build 6. All of the other governors work fine though.
[Nexus 7 Original Development] davidmore:
Build #07 DMORE Kernel

New DMORE.Kernel release available

Following diff from Build #06

DMORE.kernel #07

- Add support USB-hostmode-charging , fast charging & Fixed installation & USB udio (Timur Mehrvarz)

- JRCU (original patch Joe Korty) (JRCU is a semplificate tiny RCU algorithm; only a CPU is dedicated to RCU read-copy-update responsability )

- Added optimized CRC32 algorithm (from Ezekeel github commit)

Actually other work in progress for more other features :silly:
[Nexus 7 Original Development] airmaxx23:
My device still locks up and reboots as soon as the touch demand governor is turned on with the latest build. Where do i get the last_kmsg from?
[Nexus 7 Original Development] sgt. meow:
From /proc. :)
[Nexus 7 Original Development] gsw5700:
Re: [KERNEL][N7][4.2.x][29 MAR] DMORE.Kernel #07

Been running DMORE kernel v7 all day, lots of deep sleep, no issues, solid and fast, please keep up the good work
[Nexus 7 Original Development] mkhtfld76:
Re: [KERNEL][N7][4.2.x][29 MAR] DMORE.Kernel #07

Same here...your kernel has been earning lots of time on my grouper. Outstanding...
[Nexus 7 Original Development] airmaxx23:
Here is my last_kmsg for the crashing I get as soon as I turn on the touch demand governor. The rest of the governors work fine, but touch demand locks the device up and reboot about 2 seconds after I enable it.

https://www.dropbox.com/s/5shbgmlwddhimd1/last_kmsg
[Nexus 7 Original Development] davidmore:
I saw the issue but I haven't found a solution :(:(; Plus i tested my device with touchdemand governor and work fine : It's a mistery for my knowlodge.

So , now i realized a new DMORE.kernel #08 release: It's a nightly/beta release that you can find on download session files.

It 's a surprise !! :cool:

Tomorrow i'll post the features.
[Nexus 7 Original Development] Makxx:
I'd love to see the new features. I've used this before and had good times with it, I just only wished for GPU OC (I'm not into linux terms/stuff, so I don't know what else to ask for :P)
[Nexus 7 Original Development] davidmore:
DMORE.Kernel#08 Features

So in this release I OverClock CPU and used default Thalamus HotPlug CPUs governor.

Following the diff from Build #07

CPU OverClock up to 1,6 Ghz (set up 1,5Ghz at startup; use tricksterMod Utility for change Max/Min freq)

GPU clock default to 416 Mhz

LP (CompanionCore) default to 475 Mhz

If this release will be stable for the next build (#09) I'll overclock GPU to 484Mhz and probably LP Companion Core.

Today i saw, in the new Franco Kernel release, that Francisco used a new Cpu governor hotplug from Mako device. (this is very interseting and I'll follow for powersafe performance in him discussion thread)
[Nexus 7 Original Development] FitAmp:
Franco now has his new hot plug driver in the grouper kernel as well :) maybe take a look at it?

It is completely written from scratch :thumbup:

Nexus 7/Rasbeanjelly/M-kernel
[Nexus 7 Original Development] davidmore:
In fact, I just look at it !!!

I'll wait to see if it'll be better for powersafe drain battery. Thalamous CPUs hotplug actually is a good compromise between performance and battery consumption.
[Nexus 7 Original Development] frap129:
Just went to download and noticed r09. Also, why was the ability to change max active cores removed

Nexus 7:

Unlock/Root

TruSpeed

DMORE.KERNEL
[Nexus 7 Original Development] Metallice:
He switched hotplug governors.
[Nexus 7 Original Development] davidmore:
DMORE.Kernel#09 Features

For me it's an it an honor hearing you Metallice: thanks for your great contribute :good:

Answering "Frap129" , yes the Thalamus module CPU hotPlug ,not improve user interface for enable/disable CPU's number;

Actually Metallice and other Kernel's developers use tegra module "cpu-tegra3.c" where there is the possibility to set up also Dual Core managment or setting max number active cpus.

So, in this way, we developers give to all our users the possibility to test different kernel's bodies :laugh::laugh:

DMORE.Kernel 09 Features

following diff from #08 build

- Enable support for changing WiFi power mode when screen-off (use TricksterMod application)

- Add optimized AES and SHA1 routines for ARM platforms

- OC GPU to 484 Mhz

- Set ROW I/O scheduler as default
[Nexus 7 Original Development] bervin:
dl link is down?
[Nexus 7 Original Development] Kevinjoa:
These kernel is very good in performance way but battery life is not that good and I cannot set the GPU frequency in trickster mod to disable 2 kernels for example. It would be really kinda nice to improve those things in the feauture and keep up your very good work. :D
[Nexus 7 Original Development] davidmore:
I agree with you for battery life: I'll work for this my issue. For Gpu setup frequency with trickster mod, actually i prefer not enable it on user interface. Some people report me that this feature give kernel crash/instability. Personally i don't know, but in any case i think that it's not important in a kernel.
[Nexus 7 Original Development] BurnRubber90:
I see you want the best battery life possible.

A friend from the One X told me that TripNRaver wrote a Hotplug driver for his One X kernel. He says it does wonders for battery life. Maybe it could be ported? Both devices are Tegra 3.

Here's Trip's github: https://github.com/TripNRaVeR/tripndroid-endeavoru-3.1.10-htc/commits/tdf
[Nexus 7 Original Development] sgt. meow:
Can I suggest Franco's hotplug ported from Mako instead? It's super awesome and really easy to integrate.
[Nexus 7 Original Development] jassycliq:
So awesome that the original creator of the code, thalamus, asked for Franco to basically erase any line that includes his name because of how much of a mess Franco had made it. ;)

Plus looking at what BurnRubber90 posted it seems as if that hotplug routine was specifically designed for tegra3. Whereas the generic hotplugging is exactly that, generic. Either way, I'll be checking this kernel out as soon.
[Nexus 7 Original Development] sgt. meow:
I know I love my kernel with Franco's hotplug. So much smoother, and I get like 3 days battery life (3-4 hours of Dead Trigger + medium WiFi usage). And I think Franco wrote the Mako hotplug pretty much from scratch.
[Nexus 7 Original Development] BurnRubber90:
Agreed. Franco made a big mess, his hot plug for N7 was causing a lot of issues.

I was just suggesting as I have tried Trips work.
[Nexus 7 Original Development] jassycliq:
Ah yes, I just checked it out. It's rather new it seems, also this line

//functions comes from msm_rq_stats
unsigned int report_load_at_max_freq(void);

msm_rq_stats is for Qualcomm chips. Not sure how much more of it is Qualcomm specific and how easy it'd be to port this hotplug routine. Anyways, before that Franco really butchered the hotplug.
[Nexus 7 Original Development] davidmore:
++++

interesting !! thanks for your help; work in progress
[Nexus 7 Original Development] sgt. meow:
Yeah I tried to look into Thalamus hotplug adding commits. I was like "This looks like a public toilet". Lucky for me the Mako hotplug is easy as pie to integrate (Thalamus was too, but it looked messy in Franco's commits). I wanted to try mpdecision but it turned out to be a massive pain in the back.

Also does Franco.kernel have any sort of hotplug interface in TricksterMOD? I am not really sure whether it should have anything like that.

And how much RAM does the N7 have in total (the exact value please)? I am trying to work out something related to the logger.

And I am not an expert but considering the fact that tegra_rq_stats is more or less a direct port from msm_rq_stats for Mako, I don't think that line really differentiates between the chips before completing its function.
[Nexus 7 Original Development] poondog:
Only thing I can answer here is that yes, franco hotplugging does have an adjusting interface in trickster:

first_level

second_level

third_level

And that is all, very creative names lol
[Nexus 7 Original Development] sgt. meow:
I don't mean to sound like a noob (I am one :D ) but what tab is it under?
[Nexus 7 Original Development] poondog:
It's under specifics I think, its the tab on the far right

Under gpu control on Franco's kernel its labelled hotplug control
[Nexus 7 Original Development] sgt. meow:
Turns out I was still using the default tegra hot plug. Another one in the makes. I forgot to disable the tegra hot plug. Hopefullr this one will be better. Thanks for helping, though.
[Nexus 7 Original Development] davidmore:
DMORE.Kernel#10 nightly test release

Many thanks "BurnRubber90" for your suggestion; I just ported

hotplug cpu governor

driver and

interctive governor

from Htc one X;

I also setted min freq to 102Mhz (before was 204)

Everyone that would like try this test release, can find "Dmore.kernel-r10-test-hotplug.zip" available on my goo.im download kernel page.

So, work/test in progress for a better battery life :confused:

I'll wait tomorrow for some feedback :cool:
[Nexus 7 Original Development] FitAmp:
Great news! :D fantastic job davidmore :thumbup:

Will test shortly

Beamed via NFC
[Nexus 7 Original Development] FitAmp:
Feels veryyy smooth, will test over night and let you know :)

Beamed via NFC
[Nexus 7 Original Development] poondog:
Is it just me or is the #10 hotplugging very similar to the stock tegra?
[Nexus 7 Original Development] sgt. meow:
@D.More

Did you port a governor (hotplug CPU governor ??) or the driver itself? I don't even know if there is such a governor, but if there is then it's absurdly different from porting the driver from the One X. At least my logic tells me so.
[Nexus 7 Original Development] FitAmp:
It may be similar, but its also quite different, I just took a look at it..

The #10 hot plug is actually quite simple. I took a look at the github given in a previous post.

Beamed via NFC
[Nexus 7 Original Development] davidmore:
Yes hotplug (on/off) Cpus is very similar to default tegra module (cpu-tegra3.c).

It just included by default the runnable threads kernel Config ; Plus, there is this funny/interesting configuration where define more runnable threads.

-static unsigned int nr_run_thresholds[] = {

+

+static unsigned int rt_profile_sel;

+

+/* avg run threads * 4 (e.g., 9 = 2.25 threads) */

+

+static unsigned int rt_profile_default[] = {

+/* 1, 2, 3, 4 - on-line cpus target */

+	5, 9, 10, UINT_MAX

+};

+

+static unsigned int rt_profile_1[] = {

+/* 1, 2, 3, 4 - on-line cpus target */

+	8, 9, 10, UINT_MAX

+};

+

+static unsigned int rt_profile_2[] = {

/* 1, 2, 3, 4 - on-line cpus target */

-	5, 9, 13, UINT_MAX /* avg run threads * 4 (e.g., 9 = 2.25 threads) */

+	5, 13, 14, UINT_MAX

+};

+

+static unsigned int rt_profile_off[] = { /* disables runable thread */

+	0, 0, 0, UINT_MAX

};

+

+static unsigned int *rt_profiles[] = {

+	rt_profile_default,

+	rt_profile_1,

+	rt_profile_2,

+	rt_profile_off

+};

I ported "cpu-tegra3.c" (switch on/off CPUS = hotplug) and inside /drivers folder the "cpufreq_interactive.c" governor CPU module.

Bots come from One X.

MY FIRST IMPRESSIONS:

- N7 performance are very good (testeted with Antutu + Quadrant)

- Drain battery in sleep mode now has improved (2% after 8 hours---> OK for me)

- Normal use: drain battery still does not be good (Cpu works often on max freq---> NO good).

there is more work to do :p:p ---> work in progress
[Nexus 7 Original Development] sgt. meow:
Oh okay.

I have my kernel with Franco's hot plugging with conservative governor, ROW I/O scheduler.

Battery life so far is fantastic. 2 hours of Dead Trigger with WiFi on and only about 6% battery drain (that is good isn't it?).

I haven't done a benchmark yet. I don't find the point in it anyway.
[Nexus 7 Original Development] FitAmp:
Although performance is good, cpufreq is kept max a lot...

Battery seems to be pretty good as well

Beamed via NFC
[Nexus 7 Original Development] poondog:
+1 with the frequency staying high

One thing I would say, does playing with the new interactive tunables change the frequencies it stays at? I'm going to try it, has anyone played with them?
[Nexus 7 Original Development] poondog:
Alright, here are my finding with playing with the tunables in the new interactive

I adjusted a few values, most noticeable was max normal freq which kept it at 1100 for a bit

Screenshots and graphs are worth a million words

For the record my usage was internet browsing including reading stuff and watching videos

Mostly reading and scrolling, I'm guessing one of the big spikes (640?) Was the videos, 340 was while it was idle

Are the interactive tunables the same as what tripnraver uses one the hox?
[Nexus 7 Original Development] davidmore:
I don't know if these value are the same of tripnraver ;

Actually i'm working on dvfs (dinamic voltage and frequency scale) + speedo.c (Maximum speedo levels for each core process) + cpu_tegra3.c modules.
[Nexus 7 Original Development] thisguy23:
Anyone notice this kernel start to lag after 5 - 10 min after boot? Apps won't even launch. Really fast before the lag though.
[Nexus 7 Original Development] poondog:
nup, all good here
[Nexus 7 Original Development] jassycliq:
I may be wrong, but from the sounds of it BurnRubber90 may have been talking about this hotplug routine

https://github.com/TripNRaVeR/tripn...ivers/tripndroid/cpu_management/tdf_hotplug.c

I'd be interested to see how it performs considering I don't have a One X to see for myself :P
[Nexus 7 Original Development] BurnRubber90:
Yep. That's what me and Jassy were referring to. We want to see how the hotplug routine works on the N7.
[Nexus 7 Original Development] ricardowec:
Sorry to ask but I would like to try this kernel if it supports usb otg and ntfs r/w. Can someone help please?.

Thanks

Sent from The Beast using Tapatalk HD
[Nexus 7 Original Development] davidmore:
Ahhhhh.... I worked on cpu tegra3 standard hotplug; In fact i reported that was very similar to the default N7 default hotplug

I just look at this "tdf hotplug" that you report ;First impression: This hotplug seems more difficult to porting on N7 but in any case i wish to try :p:p: thanks again for your help.

Usb otg is supported

ntfs supported only to read

CONFIG_NTFS_RW is not set

Next build i'll include it : thank for your report
[Nexus 7 Original Development] sgt. meow:
@DM

That's why I was asking whether you ported the hotplug "driver" or not.
[Nexus 7 Original Development] davidmore:
i'll try :good:
[Nexus 7 Original Development] ricardowec:
Would be a good thing to update the OP. Searched and read the whole thread and couldn't find a reference to it. I assumed it did support usb otg as the usb charging patch us applied

Thanks

Sent from The Beast using Tapatalk HD
[Nexus 7 Original Development] jassycliq:
Awesome. I looked into the reviews and people are reporting better battery life. I wonder how it will fair with the N7.
[Nexus 7 Original Development] prestige777:
I'm using #09 undervolted by 50 with the lagfix governer, so far it is working great with no lag. Keep up the good work.
[Nexus 7 Original Development] prestige777:
One thing that would be nice is to be able to change the number of cores on trickster with this kernel.
[Nexus 7 Original Development] farhanito:
Somehow I had no luck using this kernel on Timur's USBROM..

Tried flashing #9, Always got NFC Service FC on startup. (And com.android.phone also I think)

Clean flash doesn't seems to help either.

What am I missing?

EDIT: works just fine on CarbonROM though
[Nexus 7 Original Development] THANHVO31:
Flash Kernel #10 on talipia 4.2.2 stock but USB DAC did not work.
[Nexus 7 Original Development] azoller1:
Flashed #10 on PA nightles and its working great but had a reboot after first boot but none yet
[Nexus 7 Original Development] fix-this!:
For some reason i cannot get any overclock to stick with v9. It always reverts to 1300. Im using trickstermod to.
[Nexus 7 Original Development] davidmore:
I must search more information for this !!
[Nexus 7 Original Development] davidmore:
DMORE.Kernel#11 features

DMORE.kernel #11

Tegra Auto Hotplug from HTC one X (no more Thalamus)

New voltage Cpu G values from HTC one X

Interactive Governor CPU from Metallice's Github (thank Metallice for condivision work)

NTFS RW and MSDOS FS Support

Note:NTFS RW filesystem must be tested: Infact i saw that in all Kernels works only read feature ; Write feature on an USB Pen drive for me don't work usin USB STICK Mount (ChainFire)

(In Metallice, Franco kernel i see that there is the same situation)

Report me if TouchDemand Cpu Governor crash kernel (Actually interactvie governor work fine , but touchdemand governor is more performanced)

Sorry for my no much free time in these days !! I little bit engaged :victory::victory:
[Nexus 7 Original Development] fix-this!:
I dunno whats going on but im getting horrid battery life on v9. Stock voltage, no overclock using touchdemand.
[Nexus 7 Original Development] THANHVO31:
I got NTFS write even with stock kernel after install ntfs mounter
[Nexus 7 Original Development] davidmore:
Thanks, so i can disable CONFIG_NTFS_RW in next build
[Nexus 7 Original Development] thisguy23:
Trying 11 in 5..4...3.. Will report
[Nexus 7 Original Development] lightdesiny:
this kernel works really great, thanks for your work
[Nexus 7 Original Development] sgt. meow:
[MENTION=717330]davidmore[/MENTION]

Have you updated your source? I would really like to take a sneak peek at the HOX hotplug driver.
[Nexus 7 Original Development] tibere86:
Anyone else experiencing NFC force closes after flashing this kernel?
[Nexus 7 Original Development] lightdesiny:
no problem with nfc here, Dmore #11 + stock Android 4.2.2
[Nexus 7 Original Development] thisguy23:
As stated earlier, I want to share my experience with everyone with 11. I installed this kernel through twrp on top of latest AOKP. Using default settings it ran great! ... For a few hours. Then it started to slow! Is lagged real bad. This is basic internet browsing usage. So I rebooted the tablet and it ran great again ... For a few hours and times and repeat.

So I flashed back to mkernel all is well, no hangs.

I hope its just my tablet and everyone else is having a better experience.

Thoughts?
[Nexus 7 Original Development] Shmi117:
Sounds like a memory leak to me. Either that or your tablet (which I doubt).
[Nexus 7 Original Development] thisguy23:
So since its only when I use this kernel, is it the kernel? How could I get a definitive answer?
[Nexus 7 Original Development] Shmi117:
If the problem you are describing only occurs with this kernel, then yes, the problem lies within this kernel. If it occurs regardless of which kernel/ROM setup you use, then your tablet is the problem.
[Nexus 7 Original Development] thisguy23:
It must be with this kernel. With all the roms and kernels I've tried, this is the only one I have this problem. (Sorry)
[Nexus 7 Original Development] davidmore:
Just update sources kernel #11 on github. (sorry for my late answer: in these days i have not much free time for developer; I hope to have more free time from next week)

Interesting : personally i haven't these lags that you report. I 'll continue to test; if someone else has the same problem , please take me back :silly:
[Nexus 7 Original Development] thisguy23:
It may have been the scheduler. I'll test and report.