yashsingh1/xdaforums huggingface dataset:
[HTC One S] mkoev:
I was able to locate undervolt frequencies that work better than the ones presented in this topic by Mr. Mister a few pages back. Tired of having lags in CM 12.1+mrak I flashed a sense rom by Mikhei777 just to make a comparison. During the installation of the sense rom you can choose custom frequencies or the stock ones. I chose the custom ones and they were a pinch lower than those I mentioned above. I've attached a screenshot. With those frequencies I get much better results in CM 12.1+mrak, no lags, no stutter. Honestly I am not competent enough to say if that's the main reason, but I am using the same apps, the same environment, actually I've restored a back up and I've not made any changes, cleared cache, etc. I always get reboots on CM 12.1 with or without a custom kernel. If I undervolt the custom kernel I get no reboots, but performance suffers. Now with those new frequencies I have no problems with reboots or performance.
[HTC One S] F-L-Y-E-R:
Can someone make an up to date kernel with s2w please, my power button seems to be dead :(
[HTC One S] Loreane Van Daal:
[MENTION=4612496]mikronac.ns[/MENTION] do you still have ville or can make updated one "on blind"? If so, can you pls do one more build? I will be nice and fair to help after all he did for our community 0:) . I would if I were you wink wink :)
[HTC One S] mikronac.ns:
I will do it for a weekend
[HTC One S] frantisek.nesveda:
This happened to me as well, I found out that the power button simply broke off from the circuit board, I guess due to wear.

I was able to find a workaround, I took off the top cover and pushed in a piece of a thick, sturdy paper (drawing paper / contact card or something similar, about half of the thickness of a SIM card) from the other side of the power button (see image), which presses the power button tighter to the circuit board, so there is still some electrical contact between the button and the circuit board, and the button started working again.

[IMG="Paper to fix power button"]http://xdaforums.com/attachment.php?attachmentid=3686824[/IMG]

Perhaps you can try that as well, maybe it will help you. No promises, though.
[HTC One S] F-L-Y-E-R:
In my case phone fell off and half of the things just stopped functioning, it was dropped so many times before and nothing happened until this time.

Power button only works for long press so I can only turn off/on the phone but in fastboot mode when I choose recovery and short press power it works :confused:

USB cannot be recognized at all except if I plug it in fastboot mode and boot recovery then I can mount storage or charge my phone.
[HTC One S] moozon:
You can make remapping buttons in /system/usr/keylayout/keypad_8960.kl. (Need rebooting)
[HTC One S] mikronac.ns:
https://www.androidfilehost.com/?fid=24459283995300412

this build is not tested at all.

s2w is enabled again
[HTC One S] Loreane Van Daal:
It will be, soon ;)
[HTC One S] Audioffensive:
Wow!! Ville is still alive...... but no CM13 i see??? ;)
[HTC One S] Hai96:
Nope, no CM 13... ville git got a cm-13 branch but no new commits :(
[HTC One S] Audioffensive:
So build is failing?? That sucks man.

Still Ville has newer android then my current phone. LoL

I don't even have a device tree available. Terrible.... haha
[HTC One S] Hai96:
I've got a succesful cm13 build, but its not bootable :(
[HTC One S] Audioffensive:
Hmm bummer. Same here. Found a guy who built me a CM13 for my Galaxy A7. Installs fine but doesn't boot.

So now i want to make a logcat. But adb doesn't see my phone in TWRP or during boot. It does with Stock ROM booted.

Weird :)
[HTC One S] waver1967:
can the latest one be used on MM ?

the answer is NO. :)
[HTC One S] waver1967:
what do you need in kernel to get bln ?
[HTC One S] javelinanddart:
[MENTION=4612496]mikronac.ns[/MENTION]

Can you release a new version? I added a lot of changes in your github. Please build it and release it so we can add your kernel to the list of F2FS supported ones (metaphorical list)
[HTC One S] mikronac.ns:
I will build it today, but I (or you) must remove underclocking to 192MHz and overclocing to 1.8GHz. I don't like this possibilities at all :eek: All freqs shouldnt had same voltages. Thats wasting of battery life.

Also, SmartAssv2 doesnt work well on msm8960 devices. It doesnt scale frequencies, it bumps to MAX and stay on max even when phone should be in sleep state.

But, thanks [MENTION=5795145]javelinanddart[/MENTION], you did a great job!!!
[HTC One S] javelinanddart:
I'll remove th Underclocking but I'll leave OC to 1.7 GHz (safer) and I'll adjust the voltage table to IceCode's (almost)

I'll remove smartass2 as well

EDIT: Smartass is gone, Underclocking is gone, Voltage Table is lowered (should be stable, It's basically IceCode's)

Oc to 1.8GHz is gone, 1.7GHz remains
[HTC One S] mikronac.ns:
just let me know when you do it... I will build it in next few hours.
[HTC One S] javelinanddart:
It's done
[HTC One S] mikronac.ns:
New versions up! All credits going to [MENTION=5795145]javelinanddart[/MENTION]

Hit thanks to his posts!
[HTC One S] Rapier:
That's good news, I'll try this as well but one question...why it's called "stockie" cause it's not stockie at all :) OC, BLN, extra governors and schedulers??? OK, I love those features, that's why I flash a custom kernel but when you have one called "stockie" people might expect one that's as close to the stock as possible...maybe with some optimizations but without other features, OC and so on. Maybe you can call it Novi Kernel (from Novi Sad :) )
[HTC One S] Loreane Van Daal:
or NewNow since "Novi" is translated as new and one of translation of "Sad" is now ;)
[HTC One S] mikronac.ns:
Yea, "how yes no"... It is unavailable how much people equals that "sad" with "sad" with accent on longer "sAd" :) :) haha

Ala je lep
Ovaj svet,
Onde potok,
Ovde cvet,
Tamo njiva,
Ovde sad,
Eno Sunce,
Evo hlad!

Stockie kernel is imagined to be stock like kernel but become something else... :D I am thinking about new name, it will be changed in new version... :)
[HTC One S] mikronac.ns:
New kernel for KK & LP is uploaded on AFH.

https://www.androidfilehost.com/?w=files&flid=26673
[HTC One S] Rapier:
And it has a new name too :)
[HTC One S] mikronac.ns:
Power consumption in deep sleep mode is about less than 2.5% per hour. It's pretty good...

BLN sometimes works, sometimes doesn't work for me. [MENTION=4487443]rmbq[/MENTION] BLN code is used. It should be rewrited soon...
[HTC One S] Rapier:
I'm satisfied with the performance on LP and I didn't noticed BLN malfunction (I had Ambient Display activated also). You were testing the KK or LP version? I knew your are still on KK for the time being due to the memory leak and "minimizing bug"...by the way, the last didn't occurred for a very long time, I guess it was solved. I don't remember since when but I didn't have an app minimizing anymore.

Sent from nowhere over the air...
[HTC One S] mikronac.ns:
I am on KK version... Last time I tested LP, it had bug... That was on LS version I built and sent you to test, if you remember that... I dont know if anything changed... Will test it but I think that I should stay on KK until we get 5.1... :)
[HTC One S] Rapier:
I'm on Resurrection since LS was not builded for some time...don't remember since which version this bug didin't occurred but I think it's at least since 5.3.4...now latest build is 5.3.6
[HTC One S] mikronac.ns:
I have no time to build something what is not usable for me, sorry... I will compile CM12 today and test it with Mrak kernel...
[HTC One S] Loreane Van Daal:
Tested it from this morning till late afternoon and i can say it works good on UB team LP rom, no issues at all. Haven't noticed any BLN flaws.
[HTC One S] mikronac.ns:
New version with S2S, S2W, DT2W will be released soon. These options are disabled by default. I have BLN issues on KK, dont know for LP. I just compiling CM12 to see how development is going :D
[HTC One S] mikronac.ns:
New versions are uploaded.
[HTC One S] Loreane Van Daal:
OP DL links shows 404, not found. Here is link to Mrak AFH folder: https://www.androidfilehost.com/?w=files&flid=26673

И наравно Џеј ;)
[HTC One S] debileq18:
Despite touch to wake features are disabled, when the screen is off, buttons vibrates when touched. Is it possible to turn this annoying vibration off without switching off vibration during screen on?

BTW. Kernel is smooth and battery consumption is impressive.
[HTC One S] Loreane Van Daal:
on UB Team LP rom i have option to turn it off or set button vibration strenght the way i want it. It's located in settings-> sound & notifications-> other sounds-> vibration and intensity. I will flash latest kernel version soon and check is it working on this build.
[HTC One S] debileq18:
CM12 has only three options: vibrate during calls, vibrate strength and vibrate on touch. The last one, whens off, disable all vibration on touch in the system and also vibrating buttons when screen off.

But I'd like to keep vibration on touch when screen on and disable it when the screens off like it was in previous version of kernel.
[HTC One S] Carsten76:
Disabling backlight notification in the Kernel settings solved it for me.
[HTC One S] truevision:
you change something settings to have good battery life or keep original?
[HTC One S] debileq18:
Governor - Intellimm, IO - Flops. On 22s build, after one day normal usage, it shows almost 2 day left.
[HTC One S] truevision:
new version give me strange behavior with WiFi, connection is very unstable.
[HTC One S] Loreane Van Daal:
didn't noticed that and today i was on a WiFi whole day, for change. What kind of strange behavior? Like disconnecting or signal fluctuation?
[HTC One S] truevision:
I try to download something and often stops...

I wanna try yet this evening for check one more time, changing governor and test it.

I saw also double tap for wake don't work.

---------- Post added at 07:01 PM ---------- Previous post was at 06:20 PM ----------

logcat give me some errors like:

02-24 18:50:20.868 E/FDroid (3867): Download failed: Read error: ssl=0x9ddccc00: Failure in SSL library, usually a protocol error.

I have try to change governor and I/O but seems not matter.

I have whole log if is necessary.

Another weird thing is a start animation there isn't after flash Mrak...
[HTC One S] mikronac.ns:
These issues aren't kernel related.
[HTC One S] truevision:
Ok, this is what I do:

hboot=2.15, s-off

- flashing latest rom Resurrection LP

- flashing latest PA gapps

- try to download Firefox from F-Droid

- all is ok

then

- flashing latest rom Resurrection LP

- flashing latest PA gapps

- flashing Mrak kernel (no changes)

- try to download Firefox from F-Droid

- issue happens

and then

- flashing latest rom Resurrection LP

- flashing latest PA gapps

- try to download Firefox from F-Droid

- all is ok

At this point I don't know if this is kernel related or not, but the events is it.

I want to try another kernel soon...

EDIT: I have try IceCode kernel now, this weird behaviour seems don't happens.

Yes, is very strange....

There is something in the setup that can change different things?
[HTC One S] Loreane Van Daal:
Actually it works, just set it to 2 in trickster.
[HTC One S] truevision:
thanx.

I use Kernel Adiutor, perhaps is a issue from it.
[HTC One S] mikronac.ns:
[MENTION=5107830]truevision[/MENTION] wake, sleep, and other options are DISABLED by default. You should use TricksterMod to set them...

If something doesnt work for you, but works for other people, you should check your configuration or switch to another kernel. :)
[HTC One S] truevision:
Yes, of course.

I'm trying IceCode now, no problems so far.

However, I am convinced that there is not a defect of Mrak but a combination of variables, maybe, know wich recovery+rom+Mrak situation have other people can help, or.... wait for new releases and try !

And at the end... thank you for keep our Ville alive !
[HTC One S] mikronac.ns:
New versions are up. No major changes, only sync with CM.
[HTC One S] mkoev:
Brate, your kernel is really nice ! For me it is the best kernel I have tried so far on LP. No disrespect towards javelindaart and AKToronto, but their LP Kernels give me lots of reboots and lag. The only negative thing is that yours gives me a bit more battery drain than the others, but performance and stability is really great. Keep up the good work:)
[HTC One S] mikronac.ns:
Brate, try to lower voltages with Trickster mod to gain some battery life.
[HTC One S] Finnit0:
tried the kernel on cm-12-20150305 and had even with the standard voltage table constant reboots.

will try the next version...
[HTC One S] mkoev:
I am on CM 12 from March 8th and no reboots at all. Try with that version if you are on hboot 2.16.
[HTC One S] mikronac.ns:
New LP Mrak kernel is up:

https://www.androidfilehost.com/?fid=95916177934540625

zRAM should work now but ROM must support this option.

http://review.cyanogenmod.org/#/c/89993/

http://review.cyanogenmod.org/#/c/89994/

I am compiling CM12 to test this with more attention.

EDIT: Works as expected, everything is fine.
[HTC One S] mkoev:
Brate, latest kernel is very good! Stability and performance are great. Exactly what I am looking for. No random reboots at all.
[HTC One S] javelinanddart:
Actually it doesn't have to have those patches, zRAM can mount itself, but you have to manually enable them
[HTC One S] 92Lucio92:
How to activate D2TW?
[HTC One S] Rapier:
Use TricksterMOD, Screen Wake

Sent from nowhere over the air...
[HTC One S] mikronac.ns:
I am moving to OnePlus One.... I will sell Ville (or maybe not, dont know yet).
[HTC One S] Loreane Van Daal:
Don't sell it, u'll be sorry ;) . I use oneplus, but ville is a secondary phone. Until it dies from natural causes :). At least, it deserves that.
[HTC One S] Rapier:
Then our chances to see further LS builds are gone :(

Sent from nowhere over the air...
[HTC One S] Audioffensive:
Sorry to see you go my friend. You're a great builder. Better then me :D hope i can still ask you some questions when needed ;)

But Oneplus is a good choice. Great phone. :thumbup: :thumbup:
[HTC One S] Loreane Van Daal:
He'll be back ;)
[HTC One S] mikronac.ns:
Hahahaha :) You have PM devojcice!

[MENTION=1045770]Rapier[/MENTION]

Actually, your chances to have LS are grow up with this change.

I built all ROMs only for me (even CM) because I like some non-standard features like Permissive SELinux and so on... That require a lot of time. We will see...
[HTC One S] mkoev:
Brate, I am also thinking to get the One Plus One but the big screen is a bit of a turn off. Hoping you will port something from that phone for us :)) I did not know we had a devoika here in the One S forum :))
[HTC One S] mikronac.ns:
Mrak kernel will be updated this evening :) I need testers!
[HTC One S] derkleinebroicher:
Let us know, when you've uploaded, I will be pleased to try it out.
[HTC One S] Loreane Van Daal:
No chance that you'll find anyone here to test it, we are so no flashoholics ;).

Btw, 5.1 or lower? Just in case that i have to dig out usb stick with previous backups :D
[HTC One S] mikronac.ns:
Ouch, I need to release 5.1 version, too :D

Sent from Oneplus One
[HTC One S] Loreane Van Daal:
Take your time :) . I have some free time and now I'm flashing factory images for N7, tilapiag, to update on 5.1. OTA is not passing through.
[HTC One S] waver1967:
will there be a version with faux123 sound control at some point ?
[HTC One S] mikronac.ns:
No.

Sent from Oneplus One
[HTC One S] Rapier:
I'll test ofc...in fact I guess LP version will work on 5.1 too since I use IceCode on 5.1.

Is there something specific in kernel for 5.1 that it is not in a LP one? Other than syncing with CM ofc

Sent from nowhere over the air...
[HTC One S] javelinanddart:
5.1 is LP

Just merging with CM 12.1 sources will make it work with 5.1
[HTC One S] Rapier:
What I was saying is that the current IceCode IS working on 5.1 (and I guess Mrak also). Without any 5.1 specific things in it. And I was wondering what's the difference between a kernel made for 5.0.2 and one for 5.1 because both work on 5.1. Is the one built specifically for 5.1 working better or having better performance, or is just some "alignment" of the kernel and ROM in terms of sources versions
[HTC One S] javelinanddart:
There were no kernel changes. All the 5.1 improvements have been ROM side. However I am doing something for IceCode...

https://github.com/javelinanddart/Canuck/commit/8f73939b6300ac099a42ddb43a6918ad9257ab03

Compiling right now ;)
[HTC One S] mikronac.ns:
Uploading updated Mrak Kernel to AFH. Please try it and report back your experience.

Direct Link:

https://www.androidfilehost.com/?fid=96042739161893229
[HTC One S] Loreane Van Daal:
Just can't figure out why this UV kernel works good on my slow krait. If I apply same voltage table on other kernel, f.e. IceCode, reboots starts sooner or later. Usually sooner :)

As I said for IceCode, once again good work and stable build, so far. S2s, s2w, dt2w and pocket detection work fine with Trickster. Battery life is still x factor, just started to use it. But since it's undervolted should be longer. Fiops, OC to 1.67, intelimm. Using it on UB team rom.

OoOoOo Партизане! \o/
[HTC One S] mikronac.ns:
Main feature of the Mrak kernel is stability. It is coming from passionate Grobar, that does matter also. ;)
[HTC One S] javelinanddart:
LOL This is IceCode's table If I'm not mistaken
[HTC One S] mikronac.ns:
Haha, LOL. Check it again. ☺
[HTC One S] javelinanddart:
Very Similar

I put it there ;)
[HTC One S] mikronac.ns:
New version is up. Synced with CM sources.

https://www.androidfilehost.com/?fid=23991606952602378
[HTC One S] :
Gave your kernel a try, as it's the most up to date custom kernel at the moment. I've got to say that I like it so far; glad it allows you to undervolt. Was wondering though why you have screenwake controls? I've got the impression that it somehow prevents the screen to come up in full brightness when you press the power button, which is always a bit weird when you're outside on a sunny day.
[HTC One S] mikronac.ns:
I have them because people use them. I disable them by default. Only BLN comes enabled by default.

That impression you have - doesn't have anything with kernel. It is ROM related. Dont use Adaptive brightness and you will not have that problems.
[HTC One S] mkoev:
Brate, latest version of the kernel is very good so far. I'm using it with Xenon Rom and so far no lag and no reboots. :) Great job! Battery life is better also.
[HTC One S] grorg:
Please help me. I've installed latest ver. on RR, it boots first time and then phone reboots. After that it become preloading apps like after dalvik wipe but can't finish it because it goes to reboot.
[HTC One S] Rapier:
It is not stable for all..I got this one or 2 times also but at least for me it finishes optimising apps. I guess your phone is more sensible and you might need to switch back to default RR kernel

Sent from nowhere over the air...
[HTC One S] mikronac.ns:
Raise voltage slightly. I have nominal Krait, default voltages, no reboots for 35 hours.
[HTC One S] mkoev:
It may also be rom related. I switched to Xenon because I was getting lots of reboots on RR no matter if using the default kernel or not. My krait is like the one of mikronac.ns and no reboots for a second day now.
[HTC One S] mikronac.ns:
I have occasional reboots, but I had them since I bought this phone. Some people have a fast Krait and they don't have reboots. Be aware that non US users mostly have nominal or slow Krait and that is core of all problems. If you want more stable kernel, use the same voltages for all frequencies (that's how HTC set voltages) and you will not have reboots.
[HTC One S] mkoev:
For me personally most reboots occur when I set the multicore power saving to 2 in trickster mode. If I set it to 0 I have no reboots. Or at least it would take days before I get one.
[HTC One S] mikronac.ns:
powersaving mode will be disabled in next release. also, i will look into voltage table.
[HTC One S] javelinanddart:
Yeah iirc, grorg has a slow Krait. i'd bump them by 25000 across the board for slow

Powersaving not sure. I have seen other cases (not in android at all) where powersaving methods cause a crap ton of issues: Latency Spikes, System Hangs, system failure, data loss due to system failure, etc.
[HTC One S] mikronac.ns:
If you have a time, bump voltages for 25mV for normal Krait on Mrak, cm-12.1 branch.
[HTC One S] javelinanddart:
Sure, maybe later though. Doing some M8 stuff atm. Can I add a gov as well?
[HTC One S] mikronac.ns:
New version: is up https://www.androidfilehost.com/?fid=23991606952608194

Credits are going to [MENTION=5795145]javelinanddart[/MENTION]
[HTC One S] javelinanddart:
You forgot to enable O3 ;)

I enabled it just now

EDIT: Disabled again
[HTC One S] mikronac.ns:
Nope, something is wrong. Boot process is never ending. I have no time to look what goes wrong :S
[HTC One S] javelinanddart:
Odd, I never had an issue before
[HTC One S] mikronac.ns:
I will try again now... Reset all my changes and compiling again.
[HTC One S] Rapier:
I'm still here. Flashed this one but I'll wait if you got another build to test. So far is good but surprisingly, even if the phone is fast, the benchmark is very low. Could be of that disabled O3 optimization? I mean I got about 4800 points in Quadrant and that's really low. I usually get 5500 and with previous build I got 6500

EDIT: Oh and just noticed, Multicore Power Saving mode is "disabled". If I try to set it to "enable" (I don't use "aggressive" just "enable") it goes to "disable" again does not stick. It is completely disabled by purpose?
[HTC One S] javelinanddart:
It's disabled by default but should stick if you set it

I added O3 between the builds so no builds have had O3 yet but I added some optimizations so technically it should be faster.

However benchmarks are inaccurate, I wouldn't put too much faith in them.
[HTC One S] Winstarshl:
Very waiting)
[HTC One S] mikronac.ns:
So?! You have yesterday's version. I will not release new version. I want to be sure that is everything OK.
[HTC One S] Winstarshl:
hmm I flashed last version... it`s okey) work good and fast(need test to battery).... but i think have small problem when i opening many apps and RAM < 100mb ... system have lags....
[HTC One S] mikronac.ns:
Yeah, than you buy phone with 500GB of RAM.
[HTC One S] mikronac.ns:
New version, O3 enabled: https://www.androidfilehost.com/?fid=23991606952608443
[HTC One S] Winstarshl:
ohh no no no.... stop) I think this problem have because lowmemorykiller work is very bad.... or ZRAM( or SWAP) ... have too problem in work!

hmm on version 21.05 I have free ram ~ 320mb

but now on 22.05 have ~ 440mb free) this i think good!
[HTC One S] Rapier:
Noticed something strange for some time. Almost every time after I flash the kernel, TWRP goes crazy. I mean all backups are "disappearing", and all TWRP settings are reverted to default. The backups files are then recovered in LOST.FIND folder on sdcard. Don't know why is happening and it's not ROM dependant as I've had this on several ROMs. I am not sure it's TWRP either since I've used 2 versions: the official TWRP 2.8.6.0 and mdmower's TWRP 2.8.6.4 (the one with F2FS support).

It happened again now after I've flashed latest kernel version. Anyone noticed same thing or at least has the same behavior? I wouldn't say it's the kernel but I've noticed that this happens after a new kernel flash and lately I've flashed only Mrak. Now after I make a backup I copy it in another location on sdcard (it's not deleted from there) or on PC
[HTC One S] mkoev:
I am using the previous version of mrak kernel and I don't have any recovery issues. TWRP back ups are there.
[HTC One S] Audioffensive:
LOL ;)
[HTC One S] Loreane Van Daal:
i have it.... for some time. For a month, i think. Didn't have time to elaborate so i just transfered backups, themes and settings to another dir. But i didn't have anything in lost.dir. Using 2.8.5.0. and when i tried, three days ago, to flash 2.8.6.0 via flashify, recovery was gone. Same result was with twrp manager and rashr. And for a long time i was using those apps for flashing recovery. Now, i have to do it old school way, but i just can't catch up with time. Using latest UB rom.