yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] marcof93:
I have little problems with thessjactive, probably hotplug is too slow, in fact I have heavy lags especially when I wake the phone, better with yankactive.
[ZenFone 2 Android Development] TheSSJ:
You need to modify the ramdisk of the boot.img to make it stick permanently ;)
[ZenFone 2 Android Development] eoghan2t7:
You could use an app lime this to change the DPI

https://play.google.com/store/apps/details?id=pl.wildeastcoders.dpichanger
[ZenFone 2 Android Development] MironV:
Thanks! But I thought of changing the "physical" DPI. I mean not changing the actual physical DPI (as that s impossible :P), but the default one (from what I now understand, is inside ramdisk). I accidentally flashed the ZE550ML kernel (which has a 320DPI instead of the ZE551ML 480DPI) and noticed that there were no distortions whatsoever, unlike those that appear when changing/overriding the wm density via ADB/terminal emulator.

I think that the tool above won't help me as it accesses the build.prop file and there is no DPI setting inside the build.prop one. Even tried to add the line manually inside build.prop.
[ZenFone 2 Android Development] TheSSJ:
Even if this changes the topic a bit...see picture
[ZenFone 2 Android Development] marcof93:
Greeeeeeat! Are you facing problems in daily usage? Are you having advantages in battery and temperatures? Excuse the questions, but it's a great news!
[ZenFone 2 Android Development] Emblema:
Nice work man, next step... UV..

I believe you're working much hardly..

:D
[ZenFone 2 Android Development] gaetanolip:
Any chance of making this kernel for aosp and cm based rom?
[ZenFone 2 Android Development] TheSSJ:
No problems seen so far. need to test more, but battery seems to be more durable...

Well, didn't find the voltage controller - I believe I have read somewhere that the power control is done autonomously...will check the voltage files from time to time, but I am sceptical that I will find a clue on how to influence that. GPU shouldn't be hard to undervolt though, but one problem at a time ;)

Man, how many italian people are roaming around here? :D Well, still struggling to move to another ROM as I am pretty happy the stock variant...

But if someone would volunteer to be my tester ;)

First I would like to make a ramdisk for CM
[ZenFone 2 Android Development] marcof93:
[MENTION=2388665]TheSSJ[/MENTION] If you want you can make a beta channel with beta realeases, I would be happy to test builds ;) PS. Italians are everywhere eheheh
[ZenFone 2 Android Development] Dan_Jacques:
any performance increments?
[ZenFone 2 Android Development] Emblema:
If you mean Antutu or similar, I don't know, but for me the phone is a bit smart and unlag. About the battery I'd test, often mornings I go to running my dog, an hour a day, and I use runtastic start from my home and return battery down from 100% to 92%, the same results when I used CM 12.1 and RRemix with their kernels.
[ZenFone 2 Android Development] cieffe54:
Strange, i set max freq to 1833 via kernel auditior but work at 2000! Why?

Inviato dal mio ASUS_Z008D con Tapatalk 2
[ZenFone 2 Android Development] TheSSJ:
Could you wipe cache and retry? Also please provide dmesg output if this happens again
[ZenFone 2 Android Development] cieffe54:
How can obtain dmesg?
[ZenFone 2 Android Development] Emblema:
Open phone's terminal emulator and write dmesg (push return key), of course then drag & drop your result.
[ZenFone 2 Android Development] Xda909:
Hi guys,

can I flash the Kernel by using the untethered TWRP? Ha anyone tested OTA-Updates with Kernel flashed by this method?
[ZenFone 2 Android Development] Emblema:
I always use twrp to flash this kernel.
[ZenFone 2 Android Development] Xda909:
Yes but your bootloader is unlocked, right?

Is it possible to use the custom kernel without unlocking the bootloader but using temporary TWRP?
[ZenFone 2 Android Development] cieffe54:
Grazie!
[ZenFone 2 Android Development] soto2080:
I think the version on XDA isn't the lastest version.

Just wating for uploading.
[ZenFone 2 Android Development] aziz07:
I got init.d working with an app from xda. It was needed to mount ext4 sd cards but it did not work out. Is the sd card driver integrated in the kernel or OS? My problem is that the sd card reads at 96mbps in windows but 20mbps in Android with extFAT extension. As for L Speed, I keep getting error executing updater binary in zip with TWRP.

p.s: Keep us updated about the Intel toolchain ;)
[ZenFone 2 Android Development] 29y6145:
Iam too...i dont understan

Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk

---------- Post added at 05:49 PM ---------- Previous post was at 05:44 PM ----------

Upload 11-7

Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk

---------- Post added at 06:00 PM ---------- Previous post was at 05:49 PM ----------

Gửi từ ASUS_Z00AD của tôi bằng cách sử dụng Tapatalk
[ZenFone 2 Android Development] TheSSJ:
Guys, it's simple: the method i use cannot be detected by such apps!!! Just place a test script into /system/etc/init.d (create if not present, next release will create it automatically) and it'll work,promise

I advise you to delete the 3rd party init.d enabler as every script would be executed twice now (one from the boot ramdisk and one from the third party app).

/EDIT: Have gathered everything to see if exfat support will be given natively by the kernel. Will build it tomorrow as I just lost too much time and need to sleep (also my wife starts to complain :D )
[ZenFone 2 Android Development] cangcan:
thank you [MENTION=2388665]TheSSJ[/MENTION].. will uninstall the 3rd init.d app as it seems last updated on 2013.. anyway, one more suggestion or request from me, would you put different file name such as Project T v1, v2, or beta 1 beta 2 or 1.1, 1.2.1 (version number) so that we may differentiate which of kernel is the latest or old one, and please dont delete the old release because sometimes its better that the newer release so that users can revert back to it and redownload it..:)
[ZenFone 2 Android Development] TheSSJ:
Okay, good idea...

I present to you all the new kernel featuring native exfat support! As XDA DevDB is not working properly (again :D uploading throws out Server I/O error) I've uploaded the newest version to my Google Drive (link is in OP)

READ THE OP FOR DETAILS about exFAT!
[ZenFone 2 Android Development] mencho:
My Results so far

This are my results so far.

Intelliactive: Unstable. Freeze and rebooted almost as soon as I installed them

ConservativeX: Use it yesterday for a while, I was having heating problems as others reported.

Lionheart : Used it yesterday all day. So this is the most relevant report.

Stable, the cpu when to deep sleep without a problem.

What was weird is that battery life was not specially better than stock. Screen on time was shy of 4 hours. Android OS consumed less battery than it used in Stock rom/kernel BUT now Cell Standby was consuming most of the battery.

Battery would have lasted 12 hours (4 hours of SOT). To be clear, the attached screeshot is with Lionheart governor

My results are from a 551 2GB. I installed SuperZen rom 2.19.40.22

I installed the kernel Pre init D. Released 10-7-2015.

I will try ConservativeX today all day and will try to report whole day results.

TheSSJ thanks for your hard work!
[ZenFone 2 Android Development] TheSSJ:
[MENTION=2076575]mencho[/MENTION]

Thanks for your detailed report!

To be honest I don't understand why you get a hot battery when using conservativeX - I tested it approx. 24 hours(from 10th to 11th July) and the battery was super cool and deep sleep just perfect...

Also I am using intelliactive now for about 7h and still no reboot, good performance and survives AnTuTu stress tests without surprises...

I am using 551 4GB model, maybe this seems to be a big difference here...if anyone experiences the same issues as others with 4GB I will remove intelliactive and/or conservativeX and use them privately myself...

It's really odd why you have these issues :(

Switching the topic:

If anybody has hints where the clockspeed and voltage for GPU/CPU are located I'd be grateful (can't find them as Intel seems to work with multipliers)
[ZenFone 2 Android Development] mencho:
With ConvservativeX, it started to heat up while using it (Screen On). It wasn't SUPER hot at all, but you get the feeling of wasting battery!

I've been running it (ConservativeX) for 38 minutes now. Using CPU spy, 27% of the time 1833 Mhz, 8% 1666 MHz, 9% 500 MHZ, 22% Deep Sleep. The rest of the time was all over the place (583, 666, 750, etc so I won't report those)

It seems that while the screen is on, ConservativeX likes to work at higher frequencies, specially compared to lionheart that ran mostly at 500 MHz.
[ZenFone 2 Android Development] aziz07:
Nice to see exFAT support as I had to convert my card to FAT32 with modded tool. exFAT supports files bigger than 4Gb while FAT32 does not.
[ZenFone 2 Android Development] TheSSJ:
What you are experiencing with conservativeX seems to fit its description at least. Seems the governor seems to work as intended
[ZenFone 2 Android Development] lyeith:
btw i can confirm restarts with the intellactive governor too.. it happened when my phone was totally idle
[ZenFone 2 Android Development] sdrawkcab3:
I've never seen a core go offline with the stock kernel. If this cpu is hot pluggable, the stock kernel does not currently take advantage of it.

I'm testing today with 3 cores disabled (via Kernel Adiutor) and I'm really impressed by how responsive the phone still is. And this is without any fancy gov, just stock interactive. Constantly running 4 cores at 500Mhz is complete overkill for this device.

If you can get cores to actually hot plug, it would do more to extend battery than any governor that you may add.
[ZenFone 2 Android Development] TheSSJ:
See my attachment :)
[ZenFone 2 Android Development] mencho:
IntelliActive also fail me (first time reboot, second time freezed) while the phone was on idle (screen off)

2 minutes after turning on the phone.

It seems that intelliactives has 2 phases, and the problem may have to do with the idle phase.

http://ajgupta.github.io/android/2015/01/28/CPU-and-GPU-governors/

29. IntelliActive

Based off Google's Interactive governor with the following enhancements:

1. self-boost capability from input drivers (no need for PowerHAL assist)

2. two phase scheduling (idle/busy phases to prevent from jumping directly to max freq

3. Checks for offline cpus and short circuits some unnecessary checks to improve code execution paths. Therefore, it avoids CPU hotplugging.
[ZenFone 2 Android Development] sorg:
@TheSSJ

check my notes in exFat commit. It will fix automounting problem.
[ZenFone 2 Android Development] TheSSJ:
Okay, as you are the third or fourth user now encountering errors with intelliactive, I will remove the driver to be compiled, many thanks for the feedback all of you! Next release will apply this change

Thank you very much for your help in fixing this, gave you proper credits and I replaced v21 with v22 on my Google Drive (as an exception, as v22 fixes v21)

EDIT: found the gpu clock speed setting,next release unlocks the whole frequency range !!!

https://github.com/TheSSJ/android_k...ules/intel_media/graphics/dfrgx/df_rgx.c#L745
[ZenFone 2 Android Development] mencho:
ConservativeX Battery Report

Used ConservativeX governor all day.

Also got about 4 hours of screen on time, about 12 hours of use with still 15% battery to go.

Unlike Lionheart Cell Stanby didn't use battery at all.

I think I got a couple hours more battery than stock kernel.

Android 5.0 battery leak still present, Android OS consumed 3X Screen.

IIwill try another governor tomorrow. Any recommendations?

l
[ZenFone 2 Android Development] chobztopz:
Good News! thank you very much for your effort. I hope i can undervolt it. btw, would you like to add Lulzactive and maybe ZZmoove governor to the kernel. Again, Thanks a Lot!
[ZenFone 2 Android Development] aziz07:
Excellent work! Looking forward for flashing next build and over/underclocking the 2 years old gpu. Locking the gpu governor at performance mod should give a nice boost. I see a 640Mhz setting in those codes 0.0 It never ran past 457Mhz in 3D. I guess its for the Atom 3570 chip.
[ZenFone 2 Android Development] krasCGQ:
Impossible.

Sent from my ASUS_Z00AD
[ZenFone 2 Android Development] rohit297:
Changing frequencies and governors freezes the device and reboot, with kernel aditur, on v77oc/uc
[ZenFone 2 Android Development] TheSSJ:
Can't confirm, please Wipe cache and dalvik and retry
[ZenFone 2 Android Development] TheSSJ:
First post states clearly that BL needs to be unlocked
[ZenFone 2 Android Development] ck007:
I haven't got this problem. I set max [MENTION=1516530]150[/MENTION]0 and min [MENTION=299457]333[/MENTION] governor thessjactive with kernel adiutor and for now no problems and no freezes. The only thing that seems don't work good is battery extender. I set at 97 but battery reaches 100.
[ZenFone 2 Android Development] Emblema:
You're welcome bro
[ZenFone 2 Android Development] S#@DY:
How to work on OC/UC?
[ZenFone 2 Android Development] cieffe54:
Wipe cache e dalvik same thing.

the main problem is that does not go in deepsleep mode! :(
[ZenFone 2 Android Development] Emblema:
I mean you need a tool similar bbs (better battery stats), then you'll see the process that doesn't sleeping your phone.

Search it on XDA it's free , and believe me, it's a survival tool for a geek.
[ZenFone 2 Android Development] cieffe54:
With version 77 (normal) go in deepsleep. without problem. It's kernel related.

Screenshoot it's just now with V77 (normal no OC no UV)
[ZenFone 2 Android Development] Emblema:
Which program you're using to tune this kernel? Can you try to default setting, I mean the cpu frequencies. Leave defaults settings and test step by step, I'm sure you'll be fine.
[ZenFone 2 Android Development] cieffe54:
Kernel Auditior and i try Trikcster Mod too.

With the same results: max freq 2000 no deepsleep.

Attenadiamo la sentenza del maestro [MENTION=2388665]TheSSJ[/MENTION]!! :D
[ZenFone 2 Android Development] ImjuzCY:
I'm using v77oc/uc but I have deep sleep. Ze551ml
[ZenFone 2 Android Development] S#@DY:
Same thing here, using v77 UC to 333mhz..

Not going to deepsleep mode..

I think some other things should be changed as deep sleep is working good on 551ml
[ZenFone 2 Android Development] cieffe54:
I sent to the master [MENTION=2388665]TheSSJ[/MENTION] everything required me now await his "word";)
[ZenFone 2 Android Development] ck007:
This is my situation, no problems with v77 oc/uc.

For now 3h of screen on, not bad [emoji6]
[ZenFone 2 Android Development] TheSSJ:
Who else can confirm problems with the Z008 version?

Edit: k, saw dmesg output now, I think I know how to fix this hopefully
[ZenFone 2 Android Development] meciu99:
[MENTION=2388665]TheSSJ[/MENTION]

Is there any way to get better sound experience on headphones?

ATM on Stock kernel and this kernel sound is quiet and flat :(

I've tried other player and viperfx but this seems to be kernel related issue.

btw - i'm using lastest stock WW firmware.
[ZenFone 2 Android Development] cieffe54:
I am waiting for!!!:o:o:o
[ZenFone 2 Android Development] helroz:
No problem for me with Z008 with oc/uc

Envoyé de mon ASUS_Z008 en utilisant Tapatalk
[ZenFone 2 Android Development] S#@DY:
Now it working with me too after a reboot
[ZenFone 2 Android Development] ansebovi:
Use Sony Walkman player and viper4android. . Or use poweramp

BTW you should edit the audioprofile to get more sound with viper4android or please delete the musicfx from system /app(take a copy of that in SD so that you can restore when you update latest)

And about uc/oc v77 works well in ze551ml 2gb
[ZenFone 2 Android Development] meciu99:
[MENTION=5010777]ansebovi[/MENTION]

I'm using PowerAMP with lastest Viper4Android, also tried modified audio_policy.conf, no AudioFX in /system/app (removed with bloatware script) AND even tried IRS samples with Viper4Android but still this flat bass
[ZenFone 2 Android Development] ansebovi:
Then probably you need new headphone, becoz my Sony headphone gives great bass effects with Walkman and viper4android

And [MENTION=3037287]meciu99[/MENTION]

sorry musicfx is in system / private, deleting the audiowizard makes the Viper4Android disable, so make sure you have it turned on with music

BTW Sony Walkman is best with Viper4Android than PowerAMP (PowerAMP option must be turned on also)
[ZenFone 2 Android Development] meciu99:
i've tested CM12.1 and sound works like a charm so headphones are allright
[ZenFone 2 Android Development] TheSSJ:
Well, of course I will take a look at the sound as this is still on my dev roadmap, but I can't promise anything
[ZenFone 2 Android Development] Xda909:
I unlocked the bootloader and flashed it ;)

Unfortunately, OC doesn't really work on my phone. It shows the 2.5 Ghz to be used in CPU Spy / Kernel Adiutor but Performance (Geekbench, Antutu) is the same as 2.33 Ghz. UC works (also benched) but makes my device less responsive. I guess, everything below 800 or et least 500 Mhz allready runs at the lowest possible Voltage, so it shouldn make a difference in Batery life. UV would be nice and maybe you can get OC really working :)

GPU-Performance ist the same than stock on my device.

Thank you for your work! The kernel works fine instead of the Clock-Tuning. Is there a way to implement custom Brightness Curves?
[ZenFone 2 Android Development] ImjuzCY:
The audio chip makes a difference too. When I was using my S4 i9500, it has one of the best audio chip. The audio chip in zenfone 2 is not so good compared to other. So it does not necessarily be the fault of kernel
[ZenFone 2 Android Development] glock24:
I confirm disabled cpu cores remain disabled using yankactive governor, but not thessjactive.

oc/uc kernel work great. Contrary to what someone said, the phone goes up to 2.5GHz (monitored in real time using System Monitor) and also goes down to 333MHz. It also goes into deep sleep.
[ZenFone 2 Android Development] Cyborg.Gangster:
[MENTION=5010777]ansebovi[/MENTION] its low buddy the sound. Anyway to install/flash Dolby in stock zenfone2 ? Badly missing it.

For me Dolby>Viper.

It's improves sound vastly.

Any luck mate ?
[ZenFone 2 Android Development] Xda909:
Yeah, 99% Deep Sleep tonight, 3% battery loss in over 8 hours. Never reached such values with stock kernel.

[MENTION=4867584]glock24[/MENTION]

My realtime monitor also shows 2.5 Ghz but performance is equal to 2.33 Ghz. Maybe the kernel/os sets 2.5 Ghz but the soc still operates at 2.33 Ghz.
[ZenFone 2 Android Development] dahikino:
I just to install the kernel and doing some test, I need some comment or explanations

I use the s'active governor with cripples but try to see what happen with antutu last version, I obtain 31k like result, far from the normal result of 48k

Changing to governor performance y cfq in I obtain 43k

What are your settings to obtain 48k?
[ZenFone 2 Android Development] Xda909:
I had some weak results to. RAM Operation was 50% of normal and GPU was weak. I let the phone cool down and obtained 48k after that - governor isn't so important in Benchmarks (maybe 2-3%).
[ZenFone 2 Android Development] Emblema:
For me deep sleep it's works fine.

I've UC max freq to 1833 for establish the battery consumption.
[ZenFone 2 Android Development] TheSSJ:
Yeah, I fear that the driver cannot influence HW constraints of the SoC...could be like with the GPU which is fixed to max 533MHz...

Did you try with 2416 MHz? Maybe the cpu gets throttled because of thermal heating?
[ZenFone 2 Android Development] helroz:
Very good battery with last update :)

Envoyé de mon ASUS_Z008 en utilisant Tapatalk
[ZenFone 2 Android Development] Xda909:
2416 Mhz is exactly as fast as 2333. Thermal Throtteling doesn't appear.

How about the gpu? Its 457 Mhz with 533 Turbo (???) in Stock right?!?

Btw. thessjactive, hispeed_freq 1833 and touchboost 1333 Mhz / 333000 duration is super responsive. I'm curious about the battery life.

Is there a way to hotplug cores even when display is on?
[ZenFone 2 Android Development] allasca:
Bug (maybe)

If I choose network 2G/3G and quit setting, and then come back to setting. The chose change it self to 3G only.
[ZenFone 2 Android Development] ImjuzCY:
Not happening with me
[ZenFone 2 Android Development] TheSSJ:
Yeah, one could analyze the current CPU load and turn cores off, but it has been proved in many research threads that actually battery life could become even worse as fewer cores need to execute more tasks until the other cores are turned on again.

Don't know about the GPUs turbo mode (maybe you mean burst mode?) - but yes, this is just a "performance mode" which reaches 533MHz when load increases.

Didn't touch the modem code, so this has most likely to do with any battery saving mods you have currently running?

____________________

EDIT: Massive update v80 coming! Introducing power efficient work queues, which affect pretty much every function of the kernel when queuing work on a cpu. Now tasks are always executed by the core, which has the lowest load. See http://thread.gmane.org/gmane.linux.kernel/1480396 for more info

Also some love for the ZE550ML users - I noticed in the dmesg of [MENTION=2085303]cieffe54[/MENTION] that you are using a different video driver than ZE551ML (if I would have turned on my brain, I would have known), and there the driver allowed a minimum brightness of 5% instead of 2%. Now 551 and 550 users have the same savings in power consumption when dealing with brightness
[ZenFone 2 Android Development] Xda909:
Ah, interesting. I mean, the core-cutoff could appear when there is zero-load. In Idle when display on. So the power gating could save energy.

Btw. please pray a bit for me and my phone. Its running with 0 active cores right now. Hardbricked by the command: phone_fell_out_of_pocket_in_the_rain_and_is_whett_now-trying_to_dry_and_recover :(
[ZenFone 2 Android Development] TheSSJ:
Aw man, I assume you have now also the spiderweb-app installed (aka cracked screen glass)? Best of luck for you - to be extra safe, I'd let it stay turned off for 24 hours, maybe eventual water residues will evaporate completely from the internal circuits.
[ZenFone 2 Android Development] abelavila:
I love your kernel, the minimum brightness this stock?It looks a little low.

thank you
[ZenFone 2 Android Development] dahikino:
I'm unable to pass 38k on antutu, either I change cpu, io or other things, I don't understand why with ZE551ML
[ZenFone 2 Android Development] TheSSJ:
Which Stock ROM version do you have installed? Please note that 2.20.40 sets your max CPU to 1833MHz. You can switch the power profile to performance, then you should be able to use the whole range

Thanks ;) What do you mean with "It looks a little low", is it too dark or too bright?
[ZenFone 2 Android Development] mrbubs3:
I may be willing to sell my Z00A. It's the CN model from Gearbest right as it went on sale. It gets H+ on TMobile, and I've kept the device in a wallet with a screen protector (the phone did suffer a fall, but the protector took the brunt of it. Consequentially, the screen is completely intact). I may sell, just so I can get the US version. The phone shows as getting 1.8ghz, but I think this is an artificial limitation. 4GB RAM.

---------- Post added at 05:20 PM ---------- Previous post was at 05:18 PM ----------

Meant to quote you two.
[ZenFone 2 Android Development] dahikino:
Hi, i use the stock rom 2.20.40.59 on ZE551ML, i tried with different setting changing IO, CPU, activating all menu for start, desactivating all as well with asus power managment profile as PERFORMANCE and nothing, i'm on antutu between 31k and 38k.

weeks before, with default kernel, i was able to go up 48k on Antutu :(

Can someone give full details of settings used to obtain best ratio perf/battery ?

I suppose i don't have to change nothing concerning init.d ? this model support it ,no ?

In fact, i don't know how to check the support of init.d feature on ZE551ML !
[ZenFone 2 Android Development] S#@DY:
[MENTION=2388665]TheSSJ[/MENTION]

Can you please tell how BLX works.. And how to check if it is working?
[ZenFone 2 Android Development] cangcan:
-deleted- >_<