yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] AL_IRAQI:
when i purchased the device it has ww software ?

and i think its also mentioned in the stickers

Awesome, maybe MultiRom later [emoji14]
[ZenFone 2 Android Development] cangcan:
omg.. how i miss [MENTION=947981]Lord Boeffla[/MENTION] kernel.. and also its boeffla sound.. hopefully it can be implemented to zf2 device..
[ZenFone 2 Android Development] andip71:
... depends pretty much on the used audio hub.

If wolfson micro = lots of options possible with a port.

If wdc9320 = only a few.

If not any of them = no Boeffla Sound

:)

Andi
[ZenFone 2 Android Development] AL_IRAQI:
I think zf2 using Realtek ALC5647 ?
[ZenFone 2 Android Development] cangcan:
hopeless then..who knows ideas may strike [MENTION=2388665]TheSSJ[/MENTION]..he's a fast learner too! :)
[ZenFone 2 Android Development] TheSSJ:
Man, I thought I could just adapt your changes to the RT5647 codec :(

at least the changes looked much more universal than then the faux-sound implementation.

May I ask which pre-requisites are needed in order to decide if things like boeffla-sound are even possible? Can't be only the HW, can it?
[ZenFone 2 Android Development] andip71:
Well, in fact it is whether you have any documentation on the used audio hub.

If you have documentation on the RT5647, then you can start digging into it.

Without a register mapping you are lost to a high degree. Then you can do some reverse engineering of the stock driver, try to understand which registers do what, and then try to guess their bit patterns etc and play around with it.

For Wolfson Micro I had decent documentation, so alot was implemented.

For WDC9320 no documentation around, hence only the volume controls currently in.

No, not the hardware itself, it depends more on the documentation level.

Andi
[ZenFone 2 Android Development] TheSSJ:
New updated kernel is out, check the log :)
[ZenFone 2 Android Development] kriegschluesser:
My charging time is longer than usual. Is that normal?

No quick charging. From 90% to 100 says 40 minutes.
[ZenFone 2 Android Development] TheSSJ:
With the newest version or which one are you running currently? I didn't change anything on battery driver side
[ZenFone 2 Android Development] kriegschluesser:
V.56:eek: can ROM possibly be the reason?
[ZenFone 2 Android Development] TheSSJ:
Maybe if you check logcat or dmesg for errors which occur too often and keep your phone awake?

Also I'd go to stock for two days and check the charging behavior
[ZenFone 2 Android Development] tuilalnvinh:
I still have proc files on v60. Btw, i found this link, is it a kernel related ? http://www.linuxquestions.org/quest...t-does-proc-pid-auxv-mean-exactly-4175421876/
[ZenFone 2 Android Development] TheSSJ:
These are definitely the files which are placed on your sd cards. I recognize them by looking at the hex values which are written to them. Now the interesting part would be if these files get created by installed apps, which need to be fixed or by the kernels (and Project T isn't the only one if the CM stock kernel does this too).

As some phones do create these files and others don't I would tend to say that a certain app using root privileges is causing this
[ZenFone 2 Android Development] corrsea:
I spoke too soon when I said my proc files did not reappear. They have returned while on charge overnight. Still only 6 though. Perhaps something that is happering during charging?

Edit

Another 4 have appeared in laat hour - so nothing to do with charging. Weird though as yesterday evening none appeared after deleting them and using the phone for a few hours.

Edit uninstalled power nap -no difference

Removing lightspeed now. Will report back.
[ZenFone 2 Android Development] corrsea:
Ok it's been a few hours now and the proc files have not returned with lightspeed uninstalled. Given that this is the second time I have experienced this I'm pretty confident that, in my case at least, this issue is related to light-speed.
[ZenFone 2 Android Development] NoobNeutralizer:
I uninstalled LightSpeed yesterday afternoon and have had no files appear...

Installed v60 earlier and with the I/O adjustment, the phone seems to be running a bit smoother...
[ZenFone 2 Android Development] Tiongkia:
Installed v60. Phone seems smoother and fast. Will monitor and report if there's any issues. Thanks so much for the hard and great work.
[ZenFone 2 Android Development] chobztopz:
im using LS for weeks, no proc appears..

last seen after reinstall stock rom.. (before install LS)deleted them, and no reappears again
[ZenFone 2 Android Development] ansebovi:
i am sure now..

uninstalled lspeed for a day, rebooted many times no proc. auxv

but installed lspeed latest and rebooted just 1 time..264 proc. auxv appeared...
[ZenFone 2 Android Development] TheSSJ:
Sounds good :)

By the way, i removed hotdemand and implemented hotplugging directly to ondemand,works fine now
[ZenFone 2 Android Development] marcof93:
[MENTION=2388665]TheSSJ[/MENTION] I don't know why, yankactive is working good, but if I set it on boot with kernel adiutor it freezes and reboot while applying..if I set it manually while using the phone, no problems.
[ZenFone 2 Android Development] ImjuzCY:
Not just yankactive. Even thessjactive.
[ZenFone 2 Android Development] NoobNeutralizer:
I have the Governor and I/O settings set to apply during boot and I have no freezing or rebooting...
[ZenFone 2 Android Development] mapre64:
This morning ... 1st manual reboot wird v56...

thessjactive and siolus set on boot with kernel adiutor and zf2 freezes.

Boot in save mode, uncheck apply on boot ... reboot & set it manually no problems.

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 Android Development] TheSSJ:
Let me guess, you set it to apply on boot, you reboot, the phone shows the lockscreen and as soon as you touch the screen it doesn't react anymore...correct?
[ZenFone 2 Android Development] mapre64:
Yes...

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 Android Development] Lorka.Tinou:
Happens to me too sometimes, not always (with thessjactive).
[ZenFone 2 Android Development] Devhux:
Mine does the same
[ZenFone 2 Android Development] TheSSJ:
Good, then I need to rework the touchboost routines as some safety nets are missing, when setting the governor on boot.

Thanks for the valuable feedback all!
[ZenFone 2 Android Development] marcof93:
It happens after kernel adiutor start applying..I tried to set 20 seconds delay after boot but same results.
[ZenFone 2 Android Development] ImjuzCY:
Even if I let it alone for a few minutes after set on boot. After reboot, it shows lock screen, then screen timeout and becomes turned off, and let alone for a few minutes (so far I never touch the phone since reboot), and after five minutes, I turn the screen on, as soon as I touch the screen, (this is the first touch since reboot), it freezes.
[ZenFone 2 Android Development] TheSSJ:
Yeah, it's the touchboost routines which I need to work on, as I thought already that the first touch brings the phone to freeze
[ZenFone 2 Android Development] Abd121:
is this tested on CM?

thanks
[ZenFone 2 Android Development] lyeith:
this wont work on CM..
[ZenFone 2 Android Development] hotgaofla:
Can you tell me how to do that? i use Kernel auditor to add this line to init.d, but nothing happen.. :( i'm a newbie.

P/S: got it, run through Android Emulator. But still dont know how to make it run automatically.
[ZenFone 2 Android Development] windylawyer.1712:
Any recommend gover for this awesome kernel? I use lionheart but i want more battery saver :(is ondemand a good choice?

Thks

Gửi từ ASUS_Z008D của tôi bằng cách sử dụng Tapatalk
[ZenFone 2 Android Development] mapre64:
yankactive & sioplus ... for best battery...

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 Android Development] svenvv:
Exactly this. Using a delay and unlocking the phone before the governor kicks in works fine though. Haven't had a random reboot in days so that workaround works fine for me.
[ZenFone 2 Android Development] TheSSJ:
Sorry for being so inactive the last few days, have some private changes I need to deal with, but it begins to settle :)

Anyways, I think I have fixed the issue (it was a simple problem of being just a dumba$$ when coding).

Will push v65 out as soon as sweep2sleep works (a modified version, though, where swiping over the capacitive buttons from "BACK" to "MENU" will trigger the phone to go to sleep. It's just a "minor" feature, but I have real fun in learning about using input event handlers and the likes).
[ZenFone 2 Android Development] ImjuzCY:
Good to hear [emoji1] and by "MENU" you mean OVERVIEW button?
[ZenFone 2 Android Development] TheSSJ:
Of course, it's the overview button,just couldn't name it :D
[ZenFone 2 Android Development] AL_IRAQI:
Asus in latest update 2.20.40.58 set cpu frequency to 1.8Ghz

system/etc/pwr-balance.sh

#!/bin/sh -x
#This is balance mode

#enable inoutdoor mode
setprop persist.asus.inoutdoor 1

#balance mode
setprop persist.asus.power.mode balance

# set cpu freq to 1833000
echo 1833000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1833000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1833000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1833000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
[ZenFone 2 Android Development] tuilalnvinh:
1.8ghz for 2.3 ghz model too in balance mode ?
[ZenFone 2 Android Development] AL_IRAQI:
yes
[ZenFone 2 Android Development] S#@DY:
Hey, i was using deathly kernel on 12.1,

The deep sleep wasnt working well, so i flashed yours(because it was working perfectly for me on stock),

But the device never booted... After i flashed deathly, iy was normal, can you confirm if it was with our cm build.

Ze550ml
[ZenFone 2 Android Development] tuilalnvinh:
It seems asus has give up with battery drain on zen2, then they reduce cpu clock [emoji1]
[ZenFone 2 Android Development] TheSSJ:
Well, problem is that the ramdisk of my kernel loads external modules using init.rc scripts, deathly and every other cm kernel have all drivers integrated...have tried to do so too,but then the phone never got to deep sleep.

So short story is: my kernel works only with Asus stock at the moment, deathly is for cm,but they differ greatly from each other...

Someday I'll try to adapt it to cm (shouldn't be too hard,but I want to finish my to do list for stock first)
[ZenFone 2 Android Development] S#@DY:
Thanks for clarifying my doubt.

I'm waiting for your work on other AOSP as well, as projecT is awesome (deathly as well)
[ZenFone 2 Android Development] taylor.fowler:
Interested in a flashable zip? It will work with future versions, just rename the .img file to "ProjectT.img" and replace the one in the zip.

[MENTION=2388665]TheSSJ[/MENTION] I can take 'er down if you want.
[ZenFone 2 Android Development] TheSSJ:
Oh no no sir, the CPU is hot pluggable ;) Will see to test these to check if they like the CPU and vice versa (sometimes one needs to tinker with or emulate some functions in order to get the module compiled)

Always happy to see contributions here! Will upload your flashable zip to the downloads section if you are okay with it (giving proper credits of course :) ).
[ZenFone 2 Android Development] taylor.fowler:
Go for it.
[ZenFone 2 Android Development] rlaw:
I meant that the GPU in our phones is already clocked higher than it was in the iPhone 5S in response to the guy saying Apple's was clocked higher.

---------- Post added at 06:26 PM ---------- Previous post was at 06:15 PM ----------

All 4 cores are always active. One of the first Nexus 6 updates actually implemented this solution, having the 4 cores always active. This is done to reduce lag and input latency by always being able to run systemUI on one thread and avoid the waking up and hibernation of cores from hotplugging. Battery life was more or less unaffected on the N6 but performance improved.

The Intel Atom in our phones is quite powerful and for all but the most intensive usage scenarios, remains at 833MHz or under (usually at 583MHz).

The touch event boost automatically clocks em up to 1333MHz but you'll see they usually go down to a lower clock speed for most general browsing and usage.

If you have the 551ML, I've set my phone before to 1.8MHz clock speed like the 550ML and touch boost to 1000MHz. Can't say I saw performance being affected. And you might gain battery life.
[ZenFone 2 Android Development] aziz07:
The ipad air has the same GPU with higher clocks, considering the iphone 5s 4 inch size and the fact that it was the first to use this gpu back in the 2013 days, its not surprising that it was clocked lower.

I found this interesting article about mobile Atom CPUs listing clocks and the many devices using this gpu: http://www.notebookcheck.net/Imagination-PowerVR-G6430.110717.0.html

More importantly, It seems that the Atom 3580 and 3570 both run the same gpu with a base clock of 457. But, the 3580 runs a considerably slower boost gpu clock: 533Mhz for the atom 3580 found here and 640Mhz for the atom 3570 chip. The 3570 should have more balanced overall performance but if we can match the 3580 in this phone with the 640Mhz the gpu is designed to run at, it will be at top.

I bet that overclocking the GPU by 80 Mhz won't cause issues other than slightly faster battery drain in games but who game on phones anyway? I have a big desktop with 4k screen for that. There are many uses for GPUs other than gaming. Most apps are gpu accelerated nowdays, Adobe ( Especially for large-heavy PDFs with high-resolution pictures and antialiasing) , 3D University programs such as anatomy, chemistry and molecular biology ; video editing and processing, audio-video encoding, desktop webpages and overall graphics smoothness.

Is it possible at least to control the gpu governors?
[ZenFone 2 Android Development] TheSSJ:
You tried SetCPU? Maybe it does...

New version is up with IO scheduler added now!
[ZenFone 2 Android Development] raynan:
Loving the performance boost and it might just be me, but the boot times seem to be a bit better, too :p

The only issue I've found so far is that once booted, I am unable to see my external SD card in root browsers or when connected to my PC.
[ZenFone 2 Android Development] aziz07:
I have tried most of the available kernel tuners and overclock tools, though they offer cpu governors but not gpu. The only app that will at least recognize the gpu is AIDA64 which is popular for PCs. It shows the gpu at 320-457mhz. I will run some heavy gpu tools and see how high it will bump. In the meantime, I set the touch cpufreq boost to 2.083ghz up from 1.33ghz which helps a bit.

I bought 3 year warranty from newegg so I don't mind overclocking it. Intel offers overclocking warranty on their desktop cpus.

Edit: The gpu will idle at 320mhz and will boost to 457mhz in 3d benchs. Its far from the 640Mhz same GPU of the Atom 3570 SoC :(
[ZenFone 2 Android Development] ImjuzCY:
Maybe it's noob question, but is the android OS battery drain in the stock kernel solved with this kernel? Wanting to try this out
[ZenFone 2 Android Development] cangcan:
conservativeX ends up heating up my battery.. its weird.. -_-

maybe the tunables arent suitable for ze551ml..

currently using lionheart, its better imo..
[ZenFone 2 Android Development] TheSSJ:
I'm using conservativeX right now and it was set over night-lost only 1% battery, what does betterbatterystats say?
[ZenFone 2 Android Development] cangcan:
BBS shows usual drain wakelock such as ospm_wake_lock, hsi3, and other normal wakelock, no culprit seen here.

when in idle mode/deep sleep mode, the drain is normal. but when using the phone / screens on, conservativeX seems to drain more battery than default governor, and the camera was hot too.. nevermind, we need to give it more time to see how things go with the new governor.. currently Im testing lionheart governor.. hopefully other people may help to test Project T :D :highfive:
[ZenFone 2 Android Development] 29y6145:
i thing cpu lionheart work good
[ZenFone 2 Android Development] cangcan:
agree..and no overheat too.. battery droppin down slowly too.. cant wait too see more from this device, and imagine it if we managed to get longer battery life like 6-7 hours of SOT on it.. this maybe achievable and aint impossible.. and also [MENTION=2388665]TheSSJ[/MENTION], does your kernel has init.d support?
[ZenFone 2 Android Development] TheSSJ:
Nope, didn't include it as there are many tools achieving this by modifying the recovery_from_boot.sh.

But if you guys want I can include it - should be tough to do so (if I find a thread describing it :D )
[ZenFone 2 Android Development] aziz07:
I never had such issue with this phone, it happened with cyanogenmod 5.1 on lg g3 for me. Try updating to latest update.
[ZenFone 2 Android Development] TheSSJ:
New version is out, now supprorting init.d!

Whom it might interest, here is how I did it:

On the boot ramdisk, there is a file called config_init.sh, at the end of this script I simply added the following code:

#init.d hack

if [ -d "/system/etc/init.d" ]; then
chmod 777 /system/etc/init.d/*
/system/etc/init.d/*
fi

Tested with a test script writing a txt file to cache and it works.
[ZenFone 2 Android Development] cangcan:
im gonna try it!! thank you btw.. just wanted to try mods like L Speed if its possible to run the script on boot..

P/S : anyway, but i found out that L Speed mod (build.prop tweak) may cause OTA update to fail since it changes stock build.prop hence OTA update stop the installation.. just sharing tho..
[ZenFone 2 Android Development] soto2080:
[MENTION=2388665]TheSSJ[/MENTION] May U try to compile your kernel with other awesome toolchain?

There are a lots of devs in OneplusOne use UBERTC to compile their roms and kernels.And it make my phone work like a charm.

https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp
[ZenFone 2 Android Development] cangcan:
[MENTION=2388665]TheSSJ[/MENTION] mentioned once before in this thread about toolchain that he used, but it seems that our intel processor is better to be compiled with intel own compiler which may help in gaining more performance..

but it seems that uber toolchain supports x86 kernel compile..i remember that [MENTION=3279788]ZaneZam[/MENTION] also build boeffla kernel with uber version on opo n s3 devices.. but i will wait for TheSSJ too dig more about intel c++ compiler as he already has free access from intel themselves..

anyway, it seems that init.d is still does not supported in latest release..but i dont know who to test it myself tho.. waiting for others feedback on init.d support..
[ZenFone 2 Android Development] TheSSJ:
Uh guys, you know what time it is?

Thanks to Jake Cooper for the cool image :)

v65 is out
[ZenFone 2 Android Development] mapre64:
[MENTION=2388665]TheSSJ[/MENTION] ... v65 works fine :)

Thanks a lot.

No problems after Reboot!

Why did you chanche the readahead-buffer to 512kb?

sioplus for best battery?

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 Android Development] TheSSJ:
Nice to hear that touchboost works :)

First I thought this could fix the procauxv files to appear, then I left it to 512kB as r/w operations seemed to be snappier than with 2MB

Well sioplus or fifo are pretty good
[ZenFone 2 Android Development] Tiongkia:
Flashed v65. Rebooted with no issues. Thanks so much
[ZenFone 2 Android Development] rezashamdani:
failed for handset loaded with rom euphoria.

rom stuck after flash it with this kernel, reflash the rom repair it, but the kernel still not changed. :(
[ZenFone 2 Android Development] tuilalnvinh:
Because euphoria is cm-based rom, you should use deathly kernel instead :)
[ZenFone 2 Android Development] chobztopz:
[MENTION=2388665]TheSSJ[/MENTION] is it your v65 kernel made this? 96% still fast charging
[ZenFone 2 Android Development] TheSSJ:
Didn't change anything on battery side, but I too have fast charging to 100% I think.
[ZenFone 2 Android Development] malatama:
hi, new to this kernel.

can someone share with me whats the best governor to fix the high battery drain from "Android OS"? I am always getting 70% battery drain from this and I was hoping this kernel could help solve the issue.
[ZenFone 2 Android Development] TheSSJ:
http://xdaforums.com/showpost.php?p=62234647&postcount=569

Yankactive or Thessjactive are pretty okay, I have a deep sleep time of over 95% with normal usage
[ZenFone 2 Android Development] malatama:
Thanks alot for the sharing! What about the Android OS component in ur battery stats? How is it performing?
[ZenFone 2 Android Development] chobztopz:
do you use 20.40.58 rom? then it must be the new rom
[ZenFone 2 Android Development] krasCGQ:
Ignore that; to know if your device still in Quick Charge or not, then go to Settings > Battery and see yourself.

It'll keep showing Fast Charging but the Quick Charge should stop if battery reaches at least 70%.

Edit: I'm still on v60

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] TheSSJ:
Mh, I just found the code line where to increase the quick charging interval, but honestly I don't know if I should increase it, as the temperature is key to not get a damaged device afterwards...

Maybe setting it to 80% shouldn't be a big deal though...
[ZenFone 2 Android Development] marcof93:
As known, fast charging is also not good for battery health..so probably it's better to leave settings to default :)
[ZenFone 2 Android Development] ImjuzCY:
Tbh I like the sweep2sleep feature to replace double tap to sleep which enable me to totally ditch Asus Launcher for Nova. But most of the time I use sweep2sleep I just open up the recents screen or capture a screenshot. Any tips or anyway to improve my sweep?
[ZenFone 2 Android Development] TheSSJ:
Happy to see someone other than me is actually using this feature :D

Well, normally quickly swipe over all three buttons...the speed so to feel three times the light vibration but not too slow to actually give the phone the time to react to the according capacitive button.

So fast swiping suceeds 9times out of 10 on my handset
[ZenFone 2 Android Development] ImjuzCY:
Well the power button on top is really hard to reach when using with one hand [emoji38] I guess my thumb need more practice to get used to the sweep [emoji23]
[ZenFone 2 Android Development] bmwkeith:
You can use dt2sleep with Nova. All that you need to do is to install Screen off and Lock from the Play Store and enable that app in the gestures section of Nova settings.
[ZenFone 2 Android Development] TheSSJ:
What do you mean with reaching the power button? Normally you just need to swipe over back, then home and overview (or menu) and then the screen turns off automatically?
[ZenFone 2 Android Development] ImjuzCY:
I mean if I don't have sweep2sleep or whatever gesture to sleep the device then I have to use the power button which is hard to reach for me [emoji16] lucky there is sweep2sleep so I can abandon the power button
[ZenFone 2 Android Development] mapre64:
[MENTION=2388665]TheSSJ[/MENTION]

ZF2: 4GB / 64GB / 128GB, thessjactive & siolus set on boot with kernel adiutor...

This morning, my ZF2 hangs off power on the Asus quick charger. I power on my ZF2 & in the waiting time I get a coffee, come back after 2 minutes -> double tap to wake -> lockscreen powers on & ... nothing - zf2 hangs - no reaction - only power-off works :(

I tried the same even without powersupply & after 2 min same behavior.

I switched in kernel adiutor to the kernel-default govener & scheduler (interactive & cfq) apply on boot & after 2 min same behavior.

disabled in adiutor apply on boot complete: reboot & after 2 min zf2 is ok.

Gesendet von meinem ASUS_Z00AD mit Tapatalk