yashsingh1/xdaforums huggingface dataset:
[HTC One X+] baste07:
Again, can't you give a straight answer without nagativity. That's what these forums are for. If ppl just flash anything without asking without asking there will be so much headache if it didnt work.
[HTC One X+] skdubg:
if all people only asking, there will be no experience.

no one can say if a kernel works with a favorite rom.

load your rom and flash it and see your result.

post your experience for others, but you asking everytime everything the same...
[HTC One X+] Azerox:
121212 kernel is very smooth and fast!
[HTC One X+] Birba:
Tested yesterday for another few hours 121201 without a single problem.

Then i installed new ordroid rom and gave 121213_EX1 a try. So i made my usual stresstest 2 times:

1. shadowgun freezed, after 1min exited game, then i couldn't klick on any shortcut on homescreen or notification bar, could switch apps, but they also were not clickable. i could slide screens, pull down notification bar

2. shadowgun was laging like crazy with sound stuttering, exited game, then same issue not beeing able to click on anything

Went back to 121201 and made the test again 3 times. no problem at all!

Hope that helps
[HTC One X+] ryanjsoo:
How`s the gaming performance on this kernel? does it lag on games like horn and sonic 4? also does this kernel work well in unison with renovate gaming boost? thanks
[HTC One X+] Pedal_Bike_Pete:
Still got the occasional sound pop on music playback, sometimes even with screen on. I haven't had any freezes or anything though.

I think the swipe unlock could do with a small increase to the distance required for swiping. 10 percent perhaps.
[HTC One X+] Azerox:
I listnen to audiobooks with smart audiobook player, and with 121209 i had the crackling sound.

But now i have not noticed any problems, been listening for about 3 hours yesterday no problem at all.

Its actualy very clear.
[HTC One X+] nik3r:
Ok so memory compaction is not the issue.

Posted second experimental version is in the downloads, please test if it still crashes or if it already behaves as 121201.

This has lowmemorykiller from 3.4 kernel reverted back to stock and compaction back in place.

Maxwen made a sysfs interface for my additions to s2w, so in next non-experimental version you will be able to fine tune the thresholds and style (free swipe or stroke) yourself. I personally like it the way it is, but we all have differently sized hands ;)
[HTC One X+] Birba:
Flashed new experimental, run my stress test twice and that without issues. No lag, no freeze.

I'll stay on this version and will report back, but it seems to be good.

So all this freezes could be related to lowmemorykiller?

Thanks
[HTC One X+] nik3r:
Yup, I took this commit from brickd kernel from HOX I think, looks like it's colliding with something.

https://github.com/niker/elitekernel_oxp/commit/2d1e584f254eadb6adeacedd31c9c5d1472b235d

Well if that fixes this, that will be no big loss, I didn't see much of improvement of any kind with it anyway, and we still get the memory compaction.
[HTC One X+] system2005:
Flashed the first experimental and have the same issues posted before. However, when flashed the second one all issues were resolved that are including freezes, low response when playing high graphical games and multitasking.

FYI, I have been applying all kind of aggressive tests for about one hour.

I really congratulate you on this success..
[HTC One X+] Birba:
@system2005: great to hear that. i tested now nearly a complete day and if the problem is now solved it was worth it!!

Thanks again nik3r:good:
[HTC One X+] nik3r:
Great, thanks for the cooperation guys, you basically fixed this for yourself, I was just hitting "git revert" and "sh compile" and stuff :D

I'll wait with the next release for a few hours at least, just in case you find something more.
[HTC One X+] baste07:
thanks Mate! i'll give the latest file a round as well
[HTC One X+] baste07:
Installer the latest experimental kernel. But when checking the version it still says 121212 is that just a typo?
[HTC One X+] nik3r:
I don't usually increase the internal version for experimental builds. It's basically 121212 + the one bugfix.

121215 is still in the works.
[HTC One X+] baste07:
Oks got it
[HTC One X+] nik3r:
New release

EliteKernel 121215

has been released

Fixed freezing, s2w is now more customizable, rebased on ARHD 6

Changelog for 121215

- fixed freezing bug

- s2w sysfs tunables interface by maxwen

/sys/android_touch/s2w_register_threshold - button panel locks to s2w after this distance
/sys/android_touch/s2w_min_distance - screen turns on/off after this distance
/sys/android_touch/s2w_allow_stroke - when set to one, direction of the swipes doesn't matter

- increased s2w_register_threshold for better button sensitivity

- rebased on ARHD6 boot.img

- fixed randomly broken init.d support

Enjoy :)
[HTC One X+] ChefChaudart:
Could you also rebase it on Elegancia rom ?
[HTC One X+] nik3r:
Shouldn't be necessary, the kernel is pretty autonomous right now, even towards ARHD.
[HTC One X+] Pedal_Bike_Pete:
Awesome man :) thanks
[HTC One X+] Golubev:
Finally, it works good with my applications, no problems for now. But due to high sensitive s2w i have some issues with accident screen unlocks, please advise what values i have to put into these lines to desensitize buttons?

/sys/android_touch/s2w_register_threshold - now it 9

/sys/android_touch/s2w_min_distance - now it 325
[HTC One X+] nik3r:
Make the 325px longer, safe maximum for full swipe is about 600. Or disable stroke if you have problems, that will need the correct direction like old s2w.

Put

echo 450 > /sys/android_touch/s2w_min_distance

Into some /etc/init.d script.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] ChefChaudart:
Hello,

Here is the only issue I noticced ; I got 3 GPS programs ; Navigon, Copilot & Igo PRIMO.

After installing this kernel Igo PRIMO became quite slow !?

( on My HoX ) the same PRIMO is so much faster.

Any idea ?

Cheers.
[HTC One X+] nik3r:
Try to run this .sh file on your device, it will basically set stock frequencies on CPU (restart will clear it). If that doesn't help, the iGO devs are doing something terribly wrong like not using GPU acceleration at all, go and complain :D

And yes, stock kernel might fix that by locking the CPU at 1.6GHz but like what the hell? In that case someone's been cutting corners... hardcore style :D
[HTC One X+] nik3r:
DataSwap Mod explanation

DataSwap mods

DataSwap is an experimental mod designed to "extend" memory available to apps.

Technically this mod will chew a few MB off your /data partition and establish a temporary swap storage. This allows data pages to be swapped out of RAM when they are not needed for some time, in turn freeing more RAM for other apps and filesystem caches without actually killing recent apps.

This results in far better multitasking, because your background applications are not getting killed due to low memory. At least not as aggressively as you are used to.

But (there is always a "but", right?) please note this mod entails some potential risks. Using it for prolonged periods *may* shorten the life of your device's internal storage just like the usual swap partition deteriorates your sdcard.

There are steps taken to prevent or minimize continuous abuse of single physical location of your storage, but it has not been tested over very long periods of time.

I take no responsibility for any damage - long or short term - this may cause. You have been warned.

To slow down or eliminate the potential storage corruption, I am attempting to create a new swap storage in different physical location on every reboot. That way the same physical space won't be abused over and over (like sdcard would where the partition is statically placed and can't be moved).

There are currently 3 variants of this mod

The variants are:

128MB - this is the recommended size until further testing

256MB - for people who use several very heavy apps and don't like them being killed, may degrade performance

OFF - this disables the mod completely and reclaims the swap storage

Note that keeping apps alive may also potentially cost some processing time and battery life, if they are not efficiently designed.

Again this is EXPERIMENTAL feature with LIMITED TESTING PERIOD and new for our device specs, the sweet spots may change as it gets tested more. EliteKernel should be already tuned for this feature and should minimize any performance loss. Using this with another kernel will not yield a smooth experience. The startup time increases by approximately 4-8 seconds.

You can check if the mod works by typing "free" from shell terminal.

Enjoy :cool:
[HTC One X+] ChefChaudart:
Thanks, I will try it.
[HTC One X+] grega_slo:
Hey!

This is a kernel issue.

I have exactly the same problem....

Also this kernel caps CPU at 1.6 GHz max...

Flashed stock ARHD kernel CPU is now normal up to 1.7 GHz and IGO is working great...
[HTC One X+] ChefChaudart:
ok, thanks, cause .sh file didn´t help.

[edit] HELP !

I flashed stock kernel from ELEGANCIA ( the ROM I use ), and now I have no baseband ... ( so no WiFi )

[edit] I tried your link on OP, and it seems to be ok now. And PRIMO is fast again.
[HTC One X+] Azerox:
Last 121215 kernel makes my phone very slow.

121212 was much much faster, feels like my phone is drunk now :)
[HTC One X+] somemadcaaant:
This is excellent, reminds me of the old Desire days of creating a second swap partition on the ext card, that old phone still runs the same speed after 5 yrs.

Thought about doing this when I got the phone to bring it in line with the new 2gb phones, creating an equal partition of up to 1gb wouldn't be worth while, with your magic memory reallocation technique?

-smc
[HTC One X+] nik3r:
It uses a swap file that moves around the storage, to prevent deterioration. I had about 25MB of used swap after full day of use, no slowdowns but the effect is only mild. The kernel has been tuned for this, it will swap out crap that's not being used for long rather than huge active apps, I am throttling the speed at which the pages are swapped to prevent any lags, so it has this side-effect of picking only the inactive stuff. Well it's a nice experiment at best as it is, the DZ this was originally designed for had effectively 2 storages (sd-ext left at least 600MB free on /data partition). Here with the race for one storage the effects are quite subtle.

BTW: I just released my first app on play store, see my sig and support the poor guy who hadn't slept for 3 days in a row :D
[HTC One X+] skdubg:
Hi nik3r,

do you have a trial or test version of your App?
[HTC One X+] nik3r:
I wish lol maybe in a month when I recover from the stress. My weekend was like one endless day up to now :mad:

I'll just cut the first version of video and go to bed :D
[HTC One X+] skdubg:
great idea :D

good night..
[HTC One X+] nik3r:
Here's the video, it's so terrible I think I won't even link it to play store lol

http://www.youtube.com/watch?v=NlhMb910_pc

Should have recorded with one X+ and preview on the DZ :D

I will redo this when I get back my camera and tripod.

Short review my a$$ lol
[HTC One X+] ChefChaudart:
And my battery consumption returned to 1~2%/hr instead of 3~4%/hr with your kernel.
[HTC One X+] ChefChaudart:
alive ?

@ nik3r

You are not support anymore this kernel ?
[HTC One X+] skdubg:
he is sleeping very long...:fingers-crossed:
[HTC One X+] nik3r:
Well I'm using it, I just have nothing to update at the moment. The drain you are experiencing may as well be s2w. Try to disable it and test over longer periods of time, for me the battery is better than stock by about 8 hours for my average use. As for standby drain, the only thing that can realistically affect that is s2w and you can turn that off if the price is to high.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] ChefChaudart:
Yes, but s2w was the feature I was loving.

Second problem was Primo being so slow.
[HTC One X+] nik3r:
I don't use iGO, if you have problems stop complaining and do something about it that's actually helpful. Or did you skip this part? I thought it's prominent enough...

So start flashing older versions chronologically until you find one that isn't slow, then tell me.
[HTC One X+] Azerox:
Fun thing: Few days ago i reported that my phone got rly slow after installing 121215 > but now after a week or so its actualy faster then ever.

Didnt do anything extra or so, just over time it happened.

Also best scores in quadrant atm with stuff in my sig :D
[HTC One X+] nik3r:
Consider the defaults are actually 1.3 ghz and stock is 1.7 . Use the sh script I posted a few posts ago to set full speed temporarily for better comparison. Cpu setting apps can't set tegra properly.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] Legolas90:
2 nik3r, i've been using your kernel with ARHD 6.1 and everything was great until yesterday, i stroke 2 wake and my screen is black, i have to reboot the phone by power button and it's keep happening over and over . i tried to reflash the kernel but it didn't work. Please help me :D i love stroke 2 wake:D
[HTC One X+] nik3r:
Try to hold down the power button until it reboots itself (5-10s), maybe you are not actually power-cycling if you have fast boot option on.
[HTC One X+] Legolas90:
i did reboot by holding the powert button but after that, when i stroke to wake the phone, blackscreen again. It happen randomly :(
[HTC One X+] nik3r:
Makes no sense, did you recently install some app? Different launcher perhaps? Or try to reflash the ROM without wipe.
[HTC One X+] lbaquerizo:
no signal

I flashed the kernel twice and I can not get signal at all no wifi no data, try to flash the sotck kernel back and its the same getting desperate what should i do
[HTC One X+] ChefChaudart:
Try this ;
[HTC One X+] nik3r:
Yes what he said, as last resort try to reflash the ROM without wipe.
[HTC One X+] lbaquerizo:
Yup that's what I did but instead I flashed this Rom

After that I got a much smother Hox+ but gona hold the kernel flashing until I learn more I just come from a galaxy S2 and is wayyyy different than HTC SO THANKS for the help

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] ulukai3:
Remote controls on headphones are managed with stuff in kernel or rom? If it's kernel, any chance you could tweak them?

Btw, latest kernel works like a charm :good:
[HTC One X+] nik3r:
ROM as far as i know.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] ulukai3:
Ok, thanks.
[HTC One X+] lbaquerizo:
flashing a kernel

can someone do a tutorial step by step in how to flash a kernel since I come from Galaxy S2 its almost frustrating to do it. Hope that one day we can flash kernel over RECOVERY

:laugh:
[HTC One X+] saibz:
-restart your phone

-hold volume-down when screen goes black, wait for reboot

-choose fastboot in hboot

-connect to pc through usb cable

-run batch file from downloaded archive/zip
[HTC One X+] nik3r:
You can flash elitekernel straight from your homescreen. Just connect cable and run the bat. It will enter fastboot for you if you have debugging enabled or custom rom ;)

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] lbaquerizo:
The thing is I did before but using advance tools 2.0 and the kernel flashed ok but lost signal and WiFi so I don't want that to happen again cause its really scary to think that your new device will stay like that forever

Enviado desde mi HTC One X+ usando Tapatalk 2

---------- Post added at 02:08 PM ---------- Previous post was at 02:07 PM ----------

Run bat means :confused: what opening cmd over my pc. Jesus I am such a dork :what:

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] reaper90:
There is a batch file inside the kernel package that you can download here. Just extract the downloaded archive to wherever you like, connect your phone to your computer and run that batch file
[HTC One X+] saibz:
If you lose signal just do it again, it's in the instructions. Just make sure you're using the One X+'s original usb cable.
[HTC One X+] lbaquerizo:
Finally I did it. I was flashing it wrong thanks guys for all the support. :beer:

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] lbaquerizo:
I guess this kernel is designed for battery cause my scores in Antutu and Quadrant went down. That's ok the rom feels very snappy but I was wondering is there a way to overclock this beast

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] reaper90:
Yes, this kernel is designed to give you best user experience and battery life. Benchmark scores may be worse, but who cares about these when your phone runs perfectly smooth (except some games that are not optimized for tegra3).

At the moment, it is not possible to overclock it further with this kernel. Maybe in future releases, but I'm not sure, I'm not a developer and I don't know if the tegra3 does allow it at all
[HTC One X+] Yezariael:
Why overclock at all?! We got a 1.7 GHz Quadcore!

If something is not running smooth it's not because of clock frequency or hardware but because of inproper implementation....

I got a Samsung Galaxy 10.1, it uses a 1.0 GHZ Dualcore and can be overclocked to 1.4 GHZ: Does not help in playing 1080p MKV because of bad architecture... Even phones with much less power can play these files if everything is designed well...
[HTC One X+] nik3r:
The kernel uses 1.3ghz on primary core as compared to 1.7 in stock. But stock gets overheated and underclocked in just a few minutes of gaming (blinking green led anyone?).

This happens only very rarely on EK, so you get consistent speed and better battery. The other 3 cores are 1.4, 1.5 and 1.6 ghz in order of priority when activated.

In power saving mode all cores get capped to 1.15ghz which is great to prevent overheating and battery drain in games that don't really need that much power to run. Power saving also gives you benefits in standby.

The score drop in benchmarks was less than 7% for me, it's over 15% when overheating plus the phone is unusable with 51° Celsius or more.

Last time I'm advocating my decision not to use full speed :D

And no, you can't overclock, programs on market can only set one or two cores properly. You can oc with a shell script if you really have to, posted it here earlier.

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] lbaquerizo:
Kudos and thanks. I am learning a lot from you guys

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] ulukai3:
Do you intend to make your kernel work with CM one day? For example with this ROM - http://xdaforums.com/showthread.php?t=2067325. Or is it the other way that rom has to work with your kernel?
[HTC One X+] ryanjsoo:
Can i use data swap on the arhd 6.xx stock boot.img?
[HTC One X+] lbaquerizo:
Was wondering if theres going to be an update,and cheers happy new year to everyone:beer:

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] aardappel12:
Why would you need an update? Anything wrong with it at all? I believe there's little to no improvements to this kernel, everything is working accordingly.
[HTC One X+] lbaquerizo:
Just saying its very good but no perfect.

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] aardappel12:
So what is there to improve? Atleast give Nik3r that hint haha!

Happy new years anyway peoples!
[HTC One X+] lbaquerizo:
Well I guess is about the temperature of the phone. It gets warm pretty fast, not very warm but since this is my first time with a quadcore May be normal.

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] nik3r:
Use power saving for apps/games that make it too hot. For stock 52°C is pretty standard (and CPU speed is throttled over 50°). I can barely do 47 unless I'm playing and charging at the same time, with powersaving even lower.

I was wondering if I should drop to 3 cores for power saving, also could force disable the 3 cores in standby, not sure if HTC does that.
[HTC One X+] lbaquerizo:
Power saving is allways on for example need for speed makes the phone hot but that maybe has to do with the rubber of the phone.

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X+] somemadcaaant:
Tho not intentional Quad core A9 @ 40nm its going to be warm by design.

High temps are standard on all phones now days even the kraits with their 28nm process as the gpu tends to be the culprit.

My previous phone felt warmer.

---------- Post added at 03:19 PM ---------- Previous post was at 03:10 PM ----------

It should do as the companion core kicks in only for background tasks, which is all tasks when phone is in stand by mode which is max ~500mhz stock?
[HTC One X+] nik3r:
Yes the CPU is limited to one core in standby, I just tested. Even during media playback/file transfer.

Companion core is a 5th core that takes over in standby? I never noticed any reference to that in the kernel, so I assumed it's just core0, has the same frequency scaling too.
[HTC One X+] :
Hello, where you say you fixed the read-only /system issue, did you also update the zip here: http://xdaforums.com/showpost.php?p=34470030&postcount=2 (the embedding process, post #2 in your stock kernel thread)?

I'm asking because I'm trying to build using your method, but my network reception is broken. Is the solution on git? Can you point me to it please? :)

EDIT: Oh sorry, answered my own question. Changes are https://github.com/niker/elitekernel_oxp/commit/c143eaee427c8364aa9bf702253466cdb46a9294 and https://github.com/niker/elitekernel_oxp/commit/9db286857586293772e823f732235931195bb0a7

Now I'm comparing the changes to what I downloaded from the post #2 I mentioned...
[HTC One X+] nik3r:
Yes I updated that package too recently. Don't forget you need to place your desired base boot.img to the correct folder, then do "sh extract", modify the init.rc in base by adding the startup block to the correct spot (as in the example init.rc), then put that modified init.rc to structure.new and your modules to structure.new/modules. Then "sh compile" to create a new boot.img. Make sure you have +x on the tools folder and content as well as the two scripts.

If you're making your own kernel, you may want to look up the kernel injector folder in my git and the kernel compile script, I have the packing process integrated with kernel compilation. Basically I do "sh compile" from my kernel root and it takes care of everything and I get boot.img with my new kernel right away.
[HTC One X+] :
Hmm. I'm still having trouble. Although it boots well enough, I'm getting no cellular reception. Wifi works fine.
[HTC One X+] nik3r:
Are you sure you have all the necessary modules from your kernel? Only use your modules, don't mix them.

Make sure this lists all your modules for chmod/own and that you insmod the modules that are necessary always (wifi/telephony).

#!/system/bin/sh

# EliteKernel: deploy modules and misc files
mount -o remount,rw /system
rm -f /system/lib/modules/*
cp -fR /modules/* /system/lib/modules
chmod -R 0644 system/lib/modules
chown 0:0 /system/lib/modules/scsi_wait_scan.ko
chown 0:0 /system/lib/modules/bcmdhd.ko
chown 0:0 /system/lib/modules/baseband_xmm_power2.ko
chown 0:0 /system/lib/modules/raw_ip_net.ko
chown 0:0 /system/lib/modules/baseband_usb_chr.ko
chown 0:0 /system/lib/modules/cdc_acm.ko

# make sure init.d is ok
chgrp -R 2000 /system/etc/init.d
chmod -R 777 /system/etc/init.d
sync

# force insert modules that are required
insmod /system/lib/modules/bcmdhd.ko
insmod /system/lib/modules/baseband_xmm_power2.ko
insmod /system/lib/modules/raw_ip_net.ko
insmod /system/lib/modules/baseband_usb_chr.ko
insmod /system/lib/modules/cdc_acm.ko
touch /data/local/em_modules_deployed
mount -o remount,ro /system

The fact that wifi works suggests you're doing it right, just check if the chown on these modules is correct.
[HTC One X+] nik3r:
New version

EliteKernel 130102

has been released

Just 2 changes I was thinking about lately, more battery and better gaming with s2w :)

130102

- s2w ignores swipes that originate in or go through the screen space (better gaming with virtual sticks)

- extreme powersaving update: power saving now limits the CPU to 3 cores while awake

Enjoy
[HTC One X+] :
Lovely! And got mine working too. Thanks for the walkthrough!