yashsingh1/xdaforums huggingface dataset:
[HTC One X+] reaper90:
did you already flash todays new kernel (140709kk) ?

edit: the folder definitely exists. maybe try copying the userinit.sh file to your phone and then using a root file explorer coy it to /data/local.
[HTC One X+] avivhaiser:
I know that it might not be the right place to ask it but should i move from 4.2.x to 4.4.x rom? i am on viperx+ atm at it laggish (like hell actually). and i was wondering if i move to 4.4.x it will be better. i was on arhd but it seems like the development has stopped and since they didnt fix the heartbleed problem i am not going back to it.

i am using 51-1500 smartmax sio with regular voltage. any opinion since this kernel works for both?
[HTC One X+] nik3r:
Dude I recommend you give Carbon a shot, 4.2.x can't hold a candle to the smoothness (not to mention the awesome scrolling animations). I'm using Textra and exDialer as a replacement for HTC apps and I like it better than sense so far. The kernel already has everything my 4.2.x kernel can do.

Don't forget you need latest CWM recovery to flash it ;)
[HTC One X+] avivhaiser:
You bought me xD. Since you answered sure ill give it a shot.
[HTC One X+] fvdheide:
Yes, i am using today's (140709kk) kernel.

I copied userinit.sh to /data/local and DT2W works .. well, not really working well, because it's highly unresponsive .. i have to knock very hard to get my phone to wake .. is that normal behaviour?
[HTC One X+] saitch76:
Thanks nik3r for the Textra suggestion. I don't like stock KK messaging. I also don't like the stock keyboard and giving up the Sense 5 keyboard is putting me off KK. Anyone know if there is a keyboard for KK that is similar to Sense 5?
[HTC One X+] fvdheide:
Is it better than Mokee Rom? if so, in what way?
[HTC One X+] avivhaiser:
one last thing i look at the carbon thread and the latest i see is 4.4.2. am i missing anything perhaps?
[HTC One X+] nik3r:
Carbon is more customizable than MoKee, you have loads more settings out of the box (like 6+ presets for scrolling animations, notification area manager etc.)

Textra is super cool but it has issues with MMS in my area, so I'm kinda forced to move back to slower GoSms.

As for a keyboadrs I use Swype myself, some friends like SwiftKey more but I'm usually swipe typing :p

Carbon latest 4.4.4 link:

http://www.androidfilehost.com/?fid=23501681358551990
[HTC One X+] nik3r:
Settings - CarbonFibers - Interface - ListViewAnimation

My favorite is Wave (left) + Overshoot interpolator + Honami toast ;)
[HTC One X+] jizang:
Nik3r will you stop updating your kernel for sense roms?
[HTC One X+] nik3r:
I might throw some changes from KK versions in there occasionally, they are now virtually identical in all areas that matter, so the changes are easy to port. But I won't be able to test it, since I'm on KitKat and not going back ;)
[HTC One X+] jizang:
Right now I'm on kk too using your kernel, but my phone heats really fast even doing things like browsing in the Internet, is it better in the latest version
[HTC One X+] nik3r:
The kernel still has power saving support to reduce heat by a ton when needed. You can get the EPS Switch app in second post.
[HTC One X+] jizang:
Already using eps switch but still no help
[HTC One X+] nik3r:
Well that's Tegra 3 for you, if it's under 45°C it's fine :D

You could look for battery draining apps, that could contribute to the load. Also the weather makes a huge difference obviously. When it's 30°C+ outside, it's easy to hit 50 degrees on the CPU no matter what governor you use. And the display brightness contributes a lot as well, when it's over 170ish. And charging obviously.
[HTC One X+] chazarss:
Headset is suck With last update or my headphone has broken?
[HTC One X+] nik3r:
Are you talking about music or calls? Music works fine for me.
[HTC One X+] chazarss:
for music, I'm using also Eps switch when screen is off sound is become too bad
[HTC One X+] nik3r:
Check your system for rogue apps, anything that causes large battery drain or uses excessive amount of wakelocking is probably the culprit.

You can also enable CPU usage graph in developer tools (tap ROM build number 5 times to unlock the settings first) and see what app is causing unusually high CPU load.
[HTC One X+] chazarss:
Thanks for your returns, maybe my headphone is broken, maybe it's time to buy new one[emoji6] btw I'm looking for perfect sound too long time, have you got any suggestion for headphone brand or model[emoji6][emoji6][emoji2][emoji2]
[HTC One X+] Phoenix09:
music fine for me as well.. and I normally have problems with it :D
[HTC One X+] el-Loko:
not charging while phone is off

would someone please test this:

- turn off your phone

- plug in charger

- check if it is charged a little time later

I plugged in my my phone after battery was completely discharged and it turned off. after more than 3 hours the led was still red and battery was still at 2% as i have seen after i rebooted it. this happens with the previous and the actual version of this kernel as well.

---
[MENTION=5355751]imamalemdar[/MENTION]

i also reported problems with sound when screen is off. dont buy a new headphone even you haven't test it with another headphone. its a problem with the kernel because off its battery safer.

you can use the userinit.sh, which you can find in the op and change some values, which are described very well in the ini-file.
[HTC One X+] nik3r:
When phone is off, the kernel is not active, update your recovery if you have problems with offmode charging.

As for the audio of course you should test it with another earphones first but if it's a software problem, you'd better check your apps CPU usage really carefully. I've been listening to music all day at work without a single problem, running default settings except undervolting and EPS.

If dual core 475MHz is not enough to play your MP3s smoothly, there's something very wrong with your apps or player.
[HTC One X+] el-Loko:
Im running cwm touch 4.0.8.6, which recovery do you use?

Listening to music won't cause any problems if the player uses a big cache. Which player do you use and how big is the cache it's using?

When i track my bike rides the music is played without any lag, but whenever the tracker tries to tell me my speed it stutters. Because i can't change the cache in that app.
[HTC One X+] skdubg:
the MAC Toolkit alwys includes the new Kernel 121210 too :cyclops:

http://xdaforums.com/showthread.php?t=2029499
[HTC One X+] nik3r:
skdubg: thx for support in the german community. I do google you know :D
[HTC One X+] skdubg:
you're welcome :thumbup:
[HTC One X+] ulukai3:
So, powersave off = 1,3GHz 1,4Ghz and then 1,5 for the last two cores and powersave on = max 1.15GHz for any core?

If with powersave on the minimum speed is 51Hz, what is minimum speed without powersave?

What exactly was the difference between power save on and off on stock kernel? The menu just says "Conserve cpu usage", "Reduce screen brightness" and "Put to sleep when screen off".

With your powersave tweak does the phone still do those saving features above, like put to sleep when screen off?

If 51Hz can cause audio cracking, wouldn't it help if the minimum frequency would be risen a bit?

Sorry for so many questions :)
[HTC One X+] Notechis:
Thx for that Kernel. Runs perfect ...10

Will have a look at music.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] nik3r:
51MHz minimum is normal, but when any kind of media is playing, HTC made it so that the frequency never falls below 102MHz, this limit is now removed in power saving mode. For better or worse, it may still need some tuning to see improvements :D

The other power saving features function as usual - lowered screen brightness and the other stuff.

As for stock behavior, it would cap CPU at 1.3 GHz.
[HTC One X+] ulukai3:
Ok thanks and thanks for making the experience with this phone even better.
[HTC One X+] nik3r:
How do you like the new S2W?

I was thinking I could make it so that you can do on and off in either direction, and rename it stroke2wake :D Not sure if that would break something with the way I'm managing registration/activation thresholds.
[HTC One X+] skdubg:
i think the actual direction is possible.

swipe from left to right to sleep the phone is funny,

as rotate the phone at 180 degrees to use it
[HTC One X+] Notechis:
S2W is quite useful and the new algorithm looks good. No problems so far.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] Birba:
My hox freezed again for 1min and then was back to normal. That with latest kernel. By the way, the freezers happened always while browsing in chrome.

thanks
[HTC One X+] ulukai3:
The new s2w is definitely better. It's great I don't have to start at the edge, sensitivity is great too.

Stroke to wake could be interesting, but current (slide to wake) implementation has it's advantage too - if you slide to wake and there is a delay for some reason and you do another slide to wake (to be sure) nothing special happens and phone should just wake up (with or without delay), but with stroke to wake, if there would be a delay (happens once in a while) then a second stroke would actually turn off the phone and you wouldn't know.
[HTC One X+] nik3r:
Sounds more like a chrome problem, memory leak or something. Try to use maxthon for a while, it's faster anyway.
[HTC One X+] baste07:
Just installed. Will test it out for the day
[HTC One X+] skdubg:
Hi nik3r,

it is possible to update or modify your kernel to make it compatible with the upcoming CM10.1 builds by Lloir?
[HTC One X+] HkDng:
Just flashed, see how the thing going good!
[HTC One X+] nik3r:
No, just wait for maxwen to release his.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] Golubev:
Flashed yesterday. Two freezes with only "hard-OFF and restart" solution. First freeze was using Maxthon during screen rotation. Last one occur during incoming call. Back to stock for now. I love s2w feature. Could you compile stock sources only with s2w patch injected, without any more modifications?
[HTC One X+] Birba:
Hi nik3r

Had the freeze also with maxthon. It's never a complete freeze, the device comes back to work after 30sec/1min.

I had only one reboot while the device freezed.
[HTC One X+] MMoodyB:
Try the 121201 version for now if you want to keep s2w. I personally have found it to be the most stable / reliable version for my phone. Not a single hardreset / lockup in the week I have been running it.

The only odd thing to be aware of is if you're listening to music & a call comes in, the music will stop & it'll take 2-3 seconds for your screen to show the incoming call / caller-id screen.

This is with PowerSave turned on in the settings, so it might be the minimal cpu freq causing the ui lag when receiving a call.

I haven't tested any versions after 06_ex2 though so far.
[HTC One X+] nik3r:
I flashed recovery-clockwork-touch-6.0.4.8-enrc2b.img but I never ever used offmode charging, unless I completely drain the battery and in that case it charges right up, so I suppose that means it works.

As for the tracker stuttering, I suppose it's not properly wakelocking the device from low power core, try Google maps navigation if it also stutters when giving directions. If not, I would contact the app dev to sort it out.
[HTC One X+] Lloir:
[MENTION=853294]nik3r[/MENTION] expect a push or twenty :P to your oxp_kk
[HTC One X+] nik3r:
Cool thanks, I merged it.

Any particular reason why you prefered LZMA over XZ? Because XZ has better compression ratio on this kernel.

XZ: 4 519 936 b
LZMA: 4 771 840 b
[HTC One X+] Lloir:
It's all about that decompression time :P
[HTC One X+] nik3r:
Well I was under the impression the decompression speed difference is marginal (< 10%) and "Enable LZMA compression due to recovery being too big now" sounds like you were trying to save some precious space ;)

Either way is fine with me if that's really what you intended.
[HTC One X+] Lloir:
We can try xz. Though i might have to fork your kernel eventually and just merge in from upstream because of the injector stuffs...It's likely i'll bring this kernel into official omni, once i've had a chance to test the kernel+rom on a physical device.
[HTC One X+] nik3r:
Ok, the injector is just the "kernelinjector.oxp" folder and "compile.sh" file, everything else is pretty much standard kernel. I tried to isolate the automation the best I could so that I can easily port it elsewhere.

I see no difference in bootup times on either compression, so I'll flash the XZ build for a test run over tomorrow.
[HTC One X+] Lloir:
Cool stuff, i'll probably just contribute security patches to the kernel and so on.
[HTC One X+] surfatwork:
been a long time elite kernel user, so thanks very much.

i tried out the KK kernel, but the device went into a boot loop. also tried wiping cache/dalvik cache from recovery several times. I cant wipe this phone because it is my everyday device, so factory reset is not an option.

Last working kernel: 4.2 kernel from 140628

Kernels tried: 4.4 kernels from 9/7, 5/7 and 2/7

ROM: ViperX+ 2.1.1

recovery: TWRP ver 2.7.1.0 (stock, not venom modified)

if it matters; HBoot is 1.30.0000

AGain, if it helps, the device didnt boot into recovery with the venom twrp. It used to, but something seems to have gone wrong at some point not long back - I had been able to flash the 28/6 4.2 Elite kernel. I flashed stock twrp (2.7.1.0) and it then booted into recovery, allowing me to try out the KK kernels. which unfortunately didnt work.

if this helps you debug something I am happy. not having 4.4 is not going to kill me. but it would be nice as and when it happens. let me know if I can provide any more info.

thanks again.
[HTC One X+] Wnsly:
ViperX+ 2.1.1 doesn't support kk kernels. That ROM runs on 4.2 jelly bean. So you have to flash a KitKat ROM like carbon or PA

Sent from my One X+
[HTC One X+] surfatwork:
duh!!!! thanks for letting me know.

I have been on viper+elite for so long, the thought that they may not support each other didnt even occur to me.
[HTC One X+] nik3r:
Oh, I should probably release this already :D

EliteKernel KitKat (4.4.x) 140805 is released

Changes:

- security patches by Lloir

~ Enjoy and thanks for help Lloir :)
[HTC One X+] avivhaiser:
No 4.2.x version?D:
[HTC One X+] nik3r:
Then it will work perfectly fine with the latest as well. Just more securely :p
[HTC One X+] morbvamp:
[MENTION=4085040]reaper90[/MENTION] I'm trying to install your userinit but I'm getting the following error:

I'm on latest CarbonRom with USB Debugging enabled. Any help would be really appreciated.

Thanks
[HTC One X+] reaper90:
Looks like the file is copied fine, but permission change is not allowed. Did you test if the changes are applied after reboot? I can't test this on 4.4 as i'm on ARHD8 atm.
[HTC One X+] morbvamp:
I think that all the changes were applied after reboot so I'll try not to worry about it, it's just that I don't know what does that command do :confused:

In the past I managed to install your userinit in Carbon without problem. But it's working so I'll leave it as it is. :good:

Thanks!
[HTC One X+] nik3r:
If it copies fine and just fails on permissions, it's ok. The kernel checks init.d and userinit and fixes their permission before booting ;)

The problem is, Carbon has superuser disabled for ADB unless you manually type "su", so commands like remount or scripts that assume root won't work. As far as I know there's no way to set it to automatically run as su, must be related to SELinux or some ROM config.
[HTC One X+] reaper90:
Yeah, also when i used CM11 nightlies the last time, i wasn't even able to push the file to /data/local...

I'll maybe upload a reworked script and instructions to "install" soon. I'm still thinking of how i can make it more easy to edit the file when it's already on the phone.
[HTC One X+] nik3r:
This might help if there's no other workaround http://xdaforums.com/showthread.php?t=1687590
[HTC One X+] shreyanshk:
[MENTION=853294]nik3r[/MENTION]

I've had a crash today while I was on a phonecall and the phone rebooted itself. I'm using elite_oxp_kk(05/08/2014) in conjunction with last release of CarbonROM(dated 20140914) for enrc2b.

Here is the relevant data from /proc/last_kmsg
[HTC One X+] nik3r:
Weird, looks like something went bad in the phone driver itself. I haven't had a single freeze or crash on the last kernel version since the release, so this is either a freak accident or something I can't reproduce on my device.
[HTC One X+] reaper90:
Maybe because Lloir updated CM11 kernel and these changes are already merged into carbon rom too?
[HTC One X+] nik3r:
I am running latest Carbon with EK without problems so far, so not likely.
[HTC One X+] shreyanshk:
[MENTION=853294]nik3r[/MENTION]

Well, so far I didn't install Xposed or did any sort of modifications on system partition therefore App related issues are unlikely.

What can you make of this crash?
[HTC One X+] nik3r:
New version

EliteKernel KitKat (4.4.x) 141026 is released

It's been a while since I released my WIP version so here you go. There are mostly performance improvements.

Be advised I had to reduce my UV from -65mV to -50 to make it stable as this version is a bit more aggressive on the CPU, just in case you get random reboots.

Changes:

- performance tuning over the last couple of monthshttp://xdaforums.com/member.php?u=1660234

~ Enjoyhttp://xdaforums.com/member.php?u=1660234 :)
[HTC One X+] Lloir:
released the updated source?
[HTC One X+] nik3r:
Good point, forgot to push it -.-

It's pretty much just config changes, up now.
[HTC One X+] shreyanshk:
Got another crash with latest elite(141026) and carbonrom(2014-10-21)

phone denied responding to lockbutton and screen just went blank in the mid of call. this happened twice.
[HTC One X+] nik3r:
No idea, there doesn't seem to be anything wrong from what I can see. Try to switch to ondemand CPU scheduler, some really bad chips just can't hanle more aggressive schedulers unless you overvolt them slightly.
[HTC One X+] shreyanshk:
It happened again and apparently happens only when the other person disconnects the call.

And I'm using smartmax ever since I used elite. It never happened before.
[HTC One X+] nik3r:
Well you can try downgrading and find the last version that was 100% stable, should be easy if you can reproduce the bug at will.
[HTC One X+] Lloir:
Current version is stable, It's what I use in omni now, saves me having to maintain the kernel ;) thanks dude :good:
[HTC One X+] nik3r:
Well Lloir still if you have any ideas for changes to merge in, just point me in the right direction, having a day job kinda keeps me out of the loop of latest and greatest :)
[HTC One X+] Lloir:
haha, yeah will do. I guess it's a perk some ways for me to be working nights :P

I need to get device encryption fixed for the X+ not sure if this is kernel related, I'll take a look tomorrow when I wake up after work tonight.
[HTC One X+] shreyanshk:
Had 3 crashes on a single day. Here is another log. :(

for the record, I was out when 1st crash occured sorry couldn't get logs. After the second crash and subsequent boot, I couldn't access /proc/last_kmsg :confused: (the file apparently did'nt exist) and third crash occured while I was on a phone and unlike yesterdays crash, the phone automatically rebooted.

Hope you sort it out.
[HTC One X+] nik3r:
Looks like you finally captured some useful logs, someone with more skill in kernel debugging might be able to isolate the problem, because I literally can't even. (erm. Lloir? :D)
[HTC One X+] Lloir:
ugh that's the ril kernel driver.....
[HTC One X+] Lloir:
steps to reproduce please?
[HTC One X+] nik3r:
Yes oh wise Lloir, there's a mission just for you. I'm afraid I unticked one too many option for debug information, because I can't make heads or tails of it.. but there seems to be the whole oops and reboot. I read you should at least be able to point to a function that caused the oops but the hex addresses tell me nothing :p

I don't get these issues, it might be specific to a carrier or something (I mean cell drivers).
[HTC One X+] Lloir:
I've never seen the driver crash like this before, I'm thinking maybe system modifications...
[HTC One X+] shreyanshk:
I believe it's completely random for sometimes 2 minutes into a call trigger it and sometimes not even 20 minutes. :rolleyes:

I usually don't use my phone while I'm on call.
[HTC One X+] Lloir:
can you give a logcat of the problem too? I want to see a direct correlation as there should be a logcat of the crash also. Have you adjusted cpu freq? installed xposed modules? etc etc etc
[HTC One X+] nik3r:
Well I did make some changes a while back, I changed a bunch of mdelay to msleep in places where I though it would have no side effects and changed one particularly nasty while loop that was waiting for the radio to come up (or something like that) to poll in more sane fashion. Might be one of those.
[HTC One X+] Lloir:
best way to test it is find a mass audience that is running the kernel..

OMNI check

Push all changes to OMNI kernel

might seem "mean" but they are nightlies for a reason
[HTC One X+] shreyanshk:
Android doesn't store logcats of previous boots, does it?

I'm using Elite's kernals default settings SIO + SMARTASS 51mhz <--> 1500mhz with no xposed or mods installed but only few themes.
[HTC One X+] Lloir:
you can run .logcat (dotlogcat) or catlog they should run in the background and save the logs to "disk"

and yeah it does when told to, I used to have it set in the ramdisk, I might push that change to the elitekernel ramdisk
[HTC One X+] shreyanshk:
I can do "adb bugreport" I've heard it contains immense amount of information.

And constant logging might wear the flash memory too much, are you sure it's a good idea?
[HTC One X+] Lloir:
run a logcat please, with one of the mentioned apps.
[HTC One X+] nik3r:
All the changes in radio drivers I was talking about are already in this branch

https://github.com/Lloir/android_kernel_htc_enrc2b-omni/tree/kk_mkt

Ewww.. I still have nightmares about that one:

int retry = 20000;
while (retry) {
/* poll phy_restore_gpio high */
if (gpio_get_value(MDM2AP_ACK2))
break;
retry--;
}
[HTC One X+] Lloir:
Tbh I'm thinking of scrapping the current kernel as everything is now based on the super broken CM kernel, it was dirty merged, literally the new HTC kernel was just placed on top of it, and yeah...so some of maxwen's blade kernel survived and it's just massive cluster fcuk....
[HTC One X+] nik3r:
Well I merged whatever was the working 4.4.2 kernel with EK 4.2.2 by hand in Beyond Compare just to make sure there is no crap.
[HTC One X+] shreyanshk:
That seems to a plausible statement :D
[HTC One X+] Lloir:
wow.....dude....wow..
[HTC One X+] nik3r:
Suddenly it makes sense I had everything in a single commit, huh? lol

But yeah there was some code that looked dead or obsolete that I kept just in case. Most of the actual changes were related to SELinux. So I'm not claiming it's clean, just that it's not as dirty as you might think :D
[HTC One X+] shreyanshk:
Oh Mighty [MENTION=1660234]Lloir[/MENTION]

You're are always hard at work. How about we lighten up your pressure, eh?

Teach me. :laugh:
[HTC One X+] Lloir:
That's good to know tbh. Though now might be a good time we looked to the other "tegra 3 kernels" and to see what we can change for performance and stability, as your kernel will be my default for everything now, which in turn makes Carbon, Pure-Aosp, CM, mokee, so you will have a lot of testers :P also don't be afraid to commit changes to the omni or cm gerrit's to do test's on people.
[HTC One X+] Lloir:
http://xdaforums.com/showthread.php?t=2611789
[HTC One X+] shreyanshk:
I went a step ahead and I've successfully build stock HTC kernel with linaro as toolchain but I don't know about the necessary changes required to convert it into Android 4.4 compatible kernel. :(
[HTC One X+] Lloir:
nik3r can help you there, I only deal with inline kernel builds and not standalone. Maybe he'll do a guide on how to do it all. TBH more dev's we have the more variety and I know the device will be still dev'd on after I finish here.
[HTC One X+] shreyanshk:
Here's to hoping that [MENTION=853294]nik3r[/MENTION] will do a guide........ :fingers-crossed: