yashsingh1/xdaforums huggingface dataset:
[HTC One X+] maxwen:
Anyone who still has the "desire" to test unstable kernel :D

please try this

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201305221146-2.img
[HTC One X+] Ranomez:
Tested it for about 2h and I can see 3 odd things: my phone moving better, games that oddly took me around 1 min to load now load verry fast (aralon hd and nova 3) and the scrren won't turn off by it's own, I can let the phone stiting there for 10 mins and the screen just won't turn off?
[HTC One X+] maxwen:
oh ... in the need to fix the turning it on I may have derped

the opposite now :)

thanks for the feedback will take a look

EDIT:

Hm - mine turns off just fine after the screen timeout

can you try a reboot and without starting any apps/games?
[HTC One X+] Ranomez:
Still the same, left the phone sit there for 3 mins and it didn't turn off, didn't start any app except for those that start at startup (swapps, lmt, floating notifications, and i think the xposed installer and the modules I have enabled)
[HTC One X+] maxwen:
quick try fix

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201305221146-3.img

if this doesnt help - can you get me a log?

set the screen timeout to e.g. 15s and after that time collect the logs
[HTC One X+] Ranomez:
Screen turns off now, didn't test performance or anything else yet.

EDIT: Used the phone a bit and then left it in the room and went to an other room and when I come back to the room i clicked on the power button to use the phone and realised that my phone is booting.....seems like it stoped while I was not in the room....

EDIT2: Forget that, my phone turned off cause of low battery, lol, sorry for the flase alarm, it's late here and I'm sleepy, I should go sleep.....also I just realised how confusing my old edit is and that I sayd "room" too much for one phrase.
[HTC One X+] maxwen:
nice :)

now go to sleep :D
[HTC One X+] Ranomez:
Sure will do, but first I have to say that with this kernel i have some lag on the lockscreen (i drag the circle to unlock but it takes about 5sec for the phone to unlock and also the animation when dragging up/down the locker part seems to lag in the middle, and so does the animation when sliding screens......preety odd if you ask me, but yah, that may be me cause I'm having 500+ apps (and games) installed, will do some "advanced" testing tomorow, I'l be sure to try whatever comes into my mind.
[HTC One X+] maxwen:
hm - would surprise me that only a different kernel would cause this

this is actually more a ROM issue - is this all the time and not only

after a reboot?

What I saw is that after a reboot android takes a long amount of time

until its "done" with its startup shizz and during that time everything

is unresponsive :)

Enable the "Show CPU info" overlay in settings - developer options

and check the CPU usage when you experience this
[HTC One X+] Ranomez:
Well, the unlock delay is gone after a reboot, but the page sliding lag is still there, if I switch back to the kernel included in the latest rom no lag, also the lag is something like: at half the animation gets stuck and 2sec later the page is changed.
[HTC One X+] maxwen:
can you explain again to me what you mean with "page sliding"?

thanks
[HTC One X+] Ranomez:
Sliding to the left or right on the lockscreen, to the camera or widget, when I do that or drag up/down the locker par the animation gets stuck at the middle and after 2 sec it;s like it finished.
[HTC One X+] maxwen:
hm - I dont have this issue

what things do you have on your lockscreen?

do you use a lockscreen ribbon?
[HTC One X+] Ranomez:
Slider shortcuts on all parts, yes, I use a ribbon, use transparent lockscreen, widget carousel, all widgets and unlimited widgets, widgets I use: calculator, gmail, messages, cLock, NILS, also have active longpress actions.
[HTC One X+] maxwen:
well - this video changes cause too much strange issue

so I will revert them now and provide an updated kernel later

thanks to all for the support of testing this
[HTC One X+] maxwen:
and the problem doesnt happen with latest official kernel?
[HTC One X+] maxwen:
ok here we are back again with stock video drivers

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201305261540.img
[HTC One X+] Ranomez:
No, and also tested it and also doesen't happen with the test kernel before this test kerne (the one where the screen wouldn't turn off by its own).

Edit: also seems like now that I redownloaded that kernel the screen turns off, strange.....maybe the old download was a bad download.
[HTC One X+] maxwen:
ok thanks - would be awesome if you try the kernel I just linked

above if it is again ok with this so I know that we can

have a clean start from this
[HTC One X+] nchantmnt:
don't really have the time right now to get too much into this (planning my own wedding...3 weeks left) but am still curious:

what advantages should the test drivers give us?
[HTC One X+] yama84:
Thanks, now my battery last longer with this kernel.
[HTC One X+] maxwen:
that is nice but I doubt the kernel is the only reason for this :)
[HTC One X+] Ranomez:
This is what I am using now, great performance, no lag, no bugs, no reboots (except those caused by me running out of ram when I open too many apps), also after a day of using it I saw also an improvement in battery life, maybe not related but even so ended up with 75% battery full after a day.

That works ok, but again nova3 and other games take a long time to load.
[HTC One X+] maxwen:
well - the decisions is made against the video driver changes

they cause too much "strange" issues right now I dont want to bother with

Maybe at a later point I will give them a new try
[HTC One X+] maxwen:
OP updated to latest build

Time to "stabilize" before changing too many things :)

Some more words on the new GPU OC interface

By default now there is NO GPU OC anymore!

So the default values are now the same as on stock

You can specifiy the GPU frequencies in MHz for every core voltage

because of the GPU CPU coupling of the tegra chip it will use the

frequency that is possible at the current core frequency

The core voltages are (1350 is not used)

950, 1000, 1050, 1100, 1150, 1200, 1250, 1300, 1350

Basic usage is

Get current GPU frequencies (in MHz)

cat cat /sys/kernel/tegra3_dvfs/gpu_oc
200 267 304 361 408 446 484 520 600

Set GPU frequencies

You MUST always provide ALL frequencies (9)

Maximum frequency is 600MHz

Using too high voltages can freeze your device!!!

echo "200 267 380 492 528 564 600 600 600" > /sys/kernel/tegra3_dvfs/gpu_oc

To make it easier there is a "quick oc" switch which will set

"predfined" OC values that I have tested and "should" work :)

"quick oc" switch

echo 1 > /sys/kernel/tegra3_dvfs/gpu_quick_oc

will set the values to 200 267 380 492 528 564 600 600 600

echo 0 > /sys/kernel/tegra3_dvfs/gpu_quick_oc

will reset to the default 200 267 304 361 408 446 484 520 600

UI support in PerformanceTool will be added soon
[HTC One X+] Ranomez:
New thing about those kernels using the updated drivers, after doing a clean install and restoring with titanium both of the 2 kernels you posted work allright and no more lockscreen lag or any other thing for me, that's odd.....perhaps for me it was a problem caused by some app, but still don't understand as I still have all the apps I had then.
[HTC One X+] :
[MENTION=4683552]maxwen[/MENTION]

I know how you enjoy my hardcore tweaks! :p

I figured this suspend/resume stuff was just a waste of time since I'm preventing cpu_up when the screen is off. Seems to work fine. Tested for deep sleep, and tested with music, tested with charging... all good.

I just wanted a second opinion. Does it seem sane?

(Github was down hence the patch, but it is back up now: https://github.com/bedalus/hxore/commit/e946c52ba0bfced2a3e79e023c82d6a36d9a3691)
[HTC One X+] maxwen:
do you know that tegra_pn_notify is only used when going - resuming

from deep sleep - so NOT on screen on/off?

if it causes no issues there then it seems that you can disable

the freq "stuff" there - but TBH I never tried that so far :)
[HTC One X+] :
Nope, didn't realise that. :o

But... Just had a SOD! So obviously that tweak needs work.

I'm seeing a lot of examples in my kernel logs of it going into a deep sleep then immediately waking up milliseconds later. So I'm trying to prevent unnecessary code execution. I'll try some other ideas too.
[HTC One X+] maxwen:
that is actually intended behavior :)

this is caused by wake locks
[HTC One X+] :
Oooh yeah, that makes sense. But it sort of seems like the order is wrong. Why bother capping the frequency before checking for wakelocks?
[HTC One X+] aardappel12:
Just had a crash, hope there's anything useful in the logs!

Currently on latest kernel and latest aokp with the dalvik fixes

http://db.tt/eaxdMS6s
[HTC One X+] maxwen:
nice - thats a new one :p

thanks
[HTC One X+] PippoX3:
Hi MaxWen, phone freeze during sliding photogallery. Here my logs... I'm thinking to come back to boot-BLADE-42-201305062233, was the last kernel used, before display/drivers changes... most stable. Hope to help you. :o
[HTC One X+] maxwen:
do what you want to do :)

but all those changes have been reverted already so it will not have any diff there
[HTC One X+] PippoX3:
You're right... I flashed new pre-build 2013_06_01 with its kernel 2013_05_28. I hope to help following the project grow... :p
[HTC One X+] Ranomez:
DELETED, I was purely stupid.
[HTC One X+] maxwen:
if you havnt read it in the CM10.1 thread

I stop supporting CM starting with the next release of this kernel

So there will be no boot images for CM anymore for new releases

Of course you can always repack using CMs ramdisk

but you now need to take care of the modules part

so you must always flash modules separately else you will

loose wifi and radio

I am sure if there is need for it someone will write a tutorial

how to do all off this correctly :)
[HTC One X+] Lloir:
:P
[HTC One X+] maxwen:
I am pretty sure it will not be that bad :)
[HTC One X+] I_3:
Does this kernel support fast charge? In the change logs, it is few times mentioned, but when I tried the fast charge app from Market, it reports that the feature is not supported by Kernel. Do I need to enable it somehow? If yes, could someone please provide me instructions?

Thanks

EDIT: Never mind....found the instructions...trying to enable it now. Hope it will work...
[HTC One X+] maxwen:
all it does is to "fake" a AC device

if heavily depends on your USB port how much charging current it

will allow compared to a "normal" USB connection
[HTC One X+] I_3:
I "need" it fro my external power pack battery...It should give 2A, but phone was obviously not taking that much, because if I was running some little more heavy app, it would not even keep it, just slow down discharge...

Now tested with the fast charge and I can charge from that power pack while running the app...so it is working well...
[HTC One X+] maxwen:
OP updated for latest build 201306091244

Dont use this kernel with CM10.1 at the moment!

Should work for all others AOSP based 4.2.x ROMs

The kernel module syncing is now done in the ramdisk so you

should not have issues with radio.

Tested only witj "my" AOKP rom so please report if you

are using a different ROM and have issues - thanks
[HTC One X+] Aust S5:
Maxwen I'm getting some great standby time with this latest kernel. So far no memory issues and BT seems to be streaming fine. Great update!
[HTC One X+] Stephen:
Hey managed to get all the logs for you. Odd thing is when I make a call I can hear the button sound through the speakers. It is on Bluetooth audio at this point. It then disconnects and goes back to radio. Then when the phone call happens it goes to the internal speaker. If I leave it alone it stays on internal spkeaer. If I select Bluetooth it then goes to the car perfect.

In sense roms if I select the Bluetooth speaker it only on a very rare occasion goes to the car speaker. Ideally I would love to know how to fix this on a sense rom, but if you can get it working on osap I will be more than happy!

For the logs I made a normal call, then another call selecting the speaker.

Ghost
[HTC One X+] aardappel12:
You could try setting up Tasker to select bluetooth for you, might be quite difficult to do so though..
[HTC One X+] maxwen:
ok - I see from the logs that there is something definitely going wrong

with the BT connection

EDIT: give me little time I will PM you if I need anything else to test
[HTC One X+] spray.de:
Well i don't have any problems with zcache i like it it seems to be better for my usage just had 1 Reboot by opening up about 20 games i think thats okay
[HTC One X+] maxwen:
No - this not really ok for me :)

Please provide a log else it makes not much sense to post such things :)
[HTC One X+] spray.de:
Here you go no reboot but device was so laggy that the screen was black all the time
[HTC One X+] maxwen:
well - If you are ok with it then go on

Just I will never include zcache again :)
[HTC One X+] spray.de:
This is what i sad i like zcache i try latest now and give you the log

Edit: you won opened all f*ckin games + browser no lagg no reboot no nothin awesome thx max!
[HTC One X+] maxwen:
While zcache is for sure nice it seems to create problems when used together with lowmemorykiller
[HTC One X+] spray.de:
why dont you disable lowmemkiller and just run zcache? does it not do the same and kills apps when it's needed?
[HTC One X+] maxwen:
no it is not at all the same :)
[HTC One X+] :
Is low memory killer worth it?
[HTC One X+] maxwen:
how can you live without it? :D
[HTC One X+] :
You know I mean the back ported version!
[HTC One X+] maxwen:
I just prefer Google code :)

With only my own changes
[HTC One X+] FadliOutcast:
Hi recently I've flashed blade kernel with aosp+ ROM and my phone has been keeping awake for no reason. It is a hox+ international.

Maybe these screenshots may help. I tried everything from full wiping everything to task killers to motitoring gsam and they don't work at all.
[HTC One X+] el-Loko:
had a freeze yesterday, did nothing extreme just using simple apps.
[HTC One X+] maxwen:
are you sure you have flashed the correct latest one from goo.im?

http://goo.im/devs/maxwen/BLADE/boot-BLADE-42-201306091244.img

cause from your last_kmsg I see that it cannot be that version

Please download this one again and reflash - thanks
[HTC One X+] maxwen:
No reason??????

Please look again at your screenshot :)

Install wakelock detector app and provide info of the

CPU - usage view
[HTC One X+] maxwen:
I derped wired HS button support in latest build

thanks to spray.de for pointing me to it and helped testing the fix

This is 201306091244- with only this fix

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201306091244-2.img
[HTC One X+] maxwen:
OP updated to build which will include the wired HS button fix mentiond above

and another fix for a derp of mine which will break the kernel module

syncing when used together with AOKP 4.2.2

http://goo.im/devs/maxwen/BLADE/boot-BLADE-42-201306091244-3.img

No other changes right now

A new experimental build will be available soon

After syncing my CM10.1 ramdisk with official from Lloir I will

then also provide a compatible kernel for CM10.1 again

CM10.1 testers are welcome :)
[HTC One X+] Lloir:
The kernel max provides WILL BE different from the Kernel provided in the CM10.1 rom, if you get issues, please don't tell me
[HTC One X+] el-Loko:
I thought there were no significant changes between the kernel you pm'ed me. I flashed the last one several days ago and just now i had a soft rebot while i was surfing around. Here is the log:
[HTC One X+] FadliOutcast:
Thanks for replying Maxwen. Apparently it didn't really helped. I'll try CM and flash another kernel to see how it goes because its the kernel that's draining the battery. Thanks again
[HTC One X+] maxwen:
if you think so :D

but actually you don't seen to have an idea how android work
[HTC One X+] FadliOutcast:
In the battery, Android OS is shown as second that sucks my battey after screen. It says that awake is 2h++ (i dont have screenshots). And when i check gsam it says that the kernel is the top user. Wakelock detector did not detect any battery drain. Thumbs up for the prompt reply
[HTC One X+] maxwen:
OP updated to new kernel build 201307080025
[HTC One X+] sobaquete:
This new build is not CM10.1-compatible yet, is it?
[HTC One X+] maxwen:
it should be :)
[HTC One X+] Ferrum Master:
You should fix the first post, as it is misleading now and works also on CM10.1, yeah just booted up so far fine :)
[HTC One X+] maxwen:
I would advice to change cpuquiet governor to rq_stats

I just found some issues with load_stats

Use performancetool or trickstermod to change
[HTC One X+] Ferrum Master:
Yeah the kernel acts creepy in low power state.

In which file the rq_stats is toggled, I like to simply add it my init.d script file... ?
[HTC One X+] PippoX3:
Done. Thanks MaxWen. Performance Tool sometimes saves last changes, and sometimes not... :confused:
[HTC One X+] maxwen:
echo rq_stats > /sys/devices/system/cpu/cpuquiet/current_governor
[HTC One X+] maxwen:
here is a new build that has the default governor set back to rq_stats for now

until I resolve the issues with load_stats

AOKP/AOSP http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-42-201307091153.img

CM10.1 http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-CM10.1-201307091153.img
[HTC One X+] Ferrum Master:
BTW I would like to ask about front camera, it works... but it has a purple tint :D, I am alone with this problem?

NO I didn't instagram it!
[HTC One X+] Lloir:
[MENTION=4683552]maxwen[/MENTION] which defconfig you using dude?

oc_mpdec or the oc_cpuquiet?
[HTC One X+] maxwen:
cpuquiet

mpdec is only for testing :)
[HTC One X+] Lloir:
aite, just getting "compile" issues using blade_cm10_cpuquiet_defconfig i'll set it to default on the other one for now.
[HTC One X+] maxwen:
with or without OC?

can take a look later

EDIT: you are right - version without OC bails out at the moment

EDIT2: fixed :)
[HTC One X+] Lloir:
nice one dude :)
[HTC One X+] Notechis:
One quick question

IF I undervolt, all settings are changing except the first.

I cant set him below 700 (475mhz)

That means I change all - 50 but that one is -25 mv

Gesendet von meinem One X+ mit Tapatalk 2
[HTC One X+] maxwen:
there is a hard limit of 700mV you cant set it below
[HTC One X+] maxwen:
OP updated to latest build 201307220013
[HTC One X+] Notechis:
Just flashed it. Looks good and smooth
[HTC One X+] maxwen:
that is the intention :D
[HTC One X+] droids@m:
Feeling awesome on default settings.... Guess I don't have to change it at all....
[HTC One X+] Notechis:
Just wanna tell you Maxwen

I freezeTrickster and installed Performance Tool cause there are more options for tweaking ...

My "light" audio issues are gone with the last release - the crackling while screen off ....

Superb !!!
[HTC One X+] maxwen:
OP updated to latest build 201307272344
[HTC One X+] :
hey max

I know I said JRCU IS DEAD TO ME in public, but I couldn't help giving it another try after performing this commit: https://github.com/bedalus/hxore/commit/a34fc75a5d3860bebf0dd8932eb57393756a2892

(the main interest here being the arch/arm/Kconfig cache shift is corrected, and the mutex stuff in the config)

here's the JRCU commit: https://github.com/bedalus/hxore/commit/2b532db5baf82f4b05ad61fde23ceb82bdacded0 (the one updated to Joe's latest, with the spinlocks protecting the lists)

I've tested it for nearly a month with no reboots, and I've got about ten brave testers on it in the last couple of days also.

Fancy giving it another bash?
[HTC One X+] maxwen:
no source change.

Only ramdisk :)
[HTC One X+] maxwen:
can you say for sure it's specific to 4.2!

It would help a lot if you can test if you have the same problems with 4.1.2
[HTC One X+] Preaper:
I ran 4.1.2 for a couple of days, never noticed any issues. But I might not have noticed, so I can't really be sure.

Edit:

I'm still having wifi issues. I'm currently running the test kernel you sent by PM with AOKP 4.2.1. I exported a kernel log while the WIFI was in a bogus state. In this log file I did the following:

1. Enable wifi

2. Wait for the phone to (try) to auto-connect to my WLAN

3. Manually tried to connect to my WLAN. (It will popup a "failed to connect" message)
[HTC One X+] Preaper:
To test I regressed to AOKP 4.1.2 today. I haven't had any wifi issues since, so I'm positive it's a (AOKP) 4.2.1 issue. If there is anything else I could test, don't hesitate to ask.
[HTC One X+] maxwen:
Thanks a lot for your effort! :good:

I will take a look now that I know its not a kernel issue :D
[HTC One X+] Preaper:
Well, scratch that...:eek: I left my telephone on over night and this morning I had the same issue with 4.1.2... :confused: So I guess all I can conclude is that it seems less common in 4.1.2.
[HTC One X+] maxwen:
OP update for new build

Changelog:

-GPU OC

-switch to interactive govenor as default

Make sure you delete the files

/system/etc/init.d/03-kernel-tune

if its there and you want to use interactive

adb remount
adb shell rm /system/etc/init.d/03-kernel-tune
adb reboot

if you want to switch back to ondemand push this file to /system/etc/init.d

adb remount
adb push 03-kernel-tune-ondemand /system/etc/init.d /
adb shell chmod 755 /system/etc/init.d/03-kernel-tune-ondemand
adb reboot

Dont use any app to switch govener!

-latest s2w update from nik3r - see elitekernel thread for details

-test include of rngd - see elitekernel thread for details

-cleanup of pm_qpos code

-limit to 1 cpu in screen off mode

-make screen of max frequency cap configurable using sysfs

e.g.

cat /sys/htc/suspend_freq
echo 475000 > /sys/htc/suspend_freq
[HTC One X+] alioth:
Downloading.. :)

That means "performance control" was not changing to Interactive governor?

I noticed less lags in launcher when activating Interactive governor... It was only mental? :)
[HTC One X+] maxwen:
Only on cpu0 which is used most of the time :)

So you have not been "dreaming" :D

Oh BTW: if you use AOKP 4.2.1 you should also push this to get the

"full" effect :) CM10.1 already includes this in the latest version

http://goo.im/devs/maxwen/AOKP-enrc2b/power.tegra.so

This file belongs into /system/lib/hw/

Reboot required afterwards

Or you wait for my next AOKP 4.2.1 build

This will also included an ehanced ROMControl which will allow

settings the suspend frequency and to define a max cpu freq cap

(like power save mode in sense)
[HTC One X+] aardappel12:
The extra space shouldn't be there between init.d/ and 03-kernel-tune, just a headsup:good:

So it should be

adb shell rm /system/etc/init.d/03-kernel-tune

Just so people won't get confused and start spamming this thread about it not working and blablablaaa

Thanks for the updated kernel! Flashing it as we speak :)
[HTC One X+] Preaper:
This looks very promising! Did you notice any effect on performance/battery life after these changes?
[HTC One X+] maxwen:
thanks - updated :)
[HTC One X+] maxwen:
well its smoooooth :)

dont have long term results on battery but first impression is

thats not worse then ondemand

So just try it - for that reason I have added the link to the

init.d file so that you can switch to ondemand easily if you want to

compare

As said - DONT RUN BENCHMARKS with interactive :)
[HTC One X+] alioth:
Smooooooth!!!

Testing with CM10.1
[HTC One X+] maxwen:
Just some update

With the help of show-p1984 - creator of the famous series of bricked kernels

I was able to integrate is superior cpu hotplugging code - mpdecision

So expect more performance and better battery in the next releases
[HTC One X+] simorangkir_dcs:
Can't wait for that :D:D:D
[HTC One X+] simorangkir_dcs:
I am on AOKP 4.2.1 now and I already push power.tegra.so file to /system/lib/hw/

but I can't delete /system/etc/init.d/03-kernel-tune because there is no such file in my ROM.

So, how to switch governor to interactive? Or is it already interactive governor by default?

Anyway thanks for your AWESOME kernel and ROM, I've been using it for a full day without major problem, and waiting closely for your next build/updates :D:D:D
[HTC One X+] cornedor:
It's already interactive.
[HTC One X+] maxwen:
If you are using latest AOKP there is no need doing all of this :)