for overall responsiveness.
Faux sound control depends on specific sound chip which I'm sure zf5 didn't have. I'm not interested in overclock because the phone already fast and hot as it is now, more interested in underclock or undervolt, but so far haven't got any positive results. The Intel cpu code are harder to read and modify compared to arm.hm, maybe this won't work, I'm not a expert in kernels, but would it be possible to add faux sound control or gpu overclock (I don't think overclock is possible on this device, even with 2.0ghz it still "is" 1.6ghz)
Faux sound control depends on specific sound chip which I'm sure zf5 didn't have. I'm not interested in overclock because the phone already fast and hot as it is now, more interested in underclock or undervolt, but so far haven't got any positive results. The Intel cpu code are harder to read and modify compared to arm.
Is that a governor or somethin'?@mdfzhi thanks for this awesome kernel ? BTW can u add BLX (Battery Life eXtander) thanks man
Sent from my ASUS_T00J using Tapatalk
Of course mate, the deep sleep will only take place when you discharge the phone.
It's should already be supported. I've already enabled ntfs read/write.
Idk but it didn't work with my drive. It showed blank drive or unsupported format. But when I formatted the drive to FAT32 on pc, it worked.It's should already be supported. I've already enabled ntfs read/write.
If flash drive then it should. If hdd then obviously wont work without external power source.
Try to use some otg mount helper from the playstore. The fstab that hadles otg mount in the ramdisk are default to fat mounting so it might not work with ntfs on its own.It was a flash drive and the same drive worked when it was FAT32.
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Got an old unused zenfone 5 from my brother and I've compiled this kernel because i'm not satisfy with some of the available kernel so far. Nothing fancy, just a (hopefully) stable kernel for stock lollipop or custom rom based on stock lollipop.
Like i said, nothing fancy lol. Things that i've modified/added:
- Updated interactive cpu governor and fine tuned its parameters.
- Enabled conservative cpu governor and disabled userspace cpu governor.
- Added zendecision cpu hotplug helper.
- Updated cfs scheduler.
- Added bfq disk io scheduler and made it as default on booting.
- Enabled all tcp congestion control and made westwood as default on booting.
- Added power efficient workque support. Should help with battery life.
- Added quick wakeup driver support. Should help with battery life.
- Added async fsync support. Should help with battery life and perfomance.
- Enabled joystick game controller support.
- Enabled usb serial driver support.
- Enabled zram driver support and made it use 256mb on booting. Should help with perfomance.
- Enabled powerclamp and rapl driver for intel thermal daemon support. Should help minimize heat.
- Enabled ntfs driver with read/write support.
- Enabled cifs and smb network drive driver support.
- Added exfat-nofuse filesystem driver support with proper automount on booting.
- Enabled zenmotion dt2w support.
- Made selinux mode as permissive on boot. This fixed the dreaded signal loss issue.
- Added proper init.d support in ramdisk, with proper permission setup before running scripts.
- Probably many, many other things i forgot to list here...
20161029
- Removed hotplug cpu governor. Hotplug cpu governor or hotplug driver are too buggy on zf5, sometimes the turned off cpu are never turn back on again.
- Fined tuned interactive cpu governor.
- Added and enabled bfq disk io scheduler and made is as default on booting.
- Updated lowmemorykiller driver.
- Enabled proper config for intel powerclamp driver.
20161024
- Added hotplug cpu governor and made is as default cpu governor on booting.
- Updated interactive cpu governor.
- Added zendecision cpu hotplug helper.
- Updated cfs scheduler.
- Removed the selinux permissive mode script.
20161018
- Removed intel cpu governor. Its unstable.
- Made interactive as default cpu governor on booting.
20161018
- Added intel cpu governor and made it as default on booting.
- Removed autosmp.
- Enabled rcu boost.
- Changed kernel hz from 100 to 300.
- Enabled many, many networking option.
- Added script in ramdisk to always set selinux to permissive mode.
20160926
- Prepatched ramdisk to support magisk v6.
- Changed default tcp congestion control to westwood.
- Disabled rcu boost. It made switching mobiledata on/off became slow.
20160921
- Using ramdisk from the latest .87 lollipop stock kernel.
- Finally fixed sdcard automounting.
- Fixed wifi hotspot not starting.
- Enabled rcu boost.
20160908
- Enabled zram.
- Further attempt to fix sdcard automounting.
- Added quick wakeup driver.
- Enabled joystick game controller support.
- Enabled usb serial support.
- Added async fsync.
20160904
- Disabled zram..
20160903
- Fixed simcard turned unavailable after signal loss, can't get proper signal even after entering area with stable signal after the first signal loss, and cpu became hot by making selinux in permissive mode on booting.
- Implemented proper init.d sysinit with permission setup before running scripts.
- Enabled powerclamp and rapl driver for intel thermal daemon. Should help with phone thermal management.
- Enabled zenmotion dt2w support.
- Enabled zram.
- Attempting to fix sdcard automounting.
- Some module built as in-kernel driver.
20160831
- Initial release.
Should be everything? Do let me know if got bugs or things not working using this kernel. If got sudden reboot, please give me all files in /sys/fs/pstore
- Obviously need unlocked bootloader.
- Flash the zip via custom recovery or extract the zip to get the boot.img and flash via fastboot.
Uploaded as tar.xz archive in download folder above. Sorry, didn't have github account. Really hated git, hard to use.
- God
- Linus Torvalds and whole linux kernel team and contributors.
- Xda
- and many, many other kernel devs whose their source i've cherry picked here and there...
ui_print(" ");
ui_print("- Flashing kernel...");
write_osip_image(package_extract_file("boot.img"), "/dev/block/by-name/boot");
ui_print("- Done! ");
ui_print("");
your sdcard already mounted when booting. something is making the phone unmounted it automatically.
Code:09-10 12:03:16.213 D/DirectVolume( 188): Volume MicroSD /mnt/media_rw/MicroSD partition 179:51 removed 09-10 12:03:16.213 D/Vold ( 188): Volume MicroSD state changing 4 (Mounted) -> 5 (Unmounting) 09-10 12:03:16.223 I/Environment( 619): mSecondaryExternalStorage = null 09-10 12:03:16.223 D/MountService( 619): volume state changed for /storage/MicroSD (mounted -> unmounted) 09-10 12:03:16.233 D/StorageNotification( 723): Media {/storage/MicroSD} state changed from {mounted} -> {unmounted} 09-10 12:03:16.233 I/Environment( 619): mSecondaryExternalStorage = null 09-10 12:03:16.233 I/PackageManager( 619): unloadInstalledExternalPackages 09-10 12:03:16.233 D/Launcher.Model( 816): onReceive intent=Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=<web url omitted> flg=0x4000010 (has extras) } 09-10 12:03:16.233 D/MountService( 619): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=<web url omitted> flg=0x4000000 (has extras) } to UserHandle{-1} 09-10 12:03:16.233 D/MountService( 619): volume state changed for /storage/MicroSD (unmounted -> bad_removal) 09-10 12:03:16.233 D/MountService( 619): Disk/Partition bad remove call PMS 09-10 12:03:16.243 D/VolumeStateObserver( 2331): onStorageStateChanged 09-10 12:03:16.243 I/VolumeStateObserver( 2331): onReceive android.intent.action.MEDIA_UNMOUNTED
maybe your sdcard got bad sector. or theres some app you installed that automount it. try to boot into safe mode.
thats just my theory by looking at the logcat, cant see anything from demsg because its been flooded with brightness debug message.