yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] viaimpedita:
Hi i have a problem with this kernel. Touchscreen became black as when you pres power button to stanby zenfone. From this moment i can't do anything, only shutdown. Sometimes also after reset i can't inser PIN code because the screen is all black.
[ZenFone 2 Android Development] TheSSJ:
That's the minimum brightness mod. Try to increase brightness using a torch lamp ...or uninstall Kernel adiutor and reboot
[ZenFone 2 Android Development] say99:
this goes like, the general path that any app searches for root is system/bin/supersu

but if the path is system/bin/xyzzyxxyz/supersu no good app can find the root.

magisk creates a symlink for this amazing path in system/bin/supersu

and when needed just deletes the symlink and you are unrooted, later when ever required it can recreate the symlink to give back root access.

Hence we can use Bank apps and all without any issue ;)
[ZenFone 2 Android Development] lrsong96:
Everytime I flash and use the custom kernel the SnapChat app will freeze after few seconds open start the app. Does anyone same problem with me? This is app problem or kernel problem?

Found the problem. Not related to kernel.
[ZenFone 2 Android Development] baonxxx:
i backup data and system , i convert file system , data , cache to f2fs , when i restore data, everything runs normal , but not when restoring system , ExtractTarFork() process ended with error: 255 at 95% , any clue ? i tick "use -rm -rf instead of formmating"
[ZenFone 2 Android Development] Luq4dmin:
Is this kernel supports Z008 ?
[ZenFone 2 Android Development] TheSSJ:
Honestly I can't tell :(

You could make a backup of your boot partition and flash the kernel. If it doesn't boot, it will bring you directly to the recovery again where you can restore your backup and boot up. Would be cool if you'd report if it works or not

I would try without formatting system to f2fs. I also think it won't work at the moment as the fstab tells the OS to look for ext4 partitions instead of f2fs. In the course of this day I will upload a kernel which modifies fstab to mount data and cache as f2fs, this should bring the solution.
[ZenFone 2 Android Development] Luq4dmin:
Looks like it doesnt work on Z008 :p mine got stuck at asus splashscreen.
[ZenFone 2 Android Development] TheSSJ:
Thanks, this is good to know, maybe I can join the config files for z00a and z008 to make it bootable:good:
[ZenFone 2 Android Development] kenbo111:
What did it end up being caused by?
[ZenFone 2 Android Development] Luq4dmin:
Nice :good: i'll wait for it. If u need anything from Z008, i'll try to help :)
[ZenFone 2 Android Development] baonxxx:
what the problem ? i had same issue , snapshat freeze after focusing.

---------- Post added at 11:09 AM ---------- Previous post was at 11:08 AM ----------

thanks mate..:good::good:
[ZenFone 2 Android Development] TheSSJ:
I uploaded a test version which modifies the fstab with the required changes :)

Format data and cache to f2fs, restore your files on data with the "rm -rf" method and then flash the kernel named "TEST_[UC][F2FS]PT_0.4_Anykernel"

let me know if it boots
[ZenFone 2 Android Development] lrsong96:
My one is caused by some tweak in Lspeed App. Maybe you guys also ?

One more solution you Can Try ,set the I/O scheduler Read-Ahead to the lowest value.
[ZenFone 2 Android Development] baonxxx:
​

Oke w8 I will test when im home , thanks bdw.

after i format data and cache to f2fs , i can restore the data but after bootup it need a password , i enter random password and there are notice said "the password is correct but your data is corrupted and you need to reset the phone" so i format the data with f2fs and not restore my backup and im stuck decryption menu that ask me to reset to factory setting.
[ZenFone 2 Android Development] TheSSJ:
I think this should be fixed in my second test zip for F2FS, I forgot to modify the correct fstab file...it is uploaded now for anyone who wants to test f2fs
[ZenFone 2 Android Development] baonxxx:
still , stuck in decrypting whenever try to boot. i try with restoring /data and not, i found out that /cache will converted back to ext4 after reboot. cant figure out why
[ZenFone 2 Android Development] mickey36736:
It's great if you want to tune. Like this one.

Cpu governer : yankactive

Cpu frequency : 333 - 1333 mhz

Gpu frequency 200 - 320 mhz

With this setting. I got SOT 5 hours. A bit of gaming. Which is great.
[ZenFone 2 Android Development] Dan_Jacques:
I hope the MM stock ROM work with only /data /cache formatted in F2FS. The LP only supports all partitions in F2FS, and I had to backup/format F2FS/restore /system /data and /cache (okay, the /cache without the restore step)

---------- Post added at 01:41 AM ---------- Previous post was at 01:29 AM ----------

why not TheSSJActive?
[ZenFone 2 Android Development] aliapd:
working great thanks
[ZenFone 2 Android Development] mickey36736:
Because when sereen off. Cpu will turn off 2 core. When sereen on. 2 core will turn on again. This cause cpu maximum frequency to 2.3 Ghz automatically.
[ZenFone 2 Android Development] S#@DY:
[MENTION=2388665]TheSSJ[/MENTION] the super saiyan is back babe.. :D:D:D:p
[ZenFone 2 Android Development] Marcyvee:
Hi. Can someone explain the way to format in f2fs? and maybe what's required?

Following this step

When I restore the backup I get an error *something.... ERROR 255

Can someone help me?
[ZenFone 2 Android Development] kenbo111:
Why is everyone so hot about f2fs? The gains hardly seem worth the effort.
[ZenFone 2 Android Development] krasCGQ:
Plus, it's not as stable as everyone think compared to the one with CM.
[ZenFone 2 Android Development] Marcyvee:
Because is the only one that support it!

Thanks to thessj!!
[ZenFone 2 Android Development] TheSSJ:
Lol, that's a good reason :D

It's right, the kernel supports f2fs, but I need to check why converting data & cache doesn't work...
[ZenFone 2 Android Development] kenbo111:
The question is why do you even want it?
[ZenFone 2 Android Development] Marcyvee:
Uhm....... Just for try it....................
[ZenFone 2 Android Development] kenbo111:
OK. I was just wondering if there was another advantage to it that I wasn't aware of
[ZenFone 2 Android Development] Marcyvee:
When I'll try I'll post the results.

So, is the stock rom compatible with this file system?

Another thing, I don't know if is it for the kernel of gravity box, but if I set automatic brightness, sometimes the screen switch off and I have to press for 7 seconds volume up button to switch it on again (with the top brightness)
[ZenFone 2 Android Development] TheSSJ:
Version 0.6 is out, only minor modifications:

Compiled wireless driver into the kernel instead of a module

Kernel should work for Asus Z008 now, also Anykernel will take care of setting the correct LCD density automatically

Set row as default IO scheduler

Fixed derp with row IO

Expect a bigger set of changes in V0.7 though :p
[ZenFone 2 Android Development] Tiongkia:
V0.6 works fine. Your Kernel for MM is quite stable. I believe we will move out of beta soon :D
[ZenFone 2 Android Development] shazzl:
That's good and fast. Love your work
[ZenFone 2 Android Development] TheSSJ:
We already are out of beta :p
[ZenFone 2 Android Development] Tiongkia:
Lol. Ok. Then should be version 1.x
[ZenFone 2 Android Development] lrsong96:
Hi TheSSJ,can you add the deadline I/O scheduler in next update??

通过我的 ASUS_Z00AD 上的 Tapatalk发言
[ZenFone 2 Android Development] TheSSJ:
Sunday present for you guys:

18-09-2016 v1.0

- Implemented WLAN wakelock divider (will be configurable in KA in the next release)

- Enabled Deadline IO scheduler

- Increased performance by approx. 30% (according to the rumors)

- GPU: Set default frequency to 266MHz

- Should automount cache and data depending if ext4 or f2fs

The phone is really faster than ever now. Have fun!

EDIT: Pls download v1.1
[ZenFone 2 Android Development] kenbo111:
Are you still uploading it? I don't see it. :)
[ZenFone 2 Android Development] TheSSJ:
Makes sense, forgot to upload it :D

I'll upload v1.1 with the fixed WLAN dividers now
[ZenFone 2 Android Development] kenbo111:
Works great! BTW I haven't had the problem with losing root when I install anymore. It was just that first time.
[ZenFone 2 Android Development] lrsong96:
V1.1 is fast, but after flash it camera can't use anymore and gpu setting is missing from kernel adiutor.

Hope it can Fixed in next build.?

通过我的 ASUS_Z00AD 上的 Tapatalk发言
[ZenFone 2 Android Development] denki518:
My camera can not work in v1.1.
[ZenFone 2 Android Development] kenbo111:
Confirmed. " Camera failed to launch"
[ZenFone 2 Android Development] TheSSJ:
And the phone doesn't have deep sleep anymore :silly:

Deleted the zip and back to work again :(

Edit: oddly enough, it's the wireless driver I need to compile as module back again :/
[ZenFone 2 Android Development] kenbo111:
Can we just flash the last version to go back?
[ZenFone 2 Android Development] TheSSJ:
Flash 0.6, this is no problem :good:
[ZenFone 2 Android Development] sebx_g1:
Is this kernel suitable for Borets rom RussianBear MM Z00A version?

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] kjinx01:
So unified zip means these builds are common for both variants??
[ZenFone 2 Android Development] TheSSJ:
Yes sir! The kernel is compatible for Z00A and Z008 now.

All: Version 1.2 is out now, which fixed the deepsleep and camera issue!

Yes, Anykernel detects now the phone in your phone properties and changes DPI accordingly (I hope :) )
[ZenFone 2 Android Development] sebx_g1:
Just tried 0.6 version, now gonna use 1.2 ?. Still waiting for the stock Asus MM rom flashable via TWRP.

On 1.2 camera works, deepsleep don't know yet.

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] TheSSJ:
A little off topic to all kernel devs of zf2 ( [MENTION=7111568]say99[/MENTION] , [MENTION=6777525]Nyks45[/MENTION], [MENTION=6810551]BORETS24[/MENTION], etc):

If you want to play with OV/UV for the GPU, just check

external_drivers/intel_media/graphics/dfrgx/df_rgx.c

line 522 ;)
[ZenFone 2 Android Development] shazzl:
Im on 1.2 screen become black automatically im set up gpu to 320 it became normal
[ZenFone 2 Android Development] kenbo111:
Turn the brightness up from 0 in the screen section.
[ZenFone 2 Android Development] sebx_g1:
[MENTION=2388665]TheSSJ[/MENTION]- I don't know if it is on kernel side could you speed up a bit light sensor? On cm13 based roms it is faster.

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] TheSSJ:
Confirmed, will set GPU standard frequency to 320MHz. Still if you set the min brightness to 0 in kernel adiutor the screen turns off when you set the lowest brightness, maybe I need to rework the min_brightness code to my default

I will see to find the spot where I can tune the light sensor, but I can't promise I'll find it ;)
[ZenFone 2 Android Development] shazzl:
Im factory reset to check it

Im set the min brightness to 2 then reboot it... Normal again ?

Set gpu to lower then 266 it normal again im guests it a minimum brightness..

My rom will be out in 3 or 4 days. Zen S mm edition..
[ZenFone 2 Android Development] mickey36736:
Multi window mode

Can you add (enable) multi window feature? I try change ro.build.type=user to ro.build.type=userdebug and it doesn't show the option.

Thank you.
[ZenFone 2 Android Development] TheSSJ:
Unfortunately setting it to userdebug really doesn't help. BORETS24 did implement it, but I don't know what he did as he doesn't update his kernel source or modifications, so I can't help. You can ask him what needs to be done and PM me, then I will push a zip which will do the necessary modifications.
[ZenFone 2 Android Development] shazzl:
Yes after edit build.prop user to userdebug you must abele develop menu by click build number 7 time.. Then you will se the menu
[ZenFone 2 Android Development] kjinx01:
M having wake up issue on Russia rom v0.3 after flashing this kernel on my Z008..
[ZenFone 2 Android Development] mickey36736:
Ok. I understand.

I'm ok with that.:) Not sure why asus remove that.

Yeah I know. Even I added

persist.sys.debug.multi_window=true

It still doesn't show the option.

But I want to know that multi window is fully working?

Thank you.
[ZenFone 2 Android Development] shazzl:
Just edit this line

ro.build.type=user to ro.build.type=userdebug

It working...

---------- Post added at 02:06 PM ---------- Previous post was at 02:03 PM ----------

I will release mm stock in a wile 2 or 3 days now it under test ?
[ZenFone 2 Android Development] TheSSJ:
Well, we changed that line already in build.prop and I rebooted, too, but I don't have the multiwindow option in my developer options either...

The community always needs new ROMs to test, thx for your contribution :good:
[ZenFone 2 Android Development] shazzl:
Not 1 build.prop you must edit all off them
[ZenFone 2 Android Development] mickey36736:
Oh. I didn't know that. I checked and wow. So many build.prop files. I will try that later. Thanks you so much.
[ZenFone 2 Android Development] CBT38:
Thanks a lot :) !!!
[ZenFone 2 Android Development] TheSSJ:
Version 1.3 is out guys :good:
[ZenFone 2 Android Development] kenbo111:
So we can no longer adjust the minimum brightness with 1.3?
[ZenFone 2 Android Development] TheSSJ:
Correct,

Kernel adiutor is f***ing too much with the settings. In the future I will make it adjustable again,but I need to work on a good algorithm for this
[ZenFone 2 Android Development] lrsong96:
Where is the download link for v1.3? I can't find it at the Google drive.

通过我的 ASUS_Z00AD 上的 Tapatalk发言
[ZenFone 2 Android Development] kenbo111:
OK, so what is min brightness set to? 1 was perfect for me 0 was too dark.
[ZenFone 2 Android Development] Tiongkia:
[MENTION=2388665]TheSSJ[/MENTION]

Flashed 1.3 and its great. Thanks much.

[MENTION=4958056]lrsong96[/MENTION]

Its in Google drive in op.
[ZenFone 2 Android Development] TheSSJ:
Hi,

in LP the most minimal brightness without the screen being turned off is 2%. In MarshMallow (oddly enough) it is 3%. So I set this boundary to 3% now statically. For people who do not want to mess with brightness at all, I will adjust the routines to allow 3 to 15%, but not less. If you would select 2%, the screen would already turn off.........checking the display and brightness drivers didn't show any difference though :(
[ZenFone 2 Android Development] lrsong96:
I refresh and refresh the drive but still don't have v1.3? What problem is it?
[ZenFone 2 Android Development] mickey36736:
Yeah. Happen to me as well.

You need to use asus browser instead of drive. Just clear default by go to setting->apps->drive->open by default->clear defaults.

And it should have all files.

I try chrome and still the same result. Pretty strange. :rolleyes:
[ZenFone 2 Android Development] lrsong96:
Well,Thx. I use Firefox to open then is Ok already. Strange?
[ZenFone 2 Android Development] TheSSJ:
It means that drive and/or other browser do not refresh their cache to show the newest version of a page. I assume the "refresh" button doesn't exist/work?
[ZenFone 2 Android Development] lrsong96:
I found a problem. The camera application on V1.2 and V1.3 only can select 3MP and 2MP for rear camera.

通过我的 ASUS_Z00AD 上的 Tapatalk发言
[ZenFone 2 Android Development] TheSSJ:
Not the kernel, my camera shows 13M
[ZenFone 2 Android Development] kenbo111:
Mine works fine. Must be something else causing your problem.
[ZenFone 2 Android Development] CBT38:
Hi,

Tks again for this kernel.

I would like some help to choose best governor for longer SOT and days without pluging phone ? I do not play, just calls, sms, office + mails, and internet connexion 30 minutes per day.

Tks
[ZenFone 2 Android Development] TheSSJ:
Hi,

I have yankactive and row set up

Alternatively you can pick sioplus
[ZenFone 2 Android Development] sebx_g1:
I've got random reboot 3-4 times a day. Logs attached.

http://cloud.tapatalk.com/s/57e404cfd1055/2016-09-22_18.15.zip

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] TheSSJ:
Which settings do you have? governor, IO scheduler, etc.

Stock ROM or custom stock (russianbear?)
[ZenFone 2 Android Development] sebx_g1:
Yankactive, GPU powersave, row on RussianBear. Kernel 1.3

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] Tiongkia:
just curious, why didn't you use your Governor - thessjactive?
[ZenFone 2 Android Development] TheSSJ:
It could be that the kernel and RB ROM do not work so good together..this could be because of any mods applied to the ROM or the disabled crc checks on the kernel. I will check your logs for fatal error messages, but I can't guarantee that I'll find the issue or if the issue is really on kernel side (I'm running pure stock and my phone just bulldozes perfformance and battery wise)

Well,actually there is no good reason...I have set KA to apply yank on boot for a long time and never changed it to thessjactive :D

I would say the reason is pretty much lazyness :D
[ZenFone 2 Android Development] sebx_g1:
Is there any stock MM rom for Z00A flashable via twrp already ?
[ZenFone 2 Android Development] TheSSJ:
Not that I know of, normally someone would just need to upload his MM system.img, the rest should be the same

EDIT: Version 1.4 is out:

- backlight is configurable again (super simple patch)

- Mechanism to avoid entropy depleting (aka generating random numbers as needed)

Will have a look for more cool optimizations
[ZenFone 2 Android Development] Marcyvee:
I retry to format to f2fs. Even with 1.3version I stuck on error 255 when I restore the backup. Has someone managed to format?
[ZenFone 2 Android Development] lyeith:
Hi, what does the WLAN wakelock divider do? cant seem to figure that part out :)
[ZenFone 2 Android Development] jman0:
It means that the WLAN connection will try to wake up the device less often, so you can save more battery
[ZenFone 2 Android Development] kenbo111:
Wow, I changed them all and it worked! Thanks
[ZenFone 2 Android Development] krasCGQ:
Hmm...

Switching over to RussiaNBeaR MM due to severe UI lags on CM13 + custom kernel. Flashed with this kernel together, and...

With f2fs formatted data and cache partitions: cache partition always reverts back to ext4 even after being formatted several times; data is okay.

Just trying to dig in more!
[ZenFone 2 Android Development] Peter-C:
Hi, may i ask is this kernel support KCAL because i need to adjust contrast of my replaced lcd pannel. Thanks
[ZenFone 2 Android Development] krasCGQ:
I never see KCAL support on non-Qualcomm custom kernels...
[ZenFone 2 Android Development] Marcyvee:
How did you manage to format data or cache to f2fs?
[ZenFone 2 Android Development] krasCGQ:
I could only format data to f2fs, cache is always gone back to ext4 upon boot.

I formatted from TWRP's advanced wipe options. Select data, change file system -> f2fs.

I did it on a clean installation.
[ZenFone 2 Android Development] Peter-C:
Sorry I didn't know that before do you have any suggestion to adjust the screen?
[ZenFone 2 Android Development] Marcyvee:
Without select "rm -rf" from advanced option?

How could I check the file system on the booted phone?
[ZenFone 2 Android Development] krasCGQ:
No idea. Maybe adjusting Splendid settings until you get 'the best' value.

1. No, since I'm doing a clean flash.

2. With help of some apps that able to see that, but I don't know well about that. I always reboot to TWRP and check file systems there.
[ZenFone 2 Android Development] TheSSJ:
Hi, sorry for the delay in answering...I became father of a splendid boy 5 days ago :) short nights are a bummer though...

Yes, I messed with the fstab file a little to support both filesystems, it seems it worked for /data then :good:

Maybe an init script in the boot ramdisk is reformatting cache, but this would need to be checked

As you may assume correctly, updates will come in highly delayed, but at least I have a theory how to get sweep2wake to work ;)
[ZenFone 2 Android Development] kenbo111:
CONGRATULATIONS!!
[ZenFone 2 Android Development] Druboo666:
Happy for you :D:D:D :victory: wish your boy would be a :angel: :)
[ZenFone 2 Android Development] lyeith:
congrats :)
[ZenFone 2 Android Development] Carlos6862:
Congratulations my friend [MENTION=2388665]TheSSJ[/MENTION]!!

Regards!! ? ?
[ZenFone 2 Android Development] krasCGQ:
Congratulations! ;) :good:
[ZenFone 2 Android Development] jman0:
Congratulations. Of course, family comes first
[ZenFone 2 Android Development] yakub234go:
Congrats
[ZenFone 2 Android Development] harpreet.s:
Congrats bro
[ZenFone 2 Android Development] shazzl:
congratulations [MENTION=2388665]TheSSJ[/MENTION]
[ZenFone 2 Android Development] Tiongkia:
Congrats [MENTION=2388665]TheSSJ[/MENTION]
[ZenFone 2 Android Development] miku1024:
[MENTION=2388665]TheSSJ[/MENTION] i found a bug on projectT v1.4, gpu stay on highest clock every time, workaround for this bug are toggle gpu governor to powersave then simple_ondeman from kernel auditor made by borets, on v1.3 works just fine, heres the screenshot and logs i hope its help, and congrats
[ZenFone 2 Android Development] CBT38:
Hi,

Is there any way to go back to stock MM, in case asus deliver another update ?

Tks and congratulations !
[ZenFone 2 Android Development] Nyks45:
Congratulations don't even think kernel now u have more important things to do :)
[ZenFone 2 Android Development] viaimpedita:
Flash boot image from stock room
[ZenFone 2 Android Development] CBT38:
Tks !

You mean boot.img file ?

I flash it in debug mode with :

adb reboot-bootloader

fastboot flash boot boot.img

fastboot reboot

Right ?

Is there anything else to do ?
[ZenFone 2 Android Development] viaimpedita:
Yes :good:
[ZenFone 2 Android Development] CBT38:
Hum... one more question : does it format the phone ? :D
[ZenFone 2 Android Development] viaimpedita:
No :D
[ZenFone 2 Android Development] polrus:
Is the battery still drained 40% by Android OS when using this kernel.?

Wysłane z mojego ASUS_Z00AD przy użyciu Tapatalka
[ZenFone 2 Android Development] TheSSJ:
I have only 5% battery drain...normally this doesn't have anything to do with the kernel...you should try to factory reset and restore your apps and data with titanium Backup instead of twrp
[ZenFone 2 Android Development] Freddy1X:
No love for ZE550ML? :(
[ZenFone 2 Android Development] TheSSJ:
I compiled the display driver of ze550ml into the kernel, so of course there is love for you guys ;) russianbear ROM developer already tested and reported positively back :good:
[ZenFone 2 Android Development] mefisto2114:
Somebody try to flash this kernel on RussianBear MM ROM?
[ZenFone 2 Android Development] krasCGQ:
The answer is above you.

Btw, I flashed it when I was on RussiaNBeaR MM and it worked.
[ZenFone 2 Android Development] Nicka099:
How is that :confused:. On stock kernel android OS is using 50%+ , I did a factory reset already and nothing changed.
[ZenFone 2 Android Development] mefisto2114:
Flashed on RussianBear MM v0.6 for now everything is working including xposed, now time to test.
[ZenFone 2 Android Development] IW4N93:
Same here, i'm using this kernel on Russianbear as well, but sometimes my Phone got frequent soft reboot, i don't know why but i'm sure it's because of the kernel, because it didn't happen on borets nor stock kernel.

Here's my settings:

Gov: thessjactive

I/o: cfq

I didn't change the rest option
[ZenFone 2 Android Development] mefisto2114:
Can I use this app with this kernel https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid

One of Requirements is Kernel that supports loop devices

And I don't know if this kernel supports this.
[ZenFone 2 Android Development] DaqKap:
kernel can be used for 4.21.40.144 ???

Thank Bro:)
[ZenFone 2 Android Development] Tiongkia:
I am using. No issues.
[ZenFone 2 Android Development] lrsong96:
Anyone try ondemand CPU governor? I got random reboot when using ondemand CPU governor after screen off.
[ZenFone 2 Android Development] DaqKap:
thank bro:p
[ZenFone 2 Android Development] harpreet.s:
yes