yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] TheSSJ:
ImjuzCY already answered, but I just would have repeated the same, so thanks @ImjuzCY :)

Also - it's timezone related :p But yeah, I am mostly active between 7PM and 11PM (CET)

I hope I can influence that a little, it's a lot of source code files and no documentation at all

At the moment I am researching a little on this (1st and 2nd lines are interesting :) ):

State [-2]: core_frequency[2500] transition_latency[100] control[0x1e59] +84MHz 100 0x102

State [-1]: core_frequency[2416] transition_latency[100] control[0x1d57] +83MHz 100 0x103

State [0]: core_frequency[2333] transition_latency[100] control[0x1c54] +83MHz 100 0x102

State [1]: core_frequency[2250] transition_latency[100] control[0x1b52] +84MHz 100 0x102

State [2]: core_frequency[2166] transition_latency[100] control[0x1a50] +83MHz 100 0x103

State [3]: core_frequency[2083] transition_latency[100] control[0x194d] +83MHz 100 0x102

State [4]: core_frequency[2000] transition_latency[100] control[0x184b] +84MHz 100 0x102

State [5]: core_frequency[1916] transition_latency[100] control[0x1749] +83MHz 100 0x103

State [6]: core_frequency[1833] transition_latency[100] control[0x1646] +83MHz 100 0x102

State [7]: core_frequency[1750] transition_latency[100] control[0x1544] +84MHz 100 0x102

State [8]: core_frequency[1666] transition_latency[100] control[0x1442] +83MHz 100 0x103

State [9]: core_frequency[1583] transition_latency[100] control[0x133f] +83MHz 100 0x102

State [10]: core_frequency[1500] transition_latency[100] control[0x123d] +84MHz 100 0x102

State [11]: core_frequency[1416] transition_latency[100] control[0x113b] +83MHz 100 0x103

State [12]: core_frequency[1333] transition_latency[100] control[0x1038] +83MHz 100 0x100

State [13]: core_frequency[1250] transition_latency[100] control[0xf38] +84MHz 100 0x101

State [14]: core_frequency[1166] transition_latency[100] control[0xe37] +83MHz 100 0x101

State [15]: core_frequency[1083] transition_latency[100] control[0xd36] +83MHz 100 0x101

State [16]: core_frequency[1000] transition_latency[100] control[0xc35] +84MHz 100 0x101

State [17]: core_frequency[916] transition_latency[100] control[0xb34] +83MHz 100 0x101

State [18]: core_frequency[833] transition_latency[100] control[0xa33] +83MHz 100 0x100

State [19]: core_frequency[750] transition_latency[100] control[0x933] +84MHz 100 0x101

State [20]: core_frequency[666] transition_latency[100] control[0x832] +83MHz 100 0x101

State [21]: core_frequency[583] transition_latency[100] control[0x731] +83MHz 100 0x101

State [22]: core_frequency[500] transition_latency[100] control[0x630] 0 0 0

Will embed my modified frequencies and see if OC works
[ZenFone 2 Android Development] Jonno12345:
Hi all, considering jumping on the unlocked boot loader bandwagon just for this kernel. Are people noticing significantly different SOT's from this and CPU governor changes? Do you have to revert to stock to apply otas?
[ZenFone 2 Android Development] TheSSJ:
Well, with the lowered brightness I think yes, also yankactive and thessjactive should help a little.

Definitely you need to go back to stock kernel before OTAing. The deltas should use patch files and my kernel definitely differs from the original. The whole ROMs shouldn't be a big deal as they replace the current boot.img with the stock one
[ZenFone 2 Android Development] S#@DY:
I'm on stock, cant confirm about calender, as i always use to freeze calender. Currently on old stock version, froze calender and no problem, so I can't be sure about calender.

Power saving app also doesn't work but that is due to asus service most most probably
[ZenFone 2 Android Development] cangcan:
[MENTION=2388665]TheSSJ[/MENTION] I remembered you said once that our gpu use the same voltage for all gpu clock, is it correct?

so my question is if we set min freq for gpu clock to 640000 or 533000 will it consume more battery usage? because it seems that even when i play heavy 3D games such as Line Dragonica, in aida64 the gpu clock seems static at minimum 200mhz and does not clocking to higher speed..
[ZenFone 2 Android Development] Tiongkia:
Thanks in advance
[ZenFone 2 Android Development] TheSSJ:
Hi,

Well, judging from the code I'd say it doesn't consume more battery, but the phone will get hot. Also AIDA doesn't seem to refresh its view.

You can test it rather easily:

1. Connect your phone via USB and start adb:

2. su
3. cd /sys/class/devfreq/dfrgx/
4. while true;do cat ./cur_freq;done
5. (After testing, exit this endless loop by pressing CTRL+C)

Then start your game and play. Watch the console output which should climb up to 533MHz (640MHz seems to be blocked by the HW itself). Tested this exact same setup when I was running AnTuTu 3D game performance and it did climb up to 533MHz so I assume AIDA is not showing an exact snapshot of the current GPU freq
[ZenFone 2 Android Development] reidhershel09:
hi. i have a problem in v0.75

after flashing, my alarm clock doesn't work anymore.
[ZenFone 2 Android Development] cangcan:
thank you so much for the clarification! so the clocking does work.. :good:
[ZenFone 2 Android Development] TheSSJ:
Well, you seem to be the only one (my alarm clock works and my boss didn't have to cut my head ;) ):

1. Wipe everything

2. Reflash stock

3. Flash the kernel

This should help
[ZenFone 2 Android Development] reidhershel09:
i did but im having a weird issue. if i turn on my wifi, alarm is working. however if i turn it off, alarm won't work anymore.
[ZenFone 2 Android Development] TheSSJ:
Sounds like something is messing with the wakelocks which Android is setting. Please make sure you didn't use any mod or so which manipulates wakelocks(xposed, lspeed, greenify, etc). Seems your alarm wakelock is either not created at all or it gets deleted by a mod. The reason why it works with wifi COULD be because wifi has it's own wakelock which gets removed when you turn it off again

One is for sure, my kernel is not the culprit as I didn't mess with the wakelock code and noone else has this weird behavior
[ZenFone 2 Android Development] GalaxyFan88:
I want you thank you SSJ for your valuable contribution to the custom experience of this phone.

One feature I really wanted since I've got this phone was turning the brightness further down, since the lowest stock brightness setting really strained my eyes in the evening/night. It is people like you who constantly improve the experience through adding these "little things"; which often the manufacturers fail to deliver. Big up for your work! :)

I've got one question though. In your 0.75 changelog you say that under 5% brightness is not visible at all. Even at the current lowest brightness setting (on 0.75) my eyes start to adapt really fast when its almost completely dark. So would below 5% brightness be possible anyways? I'd like to try out if you don't mind ;) Well, only if the screen isn't completely black but a tiny bit more dim.:cool:
[ZenFone 2 Android Development] TheSSJ:
Thanks for the kind words :)

Yes, under 5% is of course possible. I will make a test build with 2% (1% is really close to screen off) and send it to you to try (will take a while as I am at work right now )
[ZenFone 2 Android Development] Ntrasme:
Just a suggestion, but it would be really kind of you if you could port this to CM. I know Deathly Kernel has taken care of it, but it lacks Sweep2Sleep and the new minimum brightness.
[ZenFone 2 Android Development] GalaxyFan88:
ich

Great to hear :angel: take your time! ;) I'd like to try out 1% as well if possible. Sometimes I stay awake several hours while lying in bed and it amazes me how much the night vision of a human being can adapt to a minimum amount of light. This would make using screen filter apps completely obsolete for "owls" like me :cool: and a bonus is of course the added battery life compared to the faux brightness reduction of a screen filter.

+1
[ZenFone 2 Android Development] ImjuzCY:
Current minimum brightness is significantly lower than stock and that's great. I would like to test 2% (or even 1%) brightness too [emoji28]
[ZenFone 2 Android Development] TheSSJ:
Kk, will send the test image to you [MENTION=2694501]GalaxyFan88[/MENTION] and [MENTION=4689896]ImjuzCY[/MENTION]

EDIT: v76 is out with 2% lowest brightness (it's still viewable :) ), still I will send you 2 the 1% image
[ZenFone 2 Android Development] GalaxyFan88:
You are my hero! ;) Unfortunately I am in Berlin right now, and no Laptop in sight :/ Would it be possible to flash this .IMG via Flashify? I know i have tried to flash something through flashify in the past and the app freezed on my Zenfone 2 despite full root access so I'm a bit unsure about whether it will work.

P.S. Im writing here since I can't seem to write via pm.

thank you

edit: can't flash via flashify unfortunately.
[ZenFone 2 Android Development] TheSSJ:
Berlin, Berlin, wir fahren nach Berlin! :D sorry,couldn't resist :)

You can flash via terminal emulator, needed commands are in my last pm
[ZenFone 2 Android Development] ImjuzCY:
Seriously, 1% is overkill. I have to use a flashlight to show what's on the screen and even using a flashlight to show, I can still only hardly see something (luckily enough for me to turn the brightness up again). Of course I got out of 1% and using v76 now ? thanks [MENTION=2388665]TheSSJ[/MENTION] for letting me to test 1% but I flashed v76 over it just after 5 minutes on 1% ?

The difference between 2% and 1% is so significant and I will stay on 2%
[ZenFone 2 Android Development] marcof93:
2% is perfect I think but I have a little problem..now with autobrightness (also if I set to max) is a little dark, probably because the phone is always setting the brightness at the same %, but now (of course) is all darker than before..is there a way to mod auto-brightness levels? I tried with GravityBox but I use unable to change anything.
[ZenFone 2 Android Development] GalaxyFan88:
I wholeheartedly agree :) 2% is fine. My assumption is that at 1% the voltage is too low to light up the backlight LEDs. 2% is absolutely perfect though. Currently at 2 o clock (GMT+2), completely dark room, I write this message using my ZF2 and latest v76 kernel. No lose of night vision and fortunately no necessity of screen filter apps anymore. Top! :)
[ZenFone 2 Android Development] ligu:
I am guessing everyone has their preference on how low they want the lowest to be, so I wonder if it's possible for allow to customize it. This might help save the debate, and the time to create the test images, and testing. Thought?
[ZenFone 2 Android Development] mapre64:
[MENTION=2388665]TheSSJ[/MENTION] : v76 with 2% lowest brightness is perfect!!!

.... pipifein ...

:) ;) i told you - you will get the zf2 power-saver-oscar :) ;)
[ZenFone 2 Android Development] S#@DY:
Repeating : Waiting for your work other rom as well. :D
[ZenFone 2 Android Development] TheSSJ:
Well, that's another topic...as I use my phone as a daily driver (and risk development on it :D) I don't want to just flash a buggy ROM to see if my kernel boots...honestly I am undecisive if I should begin with CM, PAC, Slim and all others where there are still bugs like the mediaserver problem going crazy, etc. I wouldn't even know if it's the kernel fault or not :silly:

Will see if the weekend gives me some time to download the roms and modify my existing ramdisk to see if it is sufficient (I would just need to add some insmod lines to load my modules correctly as I am not the fan of packing everything into the kernel)

Cheers
[ZenFone 2 Android Development] S#@DY:
Hahahaa... That smiley just tickled me..

I just want to boot with CM(or other) using your kernel :p

And i really can't believe you haven't tried CM till now. :D

Eagerly waiting for upcoming weekends. :)
[ZenFone 2 Android Development] Emblema:
Hi, I'd flash V76 with recovery on my ZF2 551ML, but I don't see the menu kernel auditor for tuning this kernel..

Anyone give me a piece of advice ??

Thank

++++

I've installed kernel auditor and busy box from playstore and it's works fine

++++
[ZenFone 2 Android Development] Okazakee:
Speriamo che aggiunga un altro po di cose come: vibration control, Volume boost, ROW Scheduler e altri tweak fighissimi...
[ZenFone 2 Android Development] TheSSJ:
Hi,

vibration control is not possible unfortunately as there is no way to control the strength, just on and off ...

Volume boost is a long topic, will need to play around and test a lot. Fauxsound and Boeffla sound engine are just not to be used for every sound chip, the mod needs to be tied together with the sound driver.

ROW scheduler - still on it - I am at a point where it loads and the phone doesn't crash, but oddly enough you cannot switch from ROW to any other scheduler and I just don't know why - there is no error message thrown out by logcat, dmesg and others :D

Will need to include many debug outputs and see if return values from the ROW function callbacks are ok or not...

Un pó di pazienza ci vuole ancora :) (a little more patience is needed still)

Regards
[ZenFone 2 Android Development] Okazakee:
How much languages do you know? ahahahah

Ok, ty for the reply, the kernel is on a really good level. After principal objectives, it would be great adding a lot of cpu, i/o and hopefully gpu tweaks...
[ZenFone 2 Android Development] TheSSJ:
Well, I have already uploaded OC code which could work, but I am a little afraid to try it as the CPU freqs are not just stored in some array, but in a special place on a firmware chip which has these values hardcoded, including a so called control word, which is just nothing you can fake, so I am struggling in testing my OC...maybe I will try first to OC the recovery kernel (in case the phone would crash, it would boot using the "normal" kernel, but I am moving this :silly: -test to the weekend :D

For the GPU I wanted to have the mVoltages to be set dynamically depending on the MHz the chip currently runs, UVing could save some (not much) juice without impacting performance

I/O is still a problem with the ROW scheduler...if I would update the kernel to the same version as deadman had done it, then it works without problems, but then it would be more difficult to update to a newer source from Asus side...it's a friggin mess...

By the way: I can speak German, English and Italian :P
[ZenFone 2 Android Development] glock24:
I upgraded yesterday to v76 from v72, the one thing I noticed (besides the reduced brightness) is that if I disable 2 cores in kernel auditor the setting does not stick. With v66 to v72 the 2 disabled cores remained disabled.

I'm using thessjactive governor, save as before, and yankactive before thessjactive was included.
[ZenFone 2 Android Development] TheSSJ:
Well, never thought I'd say this, but who else is interested to squeeze out some more MHz out of his Atom processor?

Managed to OC 551ML to 2500MHz, 550ML would be at 2000MHz :)

Wrote the code so that both phones would profit from the OC mechanics.

Will test it thoroughly though as OC-ing is always a little risky (in terms of overheating)

Can't confirm, cores stick to be disabled when I try, otherwise please provide me dmesg after you ticked off 2 cores
[ZenFone 2 Android Development] Ntrasme:
I wonder what it means for the 2gb 551ML version. The 1.833ghz version. Very interesting developments, however! Thank you so much! Getting this feature-rich kernel with CM would be sooo awesome!
[ZenFone 2 Android Development] TheSSJ:
Always thought that 551ML was ALWAYS 2,33GHz? Well, but never fear:

My code just moves the higher boundary up for the following values:

the 2,33GHz models become 2,5GHz

the 1,833GHz models become 2GHz

Regardless which model supports which highest clock speed

Still, this needs to be tested thoroughly

EDIT: See picture :)
[ZenFone 2 Android Development] marcof93:
The asiatic version of 551ML is 1.833 (same processor of 550 but with 4GB of RAM)
[ZenFone 2 Android Development] Ntrasme:
There are 2 versions of the American 551ML. The 2gb, 1.8ghz version and the 4gb 2.3ghz version. The asian 551ML is 2gb/1.8ghz or 4gb/1.8ghz.
[ZenFone 2 Android Development] AL_IRAQI:
I have 4gb/2.3ghz model but it doesn't even use more than 1.8ghz :/

And is there anyway to get clock lower than 500 ?

because i think its too much for normal activities
[ZenFone 2 Android Development] TheSSJ:
I think this is possible, need to test and experiment a bit though ;)
[ZenFone 2 Android Development] ImjuzCY:
Overclocking might be suitable for some but for me, I don't think I need. I limit my max freq to 1250Mhz and my phone is still smooth. ?

Underclocking is making more sense. 500mhz for minimum is quite high TBH. Why did Intel make 500mhz as minimum at the first place? Is that how x86 works?
[ZenFone 2 Android Development] aBg_rOnGak:
My 551ML is 4GB/2.3GHz. From an Asia Pacific country
[ZenFone 2 Android Development] kriegschluesser:
Same with me..
[ZenFone 2 Android Development] cieffe54:
HI master [MENTION=2388665]TheSSJ[/MENTION],

I made the same changes to the file default.prop in ramdisk, flash it, and this is the result.

Published on the thread of 550

Thank you
[ZenFone 2 Android Development] helroz:
Not sure if oc work really:

At 1.8ghz:

At 2.0ghz:

Same result on antutu, no gain

It's possible android see oc but processor is locked at his original max freq?

Android see and use 2.0ghz:

Envoyé de mon ASUS_Z008D en utilisant Tapatalk
[ZenFone 2 Android Development] S#@DY:
Does this effect the phone in the phone.. And ze550ml is really oc...

And please try to underclock it too... Which may save battery

---------- Post added at 02:12 PM ---------- Previous post was at 02:12 PM ----------

Does this effect the phone in the phone.. And ze550ml is really oc...

And please try to underclock it too... Which may save battery
[ZenFone 2 Android Development] ImjuzCY:
There is performance gain with OC on 2.33Ghz to 2.5Ghz

2.33 performance governer

2.5 performance governer

But not sure if it's worth the small bump in benchmark in exchange with such heat and battery demand.
[ZenFone 2 Android Development] AL_IRAQI:
I don't believe in benchmark but there's something wrong with OC

CPU at 2.5Ghz most of time just like what happened with [MENTION=1060541]helroz[/MENTION]

i flashed normal version again
[ZenFone 2 Android Development] helroz:
Not really a 2.0ghz all the time for me, just benchmark tests^^

But no gain, normally gain is ~5-10% but now have +-0%

For me cpu is locked at his original max freq but android see higher max. (Locked at 1.8ghz but android show 2.0ghz).

Envoyé de mon ASUS_Z008D en utilisant Tapatalk
[ZenFone 2 Android Development] TheSSJ:
Well, could be that our atoms are just not able to be OC'ed, but I had some performance gains,too with Antutu.

I will definitely check the underclocking though. Maybe I should start a poll to see if OC is even a point on the wish list :D
[ZenFone 2 Android Development] whynottoday:
Need underclocking and undervolting please. OC is not needed ?
[ZenFone 2 Android Development] marcof93:
I agree with the others, we need underclock on minimum freq. :) But i read some time ago that intel processors needs a high minimum freq., hope it was not true :)
[ZenFone 2 Android Development] afbcamaro:
To the developer,

Thank you for your hard work and dedication. I am very exited on your work on overclocking. I am a integrated ic engineer not on the level of intel mind you (not a programmer myself like you). We have what i believe is the best soc on a mobile phone. This cisc atom is a very peaky processor.. it likes to wind up in order to complete tasks so an overclock should provide in theory a good boost without much battery consumption. It is possible that intel may have hard locked the binning on the processors at the hardware level. i am trying to find out with some friends since intel will not disclose anything on them.

Please keep up your amazing work on both overclocking and underclocking.. If anything the bragging rights alone should be worth it. Some publications may even pick it up.. ;)

Agaim Amazing work my friend
[ZenFone 2 Android Development] TheSSJ:
lol, if you would know what I do for a living, you wouldn't call me a programmer :laugh:

It's just a hobby, but many thanks for the kind words :) Of course I want to push the lower and upper boundaries of our SoC, too, this is why I would be really glad if you would share the findings you and your friends may discover :)
[ZenFone 2 Android Development] S#@DY:
I would like to know :D
[ZenFone 2 Android Development] Status_Errorv1:
what lvl do I set the battery life extender too? Currently at 100.

using Kernel Auditor.
[ZenFone 2 Android Development] ImjuzCY:
I'm at 97

---------- Post added at 12:22 AM ---------- Previous post was at 12:19 AM ----------

@TheSSJ I think it's better to put 2.33ghz as default. In current default it's 2.5ghz means booting will also uses 2.5ghz right? That's quite dangerous if one is having a bootloop and charging the device in the same time. Bootloop@2.5Ghz+Quick Charging=explosive ahead

---------- Post added at 01:13 AM ---------- Previous post was at 12:22 AM ----------

Regarding the disabled cores don't stick issue, it's because the hotplugging technique of thessjactive. Use yankactive if you want to disable cores
[ZenFone 2 Android Development] kanagawaben:
If effective OC is truly possible, surely the 3560 can reach about the same max clock as the 3580? I believe they are identical in architecture, with just the max boost frequency set lower. Though, I guess that may mean that the 1.8 GHz chip is hard locked at that speed while the 2.3 GHz chip is unlocked?
[ZenFone 2 Android Development] dahikino:
Hello, if I want to come back to stock kernel, just replace boot image is enough?

Thanks
[ZenFone 2 Android Development] ansebovi:
[MENTION=2388665]TheSSJ[/MENTION] can you keep z3580 freq table in z3560 cpu?

If you don't want to post with that much oc please give it me in pm and I will test it..if it work same as z3580 then it is great for z3560 users, Please try this..
[ZenFone 2 Android Development] Emblema:
I'm trying your kernel, only a reboot, but I'm sure it's amplify.

I saw in BetterBatteryStats that the lower frequency (500 Mhz) works a lot of time, I hope you make a new kernel with a more lower frequency than 500.

For now... Thanks a lot
[ZenFone 2 Android Development] dangnhap01:
is there any bugs on this kernel?
[ZenFone 2 Android Development] MironV:
Awesome work! :D

Was something changed in the DPI in the latest version? Or it may be from L Speed Mod...don't know..

Later Edit: Installed the ZE500ML version by mistake :). It's nice though that with the 320DPI there were no distortions (like from manually changing the DPI via ADB). I guess it's because of tricking the phone to think that the Phyisical Density is 320 DPI. Is there anyway to change the "physical" density to a different value?

Thanks

BTW: Do you think that there are going to be any issues if I am installing the right kernel, after I had the one for ZE550ML?
[ZenFone 2 Android Development] TheSSJ:
When you install the OC version, maybe, but the normal version should work stable

You can change the dpi to any value you like, don't know if the phone will still display graphics properly though ;)

Of course there is no problem when you switch between the kernels, as the only thing that changed is only the dpi (which is manipulated via the default.prop attribute).
[ZenFone 2 Android Development] Emblema:
Why you tell this...

For me OC version works fine.. And believe me... I'm stress a lot your kernel..

Change frequently a lot of settings..

I guess your kernel, actually It's the best one.
[ZenFone 2 Android Development] TheSSJ:
Man, I like this kind of feedback :D Since OC is still in experimental stage I can't just guarantee a well working phone

I am coding the UC part right now, hopefully I can lower the minimum clock, too, without BSoDs
[ZenFone 2 Android Development] kanagawaben:
Hmm. OC v77 [MENTION=4413955]2.0[/MENTION] ghz on ZE550ML seems to have no effect on benchmark score in Antutu - still 43,000.
[ZenFone 2 Android Development] MironV:
Thanks!

Yeah I could change the DPI via ADB/terminal emulator and get some distortions. Is it okay to change it from default.prop? :D

Later edit: tried to change it, but it resets on reboot :P