yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] tfouto:
I have a great idea, please consider:

An idea that will make the HTC One rock the world.

A fast way to change screen brightness. The volume rocker could be used to change screen brightness when a finger was touching the screen of the phone.

When one wants to change the volume, they just use the volume rocker with their right hand. If someone wants to change the brightness of the screen, one would for instance, touch with a finger off the left hand, on the screen and with the right hand press the volume rocker. The difference is an extra touch on the screen while you are pressing the "volume rocker".

Something like when one press the volume rocker the phone would check if there was any point ot touch on the screen. If not it would just change the volume as usual. If any finger was touching the screen, then it would change the screen brightness instead.
[One (M8) Original Android Development] flar2:
Yes
[One (M8) Original Android Development] t3khe4d:
start here, it should explain things better

http://elementalx.org/elementalx-app/
[One (M8) Original Android Development] grega_slo:
Remember my battery usage problem?

Well it turned out to be GPS and Google Play Services...

Now I can easily achieve 2+days with constant mail sync...
[One (M8) Original Android Development] style154:
What did you do to fix this?
[One (M8) Original Android Development] rbrandser:
Tried to gain s-off. :)
[One (M8) Original Android Development] Iceberger:
Use a stock kernel.

A good ROM to use sunshine on is arhd.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Why trying with custom kernel if it was stated to use stock ? :D lol

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] rbrandser:
Yeah, I never seen the requirement to use stock. :)

Anyway, all this stuff required to flash custom roms nowadays... I think I'll just go back to stock.
[One (M8) Original Android Development] Nokiacrazi:
What did you do to fix this?
[One (M8) Original Android Development] grega_slo:
Turned off GPS :)
[One (M8) Original Android Development] yamakouwxga:
"wake gesture setting" in elementalx.conf what does this mean?

M8 already have this setting in default setting.
[One (M8) Original Android Development] tfouto:
And with Google services?
[One (M8) Original Android Development] grega_slo:
Turning off location reporting and resetting advertising ID + turn off GPS and use only wifi and network location helped a lot.
[One (M8) Original Android Development] tfouto:
Ok,

I turned off location completly. When need to use a GPS Navigation app, i just turn on the GPS and afterwards, turn off also.

I also turned off Google Now.
[One (M8) Original Android Development] grega_slo:
I uninstalled google now and all bloatware that I could :)
[One (M8) Original Android Development] PwnCakes193:
I'll be damned but resetting my advertising ID also drastically reduced my battery usage. I changed nothing except for that. It cut back on the snet and analytics wakelock for some reason.
[One (M8) Original Android Development] Nokiacrazi:
Sorry but how does one go about resetting AD ID
[One (M8) Original Android Development] bdizzle1686:
Google Settings>Ads>Reset Advertising ID
[One (M8) Original Android Development] Tetsumi06:
Finally got around to installing firmware (3.28.401.7) as, being s-on, it's a royal PITA.

Installed InsertCoin 5.0.3 followed by EX 2.0 (which, from following the thread states that 3.28 is essential) but now I can't turn WI-FI on :(

UK unbranded One(M8)

Any ideas?
[One (M8) Original Android Development] dovah:
How did you install the latest firmware if you're s-on ? You should not have been able to, hence why WiFi isn't working.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Official its dude !

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] p50kombi:
Yoda you speak like.... :D
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Oh yea strange haha was too early :D

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] Tetsumi06:
Download signed firmware for my MID

Download and install stock recovery

Lock boot loader

Flash signed firmware

Devunlock boot loader

Flash TWRP

Flash the rest.

Pretty much the only route open to s-on users I believe.
[One (M8) Original Android Development] tominozh:
Yes, but I don't think you need to relock bootloader even while s-on. It should still work with unlocked bootloader.
[One (M8) Original Android Development] Tetsumi06:
Really? I'll skip the locking step next time and see if it will flash.

Still not getting WIFI to turn on :-/

*** Software status: Modified ***

*** UNLOCKED ***

M8_UL PVT SHIP S-ON

HBOOT-3.19.0.0000

RADIO-1.19.21331147A1.09G

OpenDSP-v38.2.2-00542-M8974.0311

OS-2.22.401.5 (3.28.401.7)

eMMC-boot 2048MB

Oct 10 2014,00:20:35.14326

================================================

fastboot getvar all

version: 0.5

version-bootloader: 3.19.0.0000

version-baseband: 1.19.21331147A1.09G

version-cpld: None

version-microp: None

--> version-main: 2.22.401.5 <--

version-misc: PVT SHIP S-ON

serialno: SH43WW*********

imei: ***********************

imei2: Not Support

meid: 00000000000000

product: m8_ul

platform: hTCBmsm8974

modelid: 0P6B10000

cidnum: HTC__001

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: on

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: df77f8b7

hbootpreupdate: 11

gencheckpt: 0

==============================================

Starting to think the 'flash success' report might have been a little premature.
[One (M8) Original Android Development] dovah:
It would seem the firmware did not flash completely, maybe try flashing it again? Other than that I don't know how to help as I'm s-off, so firmware updates are quite easy :P
[One (M8) Original Android Development] DeeZZ_NuuZZ:
If it still doesn't work properly, get a stock nandroid for your cid and get the official ota but you need to flash the stock recovery too...there is no need for relock, but if nothing else works do that

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] Captain Cook:
Just installed this kernel. I have an OTA update from HTC, I can't update. Is that how it works after installing a custom kernel?

---------- Post added at 03:49 PM ---------- Previous post was at 03:37 PM ----------

When I try to install the OTA, it reboots to recovery. When I try to install the OTA zip in TWRP, it gets me an error message. What to do? Sorry for being a noob!
[One (M8) Original Android Development] mattman83:
You need stock recovery to install ota. Nothing to do with kernel (though you'll have to flash elemental again after).

M.
[One (M8) Original Android Development] Captain Cook:
Thanks! Lol I just went back to all stock again. There was not much difference for me I guess.
[One (M8) Original Android Development] p50kombi:
request for Harman Kardon support in Kernel?

Hi [MENTION=4684315]flar2[/MENTION] I know this is a bit cheeky but I am wondering if there is any possibility of merging HK support.

I just read that Lyapota has added HK support in his kernel and was wondering if there is a possibility to support that in your kernel also.

Thanks, loving the kernel so far.
[One (M8) Original Android Development] flar2:
Already have it
[One (M8) Original Android Development] p50kombi:
You're the man..

So it's already included in 2.0..

I should have read the changelog better.. :)
[One (M8) Original Android Development] DeeZZ_NuuZZ:
It's already longer inside, since one of the first builds :D it's the hd audio so therefore h/k always worked fine Sith his kernel

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] p50kombi:
You're a star wars fan aren't you..

Few days ago you were talking like yoda... Now the sith... :D may the force be with you mate..

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Haha lol :D :D

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] Gamesoul Master:
So as long as the ROM supports H/K, everything will work, yes?
[One (M8) Original Android Development] G1_enthusiast:
stuck

I'm really stuck guys....I'm trying to set the following argument to my init.d file but it kept reverting back to 300mhz and 1.7ghz

echo 652800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 1574400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

what am I missing?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Why not using a kernel tuner app like trickster or if you paid his app?

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] G1_enthusiast:
i paid for all of it from faux to cputuner and trickster...I like to learn something instead of just using a GUI
[One (M8) Original Android Development] zebidybob:
You would need to turn off pnpmgr or select the cpu frequency in aroma.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Bee sure to set right permissions and the right file name. For example it doesn't work too if you have an ending like .txt

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] G1_enthusiast:
went into system/bin and rename pnpmgr.bak, I did set different freq

checked permission everything seems good. the weird thing is, when I do it via ADB shell, it works for 2-3 min then it revert back to original settings.
[One (M8) Original Android Development] zebidybob:
That's because pnpmgr is changing the cpu frequency based on certain conditions (can't remember them, but I know it's meant to limit the cpu when using sat nav, I assume it controls touch boost too)

Not sure if what you did will disable it but if you use faux123s kernel and faux clock you can disable it with a toggle.

Flar2 has said multiple times that you shouldn't change cpu max frequency anywhere but in aroma.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You have to reboot, but why the hell do you want to set min freq higher? It doesn't make sense xD

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] G1_enthusiast:
because I UV my phone enough so heat is not a problem. bumping up the freq make the phone less likely to upping the freq, frequency stepping could lead to battery draining. Just some testing.

---------- Post added at 12:00 PM ---------- Previous post was at 11:56 AM ----------

pretty sure he said this because people tend to fat finger the numbers then freeeze their phone and not knowing how to fix it. I am smart enough to know how to enter recovery mode via hard button.

the point is not to use applications, you cant learn anything using other people works, not sure if you guys know but android is linux, learning linux is pretty useful.
[One (M8) Original Android Development] Thermaltake868:
Hi [MENTION=298610]Flar[/MENTION] I wrote you PM, can you text me back plz, tnx.
[One (M8) Original Android Development] raashnal:
Elementalx App: Rom Not Supported

I installed the Elementalx app with the Renovate nightly and the InsertCoin 5.03 Roms and in both cases when I tried to use install and update I got the following message "the currently installed ROM is not supported". Anyone else having this happen to them?
[One (M8) Original Android Development] flar2:
Check the permissions of build.prop
[One (M8) Original Android Development] raashnal:
Elementalx App

Thank you, it is working perfectly again.
[One (M8) Original Android Development] HD2Owner:
[MENTION=4684315]flar2[/MENTION]

hi sir.

i had a idea for the elemental x app and i am wondering if you might like it.

it could also have three horizontal lines for min/max/max-screen-off frequencies.
[One (M8) Original Android Development] TheKnux:
Where can I find this app? :P
[One (M8) Original Android Development] Sneeuwtijger:
[KERNEL] [Oct 27] [Sense] [GPE] ElementalX 2.00

Search in this thread , it is described a few times - first become member of the ElementalX Kernel App Discussion group on Google+ , if done so you are a Beta tester, from then you can buy the App -still in Beta therefor not normal available in PlayStore - from the Play Store
[One (M8) Original Android Development] G1_enthusiast:
as you can see, a lot less stepping, most applications stays at 652mhz. temperature remain the same.
[One (M8) Original Android Development] ippoglosso:
Mooo
[One (M8) Original Android Development] tareqak13:
Please i need a stock Kernel for 4.4.4 Sense
[One (M8) Original Android Development] elsworth1983:
http://xdaforums.com/showthread.php?t=2896772 wasn't hard.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Yea but only because it is the min freq :D

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] G1_enthusiast:
could be, but from my observation the step are 652mhz and 1267 are used the most. I just eliminate 300mhz from the equation preventing and minimizing freq stepping to save battery, albeit not much but my phone does seem to run cooler with this set up.
[One (M8) Original Android Development] deagleone:
Im sure the 300mhz setup runs cooler and has less battery drain... Simple physic...
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Yea 300 is more used then 652 or so and saves more battery. Also 300 is mostly only if we don't really use the phone or screen is off...so no need to raising the min freq

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] G1_enthusiast:
when screen is off, the phone go into deep sleep not hovering at 300mhz. However, there is a school of thought that, the higher the freq, the faster it will be able to complete a task (synching and applications update) then go back into deep sleep mode.

---------- Post added at 12:49 AM ---------- Previous post was at 12:43 AM ----------

liked I said...I UV my phone to -150+ cooling is not a problem, what I did was minimizing frequency stepping and preventing the cpu to hop to the highest freq in order to perform an operation.

battery life has been slightly increase to negligibly but cooling is obvious, I am always hovering around 28-30c as oppose to 30-33c at room temperature.
[One (M8) Original Android Development] donmarkoni:
If only those engineers at Qualcomm knew that... :rolleyes:
[One (M8) Original Android Development] striker_lt:
Sweep2Wake

Anybody out there getting DoubleTap2Wake / Sweep2Wake to work on ExtremeEnergySaving Mode (the thing with 6 Buttons on screen) ?

Sweep2Sleep is working without problems, but wake won´t work on my m8... It only vibrates on doubletap/sweep but no wake :/

I´m currently on SD v22, but I think it´s a kernel issue. No matter what options I choose in elementalX App or Sense6Mod, wake don´t work for me. Only if i quit the extende energy saving wake works again. Any Ideas?

regards, chris
[One (M8) Original Android Development] ishemes:
I have been playing with the ElementalX beta app and CPU speeds. It looks like the minimum CPU speed setting doesn't stick for more than a few minutes. When I set the minimum speed to 729 and watch the dashboard. It idles on 729 and hardly moves from this. But then when u check a few minutes later it idles on 300 again and keeps scaling up to 1036 or higher a few times a minute. This scaling is what I try to prevent.

I want to experiment with the minimum CPU speed of 729, which is the highest CPU speed before the CPU will use more voltage on my device. It prevents the CPU from scaling up to a higher voltage often to do little tasks that don't need more than 729 MHz to complete fast. But the cpu governor will jump to 1036 for small tasks, thus using more voltage and probably more energy. I understand that there is a fine balance between going to deep sleep faster while using a higher voltage and going to deep sleep later but using less voltage and I want to experiment.

But anyway, the minimum CPU speed doesn't stick. :D
[One (M8) Original Android Development] flar2:
It will only stick with a lot of hacks. I've always suggested not to change it, and I only reluctantly added it to the app. it should be left at 300MHz.
[One (M8) Original Android Development] flar2:
Traditional sweep2wake will work. Wake gestures will not work, because the gesture service is shut down.
[One (M8) Original Android Development] ishemes:
Clear. I'll change it back. Thank you for the feedback.
[One (M8) Original Android Development] marcos600rr:
have done it and nothing also redownloaded and flashed still same result and dnt wana move to other kernel i like this one a lot silky smooth good batt life but this isue is kind of anoying

EDIT FULLWIPE SOLVED THNX
[One (M8) Original Android Development] captainreynolds:
Which app lets you resize the on screen buttons? Also which auto hide on screen buttons application specifically do you use?
[One (M8) Original Android Development] flar2:
No, sorry.
[One (M8) Original Android Development] exSD:
thanks :good:

our Sprint M8's are completely dead in terms of development
[One (M8) Original Android Development] Brava27:
That sucks. Dev support for phones nowadays makes it much more fun.
[One (M8) Original Android Development] Mikee4fun:
CDMA is a dying breed...
[One (M8) Original Android Development] derektm.:
[MENTION=4684315]flar2[/MENTION]

I have a spare HTC One M8 for Verizon is there any information I can pull from it or testing I can perform to help you port? I did the buy one get one offer and am fine with using the second one for dev. :)

Using your kernel on family and friends htc one with great results.

Thanks!
[One (M8) Original Android Development] nasty159:
So with Faux Sound in terms of this phone what can it actually do...? Does anyone know. Had a play in the faux sound app seems to do nothing.
[One (M8) Original Android Development] grgsiocl:
just increases the volume sound (makes it louder compared to stock sounds) of headphones & MIC. It is noticeable when you use headphones and before that increase the headphone gain controls either using Trickster app or FAUX Sound app. The sound mod doesnt have any effect on boomsound as it uses different chip
[One (M8) Original Android Development] Snah001:
Thanks for V0.8. and adding the extra UV options. Choose for the maximum UV and no probs here.
[One (M8) Original Android Development] waz675:
Flar2 should be happy to give you their address to post the M8 to. I'd be happy to chip in for postage :p
[One (M8) Original Android Development] meleelord:
0.8 is absolutely wonderful! Fantastic! :)
[One (M8) Original Android Development] Brava27:
Anyone undervolt past - 15v without issues?
[One (M8) Original Android Development] Maedhros:
I'm running -45 with 2.5OC. No issues
[One (M8) Original Android Development] Brava27:
Wow, you're brave. I thought that's dangerous for the phone.
[One (M8) Original Android Development] CrazyCypher:
flar2, can you please write changelog in the second post?

I cant find changelog for 0.7 / 0.8..

thank you :)
[One (M8) Original Android Development] David Balfour:
Gone -45 and 2.5oc with no issues. Have undervolted a further -50 in trickster and is still stable as a rock. Lovely work.
[One (M8) Original Android Development] flar2:
Thanks for the offer, but I really have to stop developing for devices I don't have. I tried to maintain Sprint and Verizon kernels for the m7, and they are both broken and I don't have much time to keep them up to date.

I just don't like doing any releases unless they are 100% functional and 100% stable, which I cannot guarantee without using the device myself.

A lot of people use Viper4Android these days.

Added :good:
[One (M8) Original Android Development] GelullaBarr:
I flashed 0.8 and I have instant reboot in antutu when it is testing cpu(overclocked at 2,7 and 2,6ghz), anyone have this issue?
[One (M8) Original Android Development] Snah001:
Question: Does your kernel adapt the voltage table to the pvs bin of the particular device?
[One (M8) Original Android Development] G1_enthusiast:
delete pnpmgr from system/bin, created a shell script and use sm scripts to run at start up.
[One (M8) Original Android Development] TheKnux:
I want this kernel to work so bad with Lollipop. :(
[One (M8) Original Android Development] MassStash:
What's lollipop?
[One (M8) Original Android Development] seadersn:
sweets :) as kitkat, gingerbread & co. are, too ;)
[One (M8) Original Android Development] ishemes:
Thank you for responding. But flar2 suggested that it is a bad idea, so I dropped the idea. Battery life is great as it is anyway.
[One (M8) Original Android Development] deagleone:
Dunno if it caused by app or rom, i get an not supported error on adi's latest .9 base
[One (M8) Original Android Development] flar2:
Check permissions on build.prop

For some reason, a few Roms have restrictive permissions on it
[One (M8) Original Android Development] deagleone:
Thats it, thanks [MENTION=4684315]flar2[/MENTION]
[One (M8) Original Android Development] mattman83:
Official GPe is supposed to be out this week, then source in a bit, then it'll happen after that :)

M.
[One (M8) Original Android Development] macavita:
i am using rom IC5.0.4 i change permision of build.prop and flash this karnel now the phone bootup and i see a black screen .

i can restart the phone but i cant enter bootloader.

PLS HELP!!!!!!!!!!!

----------------------------------------------------------------

i manage to enter recovery and flash the rom

if i use ES file browser to change permision . what do i need to check????????????
[One (M8) Original Android Development] mattman83:
Just flash the rom and kernel again without wiping. Don't touch the build.prop unless you know what you are doing.

M.
[One (M8) Original Android Development] ivicask:
[MENTION=4684315]flar2[/MENTION] is it me seeing something wrong or 3.28.401.9_R kernel source is already available on HTC dev for new base ? :)
[One (M8) Original Android Development] flar2:
Lollipop is coming soon, please educate yourselves about security changes. And also remember some apps are not updated to work with android 5.0. Be prepared to change some of your flashing and nodding habits, things will be different.
[One (M8) Original Android Development] flar2:
Not sure want that _R means, but it's not Android 5.0, which is what I'm waiting for. I hope there's not another 4.4.4 base coming out, I'm so busy already.
[One (M8) Original Android Development] ivicask:
Actually thats what i ment, there is new 3.28.401.9 base out for over a week now going as OTA in europe, its still 4.4.4, but its more like "maintenance" release by HTC before next update which should be of course 5.0.

We already merged all changes into Viper rom, so did other roms..

Not sure how much changes they did in kernel, but just wanted to inform you in case you want to update kernel. :)
[One (M8) Original Android Development] flar2:
Thankfully, there are no changes to the kernel.
[One (M8) Original Android Development] ivicask:
Good to know :)
[One (M8) Original Android Development] arazvan2002:
So it should work with the ROMs that have the latest base? Thanks
[One (M8) Original Android Development] ivicask:
Everyone is already using it like that. .
[One (M8) Original Android Development] Thermaltake868:
[MENTION=4684315]flar2[/MENTION] send you new PM.
[One (M8) Original Android Development] FIFATG:
Hello experts,

I'm on sense 4.4.3, rooted, with TWRP, ElementalX kernel and using a few xposed modules.

This morning I got the notification to update sense to 4.4.4.

Now, what is the right course of action to apply this update?

1. Uninstall xposed modules & xposed installer?

2. Flash stock sense recovery 4.4.3?

3. Apply OTA update notification?

4. Install ElementalX 4.4.4 sense?

5. Install xsposed installer & modules again?

Please correct me if I'm wrong.

Thanks in advance!
[One (M8) Original Android Development] DeeZZ_NuuZZ:
you shouldn't ask this in a development thread ! there is a Forum called Q&A ask either there or find the guides to how to update with official ota !
[One (M8) Original Android Development] tsalta:
I Love Flar2 KERNELS

Using them in all my HTCs in the past and now.

Just a simple request.

Can you add please FAUX Sound

Thanks