yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] Giblet-dono:
We obviously need more information:

Phone model:

S-ON/S-OFF:

HTC Unlocked:

ROM:

Recovery:

HBOOT:

And if there is any: the error message from recovery

Also check the MD5 of your download please:

ElementalX-m7-6.1.1.zip = 33780d9bdd2d74cfd3c3e22e127d78be

ElementalX-m7-6.1.2.zip = 4341706add992fe00535ded891adfe7d

Please check those

I use md5 calculator 1.0.0.0 , you can use it from the right click menu which in very convenient

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

Yes there is a use to the powersaving mode

Your screen brightnes will go down, and things like wifi scan time will change to save power

So yes, it will save you extra power.

though the best way to save power is to turn it off ;)
[One (M7) Original Android Development] chevymusclecar:
Yeah switched to Android for bigger screen. Plus all that modding was time consuming. Thanks bud!
[One (M7) Original Android Development] Beast Power:
Look at rumrunners s-off instructions, you can now get s-off for hboot 1.54.

Alternatively you must extract the boot.img from the kernel flash file.

Copy boot.img to adb directory

In command prompt run :

adb reboot bootloader

Make sure your phone says fastboot usb

then type in

fastboot flash boot boot.img

from bootloader you can now boot into recovery

clear cache and dalvik

flash the kernel file

now you aught to be set
[One (M7) Original Android Development] paranoid2007:
I think that's the reason for the different results.
[One (M7) Original Android Development] the_real_fosgate:
Hello flar2,

I hope I can ask ask this ;)

Why are you developing two different kernels (Bulletproof und ElementalX)

Sorry, I think this questions hase been asked for many times, but I cannot find an answer in this thread.

Bye

Robert
[One (M7) Original Android Development] BrickL0rd:
longpress logo to wake/sleep doesnt work for me on 0.9 - i haven't enabled sweep2wake/sleep but its enabled!
[One (M7) Original Android Development] backfromthestorm:
Hi Flar2,

Have you any idea why the button sensitivity is lower on the custom kernels? Is it htcs crappy source?

Also, is it a big job to adjust it? Or we better off waiting for newer kernel code.

Thanks.
[One (M7) Original Android Development] godofwar424:
It's HTC's old source. Will be fixed when they release newer sources.

---------- Post added at 11:05 AM ---------- Previous post was at 11:01 AM ----------

My sensor doesn't work in any testing app at all, just constantly says 0.0cm even though in the phone app it works fine :confused:

Attached my last_kmsg and I am going to do a complete full wipe and reflash of everything. Probably needs to be done, been dirty flashing my ROM's the past 3 releases :p

PS. To access HTC's test suite for sensors and everything, go to dialer and type *#*#3424#*#*

EDIT: I have reflashed Trickdroid 5.4.0 completely, full wipe and with stock kernel tested the proximity sensor using Sensor Box, still no functions. Works fine in Phone app still, so not sure what the hell is going on. Sensor can't be faulty as it works in the phone app, I am starting to think the ROM is at fault here. DT2W and S2W do work, but not when its really dark :confused:
[One (M7) Original Android Development] poczynek:
How can you lower the minimum frequency? Can't see the option to get below 384 mhz. Thanks.
[One (M7) Original Android Development] backfromthestorm:
You can't.
[One (M7) Original Android Development] godofwar424:
Can everybody with the DT2W/S2W problems do the following please, if you have time :)
[One (M7) Original Android Development] GuyAdams:
Yeah sweep2wake seems inconsistent when based on proximity, today so far it's worked perfectly apart from 10 minutes ago when it just refused to wake the phone no matter how many times I sweeped. The room has blinds closed but it was bright still so can't be darkness affecting it.

If you would like me to test a debug version, I will be happy to :)
[One (M7) Original Android Development] godofwar424:
Could you follow the steps in my post above yours please and report back ur findings :)
[One (M7) Original Android Development] GuyAdams:
Android sensor box, light and proximity sensor box working. Although the proximity sensor went from 9cm to 0cm in very little distance at all but it does switch as you would expect it.

HTC function test for both sensors passed also.
[One (M7) Original Android Development] godofwar424:
Interesting, my proximity sensor says its 0cm all the time :(

Even though in the phone app it functions PERFECTLY, but every other test says its just constantly being covered. I don't quite know whats going on :confused:
[One (M7) Original Android Development] flar2:
I think the best course of action is to make the proximity detection optional, then if it doesn't work you can disable it.

I didn't anticipate that some people would have problems with the proximity detector. Mine works all the time, no matter if it's bright sun or pitch black.

It might be interesting to see if there is any commonality among those with non-working proximity sensors. What ROM are you using and are there any settings that might affect the way the proximity sensor works? Maybe there's a hardware variation?

I don't know, but I'm going to make it optional in the next version.

This is a bug (completely unrelated to the proximity sensor thing), thanks for picking that up.

Bulletproof is an enhanced stock kernel, no messing with CPU. ElementalX is more configurable and has options for automatic undervolting and overclocking of the CPU and GPU.

The logo2wake function can be accidentally disabled by apps like trickster mod or kernel tuner because they don't have this option. I think I'll make a separate setting for this like I did with dt2w.

I've tried a couple of things to fix it, but no success. We'll probably have to wait for HTC to release more source.

The chip was not designed to go below 384. There is a way to get lower frequencies but I'm pretty sure that using the high frequency pll for very low frequencies will result in instability and stutter. I think we'll get the best battery life by respecting Qualcomm's decision to use pll8 for the idle frequency.
[One (M7) Original Android Development] godofwar424:
I mean mine works, just not in complete darkness which is just strange.

I am on TrickDroid and judging by results it seems my proximity sensor ISN'T working properly which is worrying me :/

Also in the Phone app it functions fine, with the occasional hiccup. So I don't understand how I have an intermittent proximity sensor, and whether I should call up Phones4U and get a replacement device, incase this proximity crap gets worse :s

Any ideas on fixing this without hardware changes?
[One (M7) Original Android Development] flar2:
The log you sent seemed to be fine, I saw it change from NEAR to FAR in the log. I'm not 100% certain, but I think the proximity sensor is a light sensor. From reading the kernel source code, the ambient light sensor and the proximity sensor are the same piece of hardware. Maybe some are just more sensitive than others.
[One (M7) Original Android Development] godofwar424:
Hmmm, well my proximity sensor is actually bugging out randomly in call now as well. Called up phones4u and getting a replacement. Just gotta exchange it in store. Just copying all my stuff off it and backing stuff up, then need to restore my stock nandroid backup. Don't need to worry about unlocked bootloader and recovery, as the fault is hardware and not software :)
[One (M7) Original Android Development] fix-this!:
Ive tried both this and bullet and i get slow wifi speeds. My nexus 7 is on the same router and its fine. Not sure if its kernel or rom related?
[One (M7) Original Android Development] medicus07:
No issues... everything' s fine. Long press logo2wake works perfect! Thanks!

Renovate r117 with ElementalX 0.9 on an international One.
[One (M7) Original Android Development] Nekromantik:
Whats this lionheart gov?

Is intellidemand still best one to use?
[One (M7) Original Android Development] mikbe:
It's all here

CPU Governors explained
[One (M7) Original Android Development] thecrab93:
Quick Stupid Question

Is 6.1.1 GPE 4.3 compatible? Thanks in advance.
[One (M7) Original Android Development] Giblet-dono:
please look at the first post the answer is there

GPE 4.3 -> ElementalX 4.4
[One (M7) Original Android Development] Etshooter:
Reading the op and the last 10+ pages to find your question answered ftw.
[One (M7) Original Android Development] fokus:
[MENTION=4684315]flar2[/MENTION]: I love your kernel. But would you mind to have a look to bt mouse+ keyboard? No chance to get it working here :(

Many thanks!
[One (M7) Original Android Development] thecrab93:
I thought so, thanks.
[One (M7) Original Android Development] lbaquerizo:
Could install the kernel but why when trying to play Plant Vs Zombies 2 the game crashes :confused:

Enviado desde mi HTC One usando Tapatalk 2
[One (M7) Original Android Development] Giblet-dono:
has been reported multiple times already, next time please search first.

there is currently no fix, but going back to stock kernel
[One (M7) Original Android Development] Alex1_kgr:
Hello, I have ARHD 31 and when I try to flash kernel 6.1.1(after all settings when the procedure starts) my phone restarts and it doesn't flash the elemental kernel.
[One (M7) Original Android Development] gordonpn:
Is anybody using a different TCP congestion control other than the default one (cubic)?

What's a good I/O scheduler and read ahead buffer for combination for a balance between performance and battery life?
[One (M7) Original Android Development] gianton:
Default settings by flar2 works the best for me.
[One (M7) Original Android Development] ZeroInfinity:
I use Reno TCP congestion since it gives me the fastest speeds ;)
[One (M7) Original Android Development] Etshooter:
It was stated a while back so you're forgiven but flar said and I can confirm fiops and a low read ahead buffer size works best. I use what is stock for elemental 128 fiops.
[One (M7) Original Android Development] strikerdj2011:
whats the speed like people on 4.3 sense 5.5 roms herad few people say its quite laggy and that since the offical sense based 4.3 source hasnt been released yet ?
[One (M7) Original Android Development] c5satellite2:
Laggy, really? Actually the exact opposite.
[One (M7) Original Android Development] CharliesTheMan:
Yeap it's great for me. Of course it depends on the rom, some 3.62 based sense roms with less bloat and features and mods and such feel lighter than some of the heavier ones but they're all fast. I know of 2 roms I ran with the old base and then flashed directly to the rebase of the same rom and on both of them the 3.62 based version felt faster, smoother, and more efficient. I know battery life has been pretty good (for most) too but it's really hard to tell how much of that is from the firmware and radios or from the rom base itself.
[One (M7) Original Android Development] J-Hop2o6:
I use Reno since my tests with my previous phone (GNex) gave me better, consistent speeds. But the rest aren't far off.

I use Deadline for I/O.S since they say its the closes I/O.S to Real-Time. But i'm currently using fiops and its not bad either. My previous favorite was CFQ, which worked great for the weaker GNex I was using previously. But for the HTC One, deadline > fiops / cfq > row... As for R.A.B.S, I use 3072. Not sure why the default is 128kb. 2048 works fine also.
[One (M7) Original Android Development] strikerdj2011:
ok thanks

thanks will flash kernel :)
[One (M7) Original Android Development] Johnny424:
I have never tried messing with the congestion options. I will play with them now
[One (M7) Original Android Development] mobileman88:
Far from it. It works much smoother and faster
[One (M7) Original Android Development] d.kuyt:
I really appreciate the work of flar2 but for me, the stock kernel of ViperOne 3.X RC is still working a bit better than elementalX (smoothness, temperature, battery), also the camera seems unstable.

On 4.2.2 base elemental X is undoubtedly the best kernel.:thumbup::thumbup:

Perhaps with the 4.3 source code it would be better:D:D

Sent from my HTC One
[One (M7) Original Android Development] CloggieUK:
That makes 3 ex-mmi members :)

Sent from my HTC One
[One (M7) Original Android Development] Elim:
Same here. Until someone has a fix for this, we only can use the "Android File Transfer" application...
[One (M7) Original Android Development] beats4x:
[MENTION=4684315]flar2[/MENTION] on ViperOne 3.1.0 RC2 360 and flashlight focus assist work flawlessly. Thanks for this kernel ?
[One (M7) Original Android Development] Giblet-dono:
[MENTION=4684315]flar2[/MENTION]

I am an IT student and I install alot of OS'es

Now I would love to be able to use: Drivedroid

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

But it requires the kernel to inlcude UMS and for CD-rom emulation it needs to be patched.

If you have any time, could you maybe look into this?

Thanks in advance for every and any help

Giblet
[One (M7) Original Android Development] C0caC0la:
Anyone knows why the vibration feedback disappears after flashing this kernel? After flashing the kernel only the vibration for the Ringtone/Notification is working. And yes Power Save is deactivated. Please help me.
[One (M7) Original Android Development] frankcck:
Great news, dude.

Do u mean 6.1.2? I'm in stock kernel and I didn't find 360 features.

By what you mean, I can get 360 and keep flashlight assist after flash elemental X. Is it correct?

HTC One @ ViperOne
[One (M7) Original Android Development] cuyo11:
yeah sense 5.5 update actually is smoother, but I have been experiencing severe battery drain, me and a friend too. Seriously, nobody has experienced a battery drain with the latest base? :eek: I have tried many roms including stock so I know is not rom related.. :crying:

pd: with the older bases I was having approximately 6 hours of screen time and 22 of total battery time, now I can barely reach the 4 hours. I have noticed that is not a wakelock because if the screen is off the battery will hardly decrease. It seems more like if the phone is using the CPU much more than before, I wonder if this has something to do with the recent changes in choosing between software and hardware compositing...
[One (M7) Original Android Development] karl_azytzeen:
Me too! today my phone say godbay after 1d 14 h and 1:30 of screen... with 4.2.2 stock it uses to reach 2+ days and 4-5h of screen
[One (M7) Original Android Development] fcjan:
Take a look what app is using the juice.. In my case it was Drive Activator (or something like that..) Google Drive activation app, I had it installed on ARHD no matter if I had Google Drive installed or not.. it was using about 70% of battery and it keep phone awake 0/24 :mad:
[One (M7) Original Android Development] Shan89:
I'm quiet sure cpu boost ( up threshold ) when gpu reaches max is the battery drainer like I said it will be before it got released , best bet for those who have bad battery go back to version which didn't include this boost.

I personally love this version for gaming but battery is way better on stock.

As I said the best thing to do and to keep this boosted on-demand is to add 2nd on-demand governor.
[One (M7) Original Android Development] beats4x:
Yeah that's correct, I didn't have 360 prior to flashing EX 6.1.2. Everything still working after flashing, including flash focus assist.
[One (M7) Original Android Development] aamitabh28:
Sorry ive been out of sense for a while

Vibration in capacitive keys does not work yet ?

Thanks
[One (M7) Original Android Development] flar2:
Use trickster mod to increase the vibration strength.
[One (M7) Original Android Development] grgsiocl:
[MENTION=4684315]flar2[/MENTION] Trickster app gives an option to increase the mic, headset and speaker sounds in custom kernel. I just want to know, where exactly in the system it makes changes...could you please let me know..thanks in adv
[One (M7) Original Android Development] Thijssie909:
I thought faux sound patches are needed for that? But they aren't in the kernel?
[One (M7) Original Android Development] c5satellite2:
+1

Does this option work?
[One (M7) Original Android Development] mistaliu:
Farthest tab on the right, see vibration strength change that to like 2400 or 2700 whatever works for you
[One (M7) Original Android Development] grgsiocl:
It does works......
[One (M7) Original Android Development] wikie:
no matter what kernel I brew, I can not play against zombie plant 2 weill it always crashes: (

looking at what one is that?
[One (M7) Original Android Development] mwr666:
+1

that would be a very nice option cause there r lot of people that use pendrives for live linux distro and with Drivedroid you got it in ur phone

EDIT

Drivedroid uses mass storage and we have MTP so i think there will be a problem getting it work
[One (M7) Original Android Development] Giblet-dono:
Yep it requires UMS but, as the thread also says, most kernels do included UMS, they just have it deactivated!

So maybe the code there, and flar2 could enable it somehow
[One (M7) Original Android Development] javikiller:
I think there is a problem with wlan_rx_wake on version 6.1.1 that the version 5.6 didn't have.
[One (M7) Original Android Development] tiny4579:
It is possible. I added the patches to my Galaxy Nexus kernel and was able to boot a Linux CD image from it. Galaxy Nexus also doesn't have native UMS support.
[One (M7) Original Android Development] GermanGuy:
For best game performance, is it still recommended to use simple governor with laziness of 7 and ramp-up of 1000?
[One (M7) Original Android Development] fcjan:
it only works on stock kernel.. but you are not missing anything, it's not that good
[One (M7) Original Android Development] hamdir:
i don't agree i have the same unexplained drain on stock kernel and the graphics boost is now an option in AROMA mate so why complain? second ondemand is unrelated matter, Flar2 graphics boost fixes the need to switch anything before gaming your suggestion of a second governor is just like using a boost script
[One (M7) Original Android Development] smartanks:
I cant seem to connect my phone via mass storage , i have to change the usb mode to tethering or some other option on the phone and then it shows up. Does anyone else have that issue?

EDIT : seems to be working now , weird.
[One (M7) Original Android Development] Ardmanz:
I've gone over to Viperone (from ARHD) just to test a new ROM for a bit. I can't install elementalx with this either. Same problem as before, installs ok, then crashes on boot and wipes recovery and yes, I have tried "fastboot erase cache". It's very strange. Bulletproof is fine.
[One (M7) Original Android Development] beats4x:
Are you sure you don't have Wi-Fi always scanning? There's a setting in 4.3 that had Wi-Fi scan even while off for better location data
[One (M7) Original Android Development] javikiller:
Yes, I am. I have checked it and it's disabled. My device never goes to sleep mode because the process wlan_rx_wake is always running.

Any idea?

Thank you!
[One (M7) Original Android Development] beats4x:
After doing a quick Google search, I've found a few things for you.

It seems as though it is not kernel related. it may be happening due to data traffic constantly coming in and out. I found a few solutions.

Go to Settings-->wifi-->advanced and make sure that keep alive during sleep is unchecked.

If that doesn't stop it then you need to dial in on which apps are sending/receiving data and stop that sh*t ?

Third, it may be router related, but you said that it just started on newer version of EX. You're not on a new router too are you? Or is it only happening on one specific router?

Last, and this is just common practice, have you reboot your phone since this started?
[One (M7) Original Android Development] semool:
i have the same Problem since many Versions. Im using lama and disable my wifi after 2min screen off and enable again at display on.

No solution but a workaround.
[One (M7) Original Android Development] demongrim:
This is so weird. Everytime I install elementalX 6.1.1, I always get boot loop. Then recovery gets corrupted some how. Could it be the recovery I'm using? I'm using lastest cwm. Also, I'm on Viper Rom 3.1 RC 2.
[One (M7) Original Android Development] Derrick Ross:
TWRP will do you wonders
[One (M7) Original Android Development] demongrim:
Thanks. I flashed TWRP and it worked. No more boot looping. Maybe the lastest cwm has a bug?
[One (M7) Original Android Development] coelhooliveirar:
I get the bootloop but now my ADB does not detect the phone anymore... so I cannot flash any custom recovery :crying:

---------- Post added at 02:46 AM ---------- Previous post was at 02:44 AM ----------

Hi, was the solution only reflashing the custom recovery?

I got the boot loop, corrupted recovery and also no detection of my phone in fastboot mode
[One (M7) Original Android Development] demongrim:
Yes. Use latest TWRP recovery. Then go into boatloader and do this:

fastboot erase cache

fastboot flash recovery TWRP.img ( I recommend renaming your recovery image to this so it can be easier)

fastboot erase cache

Then boot into recovery. Make you put the TWRP recovery img in your adb folder. ADB also didn't detect my phone but it works with fastboot. I think the lastest CWM has a bug that messes up the phone when flashing certain flashables like kernals.
[One (M7) Original Android Development] coelhooliveirar:
OK!

I am with the last TWRP and I reflashed the ROM Stock (to get the stock kernel) and update-supersu again.

Now do you recommend me to try ElementalX again?
[One (M7) Original Android Development] demongrim:
It should work. I flashed it with no problems so go ahead.
[One (M7) Original Android Development] Alex1_kgr:
I updated the TWRP(2.6.3.0) but I have the same problem.With ARHD 31.0 when i'm trying to flash elementalX 6.1.1 and 6.1.2 my ONE restarts and boots normal with stock kernel.

Any solution guys?
[One (M7) Original Android Development] fcjan:
Try not to OC CPU and GPU to much and also don't UV to much.. 2000 MHz and 530 MHz is more then enough
[One (M7) Original Android Development] Alex1_kgr:
It's not that.I used older version with the same settings and i tried to flash the kernel without overclock or UV the phone. I'll try to reflash ARHD and then flash the kernel.
[One (M7) Original Android Development] rasta312:
Could someone provide a link to version 6.1.2?
[One (M7) Original Android Development] Alex1_kgr:
http://goo.im/devs/flar2/One/ElementalX-m7-6.1.2.zip
[One (M7) Original Android Development] KaSSoPi:
Feature request.

HI guys!

[MENTION=4684315]flar2[/MENTION] could you please the CM feature to change the tracks with the volume buttons?

Cause i don't use the stock headset-so i need to take my phone out of pocket to change the track-and because of it's size it is very uncomfortable especialy in public transport.

What do you guys think about it-it is a very popular feature in nexus roms/kernels so i don't think it is very hard to implement it :)
[One (M7) Original Android Development] Ardmanz:
There doesn't appear to be. I'm not really sure why some of us are effected and some aren't.
[One (M7) Original Android Development] coelhooliveirar:
Well, 2 things to consider when a new version is released:

- Plants Vs Zombie 2 does not run after flashing this kernel (weird)

- Corrupted CWM 6.0.3.1 and 6.0.4.4 The solution was flashing TWRP 2.6.3.0 ( http://techerrata.com/file/twrp2/m7/openrecovery-twrp-2.6.3.0-m7.img )

I have

S-OFF CID 11111111

Stock ROM and firmware 3.62.401.1
[One (M7) Original Android Development] n0j0e:
Look here: Twrp reboots when installing kernel problem

Send with much love & Android. ( HTC One )
[One (M7) Original Android Development] lee901:
[MENTION=4684315]flar2[/MENTION]

Sorry if this is Off topic.

I am trying out to run Linux images on HTC One.

I want to ask you if EX 6.1.x support loop devices?

Thanks in advance.
[One (M7) Original Android Development] Mikanoshi:
Just try this. With random reboots first try this, then everything else:

http://xdaforums.com/showthread.php?p=46220786#post46220786