yashsingh1/xdaforums huggingface dataset:
[HTC One Mini] kairi_zeroblade:
​

...​

OT Discussions are allowed(healthy way to help and get help on forums) just make sure noone gets ahead of themselves and forgets this is a development thread..you are all entitled to your own opinion just be respectful and always remember that you are on XDA..to our dear mods any discussion that destroys the credibility of my hard work or any post that may be disrespectful in nature can be considered offensive and is subject to your moderation..​

...​

**Snapdragon™ is a registered trademark owned by Qualcomm Technologies Inc.

**Synapse™ is a registered trademark owned by @Andreilux

**Xceed Logo™ is created by @fareed_extreme

XDA:DevDB Information

Custom Kernel, Kernel for the HTC One Mini

Contributors

kairi_zeroblade, xXminiWHOOPERxX

Kernel Special Features: Wake Gestures, Finer Voltage control, Auto entropy seeding

Version Information

Status: Stable

Current Stable Version: Production build 5

Stable Release Date: 2014-10-26

Created 2014-09-25

Last Updated 2014-10-26
[HTC One Mini] xXminiWHOOPERxX:
Reserved

will add a guide on features soon.
[HTC One Mini] kairi_zeroblade:
Reserved
[HTC One Mini] jollywhitefoot:
Awesome! Thanks for the support!!
[HTC One Mini] LQi:
Just flashed this kernel. Will reporter deze my experiences in 2 days, first impression is very nice!
[HTC One Mini] 410eaL:
thanks for fresh kernel.. :)

---------- Post added at 11:42 PM ---------- Previous post was at 11:05 PM ----------

@kairi_zeroblade how to install this? just installed over recovery zip? My Own ROM used IC 4.0.3.. when I installed the kernel still same.. need your help.. cheers
[HTC One Mini] Everest_:
Nice :) Can it be used for non gpe versions?
[HTC One Mini] xXminiWHOOPERxX:
This kernel can only be used on sense and GPE.
[HTC One Mini] Everest_:
Thank you! :)
[HTC One Mini] kairi_zeroblade:
you need to be S-OFF since this is an anykernel package..if you are S-OFF then eveything will be automated..use Synapse from Playstore to customize settings.. :D
[HTC One Mini] kairi_zeroblade:
Any feedbacks/rants/violent reactions?? should we keep doing things here?? making me bleed without even the phone with me?? people here seem to be more uncooperative than the people on Xperia..they are craving for an official release already i'm just shy to do so..
[HTC One Mini] jollywhitefoot:
I think i'm just happy that anyone cares to develop for this device so i'll take what i can get!

Since flashing 4.4.3 Rom with this kernel, i've noticed some lag on my lockscreen, exiting chrome with home button (home screen re-draws a lot), and pulling up my keyboard, especially in hangouts. I'm trying a different kernel (bilal_liberty) to see if that makes any difference. I think it's about the same...maybe a little bit smoother. I'm going to use that kernel for another day or so, then re-flash yours to make a better comparison.

Thanks for your work for our device.
[HTC One Mini] kairi_zeroblade:
its because HTC Implemented some DMA mappings..on high density devices(2gb RAM and above) we don't have these issues..this is just a port of what HTC did on M7 so we expect things like this come implemented too..so with the lack of huge RAM, indeed you will suffer issues..as a workaround i built a new one and sent it to Whooper and she gave a positive feedback with the laggs/redraws gone..on next release hopefully everything should be OK..i am just waiting for her to report the battery life for the test if the changes i made affected battery life or is it just stale..

Thanks for the nosy feedback i really appreciate it..any one else with issues so we can start balls rolling for an update?
[HTC One Mini] jollywhitefoot:
Thanks for the useful information. I'm looking forward to trying out the new kernel.
[HTC One Mini] LQi:
Hi,

I've been using this kernel since the day it was released. And I'm very happy about it! The features I like the most are UV (i undervolted 50 mV and disabled krait voltage boosting in synapse) and the way dt2w and s2w/s2s work. UV was really something this device needed. Max cpu temp was about 42℃ and it was idling around 6 degrees above ambient temperature, so it is a lot cooler than when I used different kernels. Battery time is also pretty good. The device has very good deep sleep now in combination with IC and greenify.

Although this kernel is imho the best kernel for the One mini, it still has some issues. The first one is that the launcher redraws pretty often, but I can't say this is because of the kernel. I also experienced this with the kernel that is packed with IC. The second issue is that when I lower the cpu freqs, either with trickster mod or synapse, they don't stick. As soon as I leave the app the frequencies go back to default. And the last thing I found was that after a while I got problems with connection. WiFi and mobile kept going on and off. Clearing cache/dalvik cache fixed it.

Anyway, thank you for this kernel and I hope you will support us for some time!
[HTC One Mini] kairi_zeroblade:
Yes eventually you have to clear caches since i recompiled a newer wifi module..regarding frequency issues not sticking its due to pnpmgr doing scaling stuff on its own..regarding redraws as explained earlier its due to some memory mapping HTC did to the kernel source..at my best, i did salvage a bit of memory from the GPU..well on next release i will balance the GPU memory to the system memory in proportion to alleviate issues..

Thanks for the feedback..next updates will be abit chunky..L2M is for testing already..and for those fetish with MLG..i will not add it..i won't contribute to backdoor exploits to android thus i am striving my best to eliminate memory leaks which in the latter can cause battery drains or high memory usage..

BTW the kernel packed with IC is mine.. :D (i made it)
[HTC One Mini] shivasrage:
Hi, Kairi

Having issuses with Kernel. Frequ. wont stick in synapse.

If I try to reduce from 1.7 to 1.4 everytime i leave synapse frequencies are on 1.7

Checked permissions of different files and folders all seems to be right so far.

Have you any advice?

Reinstalled app.. cleared cache + dalvik ...I´m on latest Liberty ROM

Thanks for your time and work...to support this device

greets
[HTC One Mini] kairi_zeroblade:
i'm out of thanks..haha

thanks for the report..next release i will lock the cpu frequncies down to stock.. :D as explained earlier..we have a closed source binary named "pnpmgr" that does frequency scaling on its own..so no matter how you change frequencies it will always revert to what that binary wants..
[HTC One Mini] shivasrage:
Hey Kairi

Ok I understand...so I have a question ...ist it possible to make one with oc enabled

and one without?

Or is this too much work for you?

thanks + greets
[HTC One Mini] kairi_zeroblade:
sure i could..that's one amazing suggestion..CPU OC or both CPU and GPU removed??
[HTC One Mini] shivasrage:
If its not to much you can made a "normal" version and a "performance" version with CPU + GPU OC enabled

so everybody can choose his favorite. :D

Do you think it would be possible to set the personally wanted max frequ. with synapse in OC version ?

Or would it be 1.7 anyway?

greets
[HTC One Mini] kairi_zeroblade:
New builds up

Grab new build from Wiki page..

Any kind of feedbacks/reactions/discrimination are welcome(hit me!!)..

This hopefully resolves your issues..and hopefully Battery does not falter..i never got a reply from Whooper about the last test build..i would assume it did not blow her unit away(kidding aside!)..CPU Clocks are reset to stock with OC capabilities..also do check if you have Vsync on GPU Tab enabled if you are experiencing laggs by default Vsync should ALWAYS be enabled..
[HTC One Mini] jollywhitefoot:
Sweet! Thanks! Flashing now!!
[HTC One Mini] LQi:
Hey man, just flashed this kernel. It's nice to have vsync now. Just want to let you know that cpu frequencies still dont stick and launcher redraws still happen when pressing home after gaming.

Anyway thanks for the new update and if you need a tester, you can send me a PM
[HTC One Mini] jollywhitefoot:
Initial comments:

Cleared cache after install

Lag/Screen redraws are CONSIDERABLY less than with first version. There are still some slight occurrences when pressing home from certain apps (most notably Chrome for me). Also get redraws occasionally after unlocking. But again, it is MUCH smoother than v1.

After reboot I get a toast that says Synapse Boot Cancelled

Synapse gives message "Boot Settings Canceled" when opening Synapse.

CPU Usage on IC quick settings only shows usage for one core, but shows percentages for both. Also on CPU percentages, when a core is idle it displays "False" instead of "Idle".

Too early to report on battery life, but I'll try to give an update tomorrow.

Thanks for the work! This new kernel seems awesome so far.
[HTC One Mini] xXminiWHOOPERxX:
Battery life wasn't effected on your new build you send me. Actually haven't even thought of changing it back to a MLG kernel cause I'm happy with the performance and battery life I get... But it does suck that you won't be adding it.. But if we get all other m7 features then why do we need MLG

I just used trickster mods frequency lock option to make my cpu run at 918mhz...

The cpu idle or false is nothing. Out tweak reads 3 things.. the cpu frequency at which the device is running, idle , and false ( which means the cpu is reading as completely off )

---------- Post added at 09:24 PM ---------- Previous post was at 09:20 PM ----------

Also [MENTION=3637908]kairi_zeroblade[/MENTION] - can you be more specific on your changlogs ? This way everyone has a general idea what you have done.?
[HTC One Mini] kairi_zeroblade:
It was always there from the beginning of Jelly Bean..it was not just exposed as it will just cause more issues to disable it..though disabling it gives more EPEEN points on benches..

well eventually this is still sad news(for me) as i am a perfectionist..i couldn't imagine where the issue might be..i remapped the GPU memory to 90mb in the hopes that it will reduce the redraws..but seems that still did not help..

i will add frequency lock on Synapse next time..its just a permission trick preventing pnpmgr and other binaries overwriting values to sysfs values..good to hear it did not have nosy effects..

Yes i will fix git today..i was sleepy when i did the update..welcome to my everyday 3 hours sleep overnight routine just to support everyone and make em happy.. :D and no one even cares to help me with staying up late except my own mind imagining things.. :D

and as far as L2M is concerned if you doubt it is forsaken take a look at here..look for M4 comments..its just waiting for a tester..on the M7 got it working though i am not using it so i made it optional..
[HTC One Mini] xXminiWHOOPERxX:
I'll send some consideration. Just waiting on L2M to come
[HTC One Mini] kairi_zeroblade:
see the edit i made..at the bottom..

Edit:

if someone who's available the whole day can do crack flashing with me then just let me know..i need to end this lagg curse of yers..

Banzai!!

Edit1:

For those who are having issues with lags can you clear the cache of the launcher..and see if that helps??
[HTC One Mini] xXminiWHOOPERxX:
Um me? And with your new kernel I don't experience lag.
[HTC One Mini] jollywhitefoot:
I'm available tomorrow. Just let me know what you need.

Unfortunately, as the day has gone on, redraws have gotten worse for me.

Edit: cleared launcher cache and it didn't help

Edit2: changed from using HTC Blinkfeed launcher to Google Now and will see if that helps

Edit3: nope. Google Now launcher experiences redraws and lag too
[HTC One Mini] kairi_zeroblade:
Found the issue it was a duplicate initialization for secured registers that caused it..hehe will release a fix later on still hunting down rouge stuff..
[HTC One Mini] jollywhitefoot:
That's fantastic news. I'm looking forward to testing it out.

---------- Post added at 11:37 PM ---------- Previous post was at 11:28 PM ----------

Are you regretting writing this, yet? Hehe
[HTC One Mini] JhonyD:
For 4.4.2 something more news, related to 22.05.... please.
[HTC One Mini] kairi_zeroblade:
And there we have it people..we now have L2M and L2W.. ;D YAHARI!!!!!!!!!!!

Edit:

Big hug goes to MiniWhooper for always doing do or die with me during trials.. :D

Edit1:

Removed some stuff due to mismerged commits from 4.4.3 and it seems as reported by Whooper no more lags.. :D

Edit:

still laggs..need more testers..
[HTC One Mini] xXminiWHOOPERxX:
Thanks to me testing your kernels :)
[HTC One Mini] kairi_zeroblade:
need help in testing guys.. :( just pm me to those who can..i will give you the link..
[HTC One Mini] nicus:
just flashed the new kernel from github (link seems to be gone by now).

let me know if i can help you.
[HTC One Mini] shivasrage:
[MENTION=3637908]kairi_zeroblade[/MENTION]

Tested a bit now... for me no lag so far...

but maybee too early to say ist fixed completely.

ferqu. max 1404

ondemand

no uv

all other parameters are default

thanks for the testing build....:)

greets
[HTC One Mini] kairi_zeroblade:
New OFFICIAL builds are up for everybody..

Welcome(ran out of thanks)

[MENTION=535343]all[/MENTION]

New builds are up!! grab em here on the Wiki page..according to testers everything should be settled now..Happy weekend Everyone!!!!!!!!

My special Thanks goes to the ff:

- nicus

- LQI

- Shivasrage

- Miniwhooper
[HTC One Mini] shivasrage:
[MENTION=3637908]kairi_zeroblade[/MENTION]

Hey Kairi

Kernel is working fine so far...thanks..:good:

I´ve recognized problems with bluetooth today.

HFP in car is working only partially.

Streaming music is ok.

Making calls is not ok ....there´s no sound to hear from the other end (sorry for my english).

Connecing and pairing is ok.

I´ve allready posted quite the same in bilal´s thread because I´m not sure if it´s kernel or ROM related.

Also I´ve tried some other devices to exclude car-hifi related bugs.

Only want to report this...please don´t shoot me if it´s a ROM thing....:cowboy:

greets
[HTC One Mini] kairi_zeroblade:
when that issue happens can you grab me a logcat??as far as audio and bluetooth is related there were no code changes done from 4.4.2 to 4.4.3..
[HTC One Mini] xXminiWHOOPERxX:
Sorry I passed out lolz :p
[HTC One Mini] jollywhitefoot:
This kernel is really working great so far. I'll continue testing over the weekend and report back. Thanks!
[HTC One Mini] shivasrage:
Hey Kairi

Here you have the logcat of the bluetooth issue..hope I made it right..:p

greets
[HTC One Mini] kairi_zeroblade:
bluetooth connection seems fine..though audio seems to fail..though driver did load properly..might be ROM related..did you try stock 4.4.2 ROM??
[HTC One Mini] shivasrage:
Yes I´ve been on stock 4.4.2 since the beginnig ....so far I can

remember me it´s working on 4.4.2...but thanks a lot for looking in to it....:)

greets
[HTC One Mini] jollywhitefoot:
Kairi, I am very happy with this kernel so far. I've been using it for 24 hours now and it's working great.

I've experienced no lag that I can think of and only one big home screen redraw. The redraw happened after posting a message here. The bookmark widget on my home screen has redrawn a few times, but I think that's normal.

I can't report in battery life yet.

I'll continue testing over the weekend and report any other issues I have.

Thanks for the great work!
[HTC One Mini] jollywhitefoot:
I've just discovered the same issue. Bluetooth in vehicle not working. Can't hear anything and the person on the other end can't hear me. It's not specific to this kernel, though, as I flashed bilals and had the same problem. I'm on ic 4.0.3 rom.
[HTC One Mini] kairi_zeroblade:
Its more ROM related..as according to shiva on stock One Mini ROM there were no issues..also there were no changes to audio stuff that may relate to Bluetooth..also from his logs audio driver did load properly and bluetooth initiated properly..it more unclear as the call part did not show any anomaly as we can't determine where the audio part got the issue..have you also tried going back to Stock OTA ROM to check the issue??
[HTC One Mini] jack15381:
hi, I have One Mini And I'm in Insert Coin 4.0.4 with Your kernel.

Every Thing Is Ok & awesome.

But When Connect OTG Memory Not Showen In File Manager & storage Setting ... Any Solution ?
[HTC One Mini] jollywhitefoot:
Kairi! I've been testing this kernel for a few days now and I have to say it's incredible. Really good work here.

I ended up trying a different 4.4.3 sense 6 rom and lags and redraws are virtually non-existent now. Battery life is incredible, too. Medium usage and I just passed 24 hours since charge and 9% remaining.

Thanks!
[HTC One Mini] dgw2jr:
Tried this on the stock sense 6 ROM from miniwhooper and got black screen on boot up.
[HTC One Mini] xXminiWHOOPERxX:
This kernel doesnt work on 4.4.2 only 4.4.3.
[HTC One Mini] dgw2jr:
Thread title reads 4.4.x. Someone should probably fix that lol
[HTC One Mini] xXminiWHOOPERxX:
fixed. kairi can change it if it isnt to his liking ;)
[HTC One Mini] LQi:
Undervolting really is an underrated feature of this kernel, Im loving it!?
[HTC One Mini] kairi_zeroblade:
I might release something tonight guys so hold on to your panties.. :good:

same "stupid" stuff i made to the M7 and made the M7 almost drainless overnight this is via mpdecision..HP(Hotplug) builds will come soon as i am really tidying things up..the HP builds give a 2-3% drain overnight though evidently you get longer SOT(Screen on time) whle mpdecision is now a bit fair giving a bit more juice out but still inefficient in terms to SOT..
[HTC One Mini] kairi_zeroblade:
Sorry for the delay guys..as usual was looking for testers..well i only got 2..my usual partner(who was a bit busy) and jollywhitefoot..as per their feedbacks its booting..will edit this post once i grab a hold of those 2 and check on whats broke or is it better..

it would be best for us to have a group of testers i would like to ask for 3-4 people more as permanent testers to this evolving project..mainly i do not have the device(i would love to)..though you are a small community nonetheless there would still be people who use the device and are crackflashers..
[HTC One Mini] LQi:
I would like to join your group of testers. Maybe we can make a hangouts so communicating is a little faster? Or something else ofcourse..
[HTC One Mini] jollywhitefoot:
I've been testing the new Kernel for a few days now and today was the first day where I got to focus on battery life...and WOW! It's amazing. First of all, I tested battery drain over the last couple of nights. The night before last, I took it off the charger at 100% before I went to bed and when i woke up 6.5 hours later, it was at 97%. Last night was 25% when i went to bed and 23% when i woke up. Amazing.

Today, while usage has been pretty light for me, mostly some hangouts and chrome, the battery life is still blowing me away. See attached image.

Once the kernel has been released officially, I HIGHLY recommend it if you value battery life.

Great job Kairi.
[HTC One Mini] jack15381:
Thanks lot ... any news about otg support, too ?
[HTC One Mini] jollywhitefoot:
Usage got pretty heavy today, but still very good battery performance overall.
[HTC One Mini] abzboi:
No features of waking up device works on the newest version of insertcoin. I'm using the latest build on both.
[HTC One Mini] xXminiWHOOPERxX:
Use synapse from market.
[HTC One Mini] pure.by:
My compliments on this great kernel with big battery life! I still don't understand how some people get 24+ hours out of their M4 (keeping it in the pocket all day?), but I'm already happy my phone runs about 15 hours instead of like 10 on previous kernels/roms (I use my phone a lot).

However, I do experience an issue: touchscreen often doesn't respond upon boot when showing simcard lock screen.

Phone does respond to hardware buttons, but touchscreen doesn't seem to do anything at all. Can't unlock my phone or open notifications, Home/Back buttons do nothing either. I'm only left with an option to restart the phone by holding power button for 15 seconds.

These "freezes" occur +/- once every 4~5 boots, and may rarely happen twice in a raw (they're not really 'freezes', because phone does respond to hardware buttons and I can see it updating apps or showing notifications).

In Synapse, I only change these 3 4 settings:

1) enable S2W + S2S

2) enable DT2W

3) enable pocket detection for DT2W

4) Tapping boundary: set to 900

After these 'freezes' occur and I manage to get a successfull boot, pocket-detection option (3) gets unchecked in Synapse, others remain. Also, I have a feeling these 'freezes' occur more often when my phone reboots while being in a case which covers the screen, but I didn't scientifically examine this theory; I might be absolutely wrong about that last part.

Thanks for the great work anyway! Looking forward to your "enhanced stock kernel" ;-P
[HTC One Mini] xXminiWHOOPERxX:
Just want to say that it isn't kernel related on why you can't remap home button , its Rom related and will be fixed via svn
[HTC One Mini] jollywhitefoot:
From my testing, I think the following is true:

When you have any of the wake gestures enabled (l2w, s2w, d2W)

On reboot, if you don't unlock before synapse boot completes, your touch screen will be unresponsive. If you unlock before synapse boot completes, you won't have problems.

You can test by rebooting and don't touch your phone for like 5 minutes. When you go to unlock, your touch screen should be unresponsive.
[HTC One Mini] pure.by:
This makes perfect sense!

Most of the times when my phone reboots in a case (screen covered) I forget about it and pick it up minutes later at "frozen" lockscreen.

If it reboots while I'm looking at the screen, I unlock it as soon as I see the lockscreen.

I will take this into account, thank you very much!
[HTC One Mini] xXminiWHOOPERxX:
I believe that's how synapse works. You need to unlock screen and wait for synapse boot to complete to not have screen freeze issues
[HTC One Mini] jollywhitefoot:
I think on the next release, rather than the touchscreen being unresponsive, the wake gestures will just be automatically disabled if you don't unlock in time. What I mean is, they'll survive

reboots if you log in before synapse boot completes but if you don't log in fast enough, the wake gestures will be disabled before the screen becomes unresponsive.
[HTC One Mini] Will972:
This kernel is very good. The only stuff i've face many times is when i play a game, the game freeze and i cannot back to homescreen or lock the screen. I just can hard reset.. :( any idea ?
[HTC One Mini] mtbfraser:
I've also been having this problem whilst playing games
[HTC One Mini] jollywhitefoot:
Any games in particular?
[HTC One Mini] pure.by:
[MENTION=3637908]kairi_zeroblade[/MENTION]: I have a couple of questions about Synapse if I may. I tried to do my research on my own but it's not easy to find right information.

1) Setting minimum CPU frequency

I tried selecting different governors and setting minimum CPU frequency to 384 MHz. After reopening Synapse, minimum frequency is always reset to something else. Most of the times its reset to 1728 MHz (!) and gets 2 strange values around it: S:384 MHz | 1728 MHz | D:384MHz (see screenshot)

But if I reopen Synapse couple more times (without changing any settings!) those values may be gone, and minimum frequency value may be changed to something else, too.

Also, even if minimum frequency is magically reset to 1728, I can still see that my CPU actually runs at 384 MHz when it's not busy. How is this possible?

2) What is your advice on undervolting?

I set Lower frequencies to 75 mV and Higher frequencies to 50 mV, disabled Krait voltage boost. Rebooted.

Noticed no difference in stability so far. Are these good settings? Will I gain extra battery life, and how much? What setting do you recommend?

Thanks in advance.