yashsingh1/xdaforums huggingface dataset:
[HTC One X+] Wlk:
Unfortunatelly im not on aokp anymore, so I cant test it now. Needed loud speaker for driving. But not sure how to test it? May be putting the same mp3 to ringtones folder so I could play it through ringtone ui? Anyway do I understand correctly that if volume through ringtone would be loud enough, you can use same routines to make media volume louder?

I asume that, as Maxwen mentioned earlier, he is using sound drivers from regular One X and one of differences in X+ is stronger amplifier? May be just older drivers doesnt use this feature?
[HTC One X+] maxwen:
Well - sort off :)

I just did the "pain" and restored stock to check myself

but maybe I am too deaf already - I dont "feel" a large diff

in max volume. But I just compared to 4.2.1

e.g. when playing a ringtone or a music track

But I can try to "hack" somthing there - just this is NOT a kernel issue

but a ROM issue
[HTC One X+] maxwen:
OP updated for new build

Rebased to latest HTC kernel sources

EU 1.17.401.1 - enrc2b-jb-3.1.10-f362097
[HTC One X+] Holabalola:
Great kernel, loop devices doesn't seem to work for me.
[HTC One X+] maxwen:
Please describe in detail how to test
[HTC One X+] Holabalola:
Nevermind, the image I was using was corrupt.
[HTC One X+] maxwen:
AOKP 4.2.1 users!!!

Please use this kernel

http://goo.im/devs/maxwen/CM10-enrc2b/boot-BLADE-42-201212301352.img

With this the occasional boot loops should be fixed

at least it hasnt happened to me anymore :)
[HTC One X+] Preaper:
I'm curious about the changelog, bit I see no commits on github. I guess you're not always commiting your changes?

Since I'm running AOKP 4.2.1 and the 4.2 kernel (not the version from your last post) I'm having wifi issues. After a couple of hours my connection will drop and only rebooting the phone will fix it. I looked at the logcat but nothing relevant seems to be there? Any tips how I can track down this issue?
[HTC One X+] bouaroudj:
Ok, Thanks.
[HTC One X+] maxwen:
xda user cornedor has writtem an incredible usefull little app for us

Its called ShareLogs

Sownload here http://www.mediafire.com/download.php?d637re7b3asnyrh

This will make providing usefull log information a "no-brainer" for you :)

It simple collects the following files

/devlog/kernel_log - thats the actual running kernel log

/devlog/system_log - thats the logcat

/proc/last_kmsg - kernel log before last reboot

And will create a zip called - logs_collected-<time>.zip

You can save that file - it will be saved in /data/media/0/ShareLogs

or immediately share it

So please give it a try and report any issues to cornedor

Saying so - from now on - I will accept bug reports and issues ONLY if the zip

created with SharedLogs is attached :)
[HTC One X+] cornedor:
It will actually be saved in /data/media/0/ShareLogs (name is also without the d ;)), so for other roms you can also find it in the play store under the name Share Logs.
[HTC One X+] aardappel12:
You don't like the "D"?

/Horrible joke, I'm sorry.. :p
[HTC One X+] cornedor:
Hehe, don't really care how it's called, but if you try to search for that on the play store, i don't think you will find it than :P
[HTC One X+] maxwen:
BUT please provide logs to make sure its the problem I think it is :)
[HTC One X+] Ropb:
please help me

Hey Guys,

have a little Prob.

I freaking dummy, forgot to push thhis Custom ROM on Sdcard:

http://xdaforums.com/showthread.php?t=2057920

and have flashed indeed the right Kernel for 4.2.x ROms:

http://xdaforums.com/showthread.php?t=2027201

So i have now, a stock ROM which is not Running anymore,

Stuck on Htc One Logo (white background) Beats audio at the Bottom.

I tried to go to a 4.1.x Kernel (CM) see upper link, flashed via ToolkKit from Hasoon v.2.3,

but still the same...

I tried even to push the ROM , (which i forgot to push before to the sdCard) via Toolkkit ADB Sideload, renaming the zip in one word etc...

but getting always an error..."Failed to write Data"

Hardware infos:

HTC one X+ (international No Branding)

4.1 JB, Stock ROM nothing modified.

unlocked Bootloader and CWM 6.0.2.7

PLease help my guys, what can i do?

Is there any Stock ROm International, or Stock Kernel, just to get my device boot,

to push a rom to the SD Card?

Kind regards
[HTC One X+] PippoX3:
First of all, to use AOKP, use right kernel booting in fastboot mode and flashing: http://goo.im/devs/maxwen/BLADE/boot-BLADE-42-201304100118.img

If you can boot into recovery, there you can mount SD Card, localize it into your "Windows Computer Resource", then paste the rom in the SD Card root, for example. After that you can proceed with a Full wipe and flash (Rom + Gapps).

Anyway is better TWRP than CWM, like recovery. ;)
[HTC One X+] aardappel12:
Can't mount sd-card in recovery on our hox+..

However, while using TWRP and notice that in in fastboot and you type "adb devices" and you see that your pc recognizes your phone and that it is in recovery mode then you can push the rom to sd card by doing "adb push rom.zip /data/media/anymapyoulike"

Goodluck!
[HTC One X+] PippoX3:
You're right. I confused TWRP on HOS with TWRP on HOX+! :eek:
[HTC One X+] b0ngokarl:
Anybode else than me having issues with bluetooth?

Audio works - calls not (can't hear a thing).

For me it is with Audi MMI

Thanks!

Jo
[HTC One X+] PippoX3:
@ b0ngokarl:
[HTC One X+] maxwen:
even better use this one - contains also the BT audio fix

http://xdaforums.com/showpost.php?p=40251921&postcount=373
[HTC One X+] jizang:
Can i use some of the scripts i use on nik3r elite kernel, with this Kernel if i switch to an aokp Rom
[HTC One X+] maxwen:
depends on the script :)

so be more precise and tell mich which script you mean
[HTC One X+] maxwen:
first test version with 620LP available

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

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-CM10.1-201304170158.img

to enable 620LP use this version of PerformanceTool

http://cyano-rob.tuennerhoff-edv.de/Maxwen/PerformanceTool.apk

and use the switch "Allow LP overclocking" on the CPU tab

What is 620LP:

Normally LP mode - the mode where only the companion core is active

- is limited to 475Mhz. With 620P this limit is raised to 620Mhz

which means - more things can be done while in LP mode

To make this possible the 640Mhz freq is replaced by 620Mhz

To all "music lovers" :)

I would be interessted if you notice audio skips while screen off

now without increasing the screen off frequency above 620MHz

If you notice skips right after screen off you can try this

echo 1 > /sys/module/cpu_tegra/parameters/use_suspend_delay
[HTC One X+] tombriden:
I've found the audio skips to be much better on the latest couple of kernels without any changes to default settings. There are still some skips though, i guess when other things are happening in the background, but i've found that switching to 'runnable' cpuquiet governor fixes all issues without changing any other settings.

I did try the LP switch this morning (with everything else as default) and there were still skips, haven't tried after setting use_suspend_delay yet though
[HTC One X+] maxwen:
the cpuqiet governor is "influencing" when and

how fast cores are put online or offline

this "can" influence audio of course

just with screen off if you havnt increased the frequency above

LP max the governor is offline (hotplugging disabled) so it no longer has any effect

what I have found has a large effect is decreasing the sample rate

of smartmax from 50 to 40ms. So it can react faster now to load changes

rq_stats cpuquiet governor has also been tweaked to allow faster

core switching
[HTC One X+] ryanjsoo:
Have you tried experimenting with emc overclock or gpu undervolting? would the benefits outweigh the difficulty to implement? thanks
[HTC One X+] maxwen:
messing around with clocks opens a can of worms. right now this has no high priority

EMC is already running at higher speeds then on stock depending on CPU speed
[HTC One X+] maxwen:
Well - lets call this "stable" :D

OP updated
[MENTION=4572932]cornedor[/MENTION] - is the latest version of PerformanceTool on playstore

already including the LP OC switch?
[HTC One X+] cornedor:
I'll upload it in a few hours.

EDIT: Uploaded
[HTC One X+] jizang:
Maxwen i meant these scripts http://xdaforums.com/showthread.php?p=40437397
[HTC One X+] ryanjsoo:
Ok, thanks that clears things up, love your kernel btw, every revision gets significantly better
[HTC One X+] maxwen:
yes
[HTC One X+] KaiUno:
Weird thing happening...

Since I switched over to boot-BLADE-42-201304131632 and subsequently boot-BLADE-42-201304191544, my phone won't charge in my (official HTC) car dock anymore.

I always have Google Maps running, but it used to be able to handle that without problems, charging whilst I drove. Now I can see the percentage ticking away, eventhough the device appears to be charging. (The circle IS spinning.)

Yesterday I did a complete wipe before installing aokp_enrc2b-ota-eng.maxl, but today, once more, I found myself "out of gas" at the end of the day, which never happened before. Usually I'm sitting pretty at 50 to 70% when I get home from work.

Is there anything I missed?
[HTC One X+] maxwen:
and with which kernel you can confirm the issue is not there?

but please make sure you actually tested it and not only tell me a number :)
[HTC One X+] KaiUno:
It's gonna take a while to figure out, but I'll give it a go. It's perfectly ok to go backwards with kernels whilst sticking with the new rom?
[HTC One X+] maxwen:
well there are a few things to consider first

1) google maps is a well known battery drainer - USB charging is

normally not enough to disable draining while it is running

2) how much mA is the car adapter delivering - what does

setting - battery display : USB or AC charging?

3) have you enabled fast_charge

4) check the current "balance" is while connected to the car adaper with google maps running

to do this use this script

#!/system/bin/sh

while [ 1 ]; do
cat /sys/class/power_supply/battery/batt_attr_text|grep gauge_current
sleep 10
done

and run it with the script manager app - let it run in the background

and check the output from time to time

this will print out the current charging current every 10 seconds

if the values are > 0 it means it is charging if < 0 it means draining

Actually I doubt that a kernel change is reponsible for this
[HTC One X+] wishmaster86:
How to flash boot.img

Hello guys, first of all good job on creating these kernels. I hope i can fix my problem with bluetooth call support.

But before all this, i need help with flashing this boot.img on my GT-P3100. I have searched the forum and found out that many do this with adb and fastboot with the htc one. but this is not working for me.

Can anyone point me in the right direction? is there another way to do this? I have CWM installed so if the file could be created in a special install zip file that would be greatly appreciated.

Thanx in advance.
[HTC One X+] maxwen:
wut????

Gt-p3100?????

HTC one????

are you sure your are right here? :)

but would be awsome if you make a video what happens

if you flash this kernel on your device :D
[HTC One X+] wishmaster86:
Yeah its for the GT-P3100.

I tested this yesterday with mobile Odin but the device hangs when booting. so i reverted back to my old kernel via CWM.

I am so stupid for not knowing this was only for HTC one. I was searching on google for "galaxy tab 2 bluetooth fix" and came on this thread. :P

Seams like you are the only one's who fixed the bluetooth problem with phone use over bluetooth.

Gonna search for other kernel for my GT-P3100.
[HTC One X+] Calvaria:
There seems to be a bug in the latest kernel delivered with last 4.2.2 AOKP. With this kernel I wasn't able to connect to my car audio via Bluetooth. Flashed 19/04 kernel back and it works again.
[HTC One X+] maxwen:
works fine here with both

no changes regarding bt in kernel
[HTC One X+] Calvaria:
strange, will test again tomorrow
[HTC One X+] maxwen:
try repairing

same happens for me sometimes after a rom upgrade
[HTC One X+] maxwen:
OP updated for latest build

Most noticable fix is the derp that RIL boost was not reset on incoming calls

So I would recommend anyone to update :)
[HTC One X+] PippoX3:
A reset occurred on unlock to camera app...

Kernel 2013_04_25, Log: http://db.tt/lLkhEt7s

Inviato dal mio HTC One X+ con Tapatalk 2
[HTC One X+] maxwen:
I dont know what you have done but this last_kmsg

is NOT from a Blade kernel :)

Linux version 3.1.10-g25fdec8 (root@ABM041) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Sep 25 18:00:15 CST 2012

if it would Blade kernel this would read something like this

Linux version 3.1.10-BLADE (maxl@inspirion) (gcc version 4.7.1 20120402 (prerelease) (crosstool-NG 1.15.2) ) #201305041517 SMP PREEMPT Sat May 4 15:17:08 CEST 2013
[HTC One X+] saibz:
Thanks maxwen, I'll try this ASAP, I've been getting reboots randomly and a couple of times after just unlocking the phone. :good:

edit: I meant I'll try the latest kernel in the other thread, got confused on which one to post a reply :D
[HTC One X+] maxwen:
thanks - but its just an idea so no promises :)
[HTC One X+] saibz:
It just happened again, unlocked the phone and it went straight to the AOKP boot animation. I'm not sure if that is a real reboot, I'll just provide the logs.

http://db.tt/vhs04LjX

I wiped dalvik cache and cache, and fixed permissions just in case :)
[HTC One X+] maxwen:
Nope - thats not a kernel reboot but an android reboot :)

need to take a closer look first

EDIT: will PM you a test build with a possible fix tomorrow

actually pretty strange that noone discovered this before you :)
[HTC One X+] saibz:
Oh ok thanks, that's what I meant earlier when it restarted a couple of times after I unlocked the phone. So far it hasn't happened again :)
[HTC One X+] sch_rod:
Red LED Light On

Just updated the kernel to boot-BLADE-42-201305041517.img today, and the red LED on the top remains on, any idea what can be done to turn it off? I don't have any notifications...
[HTC One X+] saibz:
It happened to me, I restarted the phone and I think that fixed it.
[HTC One X+] maxwen:
plug and unplug USB cable again

this is nothing new and nothing kernel related :)
[HTC One X+] KaiUno:
I'm having the spontaneous rebootsies as well. It'll be sitting there on the sim lock for no apparant reason.

Latest occurrance was just now at noon.

http://db.tt/skbuUHJP

On boot-BLADE-42-201305042354 and AOKP-42-20130428.zip.
[HTC One X+] maxwen:
please post ROM issues in the ROM thread - thanks

if you DONT encounter a hard reboot - which means you see

the HTC logo during boot it is 99% a ROM issue :)
[HTC One X+] PippoX3:
This is what I have done: after reboot I run sharelogs app, and attached the zip located in its folder on sdcard...I'm sure to have blade kernel:

Inviato dal mio HTC One X+ con Tapatalk 2
[HTC One X+] maxwen:
yes I know

the issue is that it simply wasn't a kernel crash :)

I just explained the diff above

please make sure you post the report in the correct thread depending on this
[HTC One X+] PippoX3:
:silly: 5 min ago wasn't a blade kernel.... :p anyway now I updated to last 2013_05_04... I will stay tuned for any update! Thanks again!
[HTC One X+] PippoX3:
Sorry MaxWen if I posted in wrong thread, but when reset happens, immediately I run ShareLogs & post results in the most probably (for me). :angel:

Next time... ;)
[HTC One X+] maxwen:
OP updated for latest build

I introduced some S2W bugs :)
[HTC One X+] Lloir:
o_O you added S2W bugs??
[HTC One X+] :
In my nexus kernel I introduced 'in-kernel swagger' so ROMs apart from AOKP could also have the feature
[HTC One X+] maxwen:
which feature do you mean?
[HTC One X+] jizang:
Are these scripts compatible with the latest blade kernel. And do I have to put it into etc/init and data/local folders
[HTC One X+] :
AOKP has or had a fancy pink fedora type hat option, called swagger. I decided that my kernel needed the option too. Basically it was a sysfs interface called swagger, which could either be on or off. It didn't control anything, it was just a joke!

Your post above does sort of read like "for this release I've introduced bugs," which is why I thought I'd bring up the swagger thing.
[HTC One X+] jizang:
Anyone answers ?
[HTC One X+] kelleci:
2way call recording

Hi maxwen

Thanks for supporting our device you are doing hard job:good:

I just wonder, will you support(patch) 2 way call recording in blade kernel?

Best regards.
[HTC One X+] maxwen:
Its not so easy as for MSM devices :)

AFAIK the DSP patch for the HOX is not working

and there is no other way for our sound HW

IncallVoiceRecorder app is not working since our

closed source audio driver doesnt allow the use of mic during call

So - most prolly no
[HTC One X+] kelleci:
Thanks for answer.I understand.
[HTC One X+] :
https://github.com/bedalus/hxore/commit/a765d4887a38884cb488569d5f221a0446402cb3

Hi maxwen,

I added spinlocks to JRCU, based on some of the developments Joe made for the 3.6 kernel. I thought you might be interested in having a look :)
[HTC One X+] maxwen:
thanks - will take a look when I have the nerves to mess with that again :)
[HTC One X+] :
Hi again,

I thought the performance felt a little funny, so I took another look at the newer version. I think with the spinlocks smp_mb becomes unecessary, so I've removed all of them. I think it improves performance.

https://github.com/bedalus/hxore/commit/0553352e5be610ee5804be0aaff8b9c488a48b61

Also, am I correct in thinking the following patch will actually enable zcache?

https://github.com/bedalus/hxore/commit/b8636bad591dee0843cd28e1980e08098b448ac7

It boots fine... I was expecting a bootloop, so is it still not enabled? What do you think? :)
[HTC One X+] maxwen:
exactly this causes the freeze for me

100% reproducable all the time
[HTC One X+] :
I think I saw a command to see stats. That ought to prove it's working or not! I'll investigate further...

BTW, Jrcu with spinlocks is still going strong. Are you getting courage to try yet?

Edit: /sys/mm/zcache is full of stats. I think it's working
[HTC One X+] maxwen:
nope :)

cause I don't think any advantages will outweight the possible risks

last time even extensive testing had not shown the problem with the network deadlock experienced by users later

stability is more important to me :)
[HTC One X+] maxwen:
well - I cannot enable zcache

dont know why but actually this is another option I dont

really trust if it doesnt works - out of the box :)

EDIT: must be another change that I included

that breaks zcache here
[HTC One X+] :
The version of zcache I'm using is partially backported from 3.9, maybe you could try it. It uses a different method for compression, perhaps it can work?
[HTC One X+] maxwen:
nice :)

will give it a try tonight

is it all on your Github?
[HTC One X+] :
Yep, here: https://github.com/bedalus/hxore/commit/a764bd2f40d8737dc65f10459dcd1782c6cc3634

and to turn it on:

https://github.com/bedalus/hxore/commit/b8636bad591dee0843cd28e1980e08098b448ac7
[HTC One X+] maxwen:
Bingo - thanks a lot :)
[HTC One X+] maxwen:
TripNRaVeR from the HOX forum has done an awesome job

extending the tegra graphics driver with some features available

in the tegra4 driver

See here for details http://xdaforums.com/showthread.php?t=2154985

So all credits go to him - please consider donating him if you like the result :)

I have merged his changes and build a test kernel

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

Give it a try and report any issue

I will not give you any hints what to expect just be unbiased and

report your feedback
[HTC One X+] mr_breaks:
test

uhh...can i test this one on cm 10.1 too?
[HTC One X+] maxwen:
cm version later
[HTC One X+] maxwen:
updates test build - also for CM10.1

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

http://cyano-rob.tuennerhoff-edv.de/Maxwen/boot-BLADE-CM10.1-201305221146.img
[HTC One X+] cornedor:
I ran a benchmark with the 'old' and this kernel (first and second one). Can't see any GPU improvements with that.

What is the difference between the first and second kernel?
[HTC One X+] maxwen:
nothing :)

and I would not expect much diff on syntetic benchmarks anyway
[HTC One X+] maxwen:
Saying so - its of course possible that its all just a placebo :D:D:D

or I havnt enabled all settings correctly in this build
[HTC One X+] cornedor:
My phone just crashed with the new kernel, don't know if it is related to latest changes.

Logs

https://docs.google.com/file/d/0B3KXSxK8B7tGdVZpNHkwdjZwWU0/edit?usp=drive_web
[HTC One X+] maxwen:
all I can see is this :)

...

[16781.605132] kernel_restart(cmd=) - triggered with task: adbd (291:2301)

... :)

so there is no "real" kernel crash in the logs
[HTC One X+] cornedor:
Ok, ill wait and see if it happens again.
[HTC One X+] aardappel12:
This just happened:

http://pastebin.com/GHyVPzzf

I received a whatsapp, tried to turn on screen but screen won't turn on. The buttons light up on the bottom though and I feel haptic feedback when I press on the spot of the lockscreen ring but there is no screen output.

Hope it helps!
[HTC One X+] maxwen:
and why didn't you use sharelogs app?
[HTC One X+] pfzmomo:
The last ROM feels a lot more smoother :)

But in games (Rayman Jungle Run, Bike Race) it's absolutely not the same, I had micro lags before, but now it's lagging everytime (decoupled GPU or not).

Tried performance governor on 1,3GHz, feels the same...

Any solutions?
[HTC One X+] maxwen:
this has nothing to do with the rom

try different kernels if it makes a diff but I am not aware of any change causing this
[HTC One X+] maxwen:
cause pastebin is a suboptimal way to look at logs :) and I always need kernel log AND logcat
[HTC One X+] aardappel12:
Because I noticed the phone was still on so I decided to pull a logcat instead of forcing it to reboot and then use the app, but I'll do that next time
[HTC One X+] maxwen:
and if you find a kernel that makes a diff tell me the exact version
[HTC One X+] maxwen:
it's ok but then also always get the file

/devlog/kernel_log
[HTC One X+] aardappel12:
Ahh alrighty, good to know! Will do!
[HTC One X+] pfzmomo:
I tried the 2 last kernels, the boot-BLADE-42-201304191544 seemed better to me for gaming (but not perfect)

I came back to the last kernel to see the difference, big lags are now gone (?) but I still do have micro lags on some games and Rayman is running near perfect.

I will do some more tests
[HTC One X+] aardappel12:
Happened again;

https://www.dropbox.com/s/tds5vgucivwvcok/logs_collection-201305231030.zip

Hope this one is actually of any help!

Thanks in advance mr maxie
[HTC One X+] maxwen:
ok - is this something new with latest test kernel?
[HTC One X+] aardappel12:
Yea most definitely, didn't have these freezes on the one before that so it's definitely with the latest test kernel.. Does that clarify anything at all? Haha
[HTC One X+] PippoX3:
Mee too, had a same issue. What'sApp message incoming, hard buttons lights up (not set, anyway) but I ca'nt turn on screen with S2W, just with power button... after this, all ok.
[HTC One X+] maxwen:
please try disabling smartdimmer setting in device options
[HTC One X+] PippoX3:
Hi MaxWen. NVidia Smartdimmer isn't enable. In Device Options are enable: "Enable Sleep to Wake" and "Calibration Control". :)
[HTC One X+] aardappel12:
I did have it enabled, disabled right now though so will report back if it crashed again including a log obviously:)

Edit: Crash happened even with smartdimmer disabled El logski package
[HTC One X+] maxwen:
Ok

I would then recommend to not use the test kernel anymore until further notice

I have enough logs for now :)
[HTC One X+] maxwen:
you mean the screen freeze? - since its not a crash acually :)

there are two different problems here AFAIKS

So please tell me always if its

1) screen no turning on

2) freeze with screen on
[HTC One X+] aardappel12:
Both happened depending on whether or not the screen was turned on or off at the moment of the freeze.

In the last log my screen was on when it froze up, so option 2 in that scenario :p