yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] ansebovi:
sry :( i just updated my phone to 2.19.40.22,with clean wipe ..due to weird problem,my 1sim didnt detect,..only after update it detects

i can remember only few things..

like alarm,fringerprint scanner,nfc,icing,google cloud,hangout..othrs i cant remember

[MENTION=2388665]TheSSJ[/MENTION]

maybe i am asking too much from you,or its impossible to do..

can u add that hotplug u created in yankactive for ondemand also ?
[ZenFone 2 Android Development] TheSSJ:
So you mean when the screen turns off to take down 2 or 3 CPUs? If yes, that shouldn't be a problem as I just would need to install early suspend and late resume handlers, but I would change the name of the governor as I want to keep ondemand stockbased
[ZenFone 2 Android Development] ansebovi:
ya, cool then please add :)
[ZenFone 2 Android Development] jejemc:
Hello sorry if the question was asked but and it is possible to install the kernel cyanogen rom? Thank you ;)
[ZenFone 2 Android Development] TheSSJ:
http://xdaforums.com/showpost.php?p=62059585&postcount=38

Basically I assume that soon someone else will publish a kernel (again keeping the user anonymous on purpose in order for you to be surprised ;) )
[ZenFone 2 Android Development] cangcan:
now i know whos the one, saw his github adding all your governor.. and currently im downloading his latest today test build (with codename DU).. :cool:

p/s: i already tried to learn and compile cm kernel using other toolchain, but stuck on bootloop, long way to learn though, guess its really hard and not so easy to be a developer with just some basic computer skill..
[ZenFone 2 Android Development] chobztopz:
Fingerprint Scanner??
[ZenFone 2 Android Development] cangcan:
im having the same problem as yours right now. didnt reflash stock firmware yet since i dont have a pc with me right now..it happens after i tried to install different cm12.1 rom several times.. i think its related to twrp which cause something to disturb other partitions block including simcard reader..its really weird, i even restore all backup rom but no success, hopefully my simcard can be re-read after fastboot stock rom when i get home later..
[ZenFone 2 Android Development] ansebovi:
it happens to me when i am in stock,used for about 12hrs with 2 sims ....i kept my phone at night and slept,morning the sim 1 is gone..

yes,check wakelocks,its checking for it maybe
[ZenFone 2 Android Development] TheSSJ:
I think it maybe has something to do with the config partition, will include all partitions in the fstab, so it gets backed up too...
[ZenFone 2 Android Development] Techronico:
[MENTION=2388665]TheSSJ[/MENTION]

Would it be useful to have some success stories from users of this kernel, and/or some users share their configuration along with results and quote them in the OP or second post?

I've gotten great battery life from this kernel, but would like some recommendations on what to tweak to get the best results specific to kernel and phone rather than just googling it. WDYT?

EDIT: Sorry I just read your post about discussing this in another thread. Will do.
[ZenFone 2 Android Development] TheSSJ:
As this is still kernel related this is not OT in my opinion ;)

Well, we could use post 2 for the Recommendations on how to tweak the kernel settings,so why not :)
[ZenFone 2 Android Development] tuilalnvinh:
My fone is usually not responding when using this kernel, even set performance gov. Try restore stock boot and issue resolved :(
[ZenFone 2 Android Development] TheSSJ:
Odd, is there anyone else with a z00ad having this issue?
[ZenFone 2 Android Development] eoghan2t7:
Is it just me or with this kernel does Bluetooth fail to turn on?
[ZenFone 2 Android Development] TheSSJ:
Can't speak for everyone else, but on mine it's working
[ZenFone 2 Android Development] Oishikatta:
Works perfectly on mine.
[ZenFone 2 Android Development] eoghan2t7:
No worries I'll reflash my phone back to stock with no root etc to see if that fixes it I also restored my backup of the stock kernel and its still not turning on so that means its not the kernel. The reason I ask is I plan to contribute to your kernel by updating it to the latest kernel.org code etc...
[ZenFone 2 Android Development] eoghan2t7:
And we are working again ;)
[ZenFone 2 Android Development] mencho:
For the last few days (a week maybe) I've been having lag issues. It's not all the time. Most of the time it happens while using Facebook or Chrome. I've received messages that the app has stop working. I've cleared the RAM, sometimes it helps sometimes it doesn't.

Right now I'm on V50, this has happened while using both interactive and thessjactive governors (I know that this 2 have touch boost, haven't tried other governors since the problem started). I also changed the i/o I've been using cfq, sioplus and now fiops.

I have the 2GB/16GB 551. Is there other info that may be helpful?

TheSSJ, thank you so much for all your work!
[ZenFone 2 Android Development] tuilalnvinh:
You are having issue like me before. It also happens on performance gov too
[ZenFone 2 Android Development] TheSSJ:
Maybe it has to do with either the SSE optimizations or the toolchain switch (the only things I changed the last week I think) - but I ran extensive AnTuTu Benchmarks and verified, that the performance went up to approx. 800 points, so I am a little confused that others have performance issues now.

Do you have ZRAM enabled, any other tweaks applied?

Also, can you plug in your phones via USB and run adb shell and dump me logcat and dmesg (the logs usually provide me good info if errors are occurring on your phones)

Also please note that Touchboost only works on interactive gov at the moment. I am working on it, to make it work on thessjactive and yankactive, too, but inter-modules communication seems to be a complicated task...:(
[ZenFone 2 Android Development] mencho:
[MENTION=2388665]TheSSJ[/MENTION], i will try to get the log file. I've been using this kernel before it had version numbers. I've installed 27, 29, 38, (43? or 45? almost sure it was 45) and now 50.

I'm almost sure that the ocassional/frequent lags (but annoying) began for me in version 45. After getting the log, I will try to downgrade to V42 or lower to see if the lag still there.

Thanks
[ZenFone 2 Android Development] TheSSJ:
This would imply, that KVM is being the culprit, but I'll wait for your findings :)
[ZenFone 2 Android Development] tuilalnvinh:
Maybe it is, I will try v44(no kvm) to test :)

Updated : exactly no lag issue on v44 [emoji1]
[ZenFone 2 Android Development] helroz:
I have just see a file in /system/etc:

powervr.ini

And in this file:

CoreClockSpeed=400000000

This file is in firmware, it's not strange this line?

Gpu freq is in kernel normally....
[ZenFone 2 Android Development] mencho:
[MENTION=2388665]TheSSJ[/MENTION], hope this file is useful. I'm not a developer, The phone lagged in the last minute of the log. If something else is useful, please let me know!

Thanks!

PS: I had to zip the file, because of .txt file upload limitations
[ZenFone 2 Android Development] TheSSJ:
Correct...I assume that this file has no effect at all, as the core freq is 533 MHz (you can check it by reading out the current frequency file the powerVR chip refreshes)

That's quite a log :D

Will check it gradually. Maybe it really has to do something with KVM...did you try to downgrade to test (v44)?

I planned to export KVM completely to modules and just provide them here as a flashable zip, so that the bootsize doesn't continuously grow, but there are too many works in progress at the moment :D
[ZenFone 2 Android Development] mencho:
[MENTION=2388665]TheSSJ[/MENTION],you were right. Downgraded to 44, and that was a big upgrade!

I'm a Newby so I don't use L Speed, nor init.d.

I just play with the governors and i/o.
[ZenFone 2 Android Development] IW4N93:
agreed...

i'm totally newbie about custom kernel, and i really need a complete guide to tweak the kernel, how to setup and which gov is the best to achieve better battery life without any issues, thank you very much
[ZenFone 2 Android Development] TheSSJ:
V51 and 52 are out.

51 is the last version featuring KVM support

V52 includes a loadable module named hotdemand (if there are ondemand fans out there, now the cores turn off when the screen is off while the phone is not going into deep sleep, e.g. when hearing music, etc).

/Coming up next: Aggressive optimization of the compile process (O3 flag), compilation of intel drivers with icc
[ZenFone 2 Android Development] tuilalnvinh:
Hi, there are many proc files in my fone after installing v52, what are they ? Does anyone have them ?
[ZenFone 2 Android Development] ImjuzCY:
I have them too
[ZenFone 2 Android Development] TheSSJ:
And where? I don't see anything on my sdcard or ext.sd...
[ZenFone 2 Android Development] NoobNeutralizer:
They're in the root of the SD card...

I've got them as well...
[ZenFone 2 Android Development] TheSSJ:
Man, super odd...

Could you provide dmesg and logcat output, maybe there is an exception thrown out somewhere.

Anyways, uploaded v53 (which I am running right now) and there I don't have these files. Prior to updating delete these aux files and flash the new kernel. The files should be gone then hopefully (whatever they are :eek: )
[ZenFone 2 Android Development] NoobNeutralizer:
I'll download it and give it a run...

I'll let you know how it goes...
[ZenFone 2 Android Development] LostSoulFly:
I've had these proc files since #45. I'm actually still on it and I've been getting them. I'm upgrading today.
[ZenFone 2 Android Development] TheSSJ:
I would wait with upgrading, I finally got touchboost working for thessjactive (will implement also for YA, but I'm too tired right now...). Now every interactive based governor gets the notification about the screen being touched and the cpu frequency gets raised :)

tomorrow v55 will be uploaded, for me it's a major milestone (with my limited set of knowledge), and it really works well :)

/EDIT: And it's on :) Have fun with v55! Touchboost working for both thessjactive and yankactive!
[ZenFone 2 Android Development] tuilalnvinh:
Thessjactive touchboost works, no proc files on v55. Thanks for your hard working :D
[ZenFone 2 Android Development] mapre64:
v55 works very well. TessJactive with Touchboost is now much more snappier.

Tanks for your hard work:)

Gesendet von meinem Nexus 9 mit Tapatalk
[ZenFone 2 Android Development] TheSSJ:
Very happy to hear that :)

Kernel status is set to stable now.

Will finally see how I can compile parts of the kernel with the intel compiler now ^^
[ZenFone 2 Android Development] tuilalnvinh:
Hi, i just check the fone, these proc files appear again now, i'm using thessj gov[emoji15]
[ZenFone 2 Android Development] corrsea:
No proc files here on v55. Deleted them and then flashed the kernel this morning.

Running it on super Zen Rom. Fast, stable + excellent battery life.

Sceen shots below. Unplugged about 6 am. Some heavy use before and after work. 8pm now and 50% battery left with 3 hrs SOT.
[ZenFone 2 Android Development] TheSSJ:
Well, should anyone encounter these files again I would need logcat and dmesg outputs as I can't reproduce the error...
[ZenFone 2 Android Development] tuilalnvinh:
yes, here is my logs, hope it could help you to find out the issue
[ZenFone 2 Android Development] Tiongkia:
Sorry but i just flashed the latest version. Everything is great. THANKS so much. Just a minor thing i noticed. My phone is indicated as 3G ram instead of 4G ram under hardware information.
[ZenFone 2 Android Development] TheSSJ:
Hidden due to my bullsh*t

Hi,

I see your dmesg is flooded with these:

<3>[23011.548860] binder: 661: binder_alloc_buf size 1245232 failed, no async space left
<6>[23011.548879] binder: 3458:3458 transaction failed 29201, size 1245220-8
<6>[23015.037597] binder: 661:1434 transaction failed 29189, size 168-0

Binder is used by the IPC subsystem of Android (interprocess communication, where 1 app process communicates with another app. For example Google Play talking to Google Play Services app).

You logcat says:

08-02 15:10:10.787 I/ActivityManager( 661): Process com.android.vending (pid 3006) has died
08-02 15:10:10.970 I/ActivityManager( 3405): less than 2G Ram Device.
08-02 15:24:46.928 I/ActivityManager( 661): Killing 6015:com.google.android.partnersetup/u0a32 (adj 15): empty #17
08-02 15:24:47.187 I/ActivityManager( 661): Killing 6283:com.svox.pico/u0a90 (adj 15): empty #17
08-02 15:24:47.479 I/ActivityManager( 661): Killing 6387:com.oasisfeng.greenify/u0a166 (adj 15): empty #17

The eventlog:

08-02 14:06:39.537 I/notification_enqueue( 661): [10018,825,com.android.systemui,100,low_battery,0,Notification(pri=2 contentView=null vibrate=null sound=null defaults=0x0 flags=0x8 color=0xfff4511e category=sys actions=1 vis=PUBLIC)]
08-02 14:06:39.541 I/notification_cancel( 661): [10018,825,com.android.systemui,16038,qc_reminder,0,0,64,8,NULL]
08-02 14:06:39.541 I/[COLOR="Red"][B]force_gc[/B][/COLOR]( 661): Binder
...
08-02 15:21:50.131 I/force_gc( 661): Binder
08-02 15:21:50.491 I/force_gc( 4882): Binder
08-02 15:21:50.695 I/force_gc( 661): Binder
08-02 15:21:51.294 I/force_gc( 661): Binder
08-02 15:21:51.639 I/force_gc( 4882): Binder
08-02 15:21:51.796 I/force_gc( 661): Binder
08-02 15:21:52.383 I/force_gc( 661): Binder
08-02 15:24:43.281 I/force_gc( 1395): bg
08-02 15:24:43.289 I/force_gc( 2903): bg
08-02 15:24:43.304 I/force_gc( 5911): bg
08-02 15:24:43.308 I/force_gc( 5993): bg
08-02 15:24:43.331 I/force_gc( 661): bg

You seem to have no free RAM left, so processes get killed by Android GC (I just make assumptions though). Greenify gets killed,too. This could explain why the 4GB Zens don't have these proc files.

Do you have other tweaks applied? L-Speed or so? Maybe this is why these files get written without being deleted (something like temp files).

Did you activate ZRAM? If not, I would say to try with ZRAM enabled, maybe your phones runs better with compressed RAM

Now it would be useful to know which apps are installed on your phone and on [MENTION=4391834]NoobNeutralizer[/MENTION] 's zenfone.

Many thanks [MENTION=2067335]Tiongkia[/MENTION]! It seems the O3 optimization compiles the kernel in 32Bit! I am in the process of cooking a new kernel. As soon as it is done I will check and upload the fixed version. Maybe this fixes the RAM problems of [MENTION=4002668]tuilalnvinh[/MENTION] and [MENTION=4391834]NoobNeutralizer[/MENTION] too...

Sorry for the inconvenience
[ZenFone 2 Android Development] tuilalnvinh:
Thanks for your observation. I dont enable Zram but have LSpeed installed. I will uninstall it and check if problem persist or not
[ZenFone 2 Android Development] cangcan:
i think its because of L Speed, im on CM with stock kernel and im having proc files too, 4gb zf2 FYI.. before on stock rom with project T kernel, im also having proc file too..gonna help to test by uninstalling l speed mod if its gonna help searching for proc aux file causes..
[ZenFone 2 Android Development] TheSSJ:
Yeah, also the reason for only a few of you having these files, whereas I don't have any of these...how big are these files? could you upload some of these to check the insides?

Guys, we're back to 64Bit addressing, v56 is up ( [MENTION=2085303]cieffe54[/MENTION] , unfortunately I had to release a new version as the kernel was compiled with 32Bit, now it is fixed)
[ZenFone 2 Android Development] ansebovi:
that is 176bytes file , can't open in normal note editor, created on daily basis..

btw i just flashed v55 no hotdemand:(
[ZenFone 2 Android Development] Tiongkia:
Awesome! Its back
[ZenFone 2 Android Development] cieffe54:
UP!!:)
[ZenFone 2 Android Development] Tiongkia:
I am a noob. But after flashing v56, when i change the governor, it reboot. Anyone else have this issue?
[ZenFone 2 Android Development] TheSSJ:
Which governor? If it is conservativeX then it's normal. Honestly I don't know why I didn't remove it...

Or is it another gov? I switched from interactive to thessjactive, yankactive, ondemand, etc. without problems

Can you pack 1 or 2 into a zip and upload them please?

Also for hotdemand you need to insmod it manually:

insmod /lib/modules/hotdemand.ko

then you can select it in kernel adiutor
[ZenFone 2 Android Development] Tiongkia:
Lionheart and consertivex
[ZenFone 2 Android Development] ansebovi:
hi ya just now seen in op for hot demand..

zip is attached, i think it is due to lspeed.. anyway check it...
[ZenFone 2 Android Development] TheSSJ:
Will update the OP with the message that I can only support if you don't have any additional tweaks installed.
[ZenFone 2 Android Development] Lorka.Tinou:
Well I am still seeing 4gb of RAM in Aida64 with v55. Will update to v56 anyway.
[ZenFone 2 Android Development] ansebovi:
found out that hotdemand never goes above 500mhz sadly

just please try in your phone
[ZenFone 2 Android Development] NoobNeutralizer:
I'm sorry I didn't respond again last night...

I had a few beers, smoked a joint and ended up playing video games for the rest of the evening...

I have LSpeed installed and don't even use it...

I am going to uninstall it, update to v56 and see if the files disappear...

My ZenFone is the 2.33ghz/4gb model...
[ZenFone 2 Android Development] tuilalnvinh:
I'm on v56, LSpeed removed, still has 1 proc file . Attached is my latest log;)
[ZenFone 2 Android Development] TheSSJ:
Will check when i get home again

Made my day :D
[ZenFone 2 Android Development] NoobNeutralizer:
I uninstalled LSpeed and updated to v56...

It has been running for over half an hour now and no new proc_auxv files have appeared...
[ZenFone 2 Android Development] Ashtrix:
Just Flashed the kernel, will report if anything wierd happens...!

Well I'm using Trickster Mod to control the basic features as of now, how do you guys control the settings ??

And for the info sake....Afaik from gnex forums the "row" scheduler should be good & for other features Synapse for kernel control & a MultiROM ;)

Pls don't mind I'm liking the new place & feels good to see cool things going on here..sorry :p !!

Thanks TheSSJ for the work :good: !!
[ZenFone 2 Android Development] corrsea:
I did the opposite, installed v56 and then lightspeed. Proc files are there. Guess that confirms they are a product of lightspeed.

Can also confirm ram now back to 4gb rather than 3 [emoji1]
[ZenFone 2 Android Development] TheSSJ:
We're back to 4gb,promise :D
[ZenFone 2 Android Development] AL_IRAQI:
no its from the kernel :)

i dont use LS and i have them
[ZenFone 2 Android Development] TheSSJ:
As I don't have them, I need the source of this error (in form of log files ^^). Dmesg output is sufficient then (with good timing of course), as it spits out the kernel ring buffer, logcat etc. are not needed anymore.

By the way, which phone model do you have exactly?

[MENTION=4002668]tuilalnvinh[/MENTION]: I see dozens of these bad boys:

<6>[ 3204.818057] lowmemorykiller: Killing 'com.zing.zalo' (3759), adj 1000,
<6>[ 3204.818057] to free 75712kB on behalf of 'kswapd0' (88) because
<6>[ 3204.818057] cache 427016kB is below limit 427400kB for oom_score_adj 1000
<6>[ 3204.818057] Free memory is -1000kB above reserved

Still this is not the reason why these files appear (dmesg doesn't spit out anything relevant unfortunately), but you should uninstall some apps as it seems :D
[ZenFone 2 Android Development] AL_IRAQI:
here you are

http://pc.cd/QakrtalK

I have Z00AD, 4GB Ram with 32GB Storage

Edit:

is this OK ?, or i have to do something about it ?

08-03 00:10:41.587 712 2542 E Intel PowerHAL: Error opening /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse: No such file or directory
[ZenFone 2 Android Development] TheSSJ:
that's completely fine. The stock system assumes no root privileges and assumes also that interactive governor is ALWAYS the installed governor. This is why the PowerHAL is sending touch events always to a hardcoded location (/sys/devices/system/cpu/cpufreq/

interactive

/touchboostpulse). As you are using another governor, this directory doesn't exist. I had to tweak our touchscreen driver to send these events also to thessjactive and yankactive, that's why you now also have touchboost when using other interactive based governors.

My next build will set the readahead of the sdcard partitions from 2048 to 512 in the hope it will fix your issues (all logs state always

sdhci: Tuning procedure failed, falling back to fixed sampling clock
mmc2: set SDHCI_TUNE_FOR_CMD52.

Odd is, that I don't have these files :(
[ZenFone 2 Android Development] NoobNeutralizer:
Still no files after many hours of using the phone heavily...

I'm using Yankactive for the governor...

I'm using Zen for both I/O settings...
[ZenFone 2 Android Development] AL_IRAQI:
I'll use this init.d script

rm -f /storage/emulated/0/proc_auxv.*

to remove these files automatically :)
[ZenFone 2 Android Development] ansebovi:
actually that proc comes for me on every reboot.. not while using the phone.. and (due to xposed, greenify and some other issues will have bootloop, those times proc are increased)
[ZenFone 2 Android Development] cangcan:
its not generated by L Speed mod too.. and the proc files also generated while using CM with stock CM kernel.. so maybe its not because of project T kernel.. weird, maybe its related to xposed? and sometimes its getting crazy, 2k++ proc files generated overnight..
[ZenFone 2 Android Development] tuilalnvinh:
It is not related to xposed because i dont have xposed installed. On v56, it generates less proc files than v55, i have about 1 file/ hour

---------- Post added at 10:10 AM ---------- Previous post was at 10:08 AM ----------

Thanks, Good idea instead manually deleting these junks while we are waiting Ssj fix this issue :D

---------- Post added at 10:16 AM ---------- Previous post was at 10:10 AM ----------

It is really bad ram management in stock asus rom, i have only some app chat and small games, even using auto start manager and greenify to eliminate them from running in background ...[emoji22]
[ZenFone 2 Android Development] Ntrasme:
Chiming in about the issue, I'm on CM 12.1 with Deathly kernel, no PROC Files.
[ZenFone 2 Android Development] adrian13th:
Is this the proc do you guys talking about? I'm on v56 now and using thessjactive governor
[ZenFone 2 Android Development] helroz:
Don't have any proc file on my 550ml with v56.

Use my rom (550ml light) with your kernel and dpi mod by shell.

No ls mod, no xposed, ...
[ZenFone 2 Android Development] TheSSJ:
I will be pushing a new update in the course of this day with async fsync (thanks to [MENTION=4222965]deadman96385[/MENTION] ) and reduced readahead to 512kB to see if you issues disappear.

No, this proc folder is totally ok. Proc files we are talking about are located on the root of the internal sd card
[ZenFone 2 Android Development] helroz:
Anyone with proc files have tried a clean install?
[ZenFone 2 Android Development] adrian13th:
Thanks for your guide, I don't have any proc files on root of internal SD card, I don't use LS mod, only Xposed framework with Amplify and Greenify
[ZenFone 2 Android Development] cangcan:
these proc_auxv files...
[ZenFone 2 Android Development] TheSSJ:
And you got them with CM and stock kernel???

What the heck is causing this...

Anyways, I don't think it is kernel related then...What I only can assume is that Z00AD devices differ somehow from Z00A?

I don't really have a clue...no dmesg file gave any straight answer about crashing processes or failed IO operations....
[ZenFone 2 Android Development] corrsea:
In my case only 6 proc files appeared. Once deleted they don't seem to come back even on a reboot.
[ZenFone 2 Android Development] AL_IRAQI:
Z00A has dual sim card also ?

With Z00AD there's two sim slots
[ZenFone 2 Android Development] TheSSJ:
I think the AD is the phone version which had CN firmware pre-installed.

I am curious if the issues disappear with my coming update...Will notify you once it's up

Also have a look at my dev roadmap (which I edited moments ago, a "well spent" lunch break :D):

Coming next:

Selinux tweaks

Boeffla sound engine

New governor "impulse"

Tweak GPU governor

Sweep2Sleep?

Boeffla Sound-Engine
[ZenFone 2 Android Development] corrsea:
Wow, excellent