yashsingh1/xdaforums huggingface dataset:
[HTC One X+] dubdroid_:
hey nealkoy, I didn't want to offend you with my comment, I know your post wasn't supposed to be ungrateful, maybe there is just no development needed at the moment. And as you see, nik3r answered to my comment, so he is still active and may develop more kernel versions if necessary (maybe a newer kernel for android 4.2.x, whenever we'll get this update by HTC ^^).

So I don't see this as stuck development, I see this as a good, stable status-quo with no development needed at the moment :)

@all: So is there a possibility to get my init.d-script working (maybe with root permissions), especially for changing the value in /sys/android_touch/s2w_allow_stroke ?
[HTC One X+] nik3r:
You could try to change the value and then chmod 444 the option to read-only. Not sure if you can actually do that but it's worth the shot :D
[HTC One X+] dubdroid_:
already tried - permissions were reset (and so the value) at next reboot :(
[HTC One X+] nik3r:
I know, the idea was to change the value and lock it in init.d on startup. Prevent further tampering. These are no files, they are just links to settings so the changes are not persistent.
[HTC One X+] dubdroid_:
hmkay, are there any other possibilities or real setting-files that remember these values and survive a reboot?
[HTC One X+] nik3r:
It's 1 after reboot, that's not your problem. You need to stop whatever is changing it, prevent it to be changed or change it back after it's been changed.

So figure out what's changing it and stop it.

OR

Use init.d to change it and lock it with permissions to prevent other scripts from changing it.

OR

Use init.d to set it but sleep 60 before you change it, hopefully you will change it back after whatever changed it in the first place.

I can see no other way.
[HTC One X+] dubdroid_:
well, there is a script called 98checksettings that sets allow_stroke to 0, my script is called 99test, shouldn't this be executed after script 98? And as I said before, I don't know how to get root permissions to my init.d file, without root permission I cant change s2w_allow_stroke, and I have no clue why or how the 98checksettings-file can do this. So if noone can tell me how to get root permissions on init.d-script I can't do anything to this s2w_allow_stroke setting. Could an own shell script "xxxxx.sh", that is called by the init.d-script, help, to get root permissions for the value-changing?
[HTC One X+] nik3r:
I'm pretty sure it does have root permissions.

The problem is, it used to be like that, init.d would be executed in alphabetical order, waiting for the last script before another started. Not any longer, they all get fired at once in separate threads. So I reckon if you sleep for 15s before the actual change, the 98 script should be already executed with a safe margin.

Unless there's something changes in that regard in the repacked kernel, the permissions and owner (and therefore root access) should be set automatically for all files inside init.d folder, so you don'T need to worry about that. All should be chmod 777, chown 0:2000
[HTC One X+] dubdroid_:
what's the sleep command looking like? just a code line "sleep 15"?

If yes, this doesn't work for me. I really get desperate now -.-

But I've got to learn for a college test, will try some more code things at weekend. If I find or do not find any solution, I post it here...
[HTC One X+] kingflodo:
AW: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

The sixaxis controller app doesn't work on our phone. We found out it is a problem of the bluetooth drivers in sense based roms. Other guys told me that this is a kernel issue. As i am not a developer i thougt that one of you guys could help me. Is there anything i can do to make the app work without switching to a non sense rom?
[HTC One X+] dubdroid_:
Yeah, finally I got it working with sleep time of 30!

BIG THANKS to you, nik3r! :laugh:
[HTC One X+] nik3r:
Does it work on maxwen's Blade kernel under AOSP ROM? If it does, try to get the commit hash that fixes it from him, I know he has done a bunch of BT-related commits in that past.

Told ya, easy :D But it would be more elegant to have this optional in the ROM. I have no idea why someone would want to disable this great feature, I understand increasing the threshold to get less sensitivity but setting stroke to 0 is a step backwards.
[HTC One X+] -Vulture-:
Hi nik3r,

first off, thanks for your kernel, flashing worked perfectly with ARHD 6.2 on top. Slie2Wake is such a brilliant feature, especially when the device is in the S650 Speaker Dock :).

Anyhow...the first night with your kernel was not that nice for my battery, maybe you have an idea. In nearly 8 hours of stand by my battery went down from 100 to 79 percent, just from doing nothing. I watched the apps in the background, none of them was using the CPU. After looking in the android power statistics i saw, the there were a lot of little blue bars in the "active" line in the graphics. So i would guess, that my device enters sleep mode and gets called by a wake lock and wakes up again. Then sleep and wake up again. There are a lot of those blue bars :D, this "game" is repeating the whole night i think.

So i took betterbatterystats to take a look at the kernel wakelocks and the partial wakelocks. I found that baseband_xmm_power was getting pretty much attention.

Do you have any idea or hint, that may be helpful? Thanks!

BTW: Didnt have this problem with standard ARHD 6.2 kernel.
[HTC One X+] nik3r:
That sounds like poor signal and the device had to change cell towers frequently? But I may be wrong.

Definitely try to enable power saving at least over night (and disable the "data" options in there). And try to stay on wifi whenever possible, it eats far less battery. That should definitely be connected to radio
[HTC One X+] -Vulture-:
Thanks for the tips, ill try that out. At the moment the baseband_xmm_power wakelock is back to normal. The only thing i see right now is that Android System is popping up in the process monitor of "Android System Info" every one or two seconds with 1-10% CPU usage. This thing is hard to track. But fortunately my old One X is back, so i can use it for comparisons and find out whats goging on here. There must be an app triggering the wake up during night.
[HTC One X+] twnrsworld:
I flashed this kernel yesterday and found out battery drained faster than the one from Mike's.

I tried to flashed back to Mike's kernel and only to found out that I lost both WiFi /Radio.

How can I get back to Mike's kernel?
[HTC One X+] ChefChaudart:
Everything is at post #3.
[HTC One X+] reaper90:
AW: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Flash rom again without wipe after flashing boot.img or use nik3r's stock kernel with all modules embedded
[HTC One X+] -Vulture-:
Hi nik3r, just to let you know what my "research" revealed: It seems, that the power drain i experienced came from the wakelock "networklocationlocator", which used a lot of the battery. This one is related to Google Maps. The next one ist "alarm_rtc", which was caused by the app Hike. This messenger created an enormous amount of alarms and therefore the hox+ could not get to sleep.

So, and the point interesting for you ist "power_button_wake_lock", which was also present in BetterBatteryStats. This one is related to s2w. Shutting s2w off stops this wakelock (i switched it off with a widget). Im trying to get some reading on how much this wakelock drains the battery, but as far as i remember it kept my phone awake for 10 minutes every 1-2 hours. But dont take my word for this, i have to monitor it again with full focus on it. But i guess thats the battery drain i have to live with if i wanna use this feature, right? :)
[HTC One X+] Stephen:
Am I right in saying stroke 2 wake is different than sweep 2 wake? I think I remember some ware saying that stroke to wake allows you to wake the phone no matter the direction of the swipe? If this is the case how do I go about allowing this in the kernel?
[HTC One X+] nik3r:
Yeah, s2w in this kernel is my own flavor, heavily modified version of the original s2w. It allows you to start the swipe anywhere and (if not disabled) allows for both directions as well.

The old s2w you had to start and end at a specific points and it was rather clunky.

You can grab the changes on my github.
[HTC One X+] Stephen:
Hmm odd. I can start on the left hand side (back button) and move to the Home button or start at home and move to recent to wake the phone. Are you saying that I should be able to move from home to back for example to wake the phone as I am unable to do that?
[HTC One X+] nik3r:
Pretty much, yes. I think the default required length is little under 40% of the panel width. And stroke (or ignoring direction) is enabled by default as well. Unless you're using a repack or ROM that tampers with my s2w.
[HTC One X+] Stephen:
Re-flashed kernel and got it to work the first time the phone booted. Swiped from right to left to wake. After that it stopped working. Is there anything I can check on the phone to see if it stopping it from working? By the way S2W is brilliant. So much better than what I was used to on the sensation :)
[HTC One X+] dubdroid_:
check the file /sys/android_touch/s2w_allow_stroke with a text editor, if the value in the file is 0, you just got normal s2w, where the swiping direction does matter. Default Elitekernel setting should be "1" in this file, but I think the venom tweaks app sets it to 0, I saw the code in an init.d-script called "98checksettings", there is a part of code that affects s2w, sth. like "echo 0 > /sys/android_touch/s2w_allow_stroke".

Maybe you can see this in the logcat, but I don't know, as I don't understand all those lines of information in the logcat :D
[HTC One X+] Stephen:
yes I see exactly what you mean. I will talk to shnizlon and m0narx and see if we can get an extra option set in the tweaks to allow stroke to wake to be set with a value of 1. This I think will solve the issue!
[HTC One X+] Azerox:
Still the same bug:

When i listned to audiobooks, and i plug the phone in to power (to charge) i hear some weird noise. (while playing audiobook)

If i take the plug out, its solved.

Didnt have this with previous versions.
[HTC One X+] forest1971:
Hi: For sharing an experience with flashing:

I flashed 2 times using the non-original cable and resulted in losing phone signal. I was wondering if that is because my phone is in a newer firmware. Then I flashed using the original cable and it now works like a charm!

I am on stock rooted and just newly moved to this excellent phone.

I disable screen lock and now the swipe to wake act as the lock as well. Save so much time reaching for the power button.

BTW, thanks so much for this kernel! It's so smooth and the S2W feature is brilliant.

Great Job!!!
[HTC One X+] zboq:
Guys, I need your help. Tried to flash this kernel on stock rooted and just like forest1971 wrote I can get radio to work. Flashed kernel 3 times and same thing. So i went back to recovery and restored my boot partition using advanced recovery in CWM. And it's still the same even on my original kernel. What is going on ??
[HTC One X+] simorangkir_dcs:
you need to flash stock kernel try boot.img in Android Revolution HD thread, flash it via fastboot usb.
[HTC One X+] forest1971:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Another bservation, i try to flash using the all in one tool and it works reliable while flash using the .bat file often cause problem. I suspect that the all in one tool flash kernel using two stages and it is better. Should use the tool or manual method if you know how to use fastboot.

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

Also, one x plus is a s-on device so you cannot flash kernel using recovery. You can only do it using fastboot.

Cheers.
[HTC One X+] zboq:
Yep, already know about restoring from cwm. Either way, restoring boot.img from ARHD thread worked. Thanks.

I will try to flash elitekernel using AIO toolkit.

Update1:

Flashing Elite Kernel using AIO toolkit also didn't help. But, when I get home I will try flashing using original cable that came with hox+. Looks like other cable even from htc but for different phone does not work ;)

Update2:

Tried flashing with original cable and stil no go. Wonder how other people got it to work :/.
[HTC One X+] Phoenix09:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Do you have busybox?
[HTC One X+] monkboy24:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

How do I go about running this file?
[HTC One X+] simorangkir_dcs:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Try this: It seems that in some case elite kernel will work if it first boot with fresh ROM. So, maybe you can try flash kernel and then flash ARHD ROM and the kernel will work just fine.

It is a common issue if you stuck with no signal when changing kernel, and the only way I managed to overcome it is by reflashing both the ROM and kernel
[HTC One X+] zboq:
No, I don't have busybox installed

I'm planing to install ARHD but I'm waiting for new version to show, since it's on it's way

Update: Ok, I'm on ARHD 6.3, kernel is working fine.
[HTC One X+] laurab4369:
What is the diffrence between the stock kernel?

I have arhd 6.3

Thanks.
[HTC One X+] lbaquerizo:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Saves battery but loose some processing power nothing not noticeable but you will see more battery efficency definitely

From my One X+

Rom : ViperX+ 1.0.5

Kernel : Elitekernel 130119
[HTC One X+] somemadcaaant:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Or just reflash the kernel a second time which will probably fix it.
[HTC One X+] laurab4369:
Ok, i test this kernel now :laugh:
[HTC One X+] ryanjsoo:
Just wondering, would it be difficult to implement a quad core compatible interactive governor? It scales better in ui and games, reducing stuttering allot back on my og One X and Evo 3D, thanks
[HTC One X+] baste07:
let's leave that to the kernel developers. but i'm thinking if it's easy it would have been already done.
[HTC One X+] ryanjsoo:
Not necessarily, this kernel has been developed to provide better battery life however using the interactive governor in conjunction with the tweaks already added will probably nullify any battery saving tricks that have been implement yet simultaneously it will provide about a 20-30% increase in cpu related performance. I`m sure the developer has thought about it but has chosen the battery friendly route, I was just wondering if it could be implemented for those that may want to use it as it could be ported over from a one x kernel. Thanks again for the hard work of any developers or contributors for this kernel.
[HTC One X+] Ravanelli:
So technically I can't play hardcore games with this kernel???
[HTC One X+] nik3r:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Governor has no effect on gaming, only gui smoothness

Sent from my X+ powered by ARHD & EliteKernel
[HTC One X+] ryanjsoo:
The interactive governor was used in the nexus 7 and as such despite lower clocks the nexus 7 outperformed the one x in most games. The governor plays a large part in gaming performance especially with a cpu weighted chipset like the tegra 3, the interactive governor was said to have fixed framerate issues in sonic 4, nfs most wanted and nova 3/gameloft games. If possible please port it over to the one x+.
[HTC One X+] nchantmnt:
AW: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Governor just manages the CPU scaling and doesn't have impact on processing power of the CPU.

Furthermore stock interactive governor does have a more aggressive downscaling and should give even more laggs in demanding games. What you could do is tweak the governor parameters of your on demand governor for more aggressive upscaling and towards keeping those higher clocks.

But be sure that this will drain your battery faster.

Oh and the reasons why nexus 7 does outperform the one x are first its a nexus with a way slimmer and updated version of android and secondly n7 has lower clocks which leads to lower details for in game settings.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] ryanjsoo:
I do not want to alter the stock governor values as it would require an app such as setcpu which doesn`t play well with the tegra chipset, of course I know the governor can`t affect cpu max compute power but the problem with tegra is that many games only use 1 or 2 cores as they are not optimized for tegra. Just try any gameloft game on stock and see, with interactive despite it only using 2 cores, it still gives a vast increase in fps in asphalt 7 and nova 3, with an optimized quad interactive you will be able to achieve the true potential of tegra and we will no longer have to worry so much about stupid optimizations. This is especially relevant as the gpu is linked with the cpu hence lag when only a single or even two cores are used. Again not forcing anything just saying....
[HTC One X+] nealkoy:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Sorry guys if OT, any chance of porting smartmax gov by maxwen to EK?

Sent from my Nexus 7
[HTC One X+] nik3r:
I am working on experimental version that does just that, basically I'm rebasing EK on latest Blade kernel because I fell so much behind Maxwen's commits it's not even funny :D
[HTC One X+] nchantmnt:
AW: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Would love to test this :D

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] nealkoy:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

I would love to test it if you need testers :)

Sent from my Nexus 7
[HTC One X+] nik3r:
Later maybe, I will release a new experimental branch first as always. For now I'm re-implementing the power saving features. Maxwen did a great job, I'm getting about 30% better battery life, even more when watching videos. That's without actual HTC power saving in the mix.
[HTC One X+] baste07:
wow a new release. i'm keeping an eye out on this.
[HTC One X+] Ravanelli:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Can't wait 4 it!!
[HTC One X+] Stephen:
Would love to see a feature I had on the sensation! Could it be possible to tweak the led to blink infinite?

We had this and the led continued to blink until the screen woke up! This used nearly no battery at all and was brilliant!
[HTC One X+] nik3r:
That sounds like a ROM mod rather than kernel feature.
[HTC One X+] Muxeu:
Re: [KERNEL][19-01-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

It was a kernel hack
[HTC One X+] simorangkir_dcs:
Re: [KERNEL][12-03-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

Op updated?
[HTC One X+] nealkoy:
Re: [KERNEL][12-03-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

thanks nik3r! we'll test out your experimental kernel later :thumbup:

Sent from my HTC One X+
[HTC One X+] nik3r:
New release

EliteKernel 130312 (EX1)

has been released

This is a new experimental branch until proven stable. This kernel is based on Maxwen's Blade kernel for AOSP with most Elite juices added. Thanks Maxwen, you are the man! :)

Until I merge the kernel to normal line, the source of the experimental branch will be hosted here https://github.com/niker/EliteKernel-Blade-Rebase .

What to expect? Great battery life while maintaining very decent performance. I'm getting about 3 days of standby time, that's nearly an extra day for me. Also the new CPU load management makes sure your battery lasts longer when doing stuff like watching videos or playing music. I'm not sure about temperatures, this needs further testing.

When you enable HTC Power Saving, you will get the usual EliteKernel behavior - 1150MHz cap @ 3 cores and the device will go all the way down to 51MHz during audio playback. I have removed the upper CPU cap in power saving standby, it is now 475MHz. The default governor is now tweaked version of Smartmax, based on Smartass2 it should give even more savings, default freq is 51-1500MHz.

This also means it will be much easier to implement updates from Blade kernel and vice versa, since we have identical base.

Well give it a shot and report your findings :)

AD1: There's currently a bug with smartmax governor, where the first core frequency is never refreshed to/from power saving, you get stuck on whatever you boot with. Ondemand works fine in this regard.

~ NIKER
[HTC One X+] sffmandrake:
Hi,

Thx niker, all is more fast, responsive, got some lag with smarthass in game (riptide, beach buggy), with ondemand it work perfect.

Also the phone seems to be less hot than before in game and the battery life is better:good:

I will try bluetooth, gps, music etc... today.For now, no bug here .... :cool:

I didn't try powersving mode , i never use it.
[HTC One X+] maxwen:
Re: [KERNEL][12-03-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

smartmax is NO governor for gaming

you can't have one that's good for both
[HTC One X+] sffmandrake:
this is because i only use ondemand, it's a good governor between perf and batt life...

sorry, i forgot to thx u maxween , you did a super job :good:
[HTC One X+] ivicask:
Just flashed 130312 on latest viper, but theres something wrong.

Phone runs smooth at first, than i ran AnTuTu and whole phone starts lagging up, even when i exit AnTuTu, phone is so lagged up like its running 200mhz max.

There are no scripts or apps that control CPU active..

EDIT: Theres something wrong with new AnTuTu, just got 20 000 score, and freezes up phone in combination with new kernel..

EDIT: Kernel works fine, just stupid coincidence that new AnTuTu was released and its broken..
[HTC One X+] maxwen:
well - smartmax is aimed to "normal" phone users

and I dont count playing heavy games as "normal" :D

---------- Post added at 11:35 AM ---------- Previous post was at 11:09 AM ----------

What have you broken :D:D:D
[HTC One X+] nealkoy:
Re: [KERNEL][12-03-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

smartmax with latest kernel running great so far for me with normal usage, fb, whatsapp, instagram, browsing and YouTube. still cant give accurate feedback on battery life yet though ...

PS Mode disabled and max freq set @1.5

Sent from my HTC One X+
[HTC One X+] maxwen:
BTW for those interessted

I have writen some technical details about smartmax here

http://xdaforums.com/showpost.php?p=38193047&postcount=6943
[HTC One X+] nik3r:
Well it seems that smartmax is ignoring QOS policies altogether, neither min or max works :)
[HTC One X+] Stephen:
No the blink time is set by the kernel. If you have a look at Faux kerenl in the sensation thread they usde it there!
[HTC One X+] nik3r:
New version

EliteKernel 130312 (EX2)

has been released

This is an experimental branch until proven stable. This kernel is based on Maxwen's Blade kernel for AOSP with most Elite juices added. Thanks Maxwen, you are the man! :)

Until I merge the kernel to normal line, the source of the experimental branch will be hosted here https://github.com/niker/EliteKernel-Blade-Rebase .

- Changed default governor to ondemand

- Updated to latest Blade commits

Ghost: can you provide link to the actual commit? I was looking for it for a bit and didn't find anything like that.
[HTC One X+] maxwen:
Re: [KERNEL][12-03-2013] ~=~ EliteKernel OXP~=~ (adv. s2w, extreme powersaving)

that's not anything a gov will ever do

those are handled in cpufreq globally
[HTC One X+] nik3r:
My bad but why would ondemand work?

It only really gets applied when the core is offlined and onlined again. So starting with powersaving on I'm getting stuck at 1150000 and with ps off it won't change in realtime to powersaving freq. The cores that can switch on/off eventually get updated. Ondemand is immediately changed, I don't get it :D