yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] dancivuk:
here's a quick dumb question

i need to unlock my bootloader to flash the .zip file, right?

im new to this lol
[One (M7) Original Android Development] DeeZZ_NuuZZ:
S-off or unlocked bootloader....

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] Javi22:
Well, all these things are ok. Regarding Amplify, it's a known push notifications breaker, but I have under control those things that cause not notifications, such as mcs heartbeat or send idle

It's weird because notifications works with stock kernel with the same set up

Anyway I'll still testing. Now setting a lower value in push notifications fixer app seems to work. Might be something not kernel related

Enviado desde mi HTC One mediante Tapatalk
[One (M7) Original Android Development] dancivuk:
hey sorry to bother you, but i need to know something

I know that unlocking the bootloader will wipe all my data, but does that include system updates? see, im stock 5.0.2 with sense 6 and if i unlock my bootloader, will it revert to android 4.1 with sense 5.5 or whatever it comes with?
[One (M7) Original Android Development] Lossyx:
Unlocking bootloader basically factory resets your phone, so no, it won't delete system apps and I don't think it will change your android version or Sense version.
[One (M7) Original Android Development] dancivuk:
okay, thanks
[One (M7) Original Android Development] Syquel:
It would be great if the DIAG_CHAR driver could be integrated into this kernel. It is necessary for SnoopSnitch to work.

Keep up the great work!
[One (M7) Original Android Development] gokudre:
Does this kernel work with viper 9.0.0 on the HTC One m7. ? Even though the phone thinks it an m7... ?
[One (M7) Original Android Development] dvsk69:
works perfectly!
[One (M7) Original Android Development] millicent:
Anybody else having huge msm_hsic_host drain? For instance, BBS says 90%, ie 10%/hr. I know it could be a rogue app as well, but nothing obvious or nothing greenify can see either..

Sent from my HTC One
[One (M7) Original Android Development] DeeZZ_NuuZZ:
that is a "kernel" wakelock, more or less not because of an app, it's related to the SoC
[One (M7) Original Android Development] flar2:
This is usually related to your mobile networking, try rebooting.
[One (M7) Original Android Development] millicent:
Indeed, that helps, temporarily. The neverending wakelock eventually comes back in less than 24hrs.

I will try to get back to stock kernel (GPE 5.1) in the meantime and see if it makes a difference. Regardless of the outcome, I will let you know if that helps. It'll be awhile though as I am going to be abroad for the next month..

Cheers
[One (M7) Original Android Development] flar2:
Since that wakelock is related to cell signal, you may have different results in different locations. A poor signal is often the cause.
[One (M7) Original Android Development] millicent:
Is there anything that I can do to improve on this, such as FD toggling? I have read there is some sort of app (that requires xposed that I don't have yet) or perhaps other ways to achieve this? Or, in your opinion that won't help? I noticed that this wakelock in particular happens even when all radio is off (such as airplane mode). But probably when it occurs, it might be that it just can't get out of some loop occurence or similar..hence the reboot does help, albeit for a while only..
[One (M7) Original Android Development] SagaPer:
I'm on ARHD 92.0 and I've had this problem for a while: screen does not wake up after call.

Yesterday I installed the app Rezound Proximity Sensor Calibrator with the following settings: PS1_CANC (Low Threshold) = 25 and PS2_CANC (High Threshold) = 1.

This solution worked well but seems to be dependent on light conditions. Today I changed the settings to 14 (Low) and 18 (High). Everything works fine now. So try to find settings that works for your HTC One.

The proximity sensor now works fine and screen always wake up after call.
[One (M7) Original Android Development] gelo01:
Guys, i just want to ask, i disable swipe up/down to wake on aroma when i installed elementalx, but when it booted, it is still enabled! I even check the elementalx.conf file and swipe to wake is 0, meaning it is disabled. Wondering why it can't be disabled. Any help would be much appreciated. Thanks so much guys!
[One (M7) Original Android Development] m1s3rys1gn4l:
working with CM12 or not ?
[One (M7) Original Android Development] liam_davenport:
No only for Sense and GPE
[One (M7) Original Android Development] Lossyx:
No, Only Sense and GPE.
[One (M7) Original Android Development] ulxerker:
you can disable it by using the related app EX Kernal Manager, goto Google Play or the official download page for that.

Also, with this app you can configure anything else regarding the Kernel and you support the developter, too.
[One (M7) Original Android Development] gelo01:
Well, that did it. Thanks mate!
[One (M7) Original Android Development] ThePresence:
can I use it with Exodus rom Android 5.1.1?
[One (M7) Original Android Development] dvsk69:
Nope since its not based on GPE.
[One (M7) Original Android Development] alxr31:
Cpu and gpu times messing around.

Guys hi,

Tried to search the thread but still i have this issue unanswered. In my htc one,I'm running viper latest (clean install) and latest elementalx with elementalx kernel app(paid) and my cpu and gpu times are going down repeatedly. My cpu settings when installing the kernel are cpu 1890 and gpu 410. I'm setting from within the app cpu to 1566 and gpu to 409(no 410 option) for battery saving and using the performance widget when i feel I need some horsepower. I have unticked all the cpu screen wifi etc options on htc's powersaver and my cpu time consistently is deoping at 1026 and my gpu going up to 450 without any reason.

On a side note, if my question is been answered before please ignore me :)
[One (M7) Original Android Development] flar2:
My recommendation is always to leave frequencies alone. Unless you want to master them and understand all the things that can influence frequencies, such as thermal throttling and pnpmgr.
[One (M7) Original Android Development] alomex21:
Hey flar,

Since i came back from death(which i suposedly came from vacation), where is the changelog of every version of the kernel? I wish to take a look since i don't know how to xda.

Thanks
[One (M7) Original Android Development] Rix70:
Hello

This time I installed ex with stock gpu freq.. and the frequency switch perfectly when I active powersaver... Nothing 450 or something...

400....320...400...320...a Swiss! ?

Inviato dal mio HTC One utilizzando Tapatalk
[One (M7) Original Android Development] gu5t3r:
[MENTION=4684315]flar2[/MENTION]

Hi,

when screen is off, and I touch it, cpu freq jumps to freq specified in input_event_min_freq....

Shouldn't governor ignore input event when screen is offf...?

Also, sometimes cpu freq stays at 1026 and gpu at 320 when screen is off...

Tested it via adb. shell...

To deal with above mentioned issues I use homemade su.d/init.d script below (if anyone has same issues)

#!/system/bin/sh
# 03cpu_control v004 by gu5t3r@XDA

Data[0]="0,0,0,0";
Path[0]=/sys/devices/system/cpu/cpufreq/ondemand/input_event_min_freq;

Data[1]=150000;
Path[1]=/sys/devices/system/cpu/cpufreq/ondemand/sampling_rate;

Data[2]=200000000;
Path[2]=/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk;

###########################################################
################# DO NOT EDIT CODE BELOW ################
###########################################################
export BB=busybox;
j=${#Path[@]};
if [ $j -gt ${#Data[@]} ]; then j=${#Data[@]}; fi;
i=0; idx=;
while [ $i -lt $j ]; do
if [ -n "${Data[$i]}" -a -n "${Path[$i]}" ]; then idx="$idx $i"; fi;
let i++;
done;
unset j;
if [ "$($BB ps | $BB grep -c "{${0##*/}[}]")" -gt 1 ]; then exit 1; fi;
LOGDIR='/data/media/0/.log';
$BB mkdir -p -m 777 "$LOGDIR";
exec &>"$LOGDIR/${0##*/}.log";
$BB renice 19 "$$";
function Date () { $BB date +"%y-%m-%d %T"; }
$BB echo "[${0##*/}] ($(Date)) (Nice=$($BB nice))"; echo;

for i in $idx; do
$BB echo " Data[$i] = ${Data[$i]}";
$BB echo " Path[$i] = ${Path[$i]}";
$BB echo;
done;
echo;

function CPU_Control () {
if ! print &>/dev/null; then alias 'print'="$BB echo"; print -e "...no built-in print, using echo...\n"; fi;
while :; do
#########################
######## Sleep ########
#########################
read -n1 </sys/power/wait_for_fb_sleep;
for i in $idx; do
if [ -e "${Path[$i]}" ]; then
read WData[$i] <"${Path[$i]}";
if [ -n "${WData[$i]}" -a "${WData[$i]}" != "${Data[$i]}" ]; then
print "${Data[$i]}" >"${Path[$i]}" || { $BB chmod 644 "${Path[$i]}"; print "${Data[$i]}" >"${Path[$i]}"; };
fi;
fi;
done;
########################
######## Wake ########
########################
read -n1 </sys/power/wait_for_fb_wake;
for i in $idx; do
if [ -e "${Path[$i]}" -a -n "${WData[$i]}" -a "${WData[$i]}" != "${Data[$i]}" ]; then
print "${WData[$i]}" >"${Path[$i]}" || { $BB chmod 644 "${Path[$i]}"; print "${WData[$i]}" >"${Path[$i]}"; };
fi;
done;
done;
};
CPU_Control & exit 0;
exit 0;

Increasing sampling_rate when screen is off helps keeping cpu at lower freqs when listening music or in-call. (while screen is off).
[One (M7) Original Android Development] flar2:
Interesting, I'm going to check this out
[One (M7) Original Android Development] flar2:
For those interested, EX Kernel Manager is on sale for selected countries in the Middle East, Asia, Africa and South America.
[One (M7) Original Android Development] iKarido:
Bought it at full price. kinda sad I didn't do so ages ago since the only Kernels I use are yours. Thanks for all the hard work
[One (M7) Original Android Development] Grand_Goblin:
I knew that you won't regret it tho..

I've been using this kernel series since last year .. [MENTION=4684315]flar2[/MENTION] really responsive to any feedback..

Since I don't have a PayPal, full price in PlayStore doesn't concern me..

He still here for us M7 user.. The discount maybe an appreciation for the user
[One (M7) Original Android Development] Mikanoshi:
[MENTION=4684315]flar2[/MENTION] Thoughts?

http://xdaforums.com/xposed/modules...-htc-sense-t2733409/post62115657#post62115657

Can kernel disable touch under some circumstances?
[One (M7) Original Android Development] flar2:
No idea. Maybe firmware?
[One (M7) Original Android Development] Baldrick77:
Wake gesture problems

Hi,

Sometimes dt2w and l2w not working. And using the logo2sleep the display is switched on again.

Anyone else experience these on Viper 9 and 20.2? Thanks.
[One (M7) Original Android Development] flar2:
Please try out this new free app I'm developing:

DevCheck

Please give it a try and let me know how it goes in this thread:

http://xdaforums.com/android/apps-games/app-devcheck-1-4-beta-information-t3171427
[One (M7) Original Android Development] joriq:
too bad: This app is incompatible with all of your devices. :(
[One (M7) Original Android Development] flar2:
What? I've installed it on many devices, even some old ones like a Xoom and One S.

Also installed on my wife's m7
[One (M7) Original Android Development] cyrusct82:
Everything seems ok now in version 1.5.

In 1.4 were some issues already reported by other users and seems that they are all solved.
[One (M7) Original Android Development] n0j0e:
Hey flar2, is it possible to adjust the sensitivity of dt2w or s2w? On my HTC One m7 i can wake my phone only with my eyes, nor, when i pick up my phone from table or so with a finger on the display it's often react and the screen goes on.
[One (M7) Original Android Development] nerzwerk:
hey do you have s-on or s-off ? Because i flashed the kernel but it does not work. I reboot after flashing and after the htc logo comes, the smartphone starts again, but this time in recovery automatically. Don't know whats the problem.

Also Viperone 9.0.0 and HTC One (M7) Hope you or somebody can help :)
[One (M7) Original Android Development] joriq:
guess it's because it offers in-app purchases and google play store in my country still does not offer us to actually buy any apps or do in app purchases :confused:
[One (M7) Original Android Development] flar2:
That's stupid, you should still be able to install it, the in-app purchase is completely optional. Check on other app stores, I think it's starting to show up on other markets.
[One (M7) Original Android Development] gu5t3r:
[MENTION=4684315]flar2[/MENTION]

Can you explain this pnpmgr settings

mp_util_high_or

mp_util_high_and

mp_util_low_and

mp_util_low_or

Thanks
[One (M7) Original Android Development] kleopas14:
htc droid dna

hello! Does this kernel works with htc droid dna? i use [ROM][5.0.2] NuSenSeveN | Sense 7.0 | v1.00 [03-18-15].

thanks
[One (M7) Original Android Development] synt3k:
No.
[One (M7) Original Android Development] andromeiden:
hi i wanna ask how to flash this kernel in unlocked and s-on m7_ul hboot 1.66 viperone 9.

same way like htc one X which can't s-off?

if wrong thread let me know thx in advance
[One (M7) Original Android Development] liam_davenport:
INSTALLATION

1. Install zip from recovery

2. Follow the instructions, if you don't know what to do, use the preselected options

3. Reboot

For installation, it seems a lot of people have finicky phones when it comes to flashing stuff with aroma.

If the installer gets stuck at 0% then you need to reboot to bootloader and do fastboot erase cache

If the installer reboots at 10%, you need to do a nandroid backup of /system partition and restore it. I think a dirty flash would also work.

After you install it, if you get a black screen or stuck at the HTC logo, no need to worry. Just hold down the power button untill the capacitive buttons start flashing and the phone restarts. The kernel installed correctly.

As always, with overclocking, not all phones can handle all frequencies. If it doesn't boot, or randomly reboots, or freezes, your first course of action should be to reinstall with a lower frequency.
[One (M7) Original Android Development] andromeiden:
my bad, i read this in 1st page i think only for s-off but there's no explaination s-on or s-off anyway thx that's mean just install through cwm/twrp and no need to flash boot.img right?
[One (M7) Original Android Development] tiny4579:
HTC One M7 doesn't need s-off to flash a kernel normally as long as the bootloader is unlocked.
[One (M7) Original Android Development] ulxerker:
exactly, the included Aroma Installer will do everything for you.
[One (M7) Original Android Development] nikola360:
with a modded cable, is it possible to charge the phone while using the OTG mode?
[One (M7) Original Android Development] gu5t3r:
http://www.ebay.com/itm/141362591004

Works with my HTC One M7 and 500 GB 2.5" HDD
[One (M7) Original Android Development] grasshands:
Swipe2sleep blanks screen and then returns to on...

Hi

Running viper rom and this kernel with swipe2sleep enabled but sometimes when sweeping it doesn't sleep, just locks the screen and leaves it on....any idea why?

Cheers
[One (M7) Original Android Development] i3am5not8real13:
had the same problem with viper, I had to set my sweep to sleep the same direction as sweep to wake( left to right) and it sleeps fine now
[One (M7) Original Android Development] Mikanoshi:
WG are still reset to 0 on boot? I thought it was changed...

Some users have touchscreen not working completely if app writes 1 to /sys/android_touch/wake_gestures on Intent.ACTION_BOOT_COMPLETED.
[One (M7) Original Android Development] flar2:
No, I had to change it to 0 by default because too many complaints that s2w/dt2w didn't work.
[One (M7) Original Android Development] Mikanoshi:
And I still don't get what the problem is. Just don't enable WG to have s2w/dt2w. I guess I'll never understand noob users...

But there is definitely some problem with touchscreen not working. I don't know how this code can break things, but it does:

public static void setWakeGestures(boolean state) {
int stateInt = state ? 1 : 0;
Command command = new Command(0, false, "echo " + stateInt + " > /sys/android_touch/wake_gestures");
try {
RootTools.getShell(true).add(command);
} catch (Exception e) {
e.printStackTrace();
}
}

public static String getWakeGestures() {
String wake_gestures = null;
try (BufferedReader br = new BufferedReader(new FileReader(new File("/sys/android_touch/wake_gestures")))) {
String line = br.readLine();
if (line != null) wake_gestures = line.trim();
} catch (Exception e) {
e.printStackTrace();
}
return wake_gestures;
}

public static boolean isWakeGesturesAvailable() {
String wake_gestures = getWakeGestures();
if (isEight())
return true;
else if (isLP())
return (wake_gestures != null);
else
return (wake_gestures != null && wake_gestures.equals("1"));
}
...
if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED) && !Helpers.isEight() && Helpers.isLP()) {
SharedPreferences prefs = ctx.getSharedPreferences("one_toolbox_prefs", 1);
if (prefs.getBoolean("wake_gestures_active", false) && Helpers.isWakeGesturesAvailable()) {
Log.i("[ST]", "Wake gestures activated");
Helpers.setWakeGestures(true);
}
}
[One (M7) Original Android Development] flar2:
Try waiting 5 seconds after boot completed to enable wake gestures. I think I had to wait 5 or 10 seconds in the wake gestures app.
[One (M7) Original Android Development] Mikanoshi:
Why? This code is working perfectly on my device. I doubt you had the problem with touchscreen not working completely.

Previously I was enabling WG even earlier, right after the boot animation by hooking system methods, and it was working for me too (but had some problems if root was not granted to system user so it caused boot loops :))
[One (M7) Original Android Development] flar2:
I can't remember the exact reason I added the delay.

It may work on your device, but someone with different firmware may have things occur in a different order. I don't understand either how this would cause the touchscreen to stop responding.
[One (M7) Original Android Development] cyrusct82:
I tried with Wake gesture app by [MENTION=4684315]flar2[/MENTION] and is the same problem.

So I think is some problem between kernel - sense 7 port.

[MENTION=4684315]flar2[/MENTION]

If you need some logs tell me what you need and I will provide it.

Thank you in advance.
[One (M7) Original Android Development] flar2:
Uninstall the app and toolbox (or set them not to apply on boot) and use an init.d script to enable wake gestures. Does it have the same result?
[One (M7) Original Android Development] peri25:
the problem lies in the Toolbox App, after the update , it works only with tricks

---------- Post added at 12:24 AM ---------- Previous post was at 12:21 AM ----------

just in the toolbox activate EQS in lockscreen and it works
[One (M7) Original Android Development] cyrusct82:
Now I see /sys/android_touch/wake_gestures is set on 1. The touch screen is working, doesn't gets disabled.

But wake gestures are not working after the reboot, only if I enter in Wake Gestures app and do nothing (enter-exit) then everything is good.
[One (M7) Original Android Development] cyrusct82:
But at least Sense Toolbox is working like it should.

Thanks
[One (M7) Original Android Development] RunTech:
Can i buy and use the element x app that is on the play store to set all the settings and the wake gestures instead of using the wake gestures app (the first posted by flar). Which is better and which are the difference?
[One (M7) Original Android Development] ulxerker:
The ElementalX app is definetely recommended as it fits perfectly to the kernel and you can control every of it's features. I use it, too, and its really handy.

Also, you'd support the developer :)
[One (M7) Original Android Development] RunTech:
Thanks man i'll definetely buy it thanks a lot
[One (M7) Original Android Development] freedom2320:
wake gesture suddenly not responding

Hi,

I've installed this kernel and everything works, but i see some bugs i think. After using my phone in about 30 min wake up gesture(swipe up,swipe down or double tap nothing) suddenly doesn't work, but when i press the power button my phone wakes up normal en i can do what i wish with the phone. After a 15 min or 30 min those gesture features suddenly works again. Im using santod40 GPE 5.1(stable rom(stock)) and had installed his custom kernel(NuK3rn3l_m7_GPE-5.1_v7.0) but didn't had any problem with it. So i though let me try elementalx kernel everyone speaks about it and in the beginning it works fine but then i get those problems.

kernel overclocking:

CPU: 1890 MHz

GPU: 450 MHz(overclocked)

undervoltz: 850 min

this should not be a problem right with these setting.

Hope u guys can fix this problem.
[One (M7) Original Android Development] G00fY2:
I think its a problem in conjunction with our SoC, the kernel and the digitizer. Since our device wasn't developed to offer tab to wake features, maybe the kernel-sleep-state and the digitizer input are out of sync in some situations?

For example I notice that after not waking up my device for a while (>1 h), I have to do the D2TW gesture twice to wake up the screen. After doing this the device will wake up instantly for the next time. In the german Android forum there other people having similar issues.:)

I dont think its a big deal, but maybe flar2 has some ideas.
[One (M7) Original Android Development] panbambaryla:
Wrong thread, delete.
[One (M7) Original Android Development] flar2:
I wonder if the hardware has changed in later models. All of the wake stuff works perfectly on mine, and always has.
[One (M7) Original Android Development] Tarabas51:
Battery not normal

I have just flashed this kernel, and well after charging it for more than 6h, the battery was showing 83%, I turned it off, when to recovery and wiped cache (Back when I didn't have root I had some battery drainage problems this used to solve the problem), and when I booted it, it showed 92%, after 3h it went to 90%, but in the power setting it showed only 6h left, I don't know if I should be worried or not, I can post any screenshots since I'm still testing it, I was just wondering if anyone else has had the same issue. (If it helps I have almost all the wake gestures on, and I've left everything to stock, CPU frequency, GPU and stuff like that, I'm also running 5.0.2 stock, haven't made any changes)
[One (M7) Original Android Development] ntquartex:
After flashing it over viperOne 9 rom, I get «Dolby Audio stopped» warning each boot.I uninstalled the app. via TitaniumBackup, and warning has disappeared. Is it a known bug or sth.?

Sent by Tapatalk on HTC One M7 UL - S-Off w/ ViperOne 9
[One (M7) Original Android Development] ulxerker:
This kernel supports Sense and GPE only, so maybe thats the reason why.
[One (M7) Original Android Development] panbambaryla:
Lately I started facing problems with my HTC One M7 ARHD 92 with ElementalX 20.2 freezing. It looked like memory management problem as the only thing I was able to do was hardware rebooting. Now when I reflashed ARHD with default kernel everything came back to normal. What could be the reason of such behavior? Am I the only one with the problem? I am missing my touch wake up but couldn't agree with phone freezing.

Advice required.
[One (M7) Original Android Development] ntquartex:
I'm also on sense version of viperone9.

Sent by Tapatalk on HTC One M7 UL - S-Off w/ ViperOne 9
[One (M7) Original Android Development] Osama Zabin:
Check previous page of this thread, and sense toolbox thread:

http://xdaforums.com/showpost.php?p=62550452&postcount=3986
[One (M7) Original Android Development] panbambaryla:
Osama,

Thanks for your tip but I think this is not the case. My phone boots up normally, works as expected for some time and then, suddenly when one app closes another opens - freezes (5mins to half of a day). There is no rule for that. Now it works fine with no problems (default ARHD 92 kernel). I can assume it can have something to do with undervolting (kept default while installing) but couldn't test it (business phone).

More advices appreciated.
[One (M7) Original Android Development] Osama Zabin:
Try flashing ex kernel again without undervoting, choose stock default,just to isolate the problem.