yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] bebo_beta2002:
thanks mates for replies.. elementalx 13.4 right? cause i was using 13.3 all the time and gave me better battery life as i stated before
[One (M7) Original Android Development] ONDR4SH3K:
[MENTION=4684315]flar2[/MENTION]

I'm sorry about that, but it's really bug of kernel. I flashed stock ROM with stock kernel and If i flash your kernel, task manager not work (double tap on home button) and if I push and slide up home button, it shows error and sense restart (google now?).

Battery life is very very good with this kernel, but i need task manager.
[One (M7) Original Android Development] ac3kill:
13.4 and arhd 53.0 working wonders awesome freaking battery life lovin it
[One (M7) Original Android Development] flar2:
It is not a kernel bug.

The functions of the buttons are determined by the system. You have probably tried to disable the 3-dot menu. Doing so causes the exact symptom you are describing.
[One (M7) Original Android Development] ONDR4SH3K:
In Aroma Installer v13 Sense 4.4.2 is not choose, if I want disabled 3-dot menu or not. I choose swipe to sleep and dbltaptowake only.
[One (M7) Original Android Development] austrie:
Hopefully I cant get some help before my post gets lost in the flood of other replies lol :eek:
[One (M7) Original Android Development] chrisrj28:
If you look in the first post right at the top of the page you will see this:

This version works on every HTC One variant except Sprint and Verizon.

The Sprint HTC One version is here: http://xdaforums.com/showthread.php?t=2295596 ​

That should get you taken care of, and no need to bump your post, this thread doesn't get that crazy. You may not have received a response yet because the first post discusses the Sprint version.
[One (M7) Original Android Development] Freak07:
your device was on the charger! :P
[One (M7) Original Android Development] austrie:
Lmao i'm sorry, my mistake. I need to start wearing glasses, didn't realise this wasnt the sprint section :eek:
[One (M7) Original Android Development] chrisrj28:
No worries, just didn't want you to get flamed. Hope that works out for you.
[One (M7) Original Android Development] rbrandser:
Thank you sir for the amazing kernel you make for us.

Oh yes I quoted this text on purpose. It should be posted more often. :)

????
[One (M7) Original Android Development] javikiller:
Flar2, here is another log extracted just after phone not respond to dt2w or s2w and also just after I plugged the phone to pc to extract it.
[One (M7) Original Android Development] ABQNM:
These complaints drive me nuts, but are usually from uninformed or uneducated users. I tend to live in the kernel thread for my preferred kernel for my device and it seems like everyone always blames the kernel, which, 99.999875% of the time is not at fault.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] javikiller:
Sorry, I forgot to attatch the log.
[One (M7) Original Android Development] ABQNM:
This may be a busybox issue preventing the 99elementalx script in init.d from running. I had a version of busybox that wasn't letting the 99elementalx init.d script execute properly.

To test, enter the following code

as su

in terminal:

echo 1 > /sys/android_touch/doubletap2wake

That is the half screen version of DT2W. For full screen, change the 1 to a 2. This won't persist beyond a reboot, but it can be used to see if it is the init script not running. By running this command in terminal as su, if it works, then you may have an issue with busybox. If it doesn't, then there is something else going on.

If the command above works, install Busybox on Rails by Team Trickster. Then reboot. It worked for me when the busybox I was using wouldn't run the init script properly.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ac3kill:
No problems with kernel 13.4 and arhd 53 swipe to wake and sleep works perfect for me havnt come across anything. Great work.
[One (M7) Original Android Development] javikiller:
Thank you for your help. I will try it but I don't have busybox installed.
[One (M7) Original Android Development] ABQNM:
That would be your problem then. Without busybox, the init.d script that runs at boot that enables those features won't run, so they won't be active.

The terminal command should still work without busybox installed if you want to test, but you need to install busybox if you want the kernel settings to apply at boot. Install the one I linked in the previous post.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ghostryder12:
Thank you very much. I just learned more great info about how this kernel works.

Via Operation streamline; Stealing your info since 2001 via the NSA van parked outside
[One (M7) Original Android Development] ABQNM:
You're welcome.

Edited because I failed to read properly.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ghostryder12:
I have been using ElemetalX with ViperOne Roms as soon as I rooted my HTC One. I've been reading all the posts talking about battery life between 13.3 and 13.4, reading Flar2's responses, and just trying to learn what a kernel does and how it does it. Also, what will effect it's performance. Like this, I didn't realize that busybox had anything to do with a kernel.

I'm still on 13.3 and I have no issues so I'm good.

Thanks for asking though.
[One (M7) Original Android Development] Rad ryan:
[MENTION=4684315]flar2[/MENTION] Sorry to repost this but I got no answers and have found out some things on my own since I last posted it. I have also attached something that may help you to get powersave_bias working bc it essentially gives you the code for everything I think and it seems to be similar to yours, but I'm no dev so I hope you check it out. I know what most of the ondemand governor settings do, but there are a few I'm not quite so sure about. Would you mind, or anyone else who knows, telling me what the following settings do?

(setting) = your current setting for a particular tunable

1) up_threshold_multi_core, up_threshold_multi_core, & up_threshold_any_cpu_load ?

- I think that if up_threshold >/= (setting) then go to max freq

- If up_threshold_any_cpu_load >/= (setting) go to optimal_freq

- If up_threshold_multi_core >/= (setting) go to sync_freq

Is that correct?

2) enable_boost_cpu and gboost

- What is difference?

3)gboost_threshold

- I think RAISING it makes it more sensitive, correct?

- The min value possible = 11, Max = 100, correct?

4) input_event_min_freq?

- Still not sure, but my guess is that it is similar to touch boost. If screen is touched and if current frequency is less than input_event_min_freq (setting) then go to the freq set here, correct?

- input_event_timeout I don't have a guess for this one, can someone inform me?

5) two_phase_freq ?

- what does this do?

Link to download doc as pdf: https://www.dropbox.com/s/j417v0sgkljgfff/cpufreq_ondemand.c.pdf

Link to the Web page : https://android.googlesource.com/k...3.4-kk-r1/drivers/cpufreq/cpufreq_ondemand.c
[One (M7) Original Android Development] ABQNM:
Oops. Too many things going on. I didn't look at your username when I posted. I assumed that you were the same person having the problems that I was assisting. Sorry about that.

Busybox doesn't really have any effect on the kernel itself, but it is required for running scripts and other Linux commands, and is therefore required for setting any init.d scripts, which is how this kernel lets you configure many of its options. Pretty much any non-stock ROM usually will have some sort of busybox installed along with a superuser app. If you are running a stock ROM, however, you have to add busybox yourself after installing the superuser app. Most of the rooting guides I have seen for the One fail to mention this. Sure root will work without busybox, but it severely limits the capabilities of many root applications and customizations.

Anyway, sorry about the mix up. Cheers!

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ghostryder12:
Sweet, thanks for that information. I'm feeling smarter already:cool:
[One (M7) Original Android Development] picklerick:
Using 13.0 with AT&T stock 4.4.2 rom and sometimes my screen won't turn on when trying to wake the device forcing me to hold the power button and reboot. The notification buttons light up and I can tell the device is still responding except for the screen staying black.

Also I didn't see an option to remove the 3 dot menu button. Is that no longer available?

Thanks for this kernel, everything else is working great!
[One (M7) Original Android Development] ABQNM:
I can't speak to the sleep of death issue, but I have seen another report that 3 dot menu mod wasn't in Aroma for that version. It is just one command that you can execute in the terminal as su and it should persist through a reboot (if it doesn't you can add the line to the end of the 99elementalx init.d script--ask if you need to).

As su, execute the following command and then reboot:

setprop persist.sys.navbar.hide true

Edit: if you are viewing on Tapatalk, don't type the code: part. That is Tapatalk's poor way of displaying the code box you would see on the web version.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ghostryder12:
3 dots in tweaks

Via Operation streamline; Stealing your info since 2001 via the NSA van parked outside
[One (M7) Original Android Development] ABQNM:
That looks to be a part of the ROM you are running. Jsergio123 mentioned stock AT&T ROM.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] ghostryder12:
Well crap, and I looked right past thAt in his first sentence. Sorry guys.

Via Operation streamline; Stealing your info since 2001 via the NSA van parked outside
[One (M7) Original Android Development] ABQNM:
Looks like we were both having one of those days. Remember a few posts back? I forgot how to read also. No worries.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] flar2:
This is a multiphase ondmeand governor with input boosting, and behaves differently depending on what your phone is doing and whether 3d graphics are being used.

Powersave bias is unnecessary on this governor, I don't know if it works or not, never checked. Basically what it does is limits the governor from increasing to the max frequency. But since it doesn't use the max frequency that much anyway, it's not necessary. It's just a remnant from the ondemand governor this is based on. Both HTC and myself have extensively modified it from the original ondemand.

up_threshold_multi_core, up_threshold_multi_core, & up_threshold_any_cpu_load

These are also remmants of the the original ondemand. They don't do anything.

2) enable_boost_cpu and gboost

enable_boost_cpu boosts the cpu to max freq when resuming from suspend so the screen comes on quicker. HTC added this and I can't remember if it is active or not.

gboost makes the governor switch to regular ondemand governor and lowers the up_threshold when the graphics are being used intensely.

4) input_event_min_freq?

This is the touch boost frequency. When you touch the screen, CPU0 goes to this frequency for the number of ms specificed in input_event_timeout

5) two_phase_freq

If the cpu or graphics load is starting to get high, the governor switches to ondemand, but the max frequ is limited to the two_phase freq. If the load gets higher, it goes to the next phase and uses higher frequencies.

I already have that in the init.d script and I haven't seen that navbar in ages.

The 3-dot menu tweak is different, and will cause problems with the button functions.
[One (M7) Original Android Development] flar2:
I hate to ask again, but I'm looking for donations so I can get the new HTC One, which is coming out next week. I'm only asking for one or two dollars.

Things seem to have petered out in the past week. We've raised $419. My goal is $790.94 (anticipated cost is $699.95+$90.99 tax) and on top of that I have to get the sim unlocked (probably $30) and buy a cheap monthly plan and cancel it (unfortunately, the stupid cell phone companies won't let you buy the phone without also signing up for phone service. My carrier will not be selling the new HTC One).

Up to now, I have paid out of pocket for all my devices, but I can't justify that anymore, because relying on donations does not cover the cost of the device.

A huge thanks to those who have already donated.
[One (M7) Original Android Development] ABQNM:
Ah I see. I misunderstood what this 3-dot menu tweak was. I assumed it was removing the menu bar that pops up, but it seems like you may be referring to forcing the OS to display the overflow menu always, am I correct?

I wasn't trying to step on your toes here, so I hope you don't mind I was trying to help. There is a lot that is common between how kernels operate on different devices and then there is just the randomness I have to learn. I have been living in kernel threads for some time now. I was imoseyon's resident expert for Leankernel for the Galaxy Nexus for well over a year, but as much as is the same is also different. Anyway, thanks and cheers!

Sent from my brain using human to phone transport technology.

---------- Post added at 09:00 AM ---------- Previous post was at 08:52 AM ----------

Any chance you can take bitcoin? I am in a huge battle with PayPal that I am not allowed to discuss so I can't use PayPal. If you have a use for bitcoin I can send you a few $.
[One (M7) Original Android Development] flar2:
HTC is a whole different ballgame, but you'll catch on fast. Appreciate the help.

I will have a look at bitcoin, I don't know much about it.
[One (M7) Original Android Development] ABQNM:
Thanks again. My last HTC was an Incredible 2 (or S for those outside the US). There wasn't much to it back then. 2.6 kernels and such.

As for the bitcoin, if you aren't already into it, it may be more hassle than it is worth as it isn't the easiest to convert to cash. It is still a cool concept.

I was going to suggest the Gmail money transfer, but I saw the Canadian flag on your profile and it isn't available up there yet. Even if I can't get you money I will still help out here. If you know imoseyon, ask him about me. I am legit. (Though most of my history is over at rootzwiki). Take care.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] Toxicoblivion:
Could we get the kexec hardboot added in to these kernels? :)
[One (M7) Original Android Development] Giblet-dono:
already is added

[MENTION=4684315]flar2[/MENTION]

4BF93343BH8666441

Hope it helps, love your kernels!

Keep up the good work, and please keep supporting this device aswel ;)

P.S. Also for your One S kernel, fantastic job.
[One (M7) Original Android Development] iElvis:
Now is probably not the best time to be getting into bitcoin. I'm just saying.
[One (M7) Original Android Development] ABQNM:
Yeah it is a bit volatile now with the MtGox issue and government bans in some countries and other issues.

The value is still up 450% from October, though it was as high as 800% 2 months ago before all that happened. Who knows what the future holds for it and other crypto-currencies. For those already using it though it is an easy way to send money.

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] jayplusone:
If anyone is wondering, yes it works with MaximusHD 33. ?
[One (M7) Original Android Development] flar2:
Damn, I guess I should have got into it earlier. Might still go for it anyway, I like the concept.
[One (M7) Original Android Development] mielnoir:
Also want 13.3 back....
[One (M7) Original Android Development] ONDR4SH3K:
Ok, I found a "bug". If you choose HTC menu and disable three dot, you get error from video and recent apps not working. But If you reflash kernel with new options a don't choose HTC menu, you have the same error.
[One (M7) Original Android Development] ABQNM:
Can't help with the bug, but you should probably add your kernel version and ROM. It will save flar2 the step of asking. ?

Sent from my brain using human to phone transport technology.
[One (M7) Original Android Development] flar2:
The 3-dot menu has nothing at all to do with the kernel.

Back when that tweak worked, I offered it as an option because it was convenient if you enabled logo2menu.

In the last few Android updates, the 3-dot tweak screws a bunch of stuff up. That's why I no longer offer it as an option and advise people not to use it. I think the option is still in Trickstermod and a few other places.
[One (M7) Original Android Development] flar2:
What exactly is the problem with 13.4?

There is NO reason that you should see a difference

Here are the changes between 13.3 and 13.4

1. I changed the name that shows up in kernel version:

-CONFIG_LOCALVERSION="-ElementalX-13.0"

+CONFIG_LOCALVERSION="-ElementalX-13.4"

2. fix copy past error. I mean to unlock the wakelock here, not that mutex. This cancels a wakelock as soon as possible, even though it would timeout in a tiny fraction of a second anyway.

-	mutex_unlock(&pwrkeyworklock);

+	if (wake_lock_active(&l2w_wakelock))

+	wake_unlock(&l2w_wakelock);

3. change the length of this wakelock timeout from 35 to 33 jiffies, just for the hell of it.

-	wake_lock_timeout(&l2w_wakelock, 35);

+	wake_lock_timeout(&l2w_wakelock, HZ/3);

4. put a timeout of 50 jiffies the touch wakelock so it would never get stuck and keep the phone awake longer than 50 jiffies

-	wake_lock(&l2w_wakelock);

+	wake_lock_timeout(&l2w_wakelock, HZ/2);
[One (M7) Original Android Development] Helmut_TuT_GuT:
I Would also confirm thar 13.4 is working fine.
[One (M7) Original Android Development] dark2099:
Not to say this actually affects it, before I flash the kernel, while on stock, I enable the long press home to menu, which removes the 3 dot by default, then enable logo2menu, might help some to sort any issues to that.
[One (M7) Original Android Development] harshdev:
Hi Team,

I am on GPE 4.4.2 stock kernel and flashed ElementalX 11.4 kernel and get Active cmd line overflow error. Can some one help please.
[One (M7) Original Android Development] flar2:
Is there new firmware again? You shouldn't get that error on 11.4
[One (M7) Original Android Development] harshdev:
This is Google Play Edition firmware (stock google) with hboot 1.54 firmware 3.62.1700.1
[One (M7) Original Android Development] donkeykong1:
V13.4 with light use. With heavy use it will last about 20-24 hours. OC 2GHz, min freq. 486MHz, everything else stock. And disabled pocket detection that caused wakelocks. Thanks flar, i hope my PayPal is sorted soon so donation can come your way
[One (M7) Original Android Development] w1000i:
i recommend 531 for the GPU :D
[One (M7) Original Android Development] Rad ryan:
I will gladly donate to your cause. I am also in dispute with PayPal, so I can't use that at the moment, but there are other ways to go. Next time I'm at the store I'll head over to the prepay cards section and see what they got :) .

Thanks for your response. I don't get what you mean when you were talking about gboost and two_phase_freq and you said,

and

Can you clarify for me the part about the governor switches to (regular) ondemand?

Also, 2 small questions. Is gboost_threshold related to up_threshold?

Is input_event_freq and two_phase_freq settable? In trickster mod, when I try to set these 2 it just resets it back to 384000 mhz.
[One (M7) Original Android Development] tiny4579:
[MENTION=4684315]flar2[/MENTION], I thought multi-phase was used instead of two-phase on the current Kitkat ondemand governor.
[One (M7) Original Android Development] felacio:
I looked and didn't see any mention of gsm only, which is why I asked. Oh well, I figured but thought I'd ask.
[One (M7) Original Android Development] tassadar898:
Thanks! Cant wait, let me know if you need a tester cause I think I would be stable below 800mv.
[One (M7) Original Android Development] itzsnookums:
You win...no mention....hmmm Idk lol
[One (M7) Original Android Development] CheesyNutz:
ok i feel dumb for asking this but where do i s2w on the screen lol
[One (M7) Original Android Development] seniorstew:
Stupid question.. But can we use set cpu with this kernel?
[One (M7) Original Android Development] jlevy73:
The back and home button area. To wake up swipe from left to right and the opposite for putting to sleep.
[One (M7) Original Android Development] CheesyNutz:
hmm not working here :crying:
[One (M7) Original Android Development] jlevy73:
Make sure it's on using kernel tuner or trickdroid app. Then you have to be really precise in your swiping.

Check out the video here about S2W: http://xdaforums.com/showthread.php?t=2021714
[One (M7) Original Android Development] CheesyNutz:
yea its on according to kernel tuner
[One (M7) Original Android Development] jlevy73:
I find it's much easier to wake up then put to sleep. But once you get the hang of it it's pretty easy. It's still a bit too sensitive IMO, but I'm sure the OP will improve that feature over time.

---------- Post added at 05:52 AM ---------- Previous post was at 05:50 AM ----------

Yes you can but I would recommend you try out Kernel Tuner or Trickdroid (both are free from Google Store and are more robust with their features)
[One (M7) Original Android Development] CheesyNutz:
yea flar is a great dev im sure he will dial it in
[One (M7) Original Android Development] Trekest:
I'm normally use System Tuner Pro, however I might give Trickdroid a go.

Care to share a link for it? Can't find it.
[One (M7) Original Android Development] expertzero1:
It's trickster not trickdroid
[One (M7) Original Android Development] jlevy73:
My bad, the name is Trickster Mod. Here's the link: https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en
[One (M7) Original Android Development] Trekest:
Thank you. Added that to my checklist.

Sunday can't come too early!
[One (M7) Original Android Development] itzsnookums:
So I think I found a issue,can anyone verify,volume for headphones can't be turned down with beats on....turn beats off, works fine lol....might be rom Idk.....running evolution.....
[One (M7) Original Android Development] GonzoDuke:
I don't have this issue running this kernel and the ARHD 7.0 ROM
[One (M7) Original Android Development] jlevy73:
Don't have that issue running Trickdroid 5.1. Screen on and off I can adjust volume fine.
[One (M7) Original Android Development] blacklistedcard:
Reporting back. 2052 is running great on my device with the GPU OC'd to 450mhz. So far no reboots. The phone does get a little warm, but nothing to get worried about. Nice.....
[One (M7) Original Android Development] flar2:
sweep2wake should be pretty easy to activate. You don't need to be precise, just make sure you sweep over both buttons. If you don't do it fast enough it won't register. If that's the issue, I can make the timeout a bit longer. The only other quirk with sweep2wake is you might have to do it twice coming out of deep sleep. I don't want to change that, because I like how deeply this phone sleeps.

I haven't finished writing the OP yet, but ElementalX has a configuration file at /etc/elementalx.conf. It holds any adjustable settings from the aroma installer and you can edit that file to change settings.

Right now I think it just has sweep2wake settings, but this is where all the kernel settings will go as I add features.

The sweep2wake settings are:

0=disabled

1=sweep2wake/sweep2sleep

2=sweep2sleep only

Apps such as trickster mod or kernel tuner can override the settings in /etc/elementalx.conf. Once you get the setup you like, just be aware that they can all conflict, so set them all the same.

ElementalX also has a log file at /data/local/tmp/elementalx.log. It shows the date of the last boot and the settings applied by /etc/elementalx.conf