yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] a0193143:
Didn't you put the charging images into kernel?

If I shutdown the phone and charge it, the screen shows "Charging! ??/100".
[ZenFone 2 Android Development] kenbo111:
Kernel has nothing to do with what happens when the phone is off.
[ZenFone 2 Android Development] TheSSJ:
Thx for your intervention, indeed anykernel preserves the ramdisk as is and just replaces kernel and modules, so if the charging doesn't work maybe the phone has other problems causing this
[ZenFone 2 Android Development] GuilhermeXtreme:
Great job!

Does it have to use the Driver of the sensors, which are in the boot.img Firmware .144 (with Fixed sensors to Buy Devices in Brazil) Very wanted to use your kernel but Broken the sensors after Flash...

Thanks! I'm Waiting!

Sorry for my Bad English ?
[ZenFone 2 Android Development] TheSSJ:
Unfortunately my kernel can't use the modules from the stock image, as the kernel would refuse to load them (different signing). There are options to disable these checks, but come with different issues then. I need to wait until the 144 sources are released
[ZenFone 2 Android Development] Beackman:
I loved, that kernel too, but, with problem on sensors cant keep using.... :(
[ZenFone 2 Android Development] GuilhermeXtreme:
[MENTION=2388665]TheSSJ[/MENTION] I do not know if it will release the source code ... but let's hope, right? ^^
[ZenFone 2 Android Development] Nightwish1976:
Hi.

Just wanted to thank [MENTION=2388665]TheSSJ[/MENTION], the kernel is great!
[ZenFone 2 Android Development] TheSSJ:
Thanks for the good feedback. Let's hope Asus releases the newest kernel source, otherwise Brazilian users can't use the kernel
[ZenFone 2 Android Development] DaqKap:
kernel can be used for 4.21.40.184 ???

Thank All:p:p:p
[ZenFone 2 Android Development] TheSSJ:
I'm using it with .184 ;)
[ZenFone 2 Android Development] DaqKap:
[MENTION=2388665]TheSSJ[/MENTION] Thank Bro:D:D:D

kernel very good:good::good::good:
[ZenFone 2 Android Development] samuele94:
Hi,thanks for your work. Can you send to me md5 of 1.4 ? Which rom do you suggest to me to use this kernel? Now I'm on stock 184 rom with locked bootloader,stock recovery and without root. Now I unlock bootloader and flash twrp+root

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] aerobomb:
do you have functional xposed? i lost my xposed after flashing this kernel.
[ZenFone 2 Android Development] TheSSJ:
I don't use xposed and don't plan to actively use it, so no clue
[ZenFone 2 Android Development] krasCGQ:
Are you using Systemless mode?
[ZenFone 2 Android Development] aerobomb:
yes.
[ZenFone 2 Android Development] krasCGQ:
Reflash Magisk or systemless media you use and see if it works.
[ZenFone 2 Android Development] Nightwish1976:
I'm losing approximately 9% battery during night time (8 hours).

Battery shows the phone is about 95% of the time in deep sleep. Is this normal?
[ZenFone 2 Android Development] japh1997:
SuperSu [Systemless]

How can i install SuperSu(chainfire) on stock rom(with this kernel) ?

I flashed the kernel and restarted (no SuperSu work)

I flashed Magisk7 fixed for ZF2 and install Magisk Manager.apk

I flashed supersu r277 fixed for ZF2

And no root..... I dont know what's happening :(

All sources are in THIS post
[ZenFone 2 Android Development] samuele94:
Kernel source are here http://dlcdnet.asus.com/pub/ASUS/ZenFone/ZE551ML/ZE551ML4_21_40_184.zip

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
I am losing 1-2 % per night. Yes, the deep sleep rate is normal...as our phone model becomes older and older, the battery is beginning to struggle more and more...it's pretty normal

Can't tell you...I was on stock when I rooted my phone. Only afterwards I flashed my kernel. Since then I am still rooted when I flash an updated kernel version...Maybe you should start from scratch and first root and flash magisk, THEN flash my kernel

Implemented and building right now. Can*t tell if the sensor problems are fixed in this version though...12 files or so were updated, see my git account for info

EDIT: Uploaded version 1.5, hopefully the sensors are fixed for the brazilian users, too
[ZenFone 2 Android Development] DaqKap:
thank kernel update :laugh::laugh::laugh:
[ZenFone 2 Android Development] japh1997:
Magisk and supersu need files into the kernel.....

They work with files in the boot partition :(

Thanks [MENTION=2388665]TheSSJ[/MENTION] ....

I installed "ProjectT_MM_1.3.img" ... I think installing this was the problem

I will try install "[UC]PT_1.5_Anykernel.zip" :fingers-crossed:

Succsess :D

[MENTION=6103587]samuele94[/MENTION] thanks for files (i used supersu.zip), but the problem was flashed incorrect file...

All works well
[ZenFone 2 Android Development] samuele94:
Flash super su zip after kernel https://mega.nz/#F!nxADjJpb!vJ55IiezfoQSOAHjKyTYCQ

Feedback about new kernel?

Flashed, root with supersu works fine without flash zip

Gpu 266-533 stays only at 533mhz -> after change gpu freq it stay at 266

266-457 stays only at 266 mhz

457-533 works like stock kernel (for now I'll stay with this)

Hi [MENTION=2388665]TheSSJ[/MENTION] can you add NTFS support for otg?
[ZenFone 2 Android Development] TheSSJ:
It should work with a small modification of the fstab if it doesn't work at the moment
[ZenFone 2 Android Development] samuele94:
It don't work now with my hdd

It works with lg g2

Same problem with 2 usb FAT32 (same with stock kernel) but I have a microusb/usb pendrive FAT32 and it works fine. On my g2 works all 3 pendrive ,I don't know why

Inviato dal mio LG-D802 utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
I know that I compiled exfat drivers like in my Lollipop version, so no changes here. I also fixed the automounting problems thanks to [MENTION=334644]sorg[/MENTION] 's advice back then. Why 2 of your 3 usb drives do not mount is difficult to tell without logs.

Regarding NTFS I can compile a kernel module which at least grants you read access, but it won't automount if the vold-service still blocks NTFS as in LP. You would need to mount your drive in command line, but it is not really user-friendly then. Integrating NTFS-3G is of no use without modifying the correct part in the ROM which is responsible of mounting drives (I believe it is vold). As I don't know if compiling vold from generic sources is possible to replace the Asus proprietary one, I won't take the risk to bother with it without proper research (takes time, which is really a rare resource at the moment :) )
[ZenFone 2 Android Development] samuele94:
Thanks,I don't use my hdd with smartphone (it drain to much battery for me). No problem,kernel works fine.Thanks again

Inviato dal mio LG-D802 utilizzando Tapatalk
[ZenFone 2 Android Development] Psycho91:
Can I flash the latest update (v1.5) into z008 latest stock rom (4.21.40.156)?
[ZenFone 2 Android Development] TheSSJ:
Should be compatible with z008 :good:
[ZenFone 2 Android Development] blazzer12:
I am running CleanSTOCK-MM-Z00A. After flashing this kernel, HOME and RECENT buttons don't work. BACK button works though.

Wiped and flashed only CLEANSTOCK ROM, everything working fine.
[ZenFone 2 Android Development] japh1997:
Temporal solution

If the problem is the filesystem use it: ParagonApp

If the problem is thw energy.... (It happens to me) only need add external energy with a cable like this:

[IMG="Cable"]http://image.dhgate.com/0x0/f2/albu/g3/M00/F2/F5/rBVaHVWvVz-AcWiXAAKJZqKCPEk332.jpg[/IMG]
[ZenFone 2 Android Development] TheSSJ:
Sorry, but then the author modified something in the ROM. On stock everything works. Or maybe delete cache/dalvik after flashing the kernel . There are other cleanstock users using this kernel and do not report these errors
[ZenFone 2 Android Development] Dan_Jacques:
I'm using the CleanStock 15/11 ver and everything is working fine. I neither needed to reflash magisk or supersu, just flashed the ProjectT v1.5 and root/xposed remained working flawlessly.
[ZenFone 2 Android Development] TheSSJ:
Because anykernel system rules :cool:

Thx for the feedback
[ZenFone 2 Android Development] GuilhermeXtreme:
You are the master! Thanks for this amazing kernel! <3
[ZenFone 2 Android Development] samuele94:
Hi, I love your kernel but I want change rom and maybe new rom have borets kernel.If I want flash your kernel do I need flash stock 184 boot.img amd after i flash your kernel? Or I can flash your kernel over borets?

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
[MENTION=6103587]samuele94[/MENTION]

Of course you can try and normally it should even boot(if borets didn't remove the module loading commands from his init scripts), you mention correctly that my kernel doesn't touch the ramdisk...if you notice any malfunctions,you'd need to flash stock boot and then my kernel again. Unfortunately borets doesn't upload any source other than the first commit,so I can't make any clear statements how your phone will act
[ZenFone 2 Android Development] samuele94:
Thanks,I'll flash cleanstock with project T kernel. Lionheart it's my love. If i want flash stock 184 rom without lose twrp?I only want to do a clean flash with your kernel...

( sorry for Offtopic)

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
It's not really OT,it's related to kernel usage and flashing ;)

You don't lose TWRP when flashing cleanstock,as recovery is (unlike Samsung phones) located on its own partition :)

If you flash a firmware from Asus site,then I think it will replace the recovery partition with the stock image, you would need to flash twrp directly after the flashing of stock ROM finished to keep your custom recovery (without rebooting)
[ZenFone 2 Android Development] samuele94:
For kernel stability cleanstock it's stable like asus rom? Or you suggest with your kernel use only stock asus rom? Some LG G2 devs suggest to use only stock rom with own kernel

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
My kernel *should* work on ANY stock-based ROM. Cleanstock, Zen-S-MM, russianbear, etc. And of course stock ROM itself

Normally it should be stable in any of the above
[ZenFone 2 Android Development] Dan_Jacques:
CleanStock is a modded stock ROM, so it's essentially the Asus .184 ROM. The stability you'll have to test by yourself. I really like CleanStock, but I had to test to see if it fit to me.
[ZenFone 2 Android Development] Flynhx:
Uhm.. where is the link for download? I can't seem to find it on the 1st Post. Currently, i'm using BORETS', but i want to try Project T. :/
[ZenFone 2 Android Development] TheSSJ:
OP updated again, even if I am angered about some "devs" stealing my intellectual property I think it's not fair to remove access completely
[ZenFone 2 Android Development] samuele94:
All works fine with project T, I have this spam on catlog (logcat) with all governor except interactive " 12-08 12:41:14.051 E/Intel PowerHAL(1268): Error opening /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse: No such file or directory” it's a bug or problem or I can ignore it?

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] TheSSJ:
It's normal, but you still have touchboost, I have implemented a TB driver which works also for yankactive and thessjactive. I could add any governor to the driver, but some of the people don't like their CPU cores climbing up to 1833MHz

Next release will remove these error messages, don't know when I will have the time though
[ZenFone 2 Android Development] samuele94:
Other stupid question, Cleanstock have system/etc/init.d folder with file,it's a problem for your kernel?I have strange cpu load (70% and +) deleted init.d folder and now it's all ok
[ZenFone 2 Android Development] TheSSJ:
Maybe it's a script running which doesn't end (infinite loop). Would explain why it stops as soon as you delete it
[ZenFone 2 Android Development] samuele94:
When and if you have time , Can you add init.d support?

#!/system/bin/sh
#Init.d Test

busybox mount -o remount,rw -t auto /system
busybox mount -o remount,rw -t auto /data

if [ -e /data/Test.log ]; then
rm /data/Test.log
fi

echo "Ryuinferno @ XDA 2012" > /data/Test.log
echo "Init.d is working !!!" >> /data/Test.log
echo "excecuted on $(date +"%d-%m-%Y %r" )

but I don't have Test.log on my data folder so I think init.d folder don't works

I like your kernel, with init.d support it's perfect for me
[ZenFone 2 Android Development] TheSSJ:
Hi,

this should be easily done, I hope I get a new version up this week (which SOME other devs will just take and sell as their own, but I am beginning to not give a ...)
[ZenFone 2 Android Development] samuele94:
Other little big request, ondemand with your kernel and stock kernel have random SOD (sleep of death) when screen is off,it's possible to fix it? I love ondemand also but it's useless for now becouse it dies with screen off

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] MGREX:
Probably a dumb question but by stock you mean the factory M ROM or AOSP-type ROMs like cyanogen and RR?
[ZenFone 2 Android Development] samuele94:
Only stock MM asus rom or mm stock based only on ASUS ROM!!!

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[ZenFone 2 Android Development] Pedro VinÃ­cius:
Old ROM. . .

Abandoned the rom?
[ZenFone 2 Android Development] kenbo111:
What rom?
[ZenFone 2 Android Development] say99:
haha I will really need your kernel to bring up nethunter for stock marshmallow. So can I kang your project?? :p:p
[ZenFone 2 Android Development] Dan_Jacques:
My Ralink 3070 USB arrived today for NetHunter. [MENTION=2388665]TheSSJ[/MENTION] your kernel would be a AWESOME base for NetHunter. Stable, battery friendly, with F2FS support. Everything makes it perfect.

And [MENTION=7111568]say99[/MENTION] give credits (lol) :highfive:
[ZenFone 2 Android Development] k3yn4:
how to get init.d working with this kernel ?
[ZenFone 2 Android Development] TheSSJ:
You sure can Mr. ;p

I wasn't referring to you in my previous post by the way, I know that your attitude in this forum was/is always perfect ;)

I just can't stand people taking my work, removing authorship and just sell my scripts as their own.

ANYWAYS, before I upset myself again:

I have 2 days of vacation soon and I already know that I will bore myself out (at least when the baby is sleeping :silly:), then init.d and some other fixes will follow
[ZenFone 2 Android Development] jday17:
hi everyone, I'd like to try this kernel but I can't understand which file to download from drive..I only see twrp..thanks in advance ;)
[ZenFone 2 Android Development] a0193143:
Is screen backlight changeable?

It always restore to default 3.
[ZenFone 2 Android Development] Chinmay Vinod:
Zenfone 2 auto rebooting after flashing kernel

Hi,

I flashed the latest file from your google drive PT_1.5_anykernel. The brightness level changed but as soon as i try to change the governor or the i/o scheduler the phone hangs and restarts on its own. Also after keeping the phone idle for some time, the phone automatically restarts. Not able to use the phone properly:crying:. Uploaded my logcat.
[ZenFone 2 Android Development] angus63631:
About next update

Hi,

Asus release ww-4.21.40.223(Kernel source file not available yet).

Can you add OC(cpu to 2.5ghz gpu to 640mhz) in next update?:confused:

OC to Intel Atom Z3590 level :)

http://ark.intel.com/products/91319/Intel-Atom-Processor-Z3590-2M-Cache-up-to-2_50-GHz

Thank you!:fingers-crossed:
[ZenFone 2 Android Development] Kosecki99:
Hello!.

What is the best configuration to get a long battery life?.

Thanks!!!!!, great job!!!!
[ZenFone 2 Android Development] Dan_Jacques:
[MENTION=2388665]TheSSJ[/MENTION] do you know if Project T has this? https://xdaforums.com/showpost.php?p=70492947&postcount=8793

I'm at lastest version using /data f2fs without issues, but it's good keep the commits updated.

If yes, the "f2fs head" posted a commit in this mentioned thread. Maybe could be good update this. Your kernel is running perfectly with F2FS data and it's awesome.
[ZenFone 2 Android Development] Bad-Pixel:
Hello! I've downloaded the last 1.5 kernel, but when i flash it, the zenfone can't boot anymore (stuck on asus logo). Stock MM rom with magisksu and xposed. Do I miss something?

Edit: nvm, the problem was caused by the twrp 3.0.3 M4 recovery.

Downgraded to 3.0.2 M1 and now the zenfone can boot correctly after flashing pT 1.5 kernel.

Honestly i didn't notice any better battery life (compared to stock kernel) in idle condition (using ssjactive governor that has hotplug), but i will try it better in next days maybe.

I really hope the development won't end, because this kernel and his developer sounds very promising!

Thanks for your hard work [MENTION=2388665]TheSSJ[/MENTION]
[ZenFone 2 Android Development] samuele94:
Hi [MENTION=2388665]TheSSJ[/MENTION] I hope you update this kernel,it's good for me,I hope on new 223 source!!
[ZenFone 2 Android Development] Magissia:
Bootloop on WW-4.21.40.223 ZE551ML

Flashed with TWRP 3.0.3.M4 from http://theflamingskull.com/zenfone2.html

No supersu

No magisk

No xposed

Edit bootloop when flashing from TWRP 3.0.2-M1 too.

Edit2: and after reflashing everything 400 times itt works. Sorry for interrupting.
[ZenFone 2 Android Development] say99:
[MENTION=2388665]TheSSJ[/MENTION] updated your stuff and renamed it :P

https://github.com/sayeed99/zf2_mmkernel

source code update to .327

anykernel zip always

Fixed screen flickering issues

Updated GPU stuff

Updated display driver stuff

patch to increase battery by 3-5% (GPU based)

a few more fixes and updates

link : https://drive.google.com/open?id=0B2DVhZKJ05fLdzhoSWtOS2Qxa1E

common for Z00A/Z008 (its anykernel!)
[ZenFone 2 Android Development] Bad-Pixel:
[MENTION=7111568]say99[/MENTION] Any hope to have kernel update now that .352 firmware is out? I'm not asking for ETA, just asking if we will get the update!
[ZenFone 2 Android Development] (AW.Poot)AkaS:
Light Sensor Not working

Light Sensor Not working showing 0 in multisensor tool app.All other sensors are working
[ZenFone 2 Android Development] (AW.Poot)AkaS:
Hot plugging not working

In kernel auditor, cores are not turning off on ssjactive governor:confused::eek:
[ZenFone 2 Android Development] muhdzuhri:
Support My Rom ???

Hey dear...

Im want ask.

Can i flash this kernel on BORET ROM ? :confused:

(Boret) Rom its like stock rom...

chek this out: https://xdaforums.com/zenfone2/development/borets-rom-ze551ml-550ml-t3551225

So plz teel me i can flash or not ?
[ZenFone 2 Android Development] ash219:
it's FlareX v1 ..not anykernel
[ZenFone 2 Android Development] Luq4dmin:
Lol.,,come on dude...anykernel is the script used to flash kernel in the zip file. say99 just tell him that his kernel (flareX) is already using the anykernel script. :rolleyes:
[ZenFone 2 Android Development] TheSSJ:
Hi,

I'd say if you really want to be the impressive wardriver :P then you should use Kali, I think you can install it on a HDD instead of only having it as live CD, but I'm not an expert in these topics: https://www.kali.org/downloads/

@ all:

Anyways: Finally the anykernel zip works, so the kernel should boot regardless if you have xposed or not *HOPEFULLY*

Now I can proceed adding the missing features in the kernel :)

Cheers!
[ZenFone 2 Android Development] SynisterWolf:
Thread cleaned,

Remember to show respect to everyone on this site. Foul language will not be tolerated even if you are substituting words with **** or if our filters do it for you.

Thanks

Wolf
[ZenFone 2 Android Development] Tiongkia:
After flashing, i am back to stock kernel
[ZenFone 2 Android Development] TheSSJ:
Could you try with v0.2? Added seconds ago ;)

Check the kernel string, it should include the project T versioning
[ZenFone 2 Android Development] Tiongkia:
Thanks mod!

So i am right to block him.

---------- Post added at 11:48 PM ---------- Previous post was at 11:47 PM ----------

Ok thanks much. Testing

---------- Post added 12-09-2016 at 12:25 AM ---------- Previous post was 11-09-2016 at 11:48 PM ----------

@TheSSJ

It works :D
[ZenFone 2 Android Development] Carlos6862:
Thanks my friend [MENTION=1455115]TheSJ[/MENTION]J

Works like a charm.

Regards! ? ?
[ZenFone 2 Android Development] TheSSJ:
Thx for the great feedback :good:

I noticed dynamic fsync is not turned on by default-will do so in v 0.3. In the meanwhile you can do so in kernel adiutor (misc-menu)

Also expect more features to come :)

V0.3 is out:

Dynamic Fsync is enabled by default now

Power efficient WQ enabled (you can turn the feature off in Kernel adiutor in the CPU tab on the bottom)

Added Quickwakeup driver

Sioplus set as default IO scheduler

Under the hood improvements
[ZenFone 2 Android Development] tsoureki:
v3 works great! 67.000 Antutu! Thanks :)
[ZenFone 2 Android Development] Tiongkia:
Flashed 0.3. Thanks [MENTION=2388665]TheSSJ[/MENTION]
[ZenFone 2 Android Development] TheSSJ:
Although I really don't have a focus on high performance I am glad to see that the kernel is able to get high results. When I implemented all modules as built-in into the kernel, maybe this will squeeze out a little more.

Cheers!
[ZenFone 2 Android Development] Nicka099:
Hi TheSSJ

Are you using the new Asus MM Source Code,

https://www.asus.com/support/Download/39/1/0/13/Lk0Sg1Ulh0Ph49Hl/32/
[ZenFone 2 Android Development] TheSSJ:
Hi,

Will merge the code today, in total only 10 files are slightly different though, so don't expect performance increases :p
[ZenFone 2 Android Development] kenbo111:
What settings did you use for that? I'm still new to kernel settings.
[ZenFone 2 Android Development] tsoureki:
Through Kernel Adiutor:

Cpu governor --> Ondemand

I/O scheduler --> Zen (with fifo_batch=16)

KSM --> Disabled

Fsync --> Disabled

Low Memory Killer --> Very light

All others stock.

I haven't test battery usage with these settings but phone is super smooth and performance vey good.
[ZenFone 2 Android Development] kenbo111:
Just FYI im using magisk for root. I had to reflash it after flashing the kernel. No big deal.
[ZenFone 2 Android Development] TheSSJ:
So my newest test build is based on the latest source code of Asus for our phones, at least it made our kernels more secure:

https://github.com/TheSSJ/zf2_mmkernel/commit/ff53b13a39b6c8089a0fa7bcb2e3a919d805fc43

What's also new is:

Powersuspend driver v1.7

Increase readahead of memory pages

EDIT: Tests were successful so far, ROW seems to work pretty well (may become my new favorite IO scheduler :P)

New version 0.4 is up, check the changelog (2nd Post)!
[ZenFone 2 Android Development] baonxxx:
i just unlock bootloader with unlock.bat , and flash twrp-3.0.2-0-Z00A.img and then boot into twrp and flash BETA-SuperSU-v2.74-2-20160519174328-patch-by-shakalaca-for-zenfone2-6.0_(1).zip after that reboot to bootloader and using restore.bat , it work perfectly. root work. thanks sir
[ZenFone 2 Android Development] Dan_Jacques:
It works? I had issues with magisk and stock MM. It boots into recovery automatically when I reboot system.
[ZenFone 2 Android Development] Tiongkia:
Just dirty flash v0.4 over v0.3. So far so good. Using supersu so no need to reflash anything.

Thanks [MENTION=2388665]TheSSJ[/MENTION]
[ZenFone 2 Android Development] kenbo111:
Works well for me. I used the one found here: http://xdaforums.com/showthread.php?t=3454276
[ZenFone 2 Android Development] TheSSJ:
Can anybody explain what magisk does? I understood it's something for pokemon go, but I have no clue how it hides the root status to the PG app. If it modifies the ramdisk then I would advise you to first remove magisk, then flash the kernel, maybe boot once to check everything works and then flash magisk afterwards
[ZenFone 2 Android Development] Dan_Jacques:
It unmount root on-the-fly to use SafetyNet-powered apps, like Android Pay and, now, Pokémon GO. I will try my bank NFC app.

[MENTION=5476289]kenbo111[/MENTION] Thanks! It works!
[ZenFone 2 Android Development] Nicka099:
How is battery life with this kernel?